/* ==========================================================================
   Way To ATS HR Consultancy — shared stylesheet
   ========================================================================== */

:root {
  --navy: #0B2340;
  --navy-2: #12345C;
  --navy-deep: #071830;
  --ink: #0F1B2A;
  --muted: #4A5868;
  --line: #DCE3EA;
  --line-strong: #C5D0DB;
  --bg: #F5F7FA;
  --white: #FFFFFF;
  --accent: #0A7A7C;
  --accent-soft: #EAF4F4;
  --cyan: #6FE3DC;
  --mist: #C9D6E3;
  --mist-2: #9FB0C2;
  --warn-bg: #FFF8EC;
  --warn-line: #F0D9AE;
  --warn-ink: #5C3D00;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-lift: 0 18px 40px rgba(11, 35, 64, 0.14);
  --container: 1240px;
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--accent); }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2 { color: var(--white); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--cyan); }

.h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.12; }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 40px; }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-head--row > div { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 24px; border-radius: 12px; border: 0;
  font-family: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { color: var(--white); box-shadow: 0 10px 24px rgba(10, 122, 124, .35); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .3); }
.btn--ghost:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { color: var(--navy); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn--outline { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.btn--sm { min-height: 44px; padding: 11px 18px; font-size: 15px; border-radius: 10px; }
.btn svg { flex: none; }

.text-link { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.text-link--cyan { color: var(--cyan); border: 0; padding: 0; }
.text-link--cyan:hover { color: var(--white); }

/* Header ------------------------------------------------------------------ */
.site-header { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); min-height: var(--header-h); position: relative; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--mist); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.nav-links a:not(.btn):hover { color: var(--cyan); }
.nav-links a[aria-current="page"] { color: var(--white); font-weight: 600; border-bottom-color: var(--cyan); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .08); padding: 8px 24px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  }
  .site-header.is-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
  .nav-links a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .08); color: var(--cyan); }
  .nav-links .btn { margin-top: 16px; }
}

