﻿/* ==========================================================================
   宇勤集团 · 企业官网
   Design system + page styles
   ========================================================================== */

:root {
  --ink: #0a1c2b;
  --ink-soft: #243a4a;
  --navy: #061726;
  --navy-2: #0a2233;
  --blue: #0070b8;
  --blue-bright: #2f9fe0;
  --blue-pale: #dcebf5;
  --paper: #f7f5f1;
  --paper-2: #efece5;
  --white: #ffffff;
  --muted: #5c6b76;
  --muted-light: #93a4b1;
  --line: rgba(10, 28, 43, 0.12);
  --line-strong: rgba(10, 28, 43, 0.22);
  --line-light: rgba(255, 255, 255, 0.14);
  --copper: #b08a5a;
  --copper-ink: #8a6636;
  --copper-light: #d3b285;
  --danger: #b23a2e;
  --ok: #2f7d5b;

  --font-sans: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    "SimSun", serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding: clamp(76px, 9vw, 136px) 0;
  position: relative;
}

.section--tight {
  padding: clamp(48px, 6vw, 82px) 0;
}

.section--paper {
  background: var(--paper);
}

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

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--line {
  border-top: 1px solid var(--line);
}

/* ---------- Type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.24em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--copper-ink);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--light {
  color: var(--copper-light);
}

.display {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.display--sm {
  font-size: clamp(28px, 3.2vw, 42px);
}

.h3 {
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.95;
  color: var(--muted);
}

.lead--light {
  color: rgba(255, 255, 255, 0.7);
}

.body-sm {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.text-light {
  color: rgba(255, 255, 255, 0.72);
}

.text-copper {
  color: var(--copper);
}

.serif {
  font-family: var(--font-serif);
}

/* Section heading */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.section-head .eyebrow {
  margin-bottom: 20px;
}

.section-head__note {
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 460px;
  padding-bottom: 6px;
}

.section--dark .section-head__note {
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: #0084d6;
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--paper-2);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

.section--dark .link-arrow {
  color: var(--copper-light);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
  z-index: 2;
}

.brand__logo {
  height: 52px;
  width: auto;
  transition: height 0.35s var(--ease);
}

.brand__logo--blue {
  display: none;
}

.brand__word {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  padding-left: 14px;
}

.brand__word strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand__word span {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.site-header.is-solid {
  background: rgba(247, 245, 241, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.site-header.is-solid .brand__logo--white {
  display: none;
}

.site-header.is-solid .brand__logo--blue {
  display: block;
}

.site-header.is-solid .brand__word {
  border-left-color: var(--line);
}

.site-header.is-solid .brand__word span {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  margin-left: auto;
}

.site-nav__link {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 8px 0;
  color: inherit;
  opacity: 0.82;
  transition: opacity 0.25s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  opacity: 1;
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-header__cta {
  margin-left: 8px;
  min-height: 42px;
  padding: 0 20px;
  font-size: 13.5px;
}

.site-header.is-solid .site-header__cta.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.site-header.is-solid .site-header__cta.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  position: relative;
  z-index: 2;
  color: inherit;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 26px;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 48px;
  background: var(--navy);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

body.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 600;
  letter-spacing: 0.02em;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

body.nav-open .mobile-nav__link {
  transform: none;
  opacity: 1;
}

.mobile-nav__link small {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--copper);
  font-weight: 500;
}

.mobile-nav__foot {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.mobile-nav__foot a {
  color: #fff;
}

body.nav-open .mobile-nav__link:nth-child(1) { transition-delay: 0.06s; }
body.nav-open .mobile-nav__link:nth-child(2) { transition-delay: 0.11s; }
body.nav-open .mobile-nav__link:nth-child(3) { transition-delay: 0.16s; }
body.nav-open .mobile-nav__link:nth-child(4) { transition-delay: 0.21s; }
body.nav-open .mobile-nav__link:nth-child(5) { transition-delay: 0.26s; }
body.nav-open .mobile-nav__link:nth-child(6) { transition-delay: 0.31s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
}

.hero--page {
  min-height: 0;
  padding: calc(var(--header-h) + 72px) 0 76px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 620px at 78% 12%, rgba(0, 112, 184, 0.4), transparent 64%),
    radial-gradient(760px 520px at 4% 88%, rgba(47, 159, 224, 0.14), transparent 70%),
    linear-gradient(158deg, #061726 0%, #0a2233 54%, #071a29 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.hero__bridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0.55;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding-bottom: clamp(34px, 4.4vw, 54px);
}

.hero__copy {
  max-width: 660px;
}

.hero__eyebrow {
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(46px, 6.6vw, 88px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero h1 .accent {
  position: relative;
  display: inline-block;
  color: #9fd2f2;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: -2px;
  bottom: 0.04em;
  height: 0.09em;
  background: var(--copper);
  opacity: 0.75;
}

.hero__lead {
  margin-top: 28px;
  max-width: 520px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 34px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--copper);
  transform: rotate(45deg);
}

/* Hero visual */
.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}

.hero__frame {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__frame::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border-left: 1px solid rgba(176, 138, 90, 0.55);
  border-bottom: 1px solid rgba(176, 138, 90, 0.55);
  pointer-events: none;
}

.hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.92) contrast(1.02);
}

.hero__badge {
  position: absolute;
  right: -22px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.hero__badge strong {
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero__badge span {
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  opacity: 0.82;
}

.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

/* Hero stats */
.hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-light);
}

.hero__stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 26px 26px 30px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
  border-right: 0;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat__value small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--copper-light);
  margin-left: 4px;
}

