/* =========================================================
   TOKENS
========================================================= */
:root {
  --ink: #14140f;
  --ink-soft: #4a4a42;
  --cream: #f7f5f0;
  --cream-deep: #efece3;
  --white: #ffffff;
  --gold: #b8933f;
  --gold-light: #e4c778;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebc59;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(20, 20, 15, 0.25);
  --shadow-sm: 0 8px 24px -12px rgba(20, 20, 15, 0.2);
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0; line-height: 1.6; color: var(--ink-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold-light); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { box-shadow: var(--shadow-sm); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--cream-deep); }
.btn-outline:hover { border-color: var(--gold); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.stars { color: var(--gold); letter-spacing: 2px; }

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20,20,15,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  flex-shrink: 0;
}
.brand-mark-light { background: var(--white); color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.02em; }
.brand-name em { font-style: normal; color: var(--gold); }
.brand-name-light { color: var(--white); }
.brand-sub { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.brand-sub-light { color: rgba(255,255,255,0.6); }

.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.main-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--cream-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* =========================================================
   HERO
========================================================= */
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.01em;
}
.hero-copy h1 .accent { color: var(--gold); font-style: italic; }
.hero-sub { font-size: 17px; margin: 22px 0 30px; max-width: 460px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); flex-wrap: wrap; }
.hero-meta .dot { opacity: 0.4; }

.hero-media { position: relative; }
.hero-media img,
.hero-media .img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute;
  left: -20px; bottom: 24px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  max-width: 260px;
}
.hero-badge .b-label { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; font-weight: 700;}
.hero-badge .b-name { display: block; font-family: var(--font-display); font-size: 19px; margin-bottom: 2px; }
.hero-badge .b-detail { display: block; font-size: 12px; color: var(--ink-soft); }

/* =========================================================
   ABOUT
========================================================= */
.about { padding: 40px 0 100px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img,
.about-media .img-placeholder { border-radius: var(--radius); width: 100%; aspect-ratio: 1/1; object-fit: cover; box-shadow: var(--shadow); }
.about-years {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--ink); color: var(--gold-light);
  padding: 18px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 30px;
  box-shadow: var(--shadow-sm);
}
.about-years span { display: block; font-family: var(--font-body); font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; margin-top: 2px;}
.about-copy h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 20px; }
.about-copy h2 em { font-style: italic; }
.about-copy h2 .highlight { color: var(--gold); font-style: italic; }
.about-copy p { font-size: 16px; margin-bottom: 30px; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: 14.5px;
}
.feature-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--cream-deep); color: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* =========================================================
   IMAGE PLACEHOLDER (shown wherever content.js has a blank image/photo)
========================================================= */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(
    135deg,
    var(--cream-deep),
    var(--cream-deep) 10px,
    #e6e2d6 10px,
    #e6e2d6 20px
  );
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  padding: 12px;
}

/* =========================================================
   DOCTORS
========================================================= */
.doctors { padding: 100px 0 60px; }
.doctors h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 46px; }
.doctors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.doctor-photo, .doctor-card .img-placeholder { width: 100%; height: 220px; object-fit: cover; }
.doctor-body { padding: 24px; }
.doctor-body h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 6px; }
.doctor-credentials { font-weight: 600; color: var(--gold); font-size: 13.5px; margin-bottom: 6px; }
.doctor-role { font-size: 14.5px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.doctor-detail { font-size: 13.5px; }

/* =========================================================
   SERVICES
========================================================= */
.services { padding: 100px 0; background: var(--cream-deep); }
.services h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 46px; max-width: 640px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card img,
.service-card .img-placeholder { width: 100%; height: 160px; object-fit: cover; }
.service-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-body h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.service-body p { font-size: 13.5px; flex: 1; }

/* =========================================================
   WHY US
========================================================= */
.why-us { background: var(--ink); color: var(--white); padding: 100px 0; }
.why-us-inner h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 46px; max-width: 640px; }
.why-us-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 30px;
}
.why-card h3 { font-family: var(--font-display); color: var(--gold-light); font-size: 30px; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.65); font-size: 14.5px; }

/* =========================================================
   REVIEWS
========================================================= */
.reviews { padding: 100px 0; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.reviews-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.reviews-head h2 .accent { color: var(--gold); }
.rating-card { display: flex; align-items: center; gap: 12px; background: var(--white); padding: 16px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.rating-number { font-family: var(--font-display); font-size: 34px; }
.rating-caption { display: block; font-size: 12px; color: var(--ink-soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.review-quote { font-size: 15px; color: var(--ink); font-style: italic; }
.review-person { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--cream-deep); }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--cream-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--gold); flex-shrink: 0; }
.review-name { font-weight: 700; font-size: 14px; display: block; }
.review-city { font-size: 12.5px; color: var(--ink-soft); }

/* =========================================================
   BOOKING
========================================================= */
.booking { background: var(--ink); color: var(--white); padding: 100px 0; }
.booking-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.booking-copy h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 18px; }
.booking-copy > p { color: rgba(255,255,255,0.65); font-size: 15.5px; margin-bottom: 26px; max-width: 420px; }
.booking-points { display: flex; flex-direction: column; gap: 12px; }
.booking-points li {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  padding-left: 22px;
  position: relative;
}
.booking-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold-light);
  font-weight: 700;
}

.booking-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.two-col > div { display: flex; flex-direction: column; gap: 6px; }
.booking-form label { font-size: 13px; font-weight: 600; color: var(--ink); }
.booking-form label span { color: #c0392b; margin-left: 2px; }
.booking-form input,
.booking-form select,
.booking-form textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cream-deep);
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus { border-color: var(--gold); }
.booking-form textarea { resize: vertical; font-family: var(--font-body); }
.form-note { font-size: 12.5px; color: var(--ink-soft); text-align: center; margin-top: -6px; }

/* =========================================================
   CONTACT
========================================================= */
.contact { padding: 100px 0; background: var(--cream-deep); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 420px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--white); border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow-sm); flex: 1; }
.contact-card h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 10px; }
.contact-card p { font-size: 14.5px; }
.contact-card a { color: var(--gold); font-weight: 600; font-size: 14px; display: inline-block; margin-top: 10px; }
.contact-phone-number { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-bottom: 2px; }
.contact-phone-caption { font-size: 12.5px; }
.hours-list li { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--cream-deep); }
.hours-list li:last-child { border-bottom: none; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.brand-footer { margin-bottom: 16px; }
.footer-blurb { max-width: 320px; font-size: 14px; color: rgba(255,255,255,0.55); }
.site-footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { font-size: 14px; color: rgba(255,255,255,0.65); }
.site-footer ul a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.45); }

/* =========================================================
   FLOATING WHATSAPP
========================================================= */
.floating-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55);
  transition: transform 0.15s ease;
}
.floating-whatsapp:hover { transform: scale(1.08); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid, .booking-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; inset: 72px 0 0 0; background: var(--cream); padding: 20px 32px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.2s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--cream-deep); font-size: 17px; }
  .header-phone { display: none; }
  #header-book-btn { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: -40px; margin-left: 16px; margin-right: 16px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
