:root {
  --ink: #20263a;
  --muted: #5f6879;
  --navy: #202853;
  --navy-dark: #12172f;
  --orange: #f16d1f;
  --orange-dark: #c85c12;
  --cream: #fff6ec;
  --surface: #ffffff;
  --soft: #f7faf9;
  --line: #dde3eb;
  --shadow: 0 24px 60px rgba(18, 23, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(241, 109, 31, 0.12), transparent 33%),
    linear-gradient(180deg, #fbf8f3 0%, #ffffff 28%, #f3efe8 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(18, 23, 47, 0.08);
  backdrop-filter: blur(18px);
}

.brand-logo {
  width: clamp(178px, 18vw, 260px);
  height: auto;
  padding: 8px 10px;
  background: linear-gradient(135deg, var(--navy) 0%, #31407a 100%);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(41, 46, 92, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #344054;
  font-size: 0.96rem;
  font-weight: 800;
}

.site-nav a {
  padding: 10px 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px !important;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: calc(100svh - 86px);
  padding: 0;
  overflow: hidden;
  background: #0f1630;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 22, 48, 0.02) 0%, rgba(15, 22, 48, 0.1) 100%),
    linear-gradient(90deg, rgba(15, 22, 48, 0.16), transparent 22%, transparent 78%, rgba(15, 22, 48, 0.16));
  pointer-events: none;
}

.hero-slider,
.booking-panel,
.stats-strip,
.help-grid article,
.doctor-grid article,
.trust-grid article,
.appointment-form,
.map-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 86px);
  overflow: hidden;
  background: #0f1630;
  border-radius: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 0;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.slide-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--navy-dark);
}

.slide-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  align-content: center;
  max-width: 720px;
}

.slide-copy .eyebrow {
  color: #ffd2a6;
}

.slide-copy h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
}

.slide-copy p {
  max-width: 620px;
  margin: 0;
  color: #e8eef4;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.65;
}

.slide-copy .button {
  width: fit-content;
  margin-top: 8px;
}

.slider-dots {
  position: absolute;
  left: clamp(26px, 5vw, 56px);
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.slider-dots button {
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  position: relative;
}

.slider-dots button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.slider-dots button.active::after {
  width: 30px;
  background: var(--orange);
}

.booking-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.booking-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(241, 109, 31, 0.06), transparent 35%, rgba(32, 40, 83, 0.04));
  pointer-events: none;
}

.booking-section {
  padding: clamp(18px, 4vw, 34px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 54px);
  background: #fff;
}

.booking-copy {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.booking-copy p {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.booking-panel p,
.section-heading p,
.doctor-grid p,
.trust-grid p,
.appointment-copy p,
.contact-list {
  color: var(--muted);
  line-height: 1.65;
}

.quick-form,
.appointment-form {
  display: grid;
  gap: 14px;
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: #106b39;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.form-status[data-state="loading"] {
  color: var(--navy);
}

label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  border: 1px solid #d5dbe4;
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(241, 109, 31, 0.14);
}

.button,
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8d2f 100%);
  box-shadow: 0 16px 36px rgba(241, 109, 31, 0.26);
}

.button.primary:hover,
.button.primary:focus-visible,
.map-link:hover,
.map-link:focus-visible {
  background: linear-gradient(135deg, var(--orange-dark) 0%, #e56a18 100%);
  transform: translateY(-1px);
}

.panel-actions {
  display: grid;
  gap: 10px;
  padding-top: 6px;
  color: var(--navy);
  font-weight: 900;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 28px clamp(18px, 5vw, 72px) 0;
  overflow: hidden;
  background: var(--line);
  border-radius: 14px;
}

.stats-strip article {
  display: grid;
  gap: 6px;
  padding: 26px 18px;
  text-align: center;
  background: #fff;
}

.stats-strip strong {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
}

.stats-strip span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(66px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: #fff;
}

.intro-copy,
.intro-card {
  display: grid;
  gap: 16px;
}

.intro-copy p,
.intro-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.intro-card {
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.26)),
    var(--cream);
  border: 1px solid #ebd1ba;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.expert-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.expert-photo {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(32, 40, 83, 0.08), rgba(241, 109, 31, 0.08));
  border: 1px solid rgba(32, 40, 83, 0.08);
}

