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

:root {
  --charcoal: #2C3E50;
  --charcoal-deep: #1A252F;
  --charcoal-light: #3D5166;
  --coral: #E07A5F;
  --coral-dark: #C9614A;
  --coral-light: #F2CCAB;
  --cream: #F5F0EB;
  --cream-dark: #EDE5DD;
  --white: #FFFFFF;
  --text-dark: #1A252F;
  --text-body: #3D5166;
  --text-light: #6B7F93;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(44,62,80,0.06);
  --shadow-md: 0 4px 20px rgba(44,62,80,0.08);
  --shadow-lg: 0 8px 40px rgba(44,62,80,0.12);
  --shadow-xl: 0 16px 60px rgba(44,62,80,0.15);
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Lora', 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-sans);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral-dark); }
ul { list-style: none; }

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

.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;
}
.skip-link:focus { top: 16px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; background: rgba(245,240,235,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(44,62,80,0.06);
  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: 76px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 0.95rem; font-weight: 700; color: var(--charcoal); }
.logo-tagline { font-size: 0.7rem; color: var(--text-light); letter-spacing: 0.04em; text-transform: uppercase; }

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius-lg);
  font-family: var(--font-sans); font-size: 0.9rem;
  font-weight: 600; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--coral); color: var(--white);
  border-color: var(--coral); box-shadow: 0 4px 16px rgba(224,122,95,0.35);
}
.btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); box-shadow: 0 6px 24px rgba(224,122,95,0.45); }
.btn-outline {
  background: transparent; color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.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(--charcoal); border-color: var(--white); }
.btn-white {
  background: var(--white); color: var(--charcoal);
  border-color: var(--white); box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--cream); }
.btn-full { width: 100%; justify-content: center; }
.btn-small { padding: 9px 20px; font-size: 0.85rem; }

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

/* ===== HERO ===== */
.hero {
  padding-top: 76px; min-height: 100vh;
  display: flex; flex-direction: column;
  background: linear-gradient(135deg, var(--charcoal-deep) 0%, var(--charcoal) 50%, var(--charcoal-light) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(224,122,95,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(224,122,95,0.06); pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 60px 0 80px; position: relative; z-index: 1;
}

.hero-content { color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224,122,95,0.15); color: var(--coral-light);
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 24px;
  border: 1px solid rgba(224,122,95,0.25);
}
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; line-height: 1.2; color: var(--white);
  margin-bottom: 22px;
}
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.78);
  line-height: 1.8; margin-bottom: 36px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: rgba(255,255,255,0.85);
}

.hero-image-wrap {
  position: relative; padding-left: 40px;
}
.hero-image-main {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 540/640;
}
.hero-image-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-accent {
  position: absolute; bottom: -20px; left: -30px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--charcoal);
  aspect-ratio: 280/200;
}
.hero-image-accent img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; top: 30px; right: -20px;
  background: var(--coral); color: var(--white);
  padding: 16px 22px; border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); font-size: 0.9rem; font-weight: 600;
}

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600; color: var(--charcoal); line-height: 1.25;
  margin-bottom: 16px;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-light); line-height: 1.7; }

/* ===== SERVICES ===== */
.services {
  padding: 96px 0; background: var(--cream);
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; transition: all var(--transition);
  border: 1px solid rgba(44,62,80,0.05);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224,122,95,0.15);
}
.service-icon {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: rgba(224,122,95,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--charcoal);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; }

/* ===== ABOUT ===== */
.about { padding: 96px 0; background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-image-area { position: relative; }
.about-img-main {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 520/620;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: -24px; right: -24px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--white);
  aspect-ratio: 300/220;
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-content .section-tag { text-align: left; }
.about-content h2 {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600; color: var(--charcoal); line-height: 1.25;
  margin-bottom: 20px;
}
.about-lead {
  font-size: 1.08rem; color: var(--text-body); line-height: 1.8;
  margin-bottom: 16px; font-weight: 500;
}
.about-content > p {
  font-size: 0.95rem; color: var(--text-light); line-height: 1.8;
  margin-bottom: 14px;
}
.about-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 32px;
}
.value-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; font-weight: 600; color: var(--charcoal);
}

/* ===== PATIENT INFO ===== */
.patient-info {
  padding: 96px 0; background: var(--cream);
}
.info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--charcoal); color: var(--white);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.info-card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.info-card h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--white);
  margin-bottom: 14px;
}
.info-card p { font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.7; }
.hours-list { width: 100%; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child { color: rgba(255,255,255,0.72); }
.hours-list li span:last-child { font-weight: 600; color: var(--white); }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; position: relative; z-index: 1; flex-wrap: wrap;
}
.cta-content h2 {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600; color: var(--white); line-height: 1.3;
  margin-bottom: 14px;
}
.cta-content p { font-size: 1.05rem; color: rgba(255,255,255,0.88); line-height: 1.7; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { padding: 96px 0; background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-info .section-tag { text-align: left; }
.contact-info h2 {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600; color: var(--charcoal); line-height: 1.25;
  margin-bottom: 14px;
}
.contact-intro { font-size: 0.95rem; color: var(--text-light); margin-bottom: 32px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(224,122,95,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--charcoal); margin-bottom: 4px; }
.contact-item p { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; }
.contact-item a { color: var(--coral); }
.map-placeholder {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 500/280;
}
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; }

.contact-form-wrap {
  background: var(--cream); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 {
  font-family: var(--font-serif); font-size: 1.4rem;
  font-weight: 600; color: var(--charcoal); margin-bottom: 8px;
}
.form-intro { font-size: 0.88rem; color: var(--text-light); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(44,62,80,0.12);
  border-radius: var(--radius-md); font-family: var(--font-sans);
  font-size: 0.92rem; color: var(--text-dark);
  background: var(--white); 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(224,122,95,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-privacy { font-size: 0.78rem; color: var(--text-light); margin-top: 12px; text-align: center; }

.form-success {
  text-align: center; padding: 32px 16px;
}
.form-success .success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(224,122,95,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-family: var(--font-serif); font-size: 1.4rem;
  color: var(--charcoal); margin-bottom: 10px;
}
.form-success p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 24px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal-deep); color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-weight: 700; font-size: 0.95rem;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-links h4,
.footer-contact h4 {
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--white); margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--coral-light); }
.footer-contact p { font-size: 0.88rem; line-height: 1.8; }
.footer-contact a { color: var(--coral-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-disclaimer { font-size: 0.75rem !important; max-width: 400px; }

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

/* ===== MOBILE MENU ===== */
@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0;
    background: rgba(245,240,235,0.98);
    backdrop-filter: blur(16px);
    padding: 24px; display: none;
    flex-direction: column; gap: 16px;
    border-bottom: 1px solid rgba(44,62,80,0.08);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 12px; width: 100%; }
  .main-nav a { font-size: 1rem; padding: 8px 0; }
  .main-nav .btn { width: 100%; justify-content: center; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 60px; }
  .hero-image-wrap { padding-left: 0; order: -1; max-width: 480px; margin: 0 auto; }
  .hero-image-accent { display: none; }
  .hero-card { right: 10px; top: 16px; }
  .hero { min-height: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-main { aspect-ratio: 4/3; }
  .about-img-secondary { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 24px; }
  .container { padding: 0 18px; }
}

/* ===== REDUCED MOTION ===== */
@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);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
