/* =========================================================
   Dra. Nadia Salazar — Sitio web premium
   Paleta: aubergine #2C2A4A · champagne #B08968 · crema #F5EDE0
   ========================================================= */

:root {
  --primary: #2C2A4A;
  --primary-soft: #3a3760;
  --accent: #B08968;
  --accent-dark: #927055;
  --cream: #F5EDE0;
  --cream-soft: #FAF5EE;
  --ink: #1F1B2E;
  --meta: #7A6E5D;
  --rule: #E6DCC9;
  --white: #FFFFFF;
  --shadow-soft: 0 18px 40px -22px rgba(31, 27, 46, 0.25);
  --shadow-card: 0 24px 60px -28px rgba(31, 27, 46, 0.35);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 8px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
button { font: inherit; cursor: pointer; background: none; border: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff;
  padding: .5rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Headings */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--primary); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
em { font-style: italic; color: var(--accent); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: .9rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 245, 238, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(250, 245, 238, 0.96);
  border-bottom-color: var(--rule);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .9rem; padding-bottom: .9rem;
  gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .65rem; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--serif); font-size: 1.1rem; color: var(--primary); font-weight: 600; }
.logo-sub { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); }

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav ul { display: flex; gap: 1.6rem; list-style: none; }
.primary-nav a {
  font-size: .85rem; color: var(--primary); font-weight: 500;
  position: relative;
}
.primary-nav a:hover { color: var(--accent-dark); }
.nav-cta {
  display: inline-block; padding: .65rem 1.25rem;
  background: var(--primary); color: var(--cream);
  border-radius: var(--radius);
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
}
.nav-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none; width: 36px; height: 36px;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--primary);
  transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--cream-soft); border-bottom: 1px solid var(--rule);
    flex-direction: column; gap: 0; padding: 1rem var(--pad) 1.5rem;
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: transform .35s ease, opacity .25s ease;
  }
  .primary-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav ul { flex-direction: column; width: 100%; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--rule); }
  .primary-nav a { display: block; padding: 1rem 0; }
  .nav-cta { display: block; margin-top: 1rem; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid; align-items: end;
  color: var(--cream);
  padding-top: 7rem; padding-bottom: 4rem;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 27, 46, 0.25) 0%, rgba(31, 27, 46, 0.78) 100%);
}
.hero-content { max-width: 720px; }
.hero-eyebrow {
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 1.2rem;
}
.hero-title {
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500; margin-bottom: 1.5rem;
}
.hero-title em { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 1.125rem; max-width: 560px; color: rgba(245, 237, 224, 0.92); margin-bottom: 2rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.5rem; }
.hero-creds {
  display: flex; flex-wrap: wrap; gap: 2rem; list-style: none;
  padding-top: 1.5rem; border-top: 1px solid rgba(176, 137, 104, 0.4);
}
.hero-creds li { display: flex; flex-direction: column; }
.hero-creds strong { font-family: var(--serif); font-size: 1.4rem; color: var(--cream); font-weight: 500; }
.hero-creds span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 237, 224, 0.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .95rem 1.8rem;
  font-size: .9rem; font-weight: 500; letter-spacing: .04em;
  border-radius: var(--radius);
  transition: all .3s ease;
  border: 1px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--cream); color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.btn-ghost { color: var(--cream); border-color: rgba(245, 237, 224, 0.5); }
.btn-ghost:hover { background: var(--cream); color: var(--primary); }
.btn-block { display: block; width: 100%; }

/* ---------- Promise ---------- */
.promise {
  background: var(--white);
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-bottom: 1px solid var(--rule);
}
.promise-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.promise article { padding-right: 1rem; }
.promise .num {
  display: block; font-family: var(--serif); font-size: 2rem;
  color: var(--accent); margin-bottom: .8rem; font-weight: 500;
}
.promise h3 { color: var(--primary); margin-bottom: .8rem; }
.promise p { color: var(--ink); font-size: 1rem; }

/* ---------- About ---------- */
.about { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--cream-soft); }
.about-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text .lead { font-size: 1.2rem; color: var(--primary-soft); margin-bottom: 1.2rem; font-family: var(--serif); font-style: italic; }
.about-text p { margin-bottom: 1.1rem; color: var(--ink); }
.about-text strong { color: var(--primary); font-weight: 600; }
.cred-list { list-style: none; margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.cred-list li { display: flex; flex-direction: column; padding: .75rem 0; border-top: 1px solid var(--rule); }
.cred-list span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); margin-bottom: .25rem; }
.cred-list strong { font-family: var(--serif); font-size: 1.05rem; color: var(--primary); font-weight: 600; }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-lead { font-size: 1.1rem; color: var(--meta); }

