:root {
  --navy: #1E3A5F;
  --navy-light: #5D7A99;
  --gold: #D4A24C;
  --bg: #FAF9F6;
  --white: #ffffff;
  --text: #2A2A2A;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--white);
}
.site-header a:focus-visible, .mobile-nav summary:focus-visible { outline-offset: 2px; }
section[id], footer[id] { scroll-margin-top: 92px; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-wrap: balance;
}

.accent { color: #2F6FB0; font-style: italic; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--white); box-shadow: 0 4px 16px rgba(37,211,102,.25); }
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 6px 22px rgba(212,162,76,.5); }

.urgencia-caption { font-size: .78rem; color: var(--navy-light); margin-top: 20px; margin-bottom: -12px; }
.urgencia-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(193, 68, 55, .08);
  color: #C14437;
  font-weight: 700;
  font-size: .82rem;
  transition: background .2s ease;
}
.urgencia-badge svg { width: 14px; height: 14px; }
.urgencia-badge:hover { background: rgba(193, 68, 55, .14); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}
.logo { height: 58px; flex: none; }
.mobile-nav { display: none; }
.nav { display: flex; gap: 32px; font-weight: 500; font-size: .92rem; white-space: nowrap; }
.nav a { transition: color .2s; }
.nav-cta { flex: none; }
@media (max-width: 1100px) { .nav { gap: 20px; font-size: .88rem; } }
@media (max-width: 940px) { .nav a[href="#instagram"], .nav a[href="#resenas"] { display: none; } }
.nav a:hover { color: var(--gold); }
.nav-cta { padding: 9px 20px; font-size: .88rem; }

@media (max-width: 760px) {
  .header-inner { position: relative; gap: 12px; padding: 8px 16px; }
  .logo { height: 42px; max-width: 138px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; margin-left: auto; }
  .mobile-nav > summary {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 8px;
    color: var(--navy);
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
  }
  .mobile-nav > summary::-webkit-details-marker { display: none; }
  .mobile-nav > summary span { font-size: 1.2rem; line-height: 1; }
  .mobile-nav .nav { display: none; }
  .mobile-nav[open] .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: min(280px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid rgba(30,58,95,.1);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 16px 40px rgba(30,58,95,.16);
    white-space: normal;
  }
  .mobile-nav[open] .nav a { padding: 12px; border-radius: 8px; }
  .mobile-nav[open] .nav a[href="#instagram"], .mobile-nav[open] .nav a[href="#resenas"] { display: block; }
  .mobile-nav[open] .nav a:hover { background: var(--bg); }
  .nav-cta { padding: 9px 12px; }
}

/* Hero */
.hero { background: var(--bg); text-align: center; }
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 24px 80px;
}
.hero-logo { width: 270px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 14px; max-width: 700px; text-wrap: balance; }
.hero-sub { color: var(--navy-light); font-size: clamp(.92rem, 3.2vw, 1.1rem); margin-bottom: 22px; text-wrap: balance; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(30,58,95,.15);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 36px;
  transition: background .2s ease, border-color .2s ease;
}
.chip:hover { background: var(--bg); border-color: rgba(30,58,95,.3); }
.hero-actions { display: flex; align-items: flex-start; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero-cta-group { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-cta-group .btn { width: 100%; justify-content: center; }
.hero-actions > a.btn { align-self: flex-start; }
.hero-cta-note { font-size: .78rem; color: var(--navy-light); }

/* Horarios */
.horarios { padding: 100px 24px; text-align: center; }
.horarios h2 { font-size: 2.2rem; margin-bottom: 40px; }
.horarios-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(30,58,95,.08);
  border-radius: 20px;
  padding: 8px 32px;
  box-shadow: 0 20px 40px rgba(30,58,95,.1);
  text-align: left;
}
.horario-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(30,58,95,.08);
}
.horario-row:last-child { border-bottom: none; }
.horario-dia { font-weight: 600; color: var(--navy); }
.horario-rango { color: var(--navy-light); font-size: .92rem; text-align: right; }
.horario-cerrado .horario-rango { font-style: italic; }
.horarios-nota { margin: 28px auto 0; max-width: 460px; color: var(--navy-light); font-size: .82rem; }

