/* ==========================================================================
   Edvance IT Services — main.css
   Mobile-first. No frameworks, no external requests.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --brand:        #0367A6;
  --brand-600:    #02598F;
  --brand-700:    #024A78;
  --brand-050:    #EAF4FA;
  --brand-100:    #D3E8F4;

  --navy:         #062B44;
  --navy-800:     #0A3A5A;

  --ink:          #0C1C29;
  --body:         #47606F;
  --muted:        #5D7385;
  --line:         #DFE7ED;
  --line-soft:    #EDF2F6;
  --surface:      #FFFFFF;
  --surface-soft: #F5F9FB;
  --surface-alt:  #EEF4F8;

  --accent:       #12A594;      /* used sparingly: checks, success, accents */
  --warn:         #C2410C;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(6, 43, 68, .06), 0 1px 3px rgba(6, 43, 68, .05);
  --shadow:    0 4px 12px rgba(6, 43, 68, .07), 0 2px 4px rgba(6, 43, 68, .04);
  --shadow-lg: 0 18px 40px rgba(6, 43, 68, .10), 0 6px 14px rgba(6, 43, 68, .05);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 6.2vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); letter-spacing: -.015em; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; }
a  { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

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

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

.section { padding: 60px 0; }
.section--tight { padding: 44px 0; }
.section--lg { padding: 76px 0; }
.section--soft { background: var(--surface-soft); }
.section--alt  { background: var(--surface-alt); }
.section--navy {
  background: var(--navy);
  color: #C3D6E2;
}
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a { color: #8FD0F5; }

@media (min-width: 768px) {
  .section { padding: 84px 0; }
  .section--tight { padding: 56px 0; }
  .section--lg { padding: 108px 0; }
}

.stack > * + * { margin-top: 1rem; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-tight { max-width: 52ch; }

/* ---------- Section heading block ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}
.section--navy .eyebrow { color: #6FC3EE; }

.section-head { margin-bottom: 36px; }
.section-head p { color: var(--body); font-size: 1.05rem; margin-bottom: 0; }
.section--navy .section-head p { color: #A9C4D4; }
.section-head--center { text-align: center; }
.section-head--center p { max-width: 62ch; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  min-height: 50px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: -.01em;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 10px rgba(3, 103, 166, .25);
}
.btn--primary:hover {
  background: var(--brand-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(3, 103, 166, .32);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-050); }

.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: var(--brand-050); color: var(--brand-700); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.btn--lg { padding: 16px 30px; min-height: 56px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) {
  .btn-row .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: .93rem;
}
.link-arrow svg { transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  display: none;
  background: var(--navy);
  color: #A9C4D4;
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}
.topbar a { color: #DCE9F1; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__list li { margin: 0; display: inline-flex; align-items: center; gap: 7px; }
@media (min-width: 1024px) { .topbar { display: block; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(6, 43, 68, .08);
  border-color: transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 168px; height: auto; }
@media (min-width: 1024px) { .brand img { width: 190px; } }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }
.header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 7px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 999px;
}
.header__phone:hover { color: var(--brand); background: var(--brand-050); }
.header__phone span { display: none; }
@media (min-width: 480px) { .header__phone span { display: inline; } }
@media (min-width: 1024px) {
  .header__cta { display: inline-flex; }
}

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

/* ---------- Desktop nav ---------- */
.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: block; margin-inline: auto; }
  .nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .nav__list > li { margin: 0; position: relative; }
  .nav__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
  }
  .nav__link:hover,
  .nav__item:focus-within > .nav__link { background: var(--brand-050); color: var(--brand-700); }
  .nav__link[aria-current="page"] { color: var(--brand); }
  .nav__link .chev { transition: transform .18s var(--ease); }
  .nav__item:hover .chev, .nav__item:focus-within .chev { transform: rotate(180deg); }

  .nav__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 388px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }
  .nav__panel::before {
    content: '';
    position: absolute;
    inset: -12px 0 auto 0;
    height: 14px;
  }
  .nav__item:hover .nav__panel,
  .nav__item:focus-within .nav__panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav__panel-list { list-style: none; margin: 0; padding: 0; }
  .nav__panel-list li { margin: 0; }
  .nav__panel-link {
    display: flex;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--ink);
  }
  .nav__panel-link:hover { background: var(--surface-soft); }
  .nav__panel-icon {
    flex: none;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--brand-050);
    color: var(--brand);
  }
  .nav__panel-title { display: block; font-weight: 650; font-size: .93rem; line-height: 1.35; }
  .nav__panel-desc  { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; }
  .nav__panel-foot {
    margin-top: 6px; padding: 12px;
    border-top: 1px solid var(--line-soft);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: .88rem;
  }
  .nav__panel-foot .link-arrow { white-space: nowrap; }
}

