/* =========================================================
   Session page template (sessions/*.html)
   Editorial layout: mosaic hero, outlined background words,
   sticky "ideal for" list, pinned horizontal gallery,
   packages, animated facts and related sessions.
   ========================================================= */

.s-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.serif-up { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; }

/* ---------- Book circle (rotating text button) ---------- */
.book-circle { position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: var(--accent); box-shadow: 0 20px 60px rgba(203,54,15,.35); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.book-circle:hover { transform: scale(1.08); }
.book-circle svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.book-circle svg.ring text { fill: #fff; font: 600 13px var(--sans); letter-spacing: 1px; }
.book-circle .arr { width: 22px; height: 22px; transition: transform .4s; }
.book-circle:hover .arr { transform: rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero mosaic ---------- */
.s-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #0c0c0d; }
.s-mosaic { position: absolute; inset: -12vh 3vw; display: grid; grid-template-columns: 1.1fr 1.3fr .9fr 1.05fr 1.2fr; gap: 14px; }
.s-col { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.s-col:nth-child(2) { margin-top: -8vh; }
.s-col:nth-child(3) { margin-top: 10vh; }
.s-col:nth-child(4) { margin-top: -4vh; }
.s-col:nth-child(5) { margin-top: 6vh; }
.s-tile { position: relative; overflow: hidden; border-radius: 3px; background: var(--card); clip-path: inset(100% 0 0 0); transition: clip-path 1.3s cubic-bezier(.7,0,.2,1); }
.s-tile.in { clip-path: inset(0 0 0 0); }
.s-tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.8); transform: scale(1.15); transition: filter .7s, transform 1.6s cubic-bezier(.2,.7,.2,1); }
.s-tile.in img { transform: scale(1); }
.s-tile.color img { filter: brightness(.85); }
.s-tile:hover img { filter: none; transform: scale(1.05); }
.s-hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse 55% 50% at 50% 52%, rgba(12,12,13,.72), rgba(12,12,13,.15) 70%), linear-gradient(180deg, rgba(12,12,13,.6), transparent 22%, transparent 75%, var(--bg)); }
.s-title { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; padding: 0 20px; }
.s-crumb { font-size: 11px; text-transform: uppercase; letter-spacing: .25em; color: var(--muted); margin-bottom: 26px; pointer-events: auto; }
.s-crumb a:hover { color: var(--accent); }
.s-crumb span { color: var(--accent); }
.s-title h1 { font-size: clamp(64px, 11.5vw, 196px); line-height: .84; text-shadow: 0 10px 50px rgba(0,0,0,.55); }
.s-title h1 em { display: block; font-style: italic; text-transform: none; font-size: .5em; line-height: 1.1; margin: .08em 0 .02em; }
.s-title h1 small { display: block; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .35em; margin-top: 30px; text-shadow: none; }
/* Botón de reserva del hero: tradicional y centrado debajo del título */
.s-book { pointer-events: auto; display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 8px 8px 8px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; text-shadow: none; box-shadow: 0 16px 40px rgba(203,54,15,.35); transition: background .3s, transform .3s; }
.s-book .sq { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.2); }
.s-book .sq svg { width: 15px; height: 15px; transition: transform .3s; }
.s-book:hover { background: #e0461c; transform: translateY(-2px); }
.s-book:hover .sq svg { transform: translateX(3px); }
.s-scroll { position: absolute; z-index: 4; right: 6vw; bottom: 8vh; display: flex; align-items: center; gap: 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.s-scroll::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, var(--accent) 50%, var(--line) 50%); background-size: 200% 100%; animation: cue 2s linear infinite; }
@keyframes cue { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- About (outlined words behind) ---------- */
.s-about { position: relative; padding: 150px 0 130px; overflow: hidden; }
.bg-words { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.bg-words span { display: block; white-space: nowrap; font-family: var(--serif); text-transform: uppercase; font-size: 19vw; line-height: .82; color: transparent; -webkit-text-stroke: 1px rgba(203,54,15,.28); will-change: transform; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr 1.15fr; grid-template-areas: "head head tall" "a1 a2 tall"; gap: 40px 34px; align-items: start; }
.a-head { grid-area: head; }
.a-title { font-size: clamp(48px, 6.4vw, 96px); line-height: .9; }
.a-title em { display: block; font-style: italic; text-transform: none; }
.a-title b { font-weight: 400; display: block; padding-left: 1.2em; }
.a1 { grid-area: a1; }
.a2 { grid-area: a2; padding-top: 70px; }
.a-tall { grid-area: tall; }
.about-grid p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.about-grid p strong { color: #fff; font-weight: 500; }
.about-grid p em { color: var(--accent); font-style: normal; }
.p-frame { overflow: hidden; border-radius: 3px; }
.p-frame img, .p-frame video { width: 100%; height: 118%; object-fit: cover; will-change: transform; display: block; }
.a1 .p-frame { aspect-ratio: 4/3; margin-bottom: 26px; }
.a2 .p-frame { aspect-ratio: 3/4; margin-top: 26px; }
.a-tall .p-frame { aspect-ratio: 4/5.4; }
.a-tall .p-frame img, .a-tall .p-frame video { filter: grayscale(.2); }
.a-tall figcaption { display: flex; justify-content: space-between; margin-top: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); }
.a-tall figcaption b { color: var(--accent); font-weight: 500; }

/* ---------- Ideal for (sticky image swap) ---------- */
.s-for { padding: 60px 0 40px; }
.s-for .h-sec { max-width: 620px; }
.s-for .lead { max-width: 560px; margin-top: 18px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.for-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 40px; }
.for-media { position: sticky; top: 14vh; height: 72vh; border-radius: 4px; overflow: hidden; background: var(--card); }
.for-media img, .for-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); filter: grayscale(1); transition: opacity .8s, transform 1.4s cubic-bezier(.2,.7,.2,1), filter .8s; }
.for-media img.on, .for-media video.on { opacity: 1; transform: scale(1); filter: grayscale(.15); }
.for-media .tag { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 8px 14px; border-radius: 100px; background: rgba(17,17,18,.6); backdrop-filter: blur(8px); font-size: 12px; }
.for-list { list-style: none; }
.for-list li { padding: 15vh 0; border-bottom: 1px solid var(--line); opacity: .25; transition: opacity .5s; }
.for-list li:first-child { padding-top: 8vh; }
.for-list li.on { opacity: 1; }
.for-list .n { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--accent); }
.for-list h3 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 54px); line-height: .95; margin: 8px 0 14px; }
.for-list h3 small { display: block; font-family: var(--sans); text-transform: none; font-size: 13px; color: var(--dim); margin-top: 8px; letter-spacing: 0; }
.for-list p { font-size: 15px; color: var(--muted); max-width: 400px; }