.stat__label {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: calc(var(--header-h) + 64px) 0 clamp(56px, 7vw, 88px);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 480px at 82% 6%, rgba(0, 112, 184, 0.34), transparent 66%),
    linear-gradient(150deg, #061726, #0a2233 60%, #071a29);
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}

.page-hero__char {
  position: absolute;
  top: 50%;
  right: clamp(10px, 6vw, 90px);
  transform: translateY(-46%);
  font-family: var(--font-serif);
  font-size: clamp(180px, 26vw, 380px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  user-select: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-left: 0;
  margin-right: auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.42);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.24);
}

.page-hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-hero__lead {
  margin-top: 24px;
  max-width: 560px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 17px 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.ticker__item::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--copper);
  transform: rotate(45deg);
  opacity: 0.7;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Pillars (business lines) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.pillar {
  position: relative;
  padding: 34px 32px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}

.pillar:last-child {
  border-right: 0;
}

.pillar:hover {
  background: var(--white);
}

.pillar__index {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--copper-ink);
}

.pillar__title {
  margin-top: 28px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pillar__title svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.pillar:hover .pillar__title svg {
  opacity: 1;
  transform: none;
}

.pillar p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}

.pillar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pillar__tags span {
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: var(--paper-2);
  border-radius: var(--radius);
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.split--start {
  align-items: start;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.95);
}

.split__media--portrait img {
  aspect-ratio: 4 / 5;
}

.split__media--offset::before {
  content: "";
  position: absolute;
  left: -16px;
  bottom: -16px;
  width: 60%;
  height: 60%;
  border-left: 1px solid var(--copper);
  border-bottom: 1px solid var(--copper);
  pointer-events: none;
}

.figure-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.prose > * + * {
  margin-top: 18px;
}

.prose p {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--muted);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose .lead {
  color: var(--ink-soft);
}

.privacy-prose .display--sm {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.4;
}

.privacy-list {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.privacy-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 4px;
  height: 4px;
  background: var(--copper);
  transform: rotate(45deg);
}

/* ---------- Value list ---------- */
.value-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.value-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  align-items: baseline;
}

.value-row__index {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--copper-light);
}

