/* Shared visual system. Content remains readable without JavaScript. */
:root {
  --app-font-sans:
    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --app-font-serif: var(--app-font-sans);
  --app-font-mono: "DM Mono", monospace;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(48px, 5vw, 76px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  scrollbar-color: var(--line-hover) var(--canvas);
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--app-font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
body,
input,
textarea,
button {
  font-synthesis: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button svg,
a svg {
  flex-shrink: 0;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
::selection {
  color: var(--ink);
  background: var(--selection);
}
:focus-visible {
  outline: 3px solid #648cfa;
  outline-offset: 5px;
}
[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible,
.form-success:focus,
.form-success:focus-visible {
  outline: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.site-shell {
  width: 100%;
}
.container {
  width: min(1264px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-space);
  scroll-margin-top: 30px;
}
.serif {
  font-family: var(--app-font-sans);
  font-weight: 550;
  letter-spacing: -0.055em;
}
.section-title,
.about-quote,
.journey h2,
.partners h2,
.contact h2 {
  margin: 17px 0 0;
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 550;
}
.accent-text,
.about-quote > span {
  color: var(--ink);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.section-intro {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 430px;
  margin: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 4px 24px #10131920;
}
.skip-link:focus {
  top: 12px;
}
.no-script {
  background: var(--blue-soft);
  padding: 16px;
  text-align: center;
  margin: 0;
}
.no-script a {
  text-decoration: underline;
}

/* Navigation */
.site-header {
  --topbar-height: 46px;
  position: sticky;
  top: calc(-1 * var(--topbar-height));
  z-index: 20;
  color-scheme: dark;
  color: #f7faff;
}
.topbar {
  background: #12161c;
  color: #d4d9e3;
  height: var(--topbar-height);
  font-size: 11px;
  letter-spacing: 0.025em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.topbar-right {
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #b8c1cf;
}
.topbar-right img { display: block; flex-shrink: 0; }
.parent-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.parent-brand img {
  display: block;
  width: 164px;
  height: auto;
  flex-shrink: 0;
}
.nav {
  background: #191d24f5;
  border-bottom: 1px solid #ffffff1f;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled {
  box-shadow: 0 5px 24px #10131926;
}
.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.055em;
  flex-shrink: 0;
}
.logo-symbol {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-links {
  order: 2;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.3vw, 20px);
}
.nav-tools {
  order: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-header .theme-picker > summary {
  border-color: #ffffff38;
  background: #2b323d;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 550;
  color: #dbe0e9;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link[aria-current="location"] {
  color: #aecaff;
}
.nav-link[aria-current="location"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: #aecaff;
}
.nav-portal-link,
.footer-portal-link {
  border: 0;
  background: none;
  padding: 0;
}
.menu-button {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #f7faff;
  border: 1px solid #ffffff38;
  border-radius: 12px;
  background: #2b323d;
}
.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.25s var(--ease),
    border-color 0.2s;
}
.nav-cta,
.button-primary {
  color: white;
  background: var(--action);
}
.nav-cta {
  min-height: 44px;
  padding: 11px 16px;
  font-size: 12px;
}
.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}
.button-price {
  border-left: 1px solid #ffffff50;
  padding-left: 12px;
  white-space: nowrap;
}
.button-primary svg,
.button-secondary svg,
.nav-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
@media (hover: hover) {
  .button-primary:hover,
  .nav-cta:hover {
    background: var(--action-hover);
    box-shadow: 0 6px 18px #245ee726;
    transform: translateY(-2px);
  }
  .button-secondary:hover {
    border-color: var(--line-hover);
    background: var(--paper);
    transform: translateY(-2px);
  }
  .button-primary:hover svg,
  .button-secondary:hover svg,
  .nav-cta:hover svg {
    transform: translate(2px, -2px);
  }
}
.button-primary:active,
.button-secondary:active,
.nav-cta:active {
  transform: translateY(0);
}

/* Hero and coordinated care pathway */
.hero {
  background: var(--canvas);
  padding: clamp(48px, 6vw, 86px) 0 70px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
}
.hero-content {
  min-width: 0;
}
.hero-kicker {
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(3.1rem, 5.6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 570;
  margin: 0 0 28px;
  max-width: 650px;
}
.hero h1 em {
  color: var(--blue);
  font-style: normal;
}
.hero-copy {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
  max-width: 490px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-people {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 35px;
}
.hero-avatars {
  display: flex;
  padding-left: 8px;
  flex-shrink: 0;
}
.hero-avatars img {
  margin-left: -8px;
  width: 43px;
  height: 43px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  border: 3px solid var(--paper);
  background: var(--paper);
}
.hero-avatars img:first-child {
  object-view-box: inset(12.6% 11.3% 11.7% 11.3%);
}
.hero-avatars img:last-child {
  object-view-box: inset(0% 5% 26.2% 5%);
}
.hero-people p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.hero-people a {
  color: var(--ink);
  font-weight: 600;
}
.hero-people a:hover {
  color: var(--blue);
}
.care-map {
  min-width: 0;
  background: var(--navy);
  color: white;
  border-radius: 28px;
  padding: clamp(28px, 3vw, 44px);
  box-shadow: 0 24px 60px -28px #10131960;
  position: relative;
  isolation: isolate;
}
.care-map::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, #ffffff05, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.care-map-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  gap: 16px;
}
.care-map-heading .eyebrow {
  color: #c2c9d4;
  font-size: 10px;
}
.care-map-heading img {
  opacity: 0.95;
}
.care-map h2 {
  font-size: clamp(28px, 2.7vw, 39px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 14px;
}
.care-map-intro {
  color: #bcc4d0;
  font-size: 13px;
  margin-bottom: 30px;
}
.care-map-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.care-map-steps li {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 25px;
}
.care-map-steps li:last-child {
  padding-bottom: 0;
}
.care-map-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 43px;
  bottom: 0;
  width: 1px;
  background: #505863;
}
.care-map-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  background: #ffffff09;
  color: #c3cad5;
  border: 1px solid #ffffff25;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 600;
}
.care-map-steps li:first-child .care-map-number {
  background: #316bec;
  color: white;
  border-color: #5389ff;
  box-shadow: 0 0 0 5px #316bec16;
}
.care-map-steps h3 {
  font-size: 15px;
  font-weight: 550;
  margin: 1px 0 3px;
}
.care-map-steps p {
  font-size: 11px;
  line-height: 1.7;
  color: #bcc4d0;
  margin: 0;
}
.care-map-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #ffffff1f;
  font-size: 10px;
  color: #c2c9d3;
}
.care-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #90b5ff;
  box-shadow: 0 0 0 4px #90b5ff14;
  flex-shrink: 0;
}
.signal {
  border-block: 1px solid var(--line);
  background: var(--canvas);
}
.signal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 24px;
}
.signal p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.signal-stages {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.signal-stages span + span::before {
  content: "/";
  display: inline-block;
  margin-right: 26px;
  color: #a6b4cb;
}

/* About, people and services */
.about,
.services {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 9vw, 135px);
}
.about-body > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 19px;
}
.story-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 35px;
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.story-point {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.story-point strong {
  font-size: 11px;
  color: var(--blue);
  font-weight: 600;
  margin-top: 3px;
}
.story-point span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.team {
  background: var(--canvas);
  border-block: 1px solid var(--line);
}
.team-head,
.services-head,
.faq-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 46px;
}
.team-head .section-intro,
.services-head .section-intro {
  max-width: 420px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 940px;
  margin-inline: auto;
}
.team-head {
  justify-content: center;
  text-align: center;
}
.team-head .section-title {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.15;
}
.team-photo.team-photo-calin,
.hero-avatars img[src*="dr-calin-white"] {
  background: #fff;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  transition:
    box-shadow 0.35s,
    transform 0.35s var(--ease);
}
.team-photo {
  aspect-ratio: 1.35;
  max-height: 390px;
  overflow: hidden;
  background: var(--paper);
}
.team-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.team-photo-rughinis img {
  height: auto;
  margin-top: -16%;
}
.team-photo-calin img {
  object-position: 50% 15%;
}
.team-card-body {
  padding: clamp(24px, 3vw, 36px);
}
.team-role {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.team-card h3 {
  font-size: 27px;
  letter-spacing: -0.035em;
  font-weight: 550;
  margin: 8px 0 16px;
}
.team-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}
@media (hover: hover) {
  .team-card:hover {
    box-shadow: 0 16px 40px -24px #10131945;
    transform: translateY(-4px);
  }
  .team-card:hover img {
    transform: scale(1.025);
  }
}
.service-list {
  display: grid;
  gap: 12px;
}
.service-row {
  background: var(--procedure-card);
  border: 1px solid var(--procedure-border);
  box-shadow: 0 3px 10px #0000000a;
  border-radius: 16px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.3s var(--ease);
}
.service-question {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 25px;
  padding: 27px 30px;
  cursor: pointer;
  list-style: none;
  border-radius: 16px;
}
.service-question::-webkit-details-marker { display: none; }
.service-answer { padding: 0 91px 28px 93px; }
.service-contact { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--blue); font-size: 13px; font-weight: 600; }
.service-contact:hover { text-decoration: underline; }
.service-row[open] .service-arrow { transform: rotate(180deg); background: var(--blue-soft); }
.service-answer .service-placeholder-tag { display: block; margin-top: 12px; }
.service-index {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
}
.service-name {
  font-weight: 550;
  font-size: clamp(18px, 1.75vw, 25px);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0;
}
.service-heading {
  min-width: 0;
}
.service-price {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.service-price strong {
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}
.service-detail {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.service-arrow {
  width: 36px;
  height: 36px;
  padding: 10px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue);
  transition:
    transform 0.3s var(--ease),
    background 0.2s;
}
@media (hover: hover) {
  details.service-row:hover {
    background: var(--procedure-hover);
    border-color: var(--line-hover);
  }
  details.service-row:hover .service-arrow {
    background: var(--blue-soft);
  }
}

/* Compact before-and-after comparison panel. */
.gallery { background: var(--canvas); }
.gallery .services-head { display: block; text-align: center; margin-bottom: 30px; }
.gallery .section-title { font-size: clamp(30px, 3.5vw, 44px); }
.gallery .section-intro { margin: 14px auto 0; max-width: 490px; font-size: 14px; }
.gallery-panel { max-width: 800px; margin-inline: auto; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 40px #00000008; }
.gallery-track { border-radius: 12px; outline-offset: 5px; }
.gallery-slide + .gallery-slide { margin-top: 24px; }
.gallery-ready .gallery-slide { margin-top: 0; animation: gallery-enter .36s var(--ease); }
.gallery-slide[hidden] { display: none; }
.gallery-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gallery-image { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.gallery-image img { display: block; width: 100%; height: auto; aspect-ratio: 573 / 561; object-fit: contain; border-radius: 12px; background: var(--surface); }
.gallery-image figcaption { order: -1; display: flex; align-items: center; gap: 8px; padding: 0 2px 12px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gallery-image figcaption::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.gallery-image:last-child figcaption { color: var(--ink); }
.gallery-image:last-child figcaption::before { background: var(--blue); }
.gallery-caption { padding-top: 12px; }
.gallery-caption h3 { margin: 0; font-size: 13px; color: var(--muted); }
.gallery-ready .gallery-caption { display: none; }
.gallery-controls { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.gallery-controls[hidden] { display: none; }
.gallery-status { grid-column: 1; grid-row: 1; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.gallery-arrow { height: 44px; border: 1px solid var(--line); border-radius: 50px; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-size: 12px; transition: background .2s, border-color .2s; }
.gallery-arrow { width: 44px; font-size: 20px; }
.gallery-arrow[data-gallery-step='-1'] { grid-column: 3; grid-row: 1; }
.gallery-arrow[data-gallery-step='1'] { grid-column: 4; grid-row: 1; }
.gallery-arrow:hover { background: var(--blue-soft); border-color: var(--line-hover); }
.gallery-dots { grid-column: 2; grid-row: 1; display: flex; margin-inline: 6px; }
.gallery-dots button { display: grid; place-items: center; width: 28px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.gallery-dots button::after { content: ''; width: 5px; height: 5px; border-radius: 10px; background: var(--muted); opacity: .45; transition: width .2s, opacity .2s; }
.gallery-dots button[aria-current]::after { width: 18px; background: var(--blue); opacity: 1; }
@keyframes gallery-enter { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .gallery-ready .gallery-slide { animation: none; } }
@media (max-width: 540px) {
  .gallery-panel { padding: 12px; border-radius: 18px; }
  .gallery-pair { gap: 8px; }
  .gallery-image img { border-radius: 8px; }
  .gallery-image figcaption { padding-bottom: 9px; font-size: 10px; }
  .gallery-controls { grid-template-columns: 1fr auto auto auto; gap: 6px; padding-top: 12px; margin-top: 12px; }
  .gallery-dots { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .gallery-arrow[data-gallery-step='-1'] { grid-column: 3; }
  .gallery-arrow[data-gallery-step='1'] { grid-column: 4; }
}
.nav-blog-link { display: inline-flex; gap: 6px; align-items: center; border: 1px solid #ffffff40; border-radius: 8px; padding: 9px 13px; margin-left: 8px; }
@media (min-width: 1000px) {
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .service-question { grid-template-columns: 22px minmax(0, 1fr) 28px; gap: 12px; padding: 18px 20px; min-height: 100px; }
  .service-name { font-size: 19px; line-height: 1.3; }
  .service-price { margin-top: 5px; }
  .service-arrow { width: 28px; height: 28px; padding: 7px; }
  .service-answer { padding: 0 20px 20px 54px; }
}
@media (max-width: 999px) {
  .service-list { gap: 8px; }
  .services .service-question { padding: 16px 18px; gap: 12px; }
  .services .service-name { font-size: 18px; }
  .service-price { margin-top: 5px; }
}
/* Alternate muted and plain section backgrounds in both themes. */
.faq {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.services .service-static .service-question {
  grid-template-columns: 22px minmax(0, 1fr);
  cursor: default;
}
.faq > .container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(35px, 7vw, 96px);
  align-items: start;
}
.faq-head {
  display: block;
  margin: 0;
}
.faq-head .section-intro {
  margin-top: 24px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  list-style: none;
  min-height: 76px;
  padding: 23px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-icon {
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  padding: 6px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}
.faq-item[open] .faq-question {
  color: var(--blue);
}
.faq-answer {
  padding: 0 38px 23px 0;
}
.faq-answer p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}


/* Consultations and clinical partners */
.offers {
  background: var(--canvas);
  border-top: 1px solid var(--line);
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 44px;
}
.offer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 34px;
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.offer:first-child {
  border-top: 3px solid var(--blue);
}
.offer-tag {
  display: inline-flex;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.offer h3 {
  font-size: 28px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 23px 0 18px;
}
.offer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  max-width: 440px;
}
.offer-price {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 58px;
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.offer-price small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
}
.offer:first-child .button-secondary {
  color: white;
  background: var(--action);
  border-color: var(--action);
}
.offer-muted .button-secondary:disabled {
  opacity: 0.75;
  cursor: default;
  transform: none;
}
@media (hover: hover) {
  .offer-muted .button-secondary:disabled:hover {
    border-color: var(--line);
    background: var(--surface);
    transform: none;
  }
}
.offer-list {
  list-style: none;
  padding: 0;
  margin: 23px 0 0;
  display: grid;
  gap: 13px;
}
.offer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.offer-list svg {
  color: var(--blue);
  flex-shrink: 0;
}
.partners {
  border-top: 1px solid var(--line);
}
.partners-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 8vw, 115px);
}
.partners-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 46px);
  background: var(--paper);
}
.partners-card > svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  background: var(--blue-soft);
  border-radius: 13px;
  stroke: var(--blue);
  margin-bottom: 23px;
}
.partners-card h3 {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.035em;
  margin: 0 0 17px;
}
.partners-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 25px;
}
.partner-points > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.partner-points strong {
  color: var(--blue);
  font-size: 10px;
  font-weight: 500;
}
.partners h2 em,
.contact h2 em {
  font-style: normal;
  color: var(--ink);
}
.partners-copy .section-intro {
  margin: 24px 0 27px;
}

/* Forms use the same fields on every device; 16px inputs avoid mobile zoom. */
.contact {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 8vw, 105px);
  align-items: start;
}
.contact .section-intro {
  margin-top: 25px;
}
.contact-detail {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.contact-detail > div {
  display: flex;
  gap: 13px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.contact-detail svg {
  color: var(--blue);
  flex-shrink: 0;
}
.contact-detail a:hover {
  color: var(--blue);
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(25px, 3.3vw, 42px);
  min-width: 0;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin-bottom: 21px;
}
.field label {
  font-size: 12px;
  color: var(--ink);
  font-weight: 550;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--input-line);
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--input);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--placeholder);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #245ee715;
  background: var(--surface);
}
.field select {
  padding-right: 32px;
  text-overflow: ellipsis;
  cursor: pointer;
}
.field textarea {
  min-height: 128px;
  resize: vertical;
}
.contact-form .button-primary {
  width: 100%;
}
.form-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin: 16px 0 0;
}
.form-note svg {
  display: inline-block;
  vertical-align: middle;
}
.form-error {
  color: var(--error);
  background: var(--error-surface);
  border: 1px solid var(--error-line);
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.7;
}
.form-success {
  background: var(--blue-soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  outline: none;
}
.form-success strong {
  display: block;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.form-success p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 15px 0 22px;
}
.honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.footer {
  background: var(--navy);
  color: white;
  padding-block: 46px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.footer-note {
  color: #bec6d2;
  font-size: 11px;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #d6dce6;
  font-size: 12px;
}
.footer-portal-link {
  color: inherit;
  font: inherit;
  min-height: 44px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-links a:hover,
.footer-portal-link:hover {
  color: white;
}
.footer-social-icons {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  width: 44px;
  min-height: 44px;
  justify-content: center;
  color: #d6dce6;
}
.footer-social-icon:hover {
  color: white;
}
.footer-social-icon svg {
  width: 18px;
  height: 18px;
  flex: none;
}
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 9px 12px;
  }
}

/* Native dialog supplies focus trapping and keyboard dismissal. */
.modal-backdrop {
  padding: 0;
  border: 0;
  border-radius: 24px;
  width: min(570px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 32px 110px #0d101760;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.modal-backdrop::-webkit-scrollbar { display: none; }
.modal-backdrop::backdrop {
  background: #0e1117b8;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-backdrop[open] {
  animation: dialog-in 0.35s var(--ease) both;
}
.modal-backdrop[open]::backdrop {
  animation: fade-in 0.2s both;
}
.modal {
  padding: clamp(25px, 4vw, 42px);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.modal-close:hover {
  background: var(--blue-soft);
}
.modal .eyebrow {
  padding-right: 32px;
}
.modal h2 {
  font-size: clamp(29px, 4vw, 37px);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 20px 0 15px;
}
#modal-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 14px;
}
#modal-form-note {
  padding: 11px 14px;
  background: var(--paper);
  border-radius: 9px;
  margin-bottom: 24px;
}
.modal .button-primary {
  width: 100%;
}
.modal .form-success {
  margin-top: 30px;
}
.contact-choice {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
.contact-choice legend {
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 10px;
}
.contact-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-choice-options label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--input-line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 13px;
}
.contact-choice-options label:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.contact-choice-options input { accent-color: var(--blue); }
#modal-whatsapp-field[hidden] { display: none; }
.modal-checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.modal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.modal-back-btn:hover {
  color: var(--ink);
}
.modal-checkout-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.promo-badge { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 2px 7px; border-radius: 999px; line-height: 1.4; vertical-align: middle; }
.hero-promo-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.hero-promo-note strong { color: var(--ink); font-weight: 600; }
.offer-promo-tag { display: inline-flex; align-items: center; margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 2px 8px; border-radius: 999px; vertical-align: middle; letter-spacing: normal; white-space: nowrap; }
.modal-promo-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.4; text-align: center; }
.modal-promo-note strong { color: var(--ink); font-weight: 600; }
.checkout-promo-tip { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--blue-soft); color: var(--ink); font-size: 12px; line-height: 1.4; }
.checkout-promo-tip strong { color: var(--blue); font-weight: 600; }
#checkout-mount {
  min-height: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
}
.checkout-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}
.checkout-spinner {
  width: 26px;
  height: 26px;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Progressive motion: only offscreen elements are initially hidden by JS. */
[data-reveal] {
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(12px);
}
[data-reveal]:focus-within {
  opacity: 1;
  transform: none;
}
.hero-content > *,
.care-map {
  animation: fade-up 0.6s var(--ease) both;
}
.hero h1 {
  animation-delay: 50ms;
}
.hero-copy {
  animation-delay: 100ms;
}
.hero-actions {
  animation-delay: 150ms;
}
.hero-people {
  animation-delay: 200ms;
}
.care-map {
  animation-delay: 140ms;
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .nav-inner {
    min-height: 74px;
  }
  .menu-button {
    display: grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    padding: 14px;
    gap: 0;
    border: 1px solid #ffffff26;
    border-radius: 18px;
    box-shadow: 0 18px 48px #10131960;
    background: #222731;
    max-height: calc(100dvh - 125px);
    overflow-y: auto;
  }
  .nav-links.is-open {
    display: grid;
    animation: fade-up 0.2s var(--ease);
  }
  .nav-link {
    padding: 11px 14px;
    font-size: 15px;
    min-height: 48px;
    border-radius: 9px;
    white-space: normal;
  }
  .nav-link:hover,
  .nav-link[aria-current="location"] {
    background: #2d3644;
  }
  .nav-link[aria-current="location"]::after {
    display: none;
  }
  .nav-cta {
    margin: 10px 0 0;
    min-height: 48px;
    font-size: 14px;
  }
  .hero-grid {
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(46px, 6vw, 64px);
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 330px;
  }
  .care-map {
    padding: 30px;
  }
  .service-question {
    grid-template-columns: 27px minmax(0, 1fr) 32px;
    gap: 18px;
    padding: 24px;
  }
  .footer-note {
    order: 3;
    flex-basis: 100%;
    border-top: 1px solid #ffffff1f;
    padding-top: 24px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 88px;
  }
  .topbar-inner {
    justify-content: space-between;
    gap: 8px;
  }
  .parent-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 10px;
    line-height: 1.2;
  }
  .parent-brand img {
    width: 120px;
  }
  .topbar-right {
    gap: 6px;
  }
  .nav-inner {
    min-height: 70px;
  }
  .logo-mark {
    font-size: 23px;
  }
  .hero {
    padding: 48px 0;
  }
  .hero-grid,
  .about-grid,
  .journey-grid,
  .partners-grid,
  .contact-grid,
  .faq > .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hero h1 {
    font-size: clamp(46px, 8vw, 65px);
    max-width: 610px;
  }
  .hero-content {
    max-width: 610px;
  }
  .hero-kicker {
    font-size: 10px;
    margin-bottom: 21px;
  }
  .hero-copy {
    margin-bottom: 25px;
  }
  .hero-actions {
    flex-direction: row;
    max-width: none;
  }
  .hero-people {
    margin-top: 27px;
  }
  .care-map {
    padding: 30px;
    border-radius: 22px;
    box-shadow: none;
  }
  .care-map h2 {
    font-size: 32px;
  }
  .care-map h2 br {
    display: none;
  }
  .care-map-heading {
    margin-bottom: 20px;
  }
  .care-map-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .care-map-steps li {
    display: block;
    padding: 0;
  }
  .care-map-steps li:not(:last-child)::after {
    top: 21px;
    left: 43px;
    right: -20px;
    bottom: auto;
    height: 1px;
    width: auto;
  }
  .care-map-number {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
  }
  .care-map-steps h3 {
    font-size: 14px;
  }
  .care-map-steps p {
    font-size: 11px;
  }
  .care-map-footer {
    margin-top: 24px;
    padding-top: 18px;
  }
  .signal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-block: 22px;
  }
  .signal-stages {
    gap: 20px;
  }
  .signal-stages span + span::before {
    margin-right: 20px;
  }
  .team-head,
  .services-head {
    display: block;
    margin-bottom: 32px;
  }
  .team-head .section-intro,
  .services-head .section-intro {
    margin-top: 22px;
    max-width: 570px;
  }
  .team-grid {
    gap: 20px;
  }
  .team-card-body {
    padding: 23px;
  }
  .team-card h3 {
    font-size: 25px;
  }
  .service-question {
    grid-template-columns: 24px minmax(0, 1fr) 32px;
    gap: 12px 15px;
    padding: 23px 20px;
  }
  .service-name {
    font-size: 21px;
  }
  .service-answer { padding: 0 20px 24px 59px; }
  .service-arrow {
    grid-column: 3;
    grid-row: 1;
    width: 32px;
    height: 32px;
    padding: 8px;
  }
  .journey-steps {
    padding-top: 10px;
  }
  .faq-question {
    font-size: 15px;
  }
  .faq > .container {
    gap: 28px;
  }
  .offers-grid {
    gap: 20px;
  }
  .offer {
    padding: 26px;
  }
  .offer h3 {
    font-size: 25px;
  }
  .partners-copy {
    grid-row: 1;
  }
  .contact-detail {
    margin-top: 25px;
  }
  .footer-note {
    width: 100%;
    flex-basis: auto;
  }
}
@media (max-width: 540px) {
  :root {
    --gutter: 20px;
    --section-space: 48px;
  }
  .section-title,
  .about-quote,
  .journey h2,
  .partners h2,
  .contact h2 {
    font-size: clamp(34px, 8.5vw, 44px);
  }
  .hero h1 {
    font-size: clamp(43px, 11.5vw, 60px);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions > * {
    width: 100%;
  }
  .hero-people p {
    font-size: 11px;
  }
  .care-map {
    padding: 26px;
  }
  .care-map h2 {
    font-size: 28px;
  }
  .care-map-steps {
    display: block;
  }
  .care-map-steps li {
    display: flex;
    gap: 14px;
    padding-bottom: 20px;
  }
  .care-map-steps li:last-child {
    padding-bottom: 0;
  }
  .care-map-steps li:not(:last-child)::after {
    left: 19px;
    right: auto;
    top: 40px;
    bottom: 0;
    height: auto;
    width: 1px;
  }
  .care-map-number {
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 12px;
  }
  .care-map-steps p {
    font-size: 11px;
  }
  .care-map-intro {
    margin-bottom: 24px;
  }
  .team-grid,
  .offers-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .team-photo {
    aspect-ratio: 1.2;
    max-height: 390px;
  }
  .team-card-body {
    padding: 26px;
  }
  .story-points {
    gap: 24px 22px;
  }
  .journey-step {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 17px;
    padding-bottom: 30px;
  }
  .journey-number {
    width: 43px;
    height: 43px;
  }
  .journey-step:not(:last-child)::after {
    left: 21px;
    top: 43px;
  }
  .journey-step h3 {
    font-size: 18px;
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .contact-form {
    padding: 24px;
  }
  .contact h2 br {
    display: none;
  }
  .modal-backdrop {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 20px;
  }
  .modal {
    padding: 27px 23px;
  }
  .modal .eyebrow {
    font-size: 9px;
  }
  .offer .button-secondary {
    width: 100%;
  }
  .offer > div {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal].reveal-pending {
    opacity: 1;
    transform: none;
  }
}

/* Full photographs remain uncropped in the enlarged gallery view. */
.gallery-zoom { display: block; border-radius: 12px; cursor: zoom-in; }
.gallery-zoom:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.gallery-lightbox { box-sizing: border-box; width: fit-content; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); }
.gallery-lightbox::backdrop { background: rgb(0 0 0 / 80%); }
.gallery-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.gallery-lightbox-bar p { margin: 0; font-size: 14px; }
.gallery-zoom-close { flex-shrink: 0; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2, var(--surface)); color: var(--ink); cursor: pointer; }
.gallery-zoom-image { display: block; width: auto; height: auto; max-width: min(1100px, calc(100vw - 58px)); max-height: calc(100dvh - 116px); margin: auto; object-fit: contain; border-radius: 8px; }