/* ---------- Procedures ---------- */
.procedures { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proc-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.proc-card {
  background: var(--cream-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  border: 1px solid var(--rule);
}
.proc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.proc-img { aspect-ratio: 4/3; overflow: hidden; }
.proc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proc-card:hover .proc-img img { transform: scale(1.04); }
.proc-card h3 { padding: 1.5rem 1.5rem .5rem; }
.proc-card p { padding: 0 1.5rem 1.75rem; color: var(--ink); font-size: .95rem; line-height: 1.6; }

/* ---------- Philosophy ---------- */
.philosophy {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--primary);
  color: var(--cream);
}
.philosophy h2, .philosophy .eyebrow { color: var(--accent); }
.philosophy h2 { color: var(--cream); }
.phil-grid { display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.phil-item { padding: 1.5rem 0; border-top: 1px solid rgba(176, 137, 104, 0.35); }
.phil-item span { font-family: var(--serif); font-size: 1.4rem; color: var(--accent); display: block; margin-bottom: .6rem; }
.phil-item h3 { color: var(--cream); margin-bottom: .5rem; font-size: 1.15rem; font-weight: 600; }
.phil-item p { color: rgba(245, 237, 224, 0.8); font-size: .92rem; line-height: 1.55; }

/* ---------- Experience ---------- */
.experience { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--cream-soft); }
.exp-grid {
  display: grid; gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
@media (max-width: 800px) { .exp-grid { grid-template-columns: 1fr; } }
.exp-text h2 { margin-bottom: 1.5rem; }
.exp-text > p { font-size: 1.1rem; color: var(--ink); margin-bottom: 1.5rem; }
.exp-list { list-style: none; margin-bottom: 2rem; }
.exp-list li {
  padding: 1rem 0; border-top: 1px solid var(--rule);
  font-size: 1rem;
}
.exp-list li:last-child { border-bottom: 1px solid var(--rule); }
.exp-list strong { color: var(--primary); font-weight: 600; display: block; font-size: 1.05rem; margin-bottom: .15rem; font-family: var(--serif); }
.price-card {
  padding: 1.75rem; border-radius: var(--radius-lg);
  background: var(--primary); color: var(--cream);
  margin-bottom: 1.75rem;
}
.price-label { font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem; }
.price-amount { font-family: var(--serif); font-size: 3.5rem; line-height: 1; color: var(--cream); margin-bottom: .65rem; font-weight: 500; }
.price-amount span { font-size: 1rem; color: rgba(245, 237, 224, 0.7); margin-left: .35rem; }
.price-note { font-size: .9rem; color: rgba(245, 237, 224, 0.85); line-height: 1.5; }
.exp-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* ---------- Manifesto ---------- */
.manifesto {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.manifesto blockquote { max-width: 760px; margin: 0 auto; }
.manifesto p {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic; color: var(--primary); line-height: 1.4; margin-bottom: 1rem;
}
.manifesto cite {
  display: block; font-style: normal;
  font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent-dark);
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--cream-soft); }
.faq-list { max-width: 880px; }
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 0;
  transition: background .3s ease;
}
.faq summary {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
  color: var(--primary); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: 0 0 auto;
  width: 14px; height: 14px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .35s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin-top: 1rem; color: var(--ink); line-height: 1.65; max-width: 760px; }

/* ---------- Contact ---------- */
.contact { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--white); }
.contact-grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr 1.2fr;
  align-items: stretch;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: clamp(1.75rem, 4vw, 2.5rem); background: var(--cream-soft); border-radius: var(--radius-lg); border: 1px solid var(--rule); }
.contact-card h2 { margin-bottom: 1rem; }
.contact-card .lead { font-size: 1.05rem; color: var(--ink); margin-bottom: 2rem; }
.contact-item {
  display: grid; grid-template-columns: 1fr 2fr; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid var(--rule);
  font-size: .96rem;
}
.contact-item span:first-child { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); padding-top: .15rem; }
.contact-item a { color: var(--primary); font-weight: 500; }
.contact-item a:hover { color: var(--accent-dark); }
.contact-card .btn { margin-top: 2rem; }
.contact-map {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 420px;
  border: 1px solid var(--rule);
}
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary); color: rgba(245, 237, 224, 0.8);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  font-size: .9rem;
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(176, 137, 104, 0.25);
}
.footer-name { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); margin-bottom: .25rem; font-weight: 500; }
.footer-spec { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-creds { font-size: .85rem; color: rgba(245, 237, 224, 0.65); margin-bottom: .35rem; }
.footer-h { font-family: var(--serif); color: var(--cream); margin-bottom: .85rem; font-size: 1.1rem; font-weight: 500; }
.site-footer a { color: rgba(245, 237, 224, 0.85); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .78rem; color: rgba(245, 237, 224, 0.55);
}
.disclaimer { max-width: 540px; font-style: italic; }

/* ---------- WhatsApp Float ---------- */
.float-wa {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  background: #25D366; color: #fff;
  padding: .9rem 1.4rem .9rem 1.1rem;
  border-radius: 999px;
  display: flex; align-items: center; gap: .55rem;
  font-weight: 500; font-size: .92rem;
  box-shadow: 0 18px 40px -8px rgba(37, 211, 102, 0.5);
  transition: transform .3s ease, box-shadow .3s ease;
}
.float-wa:hover { transform: translateY(-2px); box-shadow: 0 22px 45px -8px rgba(37, 211, 102, 0.65); }
@media (max-width: 600px) {
  .float-wa span { display: none; }
  .float-wa { padding: 1rem; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Print ---------- */
@media print {
  .site-header, .float-wa, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
