:root {
  --bg: #faf7f2;
  --bg-alt: #f2ece3;
  --surface: #ffffff;
  --ink: #2b2622;
  --muted: #6f665e;
  --line: #e6ddd1;
  --accent: #b08433;
  --accent-dark: #8a6420;
  --accent-soft: #f4ead6;
  --gold-gradient: linear-gradient(135deg, #d9b25a 0%, #b08433 50%, #8a6420 100%);
  --footer-bg: #2b2622;
  --footer-ink: #d9d0c6;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 38, 34, 0.07);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--gold-gradient); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--accent); color: var(--accent-dark); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-whatsapp { background: #25d366; color: #fff; width: 100%; }
.btn-whatsapp:hover { background: #1eb858; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 600;
  flex-shrink: 0;
}
.brand-logo { height: 58px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-serif); font-size: 21px; font-weight: 600; }
.brand-text small { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
}
.lang-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
}
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .brand-text strong { font-size: 18px; }
}

/* ===== Hero ===== */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 85% 20%, var(--accent-soft) 0, transparent 45%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero .lead { font-size: 18px; color: var(--muted); max-width: 580px; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.hero-card h2 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; margin-bottom: 16px; }

.info-list { list-style: none; margin: 0 0 20px; padding: 0; }
.info-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.info-list li:last-child { border-bottom: 0; }
.info-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.info-list a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--accent-dark); }

@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
}
.section-lead { color: var(--muted); margin-top: 16px; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.about-text p { font-size: 17px; color: var(--muted); }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.values li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.values h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 600; margin-bottom: 8px; color: var(--accent-dark); }
.values p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ===== Doctor ===== */
.doctor-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.doctor-photo { margin: 0; }
.doctor-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  background: var(--bg-alt);
}
.doctor-name { font-family: var(--font-serif); font-size: 36px; font-weight: 600; }
.doctor-name { margin-bottom: 18px; }
.doctor-bio { color: var(--muted); }
.cv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; margin-top: 28px; }
.cv-block h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cv-block ul { list-style: none; margin: 0; padding: 0; }
.cv-block li { position: relative; padding-left: 16px; margin-bottom: 8px; font-size: 15px; }
.cv-block li::before {
  content: "";
  position: absolute; left: 0; top: 0.7em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 900px) {
  .doctor-card { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .doctor-photo img { max-width: 360px; }
}
@media (max-width: 560px) { .cv-grid { grid-template-columns: 1fr; } }

/* ===== Procedures ===== */
.procedure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.procedure-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.procedure-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.procedure-num { font-family: var(--font-serif); font-size: 22px; color: var(--accent); font-weight: 600; }
.procedure-card h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 600; margin: 6px 0 10px; }
.procedure-card p { margin: 0; font-size: 15px; color: var(--muted); }
.procedure-card .procedure-list-label {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
}
.procedure-list { list-style: none; margin: 8px 0 0; padding: 0; }
.procedure-list li { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.5; margin-bottom: 5px; }
.procedure-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
.procedure-card .procedure-note {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink);
}
.disclaimer {
  margin: 36px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
}
.disclaimer h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.disclaimer p { margin: 0; font-size: 15px; color: var(--muted); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  background: var(--surface);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
}

/* ===== Footer ===== */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 64px 0 0; font-size: 15px; }
.site-footer a { color: var(--footer-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo {
  width: 140px;
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 16px;
}
.footer-brand {font-family: var(--font-serif); font-size: 26px; color: #fff; margin-bottom: 8px; }
.footer-muted { color: #a89d92; max-width: 340px; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; overflow-wrap: anywhere; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13px;
  color: #a89d92;
}
.footer-bottom p { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
