/* Akvidenta — base styles */
:root {
  --navy: #1F3A6B;
  --navy-700: #182d54;
  --navy-900: #11203c;
  --graphite: #1F1F1F;
  --graphite-soft: #2a2a2a;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-warm: #FAFBFC;
  --bg-cream: #F7F4EF;
  --line: #E4E6EA;
  --line-soft: #EFF1F4;
  --blue-soft: #DCE7F7;
  --blue-softer: #ECF1FA;
  --muted: #5A6470;
  --muted-strong: #3F4855;
  --placeholder: #A0A6AE;

  --display: 'Cormorant Garamond', 'Manrope', system-ui, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --maxw: 1240px;
  --pad: clamp(22px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--graphite);
  background: var(--bg);
  font-size: 19.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Sections with id should clear the sticky header in full-page screenshots
   and when navigated via in-page anchors. */
section[id] { scroll-margin-top: 96px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--graphite);
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: pretty;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: left 0.2s ease;
}
.skip:focus { left: 0; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: var(--ks-banner-height, 0px);
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

/* Logo */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.logo-mark-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}
.logo-name {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 25px;
  color: var(--graphite);
  text-transform: uppercase;
}
.logo-name .denta { color: var(--navy); }
.logo-tag {
  font-family: var(--body);
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 15.5px;
  color: var(--graphite-soft);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--navy); }
.nav-link.active { color: var(--navy); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.2s ease, color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 12px 28px -10px rgba(31,58,107,0.6);
}
.btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 18px 36px -12px rgba(31,58,107,0.7); }
.btn-primary:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover { background: var(--bg-soft); }
.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}
/* Larger CTA in hero / step / quote sections */
.btn-lg { padding: 18px 34px; font-size: 17.5px; }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease, gap 0.15s ease;
}
.btn-text:hover { border-color: var(--navy); gap: 12px; }
.btn-text:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 4px; border-radius: 2px; }

/* Mobile-only icon CTA in nav */
.nav-cta-icon {
  display: none;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 22px -10px rgba(31,58,107,0.55);
}

/* ===== HERO (light) ===== */
.hero {
  position: relative;
  background: var(--bg-warm);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(220,231,247,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(245,247,250,1) 0%, transparent 50%),
    linear-gradient(180deg, #FAFBFC 0%, #FFFFFF 100%);
  z-index: -2;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(31,58,107,0.022) 0 1px,
    transparent 1px 28px
  );
  z-index: -1;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(46px, 6.2vw, 80px);
  line-height: 1.04;
  font-weight: 600;
  color: var(--graphite);
  max-width: 17ch;
  letter-spacing: -0.025em;
}
.hero-title em {
  font-style: italic;
  font-family: var(--display);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.hero-sub {
  margin-top: 30px;
  max-width: 52ch;
  font-size: clamp(20px, 1.35vw, 23px);
  color: var(--muted-strong);
  line-height: 1.7;
}
.hero-cta-row {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--blue-soft);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16.5px;
  color: var(--graphite);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.hero-call:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -14px rgba(31,58,107,0.4);
}
.hero-call .hero-call-icon {
  width: 20px; height: 20px;
  color: var(--navy);
  flex-shrink: 0;
}
.hero-call-text { color: var(--muted-strong); }
.hero-call strong { color: var(--graphite); font-weight: 600; margin-left: 4px; }

/* Hero meta — now a soft card to feel integrated */
.hero-meta {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(31,58,107,0.06);
  border-radius: 14px;
  padding: 22px 26px;
  max-width: 760px;
  backdrop-filter: blur(4px);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 24px;
}
.hero-meta-item + .hero-meta-item { border-left: 1px solid var(--line); padding-left: 24px; }
.hero-meta-label {
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 500;
}
.hero-meta-value {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  color: var(--graphite);
}

