/* ==========================================================
   Club Sagitta · Tiro con arco · Alcalá de Henares
   ========================================================== */

:root {
  --c-forest: #0f2a22;
  --c-forest-2: #16382d;
  --c-moss: #2c5a47;
  --c-ink: #14201c;
  --c-cream: #f6f1e6;
  --c-paper: #fbf8f1;
  --c-white: #ffffff;
  --c-gold: #f2c230;
  --c-gold-2: #e0a91b;
  --c-red: #d8402f;
  --c-blue: #2f6fb0;
  --c-muted: #5f6b66;
  --c-line: rgba(20, 32, 28, .12);

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(15, 42, 34, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--c-gold); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-size: .98rem; font-weight: 600; letter-spacing: 0;
  color: var(--c-moss); display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem;
}
.on-dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--c-gold); }

.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section--cream { background: var(--c-cream); }
.section--dark { background: var(--c-forest); color: var(--c-cream); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.h-xl { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--c-muted); }
.section--dark .lead { color: rgba(246, 241, 230, .75); }
em { font-style: normal; color: var(--c-gold-2); }
.section--dark em, .hero em, .cta-band em { color: var(--c-gold); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--c-ink); --fg: var(--c-cream);
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  will-change: transform; position: relative; overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.25); transform: translateX(-101%); transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateX(0); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.btn--gold { --bg: var(--c-gold); --fg: var(--c-ink); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.btn--sm { padding: .7em 1.2em; font-size: .9rem; }
.btn--lg { padding: 1.1em 2em; font-size: 1.08rem; }

/* ---------- Barra de progreso ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60;
  background: linear-gradient(90deg, var(--c-gold), var(--c-red));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--c-cream);
  transition: background .4s, transform .5s var(--ease), box-shadow .4s, color .4s;
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.nav.is-scrolled { background: rgba(15, 42, 34, .86); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { width: 42px; height: 42px; transition: transform .8s var(--ease); }
.brand:hover .logo { transform: rotate(-25deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -.02em; }
.brand__text small { font-size: .68rem; letter-spacing: 0; opacity: .7; margin-top: 4px; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { white-space: nowrap;
  text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 14px; border-radius: 999px;
  position: relative; transition: background .3s;
}
.menu a:hover { background: rgba(255,255,255,.1); }
.menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-gold); transform: translateX(-50%);
}
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; color: inherit; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.nav.is-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .menu {
    position: fixed; inset: 0; background: var(--c-forest); flex-direction: column; justify-content: center;
    align-items: flex-start; padding: 0 var(--gutter); gap: 0; margin: 0;
    clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease); z-index: -1;
  }
  .menu a { font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; padding: 6px 0; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease); }
  .menu a[aria-current="page"] { color: var(--c-gold); }
  .menu a[aria-current="page"]::after { display: none; }
  .nav.is-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav.is-open .menu a { opacity: 1; transform: none; }
  .nav.is-open .menu a:nth-child(2) { transition-delay: .05s; }
  .nav.is-open .menu a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .menu a:nth-child(4) { transition-delay: .15s; }
  .nav.is-open .menu a:nth-child(5) { transition-delay: .2s; }
  .nav.is-open .menu a:nth-child(6) { transition-delay: .25s; }
  .nav.is-open .menu a:nth-child(7) { transition-delay: .3s; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  background: radial-gradient(120% 90% at 80% 20%, var(--c-moss) 0%, var(--c-forest) 55%, #0a1d17 100%);
  color: var(--c-cream); overflow: hidden; padding: 120px 0 80px;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero__title { font-size: clamp(2.8rem, 8.6vw, 7.2rem); font-weight: 800; line-height: .95; margin-bottom: .35em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__text { max-width: 520px; font-size: 1.15rem; color: rgba(246, 241, 230, .8); opacity: 0; animation: fadeUp 1s .5s var(--ease) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; opacity: 0; animation: fadeUp 1s .65s var(--ease) forwards; }
.hero .eyebrow { opacity: 0; animation: fadeUp .8s .1s var(--ease) forwards; }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Diana animada */
.target { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; }
.target svg { width: 100%; height: 100%; overflow: visible; }
.target .ring { transform-origin: 250px 250px; transform: scale(0); animation: ringIn 1.2s var(--ease) forwards; }
.target .ring:nth-of-type(2) { animation-delay: .08s; }
.target .ring:nth-of-type(3) { animation-delay: .16s; }
.target .ring:nth-of-type(4) { animation-delay: .24s; }
.target .ring:nth-of-type(5) { animation-delay: .32s; }
.target .ring:nth-of-type(6) { animation-delay: .4s; }
@keyframes ringIn { to { transform: scale(1); } }
.target .arrow { transform: translate(420px, -420px); opacity: 0; animation: arrowIn .55s 1.25s cubic-bezier(.5, 0, .9, .4) forwards; }
@keyframes arrowIn { 0% { opacity: 1; } 100% { transform: translate(0, 0); opacity: 1; } }
.target__wobble { transform-origin: 250px 250px; animation: impact .6s 1.8s var(--ease); }
@keyframes impact { 0% { transform: scale(1); } 30% { transform: scale(.97) rotate(-1deg); } 60% { transform: scale(1.01) rotate(.5deg); } 100% { transform: none; } }
.target__shock { transform-origin: 252px 248px; opacity: 0; animation: shock 1s 1.8s ease-out; fill: none; stroke: var(--c-gold); stroke-width: 3; }
@keyframes shock { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(2.4); } }
.target__glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(242,194,48,.35), transparent 60%); filter: blur(30px); animation: pulse 4s 2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .6; } }

