/* Tipografías alojadas en el propio sitio (licencia SIL OFL, ver assets/fonts/) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff") format("woff");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fonts/playfair-display-latin.woff") format("woff");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/playfair-display-italic-latin.woff") format("woff");
}
@font-face {
  font-family: "Pinyon Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/pinyon-script-latin.woff") format("woff");
}

:root {
  --bg: #fff4f8;
  --bg2: #ffd6e6;
  --bg-warm: #fff7f9;
  --mesh:
    radial-gradient(at 10% 20%, rgba(254,226,232,.9) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(247,209,204,.6) 0px, transparent 50%),
    radial-gradient(at 50% 60%, rgba(255,235,239,.9) 0px, transparent 60%),
    radial-gradient(at 80% 90%, rgba(245,211,203,.6) 0px, transparent 50%);
  --pink: #f7a8c4;
  --hot: #e6416f;
  --hot-text: #b8264f;
  --wine: #3b1424;
  --ink: #3b1424;
  --dim: #7a4a5c;
  --gold: #c9a24b;
  --line: rgba(59,20,36,.18);
  --pad: clamp(14px, 2.6vw, 34px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --hw: min(56vw, 680px);
  --persp: 1150px;
  --serif: "Playfair Display", "Times New Roman", serif;
  --script: "Pinyon Script", "Brush Script MT", cursive;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --tap: 44px;
  --ribbon-h: 34px;
  --cw: 140px;
}

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

html {
  background: var(--bg);
  scrollbar-gutter: stable;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  overscroll-behavior-y: none;
  position: relative;
}

body.locked {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 14px;
  z-index: 500;
  background: var(--hot-text);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: top .25s ease;
}
.skip-link:focus {
  top: 14px;
}

/* SPARKLES HERO BACKGROUND */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg-warm);
  background-image:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,.6) 0%, transparent 55%),
    var(--mesh);
}

/* Esferas de color difuminadas que flotan suavemente detrás de todo */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  will-change: transform;
  animation: orbFloat 18s ease-in-out infinite alternate;
}
.orb-1 {
  width: 46vmax; height: 46vmax;
  top: -12%; left: -10%;
  background: radial-gradient(circle, #fcd5cf 0%, #f7b0a7 70%);
}
.orb-2 {
  width: 40vmax; height: 40vmax;
  top: 18%; right: -12%;
  background: radial-gradient(circle, #fce1e8 0%, #f4b8c5 70%);
  animation-duration: 22s;
}
.orb-3 {
  width: 44vmax; height: 44vmax;
  bottom: -18%; left: 28%;
  background: radial-gradient(circle, #ffe6d9 0%, #f5c4b8 70%);
  animation-duration: 15s;
}
@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -40px) scale(1.08); }
  100% { transform: translate(-20px, 30px) scale(.95); }
}


.sparkle {
  position: fixed;
  pointer-events: none;
  color: var(--gold);
  font-family: var(--serif);
  line-height: 1;
  user-select: none;
  z-index: 1;
  animation: twinkle 3.6s ease-in-out infinite;
}

@keyframes twinkle{
  0%, 100% { opacity: var(--op-min, 0.35); transform: scale(0.85); }
  50% { opacity: var(--op-max, 0.8); transform: scale(1.18); }
}

/* HERO SECTION & 3D STAGE */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 360px;
  overflow: hidden;
}
#stage {
  position: absolute;
  inset: 0;
  z-index: 10;
  perspective: var(--persp);
  perspective-origin: 50% 50%;
  overflow: hidden;
  touch-action: pan-y;
  transition: opacity .6s var(--ease), filter .6s var(--ease);
}

#world {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

#orb {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  opacity: 1;
  transform: none;
}

#headline {
  position: absolute;
  top: 0;
  left: 0;
  --hwe: min(var(--hw), var(--hw-max, 100vw));
  width: var(--hwe);
  margin-left: calc(var(--hwe) / -2);
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(25px, 3.7vw, 53px);
  line-height: 1.06;
  letter-spacing: -.005em;
  color: var(--wine);
  text-shadow: 0 2px 30px rgba(255,244,248,.85);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform, opacity;
}

#headline .inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
}

