/* ═══════════════════════════════════════════════════════════
   APAPACHO by Bárbara — v3 "El mundo del logo"
   Paleta muestreada por pixel del logotipo real:
   magenta #A84C7D · oro #FDCC3D · crema #E8D6CB
   Tipografía: Italiana (esqueleto del wordmark) + Bodoni Moda
   (acentos itálicos) + Jost (cuerpo geométrico)
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Colores del logotipo (exactos) */
  --brand: #A84C7D;
  --brand-bright: #C25E92;
  --brand-deep: #7C3159;
  --gold: #FDCC3D;
  --gold-deep: #D9A81F;
  --logo-cream: #E8D6CB;

  /* Derivados */
  --wine: #2C0F21;         /* oscuro con alma magenta */
  --wine-2: #3A1830;       /* superficies sobre vino */
  --wine-deepest: #200A18; /* footer */
  --cream: #F3E9DD;        /* secciones claras */
  --paper: #FCF7F0;        /* superficies sobre crema */
  --ink: #3A2130;          /* texto sobre claro */
  --ink-soft: #75566A;
  --moon: #F6ECE2;         /* texto sobre oscuro */
  --moon-soft: #CBA9BD;
  --line-light: #E5D3C2;
  --line-dark: rgb(246 236 226 / .16);

  --font-display: "Italiana", Georgia, serif;
  --font-accent: "Bodoni Moda", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 26px 60px -22px rgb(0 0 0 / .5);
  --shadow-soft: 0 12px 32px -14px rgb(58 33 48 / .28);
  --maxw: 1180px;
}

/* ── Base ──
   Sistema tipográfico Apapacho en TODO el sitio, derivado del logo:
   · Italiana        → la voz del wordmark (títulos en mayúsculas)
   · Bodoni Moda     → la voz editorial (todo el texto corrido, como "By Bárbara")
   · Jost espaciada  → la voz "BAKERY & DESSERTS" (botones, etiquetas, navegación) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--font-accent); font-weight: 440; color: var(--moon); background: var(--wine);
  line-height: 1.72; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.word { display: inline-block; white-space: nowrap; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.04; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4.9vw, 3.7rem);
  text-transform: uppercase; letter-spacing: .01em; }
h2 em { font-family: var(--font-accent); font-style: italic; text-transform: none; font-weight: 500;
  font-size: 1.06em; color: var(--gold); letter-spacing: 0; }
h3 { font-family: var(--font-accent); font-weight: 500; }
p { margin: 0 0 1em; }
:target { scroll-margin-top: 92px; }
::selection { background: var(--gold); color: var(--wine); }

/* ── Cortina de entrada — magenta del logo ── */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--brand); display: grid; place-content: center; gap: 8px;
  transition: transform .7s cubic-bezier(.65,0,.35,1), visibility 0s .7s; }
.loader__word { font-family: var(--font-display); font-size: clamp(2.6rem, 8vw, 4.6rem); letter-spacing: .04em;
  color: var(--gold); animation: loaderGlow 1.1s ease both; }
.loader__sub { text-align: center; font-size: .72rem; letter-spacing: .55em; text-transform: uppercase; color: var(--logo-cream); }
.loader.done { transform: translateY(-100%); visibility: hidden; }
@keyframes loaderGlow { from { opacity: 0; letter-spacing: .3em; filter: blur(6px); } to { opacity: 1; letter-spacing: .04em; filter: blur(0); } }

/* ── Topbar ── */
.topbar { background: var(--wine-deepest); color: var(--moon-soft); text-align: center;
  font-family: var(--font-body); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 16px; position: relative; z-index: 5; }
.topbar p { margin: 0; }
.topbar strong { color: var(--gold); font-weight: 500; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 90; display: flex; align-items: center; gap: 24px;
  padding: 13px clamp(16px, 4vw, 44px); background: rgb(44 15 33 / .8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark); }
.nav__brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand__word { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.brand__word--big { font-size: 2.3rem; }
.brand__sub { font-family: var(--font-accent); font-style: italic; font-size: .72rem; color: var(--logo-cream); margin-top: 3px; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 30px); margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--moon); font-family: var(--font-body); font-size: .76rem;
  font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  position: relative; padding: 4px 0; opacity: .88; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; color: var(--gold); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.65,0,.35,1); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 500; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s; }
