/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal: #1A1D23;
  --charcoal-light: #2C3038;
  --coral: #E85D4A;
  --coral-dark: #D14A38;
  --coral-light: #FF7A68;
  --bg: #F8F7F5;
  --bg-alt: #F0EFED;
  --white: #FFFFFF;
  --text-dark: #1A1D23;
  --text-body: #3D4250;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E3DF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(26,29,35,0.06), 0 1px 2px rgba(26,29,35,0.04);
  --shadow-md: 0 4px 16px rgba(26,29,35,0.08), 0 2px 6px rgba(26,29,35,0.04);
  --shadow-lg: 0 12px 40px rgba(26,29,35,0.12), 0 4px 12px rgba(26,29,35,0.06);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg);
  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; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--charcoal);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 0.875rem;
  font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { color: var(--text-dark); line-height: 1.2; font-weight: 700; }
h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

.text-coral { color: var(--coral); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
  position: relative;
  padding-left: 32px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--coral);
}

.text-center { text-align: center; }
.text-center .section-label { padding-left: 0; }
.text-center .section-label::before { display: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232,93,74,0.35);
}
.btn-coral:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,93,74,0.4);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.btn-white {
  background: var(--white);
  color: var(--charcoal);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248,247,245,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(248,247,245,0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.logo-light { color: var(--white); }
.logo-mark { flex-shrink: 0; }
.logo-text { font-family: var(--font-heading); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--coral); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); top: 0; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1D23 0%, #2C3038 30%, #3D2B2B 60%, #5C2E2E 80%, #E85D4A 100%);
  padding: 120px 24px 80px;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232,93,74,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(232,93,74,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(100,60,50,0.3) 0%, transparent 50%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,93,74,0.15);
  border: 1px solid rgba(232,93,74,0.3);
  color: var(--coral-light);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-headline {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}
.hero-headline .text-coral { color: var(--coral-light); }

.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  font-weight: 500;
}
.trust-item svg { color: var(--coral-light); flex-shrink: 0; }

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--coral);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}

.about-content { padding: 8px 0; }
.about-content h2 { margin-bottom: 24px; }
.about-content p { color: var(--text-body); margin-bottom: 16px; }

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat { flex: 1; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--white);
}

.section-header { margin-bottom: 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--coral);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,93,74,0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 0; }

/* ===== WHY ===== */
.why {
  padding: 100px 0;
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-content h2 { margin-bottom: 20px; }
.why-content > p { color: var(--text-muted); margin-bottom: 32px; }

.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--text-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.why-list strong { color: var(--text-dark); }
.why-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,93,74,0.08);
  border-radius: 50%;
  margin-top: 2px;
}

.why-image-stack {
  position: relative;
  height: 520px;
}
.why-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.why-img-float {
  position: absolute;
  bottom: 0;
  left: -40px;
  width: 260px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.why-accent-block {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--coral);
  border-radius: var(--radius-md);
  opacity: 0.1;
  z-index: -1;
}

/* ===== PATIENT INFO ===== */
.patient-info {
  padding: 100px 0;
  background: var(--white);
}

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

.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.info-card:hover {
  border-color: var(--coral);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.info-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  background: rgba(232,93,74,0.08);
  border-radius: var(--radius-sm);
}
.info-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.info-card p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 4px; }
.info-card a { color: var(--coral); font-weight: 600; }
.info-card a:hover { text-decoration: underline; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #1A1D23 0%, #2C3038 50%, #3D2B2B 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(232,93,74,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1.0625rem;
  max-width: 480px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,93,74,0.08);
  border-radius: var(--radius-sm);
  color: var(--coral);
}
.contact-detail strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.contact-detail span,
.contact-detail a {
  color: var(--text-body);
  font-size: 1rem;
}
.contact-detail a:hover { color: var(--coral); }

.contact-map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,93,74,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: rgba(27,67,50,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h4 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.form-success p { color: var(--text-muted); margin-bottom: 20px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9375rem; margin-top: 12px; }
.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--coral-light); }
.footer-contact p,
.footer-hours p {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 0;
}
.footer-contact a { color: var(--coral-light); font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-disclaimer { max-width: 480px; text-align: right; }

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal:nth-child(2) { transition-delay: 0.08s; }
  .reveal:nth-child(3) { transition-delay: 0.16s; }
  .reveal:nth-child(4) { transition-delay: 0.24s; }
  .reveal:nth-child(5) { transition-delay: 0.32s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid,
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap img { height: 480px; }
  .why-image-stack { height: 420px; }
  .why-img-float { left: -20px; width: 220px; height: 170px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(248,247,245,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav a { font-size: 1.0625rem; }
  .main-nav .btn-coral { text-align: center; }

  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; align-items: center; gap: 12px; }

  .about, .services, .why, .patient-info, .contact { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; max-width: 100%; }

  .why-img-float { display: none; }
  .why-image-stack { height: 320px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .about-image-wrap img { height: 360px; }
  .about-stats { flex-direction: column; align-items: flex-start; }
  .stat-divider { width: 48px; height: 1px; }
}