#headline .inner .w, #headline .inner .sub {
  display: inline-block;
  opacity: 0;
  transform: translateY(.42em);
  filter: blur(7px);
  transition: opacity 1.05s var(--ease), transform 1.15s var(--ease), filter 1.05s var(--ease);
  transition-delay: calc(.9s + var(--i) * .085s);
}
body.revealed #headline .inner .w, body.revealed #headline .inner .sub {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.script {
  font-family: var(--script);
  font-style: normal;
  color: var(--hot);
}
#headline .script {
  font-size: 1.25em;
  line-height: 0.8;
  display: inline-block;
}

#headline .sub {
  display: block;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(12px, 1.2vw, 15px);
  color: var(--dim);
  margin-top: .9em;
  line-height: 1.4;
  letter-spacing: normal;
}

/* 3D CARDS */
.card {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--cw);
  height: calc(var(--cw) * 5 / 4);
  margin-left: calc(var(--cw) / -2);
  margin-top: calc(var(--cw) * -5 / 8);
  transform-style: preserve-3d;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  will-change: transform, opacity;
  outline: none;
}
.card figure {
  width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg2);
  box-shadow: 0 12px 36px rgba(230,65,111,.22);
  transition: transform .5s var(--ease);
}
.card:hover figure {
  transform: scale(1.045);
}
.card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,244,248,var(--d,0));
  border-radius: 10px;
  pointer-events: none;
}
.card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.card figure img.in {
  opacity: 1;
}
body.revealed .card figure img {
  transition: opacity .8s ease-out;
}

/* FALLBACK CARD IF IMAGE FAILS */
.fallback-card {
  position: absolute;
  inset: 0;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px;
  text-align: center;
  border: 1px solid rgba(230,65,111,.2);
  border-radius: 10px;
  pointer-events: none;
}
.fallback-card .fb-cat {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hot-text);
  margin-bottom: 6px;
  font-weight: 500;
}
.fallback-card .fb-title {
  font-family: var(--serif);
  font-size: clamp(13px, 1.25vw, 16px);
  color: var(--wine);
  line-height: 1.24;
  margin: 0;
}
.fallback-card .fb-logo {
  font-family: var(--serif);
  font-size: 10.5px;
  color: var(--gold);
  margin-top: 8px;
  letter-spacing: .1em;
}

/* VIGNETTE */
.vig {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  background: radial-gradient(ellipse 88% 92% at 50% 50%, transparent 55%, rgba(247,168,196,.22) 85%, rgba(230,65,111,.28) 100%);
  transition: opacity .5s ease;
}
body.gridview .vig, body.lit .vig {
  opacity: 0;
}

/* CHROME REVEAL BASE */
header.chrome, .ribbon.chrome, .gridbtn, .cue.chrome, .wa-fab {
  opacity: 0;
  transition: opacity 1.2s var(--ease) .15s, transform 1.2s var(--ease) .15s;
}
body.revealed header.chrome, body.revealed .ribbon.chrome, body.revealed .cue.chrome, body.revealed .gridbtn, body.revealed .wa-fab {
  opacity: 1;
}

/* PROMO RIBBON */
.ribbon {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 61;
  height: var(--ribbon-h);
  background: var(--hot-text);
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px 0 16px;
  text-align: center;
}
.ribbon .ribbon-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ribbon a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  margin-left: 6px;
}
.ribbon .ribbon-close {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}
.ribbon.dismissed {
  display: none !important;
}

