/* ==========================================================
   HERITO — Design System
   Brand: #1670B8 (Herito blue)
   Type: Space Grotesk (display) + Inter (body)
   ========================================================== */

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --blue: #1670B8;
  --blue-600: #1264a3;
  --blue-700: #0e528a;
  --navy: #0A2540;
  --navy-soft: #102a44;
  --ink: #0c1a2b;
  --ink-2: #2a3b50;
  --muted: #5a6a7e;
  --line: #e3e8ef;
  --line-2: #d6dde6;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eaf2fa;
  --accent: #f3a712; /* warm signal accent — sparingly */

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 1px rgba(10,37,64,0.04);
  --shadow: 0 10px 30px -12px rgba(10, 37, 64, 0.18), 0 2px 6px rgba(10,37,64,0.06);
  --shadow-lg: 0 30px 60px -25px rgba(10, 37, 64, 0.35);

  --container: 1240px;
}

* { box-sizing: border-box; }

/* ===================== ANIMATIONS ===================== */
@keyframes herito-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes herito-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes herito-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(33,208,122,0.45); }
  70%      { box-shadow: 0 0 0 10px rgba(33,208,122,0); }
}
@keyframes herito-underline {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.section-head.reveal { transition-delay: 0s; }

/* hero entrance — runs on page load, no JS needed */
.hero .eyebrow,
.hero h1,
.hero-lede,
.hero-cta,
.hero-visual,
.hero-badge,
.page-header .crumb,
.page-header h1,
.page-header p {
  opacity: 0;
  animation: herito-fade-up .8s var(--ease-out) forwards;
}
.hero .eyebrow      { animation-delay: .05s; }
.hero h1            { animation-delay: .15s; }
.hero-lede          { animation-delay: .28s; }
.hero-cta           { animation-delay: .4s; }
.hero-visual        { animation-delay: .35s; }
.hero-badge         { animation-delay: .9s; animation-duration: .6s; }
.page-header .crumb { animation-delay: 0s; }
.page-header h1     { animation-delay: .12s; }
.page-header p      { animation-delay: .24s; }
.grid > .reveal:nth-child(1) { transition-delay: 0s; }
.grid > .reveal:nth-child(2) { transition-delay: .06s; }
.grid > .reveal:nth-child(3) { transition-delay: .12s; }
.grid > .reveal:nth-child(4) { transition-delay: .18s; }
.grid > .reveal:nth-child(5) { transition-delay: .24s; }
.grid > .reveal:nth-child(6) { transition-delay: .3s; }
.grid > .reveal:nth-child(7) { transition-delay: .36s; }
.grid > .reveal:nth-child(8) { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero .eyebrow,
  .hero h1,
  .hero-lede,
  .hero-cta,
  .hero-visual,
  .hero-badge,
  .page-header .crumb,
  .page-header h1,
  .page-header p { opacity: 1; animation: none; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.015em; }
h4 { font-size: 18px; letter-spacing: -0.01em; }

p { margin: 0; color: var(--ink-2); text-wrap: pretty; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgba(10, 37, 64, 0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--navy);
  transition: opacity .2s ease;
}
.nav-brand:hover { opacity: 0.85; }
.nav-brand img {
  height: 36px;
  width: auto;
  border-radius: 6px;
  transition: transform .35s var(--ease-spring);
}
.nav-brand:hover img { transform: rotate(-4deg) scale(1.05); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .18s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease-out);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links { margin-left: auto; margin-right: 32px; }
.nav-inner .nav-cta { display: inline-flex; }
.nav-links .nav-panel-links { display: contents; }
.nav-links .nav-panel-info,
.nav-links .nav-panel-cta,
.nav-links .nav-panel-foot { display: none; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--navy);
}
.nav-toggle:hover span { background: var(--blue); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  /* drop backdrop-filter on mobile so the fixed mobile menu isn't trapped in
     the nav's containing block (Chromium treats backdrop-filter as creating
     a containing block for position: fixed children) */
  .nav {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.nav-open .nav { border-bottom-color: transparent; }
  .nav-inner { padding-block: 12px; }
  .nav-brand { font-size: 17px; gap: 10px; }
  .nav-brand img { height: 32px; }
  .nav-links { margin-left: 0; margin-right: 0; }
  .nav-inner .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 20px 32px;
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .25s ease;
    visibility: hidden;
    margin-left: 0;
  }
  body.nav-open .nav-links { transform: translateX(0); visibility: visible; }
  body.nav-open { overflow: hidden; }

  .nav-links .nav-panel-links { display: flex; flex-direction: column; gap: 2px; }
  .nav-links .nav-panel-info { display: flex; }
  .nav-links .nav-panel-cta { display: inline-flex; }
  .nav-links .nav-panel-foot { display: flex; }
  .nav-panel-links a {
    padding: 14px 4px;
    font-size: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.01em;
  }
  .nav-panel-links a.active { color: var(--blue); }
  .nav-panel-links a.active::after { display: none; }

  .nav-panel-info {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: 16px;
  }
  .nav-panel-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 6px;
  }
  .nav-panel-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--navy);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
  }
  .nav-panel-line .i { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
  .nav-panel-line-static { color: var(--muted); font-weight: 400; }

  .nav-links a.nav-panel-cta {
    margin-top: 20px;
    justify-content: center;
    padding: 14px 24px;
    font-size: 16px;
    color: #fff;
  }

  .nav-panel-foot {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--muted);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.02em;
  }
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(22,112,184,0.6); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 14px 28px -12px rgba(22,112,184,0.7); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--blue); color: var(--blue); }

