:root {
  --blue: #6d8fa3;
  --blue-soft: #8fafc1;
  --blue-pale: #dce8f0;
  --paper: #f8fafc;
  --surface: #ffffff;
  --ink: #1e2b36;
  --muted: #5e6d79;
  --line: #d8e2ea;
  --hover: #587b91;
  --shadow: 0 22px 60px rgba(30, 43, 54, 0.08);
  --shadow-soft: 0 12px 30px rgba(30, 43, 54, 0.06);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection {
  background: var(--blue);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 226, 234, 0.72);
  backdrop-filter: blur(14px);
  transition: background 300ms ease, box-shadow 300ms ease;
}

.site-header[data-scrolled] {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(30, 43, 54, 0.06);
}

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

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(109, 143, 163, 0.22);
  border-radius: 50%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.12;
  text-transform: uppercase;
}

.brand small {
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 40px;
  color: rgba(30, 43, 54, 0.78);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 10px 11px;
  text-transform: uppercase;
  transition: color 300ms ease, background 300ms ease, transform 300ms ease;
}

.site-nav a:hover {
  background: rgba(109, 143, 163, 0.1);
  color: var(--hover);
}

.site-nav .nav-appointment {
  margin-left: 8px;
  background: var(--blue);
  color: #ffffff;
  padding-inline: 22px;
}

.site-nav .nav-appointment:hover {
  background: var(--hover);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.9);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(820px, 90vh);
  align-items: flex-end;
  overflow: hidden;
  padding: 150px clamp(22px, 7vw, 112px) 92px;
  background: var(--blue);
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(54, 88, 108, 0.78) 0%, rgba(109, 143, 163, 0.38) 44%, rgba(255, 255, 255, 0.22) 100%),
    linear-gradient(0deg, rgba(30, 43, 54, 0.28), rgba(255, 255, 255, 0.04) 44%);
}

.hero-line-art {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
}

.hero-line-art::before,
.hero-line-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.hero-line-art::before {
  left: 34%;
  top: 18%;
  width: 300px;
  height: 520px;
  transform: rotate(13deg);
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.hero-line-art::after {
  right: 6%;
  top: 17%;
  width: 340px;
  height: 340px;
  border-color: rgba(109, 143, 163, 0.52);
  box-shadow:
    -96px 236px 0 -167px rgba(109, 143, 163, 0.5),
    -54px 250px 0 -166px rgba(109, 143, 163, 0.5),
    -12px 264px 0 -167px rgba(109, 143, 163, 0.5);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
  color: #ffffff;
}

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

.hero .eyebrow {
  color: #ffffff;
}

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

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.35rem, 7vw, 6.7rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.35rem, 4.6vw, 5rem);
}

h3 {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.24;
  text-transform: uppercase;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 14px 28px;
  text-transform: uppercase;
  transition: transform 300ms ease, box-shadow 300ms ease, background 300ms ease, border-color 300ms ease;
}