/* HEADER */
header.chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: calc(var(--pad) * .8 + var(--safe-top) + var(--ribbon-h, 0px));
  padding-right: calc(var(--pad) + var(--safe-right));
  padding-bottom: calc(var(--pad) * .35);
  padding-left: calc(var(--pad) + var(--safe-left));
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease, padding .3s ease, border-bottom .35s ease;
}
body.scrolled header.chrome {
  background: rgba(255, 244, 248, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(59, 20, 36, 0.08);
  box-shadow: 0 4px 20px rgba(59, 20, 36, 0.04);
  padding-top: calc(8px + var(--safe-top) + var(--ribbon-h, 0px));
  padding-bottom: 8px;
}
body.menu-open header.chrome {
  z-index: 95;
}

/* HERO SCROLL CUE */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(var(--pad) + var(--safe-bottom) + 8px);
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--wine);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .85;
  transition: opacity .35s ease, transform .35s ease, color .3s ease;
  animation: floatCue 2.4s ease-in-out infinite;
  cursor: pointer;
}
.hero-scroll-cue:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
  color: var(--hot);
}
body.scrolled .hero-scroll-cue, body.deep .hero-scroll-cue {
  opacity: 0;
  pointer-events: none;
}
@keyframes floatCue{
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 27px);
  color: var(--wine);
  text-decoration: none;
  white-space: nowrap;
  transition: color .35s ease;
}
.wordmark img.wm-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 10px rgba(230,65,111,.2);
}
.wordmark .script {
  margin-left: 4px;
  color: var(--hot);
}

.menu-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 0 4px;
}
.menu-label {
  font-family: var(--sans);
  font-size: clamp(12px, 1.25vw, 15px);
  font-weight: 500;
  color: var(--wine);
  transition: opacity .35s ease;
}
body.menu-open .menu-label {
  opacity: 0;
}
.bars {
  position: relative;
  width: clamp(42px, 4.4vw, 62px);
  height: clamp(16px, 2vw, 22px);
  display: block;
}
.bars i {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  background: var(--wine);
  transition: transform .4s var(--ease), width .4s var(--ease), background .35s;
}
.bars i:nth-child(1) {
  width: 100%;
  transform: translateY(-5px);
}
.bars i:nth-child(2) {
  width: clamp(34px, 3.6vw, 50px);
  transform: translateY(5px);
}
.menu-btn:hover .bars i:nth-child(2) {
  transform: translateY(5px) translateX(-8px);
}
body.menu-open .bars i:nth-child(1) {
  transform: translateY(0) rotate(45deg);
  width: 100%;
}
body.menu-open .bars i:nth-child(2) {
  transform: translateY(0) rotate(-45deg);
  width: 100%;
}

/* BIO CARD */

/* COLOPHON */
.colophon {
  position: absolute;
  right: calc(var(--pad) + var(--safe-right));
  bottom: calc(var(--pad) + var(--safe-bottom));
  z-index: 25;
  font-size: 12.5px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7);
  transition: opacity .45s ease;
}
.colophon .dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fbf7f;
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse{
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.4); opacity: 0.55; }
}
body.deep .colophon, body.scrolled .colophon, body.gridview .colophon, body.lit .colophon {
  opacity: 0;
  pointer-events: none;
}

/* Escritorio: evita que los elementos del pie se pisen entre sí */
@media (min-width: 601px){
  .colophon.chrome { right: auto; left: calc(var(--pad) + var(--safe-left, 0px)); }
  .hero-actions.chrome { right: calc(var(--pad) + var(--safe-right) + 72px); bottom: calc(var(--pad) + var(--safe-bottom) + 8px); }
  .cue.chrome { bottom: calc(var(--pad) + var(--safe-bottom) + 68px); }
}
@media (min-width: 601px) and (max-width: 1200px){
  .colophon.chrome { max-width: calc(50% - 120px); white-space: normal; border-radius: 18px; line-height: 1.3; }
  .hero-actions.chrome { flex-direction: column; align-items: flex-end; }
}
@media (max-width: 600px){
  .hero-actions.chrome { bottom: calc(var(--pad) + var(--safe-bottom) + 80px); }
}

/* HERO BUTTONS & ACCIONES */
.hero-actions {
  position: absolute;
  right: calc(var(--pad) + var(--safe-right));
  bottom: calc(var(--pad) + var(--safe-bottom));
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 600px){
  .hero-actions {
    bottom: calc(var(--pad) + var(--safe-bottom) + 52px);
    right: var(--pad);
    flex-direction: column;
    align-items: flex-end;
  }
}
.gridbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(59, 20, 36, 0.08);
  transition: all 0.3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.gridbtn {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(230, 65, 111, 0.25);
  color: var(--wine);
}
.gridbtn:hover {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 65, 111, 0.25);
}

/* DRAG OVERLAY */

/* TOAST MESSAGE */