/* Servicios */
.servicios { padding: 100px 24px; text-align: center; }
.servicios h2 { font-size: 2.2rem; }
.section-sub { color: var(--navy-light); margin: 14px auto 56px; max-width: 480px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}
.card {
  padding: 32px 28px;
  border-radius: 20px;
  transition: background .25s ease;
}
.card:hover { background: var(--bg); }
.card .icon { width: 34px; height: 34px; color: var(--navy); margin-bottom: 18px; transition: color .25s ease; }
.card:hover .icon { color: var(--gold); }
.card h3 { font-size: 1.35rem; margin-bottom: 8px; font-weight: 500; }
.card p { color: var(--navy-light); font-size: .92rem; }
.section-more { margin-top: 48px; color: var(--navy-light); font-weight: 500; }

/* FAQ */
.faq { padding: 100px 24px; background: var(--bg); text-align: center; }
.faq h2 { font-size: 2.2rem; margin-bottom: 40px; }
.faq-list { max-width: 680px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: 16px;
  padding: 4px 24px;
  box-shadow: 0 12px 30px rgba(30,58,95,.08);
}
.faq-item summary {
  padding: 18px 0;
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--gold); font-weight: 700; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--navy-light); font-size: .92rem; padding-bottom: 18px; }

/* Instagram */
.instagram { padding: 100px 24px; background: var(--bg); }
.instagram-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}
.instagram-text { flex: 1; min-width: 280px; }
.instagram-text h2 { font-size: 2rem; margin-bottom: 16px; }
.instagram-text p { color: var(--navy-light); margin-bottom: 16px; max-width: 420px; }
.instagram-text p.ig-handle-text {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 24px;
}