.value-row h3 {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.value-row p {
  font-size: 14px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- Network band ---------- */
.network {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.network__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.network__stat {
  background: var(--navy);
  padding: 28px 22px 30px;
}

.network__stat strong {
  display: block;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.network__stat span {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

.route {
  position: relative;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}

.route b {
  font-weight: 500;
  color: #fff;
}

.route i {
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  display: inline-block;
}

/* ---------- Service rows ---------- */
.service-list {
  border-top: 1px solid var(--line-strong);
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.1fr) 40px;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(30px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}

.service-row:hover {
  background: rgba(255, 255, 255, 0.55);
}

.service-row__index {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--copper-ink);
  padding-top: 6px;
}

.service-row__head h3 {
  font-size: clamp(21px, 2.1vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.service-row__head p {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.service-row__body {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}

.service-row__body ul {
  margin-top: 14px;
  display: grid;
  gap: 6px;
}

.service-row__body li {
  position: relative;
  padding-left: 16px;
}

.service-row__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 4px;
  height: 4px;
  background: var(--copper);
  transform: rotate(45deg);
}

.service-row__arrow {
  justify-self: end;
  color: var(--blue);
  padding-top: 6px;
  opacity: 0.5;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-row:hover .service-row__arrow {
  opacity: 1;
  transform: translateX(4px);
}

.service-row__arrow svg {
  width: 22px;
  height: 22px;
}

/* ---------- Values / culture grid ---------- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.culture {
  background: var(--paper);
  padding: 30px 26px 34px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.35s var(--ease);
}

.culture:hover {
  background: var(--white);
}

.culture__char {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
  color: var(--blue);
}

.culture h3 {
  margin-top: 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--copper-ink);
}

.culture p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.timeline__item {
  position: relative;
  padding: 34px 28px 8px 0;
  border-right: 1px solid var(--line);
}

.timeline__item:last-child {
  border-right: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--paper);
  border: 1px solid var(--blue);
  border-radius: 50%;
}

.timeline__year {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--blue);
}

.timeline__item h3 {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
}

.timeline__item p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- Quote ---------- */
.quote-block {
  position: relative;
  padding: clamp(36px, 5vw, 64px);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.quote-block::before {
  content: "“";
  position: absolute;
  top: -12px;
  left: 26px;
  font-family: var(--font-serif);
  font-size: 160px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
}

.quote-block blockquote {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.quote-block figcaption {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.quote-block figcaption::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--copper);
  flex: none;
}

.quote-block figcaption img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  filter: grayscale(1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  flex: none;
}

.quote-block figcaption small {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  background: var(--white);
  padding: 30px 28px 34px;
}

.feature__num {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--copper-ink);
}

.feature h3 {
  margin-top: 22px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.feature p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
}

.feature ul {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.feature li {
  position: relative;
  padding-left: 15px;
}

.feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  background: var(--copper);
  transform: rotate(45deg);
}

/* ---------- Certificates ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cert {
  background: var(--white);
  padding: 30px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.cert__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--blue);
}

.cert__icon svg {
  width: 22px;
  height: 22px;
}

.cert h3 {
  font-size: 15.5px;
  font-weight: 600;
}

.cert p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Direction grid (school) ---------- */
.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.direction {
  background: var(--white);
  padding: 34px 32px 36px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  transition: background 0.35s var(--ease);
}

.direction:hover {
  background: var(--paper);
}

.direction__char {
  font-family: var(--font-serif);
  font-size: 50px;
  line-height: 1;
  color: var(--blue);
}

.direction h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.direction p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
}

.direction__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.direction__tags span {
  padding: 3px 9px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: var(--paper-2);
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}

.process--3 {
  grid-template-columns: repeat(3, 1fr);
}

.process__step {
  position: relative;
  padding: 0 22px 0 0;
}

.process__step::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 42px;
  right: 0;
  height: 1px;
  background: var(--line);
}

.process__step:last-child::before {
  display: none;
}

.process__num {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: var(--paper);
}

.process__step h3 {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 600;
}

.process__step p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 13px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 13px no-repeat;
  transition: transform 0.35s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 40px 26px 0;
  font-size: 14.5px;
  line-height: 2;
  color: var(--muted);
  max-width: 820px;
}

.faq details[open] p {
  animation: fade-down 0.4s var(--ease);
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Photo band ---------- */
.photo-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 40vw, 470px);
}

.photo-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  filter: saturate(0.8) contrast(1.02);
}

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 23, 38, 0.9) 0%, rgba(6, 23, 38, 0.62) 48%, rgba(6, 23, 38, 0.2) 100%),
    linear-gradient(0deg, rgba(6, 23, 38, 0.72), transparent 58%);
}

.photo-band .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(36px, 5vw, 64px);
}

.photo-band h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.photo-band__note {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.62);
}

.photo-band .link-arrow {
  color: var(--copper-light);
}