.btn:active { transform: scale(.96); }
.btn--gold { background: var(--gold); color: #4a2c0a; box-shadow: 0 12px 32px -10px rgb(253 204 61 / .55); }
.btn--gold:hover { background: #ffd95e; transform: translateY(-3px); box-shadow: 0 18px 42px -12px rgb(253 204 61 / .7); }
.btn--outline { border-color: rgb(246 236 226 / .45); color: var(--moon); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--lg { padding: 18px 34px; font-size: .86rem; }
.btn--big { width: 100%; justify-content: center; padding: 20px 28px; font-size: .9rem; }
.nav__cta { white-space: nowrap; padding: 11px 22px; font-size: .72rem; }

/* ── HERO — el mundo magenta del logo ── */
.hero { position: relative; overflow: hidden; background: var(--brand);
  padding: clamp(48px, 7vw, 90px) clamp(16px, 4vw, 44px) clamp(130px, 15vw, 190px); }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.eyebrow { font-family: var(--font-body); font-size: .74rem; letter-spacing: .38em; text-transform: uppercase; color: var(--logo-cream); font-weight: 400; margin-bottom: 20px; }
.section--cream .eyebrow { color: var(--brand); }
.section--wine .eyebrow { color: var(--moon-soft); }
.section--brand .eyebrow { color: var(--logo-cream); }

/* Tipografía del hero: eco del wordmark */
.hero h1 { display: flex; flex-direction: column; gap: 2px; }
.h1__top { font-family: var(--font-display); font-size: clamp(2.4rem, 6.2vw, 4.9rem); text-transform: uppercase;
  letter-spacing: .01em; color: var(--gold); text-wrap: balance; }
.h1__bottom { font-family: var(--font-accent); font-style: italic; font-weight: 460; font-size: clamp(1.7rem, 4vw, 3rem);
  color: var(--moon); }
.hero__sub { font-size: 1.1rem; color: rgb(246 236 226 / .85); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__ctas .btn--outline { border-color: rgb(246 236 226 / .55); }
.hero__trust { margin-top: 30px; font-family: var(--font-body); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--logo-cream); }

.char { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(3deg); filter: blur(4px);
  animation: charIn .65s cubic-bezier(.22,.9,.32,1) forwards; animation-delay: calc(.2s + var(--c) * .04s); }
@keyframes charIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* Escenario: logo + fotos reales flotando */
.hero__stage { position: relative; aspect-ratio: 1/1.04; max-width: 560px; margin: 0 auto; width: 100%; }
.hero__logo { position: absolute; inset: 8% 4% auto; width: 92%; z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 62% 55% at 50% 46%, #000 55%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 55% at 50% 46%, #000 55%, transparent 78%); }
.hfloat { position: absolute; margin: 0; border-radius: 16px; overflow: hidden; background: var(--paper);
  padding: 8px 8px 10px; box-shadow: var(--shadow); z-index: 2;
  transition: transform .5s cubic-bezier(.22,.9,.32,1); }
.hfloat img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.hfloat--main { width: 46%; aspect-ratio: 4/5; right: 1%; bottom: 4%; rotate: 3deg; animation: floaty 7s ease-in-out infinite; }
.hfloat--left { width: 34%; aspect-ratio: 3/4; left: 0; bottom: 12%; rotate: -5deg; animation: floaty 8s 1.2s ease-in-out infinite; }
.hfloat--top { width: 27%; aspect-ratio: 1/1; left: 14%; top: 3%; rotate: -8deg; animation: floaty 9s .5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Sello giratorio — eco de las etiquetas circulares reales */
.seal { width: 108px; height: 108px; color: var(--gold); }
.seal--hero { position: absolute; right: 8%; top: 6%; z-index: 3; filter: drop-shadow(0 6px 18px rgb(0 0 0 / .35)); }
.seal svg { width: 100%; height: 100%; animation: spinSlow 22s linear infinite; }
.seal__text { font-family: var(--font-body); font-size: 10.5px; letter-spacing: 2.4px; fill: currentColor; text-transform: uppercase; }
.seal__heart { font-size: 26px; fill: currentColor; animation: heartbeat 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.14); } 24% { transform: scale(1); } }

/* ── Divisores de glaseado ── */
.dripline { display: block; width: 100%; height: clamp(40px, 6vw, 90px); position: absolute; left: 0; bottom: -1px; z-index: 3; }
.hero, .historia, .vitrina, .temporadas, .opiniones, .faq { position: relative; padding-bottom: clamp(120px, 15vw, 190px); }

/* ── Secciones y letras fantasma ── */
.section { padding: clamp(70px, 9vw, 120px) clamp(16px, 4vw, 44px); position: relative; overflow: hidden; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--cream h2 { color: var(--ink); }
.section--cream h2 em { color: var(--brand); }
.section--wine { background: var(--wine); }
.section--wine h2 { color: var(--moon); }
.section--brand { background: linear-gradient(168deg, var(--brand) 0%, var(--brand-deep) 100%); }
.section--brand h2 { color: var(--moon); }
.section__inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.section__inner--narrow { max-width: 780px; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section__sub { font-size: 1.05rem; }
.section--wine .section__sub { color: var(--moon-soft); }
.section--cream .section__sub { color: var(--ink-soft); }
.section--brand .section__sub { color: rgb(246 236 226 / .82); }

.ghost { position: absolute; z-index: 1; top: 0; right: -2%; font-family: var(--font-display);
  font-size: clamp(16rem, 34vw, 30rem); line-height: .8; color: transparent; pointer-events: none; user-select: none;
  -webkit-text-stroke: 1.5px rgb(168 76 125 / .16); }
.ghost--gold { -webkit-text-stroke: 1.5px rgb(253 204 61 / .12); }

/* ── Capa ornamental: mandalas, texturas y detalles de amor al arte ── */
.orn { position: absolute; z-index: 1; width: clamp(130px, 20vw, 240px); aspect-ratio: 1;
  pointer-events: none; opacity: .13; animation: ornSpin 90s linear infinite; }
.orn use { color: inherit; }
@keyframes ornSpin { to { rotate: 360deg; } }
.orn--tl { top: -60px; left: -60px; }
.orn--tr { top: -60px; right: -60px; animation-direction: reverse; }
.orn--bl { bottom: -60px; left: -60px; animation-direction: reverse; }
.orn--br { bottom: -60px; right: -60px; }
.section--cream .orn { color: var(--brand); }
.section--wine .orn { color: var(--gold); opacity: .1; }
.section--brand .orn { color: var(--logo-cream); opacity: .16; }
.hero .orn { color: var(--gold); opacity: .14; }
.orn--hero-l { left: -70px; top: 12%; width: clamp(150px, 22vw, 260px); }
.orn--hero-r { right: -60px; bottom: 8%; width: clamp(110px, 15vw, 190px); animation-direction: reverse; }

/* Textura de puntitos (encaje de repostería, casi imperceptible) */
.section--cream { background-image: radial-gradient(rgb(168 76 125 / .055) 1px, transparent 1.4px); background-size: 26px 26px; }
.section--wine { background-image: radial-gradient(rgb(253 204 61 / .04) 1px, transparent 1.4px); background-size: 30px 30px; }

/* Floritura bajo cada título de sección */
.section__head h2::after { content: "· ✦ ·"; display: block; font-family: var(--font-body);
  font-size: .85rem; letter-spacing: .5em; margin-top: 16px; color: var(--gold-deep); opacity: .8; }
.section--wine .section__head h2::after, .section--brand .section__head h2::after { color: var(--gold); }

/* ── Historia ── */
.historia__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.historia__copy p { color: #5d4250; font-size: 1.02rem; }
.historia__copy strong { color: var(--brand-deep); }
.portrait { position: relative; width: min(100%, 380px); margin: 0 auto; aspect-ratio: 3/4; }
.portrait__ring { position: absolute; inset: -14px; border: 1.5px solid var(--gold-deep); border-radius: 50% 50% 44% 44% / 38% 38% 58% 58%;
  transform: rotate(-4deg); opacity: .7; animation: ringDrift 8s ease-in-out infinite alternate; }
@keyframes ringDrift { from { transform: rotate(-5deg) scale(1); } to { transform: rotate(3deg) scale(1.025); } }
.portrait__frame { position: absolute; inset: 0; border-radius: 48% 48% 42% 42% / 34% 34% 60% 60%; overflow: hidden;
  background: var(--brand); box-shadow: var(--shadow-soft); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 24% 30%; transform: scale(1.02);
  transition: transform 6s ease; }
.portrait:hover .portrait__frame img { transform: scale(1.09); }
.historia__stamp { position: absolute; top: -20px; right: -14px; transform: rotate(7deg); background: var(--gold);
  color: #4a2c0a; font-family: var(--font-accent); font-style: italic; font-size: 1.1rem; line-height: 1.2;
  padding: 18px 22px; border-radius: 999px; box-shadow: var(--shadow-soft); text-align: center; display: flex; flex-direction: column; }
.historia__stamp small { font-family: var(--font-body); font-style: normal; font-size: .6rem; letter-spacing: .06em; }
.badges { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.badges li { background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 13px 20px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-soft); }
.badges strong { font-family: var(--font-display); color: var(--brand); font-size: 1.2rem; letter-spacing: .05em; }
.badges span { font-size: .74rem; color: var(--ink-soft); }

/* ── La vitrina: fotos reales con vida ── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 28px); perspective: 1200px; }
.card { position: relative; background: linear-gradient(170deg, var(--wine-2), #2f1327 70%); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transform-style: preserve-3d; will-change: transform; transition: border-color .35s ease, box-shadow .35s ease; }
.card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgb(253 204 61 / .14);
  border-radius: 21px; pointer-events: none; z-index: 3; transition: border-color .35s ease; }
.card:hover { border-color: rgb(253 204 61 / .55); box-shadow: 0 34px 80px -30px rgb(168 76 125 / .45); }
.card:hover::after { border-color: rgb(253 204 61 / .4); }

.card__photo { position: relative; display: block; width: 100%; aspect-ratio: 1/1.06; padding: 0; margin: 0;
  border: none; background: var(--wine-2); cursor: zoom-in; overflow: hidden; transform: translateZ(42px); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform;
  animation: kenburns 16s ease-in-out infinite alternate; }
/* Movimiento propio por producto: cada foto respira hacia un rincón distinto */
.card:nth-child(8n+1) .card__photo img { --kx: 2.5%; --ky: -2%; }
.card:nth-child(8n+2) .card__photo img { --kx: -2.5%; --ky: -1.5%; animation-duration: 18s; }
.card:nth-child(8n+3) .card__photo img { --kx: 2%; --ky: 2%; animation-duration: 15s; }
.card:nth-child(8n+4) .card__photo img { --kx: -2%; --ky: 2.4%; animation-duration: 19s; }
.card:nth-child(8n+5) .card__photo img { --kx: 3%; --ky: 0%; animation-duration: 17s; }
.card:nth-child(8n+6) .card__photo img { --kx: 0%; --ky: -2.8%; animation-duration: 20s; }
.card:nth-child(8n+7) .card__photo img { --kx: -2.8%; --ky: 0%; animation-duration: 16s; }
.card:nth-child(8n+8) .card__photo img { --kx: 1.8%; --ky: 2.2%; animation-duration: 21s; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(var(--kx, 2%), var(--ky, -2%)); } }
.card:hover .card__photo img { animation-play-state: paused; }

.card__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(280px circle at var(--gx, 50%) var(--gy, 50%), rgb(255 240 200 / .35), transparent 60%); }
.card:hover .card__glare { opacity: 1; }
.card__zoom { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%) translateY(6px);
  background: rgb(32 10 24 / .72); color: var(--gold); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
  opacity: 0; transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.card:hover .card__zoom { opacity: 1; transform: translateX(-50%) translateY(0); }

.card__body { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; transform: translateZ(24px); }
.card__tag { font-family: var(--font-body); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.card__body h3 { font-size: 1.22rem; margin: 0; color: var(--moon); }
.card__body p { font-size: .89rem; color: var(--moon-soft); margin: 0; flex: 1; font-weight: 350; }
.card__link { align-self: flex-start; margin-top: 14px; background: none; border: none; padding: 0; cursor: pointer;
  color: var(--brand-bright); font-weight: 500; font-size: .72rem; font-family: var(--font-body);
  letter-spacing: .2em; text-transform: uppercase; transition: color .2s ease; }
.card__link:hover { color: var(--gold); }
.vitrina__note { text-align: center; margin-top: clamp(36px, 4vw, 52px); color: var(--moon-soft); font-size: .98rem; }
.vitrina__note a { color: var(--gold); }

/* Cinta de fotos */
.strip { margin-top: clamp(48px, 6vw, 72px); overflow: hidden; transform: rotate(-1.2deg) scale(1.02); }
.strip__track { display: flex; gap: 14px; width: max-content; animation: stripMove 55s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__track img { height: clamp(140px, 18vw, 220px); width: auto; border-radius: 12px;
  border: 3px solid var(--paper); box-shadow: var(--shadow-soft); }
@keyframes stripMove { to { transform: translateX(-50%); } }

/* ── Temporadas ── */
.seasons { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 6px 6px 18px; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.seasons:active { cursor: grabbing; }
.seasons::-webkit-scrollbar { height: 8px; }
.seasons::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
.seasons::-webkit-scrollbar-track { background: #e7d9c8; border-radius: 4px; }
.season { scroll-snap-align: start; position: relative; background: var(--paper); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 26px 22px 22px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.season:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold-deep); }
.season__when { font-family: var(--font-body); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.season h3 { font-size: 1.18rem; margin: 10px 0 6px; color: var(--ink); }
.season p { font-size: .86rem; color: var(--ink-soft); margin: 0; }
.season__orn { position: absolute; right: 14px; top: 10px; font-size: 1.6rem; color: var(--brand); opacity: .25; }
.season--star { background: linear-gradient(150deg, #fff6e0, #fdedc6); border-color: var(--gold-deep); }
.season--star .season__orn { color: var(--gold-deep); opacity: .55; }

/* ── Opiniones: carrusel deslizable ── */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 82vw, 350px); gap: clamp(16px, 2.2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 16px; cursor: grab; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.quotes::-webkit-scrollbar { display: none; }
.quotes:active { cursor: grabbing; }
.quote { scroll-snap-align: center; margin: 0; background: rgb(44 15 33 / .28); border: 1px solid rgb(246 236 226 / .2);
  border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; flex-direction: column; user-select: none;
  transition: transform .3s ease, border-color .3s ease; }
.quote:hover { transform: translateY(-6px); border-color: rgb(253 204 61 / .6); }
.qnav { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.qnav__btn { width: 48px; height: 48px; border-radius: 50%; background: none; cursor: pointer;
  border: 1.5px solid rgb(246 236 226 / .4); color: var(--moon); font-size: 1.1rem;
  transition: border-color .25s, color .25s, transform .25s; }
.qnav__btn:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.08); }
.quote__stars { color: var(--gold); letter-spacing: .24em; margin-bottom: 16px; text-shadow: 0 0 20px rgb(253 204 61 / .55); }
.quote blockquote { margin: 0 0 14px; font-family: var(--font-accent); font-style: italic; font-weight: 460;
  font-size: 1.12rem; line-height: 1.5; color: var(--moon); flex: 1; }
.quote blockquote::before { content: "❝ "; color: var(--gold); font-size: 1.5em; line-height: 0; vertical-align: -.22em; margin-right: 4px; }
.quote figcaption { font-family: var(--font-body); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgb(246 236 226 / .68); }
.opiniones__note { text-align: center; margin-top: 38px; font-size: .85rem; color: rgb(246 236 226 / .78); }
.opiniones__note a { color: var(--gold); font-weight: 500; }

/* ── FAQ ── */
.faq__list details { background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq__list summary { list-style: none; cursor: pointer; padding: 20px 54px 20px 26px; font-weight: 500; font-size: 1.02rem;
  position: relative; color: var(--ink); letter-spacing: .01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before { content: "❦"; color: var(--brand); opacity: .55; margin-right: 10px; }
.faq__list summary::after { content: "✦"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1rem; color: var(--gold-deep); transition: transform .4s cubic-bezier(.34,1.4,.64,1); }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq__list details p { padding: 0 26px 22px; margin: 0; color: var(--ink-soft); }
.faq__list details[open] { border-color: var(--gold-deep); box-shadow: var(--shadow-soft); }
.faq__list a { color: var(--brand); }

/* ── Cotizar ── */
.cotizar { position: relative; overflow: hidden; }
.cotizar__glow { position: absolute; width: 720px; height: 720px; left: 50%; top: -260px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, rgb(168 76 125 / .35), transparent 62%); pointer-events: none; }
.form { position: relative; background: var(--cream); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: 0 40px 90px -40px rgb(0 0 0 / .65); }
.form::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgb(168 76 125 / .3);
  border-radius: 20px; pointer-events: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-body); font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ink); margin-bottom: 18px; }
.form .opt { font-weight: 400; letter-spacing: .06em; text-transform: none; color: var(--ink-soft); }
.form input, .form select, .form textarea { font-family: var(--font-accent); font-size: 1.04rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line-light); border-radius: 12px; background: var(--paper); outline: none;
  transition: border-color .25s ease, box-shadow .25s ease; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(168 76 125 / .16); }
.form textarea { resize: vertical; }
.form__hint { text-align: center; font-family: var(--font-body); font-size: .74rem; letter-spacing: .05em; color: var(--ink-soft); margin: 14px 0 0; }

/* ── Footer ── */
.footer { background: var(--wine-deepest); border-top: 1px solid var(--line-dark); padding: 0 0 28px; overflow: hidden; }
.footer__marquee { overflow: hidden; white-space: nowrap; padding: clamp(20px, 4vw, 40px) 0 0; opacity: .16; }
.footer__marquee-track { display: inline-flex; animation: marquee 40s linear infinite; }
.footer__marquee-track span { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 44px);
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__tag { font-style: italic; font-size: 1rem; color: var(--moon-soft); }
.footer__links, .footer__social { display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--moon); text-decoration: none; font-family: var(--font-body); font-size: .74rem;
  letter-spacing: .2em; text-transform: uppercase; opacity: .82; transition: opacity .2s ease, color .2s ease; }
.footer a:hover { opacity: 1; color: var(--gold); }
.footer__legal { max-width: var(--maxw); margin: 8px auto 0; padding: 22px clamp(16px, 4vw, 44px) 0;
  border-top: 1px solid var(--line-dark); font-size: .78rem; color: var(--moon-soft); text-align: center; }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgb(32 10 24 / .93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 4vmin; animation: lbIn .3s ease; }
.lightbox[hidden] { display: none !important; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(92vw, 900px); max-height: 88vh; display: flex; flex-direction: column; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 14px;
  border: 4px solid var(--paper); box-shadow: var(--shadow); animation: lbZoom .35s cubic-bezier(.22,.9,.32,1); }
@keyframes lbZoom { from { transform: scale(.92); opacity: 0; } }
.lightbox figcaption { text-align: center; font-family: var(--font-accent); font-style: italic; font-size: 1.15rem; color: var(--gold); }
.lightbox__close { position: absolute; top: 18px; right: 22px; background: none; border: 1.5px solid rgb(246 236 226 / .4);
  color: var(--moon); width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s; }
.lightbox__close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }

/* ── WhatsApp flotante ── */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgb(37 211 102 / .55);
  transition: transform .25s ease; }
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

/* ── Entradas ── */
.rise { opacity: 0; transform: translateY(28px); animation: riseIn .9s cubic-bezier(.22,.9,.32,1) forwards; animation-delay: var(--d, 0s); }
@keyframes riseIn { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.9,.32,1);
  transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .quotes { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .ghost { display: none; }
}
@media (max-width: 800px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { order: -1; max-width: 440px; }
  .seal--hero { width: 84px; height: 84px; right: 2%; top: 2%; }
  .hero__copy { text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .historia__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  /* OJO iOS: backdrop-filter en .nav lo vuelve containing block del menú
     fixed (el menú quedaba flotando estático sobre el contenido). En móvil
     el nav va SIN blur y el menú cerrado además queda invisible (doble seguro). */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(44 15 33 / .96); }
  .nav__links { position: fixed; inset: 0; top: 62px; z-index: 89; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: rgb(44 15 33 / .97); transform: translateY(-110%); visibility: hidden;
    transition: transform .45s cubic-bezier(.65,0,.35,1), visibility 0s .45s; }
  .nav__links.open { transform: none; visibility: visible;
    transition: transform .45s cubic-bezier(.65,0,.35,1), visibility 0s; }
  .nav__links a { font-size: 1.5rem; font-family: var(--font-accent); font-style: italic; color: var(--moon); }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
  .nav__burger span { width: 24px; height: 2px; background: var(--moon); transition: transform .3s ease; }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .historia__stamp { right: 0; padding: 12px 16px; font-size: .95rem; }
  .hfloat--top { display: none; }
  .hero { padding-top: 32px; }
  .hero__stage { max-width: 340px; }
  .seal--hero { width: 72px; height: 72px; }
  .h1__bottom { font-size: clamp(1.4rem, 6.4vw, 2rem); }
  .section__head h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .btn { width: 100%; justify-content: center; }
  .nav__cta { width: auto; }
  .strip__track img { height: 120px; }
  .qnav__btn { width: 44px; height: 44px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal, .char { opacity: 1 !important; transform: none !important; animation: none !important; filter: none !important; transition: none !important; }
  .loader { display: none; }
  .hfloat, .seal svg, .seal__heart, .portrait__ring, .footer__marquee-track, .wa-float::after,
  .card__photo img, .strip__track, .orn { animation: none !important; }
  .card, .season, .quote, .btn, .portrait__frame img { transition: none !important; }
}