.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-soft); }

.btn-arrow::after {
  content: '→';
  transition: transform .18s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===================== EYEBROW / META ===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  font-family: 'Space Grotesk', sans-serif;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--blue);
}

/* ===================== SECTIONS ===================== */
section { padding: 110px 0; }
.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }
@media (max-width: 880px) {
  section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 16px; }
}
@media (max-width: 480px) {
  section { padding: 56px 0; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 15%, rgba(22,112,184,0.10), transparent 70%),
    radial-gradient(60% 60% at 10% 90%, rgba(22,112,184,0.08), transparent 70%),
    #fff;
}
.hero::before {
  /* subtle dot grid echoing the crown's dot motif */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10,37,64,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: 0 0;
  mask-image: radial-gradient(70% 65% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 65% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero h1 { max-width: 14ch; margin-bottom: 26px; }
.hero h1 .accent { color: var(--blue); }
.hero-lede {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 880px) {
  .hero { padding: 64px 0 72px; }
  .hero h1 { margin-bottom: 20px; }
  .hero-lede { font-size: 17px; margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .hero { padding: 48px 0 56px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

/* ===================== CARD GRID ===================== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
@media (max-width: 480px) { .card { padding: 24px; } }
.card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card .icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .25s ease, color .25s ease, transform .35s var(--ease-spring);
}
.card:hover .icon-tile {
  background: var(--blue);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; }
.card .more {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 500;
  font-size: 14px;
}
.card .more::after { content: '→'; transition: transform .18s ease; }
.card:hover .more::after { transform: translateX(4px); }

/* ===================== STAT STRIP ===================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 38px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat { padding: 28px 20px; }
  .stat-num { font-size: 36px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stat { padding: 22px 16px; }
  .stat-num { font-size: 30px; }
}

/* ===================== DARK BLOCK ===================== */
.dark-block {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.dark-block h2 { color: #fff; }
.dark-block p { color: rgba(255,255,255,0.78); }
.dark-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
@media (max-width: 880px) {
  .dark-block { padding: 56px 32px; border-radius: 22px; }
}
@media (max-width: 480px) {
  .dark-block { padding: 44px 22px; border-radius: 18px; }
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 36px;
  margin-top: 0;
}
footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 20px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  footer { padding: 56px 0 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
.foot-brand img { height: 48px; border-radius: 6px; margin-bottom: 18px; }
.foot-brand p { color: rgba(255,255,255,0.7); font-size: 14px; max-width: 32ch; }
.foot-list { display: flex; flex-direction: column; gap: 12px; }
.foot-list a {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  transition: color .15s ease;
}
.foot-list a:hover { color: #fff; }
.foot-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 14px;
}

/* ===================== UTILITY ===================== */
.tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--bg-tint);
  color: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* tiny inline svg icons inherit currentColor */
.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* page header strip (non-home pages) */
.page-header {
  padding: 110px 0 60px;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(22,112,184,0.10), transparent 70%),
    #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(10,37,64,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%);
  pointer-events: none;
}
.page-header .container { position: relative; }
.page-header h1 { font-size: clamp(36px, 5.4vw, 72px); margin: 18px 0 18px; max-width: 18ch; }
.page-header p { font-size: 19px; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 880px) {
  .page-header { padding: 64px 0 44px; }
  .page-header p { font-size: 17px; }
}
@media (max-width: 480px) {
  .page-header { padding: 48px 0 32px; }
}

/* breadcrumb */
.crumb { font-size: 13px; color: var(--muted); font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.04em; text-transform: uppercase;}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--blue); }
.crumb span { margin: 0 8px; opacity: 0.5; }

/* ===================== FORMS (shared) ===================== */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label,
.field > legend {
  padding: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form input,
.form select,
.form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  width: 100%;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 112, 184, 0.1);
}
.form textarea { resize: vertical; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition: all .15s ease;
  text-transform: none;
  letter-spacing: 0;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip:has(input:checked) { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px;
  background: var(--bg-tint);
  border-radius: 18px;
  border: 1px solid var(--line);
}
.form-success:focus { outline: none; }
.form-success .check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.contact-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
@media (max-width: 980px) { .contact-aside { position: static; } }
.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
@media (max-width: 480px) {
  .aside-card { padding: 22px; }
}
.aside-card h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--blue);
  margin-bottom: 18px;
}
.aside-card.emergency { background: var(--navy); border-color: var(--navy); }
.aside-card.emergency h4 { color: #7BB7E5 !important; }

.check-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(33, 208, 122, 0.16);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d9b5d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 12 10 16 18 8'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