.hero__lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .14; }
.hero__lines circle { fill: none; stroke: var(--c-cream); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3;
  letter-spacing: 0; font-size: .85rem; color: rgba(246,241,230,.6);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
}
.hero__scroll::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--c-gold); border-bottom: 2px solid var(--c-gold); transform: rotate(45deg); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px) rotate(45deg); } }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .target { width: min(80%, 360px); order: -1; }
  .hero { padding-top: 100px; }
  .hero__scroll { display: none; }
}

/* Cabecera de páginas interiores */
.page-hero {
  background: radial-gradient(120% 120% at 90% 0%, var(--c-moss), var(--c-forest) 60%);
  color: var(--c-cream); padding: clamp(140px, 18vw, 200px) 0 clamp(60px, 9vw, 110px); position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; max-width: 14ch; }
.page-hero p { max-width: 620px; font-size: 1.15rem; color: rgba(246,241,230,.78); }
.page-hero__rings { position: absolute; right: -12vw; top: 50%; width: min(70vw, 720px); transform: translateY(-50%); opacity: .12; pointer-events: none; }
.page-hero__rings circle { fill: none; stroke: var(--c-cream); stroke-width: 1.2; }
.page-hero .split .w { display: inline-block; overflow: hidden; vertical-align: top; }
.page-hero .split .w > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms); }

/* ---------- Marquee ---------- */
.marquee { background: var(--c-gold); color: var(--c-ink); overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg); margin: -20px -10px 0; position: relative; z-index: 3; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c-red); box-shadow: 0 0 0 4px var(--c-blue), 0 0 0 8px var(--c-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-50px); }
.reveal--scale { transform: scale(.92); }
.stagger > * { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .4s; }
.no-js .reveal, .no-js .stagger > * { opacity: 1; transform: none; }

