:root {
  --navy: #0F2540;
  --navy-deep: #091A2E;
  --navy-light: #1A3A5C;
  --gold: #C8A45E;
  --gold-light: #E8D5A0;
  --gold-pale: #FDF6E3;
  --surface: #F7F5F0;
  --surface-warm: #FAF8F4;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-mid: #3D3D3D;
  --text-light: #6B6B6B;
  --border: #E8E4DC;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15,37,64,0.08);
  --shadow-lg: 0 12px 48px rgba(15,37,64,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page-wrapper { padding-top: 80px; }

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

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.2; }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: #D4AF6A;
  border-color: #D4AF6A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,164,94,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-nav {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 22px;
  font-size: 0.88rem;
}
.btn-nav:hover { background: #D4AF6A; transform: translateY(-1px); }

.btn-cta-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-cta-secondary:hover { background: var(--navy); color: var(--white); }

.btn-full { width: 100%; justify-content: center; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { flex-shrink: 0; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
#main-nav a:not(.btn) {
  padding: 8px 16px;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
}
#main-nav a:not(.btn):hover { color: var(--navy); background: rgba(15,37,64,0.06); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(200,164,94,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232,213,160,0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(26,58,92,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(200,164,94,0.15);
  border: 1px solid rgba(200,164,94,0.3);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 24px;
}
.gold-underline {
  position: relative;
  display: inline;
}
.gold-underline::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gold);
  border-radius: 3px;
  opacity: 0.7;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 36px;
}

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

.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.65);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item svg { opacity: 0.8; }

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

/* ── Services ── */
.services {
  padding: 100px 0 80px;
  background: var(--surface);
}
.services .section-label,
.services .section-title,
.services .section-desc { text-align: center; }
.services .section-desc { margin: 0 auto 56px; }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── About ── */
.about {
  padding: 80px 0 100px;
  background: var(--surface-warm);
}

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

.about-images {
  position: relative;
  min-height: 500px;
}
.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--surface-warm);
}
.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-sm);
  opacity: 0.3;
  z-index: -1;
}

.about-content .section-title { margin-bottom: 20px; }
.about-content > p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.value-item strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.value-item span {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Patient Info ── */
.patient-info {
  padding: 100px 0;
  background: var(--surface);
}
.patient-info .section-label,
.patient-info .section-title { text-align: center; }
.patient-info .section-title { margin-bottom: 56px; }

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

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.info-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.info-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}
.info-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-card ul li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.info-card ul li:last-child { border-bottom: none; }
.info-card ul li span:first-child { color: var(--text-mid); font-weight: 500; }
.info-card ul li span:last-child { color: var(--navy); font-weight: 600; }
.info-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }
.info-card address { font-style: normal; font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 8px; }

/* ── CTA ── */
.cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 50%, rgba(200,164,94,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 50%, rgba(232,213,160,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
}
.cta-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 20px;
}
.cta-text {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-actions .btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--surface-warm);
}

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

.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p {
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail svg { flex-shrink: 0; margin-top: 2px; }
.contact-detail strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-detail a,
.contact-detail span {
  color: var(--navy);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.contact-detail a:hover { color: var(--gold); }

.map-wrap { border-radius: var(--radius); overflow: hidden; }

/* ── Form ── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-title {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--surface);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200,164,94,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center;
  padding: 32px 20px;
}
.form-success svg { margin-bottom: 16px; }
.form-success h4 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-success p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-deep);
  padding: 56px 0 32px;
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 0.9rem; margin-top: 8px; max-width: 320px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-copy {
  font-size: 0.82rem;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }

/* ── 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.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  #main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(247,245,240,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  #main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  #main-nav ul {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  #main-nav a:not(.btn) { padding: 12px 16px; border-radius: var(--radius-sm); }
  #main-nav .btn-nav { text-align: center; margin-top: 8px; }

  .hero { min-height: 85vh; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { gap: 20px; }

  .services-grid { grid-template-columns: 1fr; }
  .services { padding: 72px 0 60px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-images { min-height: 360px; margin-bottom: 16px; }
  .about-img-float { right: -12px; bottom: -20px; }

  .info-grid { grid-template-columns: 1fr; }
  .patient-info { padding: 72px 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact { padding: 72px 0; }
  .contact-form-wrap { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .cta { padding: 72px 0; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 2rem; }
  .hero-badge { font-size: 0.75rem; }
}