/* FLOATING WHATSAPP FAB BUTTON */
.wa-fab {
  position: fixed;
  right: calc(var(--pad) + var(--safe-right));
  bottom: calc(var(--pad) + var(--safe-bottom) + 8px);
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
}
body.revealed.menu-open .wa-fab,
body.revealed.lit .wa-fab {
  opacity: 0;
  pointer-events: none;
}
.wa-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}
.wa-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* CUE SCROLL / DRAG */
.cue {
  position: absolute;
  left: 50%;
  bottom: calc(var(--pad) + var(--safe-bottom) + 38px);
  transform: translateX(-50%);
  z-index: 24;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: rgba(59,20,36,.75);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .45s ease;
}
body.deep .cue, body.scrolled .cue, body.gridview .cue, body.lit .cue {
  opacity: 0;
  pointer-events: none;
}
.cue s.cue-bar {
  display: block;
  width: 44px;
  height: 1px;
  background: rgba(59,20,36,.18);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.cue s.cue-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hot);
  animation: sweep 2.6s ease infinite;
}
@keyframes sweep{
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
body.deep .cue, body.gridview .cue, body.lit .cue {
  opacity: 0;
}

/* PILL BUTTONS */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .03em;
  transition: background .3s, color .3s, transform .25s var(--ease), border-color .3s;
  white-space: nowrap;
  text-align: center;
}
@media (max-width: 600px) {
  .pill { white-space: normal; }
}
.pill-line {
  border: 1px solid var(--wine);
  background: transparent;
  color: var(--wine);
}
.pill-line:hover {
  background: var(--wine);
  color: #fff;
}
.pill-solid {
  background: var(--hot-text);
  color: #fff;
  border: 1px solid transparent;
}
.pill-solid:hover {
  background: #96203f;
}

/* GRID FEED VIEW IN MAIN PAGE FLOW */
#grid {
  position: relative;
  inset: auto;
  z-index: 20;
  overflow: visible;
  background: transparent;
  padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 60px);
  opacity: 1 !important;
  pointer-events: auto !important;
}

.chips-bar {
  max-width: 1240px;
  margin: 0 auto 28px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.chips-bar::-webkit-scrollbar {
  display: none;
}
.chip {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: var(--tap);
  white-space: nowrap;
  color: var(--wine);
  transition: background .25s, color .25s, border-color .25s;
}
.chip.active {
  background: var(--hot-text);
  color: #fff;
  border-color: var(--hot-text);
}

#grid .rows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  max-width: 1240px;
  margin: 0 auto;
}
#grid .piece {
  aspect-ratio: 4/5;
  border-radius: 10px;
  background: var(--bg2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 8px 24px rgba(59,20,36,.06);
  transition: opacity .3s var(--ease), transform .5s var(--ease);
}
#grid .piece.hidden {
  display: none;
}
#grid .piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
#grid .piece:hover img {
  transform: scale(1.05);
  opacity: 1;
}
#grid .piece-cap {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(59,20,36,.82) 0%, rgba(59,20,36,.3) 60%, transparent 100%);
  color: #fff;
  padding: 26px 14px 12px;
  pointer-events: none;
}
#grid .piece-cap .piece-title {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4px;
}
#grid .piece-cap .piece-cat {
  font-family: var(--sans);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #ffd6e6;
}

/* LIGHTBOX #lit */
#lit {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(56px, 8vh, 84px) var(--pad);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .42s ease, visibility 0s linear .42s;
}
body.lit #lit {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .42s ease, visibility 0s;
}
#lit .scrim {
  position: absolute;
  inset: 0;
  background: rgba(255,244,248,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#lit .plate {
  position: relative;
  z-index: 2;
  width: min(86vw, 980px);
  display: grid;
  grid-template-columns: min(38vw, 420px, calc((100vh - 170px) * .8)) 1fr;
  gap: 32px;
  align-items: center;
  transition: transform .62s var(--ease), opacity .42s ease;
  transform-origin: center center;
}
#lit .shot {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 12px;
  background: var(--bg2);
  box-shadow: 0 30px 80px rgba(230,65,111,.28);
  overflow: hidden;
}
#lit .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
#lit .close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 12.5px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 999px;
  background: rgba(59,20,36,.35);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color .3s, background .3s;
  z-index: 5;
}
#lit .close-btn:hover {
  border-color: #fff;
  background: rgba(59,20,36,.55);
}
#lit .meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 14px;
}
#lit .cat {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--hot-text);
  font-weight: 500;
}
#lit h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--wine);
}
#lit .note {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(59,20,36,.85);
}
#lit .nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 6px;
}
#lit .counter {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
  white-space: nowrap;
}
.arrow-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--wine);
  font-size: 18px;
  transition: background .25s, color .25s;
}
.arrow-btn:hover {
  background: var(--hot-text);
  color: #fff;
  border-color: var(--hot-text);
}

