/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #2D2D2D;
  background: #FAFAF8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: #2D2D2D; color: #fff; padding: 8px 16px;
  border-radius: 0 0 8px 8px; z-index: 9999; font-size: 14px;
}
.skip-link:focus { top: 0; }

/* ── Container ────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Section Labels ───────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #E85D44;
  margin-bottom: 12px;
}
.section-label--light { color: #F27A62; }
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; line-height: 1.2;
  color: #1A1A1A; margin-bottom: 16px;
}
.section-title--light { color: #fff; }
.section-subtitle {
  font-size: 1.1rem; color: #4A4A4A; max-width: 600px; line-height: 1.7;
}
.section-subtitle--light { color: rgba(255,255,255,0.8); }
.section-header { text-align: center; margin-bottom: 56px; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 50px;
  border: 2px solid transparent; cursor: pointer;
  transition: all 0.25s ease; white-space: nowrap;
}
.btn--coral {
  background: #E85D44; color: #fff; border-color: #E85D44;
}
.btn--coral:hover { background: #D14A32; border-color: #D14A32; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,93,68,0.3); }
.btn--ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.5);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.btn--ghost-dark {
  background: transparent; color: #2D2D2D; border-color: #2D2D2D;
}
.btn--ghost-dark:hover { background: #2D2D2D; color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ── Navigation ───────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px; font-weight: 600; color: #1A1A1A;
}
.nav__menu { display: flex; }
.nav__list { display: flex; align-items: center; gap: 8px; }
.nav__link {
  font-size: 14px; font-weight: 500; color: #4A4A4A;
  padding: 8px 16px; border-radius: 8px; transition: all 0.2s ease;
}
.nav__link:hover { color: #E85D44; background: rgba(232,93,68,0.06); }
.nav__link--cta {
  background: #E85D44; color: #fff !important; border-radius: 50px;
  margin-left: 8px;
}
.nav__link--cta:hover { background: #D14A32; }

/* Mobile toggle */
.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__toggle-bar {
  display: block; width: 22px; height: 2px; background: #2D2D2D;
  border-radius: 2px; transition: all 0.3s ease;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(45,45,45,0.65) 50%, rgba(26,26,26,0.45) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px;
  color: #fff; max-width: 720px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px); padding: 8px 18px;
  border-radius: 50px; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.9); margin-bottom: 24px;
}
.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 24px;
}
.hero__title-accent { color: #F27A62; }
.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7;
  color: rgba(255,255,255,0.85); max-width: 560px; margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 32px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15);
}
.hero__trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8);
}
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); animation: heroScroll 2s ease-in-out infinite;
}
@keyframes heroScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ── Services ─────────────────────────────────────── */
.services { padding: 100px 0; background: #FAFAF8; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff; border-radius: 16px; padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(232,93,68,0.2);
}
.service-card__icon { margin-bottom: 20px; }
.service-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem; font-weight: 600; color: #1A1A1A;
  margin-bottom: 10px;
}
.service-card__desc { font-size: 0.95rem; color: #4A4A4A; line-height: 1.7; }

/* ── About ────────────────────────────────────────── */
.about { padding: 100px 0; background: #fff; }
.about__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.about__image-wrap { position: relative; }
.about__image-accent {
  position: absolute; top: -16px; left: -16px;
  width: 120px; height: 120px; border-radius: 20px;
  background: linear-gradient(135deg, #FFF3F0, #FFD0C4);
  z-index: 0;
}
.about__image {
  position: relative; z-index: 1; border-radius: 20px;
  width: 100%; aspect-ratio: 5/6; object-fit: cover;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
.about__content { padding: 16px 0; }
.about__text {
  font-size: 1rem; color: #4A4A4A; line-height: 1.8; margin-bottom: 16px;
}
.about__highlights {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.about__highlight { display: flex; flex-direction: column; gap: 4px; }
.about__highlight-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #E85D44;
}
.about__highlight-value { font-size: 1rem; font-weight: 500; color: #2D2D2D; }

/* ── Patient Info ─────────────────────────────────── */
.patient-info {
  padding: 100px 0;
  background: linear-gradient(180deg, #1A1A1A 0%, #2D2D2D 100%);
  position: relative; overflow: hidden;
}
.patient-info::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,93,68,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.patient-info__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px; position: relative; z-index: 1;
}
.info-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px 24px;
  backdrop-filter: blur(8px); transition: all 0.3s ease;
}
.info-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(242,122,98,0.3);
  transform: translateY(-4px);
}
.info-card__icon { margin-bottom: 16px; }
.info-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 8px;
}
.info-card__desc { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ── CTA ──────────────────────────────────────────── */
.cta {
  position: relative; padding: 100px 0; overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__img { width: 100%; height: 100%; object-fit: cover; }
.cta__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.88) 0%, rgba(45,45,45,0.78) 100%);
}
.cta__content {
  position: relative; z-index: 1; text-align: center;
  max-width: 680px; margin: 0 auto; color: #fff;
}
.cta__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; line-height: 1.2; margin-bottom: 20px;
}
.cta__text {
  font-size: 1.1rem; color: rgba(255,255,255,0.8);
  line-height: 1.7; margin-bottom: 36px;
}
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ── Contact ──────────────────────────────────────── */
.contact { padding: 100px 0; background: #FAFAF8; }
.contact__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.contact__text {
  font-size: 1rem; color: #4A4A4A; line-height: 1.7; margin-bottom: 36px;
}
.contact__details { display: flex; flex-direction: column; gap: 24px; }
.contact__detail { display: flex; gap: 16px; align-items: flex-start; }
.contact__detail-icon { flex-shrink: 0; margin-top: 2px; }
.contact__detail-label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #E85D44; margin-bottom: 4px;
}
.contact__detail-value {
  font-size: 0.95rem; color: #2D2D2D; line-height: 1.6;
}
.contact__link { transition: color 0.2s ease; }
.contact__link:hover { color: #E85D44; }

/* Form */
.contact__form-wrap {
  background: #fff; border-radius: 20px; padding: 40px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: #2D2D2D; margin-bottom: 6px;
}
.form-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,0.1); border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: #2D2D2D; background: #FAFAF8;
  transition: all 0.2s ease; outline: none;
}
.form-input:focus {
  border-color: #E85D44; background: #fff;
  box-shadow: 0 0 0 3px rgba(232,93,68,0.1);
}
.form-input::placeholder { color: #aaa; }
.form-select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4A4A' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding: 14px 18px;
  background: #F0FDF4; border: 1px solid #BBF7D0;
  border-radius: 10px; font-size: 14px; color: #166534;
}