/* Hero ---------------------------------------------------------------------- */
.hero { background: var(--navy); color: var(--white); overflow: hidden; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 88px; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; position: relative; }
.hero h1 { color: var(--white); font-weight: 700; font-size: clamp(38px, 5.4vw, 58px); line-height: 1.06; letter-spacing: -0.025em; }
.hero__sub { font-size: 19px; line-height: 1.6; color: var(--mist); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  border: 1px solid rgba(111, 227, 220, .35); border-radius: 999px; padding: 8px 14px;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

/* Segmented toggle (hero + contact) */
.seg { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.seg button {
  font-family: inherit; font-size: 15px; font-weight: 600; border: 0; border-radius: 9px;
  padding: 10px 18px; min-height: 44px; cursor: pointer; background: transparent; color: var(--mist);
  transition: background .2s ease, color .2s ease;
}
.seg button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.seg--light { background: #F0F3F7; border: 0; }
.seg--light button { color: var(--muted); }
.seg--light button[aria-pressed="true"] { background: var(--navy); color: var(--white); }

.audience-panel[hidden] { display: none; }
.audience-panel { display: flex; flex-direction: column; gap: 24px; }

/* Globe */
.globe { width: 100%; max-width: 520px; aspect-ratio: 1 / 1; position: relative; }
.globe__svg { width: 100%; height: 100%; display: block; transition: opacity .8s ease; }
.globe__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.globe.is-3d .globe__canvas { opacity: 1; }
.globe.is-3d .globe__svg { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .globe__svg .orbit { transform-box: fill-box; transform-origin: center; animation: spin 60s linear infinite; }
  .globe__svg .mer { transform-box: fill-box; transform-origin: center; animation: meridian 9s ease-in-out infinite; }
  .globe__svg .mer.d2 { animation-delay: -3s; }
  .globe__svg .mer.d3 { animation-delay: -6s; }
  .globe__svg .arc { stroke-dasharray: 6 6; animation: dash 6s linear infinite; }
  .ping { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
  .ping.p2 { animation-delay: -.9s; }
  .ping.p3 { animation-delay: -1.7s; }
  .float { animation: float 7s ease-in-out infinite; }
  .spin-slow { transform-box: fill-box; transform-origin: center; animation: spin 50s linear infinite; }
  .spin-rev { transform-box: fill-box; transform-origin: center; animation: spin 34s linear infinite reverse; }
  .bob-a { animation: float 6s ease-in-out infinite; }
  .bob-b { animation: float 6s ease-in-out infinite; animation-delay: -2s; }
  .bob-c { animation: float 7s ease-in-out infinite; animation-delay: -4s; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes meridian { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }
@keyframes dash { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: var(--white); overflow: hidden; position: relative; }
.page-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 80px; }
.page-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page-hero__art { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.page-hero__art svg { width: 100%; max-width: 400px; height: auto; display: block; }
.page-hero h1 { color: var(--white); font-weight: 700; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.025em; }
.page-hero p.sub { font-size: 19px; line-height: 1.6; color: var(--mist); max-width: 600px; }
.page-hero--compact .page-hero__grid { padding-top: 56px; padding-bottom: 64px; }
.page-hero--compact h1 { font-size: clamp(34px, 4.4vw, 48px); }
.page-hero__deco { position: absolute; right: 4%; top: 18px; width: 300px; height: 200px; opacity: .5; pointer-events: none; }
@media (max-width: 700px) { .page-hero__deco { display: none; } }

.breadcrumb { font-size: 14px; color: var(--mist-2); }
.breadcrumb a { color: var(--mist-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }

/* Trust strip ------------------------------------------------------------------ */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.trust__item { padding: 32px 20px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); }
.trust__item:last-child { border-right: 0; }
.trust__item--badge { flex-direction: row; align-items: center; gap: 14px; }
.trust__num { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.trust__label { font-size: 15px; color: var(--muted); }
.trust__title { font-weight: 600; font-size: 15px; color: var(--navy); }
.trust__meta { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .trust__item { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Network ----------------------------------------------------------------------- */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { min-width: 0; }
.split__a { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.split__b { flex: 1 1 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--navy); font-size: 15px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.chip:hover { transform: translateY(-2px); background: var(--navy); color: var(--white); }
.chip--hq { background: var(--navy); color: var(--white); font-weight: 600; border-color: var(--navy); }
.chip--hq::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

/* Tiles --------------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--260 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--220 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.grid--3d { perspective: 900px; }

.tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  transform-style: preserve-3d;
}
.tile:hover { box-shadow: var(--shadow-lift); border-color: var(--accent); }
.tile:not([data-tilt]):hover { transform: translateY(-6px); }
.tile--soft { background: var(--bg); }
.tile__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.tile__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--navy); }
.tile__body { font-size: 15px; line-height: 1.55; color: var(--muted); }

.ind-mini {
  border: 1px solid var(--line-strong); border-radius: 14px; padding: 20px; display: flex; align-items: center; gap: 14px;
  background: var(--bg); min-height: 76px; transition: transform .25s ease, box-shadow .25s ease;
}
.ind-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ind-mini__num {
  width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: var(--white); flex: none;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.ind-mini__name { font-weight: 600; font-size: 16px; color: var(--navy); }
.ind-mini--placeholder { border-style: dashed; }
.ind-mini--placeholder .ind-mini__num { background: #8A98A8; }
.ind-mini--placeholder .ind-mini__name { color: var(--muted); }

/* Process -------------------------------------------------------------------------- */
.step {
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px; background: rgba(255, 255, 255, .03);
}
.step__top { display: flex; align-items: center; gap: 12px; }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy); background: var(--cyan);
  width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
}
.step__line { flex: 1; height: 1px; background: rgba(111, 227, 220, .35); }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--white); }
.step__body { font-size: 15px; line-height: 1.6; color: var(--mist); }

/* Proof ------------------------------------------------------------------------------ */
.quote {
  margin: 0; flex: 1 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 40px; display: flex; flex-direction: column; gap: 24px;
}
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 1.45; color: var(--navy); font-weight: 500; }
.quote figcaption { font-size: 15px; color: var(--muted); }
.logos { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.logos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; flex: 1; }
.logo-ph {
  border: 1px dashed #B8C4D0; border-radius: 12px; min-height: 84px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; background: var(--white);
}

/* CTA band -------------------------------------------------------------------------- */
.cta-band {
  background: var(--accent); border-radius: 24px; padding: 56px 48px; color: var(--white);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px;
}
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; }
.cta-band p { font-size: 17px; line-height: 1.6; color: #E6F5F5; }
.cta-band__copy { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .5); }
@media (max-width: 600px) { .cta-band { padding: 40px 24px; } }

/* About -------------------------------------------------------------------------------- */
.story__copy { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--navy), var(--accent)); }
.milestone { position: relative; display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease; }
.milestone:hover { transform: translateY(-4px); }
.milestone__dot { width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); display: flex; align-items: center; justify-content: center; }
.milestone__dot::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.milestone__year { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy); }
.milestone__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 520px) { .timeline::before { display: none; } }

.cred {
  background: var(--navy); color: var(--white); border-radius: 20px; padding: 36px;
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
}
.cred__doc {
  width: 120px; height: 150px; border-radius: 10px; border: 1px dashed rgba(201, 214, 227, .5);
  display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; color: var(--mist); padding: 8px;
}
.cred__body { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cred__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.cred__meta { font-size: 15px; line-height: 1.6; color: var(--mist); }

.leader { flex-direction: row; align-items: center; gap: 18px; padding: 28px; }
.leader__avatar { width: 72px; height: 72px; border-radius: 18px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.leader__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy); }
.leader__role { font-size: 15px; color: var(--muted); }