.button:hover,
.contact-row:hover,
.service-card:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(30, 43, 54, 0.14);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 4;
  width: min(91%, 1480px);
  margin: -56px auto 0;
  border: 1px solid rgba(216, 226, 234, 0.88);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-strip div {
  position: relative;
  min-height: 138px;
  border-right: 1px solid var(--line);
  padding: 28px clamp(18px, 3vw, 38px) 28px 104px;
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip span,
.contact-row span {
  display: block;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trust-strip .soft-icon {
  position: absolute;
  left: 28px;
  top: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f4f8fa;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}

.trust-strip strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.section,
.editorial-split,
.director,
.patient-experience,
.location-section {
  padding: clamp(110px, 11vw, 156px) clamp(22px, 7vw, 112px);
}

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

.wide-copy {
  max-width: 940px;
}

.section-copy p,
.section-heading p,
.editorial-copy p,
.director-copy p,
.experience-copy p,
.location-copy p,
.contact-copy p,
.faq-list p {
  color: var(--muted);
  font-size: 1.02rem;
}

.institution {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.institution::before,
.services::before,
.evidence::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(109, 143, 163, 0.09) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 70%, rgba(109, 143, 163, 0.08) 0 1px, transparent 2px);
  background-size: 34px 34px, 42px 42px;
}

.institution-grid,
.service-grid,
.team-grid,
.evidence-grid {
  display: grid;
  gap: 22px;
  margin-top: 52px;
}

.institution-grid {
  grid-template-columns: repeat(3, 1fr);
}

.institution-grid article,
.team-grid article,
.service-card,
.credentials article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.institution-grid article {
  min-height: 260px;
  padding: 42px;
}

.institution-grid small,
.service-card span {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.institution-grid p,
.service-card p,
.team-grid p {
  color: var(--muted);
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background: var(--surface);
}

.editorial-media img,
.director-photo img,
.location-gallery img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.editorial-media img {
  aspect-ratio: 4 / 5;
}

.model-steps {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 12px;
}

.model-steps article {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 18px;
  border-radius: 18px;
  background: #f8fafc;
  padding: 20px;
}

.model-steps span {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-steps p {
  margin: 0;
}

.services {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.65fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.service-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 280px;
  padding: 38px;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.service-card:hover {
  border-color: rgba(109, 143, 163, 0.34);
  box-shadow: 0 26px 60px rgba(30, 43, 54, 0.1);
}

.clinical-team {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--ink);
}

.clinical-team h2,
.clinical-team h3 {
  color: var(--ink);
}

.clinical-team .section-copy p,
.clinical-team .team-grid p {
  color: var(--muted);
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.team-grid article {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  padding: 38px;
}

.director {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  background: var(--surface);
}

.director-photo img {
  aspect-ratio: 4 / 5;
}

.role {
  color: var(--blue) !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.credentials article {
  padding: 20px;
}

.credentials small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.credentials strong {
  display: block;
  line-height: 1.28;
}

.evidence {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.evidence-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, 1fr);
}

.evidence-grid article {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.patient-experience {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 7vw, 90px);
  background: var(--surface);
}

.experience-timeline {
  display: grid;
  gap: 14px;
}

.experience-timeline article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.experience-timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #f4f8fa;
  color: var(--blue);
  font-weight: 600;
}

.experience-timeline h3,
.experience-timeline p {
  margin-bottom: 8px;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
  background: var(--paper);
}

.location-gallery {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: 14px;
  align-items: stretch;
}

.location-gallery img {
  height: 100%;
  min-height: 440px;
}

.location-gallery img:first-child {
  object-position: center;
}

.location-gallery img:nth-child(2) {
  object-position: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.faq {
  background: var(--surface);
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.faq-list details {
  padding: 24px 28px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 7vw, 90px);
  background: var(--blue);
  color: #ffffff;
}

.contact h2 {
  color: #ffffff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  padding: 24px;
  transition: transform 300ms ease, background 300ms ease;
}

.contact-row:hover {
  background: rgba(255, 255, 255, 0.12);
}

.contact-row span {
  color: rgba(255, 255, 255, 0.58);
}

.contact-row strong {
  overflow-wrap: anywhere;
}

.doctoralia-booking {
  gap: 12px;
}

.doctoralia-widget-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  border-radius: 40px;
  background: #ffffff;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.2;
  padding: 13px 20px;
  text-transform: uppercase;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.doctoralia-widget-link:hover {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(36px, 7vw, 110px);
  padding: 70px clamp(22px, 7vw, 112px) 28px;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: flex;
  gap: 16px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
}

.footer-brand small,
.footer-columns strong {
  display: block;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-brand strong {
  display: block;
  margin: 3px 0 18px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.footer-columns div,
.footer-bottom div {
  display: grid;
  gap: 10px;
}

.footer-columns a,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  transition: color 300ms ease;
}

.footer-columns a:hover,
.footer-bottom a:hover {
  color: var(--hover);
}

.footer-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  border-radius: 40px;
  background: var(--blue);
  color: #ffffff !important;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 12px 18px;
  text-transform: uppercase;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.whatsapp-float {
  position: fixed;
  z-index: 45;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 40px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  box-shadow: 0 18px 44px rgba(30, 43, 54, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .site-nav {
    position: fixed;
    top: 90px;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav .nav-appointment {
    margin-left: 0;
  }

  .nav-toggle {
    display: block;
  }

  .trust-strip,
  .institution-grid,
  .service-grid,
  .team-grid,
  .evidence-grid,
  .section-heading,
  .editorial-split,
  .director,
  .patient-experience,
  .location-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .location-gallery img {
    min-height: 320px;
  }

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

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 76px;
    padding: 12px 16px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

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

  .brand small {
    font-size: 0.72rem;
  }

  .site-nav {
    top: 76px;
  }

  .hero {
    min-height: 760px;
    padding: 118px 20px 68px;
    align-items: flex-end;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(54, 88, 108, 0.86) 0%, rgba(109, 143, 163, 0.58) 56%, rgba(255, 255, 255, 0.16) 100%);
  }

  .hero-line-art {
    inset: 0;
    overflow: hidden;
  }

  .hero-line-art::before {
    left: 44%;
    width: 190px;
    height: 360px;
  }

  .hero-line-art::after {
    right: -120px;
    width: 260px;
    height: 260px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .section,
  .editorial-split,
  .director,
  .patient-experience,
  .location-section,
  .contact {
    padding: 86px 20px;
  }

  .institution-grid article,
  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .model-steps article,
  .experience-timeline article {
    grid-template-columns: 1fr;
  }

  .credentials,
  .location-gallery {
    grid-template-columns: 1fr;
  }

  .location-gallery img {
    min-height: 260px;
  }

  .site-footer {
    display: grid;
    padding: 54px 20px 88px;
  }

  .footer-brand {
    display: grid;
  }

  .footer-columns {
    gap: 26px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}