/* ---------- Mobile drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.is-open { display: block; animation: fadeUp .22s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mobile-nav__head {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-inline: var(--gutter);
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav__body { padding: 12px var(--gutter) 40px; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 4px;
  background: none; border: 0;
  font: inherit; font-size: 1.06rem; font-weight: 650;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.mobile-nav__link .chev { transition: transform .2s var(--ease); color: var(--muted); }
.mobile-nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mobile-nav__sub {
  display: none;
  list-style: none;
  margin: 0 0 12px;
  padding: 0 0 0 2px;
}
.mobile-nav__sub.is-open { display: block; }
.mobile-nav__sub li { border: 0; }
.mobile-nav__sub a {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 4px;
  color: var(--body);
  font-size: .98rem;
  font-weight: 550;
}
.mobile-nav__sub a:hover { color: var(--brand); }
.mobile-nav__foot { margin-top: 26px; display: grid; gap: 10px; }
.mobile-nav__meta {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: .92rem; color: var(--muted);
}
body.nav-open { overflow: hidden; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  font-weight: 650;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 52px 0 56px;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(3, 103, 166, .16) 0%, rgba(3, 103, 166, 0) 58%),
    radial-gradient(90% 70% at -10% 0%, rgba(18, 165, 148, .10) 0%, rgba(18, 165, 148, 0) 55%),
    linear-gradient(180deg, #F7FBFD 0%, #FFFFFF 78%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line-soft);
}
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero__title { margin-bottom: 18px; }
.hero__title .accent {
  background: linear-gradient(100deg, var(--brand) 10%, #1596CF 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede { font-size: 1.1rem; color: var(--body); max-width: 54ch; margin-bottom: 26px; }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 28px; padding: 0; list-style: none;
}
.hero__badges li {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0;
  font-size: .88rem; font-weight: 600; color: var(--ink);
}
.hero__badges svg { color: var(--accent); flex: none; }

.hero__panel {
  position: relative;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero__panel h2 { font-size: 1.15rem; margin-bottom: 4px; }
.hero__panel > p { font-size: .93rem; color: var(--muted); margin-bottom: 20px; }
.hero__checks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.hero__checks li { display: flex; gap: 11px; margin: 0; font-size: .95rem; color: var(--ink); font-weight: 550; }
.hero__checks svg { flex: none; margin-top: 3px; color: var(--accent); }
.hero__panel-note {
  margin: 14px 0 0;
  font-size: .82rem; color: var(--muted); text-align: center;
}

@media (min-width: 900px) {
  .hero { padding: 76px 0 84px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero__lede { font-size: 1.18rem; }
}

/* Inner-page hero */
.page-hero {
  padding: 44px 0 40px;
  background:
    radial-gradient(110% 80% at 90% -20%, rgba(3, 103, 166, .13) 0%, rgba(3, 103, 166, 0) 60%),
    linear-gradient(180deg, #F7FBFD 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero__lede { font-size: 1.08rem; max-width: 62ch; margin-bottom: 24px; }
@media (min-width: 768px) { .page-hero { padding: 64px 0 60px; } }

/* Breadcrumbs */
.crumbs { margin-bottom: 18px; font-size: .84rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: '/'; color: var(--line); }
.crumbs a { color: var(--muted); font-weight: 550; display: inline-block; padding: 4px 0; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats__item { background: #fff; padding: 24px 18px; text-align: center; }
.stats__num {
  display: block;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--brand);
}
.stats__label {
  display: block;
  margin-top: 6px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .01em;
}
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats__item { padding: 34px 22px; }
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid { gap: 22px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--body); font-size: .95rem; margin-bottom: 0; }
.card__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand-050);
  color: var(--brand);
}
.card__link { margin-top: 18px; }
.card--link { cursor: pointer; }
.card--link .stretched::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card--plain { border-color: var(--line-soft); background: var(--surface-soft); }
.card--plain:hover { transform: none; box-shadow: none; border-color: var(--line); }

/* numbered process steps */
.steps { counter-reset: step; display: grid; gap: 20px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.step { position: relative; padding-top: 8px; }
.step__num {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
  font-size: 1.02rem;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .95rem; margin-bottom: 0; }
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 23px; left: 58px; right: -22px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-100), rgba(211,232,244,0));
  }
}

/* feature list with checks */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 11px; margin: 0; font-size: .97rem; }
.checklist svg { flex: none; margin-top: 4px; color: var(--accent); }
.checklist--2 { }
@media (min-width: 620px) { .checklist--2 { grid-template-columns: repeat(2, 1fr); gap: 12px 26px; } }