/* ── Footer ───────────────────────────────────────── */
.footer { background: #1A1A1A; color: rgba(255,255,255,0.6); padding: 64px 0 0; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 12px;
}
.footer__tagline { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 14px; color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}
.footer__link:hover { color: #F27A62; }
.footer__contact p { font-size: 13px; margin-bottom: 8px; line-height: 1.6; }
.footer__phone { color: #F27A62; transition: color 0.2s ease; }
.footer__phone:hover { color: #FFAB96; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 16px; padding: 24px 0;
  font-size: 13px; color: rgba(255,255,255,0.4);
}
.footer__disclaimer { max-width: 500px; text-align: right; }

/* ── Reveal animations (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Ensure content is visible even without JS */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .about__inner,
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__image-wrap { max-width: 480px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(250,250,248,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 16px 24px;
    transform: translateY(-100%); opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav__menu.open {
    transform: translateY(0); opacity: 1; pointer-events: all;
  }
  .nav__list { flex-direction: column; gap: 4px; width: 100%; }
  .nav__link { width: 100%; padding: 12px 16px; }
  .nav__link--cta { margin-left: 0; text-align: center; margin-top: 8px; }
  .hero__content { padding-top: 100px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .hero__trust { gap: 20px; }
  .services__grid { grid-template-columns: 1fr; }
  .patient-info__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__disclaimer { text-align: center; }
  .cta__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
}
