/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: #7B2D3B; color: #fff; padding: 0.5rem 1rem; border-radius: 0 0 8px 8px;
  z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --burgundy: #7B2D3B;
  --burgundy-deep: #5C1F2B;
  --burgundy-light: #9A3D4E;
  --blush: #F5E6E8;
  --blush-light: #FDF3F4;
  --blush-mid: #FADCE0;
  --cream: #FDF8F7;
  --neutral-50: #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #EEEEEE;
  --neutral-600: #6B7280;
  --neutral-700: #374151;
  --neutral-800: #1F2937;
  --neutral-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--burgundy); font-weight: 700; font-size: 1rem;
  line-height: 1.2;
}
.logo-mark { flex-shrink: 0; }
.logo-text em { font-style: italic; font-weight: 600; color: var(--burgundy-light); font-size: 0.85rem; }
.logo-light { color: var(--blush); }
.logo-light .logo-text em { color: var(--blush-mid); }

/* NAV */
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-list a {
  padding: 0.5rem 0.875rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--neutral-700);
  transition: color var(--transition), background var(--transition);
}
.nav-list a:hover { color: var(--burgundy); background: var(--blush-light); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger {
  display: block; width: 22px; height: 2px; background: var(--neutral-800);
  position: relative; transition: background var(--transition);
}
.hamburger::before, .hamburger::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--neutral-800); transition: transform var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem;
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--burgundy-light); outline-offset: 2px; }
.btn-primary { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }
.btn-primary:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: var(--white); color: var(--burgundy); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--burgundy); border-color: var(--white); }
.btn-white:hover { background: var(--blush-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--burgundy-deep);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(92,31,43,0.92) 0%, rgba(123,45,59,0.82) 50%, rgba(92,31,43,0.75) 100%);
}
.hero-content {
  position: relative; z-index: 1; padding: 8rem 1.5rem 4rem;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blush-mid); margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: ''; width: 32px; height: 2px; background: var(--blush-mid); display: inline-block;
}
.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700; color: var(--white); line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-headline em { font-style: normal; color: var(--blush); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,0.85);
  line-height: 1.7; margin-bottom: 2rem; max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-bullets {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
}
.hero-bullets li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.9);
}
.bullets-icon { color: var(--blush); flex-shrink: 0; }
.scroll-down {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); animation: bounce 2s infinite;
  transition: color var(--transition);
}
.scroll-down:hover { color: var(--white); }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(6px); }
  60% { transform: translateX(-50%) translateY(3px); }
}

/* ===== SECTION COMMON ===== */
.section-header { margin-bottom: 3.5rem; }
.section-eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700; color: var(--neutral-900); margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--neutral-600); max-width: 600px; line-height: 1.7;
}

/* ===== SERVICES ===== */
.services { padding: 6rem 0; background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius-md); padding: 2rem;
  border: 1px solid var(--neutral-200);
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--blush-mid); transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--blush-light); color: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--neutral-900); margin-bottom: 0.6rem;
}
.service-card p { font-size: 0.92rem; color: var(--neutral-600); line-height: 1.7; }

/* ===== ABOUT ===== */
.about { padding: 6rem 0; background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content .section-title { margin-bottom: 1.25rem; }
.about-content > p { color: var(--neutral-600); margin-bottom: 1rem; line-height: 1.75; }
.about-content > p:last-of-type { margin-bottom: 2rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; }
.about-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; font-weight: 500; color: var(--neutral-700);
}
.check-icon { color: var(--burgundy); flex-shrink: 0; }

/* ===== PATIENTS ===== */
.patients { padding: 6rem 0; background: var(--blush-light); }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem; margin-bottom: 3.5rem;
}
.step {
  background: var(--white); border-radius: var(--radius-md); padding: 2rem;
  border: 1px solid var(--blush-mid); position: relative;
  transition: all var(--transition);
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-number {
  font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700;
  color: var(--burgundy); line-height: 1; margin-bottom: 1rem; opacity: 0.2;
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--neutral-900); margin-bottom: 0.5rem; }
.step p { font-size: 0.88rem; color: var(--neutral-600); line-height: 1.7; }
.patients-cta {
  display: flex; align-items: center; gap: 1rem;
  background: var(--burgundy); color: var(--white);
  border-radius: var(--radius-md); padding: 2rem 2.5rem;
}
.patients-cta-icon { color: var(--blush); flex-shrink: 0; }
.patients-cta-text { font-size: 1.1rem; font-weight: 500; margin: 0; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 100%);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-title { color: var(--white); margin-bottom: 0.75rem; }
.cta-text p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 480px; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; flex-shrink: 0; }

/* ===== CONTACT ===== */
.contact { padding: 6rem 0; background: var(--cream); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem;
}
.contact-item {
  display: flex; gap: 1rem; margin-bottom: 1.75rem;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--blush-light); color: var(--burgundy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item h3 { font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--neutral-700); margin-bottom: 0.25rem; }
.contact-item p { font-size: 0.92rem; color: var(--neutral-600); line-height: 1.6; }
.contact-note { font-size: 0.82rem; color: var(--neutral-600); font-style: italic; margin-top: 0.25rem; }
.address { font-style: normal; }

/* FORM */
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--neutral-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--neutral-700);
  margin-bottom: 0.4rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: 0.92rem;
  color: var(--neutral-800); background: var(--neutral-50);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(123,45,59,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-privacy { font-size: 0.78rem; color: var(--neutral-600); margin-top: 1rem; text-align: center; }
.form-success {
  text-align: center; padding: 2.5rem; color: var(--neutral-700);
}
.form-success h3 { font-size: 1.5rem; color: var(--burgundy); margin: 1rem 0 0.5rem; }
.form-success p { margin-bottom: 1.5rem; line-height: 1.7; }
.form-success svg { color: var(--burgundy); }

/* LINKS */
.link-underline { color: var(--burgundy); text-decoration: underline; text-decoration-color: rgba(123,45,59,0.3); text-underline-offset: 3px; transition: text-decoration-color var(--transition); }
.link-underline:hover { text-decoration-color: var(--burgundy); }

/* ===== FOOTER ===== */
.site-footer { background: var(--neutral-900); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer-links h4, .footer-contact h4 {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--blush); margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact address { font-style: normal; font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.5rem; }
.footer-contact a { color: var(--blush-mid); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px;
  background: var(--burgundy); color: var(--white); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transform: translateY(16px);
  transition: all var(--transition); z-index: 900;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--burgundy-deep); transform: translateY(-2px); }

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 1rem;
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); opacity: 0;
    transition: all var(--transition); pointer-events: none;
  }
  .nav-list.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-list a { padding: 0.75rem 1rem; width: 100%; }
  .nav-list li:last-child a { margin-top: 0.5rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { max-height: 400px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 640px) {
  .hero-content { padding: 7rem 1.25rem 3rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .patients-cta { flex-direction: column; text-align: center; padding: 2rem; }
  .contact-form-wrap { padding: 1.5rem; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .scroll-down { animation: none; }
}