/* FULLSCREEN MENU #menu */
#menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bg2);
  background-color: var(--bg-warm);
  background-image: var(--mesh);
  display: grid;
  place-items: center;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .85s var(--ease), visibility 0s linear .85s;
  pointer-events: none;
}
body.menu-open #menu {
  clip-path: inset(0);
  visibility: visible;
  transition: clip-path .85s var(--ease), visibility 0s;
  pointer-events: auto;
}
#menu nav {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1vw, 10px);
  text-align: center;
  padding: var(--pad);
}
#menu nav a {
  font-family: var(--serif);
  font-size: clamp(30px, 6.4vw, 66px);
  line-height: 1.08;
  color: var(--wine);
  opacity: .6;
  transition: opacity .35s, color .35s, letter-spacing .35s;
}
#menu nav a:hover {
  opacity: 1;
  color: var(--hot);
  letter-spacing: .012em;
}
#menu .menu-foot {
  position: absolute;
  left: calc(var(--pad) + var(--safe-left));
  right: calc(var(--pad) + var(--safe-right));
  bottom: calc(var(--pad) + var(--safe-bottom));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.7;
}

/* CONTENT SECTIONS IN MAIN PAGE FLOW */
#sheet {
  position: relative;
  z-index: 20;
  background: transparent;
  overflow: visible;
  pointer-events: auto;
}
#sheet .sheet-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 50px) var(--pad) clamp(60px, 8vw, 100px);
  position: relative;
}
section[data-panel] {
  display: block !important;
  margin-bottom: clamp(70px, 9vw, 120px);
  scroll-margin-top: calc(var(--ribbon-h, 0px) + 96px);
  position: relative;
}

.kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--hot-text);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
section[data-panel] h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
  color: var(--wine);
  margin-bottom: 18px;
}
section[data-panel] .intro {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--dim);
  max-width: 56ch;
  margin-bottom: 40px;
}

/* PANEL: SOBRE MI */
.quote-box {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--wine);
  line-height: 1.5;
  border-left: 2px solid var(--pink);
  padding-left: 22px;
  margin-bottom: 28px;
}
.bio-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--wine);
  margin-bottom: 36px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.val-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(59,20,36,.06);
  box-shadow: 0 4px 18px rgba(230,65,111,.06);
}
.val-card .val-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--wine);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.val-card .val-title span {
  color: var(--gold);
}
.val-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--dim);
}
.badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.badge-chip {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg2);
  color: var(--wine);
  font-weight: 500;
}

/* PANEL: SERVICIOS (PAQUETES) */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 40px;
}
.plan-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 24px;
  border: 1px solid rgba(59,20,36,.08);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 6px 24px rgba(59,20,36,.04);
  transition: transform .35s var(--ease);
}
.plan-card.featured {
  border: 2px solid var(--hot);
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 12px 36px rgba(230,65,111,.16);
}
.badge-hot {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hot-text);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.plan-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--wine);
  margin-bottom: 10px;
}
.plan-card .desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--dim);
  margin-bottom: 22px;
  min-height: 64px;
}
.price-block {
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(59,20,36,.08);
  padding-bottom: 18px;
}
.old-price {
  font-size: 14px;
  color: var(--dim);
  text-decoration: line-through;
  margin-right: 8px;
}
.discount-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--hot-text);
  background: var(--bg2);
  padding: 2px 6px;
  border-radius: 4px;
}
.curr-price {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--wine);
  line-height: 1.1;
  margin: 6px 0 4px;
}
.period-label {
  font-size: 11.5px;
  color: var(--dim);
}
.saving-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--hot-text);
  margin-top: 4px;
}
.plan-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex-grow: 1;
}
.plan-feats li {
  font-size: 13px;
  line-height: 1.45;
  color: var(--wine);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.plan-feats li::before {
  content: "✓";
  color: var(--hot);
  font-weight: 600;
}

/* PANEL: SERVICIOS INDIVIDUALES */
.single-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.single-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(59,20,36,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.single-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--wine);
  margin-bottom: 8px;
}
.single-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--dim);
  margin-bottom: 12px;
}
.single-price {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--hot-text);
  font-weight: 500;
  margin-bottom: 12px;
}
.custom-box {
  background: var(--bg2);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  margin-top: 24px;
}
.custom-box h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--wine);
  margin: 8px 0 12px;
}
.custom-box p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--dim);
  max-width: 60ch;
  margin: 0 auto 22px;
}

