/* WOMA México — complementos a app.css (la hoja original de womamia.com).
   Solo lo que app.css no trae: utilidades que no se generaron y las piezas nuevas
   (plan de pagos, preguntas, formulario a WhatsApp, galería de amenidades). */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: #f3eee4; }
:focus-visible { outline: 2px solid #e6604f; outline-offset: 3px; }

/* utilidades que el build de Tailwind de womamia.com no generó */
.-mx-5 { margin-left: -20px; margin-right: -20px; }
.mt-20 { margin-top: 5rem; }
.scroll-mt-20 { scroll-margin-top: 5rem; }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.underline-offset-4 { text-underline-offset: 4px; }
.text-\[\#889e6e\] { color: #889e6e; }
.text-\[clamp\(1\.8rem\,2\.6vw\,2\.5rem\)\] { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.text-\[clamp\(1rem\,1\.3vw\,1\.2rem\)\] { font-size: clamp(1rem, 1.3vw, 1.2rem); }
.text-\[clamp\(1rem\,1\.5vw\,1\.3rem\)\] { font-size: clamp(1rem, 1.5vw, 1.3rem); }
.text-\[clamp\(2\.2rem\,4vw\,3\.4rem\)\] { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.text-\[clamp\(2\.6rem\,6vw\,5rem\)\] { font-size: clamp(2.6rem, 6vw, 5rem); }
.group:hover .group-hover\:text-primary { color: #914c04; }
.res-scrim { background-image: linear-gradient(to top, rgba(32,21,12,.65), rgba(32,21,12,.28), transparent); }
@media (min-width: 768px) {
  .md\:gap-0 { gap: 0; }
  .md\:gap-x-8 { column-gap: 2rem; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:items-end { align-items: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:max-w-\[34rem\] { max-width: 34rem; }
  .md\:mt-14 { margin-top: 3.5rem; }
  .md\:mt-28 { margin-top: 7rem; }
  .md\:pb-9 { padding-bottom: 2.25rem; }
  .md\:text-\[clamp\(3rem\,8\.4vw\,9\.5rem\)\] { font-size: clamp(3rem, 8.4vw, 9.5rem); }
}
@media (min-width: 1024px) {
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
}

/* nav: panel móvil */
.nav-panel[hidden] { display: none; }

/* sección de pagos: la línea cosida pasa por el centro de los cubos */
.pg-seam { position: absolute; left: 0; right: 0; top: calc(clamp(3.6rem, 5.6vw, 5.4rem) / 2 + .4rem); display: none; }
@media (min-width: 768px) { .pg-seam { display: block; } }
.pg-scene { cursor: default; padding: .4rem; align-items: flex-start; }
.pg-scene .lp-face { font-family: Anton, 'Arial Narrow', sans-serif; font-weight: 400; letter-spacing: .02em; }
.pg-step .lp-scene { background: transparent; }

.pg-range { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
.pg-range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, #e6604f var(--pct, 0%), rgba(134,115,103,.35) var(--pct, 0%)); }
.pg-range::-moz-range-track { height: 2px; background: rgba(134,115,103,.35); }
.pg-range::-moz-range-progress { height: 2px; background: #e6604f; }
.pg-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; background: #e6604f; border: 3px solid #f3eee4; box-shadow: 0 0 0 1px #e6604f; transition: transform .2s; }
.pg-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 0; background: #e6604f; border: 3px solid #f3eee4; box-shadow: 0 0 0 1px #e6604f; }
.pg-range:active::-webkit-slider-thumb { transform: scale(1.15); }

/* acordeones (preguntas y avisos legales) */
.faq-toggle[aria-expanded="true"] .material-symbols-outlined,
.legal-toggle[aria-expanded="true"] .material-symbols-outlined { transform: rotate(45deg); }

/* formulario */
.field-err { margin-top: .5rem; display: flex; gap: .4rem; align-items: flex-start; font-family: Marianne, sans-serif; font-size: 13px; line-height: 1.5; color: #c2402f; }
.field-err[hidden] { display: none; }
.field.is-bad input, .field.is-bad .dial { border-color: #c2402f; }
.lead-done[hidden] { display: none; }

/* amenidades — galería que se abre (≥1024 y con movimiento) */
.ov-stage { display: none; }
.ov-listwrap { display: none; }
.ov-cta { display: none; }
.ov-cell { position: relative; height: 100%; flex: none; overflow: hidden; background: #3a2a1b; }
.ov-cell img.ov-img { position: absolute; top: 0; bottom: 0; height: 100%; object-fit: cover; max-width: none; left: -8%; width: 116%; }
.ov-cell.has-spots img.ov-img { left: 0; width: 100%; }
.ov-dim { position: absolute; inset: 0; background: rgba(58,42,27,.35); }
.ov-mstrip { scrollbar-width: none; }
.ov-mstrip::-webkit-scrollbar { display: none; }
.ov-mcard { position: relative; width: 82vw; flex: none; scroll-snap-align: center; overflow: hidden; background: #3a2a1b; aspect-ratio: 4 / 5; cursor: zoom-in; }
@media (min-width: 768px) { .ov-mcard { width: 400px; } }
.ov-mcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ov-list button.is-on span:last-child { font-weight: 600; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .amen { height: 100vh; }
  .ov-stage { display: block; }
  .ov-listwrap, .ov-cta { display: block; }
  .ov-mobile { display: none; }
  .ov-text { position: absolute; top: 0; bottom: 0; left: 0; width: 36vw; padding-top: 5rem; padding-bottom: 0; padding-right: 2rem; }
}

/* puntos de las amenidades */
.spot { position: absolute; z-index: 10; }
.spot button { position: relative; display: block; transform: translate(-50%, -50%); }
.spot .ping { position: absolute; inset: 0; z-index: -1; opacity: .6; animation: ping 1s cubic-bezier(0,0,.2,1) infinite; }
.spot .dot { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.2), 0 0 0 2px rgba(255,255,255,.7); transition: transform .3s; }
.spot button:hover .dot { transform: scale(1.1); }
.spot .tip { position: absolute; width: 13rem; background: #f3eee4; border-left: 4px solid; padding: .75rem 1rem; text-align: left; box-shadow: 0 20px 25px -5px rgba(0,0,0,.18); opacity: 0; transition: all .3s; pointer-events: none; }
.spot.below .tip { top: 100%; margin-top: .75rem; transform: translateY(-4px); }
.spot.above .tip { bottom: 100%; margin-bottom: .75rem; transform: translateY(4px); }
.spot.c .tip { left: 50%; translate: -50% 0; }
.spot.l .tip { left: 0; }
.spot.r .tip { right: 0; }
.spot button:hover .tip, .spot button:focus-visible .tip { opacity: 1; transform: none; }
.spot .tip b { display: block; font-family: Marianne, sans-serif; font-weight: 600; font-size: 1rem; line-height: 1.25; color: #2e241c; }
.spot .tip i { display: block; font-style: normal; font-family: Marianne, sans-serif; font-size: .875rem; color: #534438; margin-top: .25rem; line-height: 1.35; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* lightbox */
#woma-lightbox[hidden] { display: none; }

/* sin movimiento: todo visible y en su lugar */
@media (prefers-reduced-motion: reduce) {
  #woma-flyer, #patch-flyers { display: none !important; }
  #hero-logo-slot, #patchwork-logo-slot { opacity: 1 !important; }
  .wyn-desk { height: auto !important; }
  .wyn-desk > div { position: relative !important; }
}

/* ── v2.1 · mapa interactivo ── */
#map.maplibregl-map, #map { position: absolute !important; inset: 0; }
.loc-mapbox { height: clamp(380px, 64vh, 640px); }
.vive-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1024px) { .vive-top { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
footer img[alt^="Berkshire"] { margin-top: 1.75rem !important; }
@media (max-width: 767px) { .loc-mapbox { height: 72svh; max-height: 560px; } }
.loc-chip { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--c); color: var(--c); background: transparent; border-radius: 9999px; padding: .45rem .85rem; font-family: Marianne, sans-serif; font-weight: 700; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1; transition: background .25s, color .25s; cursor: pointer; }
.loc-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); transition: background .25s; }
.loc-chip:hover, .loc-chip[aria-pressed="true"] { background: var(--c); color: #fff; }
.loc-chip:hover::before, .loc-chip[aria-pressed="true"]::before { background: #fff; }
.loc-chip.is-key { background: var(--c); color: #fff; }
.loc-chip.is-key::before { background: #fff; }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-ctrl-group { border-radius: 0 !important; box-shadow: none !important; border: 1px solid #d9c2b3; }
.mk { position: relative; display: flex; align-items: center; gap: 7px; cursor: pointer; background: none; border: 0; padding: 0; }
.mk-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 3px solid #f3eee4; box-shadow: 0 3px 6px rgba(0,0,0,.28); flex: none; transition: transform .25s; }
.mk:hover .mk-dot { transform: scale(1.25); }
.mk-label { font-family: Marianne, sans-serif; font-weight: 700; text-transform: uppercase; font-size: 10.5px; letter-spacing: .08em; color: #fff; background: var(--c); padding: 5px 8px; white-space: nowrap; box-shadow: 0 6px 14px rgba(40,25,10,.22); }
.mk.is-left { flex-direction: row-reverse; }
.mk.is-below { flex-direction: column; gap: 5px; }
.mk-woma-wrap { display: grid; justify-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; }
.mk-woma { display: block; width: 78px; height: 78px; border-radius: 50%; border: 5px solid #f3eee4; overflow: hidden; box-shadow: 0 10px 24px rgba(40,25,10,.4); }
.mk-woma img { width: 100%; height: 100%; object-fit: cover; }

/* ── v2.1 · galería sencilla ── */
.gal-hero { aspect-ratio: 16 / 10; }
.gal-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal-grid .gal-item { aspect-ratio: 4 / 5; }
.gal-grid .gal-item:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (min-width: 768px) {
  .gal-grid { gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 17vw, 260px); }
  .gal-grid .gal-item, .gal-grid .gal-item:first-child { aspect-ratio: auto; height: 100%; }
  .gal-grid .gal-item:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 767px) { .gal-grid .gal-item:not(:first-child) .gal-cap > span:last-child { display: none; } .gal-grid .gal-item:not(:first-child) .gal-cap > span:first-child { letter-spacing: .14em; font-size: 10px; } }
.gal-cap, .res-shade { background-image: linear-gradient(to top, rgba(32,21,12,.72), rgba(32,21,12,.25) 60%, transparent); padding-top: 3rem !important; }

/* ── v2.1 · residencias en cuadrícula ── */
.res-thumb { width: 104px; height: 78px; }
@media (min-width: 1024px) { .res-thumb { width: 128px; height: 92px; } }
@media (min-width: 640px) { .res-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .res-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 22-nov · Barra fija de CTA hacia el formulario */
.wm-cta-bar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 20px; background: #e6604f; color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 10px 28px rgba(40,25,10,.22); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.wm-cta-bar .material-symbols-outlined { font-size: 18px; }
.wm-cta-bar.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wm-cta-bar:hover { background: #cf5242; }
body.has-cta-bar .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .wm-cta-bar { left: auto; right: 28px; bottom: 28px; padding: 16px 26px; }
  body.has-cta-bar .to-top { bottom: 96px; }
}

/* 22-nov · Botón al concierge en el hero */
.hero-cta { position: absolute; z-index: 20; left: 50%; bottom: 47%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; background: #e6604f; color: #fff; font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 28px rgba(40,25,10,.22); pointer-events: auto; transition: background .25s ease; }
.hero-cta:hover { background: #cf5242; }
.hero-cta .material-symbols-outlined { font-size: 18px; }
@media (min-width: 768px) { .hero-cta { bottom: 34%; padding: 18px 32px; font-size: 14px; } }