/* Short, consistent feedback without moving the surrounding layout. */
.gallery-lightbox[open] { animation: zoom-in 300ms var(--ease) both; }
.gallery-lightbox[open]::backdrop { animation: fade-in 240ms ease-out both; }
.gallery-lightbox.is-closing { animation: zoom-out 180ms ease-in both; }
.gallery-lightbox.is-closing::backdrop { animation: fade-in 180ms ease-in reverse both; }
.gallery-zoom { transition: box-shadow 220ms var(--ease), transform 220ms var(--ease); }
.gallery-zoom-close, .gallery-arrow { transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease); }
.gallery-zoom-close:active, .gallery-arrow:active, .button-primary:active, .button-secondary:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .gallery-zoom:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(0 0 0 / 15%); }
  .gallery-zoom-close:hover { background: var(--line); }
}
@keyframes zoom-in {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes zoom-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(6px) scale(.98); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-lightbox[open], .gallery-lightbox[open]::backdrop { animation: none; }
  .gallery-zoom:hover, .gallery-zoom-close:active, .gallery-arrow:active, .button-primary:active, .button-secondary:active { transform: none; }
}

/* Native scrollbar styling keeps touch and keyboard scrolling intact. */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb { background: var(--line-hover); border: 3px solid var(--canvas); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
.service-inclusions-title { margin: 18px 0 8px; font-size: 13px; font-weight: 600; }
.service-inclusions { padding-left: 19px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.service-inclusions li + li { margin-top: 4px; }
.service-inclusions li::marker { color: var(--blue); }
.faq-question { transition: color 180ms ease; }
.service-contact { transition: color 180ms ease, gap 180ms var(--ease); }
@media (hover: hover) {
  .service-contact:hover { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-contact, .faq-question { transition: none; }
}

/* Touch interactions avoid background blurs and animated paint effects. */
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .nav { background: #191d24; backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
  .modal-backdrop::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-cta, .button-primary, .button-secondary, .menu-button,
  .gallery-arrow, .gallery-zoom-close, .gallery-zoom {
    transition: transform 140ms cubic-bezier(.2,.8,.2,1);
  }
  .service-row, .team-card { transition: none; }
  .service-arrow, .faq-icon { transition: transform 180ms cubic-bezier(.2,.8,.2,1); }
  .nav-cta:active, .menu-button:active { transform: scale(.97); }
  .gallery-lightbox[open], .modal-backdrop[open] { animation-duration: 200ms; }
  .gallery-ready .gallery-slide { animation-duration: 200ms; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta:active, .menu-button:active, .gallery-zoom-close:active,
  .gallery-arrow:active, .button-primary:active, .button-secondary:active { transform: none; }
}

/* Consultation is the primary path; general enquiries live on /contact. */
.contact-copy .section-intro { margin-top: 25px; }
.consultation-fine-print { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 22px 0 0; max-width: 430px; }
.consultation-card { min-width: 0; padding: clamp(26px, 3.3vw, 42px); background: var(--consultation-surface, var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); }
.consultation-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin: 12px 0 16px; }
.consultation-card h3 { font-size: clamp(24px, 2.7vw, 34px); font-weight: 550; letter-spacing: -.04em; line-height: 1.2; margin: 0; max-width: 300px; }
.consultation-card-heading strong { color: var(--blue); font-size: 22px; white-space: nowrap; }
.consultation-fee-note { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 15px; max-width: 460px; }
.consultation-fee-note strong { color: var(--ink); font-weight: 700; }
.consultation-steps { list-style: none; margin: 0 0 18px; padding: 0; }
.consultation-steps li { display: flex; align-items: baseline; gap: 16px; border-top: 1px solid var(--line); padding: 10px 0; color: var(--ink); font-size: 13px; }
.consultation-steps li span { color: var(--blue); font-size: 11px; font-weight: 700; }
.consultation-card > .button-primary { width: 100%; }
.consultation-general-link { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 16px 0 0; text-align: center; }
.consultation-general-link a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.contact-page-main { min-height: calc(100dvh - 230px); padding: clamp(50px, 7vw, 90px) 0; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 100px); align-items: start; }
.contact-page-copy h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 550; margin: 20px 0 24px; }
.contact-page-copy > p { color: var(--muted); line-height: 1.8; max-width: 520px; }
.contact-page-feature { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 26px; }
.contact-page-feature strong { display: block; font-size: 16px; margin-bottom: 8px; }
.contact-page-feature p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 450px; }
.contact-page-feature .button-secondary { margin-top: 8px; }
.contact-page-form h2 { font-size: 23px; letter-spacing: -.035em; margin-bottom: 6px; }
.contact-page-form > p { color: var(--muted); font-size: 13px; margin-bottom: 25px; }
.contact-page-form select { width: 100%; border: 1px solid var(--input-line); border-radius: 10px; padding: 13px 14px; background: var(--input); color: var(--ink); font-size: 16px; line-height: 1.5; }
.contact-page-form select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px #245ee715; }
.contact-page-form textarea { min-height: 150px; }
.contact-page-form .button-primary { width: 100%; }
.contact-page-acknowledgement { display: flex; gap: 10px; align-items: start; color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0 0 21px; }
.contact-page-acknowledgement input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--blue); }
.contact-page-nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.contact-page-nav-actions .button-primary { min-height: 44px; padding: 10px 15px; font-size: 12px; }
.contact-page-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.contact-page-footer-inner nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; }
.contact-page-footer-inner nav a:hover { text-decoration: underline; }
@media (max-width: 800px) {
  .contact-page-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-page-copy h1 { max-width: 650px; }
}
@media (max-width: 580px) {
  .contact-page-nav-actions .button-primary { max-width: 150px; padding: 9px 11px; }
  .contact-page-nav-actions { gap: 8px; }
  .contact-page-footer-inner { align-items: start; }
}