/* ---------- Cards (cases) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(10, 28, 43, 0.08);
}

.case-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(0, 112, 184, 0.3), transparent 60%),
    linear-gradient(140deg, #0a2233, #061726);
  color: #fff;
}

.case-card__media span {
  font-family: var(--font-serif);
  font-size: clamp(54px, 6vw, 76px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.32);
  transition: transform 0.6s var(--ease);
}

.case-card:hover .case-card__media span {
  transform: scale(1.06);
}

.case-card__media em {
  position: absolute;
  left: 20px;
  top: 18px;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--copper-light);
}

.case-card__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-card__body h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.case-card__body p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.case-card__meta span {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 3px 8px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.case-card[hidden] {
  display: none;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-strip > div {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.stats-strip > div:last-child {
  border-right: 0;
}

.stats-strip strong {
  display: block;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stats-strip span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: clamp(64px, 8vw, 104px) 0;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 84% 20%, rgba(0, 112, 184, 0.42), transparent 66%),
    linear-gradient(160deg, #071a29, #0a2233 60%, #061726);
}

.cta__lines {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  opacity: 0.5;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.cta h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.62);
  max-width: 520px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cta__phone {
  justify-self: end;
  text-align: right;
}

.cta__phone small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--copper-light);
}

.cta__phone a {
  display: inline-block;
  margin-top: 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}

.cta__phone a:hover {
  color: var(--copper-light);
}

.cta__phone span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #04111c;
  color: rgba(255, 255, 255, 0.62);
  padding: clamp(56px, 6vw, 80px) 0 0;
  font-size: 13.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand p {
  margin-top: 20px;
  max-width: 330px;
  font-size: 12.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col .tel {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px 0 26px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Mobile CTA bar ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  background: rgba(6, 23, 38, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.mobile-cta a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-cta a.is-primary {
  background: var(--blue);
}

.mobile-cta svg {
  width: 17px;
  height: 17px;
}

/* ---------- Forms ---------- */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.form-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.form-aside h2 {
  margin-top: 20px;
}

.form-aside p {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--muted);
}

.form-aside__note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 44px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.field label .req {
  color: var(--blue);
  margin-left: 4px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235c6b76' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa8b2;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  background: #fdf3f2;
}

.field__error {
  font-size: 11.5px;
  color: var(--danger);
  display: none;
}

.field.has-error .field__error {
  display: block;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 26px;
}

.form-actions .btn {
  min-width: 168px;
}

.form-privacy {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 360px;
}

.form-privacy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.8;
  border-left: 2px solid var(--ok);
  background: #f0f7f3;
  color: #246147;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-left-color: var(--danger);
  background: #fdf3f2;
  color: #8d2e24;
}

.form-success {
  display: none;
  text-align: center;
  padding: 34px 10px;
}

.form-success.is-visible {
  display: block;
}

.form-success__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
}

.form-success p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.form-success button {
  margin-top: 22px;
  color: var(--blue);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}

.contact-card {
  padding: 30px 26px 34px 0;
  border-right: 1px solid var(--line);
}

.contact-card:last-child {
  border-right: 0;
}

.contact-card__label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--copper-ink);
}

.contact-card strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.contact-card p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

