:root {
  --bg: #f3f8f7;
  --surface: #ffffff;
  --surface-strong: #eef5f3;
  --text: #15363a;
  --text-soft: #527074;
  --primary: #1f6a6b;
  --primary-deep: #174f50;
  --line: rgba(21, 54, 58, 0.12);
  --accent: #d6b67f;
  --shadow: 0 12px 26px rgba(26, 76, 77, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --font-display: 'Literata', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(214, 182, 127, 0.18), transparent 30%),
    linear-gradient(180deg, #f8fbfa 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  min-width: 0;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.hero__grid > *,
.hero__slot-row > *,
.trust-band__grid > *,
.cards > *,
.process__grid > *,
.reviews__grid > *,
.booking__shell > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 251, 250, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(248, 251, 250, 0.94);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #3e8f8f);
  color: #f8fbfa;
  font-weight: 700;
}

.brand__text {
  display: grid;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.brand__text strong {
  font-size: 1rem;
  color: var(--text);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: color 200ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.booking-form__hint a,
.panel-cta:hover {
  color: var(--primary);
}

.header-cta,
.btn,
.panel-cta,
.mobile-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  max-width: 100%;
  padding-inline: 20px;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.header-cta,
.btn--primary,
.panel-cta,
.mobile-actions a:last-child {
  background: var(--primary);
  color: #f7fbfb;
  box-shadow: 0 8px 18px rgba(31, 106, 107, 0.16);
}

.header-cta {
  flex-shrink: 0;
}

.btn:hover,
.header-cta:hover,
.panel-cta:hover,
.mobile-actions a:hover {
  transform: translateY(-2px);
}

.btn--secondary {
  background: rgba(31, 106, 107, 0.08);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 44px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.hero__content,
.hero__panel,
.service-card,
.doctor-card,
.process__step,
.review-card,
.booking__shell,
.trust-band__grid article,
.faq__list details {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(21, 54, 58, 0.08);
}

.hero__content {
  padding: clamp(28px, 4vw, 54px);
  border-radius: 36px;
  position: relative;
  overflow: hidden;
}

.hero__content::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(214, 182, 127, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(31, 106, 107, 0.05), transparent);
  pointer-events: none;
}

.hero__content,
.hero__panel,
.trust-band__grid article,
.service-card,
.doctor-card__body,
.process__step,
.review-card,
.booking__content,
.faq__list details {
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

.hero h1,
.section__intro h2,
.booking__content h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 11ch;
  margin-inline: auto;
}

.hero__lede,
.section__intro p,
.booking__content p {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}

.hero__lede {
  max-width: 56ch;
  margin: 18px auto 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
  justify-content: center;
}

.hero__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero__meta li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--text-soft);
}

.hero__meta strong {
  color: var(--text);
}

.hero__panel {
  border-radius: 30px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero__panel-label {
  margin: 0 0 16px;
  font-size: 0.84rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__slot-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.hero__slot-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.hero__slot-time,
.hero__slot-copy {
  display: block;
}

.hero__slot-time {
  font-size: 1.18rem;
  font-weight: 700;
}

.hero__slot-copy {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.hero__slot-badge {
  flex-shrink: 0;
  align-self: start;
  border-radius: 999px;
  background: rgba(31, 106, 107, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 12px;
}

.hero__slot-badge--soft {
  background: rgba(214, 182, 127, 0.18);
  color: #88652d;
}

.hero__assurance {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero__assurance h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.hero__assurance ul,
.booking__notes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-soft);
  width: min(100%, 32rem);
  margin-inline: auto;
  text-align: left;
}

.hero__assurance li,
.booking__notes li {
  padding-left: 18px;
  position: relative;
  overflow-wrap: anywhere;
}

.hero__assurance li::before,
.booking__notes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.panel-cta {
  width: 100%;
  margin-top: 22px;
  padding-block: 14px;
}

.trust-band {
  padding: 10px 0 12px;
}

.trust-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-band__grid article {
  border-radius: 22px;
  padding: 20px 22px;
}

.trust-band__grid span,
.doctor-card__role {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.trust-band__grid strong {
  font-size: 1rem;
  line-height: 1.45;
}

.section {
  padding: clamp(68px, 9vw, 110px) 0;
}

.section--muted {
  background: rgba(233, 242, 239, 0.7);
}

.section__intro {
  max-width: 700px;
  margin: 0 auto 34px;
  text-align: center;
}

.section__intro h2,
.booking__content h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.section__intro p,
.booking__content p {
  margin: 14px 0 0;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards--services {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.process__step,
.review-card,
.faq__list details {
  border-radius: 24px;
  padding: 22px;
}

.service-card__number {
  margin: 0 0 16px;
  color: var(--accent);
  font-weight: 700;
}

.service-card h3,
.doctor-card h3,
.process__step h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.service-card p,
.doctor-card p,
.process__step p,
.review-card p,
.faq__list p {
  margin: 0;
  color: var(--text-soft);
}

.service-card span {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 106, 107, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.cards--doctors {
  grid-template-columns: repeat(2, 1fr);
}

.doctor-card {
  overflow: hidden;
  border-radius: 28px;
}

.doctor-card img {
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
}

.doctor-card__body {
  padding: 22px;
}

@media (min-width: 961px) {
  .cards--doctors {
    align-items: start;
  }

  .doctor-card {
    display: grid;
    grid-template-columns: minmax(200px, 230px) minmax(0, 1fr);
  }

  .doctor-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .doctor-card__body {
    padding: 24px 24px 22px;
  }
}

.doctor-card ul {
  margin: 18px auto 0;
  padding-left: 18px;
  color: var(--text-soft);
  width: fit-content;
  max-width: 100%;
  text-align: left;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process__step span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(31, 106, 107, 0.1);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 18px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.review-card--featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 248, 246, 0.95));
}

.review-card p {
  font-size: 1.02rem;
}

.review-card footer {
  margin-top: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--text-soft);
  justify-items: center;
}

.faq {
  display: grid;
  gap: 22px;
}

.faq__list {
  display: grid;
  gap: 14px;
}

.faq__list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--primary);
  font-size: 1.2rem;
}

.faq__list details[open] summary::after {
  content: '-';
}

.faq__list p {
  margin-top: 12px;
}

.booking__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 26px;
  border-radius: 32px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.booking-form {
  display: grid;
  gap: 14px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdfd;
  padding: 14px 16px;
  color: var(--text);
}

.booking-form textarea {
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid rgba(31, 106, 107, 0.18);
  border-color: rgba(31, 106, 107, 0.3);
}

.booking-form__hint {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.mobile-actions {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  border-radius: 24px;
  background: rgba(248, 251, 250, 0.98);
  box-shadow: 0 12px 24px rgba(21, 54, 58, 0.14);
  border: 1px solid rgba(21, 54, 58, 0.08);
}

@supports (content-visibility: auto) {
  .trust-band,
  .section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 780px;
  }
}

.delay-40 {
  --delay: 40ms;
}

.delay-70 {
  --delay: 70ms;
}

.delay-80 {
  --delay: 80ms;
}

.delay-90 {
  --delay: 90ms;
}

.delay-120 {
  --delay: 120ms;
}

.delay-140 {
  --delay: 140ms;
}

.delay-160 {
  --delay: 160ms;
}

.mobile-actions a {
  background: rgba(31, 106, 107, 0.08);
  color: var(--primary);
  min-width: 0;
  padding-inline: 12px;
  font-size: 0.84rem;
}

.mobile-actions a:last-child {
  color: #f8fbfa;
  grid-column: 1 / -1;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 640ms var(--ease),
    transform 640ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

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

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 960px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 16px auto;
    margin: 0;
    padding: 20px;
    border-radius: 24px;
    background: rgba(248, 251, 250, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero__grid,
  .booking__shell,
  .process__grid,
  .trust-band__grid,
  .cards--services,
  .cards--doctors,
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .mobile-actions {
    display: grid;
  }

  body {
    padding-bottom: 148px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero {
    padding-top: 24px;
  }

  .hero__content,
  .hero__panel,
  .booking__shell,
  .service-card,
  .process__step,
  .review-card,
  .faq__list details,
  .trust-band__grid article {
    border-radius: 22px;
  }

  .hero__content,
  .hero__panel,
  .booking__shell {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding-inline: 0;
  }

  .hero__panel {
    padding-block: 18px 0;
    border-top: 1px solid var(--line);
  }

  .hero__meta,
  .trust-band__grid,
  .cards--services,
  .cards--doctors,
  .process__grid,
  .reviews__grid,
  .faq__list {
    gap: 0;
  }

  .hero__meta {
    margin-top: 10px;
    border-top: 1px solid var(--line);
  }

  .hero__meta li {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__meta strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1.05;
  }

  .trust-band__grid article,
  .service-card,
  .doctor-card,
  .process__step,
  .review-card,
  .faq__list details {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .doctor-card {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 14px;
    align-items: start;
    overflow: visible;
  }

  .doctor-card img {
    aspect-ratio: 1 / 1.12;
    border-radius: 18px;
  }

  .doctor-card__body {
    padding: 0;
  }

  .doctor-card ul {
    margin-top: 12px;
    padding-left: 16px;
  }

  .service-card span {
    margin-top: 12px;
    padding: 0;
    background: none;
    border-radius: 0;
    letter-spacing: 0.08em;
  }

  .process__step span {
    width: auto;
    height: auto;
    margin-bottom: 10px;
    border-radius: 0;
    background: none;
    color: var(--accent);
  }

  .review-card--featured {
    background: transparent;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 9vw, 3.75rem);
  }

  .hero__panel {
    padding: 18px 0 0;
  }

  .hero__slot-row {
    flex-direction: column;
    gap: 10px;
  }

  .hero__slot-badge {
    align-self: flex-start;
  }

  .btn,
  .panel-cta {
    width: 100%;
  }

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