/* ---------- Base común (se usa igual en todas las páginas) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -9999px; top: 0; padding: 10px 14px; z-index: 100; background: #000; color: #fff; }
.saltar:focus { left: 8px; top: 8px; }
.form__error:empty { display: none; }
[hidden] { display: none !important; }

/* Botón flotante de WhatsApp con menú */
.wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: grid; justify-items: end; gap: 10px; transition: transform .3s ease, opacity .3s ease; }
.wa.oculto { transform: translateY(110px); opacity: 0; pointer-events: none; }
.wa__boton { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: #1F8A4C; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .2s ease; }
.wa__boton:hover { transform: scale(1.06); }
.wa__boton:active { transform: scale(.95); }
.wa__boton .ico { width: 30px; height: 30px; }
.wa__menu { display: grid; gap: 6px; min-width: 230px; padding: 8px; border-radius: 16px; background: #fff; color: #1d1d1f; box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transform-origin: bottom right; transform: scale(.85) translateY(10px); opacity: 0; visibility: hidden; transition: transform .22s ease, opacity .22s ease, visibility 0s .22s; }
.wa.abierto .wa__menu { transform: none; opacity: 1; visibility: visible; transition: transform .22s ease, opacity .22s ease; }
.wa__menu p { font-size: .8125rem; color: #555; padding: 6px 10px 2px; }
.wa__menu a { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; background: #F1F4F2; }
.wa__menu a:hover, .wa__menu a:focus-visible { background: #DCF1E3; }

/* Movimiento al hacer scroll: solo si la persona no pidió reducirlo */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal].visto { opacity: 1; transform: none; }
  .js [data-cascada] > * { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-cascada].visto > * { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Belleza Auténtica ---------- */
:root {
  --negro: #121010;
  --carbon: #1D1A19;
  --carbon-2: #2A2624;
  --oro: #C9A24A;
  --oro-claro: #EAD7A1;
  --oro-osc: #8E6B23;
  --rosa: #F1DDD8;
  --rosa-2: #E2C2BB;
  --marfil: #F6F0E8;
  --gris: #B9AFA6;
  --tinta: #2A2220;
  --serif: "Gloock", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --texto: "Albert Sans", system-ui, sans-serif;
  --metal: linear-gradient(135deg, #F3DFA2 0%, #C9A24A 45%, #8E6B23 75%, #D9B964 100%);
  --max: 1120px;
  --g: 22px;
}
body { background: var(--negro); color: var(--marfil); font: 400 1.0625rem/1.65 var(--texto); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 6px; }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 700 1rem/1.2 var(--texto); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background-position .6s ease; }
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: scale(.98); }
.boton--oro { background: var(--metal); background-size: 200% 100%; color: var(--negro); box-shadow: 0 10px 26px -14px rgba(201,162,74,.9); }
.boton--oro:hover { background-position: 100% 0; box-shadow: 0 14px 30px -12px rgba(201,162,74,1); }
.boton--linea { border-color: rgba(234,215,161,.6); color: var(--oro-claro); }
.boton--linea:hover { background: rgba(234,215,161,.1); }
.enlace { color: var(--oro); font-weight: 700; text-underline-offset: 5px; }
.titulo { font-size: clamp(2.3rem, 9vw, 3.6rem); }

/* Hero: logo dorado y la pluma de "Conexión con lo alto" que se dibuja */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(100svh, 820px); display: grid; align-items: center;
  background: radial-gradient(90% 60% at 50% 30%, #2A2320 0%, var(--negro) 70%); }
.pluma { position: absolute; z-index: -1; width: min(44vw, 260px); height: auto; right: -12%; top: 48%; opacity: .32; transform: rotate(18deg); }
.hero__cont { max-width: var(--max); margin: 0 auto; padding: 40px var(--g) 64px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.logo { display: block; width: min(78vw, 360px); height: auto; overflow: visible; filter: drop-shadow(0 6px 28px rgba(201,162,74,.28)); }
.logo__pm-txt { font: 400 172px/1 "Pinyon Script", cursive; letter-spacing: -14px; }
.logo__nombre-txt { font: 600 44px/1 "Oswald", "Arial Narrow", sans-serif; }
.logo__sub-txt { font: 600 33px/1 "Cormorant Garamond", Georgia, serif; }
.logo__brillo { opacity: 0; }
.hero__titulo { font-size: clamp(1.9rem, 7.6vw, 3.2rem); max-width: 18ch; }
.hero__texto { color: var(--gris); max-width: 30em; }
.hero__accion { display: grid; gap: 10px; width: 100%; max-width: 360px; }

@media (prefers-reduced-motion: no-preference) {
  .pluma .trazo { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dibujar 1.4s .2s cubic-bezier(.6,0,.3,1) forwards; }
  .pluma .t2 { animation-delay: .6s; } .pluma .t3 { animation-delay: 1s; }
  .hero__titulo { animation: subir .8s .35s ease both; }
  .hero__texto { animation: subir .8s .5s ease both; }
  .hero__accion { animation: subir .8s .65s ease both; }
  @keyframes dibujar { to { stroke-dashoffset: 0; } }
  @keyframes subir { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* Paola */
.paola { background: var(--rosa); color: var(--tinta); padding: 64px var(--g); display: grid; gap: 26px; }
.paola__foto { margin: 0 auto; width: min(70vw, 300px); border-radius: 200px 200px 16px 16px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--oro), 0 24px 40px -26px rgba(42,34,32,.8); }
.paola__foto img { width: 100%; height: auto; }
.paola__texto { display: grid; gap: 10px; max-width: 560px; margin: 0 auto; text-align: center; justify-items: center; }
.firma { font: 400 3.2rem/1 var(--script); color: var(--oro-osc); margin-bottom: -8px; }
.paola .titulo { color: var(--tinta); }
.paola .enlace { color: var(--oro-osc); }

/* Servicios */
.servicios { max-width: var(--max); margin: 0 auto; padding: 64px var(--g); }
.servicios__cab { display: grid; gap: 8px; margin-bottom: 20px; }
.servicios__cab p { color: var(--gris); max-width: 34em; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--carbon-2); background: var(--carbon); color: var(--marfil); font: 500 .95rem var(--texto); cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.tab__n { font-size: .8rem; color: var(--gris); margin-left: 2px; }
.tab[aria-selected="true"] { background: var(--metal); color: var(--negro); border-color: transparent; }
.tab[aria-selected="true"] .tab__n { color: #3A2F20; }
.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.serv { background: var(--carbon); border: 1px solid var(--carbon-2); border-radius: 18px; padding: 18px 18px 16px; display: grid; gap: 6px; transition: border-color .3s ease, transform .3s ease; }
.serv:hover { border-color: rgba(201,162,74,.6); transform: translateY(-2px); }
.serv__cab { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.serv__nombre { font-size: 1.25rem; line-height: 1.2; }
.serv__precio { font: 700 1.1rem var(--texto); color: var(--oro); white-space: nowrap; }
.serv__meta { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--gris); }
.serv__online { font-size: .75rem; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--oro); color: var(--oro-claro); }
.serv__detalle { color: #D6CCC2; font-size: .95rem; }
.serv__reservar { justify-self: start; margin-top: 4px; font-weight: 700; color: var(--oro-claro); text-decoration: none; border-bottom: 1px solid var(--oro); padding: 6px 0; }
.serv__reservar:hover { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .menu.entra .serv { animation: aparecer .45s calc(var(--k) * 45ms) ease both; }
  @keyframes aparecer { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
.sena { margin-top: 22px; padding: 18px 20px; border-radius: 16px; border: 1px dashed rgba(201,162,74,.6); display: grid; gap: 4px; }
.sena h3 { font-size: 1.2rem; color: var(--oro-claro); }
.sena p { color: var(--gris); font-size: .95rem; }

/* Galería */
.galeria { max-width: var(--max); margin: 0 auto; padding: 0 var(--g) 64px; }
.galeria .titulo { margin-bottom: 18px; }
.galeria__grilla { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.galeria__grilla li { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--carbon-2); }
.galeria__grilla img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.galeria__grilla li:hover img { transform: scale(1.05); }

/* Visita */
.visita { max-width: var(--max); margin: 0 auto; padding: 0 var(--g) 72px; display: grid; gap: 24px; }
.visita__info { display: grid; gap: 16px; align-content: start; }
address { font-style: normal; font-size: 1.1rem; }
.horarios { width: 100%; border-collapse: collapse; }
.horarios th, .horarios td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--carbon-2); font-weight: 400; vertical-align: top; }
.horarios td { text-align: right; }
.horarios .hoy th, .horarios .hoy td { color: var(--oro-claro); font-weight: 700; }
.hoy__marca { font-size: .72rem; background: var(--oro); color: var(--negro); border-radius: 999px; padding: 1px 9px; margin-left: 4px; vertical-align: 2px; font-weight: 700; }
.abierto { color: var(--gris); font-size: .95rem; }
.abierto--si { color: #9BE3B4; font-weight: 700; }
.visita__acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.visita__acciones .boton { padding: 12px 8px; }
.visita__mapa { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--carbon); border: 1px solid var(--carbon-2); }
.visita__mapa iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) sepia(.15); }

.pie { border-top: 1px solid var(--carbon-2); text-align: center; padding: 40px var(--g) 110px; display: grid; gap: 4px; justify-items: center; color: var(--gris); }
.logo--pie { width: 170px; margin-bottom: 10px; filter: none; }
.pie a { color: var(--oro-claro); text-underline-offset: 4px; }
.pie__brito { margin-top: 12px; font-size: .85rem; }

.wa__boton { background: var(--metal); color: var(--negro); }
.wa__menu a { background: var(--rosa); }
.wa__menu a:hover, .wa__menu a:focus-visible { background: var(--rosa-2); }

@media (min-width: 820px) {
  :root { --g: 40px; }
  .pluma { right: 6%; width: 230px; top: 10%; opacity: .55; }
  .hero__accion { grid-auto-flow: column; max-width: none; width: auto; }
  .paola { grid-template-columns: auto 1fr; align-items: center; gap: 56px; padding: 80px max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); }
  .paola__foto { width: 320px; margin: 0; }
  .paola__texto { text-align: left; justify-items: start; margin: 0; }
  .menu { grid-template-columns: 1fr 1fr; gap: 14px; }
  .galeria__grilla { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .visita { grid-template-columns: 1fr 1.3fr; }
  .visita__mapa { aspect-ratio: auto; min-height: 400px; }
  .pie { padding-bottom: 48px; }
}

/* ---------- Movimiento y detalles nuevos ---------- */
.polvo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.halo { position: absolute; z-index: -2; left: 50%; top: 38%; width: min(120vw, 900px); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(201,162,74,.20), rgba(201,162,74,.06) 55%, transparent 72%); pointer-events: none; }
.hero__dato { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--oro-claro); }
.punto { width: 8px; height: 8px; border-radius: 50%; background: #9BE3B4; box-shadow: 0 0 0 0 rgba(155,227,180,.6); }
.boton { font-family: var(--texto); }

/* Títulos: línea dorada que se dibuja debajo */
.titulo { position: relative; padding-bottom: 14px; }
.titulo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 2px; border-radius: 2px; background: var(--metal); transform-origin: left; }
.paola .titulo::after { left: 50%; margin-left: -32px; }

/* Marco en arco de la foto de Paola */
.paola__foto { position: relative; overflow: visible; border: 0; box-shadow: none; border-radius: 0; }
.paola__foto img { border-radius: 200px 200px 16px 16px; border: 3px solid #fff; box-shadow: 0 24px 40px -26px rgba(42,34,32,.8); }
.paola__marco { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); pointer-events: none; overflow: visible; }
.paola__marco path { fill: none; stroke: var(--oro-osc); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* Servicios: botones de reserva */
.serv__acciones { display: flex; align-items: center; gap: 18px; margin-top: 6px; flex-wrap: wrap; }
.serv__reservar { font: 700 .95rem var(--texto); cursor: pointer; background: var(--metal); background-size: 200% 100%; color: var(--negro); border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px; text-decoration: none; display: inline-flex; align-items: center; transition: background-position .5s ease, transform .2s ease; }
.serv__reservar:hover { background-position: 100% 0; color: var(--negro); transform: translateY(-1px); }
.serv__consultar { color: var(--oro-claro); font-weight: 600; font-size: .95rem; text-underline-offset: 4px; padding: 10px 0; }

/* Ventana de reserva */
html.con-modal { overflow: hidden; }
.reserva { padding: 0; border: 0; background: transparent; color: var(--marfil); width: 100%; max-width: 560px; max-height: 100dvh; margin: auto auto 0; }
.reserva::backdrop { background: rgba(10,8,8,.72); backdrop-filter: blur(4px); }
.reserva__caja { background: linear-gradient(180deg, #221D1B, var(--negro) 60%); border: 1px solid rgba(201,162,74,.35); border-bottom: 0; border-radius: 26px 26px 0 0; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); }
.reserva__cab { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 18px 0 12px; background: #221D1B; }
.reserva__cab h2 { font-size: 1.7rem; }
.reserva__x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--carbon-2); background: var(--carbon); color: var(--marfil); display: grid; place-items: center; cursor: pointer; }
.reserva__x svg { width: 20px; height: 20px; }
.reserva__cuerpo { display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; font-size: .9rem; color: var(--gris); }
.campo em { font-style: normal; opacity: .8; }
.campo select, .campo input, .campo textarea { font: 500 1rem var(--texto); color: var(--marfil); background: var(--carbon); border: 1px solid #3A3431; border-radius: 14px; padding: 13px 14px; min-height: 50px; width: 100%; }
.campo select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--oro) 50%), linear-gradient(135deg, var(--oro) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.campo :focus { outline: 2px solid var(--oro); outline-offset: 1px; }
.reserva__ficha, .reserva__elegido { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(201,162,74,.1); border: 1px solid rgba(201,162,74,.3); }
.reserva__ficha span, .reserva__elegido span { color: var(--oro-claro); font-size: .92rem; }
.reserva__ficha:empty { display: none; }
.reserva__eti { font-weight: 700; margin-bottom: -6px; }
.dias { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dias::-webkit-scrollbar { display: none; }
.dia { flex: none; scroll-snap-align: start; width: 74px; display: grid; justify-items: center; gap: 1px; padding: 10px 4px; border-radius: 16px; border: 1px solid #3A3431; background: var(--carbon); color: var(--marfil); cursor: pointer; font-family: var(--texto); transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
.dia__sem { font-size: .78rem; color: var(--gris); }
.dia__num { font: 400 1.7rem/1.1 var(--serif); }
.dia__mes { font-size: .78rem; color: var(--gris); }
.dia__lugar { font-size: .68rem; color: #9BE3B4; margin-top: 3px; }
.dia[disabled] { opacity: .4; cursor: not-allowed; }
.dia[disabled] .dia__lugar { color: var(--gris); }
.dia[aria-pressed="true"] { background: var(--metal); border-color: transparent; color: var(--negro); transform: translateY(-2px); }
.dia[aria-pressed="true"] span { color: #3A2F20; }
.horas { display: grid; gap: 12px; min-height: 120px; align-content: start; }
.horas__dia { font-family: var(--serif); font-size: 1.2rem; color: var(--oro-claro); }
.horas__dia::first-letter { text-transform: uppercase; }
.horas__grupo p { font-size: .82rem; color: var(--gris); margin-bottom: 6px; }
.horas__grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.hora { min-height: 46px; border-radius: 12px; border: 1px solid #3A3431; background: var(--carbon); color: var(--marfil); font: 600 1rem var(--texto); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .15s ease; }
.hora:hover { border-color: var(--oro); }
.hora[aria-pressed="true"] { background: var(--metal); color: var(--negro); border-color: transparent; }
.r__cargando, .r__vacio { color: var(--gris); font-size: .95rem; padding: 6px 0; }
.r__cargando::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: 50%; border: 2px solid rgba(201,162,74,.3); border-top-color: var(--oro); animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.reserva__pie { position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom)); padding: 12px 0 calc(20px + env(safe-area-inset-bottom)); margin-bottom: calc(-20px - env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--negro) 30%); display: grid; }
.reserva__pie .boton[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.boton.cargando { opacity: .7; pointer-events: none; }
.reserva__volver { justify-self: start; background: none; border: 0; color: var(--oro-claro); font: 600 .95rem var(--texto); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 8px 0; min-height: 44px; }
.reserva__nota { font-size: .85rem; color: var(--gris); }
.form__error { color: #FFB4A8; font-weight: 600; }
.trampa { position: absolute; left: -9999px; }
.reserva__listo { justify-items: center; text-align: center; padding: 10px 0 8px; }
.reserva__listo h3 { font-size: 2rem; }
.reserva__listo-txt { font-family: var(--serif); font-size: 1.2rem; color: var(--oro-claro); }
.reserva__listo .reserva__volver { justify-self: center; }
.check { width: 76px; height: 76px; }
.check circle, .check path { fill: none; stroke: var(--oro); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 620px) {
  .reserva { margin: auto; }
  .reserva__caja { border-radius: 26px; border-bottom: 1px solid rgba(201,162,74,.35); max-height: 88dvh; padding-bottom: 24px; }
  .reserva__pie { bottom: -24px; margin-bottom: -24px; padding-bottom: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Logo: el monograma se escribe, el nombre aparece y un brillo recorre el oro */
  .hero .logo__pm { clip-path: inset(0 100% 0 0); animation: escribir 1.6s .15s cubic-bezier(.6,.05,.3,1) forwards; }
  .hero .logo__nombre { opacity: 0; animation: aparecer-logo .9s 1.1s ease forwards; }
  .hero .logo__sub { opacity: 0; animation: aparecer-logo .9s 1.4s ease forwards; }
  .hero .logo__brillo { animation: brillar 6s 2.2s ease-in-out infinite; }
  @keyframes escribir { to { clip-path: inset(0 0 0 0); } }
  @keyframes aparecer-logo { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes brillar { 0% { opacity: 1; transform: translateX(0) skewX(-20deg); } 35% { opacity: 1; transform: translateX(720px) skewX(-20deg); } 36%, 100% { opacity: 0; transform: translateX(720px) skewX(-20deg); } }
  .halo { animation: respirar 7s ease-in-out infinite; }
  @keyframes respirar { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .75; } }
  .hero__titulo { animation-delay: 1.2s; } .hero__texto { animation-delay: 1.35s; } .hero__dato { animation: subir .8s 1.5s ease both; } .hero__accion { animation-delay: 1.6s; }
  .punto { animation: latido 2.2s ease-out infinite; }
  @keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(155,227,180,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(155,227,180,0); } }
  .boton--oro { animation: none; }
  .boton--oro::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); background-size: 250% 100%; background-position: 130% 0; pointer-events: none; }
  .boton--oro { position: relative; overflow: hidden; }
  .hero .boton--oro::after { animation: barrido 4.5s 3s ease-in-out infinite; }
  .boton--oro:hover::after { animation: barrido 1s ease; }
  @keyframes barrido { 0% { background-position: 130% 0; } 30%, 100% { background-position: -30% 0; } }

  /* Títulos: la línea se dibuja al entrar */
  .js .titulo[data-reveal]::after { transform: scaleX(0); transition: transform .9s .35s cubic-bezier(.7,0,.2,1); }
  .js .titulo[data-reveal].visto::after { transform: scaleX(1); }
  .js .paola .titulo[data-reveal]::after { transform-origin: center; }

  /* Paola: la foto se descubre de abajo hacia arriba y el arco se traza */
  .js .paola__foto[data-reveal] { opacity: 1; transform: none; }
  .js .paola__foto[data-reveal] img { clip-path: inset(100% 0 0 0 round 200px 200px 16px 16px); transform: scale(1.08); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1), transform 1.6s cubic-bezier(.2,.7,.2,1); }
  .js .paola__foto[data-reveal].visto img { clip-path: inset(0 0 0 0 round 200px 200px 16px 16px); transform: none; }
  .js .paola__marco path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s .5s cubic-bezier(.6,0,.3,1); }
  .js .paola__foto.visto .paola__marco path { stroke-dashoffset: 0; }
  .firma { display: inline-block; }
  .js .paola__texto[data-reveal] .firma { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s .4s cubic-bezier(.6,.05,.3,1); }
  .js .paola__texto[data-reveal].visto .firma { clip-path: inset(0 -10% 0 0); }

  /* Galería: cortina dorada que se abre */
  .js .galeria__grilla[data-cascada] > li { position: relative; opacity: 1; transform: none; }
  .js .galeria__grilla[data-cascada] > li::after { content: ""; position: absolute; inset: 0; background: var(--metal); transform-origin: top; transition: transform .9s cubic-bezier(.7,0,.2,1); transition-delay: calc(var(--i, 0) * 120ms + .1s); }
  .js .galeria__grilla[data-cascada].visto > li::after { transform: scaleY(0); }
  .js .galeria__grilla[data-cascada] img { transform: scale(1.18); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 120ms + .2s); }
  .js .galeria__grilla[data-cascada].visto img { transform: none; }
  .js .galeria__grilla[data-cascada].visto li:hover img { transform: scale(1.05); transition-delay: 0s; transition-duration: .7s; }

  /* Pestañas: el oro se desliza */
  .tab[aria-selected="true"] { animation: tab-pulso .5s ease; }
  @keyframes tab-pulso { from { transform: scale(.94); } }

  /* Reserva */
  .reserva[open] .reserva__caja { animation: hoja .45s cubic-bezier(.2,.8,.2,1); }
  .reserva[open]::backdrop { animation: velo .3s ease; }
  .reserva.saliendo .reserva__caja { animation: hoja-sale .22s ease forwards; }
  .reserva.saliendo::backdrop { animation: velo .22s ease reverse forwards; }
  @keyframes hoja { from { transform: translateY(40%); opacity: 0; } }
  @keyframes hoja-sale { to { transform: translateY(30%); opacity: 0; } }
  @keyframes velo { from { opacity: 0; } }
  .reserva__cuerpo:not([hidden]) { animation: panel .35s ease; }
  @keyframes panel { from { opacity: 0; transform: translateX(16px); } }
  .dia, .hora { animation: chip .35s calc(var(--k, 0) * 30ms) ease both; }
  @keyframes chip { from { opacity: 0; transform: translateY(8px); } }
  .reserva__listo .check circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trazo .7s .1s ease forwards; }
  .reserva__listo .check path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trazo .45s .7s ease forwards; }
  @keyframes trazo { to { stroke-dashoffset: 0; } }
  @media (min-width: 620px) { @keyframes hoja { from { transform: translateY(24px) scale(.97); opacity: 0; } } }
}
@media (min-width: 820px) {
  .logo { width: 400px; }
  .titulo::after { width: 80px; }
  .paola .titulo::after { left: 0; margin-left: 0; }
  .js .paola .titulo[data-reveal]::after { transform-origin: left; }
}