/* ---------- Intro / split ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .split-2 { grid-template-columns: 1fr; } }

.media {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--c-moss), var(--c-forest)); box-shadow: var(--shadow);
}
.media__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(246,241,230,.5); font-size: .85rem; text-align: center; padding: 20px; }
.media__ph svg { width: 60%; opacity: .5; margin-bottom: 12px; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media[data-parallax] > * { transform: translateY(var(--py, 0)) scale(1.12); }
.media__badge {
  position: absolute; left: -18px; bottom: 32px; background: var(--c-gold); color: var(--c-ink);
  border-radius: 16px; padding: 16px 20px; font-family: var(--f-display); font-weight: 800; line-height: 1.1; box-shadow: var(--shadow);
}
.media-wrap { position: relative; }
.media-wrap .media__badge { left: -10px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--c-paper); padding: 34px 26px; }
.section--cream .stat { background: var(--c-cream); }
.stat__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--c-forest); }
.stat__n small { font-size: .5em; margin-left: 2px; color: var(--c-gold-2); }
.stat__l { color: var(--c-muted); font-size: .95rem; margin-top: 8px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  position: relative; background: var(--c-white); border-radius: var(--radius); padding: 32px 28px 28px;
  border: 1px solid var(--c-line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  transform-style: preserve-3d; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.45rem; margin-bottom: .4em; }
.card p { color: var(--c-muted); font-size: .98rem; }
.card__tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: 0; color: var(--c-moss); background: rgba(44,90,71,.1); padding: 5px 10px; border-radius: 999px; margin-bottom: 18px; align-self: flex-start; }
.card__meta { display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--c-line); padding-top: 16px; margin-top: auto; font-size: .9rem; }
.card__meta strong { font-family: var(--f-display); }
.card__link { margin-top: 18px; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.card__link span { transition: transform .4s var(--ease); }
.card:hover .card__link span { transform: translateX(6px); }
.card--featured { background: var(--c-forest); color: var(--c-cream); border-color: transparent; }
.card--featured p { color: rgba(246,241,230,.75); }
.card--featured .card__tag { background: var(--c-gold); color: var(--c-ink); }
.card--featured .card__meta { border-color: rgba(246,241,230,.2); }
.card__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(242,194,48,.14), transparent 40%); opacity: 0; transition: opacity .3s; }
.card:hover .card__glare { opacity: 1; }

/* Modalidades */
.modal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(246,241,230,.12); border-radius: var(--radius); overflow: hidden; }
.modal-item { background: var(--c-forest); padding: 40px 32px; position: relative; overflow: hidden; transition: background .5s; }
.modal-item::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; border: 30px solid rgba(242,194,48,.0); transition: border-color .6s, transform .8s var(--ease); transform: scale(.6); }
.modal-item:hover { background: var(--c-forest-2); }
.modal-item:hover::before { border-color: rgba(242,194,48,.12); transform: scale(1); }
.modal-item__n { font-family: var(--f-display); color: var(--c-gold); font-size: .9rem; letter-spacing: 0; }
.modal-item h3 { font-size: 1.8rem; margin: 14px 0 10px; }
.modal-item p { color: rgba(246,241,230,.7); font-size: .98rem; margin: 0; }
.modal-item svg { width: 54px; height: 54px; color: var(--c-gold); margin-bottom: 8px; transition: transform .7s var(--ease); }
.modal-item:hover svg { transform: rotate(-12deg) scale(1.1); }
@media (max-width: 900px) { .modal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .modal-grid { grid-template-columns: 1fr; } }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: paso; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 4%; right: 4%; height: 2px; background: var(--c-line); }
.steps::after { content: ""; position: absolute; top: 28px; left: 4%; right: 4%; height: 2px; background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.steps.is-in::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; }
.step__n { width: 56px; height: 56px; border-radius: 50%; background: var(--c-forest); color: var(--c-gold); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 18px; box-shadow: 0 0 0 8px var(--c-paper); }
.section--cream .step__n { box-shadow: 0 0 0 8px var(--c-cream); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--c-muted); font-size: .96rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before, .steps::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Lista con check */
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 3px; background: var(--c-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2314201c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Noticias */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news__item { text-decoration: none; display: block; }
.news__img { aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(140deg, var(--c-moss), var(--c-forest)); margin-bottom: 16px; position: relative; }
.news__img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 40%, rgba(242,194,48,.35), transparent 50%); transition: transform .8s var(--ease); }
.news__item:hover .news__img::after { transform: scale(1.3); }
.news__date { font-size: .8rem; color: var(--c-muted); letter-spacing: 0; }
.news__item h3 { font-size: 1.3rem; margin-top: 6px; transition: color .3s; }
.news__item:hover h3 { color: var(--c-moss); }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }

