/* ─────────────────────────────────────────────
   TOKENS — PALETA CLÍNICA DRA. INGRID VARGAS
───────────────────────────────────────────── */
:root {
  --burgundy:  #900011;
  --deep:      #601E20;
  --accent:    #7C0110;
  --rose:      #FDF0F0;
  --ink:       #110303;
  --soft:      #1c0808;
  --line:      #f0dede;
  --gray:      #F5F0F0;
  --white:     #FFFFFF;
  --gold:      #c9a84c;

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius:    10px;
  --radius-lg: 18px;
  --shadow:    0 4px 24px rgba(96,30,32,0.10);
  --shadow-md: 0 8px 40px rgba(96,30,32,0.14);

  --nav-h: 88px;
}

/* ─────────────────────────────────────────────
   RESET + BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 450;
  color: #111;
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
}

body.lk-ready { opacity: 1; transition: opacity .2s ease; }
@media (prefers-reduced-motion: reduce) { body.lk-ready { transition: none; } }

/* Textos oscuros y legibles */
p            { color: #111; font-weight: 450; }
li           { color: #1a0808; }
.section-sub { color: #1a1a1a !important; font-size: 1.05rem; }
.faq-answer p { color: #111 !important; }
.servicio-desc, .servicio-card p { color: #1a1a1a !important; }
.sobre-bio p  { color: #111 !important; }

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─────────────────────────────────────────────
   ANIMACIONES
───────────────────────────────────────────── */
@keyframes float    { 0%,100%{ transform: translateY(0);     } 50%{ transform: translateY(-18px);   } }
@keyframes floatSlow{ 0%,100%{ transform: translateY(0);     } 50%{ transform: translateY(-10px);   } }
@keyframes spin     { from   { transform: rotate(0deg);       } to  { transform: rotate(360deg);     } }
@keyframes pulse    { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.5; transform:scale(.85); } }
@keyframes waPulse  { 0%,100%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);  }
                      70%    { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
@keyframes revealIn { from   { opacity:0; transform:translateY(28px); } to{ opacity:1; transform:none; } }
@keyframes ringPulse{ 0%,100%{ transform:scale(1); opacity:.6; }  50%{ transform:scale(1.08); opacity:.3; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─────────────────────────────────────────────
   REVEAL — Intersection Observer
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────────
   UTILITARIOS
───────────────────────────────────────────── */
.section-container {
  max-width: 1120px;
  margin-inline: auto;
  padding: 5rem 1.5rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: .75rem;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-sub {
  color: #2a2020;
  font-size: 1.05rem;
  max-width: 600px;
  margin-inline: auto;
}

/* Botones */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--burgundy);
  color: var(--white);
  padding: .9rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--deep); transform: translateY(-2px); }
.btn-primary span { color: #fff !important; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 2px solid var(--line);
  color: var(--ink);
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color: var(--burgundy); color: var(--burgundy); }

/* ─────────────────────────────────────────────
   1. HEADER
───────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}
.nav-container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo-link { flex-shrink: 0; }
.logo-img { height: 92px; width: auto; }

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--burgundy); }

.btn-cta-header {
  flex-shrink: 0;
  background: var(--burgundy);
  color: #fff;
  padding: .6rem 1.3rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  transition: background .2s;
}
.btn-cta-header:hover { background: var(--deep); }
/* Override de la regla genérica span { color: #1a0808 } */
.btn-cta-header span { color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s;
}

/* ─────────────────────────────────────────────
   2. HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fdf0f0 0%, #fce8e8 30%, #fff5f5 70%, #fffafa 100%);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}

.hero-bg-ring {
  position: absolute !important;
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 2px solid rgba(144,0,17,.06);
  top: 50%;
  right: -180px;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin-inline: auto;
  width: 100%;
  padding: 5rem 2rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* hero-content ocupa todo el espacio disponible */
.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--burgundy);
  animation: pulse 2s infinite;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--burgundy);
}

.hero-subheadline {
  font-size: 1.05rem;
  color: #1a0808;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .35rem .9rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--soft);
  box-shadow: 0 2px 8px rgba(96,30,32,.06);
}

/* Hero visual */
.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 650px;
  height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-outer {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1.5px dashed rgba(144,0,17,.18);
  animation: spin 26s linear infinite;
}
.ring-inner {
  position: absolute;
  width: 463px;
  height: 463px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fde8e8 0%, #fff0f0 100%);
  box-shadow: 0 8px 40px rgba(144,0,17,.12);
}

.hero-card {
  position: absolute;
  bottom: 40px;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 260px;
  animation: float 9s ease-in-out infinite;
}
.hero-card-icon {
  font-size: 1.5rem;
  color: var(--burgundy);
  line-height: 1;
}
.hero-card-text strong {
  display: block;
  font-size: .85rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}
.hero-card-text span {
  font-size: .73rem;
  color: var(--soft);
}

.hero-card-2 {
  position: absolute;
  top: 30px;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  animation: floatSlow 11s ease-in-out infinite;
}
.hero-card-2 p {
  font-size: .72rem;
  color: var(--soft);
  font-weight: 600;
}

.float      { animation: float 9s ease-in-out infinite; }
.float-slow { animation: floatSlow 11s ease-in-out infinite; }
.spin       { animation: spin 26s linear infinite; }

/* ─────────────────────────────────────────────
   3. STATS
───────────────────────────────────────────── */
.stats {
  background: linear-gradient(135deg, #601E20 0%, #900011 55%, #3d0a0c 100%);
  padding: 3.5rem 1.5rem;
}
.stats-container {
  max-width: 1000px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: .5rem;
  color: var(--white);
}
.stat-unit {
  font-size: 60%;
  vertical-align: super;
}
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
}

/* ─────────────────────────────────────────────
   4. PROCESO
───────────────────────────────────────────── */
.proceso { background: linear-gradient(135deg, #fffafa 0%, #fff 50%, #fdf0f0 100%); }

.pasos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.paso {
  position: relative;
  padding: 1.75rem;
  background: var(--rose);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.paso:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.2rem;
  right: -1.15rem;
  width: 1.5rem;
  height: 2px;
  background: var(--line);
}
.paso-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
  margin-bottom: .75rem;
}
.paso h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: .5rem;
}
.paso p {
  font-size: .88rem;
  color: var(--soft);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   5. SERVICIOS
───────────────────────────────────────────── */
.servicios { background: linear-gradient(145deg, #f5f0f0 0%, #fce8e8 100%); }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.servicio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow .25s, transform .25s;
}
.servicio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.servicio-icon {
  width: 52px;
  height: 52px;
  background: var(--rose);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  flex-shrink: 0;
}
.servicio-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--deep);
}
.servicio-card p {
  font-size: .88rem;
  color: var(--soft);
  line-height: 1.65;
  flex: 1;
}
.servicio-features {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.servicio-features li {
  font-size: .8rem;
  color: var(--soft);
  padding-left: 1.1rem;
  position: relative;
}
.servicio-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--burgundy);
  font-size: .75rem;
  font-weight: 700;
}
.btn-servicio {
  display: inline-block;
  margin-top: auto;
  border: 1.5px solid var(--burgundy);
  color: var(--burgundy);
  padding: .6rem 1.1rem;
  border-radius: var(--radius);
  font-size: .83rem;
  font-weight: 600;
  text-align: center;
  transition: background .2s, color .2s;
}
.btn-servicio:hover { background: var(--burgundy); color: var(--white); }

/* ─────────────────────────────────────────────
   6. TESTIMONIOS
───────────────────────────────────────────── */
.testimonios { background: linear-gradient(160deg, #ffffff 0%, #fdf0f0 100%); }

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.testimonio-card {
  background: var(--rose);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.stars { display: flex; gap: 3px; }
.testimonio-card blockquote {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  flex: 1;
}
.testimonio-autor {
  display: flex;
  align-items: center;
  gap: .75rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.autor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.testimonio-autor strong {
  display: block;
  font-size: .9rem;
  color: var(--ink);
}
.testimonio-autor span {
  font-size: .75rem;
  color: var(--soft);
}

.testimonios-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--soft);
}

/* ─────────────────────────────────────────────
   7. FAQ
───────────────────────────────────────────── */
.faq { background: linear-gradient(145deg, #f5f0f0 0%, #fce8e8 100%); }

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color .2s;
}
.faq-question:hover { color: var(--burgundy); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform .3s;
  color: var(--soft);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--burgundy); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: .9rem;
  color: var(--soft);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ─────────────────────────────────────────────
   8. AGENDA / CALENDAR
───────────────────────────────────────────── */
.agenda { background: linear-gradient(135deg, #ffffff 0%, #fff5f5 60%, #fdf0f0 100%); }

.calendar-wrapper {
  max-width: 680px;
  margin-inline: auto;
  background: var(--rose);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.cal-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--deep);
}
.cal-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 1.3rem;
  color: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.cal-btn:hover { background: var(--burgundy); color: var(--white); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 1.5rem;
}
.cal-day-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--soft);
  padding: .4rem 0;
  text-transform: uppercase;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: .85rem;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cal-day.empty   { pointer-events: none; }
.cal-day.past    { color: #ccc; pointer-events: none; }
.cal-day.today   { font-weight: 700; color: var(--burgundy); border: 1.5px solid var(--burgundy); }
.cal-day.sunday  { color: #bbb; pointer-events: none; }
.cal-day.available:hover,
.cal-day.selected {
  background: var(--burgundy);
  color: var(--white);
}
.cal-day.selected { font-weight: 700; }

/* Franjas de tiempo */
.time-slots { margin-top: .5rem; }
.time-slots-hint {
  text-align: center;
  font-size: .85rem;
  color: var(--soft);
  padding: 1rem 0;
}
.time-slots-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: .75rem;
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.slot-btn {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: .55rem .5rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--soft);
  text-align: center;
  transition: background .15s, color .15s, border-color .15s;
}
.slot-btn:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

/* ─────────────────────────────────────────────
   9. FOOTER
───────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--white); }
.footer-container {
  max-width: 1120px;
  margin-inline: auto;
  padding: 4rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-logo { height: 80px; width: auto; filter: brightness(10) grayscale(1); margin-bottom: .75rem; }
.footer-tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
}
.footer-socials { display: flex; gap: .75rem; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: border-color .2s, color .2s;
}
.footer-socials a:hover { border-color: var(--burgundy); color: var(--white); }

.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col li a, .footer-col li {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
  line-height: 1.5;
}
.footer-col li a:hover { color: var(--white); }
.footer-contact li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}
.footer-contact svg { flex-shrink: 0; margin-top: 3px; opacity: .5; }

.footer-bottom {
  background: #1a0808;
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 1120px;
  margin-inline: auto;
  padding: 1.5rem 1.5rem;
  font-size: .78rem;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.footer-powered {
  font-size: .88rem;
  color: #ffffff;
}
.footer-powered a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.footer-powered a:hover { color: rgba(255,255,255,.6); }

/* ─────────────────────────────────────────────
   BOTÓN WHATSAPP FLOTANTE
───────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  animation: waPulse 2.5s ease-out infinite;
}
.wa-float:hover { background: #1da851; }
.wa-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.35);
  animation: ringPulse 2s ease-in-out infinite;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container       { flex-direction: column; padding: 4rem 2rem; }
  .hero-visual          { display: none; }
  .pasos-grid           { grid-template-columns: repeat(2, 1fr); }
  .paso:not(:last-child)::after { display: none; }
  .servicios-grid       { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid     { grid-template-columns: 1fr; }
  .stats-container      { grid-template-columns: repeat(2, 1fr); }
  .footer-container     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links, .btn-cta-header { display: none; }
  .nav-toggle { display: flex; }

  /* Nav móvil desplegable */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--white);
    align-items: center;
    justify-content: flex-start;
    padding-top: 2.5rem;
    gap: 2rem;
    z-index: 99;
  }
  .nav-links.open + .btn-cta-header {
    display: flex;
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
  }

  .hero-container { padding: 3.5rem 1.25rem; }
  .hero-headline  { font-size: 2rem; }
  .pasos-grid     { grid-template-columns: 1fr; }
  .servicios-grid { grid-template-columns: 1fr; }
  .stats-container{ grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr; }
  .slots-grid     { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .trust-chips  { gap: .4rem; }
  .hero-ctas    { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .slots-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────────
   FOTO HERO — Dra. Ingrid
───────────────────────────────────────────── */
.ring-inner {
  overflow: hidden;
}
.dra-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  display: block;
}

/* ─────────────────────────────────────────────
   SECCIÓN UBICACIÓN — Google Maps
───────────────────────────────────────────── */
.ubicacion { background: linear-gradient(145deg, #f5f0f0 0%, #fce8e8 100%); }

.mapa-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
.mapa-wrapper iframe {
  box-shadow: var(--shadow-md);
  width: 100%;
}
.mapa-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.mapa-dato {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.mapa-dato svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--burgundy);
}
.mapa-dato span {
  font-size: .9rem;
  color: var(--soft);
  line-height: 1.55;
}
.mapa-dato strong { color: var(--ink); }

.btn-mapa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--burgundy);
  color: var(--white);
  padding: .75rem 1.3rem;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  margin-top: .5rem;
  transition: background .2s;
  width: fit-content;
}
.btn-mapa:hover { background: var(--deep); }
/* Override de la regla genérica span { color } */
.btn-mapa span { color: #fff !important; }

@media (max-width: 860px) {
  .mapa-wrapper { grid-template-columns: 1fr; }
  .mapa-wrapper iframe { height: 300px; }
}

/* ─────────────────────────────────────────────
   PARTICLES CANVAS
───────────────────────────────────────────── */
.particles-canvas {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.stats { position: relative; overflow: hidden; }
.stats-container { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────
   SECCIÓN SOBRE
───────────────────────────────────────────── */
.sobre { background: linear-gradient(160deg, #ffffff 0%, #fff5f5 60%, #fdf0f0 100%); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: center;
}
.sobre-foto-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.sobre-foto-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.sobre-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  margin: .5rem 0 1.25rem;
  line-height: 1.2;
}
.sobre-texto {
  font-size: .95rem;
  color: var(--soft);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.sobre-puntos {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin: 1.5rem 0 2rem;
}
.sobre-punto {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--soft);
  line-height: 1.5;
}
.sobre-punto svg {
  flex-shrink: 0;
  color: var(--burgundy);
  margin-top: 2px;
}

/* ─────────────────────────────────────────────
   SECCIÓN GALERÍA
───────────────────────────────────────────── */
.galeria { background: var(--rose); padding: 0; overflow: hidden; }

.galeria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  height: 380px;
}
.galeria-item {
  overflow: hidden;
  position: relative;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .6s ease;
}
.galeria-item:hover img { transform: scale(1.05); }
.galeria-item--tall img { object-position: top center; }

/* stat labels brighter */
.stat-label { color: rgba(255,255,255,.88); }

/* footer text brighter */
.footer-col li, .footer-col li a { color: rgba(255,255,255,.82); }

/* ─────────────────────────────────────────────
   RESPONSIVE v2
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sobre-foto-wrap { aspect-ratio: 16/9; }
  .galeria-grid { grid-template-columns: 1fr 1fr; height: 300px; }
  .galeria-item:last-child { display: none; }
}
@media (max-width: 720px) {
  .galeria-grid { grid-template-columns: 1fr; height: auto; }
  .galeria-item { height: 240px; display: block; }
  .galeria-item:last-child { display: block; }
  .btn-lang { font-size: .72rem; padding: .25rem .6rem; }
}


/* ─── V2: FUENTE OSCURA, PESO 500 ─── */
body { font-weight: 500; }

p, li, span, blockquote, .chip, .faq-answer p,
.hero-subheadline, .section-sub, .servicio-card p,
.paso p, .sobre-texto, .servicio-features li,
.mapa-dato span, .testimonio-autor span {
  color: #1a0808;
  font-weight: 500;
}

.hero-subheadline   { color: #111; }
.section-sub        { color: #111; }
.faq-answer p       { color: #111; }
.servicio-card p    { color: #222; }
.paso p             { color: #222; }
.sobre-texto        { color: #222; }

/* stats section texto blanco claro */
.stat-label         { color: rgba(255,255,255,.95) !important; font-weight: 500; }
.stat-number        { color: #fff !important; }

/* footer */
.footer-col li,
.footer-col li a    { color: rgba(255,255,255,.92); font-weight: 400; }

/* testimonios blockquote */
.testimonio-card blockquote { color: #111; font-weight: 500; }

/* particles-canvas rules consolidated above */

/* ─────────────────────────────────────────────
   LANGUAGE TOGGLE
───────────────────────────────────────────── */
.btn-lang {
  background: transparent;
  border: 1.5px solid var(--burgundy);
  color: var(--burgundy);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .3rem .75rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.btn-lang:hover {
  background: var(--burgundy);
  color: var(--white);
}


/* ══════════════════════════════════════════
   SHOWCASE — CARRUSEL SEÑORITA PANAMÁ
══════════════════════════════════════════ */
.showcase {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #3d0a0c 0%, #601E20 40%, #900011 100%);
  color: var(--white);
  overflow: hidden;
}
.showcase .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.showcase .section-tag { color: rgba(255,255,255,.5); }
.showcase h2 { color: var(--white); }
.showcase .section-sub {
  color: rgba(255,255,255,.88) !important;
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 1rem;
  line-height: 1.65;
}

/* Carousel wrapper */
.carousel-outer {
  position: relative;
  padding: 0 56px;
}
.carousel-track-wrap { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.car-slide {
  flex: 0 0 calc(100% / 3);
  padding: 0 8px;
  box-sizing: border-box;
}
.car-slide img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  pointer-events: none;
  filter: brightness(.92);
  transition: filter .3s;
}
.car-slide:hover img { filter: brightness(1); }

/* Prev / Next buttons */
.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.14);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.car-btn:hover { background: var(--burgundy); }
.car-prev { left: 6px; }
.car-next { right: 6px; }

/* Dots */
.car-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.car-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.car-dot.active {
  background: var(--burgundy);
  transform: scale(1.35);
}

@media (max-width: 768px) {
  .car-slide { flex: 0 0 50%; }
  .car-slide img { height: 220px; }
  .carousel-outer { padding: 0 44px; }
}
@media (max-width: 480px) {
  .car-slide { flex: 0 0 100%; }
  .car-slide img { height: 260px; }
  .carousel-outer { padding: 0 36px; }
}

/* ─────────────────────────────────────────────
   SECCIÓN RESULTADOS — ANTES / DESPUÉS
───────────────────────────────────────────── */
#resultados {
  background: var(--gray);
  padding: 5rem 1.5rem;
}
.comp-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}
.comp-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.comp-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: ew-resize;
  user-select: none;
  box-shadow: var(--shadow-md);
}
.comp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}
.comp-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}
.comp-clip .comp-img-antes {
  width: calc(100vw);   /* se recorta por overflow:hidden del padre */
  max-width: none;
  min-width: 100%;
}
.comp-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,.9);
  transform: translateX(-50%);
  pointer-events: none;
}
.comp-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
  border: 2px solid rgba(255,255,255,.5);
}
.comp-tag {
  position: absolute;
  bottom: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}
.comp-tag-antes   { left: 12px;  background: rgba(0,0,0,.6);         color: #fff; }
.comp-tag-despues { right: 12px; background: rgba(255,255,255,.92);  color: #222; }
.comp-tratamiento {
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: .02em;
}

@media (max-width: 900px) {
  .comp-track { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .comp-track { grid-template-columns: 1fr; max-width: 420px; }
  #resultados { padding: 3.5rem 1.5rem; }
}
