:root {
  --ink: #07111f;
  --muted: #536174;
  --line: #d9e4f2;
  --paper: #ffffff;
  --soft: #f4f8fd;
  --blue: #0d47a1;
  --cyan: #0aa6bd;
  --black: #05070b;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, auto) 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  min-height: 70px;
  padding: 6px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 228, 234, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.logo-button {
  padding: 4px;
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.logo-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.12);
}

.logo-button:focus-visible,
.main-nav a:focus-visible,
.header-action:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.inline-actions a:focus-visible,
.contact-actions a:focus-visible,
.whatsapp-float:focus-visible {
  outline: 3px solid rgba(13, 71, 161, 0.22);
  outline-offset: 4px;
}

.brand-logo {
  width: clamp(180px, 20vw, 250px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 1.45rem;
  font-weight: 800;
}

.brand strong {
  display: block;
  color: var(--blue);
  font-size: 1.35rem;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 22px);
  color: #314052;
  font-size: 0.92rem;
  font-weight: 720;
}

.main-nav a,
.text-link {
  position: relative;
}

.nav-call {
  display: none;
}

.main-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.header-action,
.primary-button,
.secondary-button,
.inline-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.whatsapp-action {
  gap: 8px;
}

.whatsapp-action svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.header-action,
.primary-button {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.2);
}

.header-action:hover,
.primary-button:hover {
  background: #083b8d;
}

.secondary-button {
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.82), rgba(13, 71, 161, 0.5) 54%, rgba(5, 7, 11, 0.12)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-clean .hero {
  background: #f6f9ff;
}

.hero-clean .hero-media {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.9) 47%, rgba(255, 255, 255, 0.42)),
    url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=1800&q=82") center right / cover;
}

.hero-clean .hero-content {
  color: var(--ink);
}

.hero-clean .hero h1 {
  color: var(--ink);
}

.hero .hero-welcome {
  color: var(--blue);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 950;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
}

.hero-clean .hero p:not(.eyebrow) {
  color: #2e3a4d;
}

.hero-clean .hero .secondary-button {
  border-color: #b7c9e8;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.1);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18svh 0 11svh;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.55rem, 7vw, 5.9rem);
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.section {
  min-height: calc(100svh - 76px);
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 58px);
}

.hero,
main > section,
.site-footer {
  scroll-snap-align: start;
  scroll-margin-top: 76px;
}

.services,
.dentist,
.consultation,
.appointment,
.doctors,
.why {
  scroll-snap-align: none;
}

.section-copy {
  max-width: 680px;
}