/* PANEL: ANTES / DESPUES */

/* PANEL: MI PROCESO */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: var(--gold);
  opacity: .5;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}
.step-num {
  font-family: var(--script);
  font-size: 28px;
  line-height: 1;
  color: var(--hot-text);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(201,162,75,.55);
}
.step-info {
  padding-top: 6px;
}
.step-info h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--wine);
  margin-bottom: 6px;
}
.step-info p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dim);
}

.tips-block {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid rgba(59,20,36,.06);
}
.tips-block h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--wine);
  margin-bottom: 22px;
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.tip-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px;
}
.tip-card h4 {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--wine);
  margin-bottom: 6px;
}
.tip-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--dim);
}
.tip-closing {
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  font-size: 17px;
  color: var(--hot-text);
  margin-top: 14px;
}

/* PANEL: PREGUNTAS FRECUENTES */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(59,20,36,.08);
  overflow: hidden;
}
.faq-btn {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--wine);
}
.faq-btn span.faq-icon {
  font-family: var(--sans);
  font-size: 20px;
  color: var(--hot-text);
  transition: transform .35s ease;
}
.faq-item.open .faq-btn span.faq-icon {
  transform: rotate(45deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s ease;
  padding: 0 22px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.65;
}
.faq-item.open .faq-content {
  max-height: 260px;
  padding-bottom: 20px;
}

/* PANEL: CONTACTO */
.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.contact-form-box {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(59,20,36,.08);
  margin-bottom: 40px;
  box-shadow: 0 6px 24px rgba(59,20,36,.04);
}
.contact-form-box h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--wine);
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.form-full {
  grid-column: 1 / -1;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--wine);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--wine);
  background: var(--bg);
  transition: border-color .25s, box-shadow .25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--hot);
  outline: none;
  box-shadow: 0 0 0 3px rgba(230,65,111,.15);
}
.form-error {
  font-size: 11.5px;
  color: #d11a4b;
  display: none;
  margin-top: 2px;
}
.form-error.visible {
  display: block;
}
.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.sheet-foot {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(59,20,36,.1);
}
.sheet-foot img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 1.5px solid #fff;
  box-shadow: 0 4px 14px rgba(230,65,111,.2);
}
.sheet-foot p.thanks {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--wine);
  margin-bottom: 6px;
}
.sheet-foot p.copy {
  font-size: 12px;
  color: var(--dim);
}

/* SPLASH #splash */
#splash {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--bg2);
  background-color: var(--bg-warm);
  background-image: var(--mesh);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  transition: opacity .6s ease;
}
#splash.out {
  opacity: 0;
  pointer-events: none;
}
img.mark-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(230,65,111,.28);
  opacity: 0;
  animation: riseIn 1.25s ease .1s forwards;
}
.mark {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 52px);
  color: var(--wine);
  opacity: 0;
  animation: riseIn 1.25s ease .25s forwards;
}
.mark .script {
  color: var(--hot);
  margin-left: 8px;
}
.bar {
  width: clamp(120px, 17vw, 210px);
  height: 1px;
  background: rgba(59,20,36,.14);
  position: relative;
  overflow: hidden;
}
.bar s#bar {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s ease;
}
.tag {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(59,20,36,.5);
  opacity: 0;
  animation: riseIn .9s ease .7s forwards;
}
@keyframes riseIn{
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}