.hero-img-col {
  position: relative;
}
.hero-img-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 36px 70px -32px rgba(31,58,107,0.32),
              inset 0 0 0 1px rgba(31,58,107,0.08);
}
.hero-img-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
@media (min-width: 901px) {
  .hero-img-frame { transform: scale(1.04); transform-origin: center; }
}
.hero-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,32,60,0.28) 0%, transparent 28%, transparent 70%, rgba(17,32,60,0.32) 100%);
  pointer-events: none;
}
.hero-img-tag {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Media images */
.media-img {
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 36px 70px -32px rgba(31,58,107,0.28);
  background: var(--bg-soft);
}
.media-portrait { aspect-ratio: 4 / 5; }
.media-square { aspect-ratio: 1 / 1; }
.media-hero { aspect-ratio: 4 / 3; }

/* ===== Section base ===== */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-cream { background: var(--bg-cream); }

.eyebrow {
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 600;
}
.eyebrow .dash { width: 36px; height: 2px; background: var(--navy); }

.section-title {
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.022em;
  max-width: 24ch;
}
.section-lead {
  margin-top: 24px;
  font-size: clamp(19px, 1.25vw, 21px);
  color: var(--muted-strong);
  max-width: 56ch;
  line-height: 1.7;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 64px;
}
.section-head.split {
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: 56px;
}
@media (max-width: 800px) {
  .section-head.split { grid-template-columns: 1fr; gap: 18px; }
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 40px 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  box-shadow: 0 1px 0 rgba(31,58,107,0.02);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -28px rgba(31,58,107,0.3);
  border-color: var(--navy);
}
.service-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--blue-softer);
  color: var(--navy);
  margin-bottom: 20px;
  border: 1px solid rgba(31,58,107,0.08);
}
.service-icon svg { width: 32px; height: 32px; }
.service-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.014em;
  color: var(--graphite);
  line-height: 1.25;
}
.service-desc {
  color: var(--muted-strong);
  font-size: 17.5px;
  line-height: 1.65;
}
.service-link {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  opacity: 0.78;
  transition: opacity 0.15s ease, gap 0.15s ease;
}
.service-card:hover .service-link { opacity: 1; gap: 10px; }

/* ===== Trust section ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 56px;
}
@media (max-width: 700px) { .trust-grid { grid-template-columns: 1fr; gap: 30px; } }
.trust-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
}
.trust-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
}
.trust-icon svg { width: 30px; height: 30px; }
.trust-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.014em;
  margin-bottom: 10px;
  line-height: 1.3;
}
.trust-desc {
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.65;
  max-width: 50ch;
}

/* ===== About split ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-text p {
  font-size: 18.5px;
  color: var(--muted-strong);
  line-height: 1.78;
  margin: 0 0 20px;
}
.about-text p:first-of-type {
  font-size: 21px;
  color: var(--graphite);
  line-height: 1.6;
}
.about-stats {
  display: flex;
  gap: 56px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  flex-wrap: wrap;
}
.about-stat-num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 48px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.about-stat-label {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  max-width: 22ch;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 24px;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 36px 36px 36px 36px;
  border-left: 1px solid var(--line);
  position: relative;
}
.step:first-child { border-left: 2px solid var(--navy); }
.step-num {
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.step-num .bullet {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: #fff;
  font-size: 14px;
  font-family: var(--sans); font-weight: 600;
}
.step:first-child .step-num .bullet {
  background: var(--navy);
  color: #fff;
}
.step-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.014em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.step-desc {
  font-size: 17px;
  color: var(--muted-strong);
  line-height: 1.65;
}

/* ===== Quote (warm trust statement) ===== */
.quote-section { background: var(--bg-cream); }
.quote-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 700px) {
  .quote-block { grid-template-columns: 1fr; gap: 16px; }
}
.quote-mark {
  font-family: var(--display);
  font-size: 130px;
  line-height: 0.85;
  color: var(--navy);
  opacity: 0.85;
}
.quote-text {
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--graphite);
  letter-spacing: -0.01em;
  margin: 0;
}
.quote-attribution {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
}

