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

:root {
  --navy: #0A1628;
  --navy-light: #132240;
  --gold: #C8A45E;
  --gold-light: #D4B77A;
  --gold-dark: #B08D3E;
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --cream: #FDFCFA;
  --gray-50: #FAFAF9;
  --gray-100: #F5F5F4;
  --gray-200: #E7E5E4;
  --gray-300: #D6D3D1;
  --gray-400: #A8A29E;
  --gray-500: #78716C;
  --gray-600: #57534E;
  --gray-700: #44403C;
  --gray-800: #292524;
  --gray-900: #1C1917;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(4rem, 10vw, 8rem);
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--gray-800);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 164, 94, 0.15);
  transition: background 0.3s ease;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.navbar-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.navbar-links a:hover { color: var(--gold); }

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
}

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

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 0.75rem; }
.btn-full { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.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(10, 22, 40, 0.88) 0%,
    rgba(10, 22, 40, 0.72) 50%,
    rgba(10, 22, 40, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 560px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.hero-trust span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.trust-dot {
  color: rgba(200, 164, 94, 0.4) !important;
  margin: 0 0.75rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  animation: float 2.5s ease-in-out infinite;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-weight: 300;
}

/* ===== SERVICES ===== */
.services {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: all 0.35s ease;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: all 0.35s ease;
}

.service-card:hover .service-icon {
  border-color: var(--gold);
  background: rgba(200, 164, 94, 0.08);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== ABOUT ===== */
.about {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-image {
  border-radius: 3px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-content { max-width: 520px; }

.about-content .section-header {
  text-align: left;
  margin: 0 0 2rem;
}

.about-content p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2.5rem 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
}

.value-item { max-width: 440px; }

.value-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ===== PATIENTS ===== */
.patients {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.patients-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.patients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.patient-card {
  border-radius: 3px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.35s ease;
}

.patient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
  border-color: var(--gold);
}

.patient-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.patient-card-content {
  padding: 1.5rem;
}

.patient-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.patient-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--navy);
}

.testimonials .section-eyebrow { color: var(--gold); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-subtitle { color: rgba(255,255,255,0.6); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: all 0.35s ease;
}

.testimonial:hover {
  border-color: rgba(200, 164, 94, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.testimonial-detail {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  padding: clamp(5rem, 12vw, 8rem) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-info { max-width: 480px; }

.contact-intro {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: start;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
}

.contact-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.35rem;
}

.contact-item p, .contact-item a {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.6;
  font-weight: 400;
}

.contact-item a:hover { color: var(--gold-dark); }

/* ===== FORM ===== */
.contact-form-wrap {
  max-width: 520px;
  width: 100%;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  padding: clamp(2rem, 4vw, 3rem);
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.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.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 1rem;
  font-weight: 300;
}

.form-success {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.form-success svg {
  margin: 0 auto 1.5rem;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 320px;
  font-weight: 300;
}

.footer-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  transition: color 0.25s ease;
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  font-size: 0.9375rem;
  color: var(--gold);
  font-weight: 400;
  transition: color 0.25s ease;
}

.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

/* ===== MOBILE NAV OVERLAY ===== */
.navbar-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  justify-content: flex-start;
  align-items: center;
  padding-top: 3rem;
  gap: 1.5rem;
  z-index: 999;
}

.navbar-links.mobile-open a {
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .patients-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial:last-child { grid-column: span 2; max-width: 50%; justify-self: center; }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-links.mobile-open { display: flex; }

  .hero-content { padding-top: 100px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

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

  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .about-image img { aspect-ratio: 16/10; }

  .patients-grid { grid-template-columns: 1fr; }
  .patient-card img { height: 200px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial:last-child { grid-column: span 1; max-width: 100%; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