/* ---------- Pinned horizontal gallery ---------- */
.s-gallery { position: relative; height: 400vh; background: #0c0c0d; }
.g-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.g-head { position: absolute; top: 96px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 6vw; }
.g-head h2 { font-size: clamp(40px, 5vw, 76px); line-height: .9; }
.g-head h2 em { font-style: italic; text-transform: none; color: var(--accent); }
.g-count { font-family: var(--serif); font-size: 22px; color: var(--dim); white-space: nowrap; }
.g-count b { font-weight: 400; font-size: 54px; color: #fff; }
.g-track { display: flex; align-items: center; gap: 4vw; padding: 0 6vw; margin-top: 60px; will-change: transform; }
.g-item { position: relative; flex: none; height: 58vh; aspect-ratio: var(--ar, 3/4); min-width: 0; }
.g-item:last-child { margin-right: 6vw; }
.g-item:nth-child(even) { margin-top: 10vh; }
.g-item .fr { width: 100%; height: 100%; overflow: hidden; border-radius: 3px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.7); transform: scale(1.08); transition: filter .9s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.g-item.on img { filter: none; transform: scale(1); }
.g-item figcaption { position: absolute; left: 0; top: -30px; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--dim); transition: color .6s; }
.g-item.on figcaption { color: #fff; }
.g-item figcaption b { color: var(--accent); font-weight: 500; margin-right: 10px; }
.g-right { display: flex; flex-direction: row-reverse; align-items: center; gap: 22px; position: relative; z-index: 2; }
.g-more { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; transition: background .3s, border-color .3s; }
.g-more span { color: var(--accent); }
.g-more svg { width: 12px; height: 12px; }
.g-more:hover { background: var(--accent); border-color: var(--accent); }
.g-more:hover span { color: #fff; }
.g-end { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px; border-radius: 3px; border: 1px solid var(--line); background: radial-gradient(120% 80% at 100% 0%, rgba(203,54,15,.28), transparent 60%), var(--card); transition: border-color .4s, transform .4s; }
.g-end:hover { border-color: var(--accent); transform: translateY(-6px); }
.g-end .n { font-family: var(--serif); font-size: clamp(64px, 7vw, 110px); line-height: .85; color: #fff; }
.g-end .t { font-family: var(--serif); text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1; }
.g-end .d { font-size: 13px; color: var(--muted); }
.g-end .go { margin-top: 10px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.g-end .go svg { width: 14px; height: 14px; }
.g-bar { position: absolute; left: 6vw; right: 6vw; bottom: 7vh; height: 1px; background: var(--line); }
.g-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Packages ---------- */
.s-packages { padding: 130px 0 60px; }
.s-packages .h-sec { max-width: 560px; margin-bottom: 44px; }
.pkgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pkg { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; padding: 28px 24px 26px; border-radius: 6px; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(203,54,15,.16), transparent 45%), var(--card); border: 1px solid var(--line); transition: border-color .4s, transform .4s cubic-bezier(.2,.7,.2,1); overflow: hidden; }
.pkg:hover { border-color: rgba(203,54,15,.6); transform: translateY(-6px); }
.pkg .name { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.pkg .price { font-family: var(--serif); font-size: clamp(64px, 6vw, 92px); line-height: 1; color: var(--accent); margin: 18px 0 22px; }
.pkg .price sup { font-size: .38em; vertical-align: top; position: relative; top: .35em; margin-right: 2px; }
.pkg dl { display: grid; gap: 0; margin-bottom: 26px; }
.pkg dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.pkg dt { color: var(--dim); }
.pkg dd { text-align: right; }
.pkg .extra { font-size: 12px; color: #fff; background: rgba(203,54,15,.15); border: 1px solid rgba(203,54,15,.4); border-radius: 4px; padding: 8px 10px; margin: -12px 0 24px; }
.pkg .btn { margin-top: auto; align-self: flex-start; }
.pkg.top { border-color: rgba(203,54,15,.55); }
.pkg .badge { position: absolute; top: 18px; right: -34px; transform: rotate(45deg); background: var(--accent); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; padding: 5px 40px; }
.swipe-hint { display: none; }
.swipe-ctrl { display: none; }
.pkg-note { margin-top: 24px; font-size: 14px; color: var(--muted); }
.pkg-note a { color: #fff; border-bottom: 1px solid var(--accent); }

/* ---------- Packages: variants ---------- */
.pkgs.two { grid-template-columns: repeat(2, 1fr); max-width: 780px; }
.pkg .sub { font-size: 13px; color: var(--dim); margin-top: 4px; }

/* ---------- What's included (quinceañera) ---------- */
.s-include { padding: 130px 0 40px; }
.s-include .h-sec { max-width: 620px; margin-bottom: 40px; }
.inc-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.inc-grid li { position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); transition: border-color .4s, transform .4s; }
.inc-grid li:hover { border-color: rgba(203,54,15,.6); transform: translateY(-4px); }
.inc-grid li:first-child { grid-column: span 2; background: linear-gradient(135deg, rgba(203,54,15,.22), var(--card) 60%); }
.inc-grid .n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--accent); }
.inc-grid h3 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 10px 0 8px; }
.inc-grid p { font-size: 14px; color: var(--muted); }
.s-notebox { margin-top: 18px; padding: 20px 24px; border-left: 2px solid var(--accent); background: rgba(203,54,15,.08); font-size: 14px; line-height: 1.7; color: var(--muted); }
.s-notebox strong { color: #fff; }

/* ---------- How it works: timeline with scroll progress ---------- */
.s-steps { padding: 110px 0 40px; }
.s-steps .h-sec { max-width: 560px; margin-bottom: 50px; }
.tl { position: relative; max-width: 820px; padding-left: 70px; }
.tl ol { list-style: none; }
.tl::before, .tl .tl-fill { content: ""; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl .tl-fill { background: var(--accent); transform-origin: top; transform: scaleY(0); }
.tl li { position: relative; padding: 0 0 46px; opacity: .3; transition: opacity .5s; }
.tl li.on { opacity: 1; }
.tl li::before { content: attr(data-n); position: absolute; left: -70px; top: -4px; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--dim); transition: background .5s, border-color .5s, color .5s; }
.tl li.on::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.tl h3 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.tl p { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 560px; }

/* ---------- Facts (count-up) ---------- */
.s-facts { padding: 90px 0 110px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 50px; }
.fact .num { font-family: var(--serif); font-size: clamp(76px, 8.5vw, 132px); line-height: .8; color: var(--accent); }
.fact .num sup { font-size: .32em; color: #fff; vertical-align: top; margin-left: 4px; }
.fact p { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin-top: 4px; position: relative; }

/* ---------- Related sessions ---------- */
.s-related { padding: 40px 0 120px; }
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; }
.rel a { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.rel img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.6); transition: filter .7s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.rel a:hover img { filter: brightness(.75); transform: scale(1.06); }
.rel .txt { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.rel h3 { font-size: clamp(30px, 2.8vw, 42px); line-height: .95; }
.rel p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.rel .go { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s; }
.rel a:hover .go { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.rel .go svg { width: 16px; height: 16px; }

/* ---------- Closing CTA ---------- */
.s-cta { position: relative; padding: 120px 0 130px; text-align: center; overflow: hidden; background: #0c0c0d; }
.s-cta h2 { font-size: clamp(54px, 9vw, 150px); line-height: .86; }
.s-cta h2 em { display: block; font-style: italic; text-transform: none; color: var(--accent); }
.s-cta .s-book { margin: 44px auto 30px; font-size: 17px; }
.s-cta p { font-size: 14px; color: var(--muted); max-width: 440px; margin: 0 auto; }
.s-cta p a { color: #fff; border-bottom: 1px solid var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .inc-grid { grid-template-columns: 1fr 1fr; }
  .s-mosaic { grid-template-columns: repeat(4, 1fr); }
  .s-col:nth-child(5) { display: none; }
  .about-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "a1 a2" "tall tall"; }
  .a-tall .p-frame { aspect-ratio: 4/3; }
  .pkgs { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 50px; }
}

@media (max-width: 700px) {
  .s-wrap { padding: 0 16px; }
  .h-sec { font-size: 30px; }

  /* Hero: 3 columns (JS moves the hidden columns' photos into them) */
  .s-mosaic { grid-template-columns: repeat(3, 1fr); gap: 8px; inset: -14vh 8px; }
  .s-col { gap: 8px; }
  .s-col:nth-child(4) { display: none; }
  .s-hero::after { background: radial-gradient(ellipse 90% 40% at 50% 50%, rgba(12,12,13,.8), rgba(12,12,13,.2) 75%), linear-gradient(180deg, rgba(12,12,13,.6), transparent 20%, transparent 70%, var(--bg)); }
  .s-title h1 { font-size: clamp(52px, 16.5vw, 84px); }
  .s-title h1 small { font-size: 11px; letter-spacing: .25em; margin-top: 22px; }
  .s-crumb { margin-bottom: 18px; }
  .s-book { margin-top: 26px; font-size: 15px; padding: 7px 7px 7px 22px; }
  .s-book .sq { width: 36px; height: 36px; }
  .s-scroll { display: none; }

  /* About */
  .s-about { padding: 90px 0 50px; }
  .bg-words span { font-size: 34vw; }
  .about-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "a1 a1" "a2 tall"; gap: 26px 10px; }
  .a-title { font-size: 52px; }
  .a1 .p-frame { aspect-ratio: 16/10; margin-bottom: 18px; }
  .a2 { padding-top: 0; }
  .a2 .p-frame { aspect-ratio: 3/4; margin-top: 18px; }
  .a-tall { padding-top: 60px; }
  .a-tall .p-frame { aspect-ratio: 3/4.6; }
  .a-tall figcaption { flex-direction: column; gap: 2px; font-size: 10px; }
  .about-grid p { font-size: 14px; }

  /* Ideal for: smaller sticky photo, active item is read below it */
  .s-for { padding: 30px 0 0; }
  .for-grid { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .for-media { top: 64px; height: 36vh; height: 36svh; z-index: 2; box-shadow: 0 30px 40px -10px var(--bg); }
  .for-list li { padding: 9vh 0; }
  .for-list li:first-child { padding-top: 7vh; }
  .for-list li:last-child { padding-bottom: 22vh; border-bottom: 0; }
  .for-list h3 { font-size: 34px; }

  /* Gallery */
  .g-head { top: 74px; padding: 0 16px; align-items: flex-start; }
  .g-head h2 { font-size: 40px; }
  .g-head h2 em { display: block; }
  .g-count { font-size: 16px; }
  .g-count b { font-size: 40px; }
  .g-track { gap: 7vw; padding: 0 16px; margin-top: 110px; }
  .g-item { height: 50vh; height: 50svh; }
  .g-item:nth-child(even) { margin-top: 6vh; }
  .g-bar { left: 16px; right: 16px; bottom: 5svh; }
  .g-right { flex-direction: column; align-items: flex-end; gap: 8px; }
  .g-more { padding: 8px 12px; font-size: 10px; letter-spacing: .1em; }
  .g-end { padding: 20px; }

  /* Packages + related: swipeable cards, the centered one is in focus */
  .s-packages { padding: 80px 0 30px; }
  .s-packages .h-sec { margin-bottom: 14px; }
  .swipe-hint { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin-bottom: 18px; }
  .pkgs, .pkgs.two, .rel { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 6px 16px 18px; scroll-padding: 0 16px; scrollbar-width: none; cursor: grab; }
  .pkgs.dragging, .rel.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
  .pkgs::-webkit-scrollbar, .rel::-webkit-scrollbar { display: none; }
  .pkgs .pkg, .pkgs .pkg.reveal.in, .rel a { flex: 0 0 80%; scroll-snap-align: center; transform: scale(calc(.92 + .08 * var(--k, 1))); opacity: calc(.45 + .55 * var(--k, 1)); transition: border-color .4s; will-change: transform; }
  .pkg:hover { transform: scale(calc(.92 + .08 * var(--k, 1))); }
  .swipe-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
  .swipe-ctrl button { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s, opacity .3s; }
  .swipe-ctrl button:active { background: var(--accent); border-color: var(--accent); }
  .swipe-ctrl button:disabled { opacity: .3; }
  .swipe-ctrl button svg { width: 14px; height: 14px; }
  .swipe-ctrl .prev svg { transform: rotate(180deg); }
  .swipe-dots { display: flex; gap: 6px; }
  .swipe-dots button { width: 8px; height: 8px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.25); transition: width .3s, background .3s; }
  .swipe-dots button.on { width: 24px; background: var(--accent); }
  .rel { margin-top: 24px; }
  .rel a { aspect-ratio: 3/4; }

  .s-facts { padding: 50px 0 60px; }
  .facts { padding-top: 36px; row-gap: 36px; }
  .fact .num { font-size: 72px; }
  .fact p { font-size: 10px; }
  .s-related { padding: 20px 0 80px; }
  .s-cta { padding: 90px 0 100px; }
  .s-cta h2 { font-size: 54px; }
  .s-include { padding: 80px 0 30px; }
  .inc-grid { grid-template-columns: 1fr; }
  .inc-grid li:first-child { grid-column: auto; }
  .s-steps { padding: 70px 0 20px; }
  .tl { padding-left: 58px; }
  .tl::before, .tl .tl-fill { left: 18px; }
  .tl li { padding-bottom: 36px; }
  .tl li::before { left: -58px; width: 38px; height: 38px; font-size: 16px; }
  .tl h3 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .s-tile { clip-path: none; }
  .book-circle svg.ring { animation: none; }
}

/* ---------- Hero con video de fondo (quinceañera) ---------- */
.s-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-hero-vid::after { background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(12,12,13,.62), rgba(12,12,13,.25) 75%), linear-gradient(180deg, rgba(12,12,13,.55), transparent 25%, transparent 70%, var(--bg)); }

/* ---------- Películas de quinceañera ---------- */
/* ---------- Películas (quinceañera): video a pantalla completa con los otros videos abajo ---------- */
.s-films { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #000; display: flex; flex-direction: column; justify-content: space-between; }
.fm-stage { position: absolute; inset: -40px; background: var(--bg) center/cover; filter: blur(30px) brightness(.45); transition: background-image .4s; }
.fm-video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; transition: opacity .3s; }
.fm-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.7), transparent 30%, transparent 55%, rgba(0,0,0,.8)); }
.fm-top, .fm-bottom { position: relative; z-index: 2; }
.fm-top { padding-top: 100px; }
.fm-top .sec-top { border-color: rgba(255,255,255,.18); }
.fm-h { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.02; max-width: 640px; margin-top: 22px; }
.fm-h em { color: var(--accent); }
.fm-lead { max-width: 440px; margin-top: 12px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.75); }
.fm-tabs { display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fm-tab { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: rgba(255,255,255,.75); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .25s, color .25s; }
.fm-tab svg { height: 14px; width: auto; fill: none; stroke: currentColor; stroke-width: 1.6; }
.fm-tab:hover { color: #fff; }
.fm-tab.on { background: var(--accent); color: #fff; }
.fm-card[hidden] { display: none; }
.fm-bottom { padding-bottom: 28px; }
.fm-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.fm-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; min-width: 40px; justify-content: center; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: inherit; font-size: 13px; cursor: pointer; transition: background .25s, border-color .25s; }
.fm-btn:hover { border-color: var(--accent); }
.fm-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fm-sound { background: var(--accent); border-color: var(--accent); }
.fm-sound.on { background: rgba(0,0,0,.45); border-color: rgba(255,255,255,.25); }
.fm-sound .i-on, .fm-sound.on .i-off { display: none; }
.fm-sound.on .i-on { display: inline; }
.fm-toggle .i-play, .s-films.paused .fm-toggle .i-pause { display: none; }
.s-films.paused .fm-toggle .i-play { display: inline; fill: currentColor; }
.fm-now { flex: none; font-size: 13px; color: rgba(255,255,255,.7); margin: 0 6px; }
.fm-now b { color: #fff; }
.fm-prog { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); cursor: pointer; position: relative; }
.fm-prog::before { content: ""; position: absolute; inset: -10px 0; }
.fm-prog i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--accent); }
.fm-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 6px; }
/* Miniaturas: la foto llena el recuadro, con el nombre encima; la activa lleva el borde rojo y "Reproduciendo" */
.fm-card { position: relative; display: block; height: clamp(108px, 18vh, 172px); padding: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: #111; color: #fff; text-align: left; cursor: pointer; font: inherit; min-width: 0; box-shadow: 0 14px 34px rgba(0,0,0,.5); transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .35s; }
.fm-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.6); box-shadow: 0 22px 44px rgba(0,0,0,.6); }
.fm-card.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 18px 44px rgba(203,54,15,.4); }
.fm-thumb { position: absolute; inset: 0; overflow: hidden; }
.fm-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 35%, transparent 45%, rgba(0,0,0,.88)); }
.fm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.15) contrast(1.05); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.fm-card:hover .fm-thumb img { transform: scale(1.08); }
.fm-card[data-crop="1.34"] .fm-thumb img { transform: scale(1.34); }   /* sin las franjas negras del formato cine */
.fm-card[data-crop="1.34"]:hover .fm-thumb img { transform: scale(1.44); }
.fm-play { position: absolute; z-index: 2; left: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, border-color .3s, transform .3s; }
.fm-play::after { content: ""; position: absolute; left: 13px; top: 10px; border-style: solid; border-width: 6.5px 0 6.5px 10px; border-color: transparent transparent transparent #fff; }
.fm-card:hover .fm-play { background: var(--accent); border-color: var(--accent); transform: scale(1.1); }
.fm-card.on .fm-play, .fm-card.on .fm-dur { opacity: 0; }
.fm-card.on::before { content: "Reproduciendo"; position: absolute; z-index: 3; left: 12px; top: 12px; padding: 5px 10px 5px 22px; border-radius: 999px; background: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
html[lang="en"] .fm-card.on::before { content: "Now playing"; }
.fm-card.on::after { content: ""; position: absolute; z-index: 4; left: 22px; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: fmLive 1.4s ease-in-out infinite; }
@keyframes fmLive { 50% { opacity: .25; } }
.fm-dur { position: absolute; z-index: 2; right: 10px; top: 12px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.6); font-size: 11px; font-weight: 500; }
.fm-info { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 11px; min-width: 0; }
.fm-info b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1; }
.fm-info small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1000px) {
  .fm-list { grid-template-columns: repeat(4, minmax(200px, 1fr)); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .fm-list::-webkit-scrollbar { display: none; }
  .fm-card { scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .fm-top { padding-top: 84px; }
  .fm-lead { display: none; }
  .fm-now { display: none; }
  .fm-sound span { font-size: 12px; }
  .fm-list { grid-template-columns: repeat(4, 168px); gap: 10px; }
  .fm-card { height: 120px; }
  .fm-info b { font-size: 21px; }
}

/* ---------- Video de la sesión (Familia, Maternidad) ---------- */
.s-bts { position: relative; overflow: hidden; padding: 130px 0; background: #0a0a0b; isolation: isolate; }
.bts-bg { position: absolute; inset: -40px; z-index: -1; background: var(--poster) center/cover; filter: blur(60px) saturate(1.3) brightness(.45); transform: scale(1.1); }
.s-bts::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 75% 50%, rgba(203,54,15,.25), transparent 70%), linear-gradient(90deg, rgba(10,10,11,.92) 30%, rgba(10,10,11,.55)); }
.bts-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.bts-title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; letter-spacing: -.01em; margin-top: 18px; }
.bts-copy .lead { max-width: 500px; margin-top: 20px; color: var(--muted); }
.bts-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; }
.bts-actions .s-book { margin-top: 0; }
.bts-play-btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 22px 8px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font: 600 15px var(--sans); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s, border-color .3s; }
.bts-play-btn:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.bts-play-btn .ic { position: relative; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.bts-play-btn .ic::after { content: ""; position: absolute; left: 16px; top: 13px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #111; }
.bts-stage { position: relative; justify-self: center; width: min(380px, 100%); }
.bts-deco { position: absolute; inset: 0; transform: rotate(6deg) translate(26px, 10px); border-radius: 26px; border: 1px solid rgba(203,54,15,.55); background: linear-gradient(160deg, rgba(203,54,15,.35), rgba(203,54,15,.05)); }
.bts-player { position: relative; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
.bts-player video { display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover; background: #000; }
.bts-overlay { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); cursor: pointer; transition: opacity .4s; }
.bts-overlay span { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 10px rgba(203,54,15,.25), 0 20px 40px rgba(0,0,0,.45); transition: transform .3s; }
.bts-overlay span::after { content: ""; position: absolute; left: 33px; top: 27px; border-style: solid; border-width: 15px 0 15px 22px; border-color: transparent transparent transparent #fff; }
.bts-overlay:hover span { transform: scale(1.08); }
@media (prefers-reduced-motion: no-preference) { .bts-overlay span { animation: btsPulse 2.4s ease-out infinite; } }
@keyframes btsPulse { 0% { box-shadow: 0 0 0 0 rgba(203,54,15,.5), 0 20px 40px rgba(0,0,0,.45); } 100% { box-shadow: 0 0 0 26px rgba(203,54,15,0), 0 20px 40px rgba(0,0,0,.45); } }
.bts-player.playing .bts-overlay { opacity: 0; pointer-events: none; }
.bts-badge { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.bts-badge i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px #ff3b30; }
.bts-player.playing .bts-badge { opacity: 0; transition: opacity .4s; }
@media (max-width: 900px) {
  .s-bts { padding: 90px 0; }
  .bts-grid { grid-template-columns: 1fr; gap: 50px; }
  .bts-stage { width: min(330px, 86%); }
  .s-bts::after { background: radial-gradient(80% 50% at 50% 70%, rgba(203,54,15,.25), transparent 70%), rgba(10,10,11,.75); }
}