/* CUSTOM CURSOR #dot */
#dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 19px;
  height: 19px;
  margin: -9.5px 0 0 -9.5px;
  border-radius: 50%;
  background: rgba(230,65,111,.85);
  border: 1px solid transparent;
  pointer-events: none;
  z-index: 300;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
#dot.wide {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: rgba(230,65,111,.14);
  border-color: rgba(230,65,111,.75);
}
@media (hover: none), (pointer: coarse){
  #dot {
    display: none !important;
  }
}

/* RESPONSIVE SPECIFICATIONS */
@media (max-width: 900px){

  .colophon {
    font-size: 11px;
  }
  #lit .plate {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  #lit .shot {
    max-width: min(78vw, calc((100dvh - 260px) * .8));
    margin: 0 auto;
  }
  #grid .rows {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  #grid {
    padding-top: calc(var(--pad) * 2.8 + var(--safe-top) + var(--ribbon-h, 0px));
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .plan-card.featured {
    transform: none;
  }
}

@media (max-width: 768px){
  .colophon {
    display: none !important;
  }

  #headline {
    font-size: clamp(22px, 6.4vw, 34px);
  }
  #menu nav a {
    font-size: clamp(26px, 8vw, 46px);
  }
  #menu .menu-foot {
    font-size: 11.5px;
  }
  .values-grid, .single-grid, .tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  :root {
    --hw: min(84vw, 360px);
    --pad: clamp(12px, 4vw, 18px);
  }
  img.mark-logo {
    width: 88px;
    height: 88px;
  }

  .cue {
    display: none !important;
  }
  .ribbon .ribbon-text {
    font-size: 11.5px;
  }
  #lit {
    display: block;
    overflow-y: auto;
    padding: calc(52px + var(--safe-top)) var(--pad) calc(32px + var(--safe-bottom));
  }
  #lit .plate {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  #lit h2 {
    font-size: clamp(22px, 6vw, 28px);
  }
  #lit .note {
    font-size: 13px;
    line-height: 1.58;
  }
  #lit .close-btn {
    top: 8px;
    right: 8px;
  }
  #grid .rows {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  #grid .piece-cap {
    padding: 18px 10px 8px;
  }
  #grid .piece-cap .piece-title {
    font-size: 13px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px){
  :root {
    --hw: min(88vw, 320px);
  }

  #grid .rows {
    grid-template-columns: 1fr;
  }
  #menu nav {
    gap: 2px;
  }
  #menu nav a {
    font-size: clamp(22px, 9vw, 36px);
  }
}

@media (max-height: 520px) and (orientation: landscape){
  .colophon, .cue {
    display: none !important;
  }
  #headline {
    font-size: clamp(18px, 4.8vh, 28px);
  }
  #lit {
    padding-top: calc(36px + var(--safe-top));
  }
  #lit .meta {
    padding-top: 10px;
  }
  #lit .plate {
    width: min(70vw, calc((100dvh - 80px) * 1.3));
  }
  header.chrome {
    padding-top: calc(8px + var(--safe-top) + var(--ribbon-h, 0px));
  }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .14s !important;
  }
  .sparkle {
    animation: none !important;
    opacity: 0.55 !important;
  }
  .colophon .dot-live {
    animation: none !important;
  }
  .cue s.cue-bar::after {
    animation: none !important;
  }
}

/* Antes inline en el HTML (permite una CSP más estricta, sin 'unsafe-inline') */
.ribbon-short { display: none; }
#litFallback { display: none; }
#headline .inner > :nth-child(1) { --i: 0; }
#headline .inner > :nth-child(2) { --i: 1; }
#headline .inner > :nth-child(3) { --i: 2; }
#headline .inner > :nth-child(4) { --i: 3; }
#headline .inner > :nth-child(5) { --i: 4; }
#headline .inner > :nth-child(6) { --i: 5; }
#headline .inner > :nth-child(7) { --i: 6; }
.mt-28 { margin-top: 28px; }
.price-note { font-size: 13px; color: var(--dim); }
.contact-closing {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--hot-text);
  margin-bottom: 28px;
}
.form-group [aria-invalid="true"] { border-color: var(--hot-text); }

