/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Nunito', sans-serif;
  color: #1a2a3a;
  background: #faf8f5;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Font pair ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.25; color: #0d2137; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Nunito', sans-serif; font-weight: 700;
  border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.3s ease;
  font-size: 1rem; padding: 14px 32px;
}
.btn-gold {
  background: #c8963e; color: #fff; border-color: #c8963e;
  box-shadow: 0 4px 20px rgba(200,150,62,0.35);
}
.btn-gold:hover { background: #b8872e; border-color: #b8872e; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,150,62,0.45); }
.btn-navy {
  background: #0d2137; color: #fff; border-color: #0d2137;
  box-shadow: 0 4px 20px rgba(13,33,55,0.3);
}
.btn-navy:hover { background: #162d45; border-color: #162d45; transform: translateY(-2px); }
.btn-outline-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline-navy {
  background: transparent; color: #0d2137; border-color: #0d2137;
}
.btn-outline-navy:hover { background: #0d2137; color: #fff; }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Section tag ── */
.section-tag {
  display: inline-block; font-weight: 800; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 2px; color: #c8963e;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem); margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem; color: #4a5568; max-width: 640px;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-desc { margin: 0 auto; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,33,55,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: #fff;
}
.nav-logo-icon { color: #c8963e; }
.nav-logo-sub { font-weight: 600; font-size: 0.85rem; color: #c8963e; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: rgba(255,255,255,0.85); transition: color 0.2s; }
.nav-links a:hover { color: #c8963e; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(145deg, #0a1a2e 0%, #0d2137 40%, #132d4a 100%);
  padding: 120px 0 80px; overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(200,150,62,0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(200,150,62,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-container { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-main-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px; padding: 52px 48px; backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,150,62,0.15); color: #c8963e;
  font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 8px 18px; border-radius: 50px; margin-bottom: 28px;
}
.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; margin-bottom: 20px;
  line-height: 1.15;
}
.hero-headline em { color: #c8963e; font-style: italic; }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,0.75); margin-bottom: 36px; line-height: 1.8; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Float cards */
.hero-float-cards { display: flex; flex-direction: column; gap: 16px; }
.float-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 22px 24px; backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: floatIn 0.6s ease both;
}
.float-card--1 { animation-delay: 0.2s; }
.float-card--2 { animation-delay: 0.4s; }
.float-card--3 { animation-delay: 0.6s; }
.float-card-icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(200,150,62,0.2); border-radius: 14px; color: #c8963e; }
.float-card-body { display: flex; flex-direction: column; }
.float-card-num { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: #fff; }
.float-card-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

@keyframes floatIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── Services ── */
.services { padding: 100px 0; background: #faf8f5; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border-radius: 24px; padding: 40px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.35s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #c8963e, #e0b060);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 24px;
  background: linear-gradient(135deg, #0d2137, #1a3a5c);
  display: flex; align-items: center; justify-content: center; color: #c8963e;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: #0d2137; }
.service-card p { color: #4a5568; font-size: 0.98rem; line-height: 1.75; }

/* ── About ── */
.about { padding: 100px 0; background: #f0ebe3; }
.about-container { display: grid; grid-template-columns: 520px 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.about-image img { width: 100%; height: 620px; object-fit: cover; }
.about-image-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(13,33,55,0.9); color: #fff; backdrop-filter: blur(8px);
  padding: 12px 22px; border-radius: 50px;
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem;
}
.about-content { display: flex; flex-direction: column; gap: 20px; }
.about-text { font-size: 1.05rem; color: #4a5568; line-height: 1.85; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.about-feature {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.about-feature-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #0d2137, #1a3a5c); display: flex; align-items: center; justify-content: center; color: #c8963e; }
.about-feature span { font-weight: 700; font-size: 0.92rem; color: #0d2137; }
.about-content .btn { align-self: flex-start; margin-top: 8px; }

/* ── Patients ── */
.patients { padding: 100px 0; background: #fff; }
.patients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.patient-card {
  background: #faf8f5; border-radius: 24px; padding: 44px 32px;
  border: 1px solid rgba(0,0,0,0.05); position: relative;
  transition: all 0.3s ease;
}
.patient-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.patient-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.patient-card-num {
  font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700;
  color: rgba(200,150,62,0.3); line-height: 1;
}
.patient-card-header h3 { font-size: 1.15rem; color: #0d2137; }
.patient-card p { color: #4a5568; font-size: 0.98rem; line-height: 1.75; }
.patient-card a { color: #c8963e; font-weight: 700; }
.patient-card a:hover { text-decoration: underline; }

/* ── CTA Banner ── */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(145deg, #0d2137, #1a3a5c);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 10% 50%, rgba(200,150,62,0.12) 0%, transparent 50%),
                    radial-gradient(circle at 90% 50%, rgba(200,150,62,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta-content { flex: 1; min-width: 280px; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 16px; }
.cta-text { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.8; max-width: 520px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Contact ── */
.contact { padding: 100px 0; background: #faf8f5; }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-desc { font-size: 1.05rem; color: #4a5568; margin-bottom: 36px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail { display: flex; gap: 18px; }
.contact-detail-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #0d2137, #1a3a5c);
  display: flex; align-items: center; justify-content: center; color: #c8963e;
}
.contact-detail strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; color: #c8963e; margin-bottom: 4px; }
.contact-detail p { color: #1a2a3a; font-size: 1rem; line-height: 1.7; }
.contact-detail a { color: #0d2137; font-weight: 700; }
.contact-detail a:hover { color: #c8963e; }

/* Form */
.contact-form-wrap {
  background: #fff; border-radius: 28px; padding: 44px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07); border: 1px solid rgba(0,0,0,0.05);
}
.contact-form-title { font-size: 1.5rem; margin-bottom: 28px; color: #0d2137; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; color: #0d2137; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border-radius: 14px;
  border: 2px solid #e8e4de; background: #faf8f5;
  font-family: 'Nunito', sans-serif; font-size: 1rem; color: #1a2a3a;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #c8963e; box-shadow: 0 0 0 4px rgba(200,150,62,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  text-align: center; padding: 32px 20px;
  animation: fadeIn 0.4s ease;
}
.form-success h4 { font-size: 1.4rem; margin: 12px 0 8px; color: #0d2137; }
.form-success p { color: #4a5568; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── Map ── */
.map-section { height: 320px; }

/* ── Footer ── */
.footer { background: #0a1a2e; color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 16px; }
.footer-logo span { color: #c8963e; font-weight: 600; font-size: 0.85rem; }
.footer-brand p { font-size: 0.95rem; line-height: 1.75; }
.footer-links strong, .footer-contact strong, .footer-hours strong {
  display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; color: #c8963e; margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: #c8963e; }
.footer-contact p, .footer-hours p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 4px; }
.footer-contact a { color: #c8963e; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.88rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bottom a:hover { color: #c8963e; }

/* ── Reveal (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); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-float-cards { flex-direction: row; flex-wrap: wrap; margin-top: 32px; }
  .float-card { flex: 1; min-width: 160px; }
  .about-container { grid-template-columns: 1fr; }
  .about-image { max-width: 520px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(13,33,55,0.97); backdrop-filter: blur(12px);
    flex-direction: column; padding: 32px 24px; gap: 20px;
    transform: translateY(-120%); transition: transform 0.35s ease;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .patients-grid { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-main-card { padding: 36px 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-container { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .about-features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
