:root {
  --ink: #102b33;
  --ink-soft: #426068;
  --ink-muted: #6c8186;
  --navy: #0b3440;
  --navy-deep: #07262f;
  --teal: #0aaeb0;
  --teal-dark: #078b91;
  --mint: #84dcb5;
  --line: #dbe7e7;
  --surface: #f4f8f7;
  --white: #fff;
  --shadow: 0 20px 55px rgba(14, 52, 61, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --page-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(7, 38, 47, 0.2);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(16, 43, 51, 0.08);
  box-shadow: 0 8px 28px rgba(9, 45, 54, 0.07);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-inner,
.hero-inner,
.hero-stats,
.contact-inner,
.footer-inner {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 38px);
}

.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 9px 18px;
  color: var(--navy-deep);
  background: var(--white);
  border-radius: 999px;
}

.is-scrolled .nav-contact {
  color: var(--white);
  background: var(--navy);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: inherit;
  background: transparent;
  border: 0;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 900px;
  padding: 170px 0 0;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-deep) 0%, #0b3d49 55%, #0b5660 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22%;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(5, 31, 38, 0.3));
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.45;
}

.hero-glow-one {
  top: -260px;
  right: -180px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(132, 220, 181, 0.28), transparent 68%);
}

.hero-glow-two {
  bottom: -280px;
  left: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(10, 174, 176, 0.3), transparent 68%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.hero .eyebrow {
  color: #9fe6c7;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(44px, 4.2vw, 60px);
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.hero-description {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button-primary {
  color: var(--navy-deep);
  background: #96e3c3;
}

.button-primary:hover {
  background: #acf0d3;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.27);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.hero-panel {
  position: relative;
  min-height: 460px;
}

.panel-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 230px;
  height: 230px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(123, 224, 189, 0.04);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.panel-core::before,
.panel-core::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(143, 231, 198, 0.16);
  border-radius: 50%;
}

.panel-core::before {
  inset: -42px;
}

.panel-core::after {
  inset: -86px;
  border-style: dashed;
  animation: rotate 30s linear infinite;
}

.panel-core img {
  width: 100px;
  height: 100px;
}

.panel-core span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.panel-item {
  position: absolute;
  z-index: 2;
  width: 175px;
  padding: 18px;
  background: rgba(6, 36, 44, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(4, 26, 32, 0.25);
  backdrop-filter: blur(12px);
}

.panel-item-one {
  top: 40px;
  right: 0;
}

.panel-item-two {
  bottom: 34px;
  left: -10px;
}

.panel-item span {
  color: #8fe3c0;
  font-size: 11px;
  font-weight: 700;
}

.panel-item strong,
.panel-item small {
  display: block;
}

.panel-item strong {
  margin-top: 6px;
  font-size: 17px;
}

.panel-item small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.hero-stats {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-stats > div {
  min-height: 150px;
  padding: 34px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-stats > div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hero-stats sup {
  color: #8fe3c0;
  font-size: 14px;
}

.hero-stats span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.section {
  padding: 120px 0;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 680;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.contact h2 {
  font-size: clamp(34px, 3.5vw, 46px);
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.section-heading-center {
  max-width: 800px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading-center > p:last-child {
  margin-inline: auto;
}

.about {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.about-content {
  padding-top: 38px;
  color: var(--ink-soft);
}

.about-content p {
  margin: 0 0 20px;
}

.about-content .lead {
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.65;
}

.services,
.cases {
  background: var(--surface);
}

.service-block {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  margin-top: 28px;
  padding: clamp(38px, 5vw, 72px);
  border-radius: var(--radius-lg);
}

.service-block-dark {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 28px 70px rgba(8, 45, 54, 0.14);
}

.service-block-light {
  background: var(--white);
  border: 1px solid var(--line);
}

.service-number {
  display: inline-flex;
  width: 44px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  background: #91e1c0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.service-label {
  margin: 23px 0 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.service-block-dark .service-label {
  color: #99e5c6;
}

.service-intro h3 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 43px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.service-intro > p:last-child {
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.service-block-dark .service-intro > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.service-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.detail-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.detail-card h4 {
  margin: 0 0 10px;
  font-size: 17px;
}

.detail-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.service-details-list {
  display: block;
}

.service-details-list > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.service-details-list > div:first-child {
  padding-top: 0;
}

.service-details-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-details-list span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 750;
}

.service-details-list p {
  margin: 0;
  color: var(--ink-soft);
}

.service-details-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.scenario-strip {
  display: flex;
  margin-top: 28px;
  padding: 25px 30px;
  align-items: center;
  gap: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.scenario-strip > p {
  flex: 0 0 auto;
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 750;
}

.scenario-strip ul {
  display: flex;
  flex: 1;
  margin: 0;
  padding: 0;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
}

.scenario-strip li {
  color: var(--ink-soft);
  font-size: 14px;
}

.advantages {
  background: var(--white);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advantage-card {
  padding: 34px 26px 38px;
  border-right: 1px solid var(--line);
}

.advantage-card:first-child {
  border-left: 1px solid var(--line);
}

.advantage-card span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 750;
}

.advantage-card h3 {
  margin: 36px 0 13px;
  font-size: 19px;
}

.advantage-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.section-heading-split {
  display: flex;
  margin-bottom: 58px;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.section-heading-split > p {
  max-width: 340px;
  margin: 0 0 6px;
  color: var(--ink-soft);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-card {
  display: flex;
  min-height: 310px;
  padding: 32px;
  flex-direction: column;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.case-card:hover {
  border-color: #cbdedf;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.case-card-featured {
  grid-column: span 2;
  color: var(--white);
  background: var(--navy);
}

.case-type {
  margin: 0 0 34px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.case-card-featured .case-type {
  color: #93e0c0;
}

.case-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
}

.case-card-featured h3 {
  font-size: 31px;
}

.case-card > p:not(.case-type) {
  margin: 15px 0 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.case-card-featured > p:not(.case-type) {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.62);
}

.case-card > strong {
  margin-top: auto;
  color: var(--teal-dark);
  font-size: 14px;
}

.case-card dl {
  display: flex;
  margin: auto 0 0;
  gap: 60px;
}

.case-card dl div {
  display: flex;
  flex-direction: column-reverse;
}

.case-card dt {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.case-card dd {
  margin: 0;
  font-size: 26px;
  font-weight: 650;
}

.case-card dd sup {
  color: #8fe3c0;
  font-size: 13px;
}

.case-visual {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  grid-column: span 2;
  background: var(--navy);
  border-radius: var(--radius-md);
}

.case-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(5, 35, 43, 0.82) 100%);
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.case-visual:hover img {
  transform: scale(1.025);
}

.case-visual figcaption {
  position: absolute;
  right: 30px;
  bottom: 25px;
  left: 30px;
  z-index: 1;
  color: var(--white);
}

.case-visual figcaption span,
.case-visual figcaption strong {
  display: block;
}

.case-visual figcaption span {
  margin-bottom: 4px;
  color: #9ce5c8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.case-visual figcaption strong {
  font-size: 21px;
}

.cooperation {
  background: var(--white);
}

.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.cooperation-card {
  padding: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.cooperation-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  margin: 0 0 24px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.cooperation-card h3 {
  margin: 0;
  font-size: 25px;
}

.cooperation-card > p:not(.cooperation-index) {
  min-height: 84px;
  margin: 16px 0 30px;
  color: var(--ink-soft);
  font-size: 14px;
}

.cooperation-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.cooperation-card li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  padding: 15px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.cooperation-card li span {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 750;
}

.cooperation-card li small {
  color: var(--ink-muted);
}

.contact {
  padding: 0 0 34px;
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 85px;
  padding: clamp(42px, 6vw, 80px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep), #0b4651);
  border-radius: var(--radius-lg);
}

.contact .eyebrow {
  color: #99e5c6;
}

.contact-copy > p:last-child {
  max-width: 470px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.contact-details {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.contact-row {
  padding: 23px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-row > span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.email-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.email-actions a {
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 600;
  text-decoration: none;
}

.email-actions button {
  display: inline-flex;
  padding: 8px 13px;
  align-items: center;
  gap: 7px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  cursor: pointer;
}

.email-actions button:hover {
  background: rgba(255, 255, 255, 0.13);
}

.email-actions svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.email-actions button span {
  font-size: 12px;
}

.contact-row address {
  font-size: 16px;
  font-style: normal;
  line-height: 1.8;
}

.site-footer {
  padding: 48px 0;
  color: var(--ink-muted);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-brand img {
  width: 82px;
  height: 82px;
}

.footer-brand p,
.footer-meta p {
  margin: 0;
  font-size: 12px;
}

.footer-meta {
  text-align: right;
}

.footer-meta p:first-child {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-weight: 600;
}

.footer-meta a {
  color: inherit;
  text-decoration: none;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--ink-soft);
  text-decoration: underline;
}

.footer-meta .public-security-record {
  margin-top: 5px;
}

.public-security-record a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.public-security-record img {
  width: 18px;
  height: 20px;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 200;
  padding: 10px 18px;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(10, 174, 176, 0.48);
  outline-offset: 4px;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 880px;
  }

  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
  }

  .hero-panel {
    transform: scale(0.88);
  }

  .service-block {
    gap: 40px;
  }

  .scenario-strip ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantage-card:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-visual {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 70px;
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: flex;
    padding: 26px 20px 34px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    color: var(--ink);
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(10, 45, 53, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-contact,
  .is-scrolled .nav-contact {
    margin-top: 14px;
    color: var(--white);
    text-align: center;
    background: var(--navy);
    border-bottom: 0 !important;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-panel {
    min-height: 410px;
    margin-top: 20px;
    transform: scale(0.9);
  }

  .hero-stats {
    position: relative;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 12px;
  }

  .hero-stats > div {
    min-height: 120px;
    padding: 26px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .hero-stats > div:nth-child(odd) {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
  }

  .about-layout,
  .service-block,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .about-layout,
  .contact-inner {
    gap: 35px;
  }

  .about-content {
    padding-top: 0;
  }

  .service-block {
    gap: 46px;
  }

  .contact-details {
    display: block;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .hero-inner,
  .hero-stats,
  .contact-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-description {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero-panel {
    min-height: 360px;
    margin: 16px 0 0;
    transform: none;
  }

  .panel-core {
    width: 180px;
    height: 180px;
    gap: 8px;
  }

  .panel-core::before {
    inset: -28px;
  }

  .panel-core::after {
    inset: -52px;
  }

  .panel-core img {
    width: 78px;
    height: 78px;
  }

  .panel-item {
    width: 132px;
    padding: 14px;
    border-radius: 12px;
  }

  .panel-item-one {
    top: 18px;
    right: 0;
  }

  .panel-item-two {
    bottom: 18px;
    left: 0;
  }

  .panel-item strong {
    font-size: 15px;
  }

  .panel-item small {
    font-size: 10px;
  }

  .hero-stats strong {
    font-size: 25px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 33px;
  }

  .section-heading-center {
    margin-bottom: 40px;
  }

  .about-content .lead {
    font-size: 19px;
  }

  .service-block {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .service-intro h3 {
    font-size: 30px;
  }

  .service-details {
    grid-template-columns: 1fr;
  }

  .scenario-strip {
    display: block;
    padding: 24px;
  }

  .scenario-strip ul {
    margin-top: 14px;
    flex-direction: column;
    gap: 8px;
  }

  .scenario-strip li::before {
    margin-right: 9px;
    color: var(--teal-dark);
    content: "—";
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .advantage-card,
  .advantage-card:first-child {
    padding: 26px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .advantage-card:last-child {
    border-bottom: 0;
  }

  .advantage-card h3 {
    margin-top: 20px;
  }

  .section-heading-split {
    display: block;
    margin-bottom: 38px;
  }

  .section-heading-split > p {
    margin-top: 18px;
  }

  .case-grid,
  .cooperation-grid {
    grid-template-columns: 1fr;
  }

  .case-card-featured {
    grid-column: auto;
  }

  .case-visual {
    min-height: 240px;
    grid-column: auto;
  }

  .case-card,
  .case-card-featured {
    min-height: 0;
    padding: 28px 24px;
  }

  .case-card-featured h3 {
    font-size: 25px;
  }

  .case-card dl {
    gap: 25px;
  }

  .cooperation-card {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .cooperation-card > p:not(.cooperation-index) {
    min-height: 0;
  }

  .contact {
    padding-bottom: 18px;
  }

  .contact-inner {
    padding: 42px 24px;
    border-radius: 20px;
  }

  .email-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner,
  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