/* Alto contraste y modo de colores forzados */
@media (prefers-contrast: more) {
  :root { --dim: #4a2434; --line: rgba(59,20,36,.55); }
  .ambient-orb { opacity: .25; }
}
@media (forced-colors: active) {
  .pill, .chip, .gridbtn, .arrow-btn, .menu-btn, .wa-fab, .faq-btn {
    border: 1px solid ButtonText;
  }
  :focus-visible { outline: 3px solid Highlight; }
}

/* Posición y brillo de cada destello (antes inline en el HTML) */
.sp1 { top:9%; left:11%; font-size:12px; --op-min:.4; --op-max:.78; animation-delay:0s }
.sp2 { top:15%; left:28%; font-size:8px; --op-min:.35; --op-max:.65; animation-delay:.5s }
.sp3 { top:22%; left:82%; font-size:14px; --op-min:.42; --op-max:.8; animation-delay:1.1s }
.sp4 { top:33%; left:18%; font-size:7px; --op-min:.35; --op-max:.7; animation-delay:1.8s }
.sp5 { top:39%; left:75%; font-size:11px; --op-min:.4; --op-max:.75; animation-delay:.7s }
.sp6 { top:47%; left:8%; font-size:13px; --op-min:.45; --op-max:.8; animation-delay:2.3s }
.sp7 { top:52%; left:91%; font-size:9px; --op-min:.38; --op-max:.68; animation-delay:.3s }
.sp8 { top:58%; left:24%; font-size:14px; --op-min:.4; --op-max:.79; animation-delay:1.4s }
.sp9 { top:64%; left:84%; font-size:8px; --op-min:.35; --op-max:.65; animation-delay:2.1s }
.sp10 { top:71%; left:14%; font-size:10px; --op-min:.42; --op-max:.76; animation-delay:.9s }
.sp11 { top:79%; left:38%; font-size:6px; --op-min:.35; --op-max:.6; animation-delay:1.6s }
.sp12 { top:83%; left:69%; font-size:13px; --op-min:.44; --op-max:.8; animation-delay:.4s }
.sp13 { top:88%; left:88%; font-size:10px; --op-min:.38; --op-max:.72; animation-delay:2.7s }
.sp14 { top:12%; left:64%; font-size:9px; --op-min:.35; --op-max:.7; animation-delay:1.9s }
.sp15 { top:27%; left:45%; font-size:7px; --op-min:.35; --op-max:.65; animation-delay:2.5s }
.sp16 { top:73%; left:54%; font-size:11px; --op-min:.4; --op-max:.75; animation-delay:.8s }
.sp17 { top:92%; left:22%; font-size:8px; --op-min:.35; --op-max:.62; animation-delay:1.3s }
.sp18 { top:6%; left:48%; font-size:12px; --op-min:.42; --op-max:.78; animation-delay:3.1s }
.ribbon-text a { display: inline-block; padding: 6px 4px; }

@media (max-width: 900px) {
  .ribbon-cta-more { display: none; }
}

/* Foco por teclado en la galería */
#grid .piece:focus-visible {
  outline: 3px solid var(--hot-text);
  outline-offset: 3px;
}

@media (max-width: 380px) {
  .ribbon .ribbon-text { font-size: 10.5px; letter-spacing: 0; }
}

/* Selector del formulario con el mismo aspecto que los demás campos */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%233b1424' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
/* Sin hueco de más debajo del último panel */
#sheet .sheet-wrap > section:last-child { margin-bottom: 0; }

/* Testimonios */
.testimonial-list { display: grid; gap: 14px; }
.testimonial {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(59,20,36,.08);
  padding: 20px;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--wine);
}
.testimonial figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--hot-text);
}
@media (min-width: 900px) { .testimonial-list { grid-template-columns: repeat(2, 1fr); } }

/* Título legible sobre las tarjetas en celulares */
@media (max-width: 640px) {
  #headline .inner { text-shadow: 0 0 14px #fff7f9, 0 0 28px #fff7f9; }
}


[hidden] { display: none !important; }