.map-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(120% 140% at 70% 20%, #123c56, #081b2a 70%);
  background-size: 44px 44px, 44px 44px, auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.map-panel__pin {
  position: absolute;
  top: 42%;
  left: 58%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 10px rgba(47, 159, 224, 0.14), 0 0 0 26px rgba(47, 159, 224, 0.07);
}

.map-panel__pin::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(47, 159, 224, 0.5);
  border-radius: 50%;
  animation: pulse 3s var(--ease) infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.map-panel h3 {
  position: relative;
  font-size: 20px;
  font-weight: 600;
}

.map-panel p {
  position: relative;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.map-panel__tag {
  position: relative;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Notice ---------- */
.notice {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--blue-pale);
  border-left: 2px solid var(--blue);
  font-size: 13px;
  line-height: 1.95;
  color: #174a68;
}

.notice strong {
  color: #0a3550;
}

.notice--paper {
  background: var(--paper-2);
  border-left-color: var(--copper);
  color: var(--ink-soft);
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 120px var(--gutter);
}

.error-page__code {
  font-family: var(--font-serif);
  font-size: clamp(100px, 20vw, 220px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.24);
}

.error-page h1 {
  margin-top: 20px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
}

.error-page p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.error-page .btn {
  margin-top: 30px;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.mt-48 { margin-top: 48px !important; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .site-nav {
    gap: 18px;
  }

  .brand__word {
    display: none;
  }

  .hero__badge {
    width: 98px;
    height: 98px;
    right: -10px;
  }

  .hero__badge strong {
    font-size: 28px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }

  .site-nav,
  .site-header__cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 56px;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 56px);
  }

  .hero__visual {
    justify-self: start;
    max-width: 460px;
    width: 100%;
  }

  .hero__frame img {
    aspect-ratio: 4 / 3.1;
  }

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

  .stat {
    padding: 22px 20px 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .pillar {
    border-right: 0;
    padding: 28px 0 32px;
  }

  .split,
  .network,
  .form-layout,
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-aside {
    position: static;
  }

  .cta__phone {
    justify-self: start;
    text-align: left;
  }

  .value-row {
    grid-template-columns: 44px 1fr;
    gap: 12px 18px;
  }

  .value-row p {
    grid-column: 2;
  }

  .service-row {
    grid-template-columns: 44px 1fr 40px;
    gap: 16px 20px;
  }

  .service-row__body {
    grid-column: 2;
    margin-top: 4px;
  }

  .service-row__arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .process--3 {
    grid-template-columns: 1fr;
  }

  .process__step::before {
    display: none;
  }

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

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

  .timeline__item {
    padding-bottom: 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

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

  .contact-card {
    border-bottom: 1px solid var(--line);
  }

  .contact-card:nth-child(2n) {
    border-right: 0;
  }

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

  .stats-strip > div:nth-child(2n) {
    border-right: 0;
  }

  .stats-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 56px;
  }

  .site-footer {
    padding-bottom: 20px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .display {
    font-size: clamp(30px, 8vw, 40px);
  }

  .hero h1 {
    font-size: clamp(40px, 11.5vw, 56px);
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 48px);
  }

  .page-hero__char {
    font-size: 180px;
    right: -30px;
    opacity: 0.7;
  }

  .hero__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .cta__actions .btn {
    width: 100%;
  }

  .hero__meta {
    gap: 8px 18px;
  }

  .hero__badge {
    right: 10px;
    bottom: -18px;
  }

  .hero__frame {
    padding: 10px;
  }

  .hero__frame::before {
    inset: -10px 10px 10px -10px;
  }

  .hero__visual {
    padding-bottom: 20px;
  }

  .hero__caption {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero__caption span:last-child {
    display: none;
  }

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

  .network__stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
  }

  .network__stat strong {
    font-size: 30px;
  }

  .network__stat span {
    margin-top: 0;
    max-width: 160px;
    text-align: right;
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }

  .service-row {
    grid-template-columns: 36px 1fr;
  }

  .service-row__arrow {
    display: none;
  }

  .service-row__body {
    grid-column: 2;
  }

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

  .process__step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 4px 16px;
    padding-right: 0;
  }

  .process__step h3 {
    margin-top: 10px;
  }

  .process__step p {
    grid-column: 2;
    margin-top: 0;
  }

  .culture-grid,
  .direction-grid,
  .cert-grid,
  .case-grid,
  .timeline,
  .form-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .direction {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 24px 30px;
  }

  .direction__char {
    font-size: 42px;
  }

  .culture {
    min-height: 0;
  }

  .timeline__item {
    padding-right: 0;
  }

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

  .contact-card {
    border-right: 0;
    padding-right: 0;
  }

  .cta__phone a {
    font-size: 30px;
  }

  .mobile-cta a {
    font-size: 13.5px;
  }

  .quote-block {
    padding: 32px 24px;
  }

  .form-panel {
    margin-inline: calc(var(--gutter) * -0.35);
  }

  .hero__stats .container {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding-right: 14px;
  }

  .stat__value {
    font-size: 28px;
  }

  .stat__label {
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 460px) {
  .brand__logo {
    height: 44px;
  }

  .section {
    padding: 64px 0;
  }

  .stats-strip,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .stats-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__stats .container .stat {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .form-actions .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ticker__track {
    animation: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .mobile-cta,
  .mobile-nav,
  .hero__bg,
  .hero__grid,
  .page-hero__bg,
  .page-hero__grid {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