/* Services tabs -------------------------------------------------------------------------- */
.svc { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.svc__list { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.svc__tab {
  font-family: inherit; text-align: left; border: 1px solid var(--line); background: var(--white); color: var(--navy);
  border-radius: 14px; padding: 18px 20px; min-height: 64px; cursor: pointer; display: flex; align-items: center; gap: 14px;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.svc__tab:hover { transform: translateX(4px); }
.svc__tab[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.svc__num { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--accent); }
.svc__tab[aria-selected="true"] .svc__num { color: var(--cyan); }
.svc__name { font-weight: 600; font-size: 17px; flex: 1; }
.svc__panel {
  flex: 999 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 40px;
  display: flex; flex-direction: column; gap: 22px;
}
.svc__panel[hidden] { display: none; }
.svc__panel h3 { font-weight: 600; font-size: 26px; }
.svc__head { display: flex; align-items: center; gap: 14px; }
.svc__badge { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.svc__label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%230A7A7C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
@media (max-width: 600px) { .svc__panel { padding: 28px 22px; } }

.reason { border-top: 3px solid var(--accent); background: var(--white); border-radius: 0 0 16px 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 0 var(--line); }
.reason__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--navy); }
.reason__body { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Contact ------------------------------------------------------------------------------------ */
.contact-hero .page-hero__grid { padding-bottom: 140px; }
.contact-wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: -100px; padding-bottom: 96px; position: relative; }
.form-card {
  flex: 999 1 600px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: 0 24px 60px rgba(11, 35, 64, .12); display: flex; flex-direction: column; gap: 28px;
}
@media (max-width: 600px) { .form-card { padding: 28px 20px; } }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.form-grid[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field .req { color: #B42318; }
.input {
  font-family: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 10px; min-height: 48px; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10, 122, 124, .15); }
textarea.input { resize: vertical; min-height: 120px; }
.input--file { border-style: dashed; border-color: #A9B6C4; background: #F8FAFC; color: var(--muted); font-size: 15px; padding: 14px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-error { grid-column: 1 / -1; color: #B42318; font-size: 14px; }
.form-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.form-success[hidden] { display: none; }
.form-success h2 { font-size: 28px; }

.aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.office { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.office svg { width: 100%; height: auto; display: block; }
.office__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.office__addr { font-size: 15px; line-height: 1.6; color: var(--mist); }
.reach { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.reach__row { display: flex; gap: 14px; align-items: center; }
.reach__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.reach__k { font-size: 13px; color: var(--muted); display: block; }
.reach__v { font-weight: 600; color: var(--navy); text-decoration: none; }
.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 18px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; color: var(--warn-ink); }
.notice strong { display: block; font-size: 15px; margin-bottom: 4px; }
.notice p { font-size: 14px; line-height: 1.55; }

/* Legal ---------------------------------------------------------------------------------------- */
.legal { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 64px; padding-bottom: 96px; }
.toc { flex: 1 1 260px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.toc__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 12px 10px; }
.toc a { color: var(--navy); text-decoration: none; font-size: 15px; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: flex; align-items: center; gap: 10px; transition: background .2s ease, color .2s ease; }
.toc a:hover { background: var(--accent-soft); color: var(--accent); }
.toc a span { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--accent); }
.legal__body { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.legal__intro { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 760px; margin-bottom: 8px; }
.legal__sec { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.legal__sec h2 { font-weight: 600; font-size: 24px; display: flex; gap: 12px; align-items: baseline; }
.legal__sec h2 span { font-size: 15px; color: var(--accent); }
.brief { background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; font-size: 15px; line-height: 1.55; color: var(--navy); }
.legal__sec p.full { font-size: 16px; line-height: 1.75; color: var(--muted); }
@media (max-width: 600px) { .legal__sec { padding: 24px 20px; } }

/* Footer ----------------------------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: var(--mist); }
.footer__inner { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__brand { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--white); }
.footer__head { font-weight: 600; color: var(--white); }
.footer__col a { color: var(--mist); text-decoration: none; }
.footer__col a:hover, .footer__col a[aria-current="page"] { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; font-size: 13px; color: var(--mist-2); }

/* Scroll reveal (only when JS + GSAP + motion allowed) --------------------------------------------- */
.anim [data-reveal] { opacity: 0; transform: translateY(24px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Industries list: two columns on phones */
@media (max-width: 520px) {
  .grid--220 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ind-mini { padding: 14px; gap: 10px; min-height: 64px; }
  .ind-mini__name { font-size: 14px; }
  .ind-mini__num { width: 28px; height: 28px; font-size: 12px; }
}