/* ===== Contact section ===== */
.contact {
  background: var(--navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255,255,255,0.018) 0 1px,
    transparent 1px 28px
  );
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-rows: auto 1fr;
  gap: 32px 64px;
}
.contact-heading { grid-column: 1; grid-row: 1; }
.contact-info    { grid-column: 1; grid-row: 2; }
.contact-grid > div:last-child { grid-column: 2; grid-row: 1 / 3; }

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 40px;
  }
  .contact-heading { grid-column: 1; grid-row: 1; }
  .contact-grid > div:last-child { grid-column: 1; grid-row: 2; }
  .contact-info    { grid-column: 1; grid-row: 3; }
}

/* Map under contact, full width */
.contact-map {
  position: relative;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-map-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(26px, 2.4vw, 32px);
  color: #fff;
  letter-spacing: -0.018em;
  margin: 0 0 8px;
}
.contact-map-address {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.contact-map .map-wrap {
  width: 100%;
}
.contact-map .map-wrap iframe {
  height: 360px;
}

/* Phone CTA under the contact intro copy */
.contact-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-family: var(--sans);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  align-self: flex-start;
}
.contact-phone-cta:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--blue-soft);
  transform: translateY(-1px);
}
.contact-phone-cta svg {
  width: 24px; height: 24px;
  color: var(--blue-soft);
  flex-shrink: 0;
}
.contact-phone-cta-label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-phone-cta-num {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.015em;
}

/* ===== Form (typography polish) ===== */
.form {
  background: #fff;
  color: var(--graphite);
  padding: 52px 52px 44px;
  border-radius: 20px;
  box-shadow: 0 40px 100px -32px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.05);
}
@media (max-width: 600px) { .form { padding: 34px 26px; } }
.form h3 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: -0.022em;
}
.form-sub {
  color: var(--muted-strong);
  font-size: 17.5px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 0;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.field label {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--graphite);
  font-weight: 500;
}
.field-hint {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
}
.field input,
.field select,
.field textarea {
  border: none;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  padding: 14px 2px 12px;
  background: transparent;
  font-size: 17.5px;
  transition: border-color 0.15s ease;
  outline: none;
  width: 100%;
  color: var(--graphite);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--placeholder); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--navy);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 5.5L7 9L10.5 5.5' stroke='%231F3A6B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}