/* Calendario */
.events { display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; padding: 22px 26px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.event:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.event__date { font-family: var(--f-display); text-align: center; line-height: 1; }
.event__date b { display: block; font-size: 2.2rem; color: var(--c-forest); }
.event__date span { font-size: .8rem; letter-spacing: 0; color: var(--c-muted); }
.event h3 { font-size: 1.2rem; margin: 0 0 4px; }
.event p { margin: 0; color: var(--c-muted); font-size: .92rem; }
.pill { font-size: .75rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(47,111,176,.12); color: var(--c-blue); white-space: nowrap; }
@media (max-width: 640px) { .event { grid-template-columns: 70px 1fr; } .event .pill { grid-column: 2; justify-self: start; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 0 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; color: var(--c-gold-2); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--c-muted); padding-bottom: 20px; margin: 0; }

/* Formulario */
.form { display: grid; gap: 18px; background: var(--c-white); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--c-line);
  background: var(--c-paper); color: var(--c-ink); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-moss); background: var(--c-white); box-shadow: 0 0 0 4px rgba(44,90,71,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; font-size: .9rem; color: var(--c-muted); align-items: flex-start; }
.check input { margin-top: 4px; accent-color: var(--c-forest); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 18px 22px; border-radius: 12px; font-weight: 500; }
.alert--ok { background: rgba(44,90,71,.12); color: var(--c-forest); }
.alert--err { background: rgba(216,64,47,.1); color: #9c2a1d; }
.contact-info { display: grid; gap: 26px; }
.contact-info__item { display: flex; gap: 16px; }
.contact-info__icon { flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--c-forest); color: var(--c-gold); display: grid; place-items: center; }
.contact-info__item h3 { font-size: 1.05rem; margin: 0 0 2px; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
.contact-info__item p { margin: 0; color: var(--c-muted); }

/* Patrocinadores */
.sponsors { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.sponsor { aspect-ratio: 16/9; border: 1.5px dashed var(--c-line); border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--c-muted); font-size: .85rem; transition: border-color .3s, color .3s; }
.sponsor:hover { border-color: var(--c-gold-2); color: var(--c-ink); }

/* CTA band */
.cta-band { background: var(--c-ink); color: var(--c-cream); padding: clamp(60px, 9vw, 110px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 40px, rgba(242,194,48,.07) 40px 41px); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; }
.cta-band__title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; max-width: 16ch; margin: 0; }

/* Footer */
.footer { background: #0a1d17; color: rgba(246,241,230,.75); padding: 70px 0 30px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h3 { font-family: var(--f-body); font-size: .78rem; letter-spacing: 0; color: var(--c-gold); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--c-gold); }
.brand--footer { color: var(--c-cream); margin-bottom: 16px; }
.footer__lema { max-width: 28ch; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid rgba(246,241,230,.1); margin-top: 50px; padding-top: 24px; font-size: .85rem; }
.footer__legal span:first-child { margin-right: auto; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); z-index: 40; animation: fadeUp .8s 2s both var(--ease); }

/* Texto legal */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }

/* Pendiente de contenido (solo visible en la maqueta) */
.todo { background: rgba(242,194,48,.25); border-radius: 4px; padding: 0 4px; font-size: .9em; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Contenido gestionado desde el panel ---------- */
.news__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.news__item:hover .news__img img { transform: scale(1.06); }
.news__sum { color: var(--c-muted); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news__item--ph { opacity: .55; }
.card__plazas { font-weight: 600; font-size: .9rem; color: var(--c-gold-2) !important; }
.card--featured .card__plazas { color: var(--c-gold) !important; }
.page-hero--article h1 { max-width: 22ch; font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
.article__img { margin-top: clamp(-70px, -6vw, -40px); position: relative; z-index: 2; }
.article__img img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article__body { font-size: 1.1rem; margin-inline: auto; }
.article__body p { margin-bottom: 1.3em; }
.article__body a { color: var(--c-moss); }
.article__share { border-top: 1px solid var(--c-line); padding-top: 20px; margin-top: 40px; font-size: .95rem; color: var(--c-muted); }
.map { margin-top: 40px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.event { align-items: start; }
.event .pill { align-self: center; }
.event--past .event__date b { color: var(--c-muted); }
.event__more { margin-top: 10px; font-size: .95rem; }
.event__more summary { cursor: pointer; font-weight: 600; color: var(--c-moss); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.event__more summary::-webkit-details-marker { display: none; }
.event__more summary::after { content: "+"; font-family: var(--f-display); transition: transform .3s var(--ease); }
.event__more[open] summary::after { transform: rotate(45deg); }
.event__more p { color: var(--c-muted); margin: 10px 0 0; }
.results { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.results li { display: flex; gap: 10px; align-items: baseline; }
.results li::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 3px rgba(242,194,48,.25); transform: translateY(1px); }
.home-events { margin-bottom: clamp(48px, 7vw, 80px); }
.home-events__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; gap: 16px; }
.home-events__head h3 { font-size: 1.5rem; margin: 0; }
.home-events__head a { font-weight: 600; color: var(--c-moss); text-decoration: none; }

/* ---------- Galería ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chips a { padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; border: 1.5px solid var(--c-line); transition: background .3s, border-color .3s, color .3s; }
.chips a span { color: var(--c-muted); font-size: .8em; margin-left: 2px; }
.chips a:hover { border-color: var(--c-moss); }
.chips a[aria-current="page"] { background: var(--c-forest); border-color: var(--c-forest); color: var(--c-cream); }
.chips a[aria-current="page"] span { color: var(--c-gold); }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry__item { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: zoom-in; background: var(--c-cream); }
.masonry__item img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s; }
.masonry__item:hover img { transform: scale(1.05); filter: brightness(.85); }
.masonry__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-size: .9rem; font-weight: 500; background: linear-gradient(transparent, rgba(10,29,23,.8)); transform: translateY(100%); transition: transform .5s var(--ease); }
.masonry__item:hover .masonry__cap, .masonry__item:focus-visible .masonry__cap { transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 20, 16, .94); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; animation: lbIn .35s var(--ease); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-height: 100vh; padding: 60px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: lbImg .45s var(--ease); }
@keyframes lbImg { from { opacity: 0; transform: scale(.96); } }
.lightbox figcaption { color: var(--c-cream); text-align: center; font-size: .95rem; min-height: 1.4em; }
.lightbox button { background: rgba(255,255,255,.08); color: var(--c-cream); border: 0; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: background .3s; justify-self: center; }
.lightbox button:hover { background: var(--c-gold); color: var(--c-ink); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__count { position: absolute; top: 28px; left: 24px; color: rgba(246,241,230,.6); font-size: .85rem; letter-spacing: 0; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }
}

/* ---------- Inscripciones ---------- */
.narrow { max-width: 760px; }
.groups { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 8px; }
.groups a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--c-paper); text-decoration: none; font-size: .9rem; transition: background .3s, transform .3s var(--ease); }
.groups a:hover { background: var(--c-cream); transform: translateX(4px); }
.card--featured .groups a { background: rgba(255,255,255,.07); }
.card--featured .groups a:hover { background: rgba(255,255,255,.13); }
.groups__when strong { font-family: var(--f-display); margin-right: 4px; }
.groups__seats { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(44,90,71,.12); color: var(--c-moss); white-space: nowrap; }
.groups__seats.is-few { background: rgba(242,194,48,.25); color: #8a6400; }
.groups__seats.is-full { background: rgba(216,64,47,.12); color: #9c2a1d; }
.card--featured .groups__seats { background: var(--c-gold); color: var(--c-ink); }

.seats { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; background: var(--c-forest); color: var(--c-cream); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.seats__n { font-family: var(--f-display); font-weight: 800; font-size: 4.2rem; line-height: 1; color: var(--c-gold); }
.seats strong { font-family: var(--f-display); font-size: 1.35rem; }
.seats p { margin: 4px 0 0; color: rgba(246,241,230,.75); font-size: .95rem; }
.seats__bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 14px; }
.seats__bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--c-gold), var(--c-red)); border-radius: 4px; transform-origin: left; animation: seatsGrow 1.4s .3s var(--ease) both; }
@keyframes seatsGrow { from { transform: scaleX(0); } }
.seats--full .seats__n { color: var(--c-red); }
.facts { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 28px 0; font-size: 1rem; }
.facts dt { color: var(--c-muted); }
.facts dd { margin: 0; font-weight: 600; }
.result { background: var(--c-white); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow); border-top: 6px solid var(--c-gold); }
.result--ok { border-top-color: var(--c-moss); }
.result--neutral { border-top-color: var(--c-line); }
.result h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.result__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 2rem; background: var(--c-gold); color: var(--c-ink); margin-bottom: 20px; animation: pop .7s .2s var(--ease) both; }
.result--ok .result__icon { background: var(--c-moss); color: #fff; }
@keyframes pop { from { transform: scale(0) rotate(-30deg); } }
.muted { color: var(--c-muted); }

/* ---------- Ajustes de móvil ---------- */
html, body { overflow-x: clip; }
.marquee { margin: -20px 0 0; width: 100%; }
.card__link, .home-events__head a { padding: 10px 0; }
.event__more summary { padding: 8px 0; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
  .h-lg { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
  .lead { font-size: 1.05rem; }
  .hero { padding: 96px 0 56px; min-height: auto; }
  .hero__title { font-size: clamp(2.7rem, 14vw, 3.6rem); }
  .hero__text { font-size: 1.05rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .target { width: min(72%, 280px); }
  .page-hero { padding: 120px 0 56px; }
  .page-hero h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .page-hero p { font-size: 1.02rem; }
  .page-hero__rings { width: 120vw; right: -60vw; }
  .media { aspect-ratio: 4/3; }
  .media__badge { left: 12px; bottom: 12px; padding: 12px 14px; font-size: .95rem; }
  .media-wrap .media__badge { left: 12px; }
  .stat { padding: 24px 18px; }
  .stat__n { font-size: 2.4rem; }
  .card { padding: 26px 22px 22px; }
  .modal-item { padding: 30px 24px; }
  .event { grid-template-columns: 58px 1fr; gap: 14px; padding: 18px; }
  .event__date b { font-size: 1.8rem; }
  .event .pill { grid-column: 2; justify-self: start; }
  .event:hover { transform: none; }
  .cta-band__inner { align-items: flex-start; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .footer { padding-top: 56px; }
  .footer__legal { flex-direction: column; gap: 8px; }
  .footer__legal span:first-child { margin-right: 0; }
  .footer ul a { display: inline-block; padding: 10px 0; }
  .footer ul { gap: 0; }
  .form { padding: 22px 18px; }
  .form .btn { width: 100%; justify-content: center; }
  .seats { padding: 22px; }
  .seats__n { font-size: 3.4rem; }
  .facts { grid-template-columns: 96px 1fr; }
  .result .btn { width: 100%; justify-content: center; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips a { white-space: nowrap; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry__item { margin-bottom: 10px; }
  .masonry__cap { display: none; }
  .article__body { font-size: 1.05rem; }
  .article__img { margin-top: -28px; }
  .prose a, .article__body a { overflow-wrap: anywhere; }
  .wa { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 1rem; padding: 18px 0; }
}

/* ---------- Bautismo y reservas ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line); border-radius: var(--radius); overflow: hidden; }
.perk { background: var(--c-paper); padding: 26px 22px; display: grid; gap: 4px; }
.perk b { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--c-forest); }
.perk span { color: var(--c-muted); }
@media (max-width: 760px) { .perks { grid-template-columns: 1fr 1fr; } }
.month { font-size: 1.5rem; margin: 36px 0 14px; }
.month:first-of-type { margin-top: 0; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.slot { display: grid; gap: 2px; padding: 18px 16px; border-radius: 16px; background: var(--c-white); border: 1.5px solid var(--c-line); text-decoration: none; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.slot:hover { transform: translateY(-4px); border-color: var(--c-moss); box-shadow: var(--shadow); }
.slot__day { color: var(--c-muted); font-size: .9rem; }
.slot__n { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--c-forest); }
.slot__time { font-weight: 600; }
.slot__seats { margin-top: 8px; justify-self: start; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(44,90,71,.12); color: var(--c-moss); }
.slot--full { background: transparent; }
.slot--full .slot__n { color: var(--c-muted); }
.slot--full .slot__seats { background: rgba(216,64,47,.12); color: #9c2a1d; }
@media (max-width: 640px) { .slots { grid-template-columns: 1fr 1fr; gap: 10px; } .slot { padding: 14px; } .slot__n { font-size: 2rem; } }
.gift-cta { background: var(--c-forest); color: var(--c-cream); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.gift-cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 18px, rgba(242,194,48,.15) 18px 20px); }
.gift-cta h3 { font-size: 1.8rem; }
.gift-cta p { color: rgba(246,241,230,.8); }
.giftcode summary { cursor: pointer; font-weight: 600; color: var(--c-moss); padding: 8px 0; list-style: none; }
.giftcode summary::-webkit-details-marker { display: none; }
.giftcode summary::after { content: " +"; }
.giftcode[open] summary::after { content: " −"; }
.giftcode .field { margin-top: 8px; }
.field__hint { display: block; margin-top: 6px; color: #8a6400; font-size: .88rem; }
.result__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 640px) { .result__actions .btn { width: 100%; justify-content: center; } }

/* ---------- Tarjetas regalo ---------- */
.giftcard { position: relative; overflow: hidden; aspect-ratio: 1.6; max-width: 560px; border-radius: 22px; padding: clamp(20px, 4vw, 34px); color: var(--c-cream); display: flex; flex-direction: column; gap: 6px; box-shadow: 0 30px 60px -25px rgba(10,29,23,.6);
  background: radial-gradient(120% 120% at 100% 0%, var(--c-moss), var(--c-forest) 55%, #0a1d17); }
.giftcard::after { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 22px, rgba(242,194,48,.14) 22px 24px); }
.giftcard__top { display: flex; align-items: center; gap: 12px; font-size: .9rem; opacity: .85; position: relative; z-index: 1; }
.giftcard__title { font-family: var(--f-display); color: var(--c-gold); font-size: 1rem; margin-top: auto; }
.giftcard__what { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 4.4vw, 2.4rem); line-height: 1.05; }
.giftcard__for { font-size: 1.05rem; }
.giftcard__msg { font-style: italic; opacity: .85; font-size: .95rem; }
.giftcard__code { font-family: var(--f-display); font-weight: 800; letter-spacing: 0; font-size: 1.3rem; color: var(--c-gold); }
.giftcard__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 10px; border-top: 1px solid rgba(246,241,230,.2); padding-top: 12px; }
.giftcard__bottom small { display: block; opacity: .65; font-size: .75rem; }
.giftcard__how { font-size: .78rem; max-width: 55%; text-align: right; opacity: .9; }
.giftcard__used { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,29,23,.6); font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; color: var(--c-gold); transform: rotate(-8deg); }
.giftcard--preview { margin-bottom: 28px; transform: rotate(-2deg); transition: transform .6s var(--ease); }
.giftcard--preview:hover { transform: rotate(0) scale(1.02); }
.howto { padding-left: 1.2em; display: grid; gap: 10px; margin: 0 0 16px; }
.paybox { background: var(--c-cream); border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; }
.giftpage { background: var(--c-cream); min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.giftpage__wrap { width: min(100%, 620px); display: grid; gap: 22px; justify-items: center; }
.giftpage__wrap .giftcard { width: 100%; }
.giftpage__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.giftpage__msg { text-align: center; max-width: 480px; }
@media (max-width: 520px) { .giftcard { aspect-ratio: auto; min-height: 300px; } .giftcard__bottom { flex-direction: column; align-items: flex-start; } .giftcard__how { max-width: none; text-align: left; } }
@media print {
  .giftpage { background: #fff; padding: 0; }
  .giftpage__actions { display: none; }
  .giftcard { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.card--link { text-decoration: none; color: inherit; }
.alert--ok { margin-bottom: 4px; }

/* ---------- Opiniones ---------- */
.stars { color: var(--c-gold-2); letter-spacing: 2px; }
.stars span { color: var(--c-line); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.section--cream .quote { background: var(--c-paper); }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.quote blockquote::before { content: "“"; font-family: var(--f-display); font-size: 2.6rem; line-height: 0; vertical-align: -.45em; color: var(--c-gold); margin-right: 4px; }
.quote figcaption { margin-top: auto; color: var(--c-muted); font-size: .92rem; }
.quote figcaption strong { color: var(--c-ink); }

/* ---------- Vídeo de portada ---------- */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero--video::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,29,23,.88) 0%, rgba(10,29,23,.55) 55%, rgba(10,29,23,.25) 100%), linear-gradient(0deg, rgba(10,29,23,.6), transparent 40%); }
.hero--video .hero__lines, .hero--video .target { display: none; }
.hero--video .hero__grid { grid-template-columns: minmax(0, 720px); }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
/* Fichas de deportistas */
.athletes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.athlete { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.athlete:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.athlete[hidden] { display: none; }
.athlete__img { position: relative; aspect-ratio: 4/5; background: linear-gradient(150deg, var(--c-moss), var(--c-forest)); display: grid; place-items: center; overflow: hidden; }
.athlete__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.athlete:hover .athlete__img img { transform: scale(1.05); }
.athlete__img > span[aria-hidden] { font-family: var(--f-display); font-weight: 800; font-size: 5rem; color: rgba(242,194,48,.5); }
.athlete__tag { position: absolute; left: 14px; bottom: 14px; background: var(--c-gold); color: var(--c-ink); font-weight: 600; font-size: .8rem; padding: 5px 12px; border-radius: 999px; }
.athlete__body { padding: 20px 22px 22px; }
.athlete__body h3 { font-size: 1.35rem; margin-bottom: .2em; }
.athlete__body p { font-size: .95rem; }
/* Hazte socio */
.price-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--c-line); font-size: 1.05rem; }
.price-list b { font-family: var(--f-display); font-size: 1.2rem; white-space: nowrap; }
.howto--big { font-size: 1.05rem; gap: 14px; margin-bottom: 24px; }
.map { position: relative; background: linear-gradient(140deg, var(--c-moss), var(--c-forest)); }
.map__load { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: transparent; color: var(--c-cream); display: grid; place-content: center; gap: 6px; padding: 20px; text-align: center; font: inherit; }
.map__load span { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; }
.map__load span::before { content: "📍 "; }
.map__load small { opacity: .75; max-width: 30ch; }
.map__load:hover span { color: var(--c-gold); }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.table-wrap { overflow-x: auto; }
.ctable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ctable th, .ctable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-line); vertical-align: top; }

/* ---------- Hero "Bell Field" (AnimatedWebs) ---------- */
.hero__field, .hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__field { z-index: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__embers { z-index: 1; mix-blend-mode: screen; }
.hero.has-field .hero__field { opacity: 1; }
.hero.has-field .hero__lines { display: none; }
.hero.has-field::before { /* velo para que el texto se lea siempre */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,29,23,.78) 0%, rgba(10,29,23,.45) 42%, rgba(10,29,23,0) 70%),
              linear-gradient(0deg, rgba(10,29,23,.55), transparent 30%);
}
.hero[data-bell] { cursor: crosshair; }
.hero[data-bell] a, .hero[data-bell] button { cursor: pointer; }
.target.is-hit .target__wobble { animation: impact .6s var(--ease); }
.target.is-hit .target__shock { animation: shock 1s ease-out; }
@media (max-width: 860px) {
  .hero.has-field::before { background: linear-gradient(0deg, rgba(10,29,23,.85) 0%, rgba(10,29,23,.55) 55%, rgba(10,29,23,.15) 100%); }
}
