:root {
  --bg: #f2eee6;
  --ink: #0a2230;
  --teal: #0f4c5c;
  --sand: #e7d7b1;
  --burnt: #b25f3d;
  --card: rgba(255, 255, 255, 0.74);
  --line: rgba(10, 34, 48, 0.12);
  --shadow: 0 20px 40px rgba(10, 34, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(178, 95, 61, 0.2), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(15, 76, 92, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f4ec 0%, #f0ebe0 48%, #ece7dc 100%);
  min-height: 100vh;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image: radial-gradient(rgba(0, 0, 0, 0.08) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

.header {
  width: min(1150px, calc(100% - 2rem));
  margin: 1rem auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0.8rem;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.8rem;
}

.brand-text {
  font-size: 0.95rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: rgba(10, 34, 48, 0.8);
  font-weight: 600;
  font-size: 0.92rem;
}

.btn {
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--teal);
  color: #fff;
  padding: 0.8rem 1.1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 140ms ease, box-shadow 200ms ease, background 160ms ease;
  box-shadow: 0 8px 18px rgba(15, 76, 92, 0.24);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid rgba(15, 76, 92, 0.35);
  box-shadow: none;
}

.btn-ghost {
  background: rgba(178, 95, 61, 0.12);
  color: #7a3f28;
  box-shadow: none;
}

.btn-nav {
  border-radius: 999px;
}

main {
  width: min(1150px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 1.2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(10, 34, 48, 0.13);
  background:
    radial-gradient(circle at 6% 8%, rgba(178, 95, 61, 0.12), transparent 34%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.8), rgba(232, 243, 246, 0.7));
  box-shadow: var(--shadow);
}

.kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.73rem;
  font-weight: 800;
  color: rgba(10, 34, 48, 0.66);
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

h1 span {
  color: var(--teal);
  display: block;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 58ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.quick-stats {
  margin: 1.3rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.quick-stats li {
  line-height: 1.5;
}

.quick-stats strong {
  color: #0f4c5c;
}

.profile-card {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: var(--card);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  display: grid;
  align-content: start;
}

.avatar-photo-wrap {
  width: 100%;
  height: 16.5rem;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 2px solid rgba(15, 76, 92, 0.28);
  box-shadow: 0 8px 20px rgba(10, 34, 48, 0.16);
  margin-bottom: 0.65rem;
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-card h2 {
  font-size: 1.12rem;
}

.profile-card p {
  margin: 0.35rem 0 0.7rem;
  line-height: 1.3;
  font-size: 0.88rem;
}

.profile-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}

.profile-card dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(10, 34, 48, 0.66);
}

.profile-card dd {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.panel {
  margin-top: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.4rem;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 200ms ease;
}

.panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(10, 34, 48, 0.16);
}

.panel h3 {
  font-size: 1.65rem;
  margin-bottom: 0.8rem;
}

.panel p {
  margin: 0.65rem 0;
  line-height: 1.7;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chips span {
  border: 1px solid rgba(10, 34, 48, 0.15);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
}

.list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.list li {
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.doctor-spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: center;
}

.doctor-photo-wrap {
  border: 1px solid rgba(10, 34, 48, 0.14);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.doctor-photo {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.clinical-image-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: center;
}

.clinical-image-wrap {
  border: 1px solid rgba(10, 34, 48, 0.14);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.clinical-image {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.video-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.video-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(10, 34, 48, 0.15);
  border-radius: 0.95rem;
  padding: 0.95rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(243, 249, 250, 0.75));
  transition: transform 140ms ease, box-shadow 200ms ease;
}

.video-card::before {
  content: '▶';
  width: 2.1rem;
  height: 2.1rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 76, 92, 0.12);
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(10, 34, 48, 0.14);
}

.video-card h4 {
  margin-top: 0.52rem;
  margin-bottom: 0.52rem;
  font-size: 1.1rem;
}

.video-card p {
  margin: 0;
  line-height: 1.55;
}

.video-tag {
  display: inline-flex;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #0f4c5c;
}

.faq-list {
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid rgba(10, 34, 48, 0.15);
  border-radius: 0.8rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 0.95rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
}

.faq-question::after {
  content: '+';
  float: right;
  font-weight: 800;
}

.faq-question[aria-expanded='true']::after {
  content: '-';
}

.faq-answer {
  padding: 0 0.95rem 0.95rem;
}

.faq-answer p {
  margin: 0;
}

.trust-band {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-item {
  border: 1px solid rgba(10, 34, 48, 0.14);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.trust-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.trust-item p {
  margin: 0;
  line-height: 1.6;
}

.trust-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(10, 34, 48, 0.7);
  margin-bottom: 0.35rem;
}

.contact-form {
  display: grid;
  gap: 0.45rem;
}

.contact-form h4 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(10, 34, 48, 0.2);
  border-radius: 0.7rem;
  padding: 0.72rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form small {
  color: rgba(10, 34, 48, 0.7);
  line-height: 1.45;
}

.footer {
  width: min(1150px, calc(100% - 2rem));
  margin: 2.2rem auto;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.footer p {
  margin: 0;
  line-height: 1.6;
}

.disclaimer {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: rgba(10, 34, 48, 0.78);
}

.mobile-cta {
  position: fixed;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  background: rgba(10, 34, 48, 0.88);
  padding: 0.45rem;
  border-radius: 0.9rem;
  box-shadow: 0 16px 30px rgba(10, 34, 48, 0.35);
}

.mobile-cta a {
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.6rem 0.4rem;
  border-radius: 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
}

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

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

@media (max-width: 990px) {
  .header {
    border-radius: 1.05rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .doctor-spotlight,
  .clinical-image-panel {
    grid-template-columns: 1fr;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

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

  .profile-card {
    max-width: 560px;
  }

  .avatar-photo-wrap {
    height: 15rem;
  }
}

@media (max-width: 640px) {
  main,
  .header,
  .footer {
    width: min(100%, calc(100% - 1rem));
  }

  .header {
    margin-top: 0.5rem;
    top: 0.35rem;
  }

  .brand-text {
    display: none;
  }

  .panel,
  .profile-card {
    padding: 1rem;
  }

  .avatar-photo-wrap {
    height: 13.5rem;
  }

  .profile-card dl {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .mobile-cta {
    display: grid;
  }

  body {
    padding-bottom: 4.2rem;
  }
}