.field textarea { min-height: 110px; resize: vertical; padding: 14px 2px; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.form-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-style: italic;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
.form-note.success {
  color: var(--navy);
  font-style: normal;
  font-weight: 500;
}

.contact-heading {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-heading h2 {
  color: #fff;
  font-size: clamp(34px, 3.8vw, 48px);
  letter-spacing: -0.022em;
  margin-bottom: 18px;
  line-height: 1.12;
}
.contact-heading > p {
  color: rgba(255,255,255,0.85);
  font-size: 19px;
  line-height: 1.7;
  max-width: 44ch;
  margin: 0;
}
.contact-block {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
}
.contact-block-label {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  font-weight: 600;
}
.contact-block-value {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 19px;
  color: #fff;
  line-height: 1.55;
}
.contact-block-value > a:not(.small) {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 4px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.contact-block-value > a:not(.small):hover {
  color: var(--blue-soft);
  text-decoration-color: var(--blue-soft);
}
.contact-block-value .small {
  font-family: var(--body);
  font-size: 15.5px;
  color: rgba(255,255,255,0.78);
  font-weight: 400;
}
.contact-block-value a.small:hover { color: var(--blue-soft); }
.contact-block-value > a[href^="mailto:"] {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 4px;
}

/* Hours table */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-family: var(--sans);
  color: rgba(255,255,255,0.88);
  padding: 4px 0;
}
.hours-list .day { color: rgba(255,255,255,0.7); }

/* Map */
.map-wrap {
  margin-top: 8px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  filter: grayscale(1) contrast(0.92) brightness(1.05);
}

/* ===== Services page ===== */
.svc-page-hero {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
  background: var(--bg-warm);
  overflow: hidden;
  isolation: isolate;
}
.svc-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(220,231,247,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(245,247,250,1) 0%, transparent 50%),
    linear-gradient(180deg, #FAFBFC 0%, #FFFFFF 100%);
  z-index: -2;
}
.svc-page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(31,58,107,0.022) 0 1px,
    transparent 1px 28px
  );
  z-index: -1;
  pointer-events: none;
}
.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; gap: 44px; } }
.svc-hero-title {
  font-size: clamp(46px, 6.2vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.svc-hero-sub {
  font-size: clamp(20px, 1.35vw, 23px);
  color: var(--muted-strong);
  line-height: 1.7;
  max-width: 52ch;
  margin-top: 30px;
}
.svc-hero-cta-row {
  margin-top: 44px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.svc-hero-note {
  font-size: 16.5px;
  color: var(--muted);
  margin-top: 26px;
  max-width: 50ch;
  line-height: 1.65;
}
/* Match index hero image scale on desktop */
.svc-hero-grid .media-portrait {
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 36px 70px -32px rgba(31,58,107,0.32),
              inset 0 0 0 1px rgba(31,58,107,0.08);
}
@media (min-width: 901px) {
  .svc-hero-grid .media-portrait { transform: scale(1.04); transform-origin: center; }
}

.svc-list {
  display: flex;
  flex-direction: column;
}
.svc-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 0.5fr;
  gap: 56px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  scroll-margin-top: 100px;
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 800px) {
  .svc-row { grid-template-columns: 1fr; gap: 18px; padding: 44px 0; }
}
.svc-row-num {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.svc-row-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(26px, 2.5vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.svc-row-body {
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.78;
  max-width: 56ch;
}
.svc-row-cta {
  text-align: right;
  padding-top: 4px;
}
@media (max-width: 800px) { .svc-row-cta { text-align: left; } }

/* ===== Footer ===== */
.footer {
  background: var(--graphite);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 44px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: start;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo-img {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
  background: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  margin-top: 22px;
  font-size: 15.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 36ch;
}

.footer-col-title {
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 16px; color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-col li.line {
  font-size: 15.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}

.footer-legal {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
}
.footer-legal span strong {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .meta {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ===== Mobile nav ===== */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 14px; height: 1.5px;
  background: var(--graphite);
  position: relative;
  transition: background 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--graphite);
  transition: transform 0.22s ease, top 0.22s ease 0.08s;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* open state: middle bar disappears, top/bottom cross */
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
  transition: top 0.12s ease, transform 0.22s ease 0.1s;
}
.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
  transition: top 0.12s ease, transform 0.22s ease 0.1s;
}

@media (max-width: 760px) {
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-cta-icon { display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  .logo-tag { display: none; }
  .logo-name { font-size: 22px; letter-spacing: 0.16em; }
  .logo-mark-img { width: 36px; height: 36px; }
  .hero-meta { grid-template-columns: 1fr; padding: 18px 22px; }
  .hero-meta-item { padding-right: 0; }
  .hero-meta-item + .hero-meta-item { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 14px; margin-top: 4px; }
}

/* Mobile sheet */
.mobile-sheet {
  position: fixed;
  top: var(--ks-banner-height, 0px);
  left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 100;
  padding: 0 var(--pad) 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  /* hidden state */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}
.mobile-sheet.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.22s ease, visibility 0s linear 0s;
}
.mobile-sheet-top {
  display: flex; justify-content: space-between; align-items: center;
  height: 84px;
  flex-shrink: 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-sheet a:not(.logo-link):not(.btn) {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-sheet .btn { margin-top: 24px; align-self: flex-start; font-size: 16px; padding: 14px 26px; }
.mobile-sheet-close {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 22px;
  color: var(--graphite);
  line-height: 1;
}

/* Arrow */
.arrow {
  width: 14px; height: 14px;
  display: inline-block;
  flex-shrink: 0;
}

/* Focus visibility */
a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}
