/* Spa Colitas Felices · demo FG Web 3.0 «El meneo» (18-nov-2026)
   Paleta y letras del Manual visual v3. Firma µ8: las tres rayitas de la colita se menean y sube espuma. */
@font-face { font-family: Fredoka; src: url(assets/fonts/fredoka-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Nunito; src: url(assets/fonts/nunito-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Nunito; src: url(assets/fonts/nunito-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
:root {
  --agua: #F1EBF5; --espuma: #FBF6F0; --lila: #6E4C8C; --lila-osc: #4A3263; --tinta: #29285A; --noche: #1B1A40;
  --naranja: #DD5528; --cta: #B8431D; --cta-base: #7E2C10; --jardin: #7E9A4E; --jardin-osc: #5C7536; --durazno: #FFC9A8;
  --gris: #4E4A73; --linea: rgba(110, 76, 140, .16); --r: 26px; --ease: cubic-bezier(.22, 1, .36, 1); --rebote: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: Nunito, system-ui, sans-serif; color: var(--tinta); background: var(--agua); line-height: 1.6; font-size: 17px; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 12px; }
h1, h2, h3, .disp { font-family: Fredoka, Nunito, sans-serif; font-weight: 700; line-height: 1.04; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 5vw, 56px); }
h3 { font-size: 22px; line-height: 1.15; }
.cont { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--gris); max-width: 620px; }
.nota { font-size: 13px; color: var(--gris); }
.oscuro { background: radial-gradient(120% 90% at 80% 20%, #4B3570 0%, #2C2858 45%, var(--noche) 100%); color: #fff; }
.oscuro .lead, .oscuro .nota { color: #DCD0EC; }
.grano::after { content: ''; position: absolute; inset: 0; background: url(assets/marca/grano.png); opacity: .5; pointer-events: none; mix-blend-mode: overlay; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.enlace { text-decoration: underline; text-decoration-color: var(--naranja); text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .enlace:hover { text-decoration-style: wavy; } }

/* ---------- barra superior en píldora ---------- */
.barra { position: fixed; top: 14px; left: 50%; z-index: 50; width: min(1180px, 100% - 24px); transform: translateX(-50%); display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--espuma) 88%, transparent); border: 1px solid var(--linea); transition: transform .35s var(--ease), padding .35s var(--ease); }
.barra.compacta { transform: translateX(-50%) scale(.96); padding-block: 5px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: Fredoka; font-size: 19px; color: var(--lila); white-space: nowrap; }
.marca img { width: 44px; height: 44px; object-fit: contain; }
.menu { display: flex; gap: 2px; margin-left: auto; position: relative; list-style: none; }
.menu a { display: block; padding: 8px 13px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--tinta); position: relative; z-index: 1; }
.menu .luz { position: absolute; top: 0; height: 100%; border-radius: 999px; background: var(--agua); border: 1px solid var(--linea); transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s; opacity: 0; pointer-events: none; }
.demo { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--tinta); color: #fff; font-weight: 700; font-size: 12.5px; border: 0; cursor: help; white-space: nowrap; }
.demo i { width: 8px; height: 8px; border-radius: 50%; background: var(--durazno); animation: late 1.2s ease-in-out 2; }
.demo span { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .4s var(--ease), opacity .3s; }
.demo:hover span, .demo:focus-visible span { max-width: 230px; opacity: 1; }
@keyframes late { 50% { transform: scale(1.7); opacity: .5; } }
@media (max-width: 980px) { .menu { display: none; } .barra .bt { margin-left: auto; } }
@media (max-width: 420px) { .marca span { display: none; } .demo span { display: none; } }

/* ---------- botones: relieve de dos capas + brillo + firma «El meneo» ---------- */
.bt { --bg: var(--cta); --base: var(--cta-base); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 16.5px Nunito, sans-serif; color: #fff; text-decoration: none; cursor: pointer; white-space: nowrap;
  background: linear-gradient(105deg, var(--bg) 0 40%, color-mix(in srgb, var(--bg) 70%, #fff) 50%, var(--bg) 60% 100%) 120% 0 / 260% 100% no-repeat, var(--bg);
  box-shadow: 0 5px 0 var(--base), 0 12px 24px -10px color-mix(in srgb, var(--base) 70%, transparent); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-position .7s var(--ease); }
.bt.lila { --bg: var(--lila); --base: #3F2A55; }
.bt.tinta { --bg: var(--tinta); --base: #11102E; }
.bt.claro { --bg: #fff; --base: #C9B6DE; color: var(--tinta); }
.bt.verde { --bg: var(--jardin-osc); --base: #3B4C22; }
.bt.peq { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.bt:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--base), 0 4px 10px -6px var(--base); }
.bt svg { flex: none; }
/* µ8: tres rayitas (como la colita del logo) que aparecen a la derecha y se menean */
.bt::after { content: ''; position: absolute; right: -24px; top: 50%; width: 22px; height: 30px; margin-top: -15px; pointer-events: none; opacity: 0; transform: translateX(-8px) scale(.6); transform-origin: left center;
  background: var(--bg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 30' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M3 11a6 6 0 0 1 0 8'/%3E%3Cpath d='M9 7a11 11 0 0 1 0 16'/%3E%3Cpath d='M15 3a16 16 0 0 1 0 24'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 30' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M3 11a6 6 0 0 1 0 8'/%3E%3Cpath d='M9 7a11 11 0 0 1 0 16'/%3E%3Cpath d='M15 3a16 16 0 0 1 0 24'/%3E%3C/svg%3E") center / contain no-repeat; }
.bt.claro::after { background: var(--naranja); }
/* espuma que sube desde el botón */
.bt::before { content: ''; position: absolute; left: 22%; bottom: 60%; width: 56%; height: 34px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 15% 70%, #fff 0 4px, transparent 5px), radial-gradient(circle at 45% 40%, #fff 0 6px, transparent 7px), radial-gradient(circle at 75% 75%, #fff 0 3px, transparent 4px), radial-gradient(circle at 92% 30%, #fff 0 5px, transparent 6px);
 }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .bt:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--base), 0 20px 34px -12px color-mix(in srgb, var(--base) 80%, transparent); background-position: -30% 0, 0 0; }
  .bt:hover::after { animation: menear .65s var(--rebote) forwards; }
  .bt:hover::before { animation: espuma .9s ease-out forwards; }
}
@media (prefers-reduced-motion: no-preference) {
  .bt:active::after, .bt:focus-visible::after { animation: menear .65s var(--rebote) forwards; }
  .bt:active::before { animation: espuma .9s ease-out forwards; }
}
@keyframes menear { 0% { opacity: 0; transform: translateX(-8px) scale(.6) rotate(0); } 35% { opacity: 1; transform: translateX(0) scale(1) rotate(-14deg); } 60% { transform: translateX(0) scale(1) rotate(12deg); } 80% { transform: rotate(-6deg); opacity: 1; } 100% { opacity: .9; transform: translateX(0) scale(1) rotate(0); } }
@keyframes espuma { 0% { opacity: 0; transform: translateY(8px) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px) scale(1.1); } }

/* ráfaga de burbujas al tocar (µ) */
.rafaga { position: fixed; pointer-events: none; z-index: 80; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0 22%, rgba(255,255,255,.2) 40%, rgba(214,190,255,.6) 80%, rgba(255,214,190,.9) 100%); border: 1px solid rgba(110, 76, 140, .35); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 130px 0 70px; overflow: hidden; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; inset: -20% auto auto 4%; width: 46%; height: 140%; transform: rotate(-22deg); pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 196, 160, .26), rgba(255, 196, 160, 0) 70%); }
.hero .cont { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(34px, 9.6vw, 92px); color: #fff; }
@media (min-width: 901px) { .hero h1 { font-size: clamp(54px, 6.4vw, 92px); } }
.hero h1 .pal { display: inline-block; white-space: nowrap; }
.hero .lead { color: #E4DAF2; margin-top: 20px; }
.recorridos { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 32px; }
@media (max-width: 420px) { .recorridos .bt { width: 100%; } .bt { padding: 0 20px; } }
.burbuja-foto { position: relative; aspect-ratio: 1; width: min(520px, 100%); margin-inline: auto; }
.burbuja-foto .foto { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; }
.burbuja-foto .foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.burbuja-foto .aro { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.85) 0 4%, transparent 11%), radial-gradient(circle, transparent 60%, rgba(214,190,255,.35) 70%, rgba(255,214,190,.6) 84%, rgba(255,255,255,.8) 95%, transparent 100%); }
.flota { position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 26%, rgba(255,255,255,.95) 0 9%, transparent 16%), radial-gradient(circle, transparent 58%, rgba(214,190,255,.4) 72%, rgba(255,214,190,.6) 86%, rgba(255,255,255,.75) 96%, transparent 100%); }
@media (prefers-reduced-motion: no-preference) { .flota { animation: flotar 7s ease-in-out infinite; } .flota:nth-child(2n) { animation-duration: 9s; animation-delay: -3s; } }
@keyframes flotar { 50% { transform: translateY(-18px); } }
.etiqueta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
.etiqueta a, .etiqueta div { display: block; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); text-decoration: none; color: #fff; }
.etiqueta b { display: block; font-family: Fredoka; font-size: 20px; }
.etiqueta small { color: #CFC3E2; font-size: 12.5px; }
.abierto i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #A9C77A; margin-right: 6px; }
@media (prefers-reduced-motion: no-preference) { .abierto.si i { animation: late 1.6s ease-in-out infinite; } }
.abierto.no i { background: #C8B4E4; }
@media (max-width: 900px) { .hero .cont { grid-template-columns: minmax(0, 1fr); } .burbuja-foto { width: min(340px, 86%); order: -1; } .etiqueta { grid-template-columns: 1fr 1fr; } }

/* ---------- tarjetas con luz que sigue al mouse ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.tarjeta { --mx: 50%; --my: 0%; position: relative; border-radius: var(--r); background: #fff; border: 1px solid var(--linea); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 2px 0 rgba(110, 76, 140, .1), 0 18px 40px -26px rgba(41, 40, 90, .45); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tarjeta::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 201, 168, .35), transparent 60%); }
.tarjeta .ft { aspect-ratio: 4 / 5; overflow: hidden; }
.tarjeta .ft img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tarjeta .tx { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tarjeta .acc { margin-top: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 8px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tarjeta:hover { transform: translateY(-6px); box-shadow: 0 2px 0 rgba(110, 76, 140, .12), 0 30px 50px -26px rgba(41, 40, 90, .55); }
  .tarjeta:hover::before { opacity: 1; } .tarjeta:hover .ft img { transform: scale(1.05); } }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; background: var(--agua); color: var(--lila-osc); border: 1px solid var(--linea); }
.chip.precio { background: var(--tinta); color: #fff; border-color: var(--tinta); }

/* µ6 popover nativo «¿qué es?» */
.que { border: 0; background: none; padding: 10px 4px; min-height: 44px; font: 700 14px Nunito; color: var(--lila); text-decoration: underline dotted; text-underline-offset: 4px; cursor: help; }
[popover] { margin: auto; max-width: min(380px, 90vw); padding: 22px 24px; border-radius: 22px; border: 1px solid var(--linea); background: var(--espuma); color: var(--tinta); box-shadow: 0 30px 60px -20px rgba(41, 40, 90, .5); opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .25s, transform .3s var(--rebote), overlay .3s allow-discrete, display .3s allow-discrete; }
[popover]:popover-open { opacity: 1; transform: none; }
@starting-style { [popover]:popover-open { opacity: 0; transform: translateY(10px) scale(.96); } }
[popover]::backdrop { background: rgba(27, 26, 64, .35); }
[popover] h3 { margin-bottom: 6px; }

/* ---------- M2 calculadora «Arme su día de spa» ---------- */
.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; margin-top: 40px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.panel { border-radius: var(--r); background: #fff; border: 1px solid var(--linea); padding: 26px; }
.paso + .paso { margin-top: 24px; }
.paso > b { display: block; font-family: Fredoka; font-size: 19px; margin-bottom: 10px; }
.opciones { display: flex; flex-wrap: wrap; gap: 10px; }
.op { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 18px; border: 2px solid var(--linea); background: var(--espuma); font: 700 15px Nunito; color: var(--tinta); cursor: pointer; transition: transform .2s var(--rebote), background .2s, border-color .2s, color .2s; }
.op svg { color: var(--lila); transition: transform .35s var(--rebote); }
.op[aria-pressed="true"] { background: var(--lila); border-color: var(--lila); color: #fff; }
.op[aria-pressed="true"] svg { color: #fff; transform: scale(1.12) rotate(-6deg); }
.op:active { transform: scale(.95); }
@media (hover: hover) { .op:hover { border-color: var(--lila); } }
.op small { font-weight: 400; opacity: .85; }
@media (max-width: 480px) { .op { flex-wrap: wrap; text-align: left; } .op small { flex-basis: 100%; margin-top: -4px; } .opciones[data-grupo="tam"] .op { flex: 1 1 100%; } }
.resumen { position: sticky; top: 100px; align-self: start; color: #fff; background: radial-gradient(120% 120% at 80% 0%, #4B3570, var(--noche)); }
.resumen .total { display: flex; align-items: baseline; gap: 4px; font-family: Fredoka; font-size: 64px; line-height: 1; margin: 10px 0 4px; }
.resumen .total .dig { display: inline-block; height: 1em; overflow: hidden; }
.resumen .total .dig span { display: block; transition: transform .6s var(--rebote); }
.resumen ul { list-style: none; margin: 14px 0 20px; display: grid; gap: 8px; font-size: 14.5px; color: #E4DAF2; }
.resumen li { display: flex; justify-content: space-between; gap: 10px; }
.resumen .nota { color: #CFC3E2; }

/* ---------- M3 un día de spa (historia que avanza con el scroll) ---------- */
.dia { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; margin-top: 30px; }
.dia .escena { position: sticky; top: 110px; width: min(100%, 56vh); aspect-ratio: 4 / 5; justify-self: center; border-radius: 34px; overflow: hidden; background: var(--noche); }
.dia .escena img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.dia .escena img.on { opacity: 1; transform: none; }
.dia .huellas { position: absolute; left: 18px; right: 18px; bottom: 18px; height: 8px; border-radius: 8px; background: rgba(255,255,255,.25); }
.dia .huellas i { position: absolute; left: 0; top: 0; height: 100%; width: 100%; border-radius: 8px; background: var(--durazno); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .6s var(--ease); }
.dia ol { list-style: none; display: grid; gap: 34vh; padding: 10vh 0 30vh; }
.dia li { border-radius: var(--r); background: #fff; border: 2px solid var(--linea); padding: 26px; transform: translateX(14px) scale(.97); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.dia li.on { transform: none; border-color: var(--lila); box-shadow: 0 4px 0 rgba(110, 76, 140, .25), 0 24px 40px -24px rgba(41, 40, 90, .5); }
.dia li .n { font-family: Fredoka; font-size: 15px; color: var(--cta); }
@media (max-width: 860px) { .dia { grid-template-columns: 1fr; } .dia .escena { top: 84px; width: min(100%, 36vh); z-index: 1; } .dia ol { gap: 30vh; padding-top: 4vh; position: relative; z-index: 2; } }

/* ---------- M4 antes / después deslizable ---------- */
.ad { position: relative; width: min(560px, 100%); aspect-ratio: 4 / 5; border-radius: 34px; overflow: hidden; margin-inline: auto; touch-action: pan-y; user-select: none; --p: 50%; }
.ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad .despues { clip-path: inset(0 0 0 var(--p)); }
.ad .mango { position: absolute; top: 0; bottom: 0; left: var(--p); width: 4px; margin-left: -2px; background: #fff; }
.ad .mango b { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--cta); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 0 var(--cta-base); transition: transform .2s var(--rebote); }
.ad:active .mango b { transform: scale(1.12); }
.ad .rot { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.ad input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.ad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .ad-grid { grid-template-columns: 1fr; } }

/* ---------- reseñas, extras, blog, visita ---------- */
.estrellas { color: var(--naranja); letter-spacing: 2px; }
.cifra { font-family: Fredoka; font-size: 60px; line-height: 1; }
.extras { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.blog .tarjeta { flex-direction: row; } .blog .tarjeta .ft { flex: 0 0 40%; aspect-ratio: 4 / 5; align-self: start; }
@media (max-width: 560px) { .blog .tarjeta { flex-direction: column; } .blog .tarjeta .ft { flex: none; width: 100%; } }
.copiar .ic-ok { display: none; } .copiar.hecho .ic-cop { display: none; } .copiar.hecho .ic-ok { display: inline; }
.horario { list-style: none; display: grid; gap: 6px; margin-top: 12px; }
.horario li { display: flex; justify-content: space-between; gap: 20px; padding: 8px 14px; border-radius: 14px; }
.horario li.hoy { background: var(--agua); font-weight: 700; }

/* ---------- M5 ficha de tratamiento (dialog) ---------- */
dialog.ficha { margin: auto; width: min(760px, 94vw); max-height: 90dvh; border: 0; border-radius: 30px; padding: 0; background: var(--espuma); color: var(--tinta); box-shadow: 0 40px 80px -30px rgba(27, 26, 64, .7); }
dialog.ficha::backdrop { background: rgba(27, 26, 64, .55); }
dialog.ficha .in { display: grid; grid-template-columns: .9fr 1.1fr; }
dialog.ficha .in img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; align-self: start; }
dialog.ficha .tx { padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 12px; }
dialog.ficha .cerrar { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--tinta); font-size: 22px; cursor: pointer; transition: transform .3s var(--rebote); z-index: 2; }
@media (hover: hover) { dialog.ficha .cerrar:hover { transform: rotate(90deg); } }
@media (max-width: 640px) { dialog.ficha .in { grid-template-columns: 1fr; } dialog.ficha .in img { width: min(100%, 300px); margin: 18px auto 0; border-radius: 20px; } }
@media (prefers-reduced-motion: no-preference) { dialog.ficha[open] { animation: entra .45s var(--rebote); } }
@keyframes entra { from { opacity: 0; transform: translateY(24px) scale(.96); } }

/* aviso con Deshacer */
.aviso { position: fixed; left: 12px; right: 12px; bottom: 20px; z-index: 90; margin-inline: auto; max-width: 520px; transform: translateY(140%); display: flex; gap: 14px; align-items: center; padding: 14px 16px 14px 20px; border-radius: 22px; background: var(--tinta); color: #fff; transition: transform .45s var(--rebote); visibility: hidden; }
.aviso.ver { transform: none; visibility: visible; }
.aviso p { flex: 1; font-size: 14.5px; line-height: 1.4; }
.aviso button { border: 0; background: none; padding: 10px 8px; min-height: 44px; color: var(--durazno); font: 700 14.5px Nunito; cursor: pointer; text-decoration: underline; }

/* aparición suave (nativa) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .aparece { animation: aparece linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes aparece { from { opacity: 0; transform: translateY(30px); } }
  }
}
footer { padding: 50px 0 40px; font-size: 13.5px; }
footer .fg { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
footer .fg a { display: inline-block; padding: 8px 2px; }
footer .fg img { height: 22px; }

/* ---------- blog ---------- */
.articulo { max-width: 740px; margin-inline: auto; }
.articulo h1 { font-size: clamp(38px, 6vw, 62px); }
.articulo h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 40px 0 12px; }
.articulo p, .articulo li { font-size: 18px; color: #3A3766; }
.articulo p + p { margin-top: 14px; }
.articulo ul { margin: 12px 0 0 22px; display: grid; gap: 8px; }
.articulo .portada { border-radius: 30px; overflow: hidden; margin: 30px auto; aspect-ratio: 4 / 5; width: min(100%, 440px); }
.articulo .portada img { width: 100%; height: 100%; object-fit: cover; }
.migas { font-size: 14px; color: var(--gris); }
.caja-cta { margin-top: 40px; border-radius: 30px; padding: 30px; }
.borrador { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: #FFF1B8; color: #6B5000; font-weight: 700; font-size: 13px; }

.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.dos-fijo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 380px) { .dos-fijo { grid-template-columns: 1fr; } .panel { padding: 20px; } }
.grid3.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .dos, .grid3.g2 { grid-template-columns: 1fr; } }
/* las rayitas del meneo nunca ensanchan la página en celulares angostos */
main > section, footer, .articulo { overflow-x: clip; }
.barra .bt::after { right: auto; left: -26px; transform-origin: right center; scale: -1 1; }

/* =================== v2 (18-nov-2026): perrito interactivo, cita por WhatsApp, idiomas, reseñas =================== */
/* barra: selector de idioma y botón «Mi cita» con contador */
.idioma { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--agua); border: 1px solid var(--linea); }
.idioma a { position: relative; z-index: 1; min-width: 40px; height: 34px; display: grid; place-items: center; border-radius: 999px; font-weight: 700; font-size: 13.5px; text-decoration: none; color: var(--tinta); }
.idioma a[aria-current="true"] { color: #fff; }
.idioma i { position: absolute; top: 3px; left: 3px; width: 40px; height: 34px; border-radius: 999px; background: var(--lila); transition: transform .35s var(--rebote); }
html[lang="en"] .idioma i { transform: translateX(40px); }
.cuenta { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--cta); font-size: 12.5px; }
.cuenta.salta { animation: salta .5s var(--rebote); }
@keyframes salta { 40% { transform: scale(1.5) rotate(-8deg); } }
.cita-flot { position: fixed; right: 14px; bottom: 16px; z-index: 60; display: none; }
@media (max-width: 980px) { .barra .cita-bt { display: none; } .cita-flot { display: inline-flex; } .idioma { margin-left: auto; } }
@media (max-width: 420px) { .demo { display: none; } }

/* perrito del hero: se inclina hacia el dedo/mouse, brillo que lo sigue, baño de burbujas al tocar */
.perro-zona { position: relative; display: grid; justify-items: center; gap: 14px; perspective: 900px; }
button.burbuja-foto { all: unset; position: relative; display: block; aspect-ratio: 1; width: min(520px, 100%); cursor: pointer; border-radius: 50%; transform-style: flat;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .5s var(--ease); }
button.burbuja-foto:focus-visible { outline: 3px solid var(--durazno); outline-offset: 6px; }
.burbuja-foto .foto { display: block; }
.burbuja-foto .foto img { transition: transform .5s var(--ease); }
.burbuja-foto .brillo { position: absolute; inset: 6%; border-radius: 50%; pointer-events: none; opacity: .0; transition: opacity .4s;
  background: radial-gradient(180px circle at var(--bx, 50%) var(--by, 30%), rgba(255, 255, 255, .45), transparent 65%); }
.perro-zona.activo .brillo { opacity: 1; }
.burbuja-foto .aro { display: block; }
.meneo-perro { position: absolute; right: -2%; top: 30%; width: 13%; fill: none; stroke: var(--naranja); stroke-width: 6; stroke-linecap: round; opacity: 0; transform-origin: 0 50%; pointer-events: none; }
.perro-zona.feliz .meneo-perro { animation: menearPerro .9s var(--rebote) both; }
.perro-zona.feliz .burbuja-foto .foto img { transform: scale(1.06); }
@keyframes menearPerro { 0% { opacity: 0; transform: scale(.4) rotate(0); } 30% { opacity: 1; transform: scale(1) rotate(-16deg); } 55% { transform: rotate(14deg); } 75% { transform: rotate(-8deg); } 100% { opacity: 1; transform: rotate(0); } }
.perro-zona.squash button.burbuja-foto { animation: squash .45s var(--rebote); }
@keyframes squash { 30% { transform: scale(1.06, .92); } 60% { transform: scale(.96, 1.05); } }
.globo { position: relative; max-width: 280px; padding: 10px 18px; border-radius: 22px; background: var(--espuma); color: var(--tinta); font: 700 15px Nunito; text-align: center; box-shadow: 0 4px 0 rgba(110, 76, 140, .35); transition: transform .35s var(--rebote), opacity .3s; }
.globo::before { content: ''; position: absolute; top: -8px; left: 50%; margin-left: -9px; border: 9px solid transparent; border-top: 0; border-bottom-color: var(--espuma); }
.globo.nuevo { animation: globo .45s var(--rebote); }
@keyframes globo { from { transform: scale(.7) translateY(8px); opacity: 0; } }
.estela { position: absolute; z-index: 3; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, rgba(255,255,255,.95) 0 10%, transparent 18%), radial-gradient(circle, transparent 56%, rgba(214,190,255,.5) 72%, rgba(255,214,190,.7) 86%, rgba(255,255,255,.85) 96%, transparent 100%); }
@media (max-width: 900px) { button.burbuja-foto { width: min(320px, 82vw); } }

/* antes/después: 3 casos, arrastre real con puntero (mouse y dedo) */
.casos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.casos button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: 700 14px Nunito; cursor: pointer; transition: background .2s, transform .2s var(--rebote); }
.casos button[aria-selected="true"] { background: #fff; color: var(--tinta); }
.casos button:active { transform: scale(.95); }
.ad { cursor: ew-resize; touch-action: pan-y; }
.ad.arrastra .mango b { transform: scale(1.15); }
.ad .antes, .ad .despues { pointer-events: none; transition: opacity .35s; }
.ad.cambia .antes, .ad.cambia .despues { opacity: 0; }
.ad .rot { z-index: 2; }

/* un día de spa: en celular, carrusel deslizable con imán, flechas y puntos */
.solo-movil { display: none; } .solo-movil-flex { display: none; }
.pista { list-style: none; display: grid; gap: 34vh; padding: 10vh 0 30vh; }
@media (max-width: 860px) {
  .dia .escena { display: none; }
  .solo-movil { display: block; } .solo-movil-flex { display: flex; }
  .dia .pista { display: flex; gap: 14px; padding: 6px 2px 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .pista::-webkit-scrollbar { display: none; }
  .dia .pista li { flex: 0 0 84%; scroll-snap-align: center; transform: none !important; padding: 14px; }
  .pista li img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; margin-bottom: 12px; }
  .pista-nav { align-items: center; justify-content: center; gap: 16px; margin-top: 6px; }
  .flecha { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--lila); color: #fff; font: 700 26px Fredoka; cursor: pointer; box-shadow: 0 4px 0 #3F2A55; transition: transform .15s; }
  .flecha:active { transform: translateY(3px); box-shadow: 0 1px 0 #3F2A55; }
  .puntos { display: flex; gap: 8px; } .puntos i { width: 9px; height: 9px; border-radius: 9px; background: var(--linea); transition: width .3s var(--ease), background .3s; }
  .puntos i.on { width: 26px; background: var(--cta); }
}

/* reseñas reales */
.resenas { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; margin-top: 34px; }
@media (max-width: 860px) { .resenas { grid-template-columns: 1fr; } }
.res { position: relative; margin: 0; padding: 26px; border-radius: var(--r); background: var(--agua); border: 1px solid var(--linea); display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease); }
.res:first-child { background: var(--lila); color: #fff; }
.res:first-child figcaption small { color: #E4DAF2; } .res:first-child .estrellas { color: var(--durazno); }
.res blockquote { font-family: Fredoka; font-size: 21px; line-height: 1.3; }
.res figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.res figcaption small { display: block; font-size: 12.5px; color: var(--gris); }
.ini { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cta); color: #fff; font: 700 18px Fredoka; flex: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .res:hover { transform: translateY(-5px) rotate(-.6deg); } }

/* MI CITA */
dialog.cita { margin: auto 0 auto auto; height: 100dvh; max-height: 100dvh; width: min(480px, 100vw); border: 0; padding: 0; background: var(--espuma); color: var(--tinta); }
dialog.cita::backdrop { background: rgba(27, 26, 64, .55); }
@media (prefers-reduced-motion: no-preference) { dialog.cita[open] { animation: entraLado .45s var(--ease); } }
@keyframes entraLado { from { transform: translateX(40px); opacity: 0; } }
@media (max-width: 560px) { dialog.cita { margin: auto 0 0; width: 100vw; height: 92dvh; border-radius: 28px 28px 0 0; } @media (prefers-reduced-motion: no-preference) { dialog.cita[open] { animation: entraAbajo .45s var(--ease); } } }
@keyframes entraAbajo { from { transform: translateY(40px); opacity: 0; } }
.cita-in { display: flex; flex-direction: column; height: 100%; padding: 20px 22px; gap: 14px; overflow-y: auto; }
.cita-cab { display: flex; justify-content: space-between; align-items: center; }
.cita-cab h2 { font-size: 30px; }
.cita .cerrar { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--tinta); font-size: 22px; cursor: pointer; transition: transform .3s var(--rebote); }
@media (hover: hover) { .cita .cerrar:hover { transform: rotate(90deg); } }
.pasos-cita { list-style: none; display: flex; gap: 6px; }
.pasos-cita li { flex: 1; text-align: center; font-size: 12.5px; font-weight: 700; padding: 8px 4px; border-radius: 999px; background: var(--agua); color: var(--gris); }
.pasos-cita li.on { background: var(--lila); color: #fff; }
.cita-paso { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.items { list-style: none; display: grid; gap: 10px; }
.items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--linea); }
.items li.nuevo { animation: entraItem .45s var(--rebote); }
@keyframes entraItem { from { transform: translateX(30px) scale(.95); opacity: 0; } }
.items img { width: 56px; height: 70px; object-fit: cover; border-radius: 12px; }
.items b { display: block; font-size: 15px; } .items small { color: var(--gris); font-size: 12.5px; }
.items .quitar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea); background: var(--espuma); color: var(--tinta); font-size: 20px; cursor: pointer; transition: transform .2s var(--rebote), background .2s; }
.items .quitar:hover { background: #FBE3D9; transform: rotate(90deg); }
.vacio .sugerencias { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.vacio .chip { cursor: pointer; min-height: 40px; }
.cita-pie { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; position: sticky; bottom: 0; background: var(--espuma); }
.cita-pie .enlace { border: 0; background: none; font: 700 15px Nunito; color: var(--tinta); cursor: pointer; min-height: 44px; }
.eliminar { color: var(--cta) !important; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input, .form select, .form textarea { font: 16px Nunito; color: var(--tinta); padding: 12px 14px; border-radius: 14px; border: 2px solid var(--linea); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--lila); outline: none; }
.form [aria-invalid="true"] { border-color: var(--cta); }
.fila2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.error { color: var(--cta); font-weight: 700; font-size: 14px; min-height: 1em; }
.mensaje { white-space: pre-wrap; font: 15px/1.5 Nunito; background: #E7F5DC; border-radius: 18px 18px 4px 18px; padding: 16px; color: #1F3312; border: 1px solid #CFE6BC; }
.aviso-cita { font-size: 14px; padding: 12px 14px; border-radius: 14px; background: #FFF1B8; color: #5A4300; }
.volar { position: fixed; z-index: 95; width: 64px; height: 80px; border-radius: 14px; object-fit: cover; pointer-events: none; box-shadow: 0 10px 20px -8px rgba(27,26,64,.6); }
.ad input.sr { inset: auto; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; cursor: default; }
.ad:focus-within { outline: 3px solid var(--durazno); outline-offset: 4px; }

.pista-cont { min-width: 0; }
@media (max-width: 860px) { .dia { grid-template-columns: minmax(0, 1fr); } }
.ad[role="slider"]:focus-visible { outline: 3px solid var(--durazno); outline-offset: 4px; }
.cita-paso[hidden] { display: none; }
@media (max-width: 900px) { .perro-zona { order: -1; } }