.section-copy.centered {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section h2 {
  font-size: clamp(2rem, 4.5vw, 4.25rem);
}

.section h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.intro,
.about-preview,
.feature,
.support,
.dentist,
.care-split,
.appointment,
.contact-directions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.intro-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.locations,
.consultation,
.appointment {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  background: var(--soft);
}

.location-visual img,
.consultation-image img,
.feature img,
.care-split img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.location-panel,
.consultation-form {
  align-self: center;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.location-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.location-list article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.location-list p {
  color: var(--muted);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-actions a {
  min-height: 40px;
  color: var(--blue);
  background: #eef5ff;
}

.service-grid,
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-info-card {
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-info-card:hover,
.service-info-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(7, 17, 31, 0.16);
  outline: 3px solid rgba(13, 71, 161, 0.16);
  outline-offset: 3px;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card h3 {
  padding: 18px 20px 0;
}

.service-card p {
  margin: 0;
  padding: 10px 20px 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.feature {
  background: #f7faff;
}

.program {
  background: var(--white);
}

.program .section-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 34px auto 0;
}

.program-grid article {
  min-height: 180px;
  padding: 24px;
  border-top: 6px solid var(--blue);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(33, 61, 79, 0.08);
}

.program-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.dentist {
  background: #f1f6ff;
}

.care-split {
  background: var(--white);
}

.pediatric-band {
  background: var(--soft);
}

#dental img {
  object-fit: cover;
  background: var(--white);
}

.care-copy p,
.appointment-copy p,
.directions-panel p,
.feedback p {
  max-width: 640px;
  color: var(--muted);
}

.mini-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.mini-service-list span {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 750;
}

.why {
  background: var(--white);
}

.why-grid,
.appointment-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-grid article,
.appointment-options span {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(7, 17, 31, 0.08);
}

.why-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.doctors {
  background: #f7faff;
}

.doctor-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 8px 4px 18px;
  scroll-snap-type: x proximity;
}

.doctor-card {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.doctor-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.doctor-space {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(13, 71, 161, 0.08), rgba(10, 166, 189, 0.08)),
    #f4f8fd;
}

.doctor-space::before {
  content: "Doctor photo coming soon";
  color: var(--muted);
  font-weight: 800;
}

.doctor-card h3 {
  margin: 0;
  padding: 18px 20px 0;
}

.doctor-card p {
  margin: 0;
  padding: 10px 20px 22px;
  color: var(--muted);
}

.appointment-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.appointment-options span {
  display: flex;
  align-items: center;
  min-height: 62px;
  border-left: 5px solid var(--blue);
  font-weight: 850;
}

.feedback {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background: var(--soft);
}

.dentist-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.dental-points {
  margin-top: 24px;
}

.feature p {
  max-width: 620px;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 800;
}

.consultation-form {
  display: grid;
  gap: 15px;
}

.consultation-form label {
  display: grid;
  gap: 7px;
  color: #405066;
  font-size: 0.95rem;
  font-weight: 700;
}

.consultation-form .conditional-field[hidden],
.consultation-form .conditional-field.is-hidden {
  display: none !important;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  min-height: 48px;
  width: 100%;
  padding: 10px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  font: inherit;
}

.consultation-form textarea {
  resize: vertical;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  outline: 3px solid rgba(13, 71, 161, 0.16);
  border-color: var(--blue);
}

.hidden {
  display: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.success-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--blue);
  background: #eef5ff;
  font-weight: 800;
}

.success-popup {
  position: fixed;
  right: clamp(16px, 4vw, 42px);
  bottom: clamp(16px, 4vw, 42px);
  z-index: 60;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid #c8d8f0;
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(7, 17, 31, 0.22);
}

.success-popup strong {
  color: var(--blue);
  font-size: 1.02rem;
}

.success-popup span {
  color: var(--muted);
}

.success-popup button {
  justify-self: start;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.service-popup {
  border-left-color: var(--cyan);
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pill-grid span {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 18px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(33, 61, 79, 0.08);
  font-weight: 800;
}

.diagnostics {
  background: var(--soft);
}

.diagnostic-grid article {
  min-height: 158px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(33, 61, 79, 0.08);
}

.diagnostic-grid span {
  display: block;
  margin-bottom: 32px;
  color: var(--blue);
  font-weight: 900;
}

.site-footer {
  scroll-margin-top: 92px;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 30px;
  padding: 54px clamp(18px, 4vw, 58px) 28px;
  color: #dbeaf0;
  background: var(--black);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.site-footer p {
  margin: 12px 0 0;
  color: #b9cbd3;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small {
  color: #b9cbd3;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.contact-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  text-align: center;
}

.contact-actions a:first-child {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.contact-directions {
  background: var(--black);
  color: var(--white);
}

.contact-directions h2,
.contact-directions .eyebrow {
  color: var(--white);
}

.contact-panel,
.directions-panel {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.directions-panel p {
  color: #dbeaf0;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 42px rgba(7, 17, 31, 0.24);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    max-height: calc(100svh - 70px);
    overflow: auto;
    padding: 18px clamp(18px, 5vw, 42px) 22px;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    box-shadow: 0 22px 46px rgba(7, 17, 31, 0.16);
  }

  .main-nav.is-open {
    display: grid;
    gap: 12px;
  }

  .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:hover {
    background: #eef5ff;
  }

  .nav-call {
    justify-content: center;
    color: var(--white);
    background: var(--blue);
    border-radius: 8px;
    font-weight: 800;
  }

  .header-action {
    display: none;
  }

  .intro,
  .about-preview,
  .locations,
  .feature,
  .consultation,
  .support,
  .dentist,
  .care-split,
  .appointment,
  .contact-directions,
  .feedback {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .diagnostic-grid,
  .program-grid,
  .why-grid,
  .appointment-options,
  .mini-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 80px;
  }

  .site-header {
    min-height: 70px;
    padding-inline: 14px;
  }

  .main-nav {
    top: 70px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo {
    width: 150px;
  }

  .brand strong {
    font-size: 1.16rem;
  }

  .brand small {
    max-width: 150px;
    font-size: 0.62rem;
  }

  .hero {
    min-height: calc(100svh - 70px);
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(5, 7, 11, 0.5), rgba(5, 7, 11, 0.86)),
      url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1000&q=82") center / cover;
  }

  .hero-clean .hero-media {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
      url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=1000&q=82") center / cover;
  }

  .hero-content {
    padding: 16svh 0 8svh;
  }

  .hero-actions,
  .inline-actions {
    display: grid;
  }

  .service-grid,
  .diagnostic-grid,
  .program-grid,
  .why-grid,
  .appointment-options,
  .mini-service-list,
  .pill-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .detailed-services {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(86vw, 86vw);
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .detailed-services .service-card {
    scroll-snap-align: center;
  }

  .location-visual img,
  .consultation-image img,
  .feature img,
  .care-split img {
    min-height: 280px;
  }

  .location-panel,
  .consultation-form,
  .contact-panel,
  .directions-panel,
  .feedback .section-copy {
    padding: 24px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
  }
}

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

/* Refined visual system */
:root {
  --ink: #10233f;
  --muted: #607089;
  --line: #dfe8f3;
  --soft: #f5f8fc;
  --blue: #1558b0;
  --cyan: #18a9b8;
  --shadow: 0 18px 50px rgba(20, 52, 91, 0.1);
  --shadow-soft: 0 8px 28px rgba(20, 52, 91, 0.08);
}

html {
  scroll-snap-type: none;
}

body {
  overflow-x: hidden;
  background: #fff;
  font-size: 16px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 76px;
  padding-inline: max(20px, calc((100vw - 1240px) / 2));
  border-bottom-color: rgba(16, 35, 63, 0.08);
  box-shadow: 0 3px 18px rgba(16, 35, 63, 0.04);
}

.brand-logo {
  width: clamp(164px, 17vw, 220px);
}

.main-nav {
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.9rem;
}

.main-nav a {
  padding-block: 10px;
}

.main-nav a.is-active {
  color: var(--blue);
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-action,
.primary-button,
.secondary-button,
.inline-actions a {
  min-height: 48px;
  border-radius: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: min(760px, calc(100svh - 76px));
  align-items: center;
}

.hero-clean .hero-media {
  background:
    linear-gradient(90deg, #f8fbff 3%, rgba(248, 251, 255, 0.96) 38%, rgba(248, 251, 255, 0.58) 67%, rgba(248, 251, 255, 0.18)),
    url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=1800&q=84") center right / cover;
}

.hero-content {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(86px, 11vw, 140px) max(20px, calc((100vw - 1240px) / 2));
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: var(--blue);
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  line-height: 1.7;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: #465975;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-trust span::before {
  margin-right: 8px;
  color: var(--cyan);
  content: "✓";
}

.section {
  min-height: 0;
  padding: clamp(76px, 8vw, 112px) max(20px, calc((100vw - 1200px) / 2));
}

.hero,
main > section,
.site-footer {
  scroll-snap-align: none;
}

.section h2 {
  max-width: 800px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  letter-spacing: -0.035em;
}

.section-copy.centered {
  margin-bottom: 46px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.about-preview {
  min-height: 410px;
}

.intro-text {
  max-width: 620px;
  font-size: 1.08rem;
}

.service-grid {
  gap: 24px;
}

.service-card,
.doctor-card,
.why-grid article,
.appointment-options span {
  border: 1px solid rgba(16, 35, 63, 0.07);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.service-card img {
  aspect-ratio: 16 / 10;
}

.service-card h3 {
  padding: 22px 22px 0;
}

.service-card p {
  padding: 10px 22px 26px;
}

.service-info-card:hover,
.service-info-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.care-split {
  gap: clamp(42px, 7vw, 90px);
}

.location-visual img,
.consultation-image img,
.feature img,
.care-split img {
  border-radius: 22px;
}

.mini-service-list span {
  position: relative;
  padding: 12px 14px 12px 34px;
  border: 0;
  border-radius: 10px;
  background: #f6f9fd;
  font-size: 0.9rem;
}

.mini-service-list span::before {
  position: absolute;
  left: 14px;
  color: var(--cyan);
  content: "•";
}

.why {
  background: #fff;
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.why-grid article {
  padding: 26px;
}

.doctors {
  background: var(--soft);
}

.doctor-space {
  aspect-ratio: 16 / 10;
}

.appointment,
.feedback {
  gap: clamp(40px, 7vw, 88px);
}

.location-panel,
.consultation-form {
  border: 1px solid rgba(16, 35, 63, 0.07);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.consultation-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.consultation-form label:has(textarea),
.consultation-form button,
.consultation-form .form-note,
.consultation-form .success-message,
.consultation-form .hidden {
  grid-column: 1 / -1;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  min-height: 52px;
  border-radius: 10px;
  background: #fff;
}

.consultation-form button {
  width: 100%;
}

.consultation-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 750;
}

.form-status--success {
  color: #12613c;
  background: #eaf8f0;
  border: 1px solid #bce8cf;
}

.form-status--error {
  color: #9d2c2c;
  background: #fff0f0;
  border: 1px solid #f1c7c7;
}

.feedback .consultation-form {
  grid-template-columns: 1fr;
}

.feedback .consultation-form > * {
  grid-column: 1;
}

.contact-directions {
  background: #10233f;
}

.contact-panel,
.directions-panel {
  border-radius: 20px;
}

.site-footer {
  display: block;
  padding: 28px max(20px, calc((100vw - 1200px) / 2));
  text-align: center;
  background: #09162a;
}

.copyright {
  padding-top: 0;
  border: 0;
}

@media (max-width: 1120px) {
  .site-header {
    padding-inline: max(20px, calc((100vw - 920px) / 2));
  }

  .main-nav a {
    padding-inline: 14px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 680px;
  }

  .hero-clean .hero-media {
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.94) 0%, rgba(248, 251, 255, 0.88) 55%, rgba(248, 251, 255, 0.72)),
      url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=1000&q=82") 62% center / cover;
  }

  .hero-content {
    padding: 80px 20px 56px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-trust {
    display: grid;
    gap: 8px;
  }

  .section {
    padding-block: 68px;
  }

  .section h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .why-grid,
  .consultation-form {
    grid-template-columns: 1fr;
  }

  .consultation-form > * {
    grid-column: 1;
  }

  .detailed-services {
    grid-auto-columns: 88%;
  }

  .location-panel,
  .consultation-form,
  .contact-panel,
  .directions-panel,
  .feedback .section-copy {
    padding: 24px 20px;
  }
}