.ig-card {
  width: 100%;
  max-width: 420px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(30,58,95,.18);
}
.ig-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
}
.ig-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--bg);
  padding: 5px;
  border: 1px solid rgba(0,0,0,.08);
}
.ig-handle { font-size: .85rem; font-weight: 700; color: #0b0b0c; }
.ig-follow-btn {
  margin-left: auto;
  background: #3897F0;
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 100px;
}
.ig-card-grid {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.ig-card-grid behold-widget { display: block; width: 100%; height: 100%; }

/* Ubicacion */
.ubicacion { padding: 100px 24px; }
.ubicacion-header { text-align: center; margin-bottom: 48px; }
.ubicacion-header h2 { font-size: 2rem; }
.ubicacion-header p { margin: 14px 0 26px; color: var(--navy-light); }
.ubicacion-header .hero-actions { justify-content: center; }
.ubicacion-media {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.ubicacion-media > * { flex: 1; min-width: 300px; }
.ubicacion-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(30,58,95,.14);
  height: 340px;
}
.ubicacion-photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ubicacion-photo-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 22px;
  background: linear-gradient(0deg, rgba(30,58,95,.75), transparent);
  color: var(--white);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
}
.map {
  height: 340px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(30,58,95,.14);
}

/* Resenas */
.resenas {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 110px 24px;
}
.resenas h2 { color: var(--white); font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 16px; text-wrap: balance; }
.resenas p { color: rgba(255,255,255,.75); max-width: 480px; margin: 0 auto 36px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding: 50px 24px 24px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-logo { height: 58px; margin-bottom: 14px; }
.footer-contact p { margin: 6px 0 16px; opacity: .85; font-size: .9rem; }
.footer-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-buttons .btn { padding: 9px 18px; font-size: .85rem; }
.footer-note { text-align: center; opacity: .5; margin-top: 36px; font-size: .8rem; }
.footer-note a { text-decoration: underline; }
.footer-note a:hover { opacity: .8; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  z-index: 200;
}

.hidden { display: none !important; }


@media (max-width: 640px) {
  .whatsapp-float { right: 18px; }
  .hero-sub { max-width: 260px; margin-left: auto; margin-right: auto; }
  .instagram-inner { justify-content: center; text-align: center; }
  .instagram-text p { margin-left: auto; margin-right: auto; }
  .instagram-meta { justify-content: center; }

  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .hero-cta-group { width: 100%; max-width: 320px; }
  .hero-actions > a.btn { align-self: center; width: 100%; max-width: 320px; justify-content: center; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .footer-contact { display: flex; flex-direction: column; align-items: center; }
  .footer-buttons { justify-content: center; }
  .footer-note { margin-top: 28px; }
}

@media (max-width: 360px) {
  .header-inner { gap: 6px; padding-right: 12px; padding-left: 12px; }
  .logo { max-width: 108px; height: auto; }
  .mobile-nav > summary { gap: 4px; padding: 0 5px; font-size: .8rem; }
  .nav-cta { padding: 8px 9px; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Apple Liquid Glass sutil (feature 2026-08-24): vidrio esmerilado con tinte crema de
   la paleta en las tarjetas principales. Solo si el navegador soporta backdrop-filter
   (@supports) — si no, queda el fondo sólido de siempre. No afecta impresión. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card,
  .ig-card {
    background: rgba(250, 249, 246, 0.72);
    -webkit-backdrop-filter: blur(8px) saturate(1.2);
    backdrop-filter: blur(8px) saturate(1.2);
  }
}

/* ---- Tarjetas de tratamiento clickeables ---- */
.card { position: relative; display: flex; flex-direction: column; color: inherit; text-decoration: none; padding-bottom: 76px; border: 1px solid rgba(30,58,95,.08); transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.card:hover { background: var(--bg); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,58,95,.10); }
.card:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 2px var(--white); }
.card .icon { width: 54px; height: 54px; }
.card-go { position: absolute; right: 22px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--navy); color: var(--navy); display: flex; align-items: center; justify-content: center; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.card:hover .card-go { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .card, .card-go { transition: none; } .card:hover { transform: none; } .card:hover .card-go { transform: none; } }

/* ---- Crédito VONN ---- */
.made-by { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 28px auto 0; padding: 8px 16px; border-radius: 980px; color: rgba(255,255,255,.7); font-size: .85rem; text-decoration: none; transition: background .2s ease, color .2s ease; }
.made-by:hover { background: rgba(255,255,255,.08); color: #fff; }
.made-by img { height: 36px; width: auto; display: block; }
.made-by { font-size: 1rem; color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .site-footer { padding-bottom: 120px; } }

/* ---- Ubicación ---- */
.ubicacion-header p { margin: 10px 0 0; }
.open-badge { display: inline-block; margin-top: 16px !important; padding: 6px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; background: #f1ece3; color: var(--navy); }
.open-badge::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #b9a98c; margin-right: 8px; }
.open-badge.on { background: #e5f4ea; color: #1d6b3a; }
.open-badge.on::before { background: #2fa157; }
.ubicacion-grid { display: grid; gap: 28px; grid-template-columns: 1fr; max-width: 1100px; margin: 0 auto; }
@media (min-width: 860px) { .ubicacion-grid { grid-template-columns: 5fr 7fr; align-items: stretch; } }
.ubicacion-info { background: var(--bg); border-radius: 20px; padding: 32px 28px; }
.ubicacion-info h3 { font-size: 1.05rem; margin: 22px 0 10px; color: var(--navy); }
.ubicacion-info h3:first-child { margin-top: 0; }
.ubicacion-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ubicacion-list { list-style: none; padding: 0; margin: 0; }
.ubicacion-list li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid rgba(30,58,95,.1); }
.ubicacion-list li:last-child { border-bottom: 0; }
.ubicacion-list span { font-size: .85rem; color: var(--navy-light); }
.ubicacion-list a, .ubicacion-hours a { font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.ubicacion-hours { color: var(--navy-light); font-size: .95rem; }
.ubicacion-grid .map { width: 100%; min-height: 360px; height: 100%; border: 0; border-radius: 20px; }
.ubicacion-photo-wide { max-width: 1100px; margin: 28px auto 0; height: 320px; }
@media (max-width: 600px) { .ubicacion-photo-wide { height: 220px; } }

/* ---- Reseñas ---- */
.resenas-summary { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 auto 28px !important; max-width: none !important; color: rgba(255,255,255,.85) !important; }
.resenas-score { font-size: 2rem; font-weight: 600; color: var(--white); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.reviews { max-width: 760px; margin: 0 auto; }
.reviews-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; }
.reviews-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 100%; scroll-snap-align: center; margin: 0; padding: 32px 28px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); text-align: left; display: flex; flex-direction: column; gap: 16px; justify-content: space-between; min-height: 220px; }
.review blockquote { margin: 0; font-size: 1.1rem; line-height: 1.55; color: var(--white); }
.review figcaption { color: rgba(255,255,255,.8); font-weight: 600; font-size: .95rem; }
.review figcaption span { font-weight: 400; opacity: .7; }
.review-cta { align-items: flex-start; }
.review-cta .btn { align-self: flex-start; }
.reviews-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.reviews-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.reviews-dots button.on { background: var(--gold); }
.reviews-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.resenas-link { display: inline-block; margin-top: 26px; color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 3px; }

/* Texto local para buscadores y personas */
.seo-local { padding: 56px 24px; background: var(--white); }
.seo-local .narrow { max-width: 760px; margin: 0 auto; }
.seo-local h2 { font-size: 1.6rem; margin-bottom: 14px; }
.seo-local p { color: var(--navy-light); margin-bottom: 12px; }
.seo-local a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