.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.expert-title {
  display: grid;
  gap: 4px;
}

.intro-card span {
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intro-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.help {
  background:
    linear-gradient(180deg, rgba(255, 249, 243, 0.92), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at top right, rgba(241, 109, 31, 0.08), transparent 30%);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 32px);
  max-width: 1180px;
  margin-inline: auto;
}

.help-grid article {
  display: grid;
  min-height: 200px;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 28px 22px;
  text-align: center;
  background: #fff;
  border-color: #e7dfd6;
  transition: transform 180ms ease, border-color 180ms ease;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
}

.help-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 130, 32, 0.5);
}

.treatment-icon {
  width: 82px;
  height: 82px;
  fill: none;
  stroke: #5a3524;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.help-grid h3 {
  margin: 0;
  color: #080808;
  font-size: 1.16rem;
  font-weight: 900;
}

.doctors {
  background: rgba(247, 250, 249, 0.72);
}

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

.doctor-grid article {
  padding: 28px;
  background: #fff;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 148px;
  border-top: 4px solid rgba(241, 109, 31, 0.26);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(18, 23, 47, 0.06);
}

.doctor-grid span {
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.doctor-grid h3 {
  margin: 0;
  font-size: clamp(1.38rem, 2.2vw, 1.85rem);
  line-height: 1.12;
}

.safety {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

.reviews {
  background: linear-gradient(180deg, #fff8f1 0%, #fffdfb 100%);
}

.reviews-summary {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}

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

.reviews-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.review-meta {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.review-meta strong {
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.2;
}

.review-meta span {
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.reviews-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.reviews-source {
  max-width: 1180px;
  margin: 18px auto 0;
  color: var(--muted);
}

.reviews-source a {
  color: var(--navy);
  font-weight: 900;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-grid article {
  padding: 24px;
  background: linear-gradient(180deg, #202853 0%, #171e3d 100%);
  color: #fff;
  min-height: 100%;
  border-radius: 12px;
}

.trust-grid span {
  color: #ffd2a6;
  font-weight: 900;
}

.trust-grid p {
  color: #dce3ef;
}

.appointment {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 247, 239, 0.78), rgba(255, 255, 255, 0.74)),
    radial-gradient(circle at left top, rgba(241, 109, 31, 0.08), transparent 32%);
}

.appointment-form {
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border-radius: 12px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.86);
}

.contact-copy {
  align-self: center;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  color: #344054;
  font-weight: 800;
}

.map-link {
  width: fit-content;
  margin-top: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8d2f 100%);
}

.map-panel {
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 23, 47, 0.28), rgba(18, 23, 47, 0.55)),
    url("assets/clinic-front-hero.webp") center/cover no-repeat;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.map-panel:has(iframe) {
  display: block;
  background: #fff;
}

.map-load {
  z-index: 1;
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
}

.map-load:hover,
.map-load:focus-visible {
  background: var(--navy-dark);
}

.map-load {
  z-index: 1;
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, #121831 0%, #0d1123 100%);
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: #dce3ef;
}

.site-footer a {
  font-weight: 900;
}

@media (max-width: 1060px) {
  .hero {
    min-height: calc(100svh - 74px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 86px 16px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    padding: 16px !important;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero,
  .intro,
  .appointment,
  .contact {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .site-header {
    min-height: 74px;
    padding: 10px 16px;
  }

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

  .brand-logo {
    width: 174px;
  }

  .expert-header {
    align-items: flex-start;
  }

  .expert-photo {
    width: 96px;
    height: 96px;
  }

  .booking-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hero-slider {
    border-radius: 0;
  }

  .stats-strip,
  .help-grid,
  .doctor-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    margin-inline: 16px;
  }

  .button,
  .map-link,
  .map-load {
    width: 100%;
  }

  .hero-slide {
    padding: 22px;
  }

  .slide-copy h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .slide-copy .button {
    width: 100%;
  }

  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(1.9rem, 8vw, 2.55rem);
  }
}

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

  .hero-slide,
  .site-nav,
  .help-grid article,
  .button,
  .map-link,
  input,
  select,
  textarea {
    transition: none;
  }
}