/* split media/text */
.split { display: grid; gap: 32px; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--flip .split__media { order: 2; }
}
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ==========================================================================
   Tabbed service pillars (ProLegal-style)
   ========================================================================== */
.tabs__nav {
  display: flex;
  gap: 6px;
  margin-bottom: 26px;
  padding: 6px;
  background: var(--surface-alt);
  border-radius: 999px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__tab {
  flex: 1 0 auto;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] {
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeUp .26s var(--ease); }
.tabs__intro { max-width: 60ch; margin-bottom: 26px; }
.tabs__intro h3 { font-size: clamp(1.35rem, 3.4vw, 1.8rem); margin-bottom: 8px; }
.tabs__intro p { margin-bottom: 0; }
@media (min-width: 768px) {
  .tabs__nav { display: inline-flex; margin-inline: auto; }
  .tabs__nav-wrap { display: flex; justify-content: center; }
  .tabs__tab { flex: 0 0 auto; }
}

/* ==========================================================================
   Accordion / FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 2px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1.03rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { color: var(--brand); }
.faq__icon {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); opacity: 0; }
.faq__a { display: none; padding: 0 2px 22px; max-width: 68ch; }
.faq__a.is-open { display: block; }
.faq__a p:last-child { margin-bottom: 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  padding: 52px 0;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(18, 165, 148, .22) 0%, rgba(18, 165, 148, 0) 55%),
    linear-gradient(120deg, var(--navy) 0%, var(--brand-700) 100%);
  color: #C3D6E2;
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #B9D2E1; max-width: 56ch; margin-bottom: 26px; }
.cta-band__inner { position: relative; }
@media (min-width: 900px) {
  .cta-band { padding: 72px 0; }
  .cta-band__inner {
    display: grid;
    grid-template-columns: 1.2fr auto;
    align-items: center;
    gap: 48px;
  }
  .cta-band p { margin-bottom: 0; }
}

/* ==========================================================================
   Contact / forms
   ========================================================================== */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .89rem; font-weight: 650; color: var(--ink); }
.field .req { color: var(--warn); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  min-height: 50px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
  appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235D7385' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(3, 103, 166, .13);
}
.field__hint { font-size: .82rem; color: var(--muted); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: .82rem; color: var(--muted); margin: 0; }
.form__status { display: none; padding: 14px 16px; border-radius: 12px; font-size: .93rem; font-weight: 600; }
.form__status.is-visible { display: block; }
.form__status--ok  { background: #E7F7F4; color: #0B6B5F; }
.form__status--err { background: #FDECE7; color: #9A3412; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.contact-card {
  padding: 26px 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; margin: 0; }
.contact-list__icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
}
.contact-list__label {
  display: block;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 2px;
}
.contact-list__value { display: block; font-size: 1.06rem; font-weight: 650; color: var(--ink); }
a.contact-list__value { display: inline-flex; align-items: center; min-height: 40px; }
a.contact-list__value:hover { color: var(--brand); }
.contact-list__sub { display: block; font-size: .88rem; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 52px 0 0;
  background: var(--navy);
  color: #A9C4D4;
  font-size: .93rem;
}
.site-footer h4, .site-footer .footer__h {
  margin-top: 0;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a { color: #C3D6E2; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 34px; }
@media (min-width: 700px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; } }
.footer__brand img {
  width: 190px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer__brand p { max-width: 34ch; color: #9BB6C8; font-size: .92rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__list a { display: inline-block; padding: 7px 0; }
.footer__list li { margin: 0; }
.footer__contact { display: grid; gap: 12px; margin-top: 20px; }
.footer__contact a, .footer__contact span { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact a { min-height: 40px; align-items: center; }
.footer__contact a svg { margin-top: 0; }
.footer__contact svg { flex: none; margin-top: 3px; color: #6FC3EE; }
.footer__bottom {
  margin-top: 44px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 14px;
  font-size: .85rem;
  color: #8AA7BA;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 20px; list-style: none; margin: 0; padding: 0; }
.footer__legal a { display: inline-block; padding: 7px 0; }
.footer__legal li { margin: 0; }
@media (min-width: 760px) {
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-050);
  color: var(--brand-700);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .02em;
}
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }

/* Sticky mobile call bar */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .26s var(--ease);
}
.callbar.is-visible { transform: none; }
.callbar .btn { min-height: 48px; padding: 12px 14px; font-size: .92rem; }
@media (min-width: 1024px) { .callbar { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 0; } body.has-callbar { padding-bottom: 78px; } }
