/* =========================================================
   EspinalRS Experiencias & Eventos — Propuesta de diseño
   Sin CDN: Bootstrap + Bootstrap Icons + fuentes locales
   ========================================================= */

@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #060608;
  --bg-2: #0c0c11;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .09);
  --gold: #ffd21f;
  --gold-2: #f0a500;
  --violet: #7a1fff;
  --text: #f5f5f7;
  --muted: #a6a6b4;
  --wsp: #25d366;
  --radius: 22px;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font-body);
  --nav-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: fixed; top: -60px; left: 12px; z-index: 3000; background: var(--gold); color: #000; padding: .6rem 1rem; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Tipografía ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; line-height: .95; text-transform: uppercase; }
.gold-text { background: linear-gradient(100deg, #fff3b0 0%, var(--gold) 40%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.lead-muted { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }

/* ---------- Botones ---------- */
.btn-gold, .btn-ghost, .btn-wa {
  --pad-y: .95rem; --pad-x: 1.7rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn-gold { background: linear-gradient(110deg, var(--gold), var(--gold-2)); color: #111; box-shadow: 0 10px 30px -10px rgba(255, 190, 0, .55); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -10px rgba(255, 190, 0, .75); color: #000; }
.btn-ghost { background: rgba(255, 255, 255, .05); color: var(--text); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-wa { background: var(--wsp); color: #04210f; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6); }
.btn-wa:hover { transform: translateY(-3px); color: #04210f; box-shadow: 0 18px 38px -10px rgba(37, 211, 102, .8); }
.btn-sm-x { --pad-y: .6rem; --pad-x: 1.2rem; font-size: .85rem; }

/* ---------- Navegación ---------- */
.site-nav { position: fixed; inset: 0 0 auto 0; z-index: 1500; height: var(--nav-h); display: flex; align-items: center; transition: background .4s, backdrop-filter .4s, border-color .4s, height .3s; border-bottom: 1px solid transparent; }
.site-nav.scrolled { background: rgba(6, 6, 8, .78); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); --nav-h: 66px; height: 66px; }
.site-nav .navbar { width: 100%; padding: 0; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--text); text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .06em; line-height: 1; }
.brand small { display: block; font-family: var(--font-body); font-size: .56rem; letter-spacing: .26em; color: var(--muted); margin-top: 3px; }
.nav-links a { color: var(--muted); font-size: .88rem; font-weight: 500; text-decoration: none; padding: .5rem 1rem; position: relative; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .15rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 3rem) 0 6rem; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.08); animation: heroZoom 22s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.18) translateY(-1.5%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse 70% 60% at 20% 40%, rgba(6, 6, 8, .55), rgba(6, 6, 8, .9) 70%),
  linear-gradient(180deg, rgba(6, 6, 8, .55) 0%, rgba(6, 6, 8, .35) 40%, var(--bg) 100%); }
.hero::after { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -10vw; top: 6vh; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(122, 31, 255, .38), transparent 65%); filter: blur(30px); animation: floatGlow 9s ease-in-out infinite alternate; }
@keyframes floatGlow { to { transform: translate(-30px, 30px) scale(1.1); } }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-sparkle { position: absolute; right: -4%; bottom: -8%; width: min(46vw, 560px); z-index: -1; mix-blend-mode: screen; opacity: .8; pointer-events: none; animation: sparkleDrift 12s ease-in-out infinite alternate; }
@keyframes sparkleDrift { to { transform: translate(-18px, -22px) rotate(2deg); } }

.hero h1 { font-size: clamp(3.6rem, 11.5vw, 9.4rem); margin: 1.2rem 0 1.4rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-sub { max-width: 560px; color: #d8d8e0; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; opacity: 0; animation: fadeUp .9s var(--ease) .6s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; opacity: 0; animation: fadeUp .9s var(--ease) .8s forwards; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; opacity: 0; animation: fadeUp .9s var(--ease) 1s forwards; }
.hero .eyebrow { opacity: 0; animation: fadeUp .8s var(--ease) .1s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.tag { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; font-size: .8rem; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); backdrop-filter: blur(8px); color: #e8e8ee; }
.tag i { color: var(--gold); }

.scroll-hint { position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%); width: 26px; height: 44px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 20px; display: none; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (min-width: 768px) { .scroll-hint { display: block; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .08em; color: #cfcfda; padding: 0 1.6rem; display: inline-flex; align-items: center; gap: 3.2rem; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: clamp(2.6rem, 6.5vw, 5rem); margin: .9rem 0 1rem; }


/* ---------- Servicios ---------- */
.svc { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; }
.svc:hover { transform: translateY(-8px); border-color: rgba(255, 210, 31, .55); box-shadow: 0 30px 60px -30px rgba(255, 190, 0, .35); }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; border: 0; padding: 0; background: #000; display: block; width: 100%; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.svc:hover .svc-media img { transform: scale(1.09); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 6, 8, .92)); }
.svc-num { position: absolute; top: 1rem; left: 1.1rem; z-index: 2; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); letter-spacing: .1em; }
.svc-count { position: absolute; top: .9rem; right: 1rem; z-index: 2; font-size: .72rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); border: 1px solid var(--line); display: inline-flex; gap: .4rem; align-items: center; }
.svc-title { position: absolute; left: 1.2rem; right: 1.2rem; bottom: .9rem; z-index: 2; font-size: 2.1rem; margin: 0; text-align: left; color: #fff; }
.svc-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; flex: 1; }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; flex: 1; }
.svc-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: #d3d3dd; line-height: 1.45; }
.svc-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .5rem; border-radius: 50%; background: var(--gold); }
.svc-actions { display: flex; gap: .6rem; }
.svc-actions > * { flex: 1; }
.btn-pick { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem 1rem; border-radius: 999px; font-size: .84rem; font-weight: 500; background: transparent; color: var(--text); border: 1px solid var(--line); cursor: pointer; transition: all .3s var(--ease); }
.btn-pick:hover { border-color: var(--gold); color: var(--gold); }
.btn-pick[aria-pressed="true"] { background: var(--gold); color: #111; border-color: var(--gold); font-weight: 600; }
.btn-pick[aria-pressed="true"] i::before { content: "\f26a"; } /* check-circle-fill */

/* ---------- Videos ---------- */
.vrail-nav { display: flex; gap: .6rem; }
.vnav-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 1.15rem; display: grid; place-items: center; cursor: pointer; transition: all .25s var(--ease); }
.vnav-btn:hover, .vnav-btn:active { background: var(--gold); color: #111; border-color: var(--gold); transform: translateY(-2px); }
.play-btn { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #111; font-size: 1.5rem; display: grid; place-items: center; z-index: 2; transition: transform .3s var(--ease); }
.vcard:hover .play-btn { transform: scale(1.14); }
.vrail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 23.5%); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; scroll-behavior: smooth; }
@media (max-width: 767.98px) { .vrail { grid-auto-columns: 64%; } }
.vcard { position: relative; border-radius: 18px; overflow: hidden; scroll-snap-align: start; aspect-ratio: 9 / 14; border: 1px solid var(--line); cursor: pointer; background: #000; padding: 0; display: block; transition: border-color .3s, transform .35s var(--ease); }
.vcard:hover { border-color: rgba(255, 210, 31, .55); }
.vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vcard:hover img { transform: scale(1.07); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .9)); }
.vcard .lbl { position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: .95rem; font-family: var(--font-display); font-size: 1.32rem; letter-spacing: .05em; line-height: 1.05; text-align: left; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .85); }

/* ---------- Galería ---------- */
.masonry { columns: 4 240px; column-gap: 1rem; width: 100%; opacity: 1; }
.masonry button { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-2); cursor: zoom-in; position: relative; break-inside: avoid; }
.masonry img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease), filter .4s; }
.masonry button:hover img { transform: scale(1.06); filter: brightness(1.12); }
.masonry button::after { content: "\F62C"; font-family: "bootstrap-icons"; position: absolute; right: .8rem; bottom: .8rem; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #111; opacity: 0; transform: scale(.6); transition: .35s var(--ease); }
.masonry button:hover::after { opacity: 1; transform: scale(1); }
@media (max-width: 767.98px) {
  .masonry { columns: 2 130px; column-gap: .65rem; }
  .masonry button { margin-bottom: .65rem; border-radius: 12px; }
  .masonry button::after { width: 28px; height: 28px; font-size: .8rem; right: .45rem; bottom: .45rem; }
}

/* ---------- Nosotros ---------- */
.about-visual { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about-visual > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-badge { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; background: rgba(8, 8, 11, .72); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.3rem; display: flex; align-items: center; gap: 1rem; }
.about-badge img { width: 58px; flex: none; }
.event-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.event-chips .tag { font-size: .85rem; }
.pull { border-left: 3px solid var(--gold); padding-left: 1.2rem; font-size: 1.15rem; color: #fff; font-weight: 500; line-height: 1.6; margin-top: 1.6rem; }

/* Tarjetas de Liderazgo y Equipo (Opción A) */
.about-team-wrap { border-top: 1px solid var(--line); }
.team-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .45s var(--ease), border-color .35s, box-shadow .4s; }
.team-card:hover { transform: translateY(-6px); border-color: rgba(255, 210, 31, .55); box-shadow: 0 28px 60px -28px rgba(255, 190, 0, .35); }
.team-media { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border: 0; padding: 0; background: #050507; cursor: zoom-in; display: block; }
.team-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .85s var(--ease); }
.team-media.team-media-group img { object-position: center 85%; }
.team-card:hover .team-media img { transform: scale(1.04); }
.team-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 8, .18) 0%, transparent 35%, transparent 65%, rgba(6, 6, 8, .88) 100%); pointer-events: none; }
.team-role-badge { position: absolute; top: 1rem; left: 1.1rem; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem; border-radius: 999px; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(8, 8, 12, .78); backdrop-filter: blur(10px); border: 1px solid rgba(255, 210, 31, .45); color: var(--gold); }
.team-zoom { position: absolute; bottom: 1rem; right: 1.1rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .85rem; border-radius: 999px; font-size: .75rem; font-weight: 500; background: rgba(8, 8, 12, .75); backdrop-filter: blur(10px); border: 1px solid var(--line); color: var(--text); transition: background .3s, color .3s, border-color .3s; }
.team-card:hover .team-zoom { background: var(--gold); color: #111; border-color: var(--gold); font-weight: 600; }
.team-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); }
.team-name { font-size: 2.2rem; color: #fff; letter-spacing: .04em; }
.team-tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; padding: .3rem .75rem; border-radius: 999px; background: rgba(255, 210, 31, .12); border: 1px solid rgba(255, 210, 31, .35); color: var(--gold); font-weight: 500; }
.team-quote { color: var(--gold); font-size: .96rem; font-weight: 500; font-style: italic; margin: 0; }
.team-desc { color: var(--muted); font-size: .92rem; line-height: 1.65; }

/* ---------- Cotizador ---------- */
.quote-wrap { position: relative; border-radius: 32px; padding: clamp(1.6rem, 4vw, 3.2rem); overflow: hidden; border: 1px solid rgba(255, 210, 31, .25); background:
  radial-gradient(circle at 100% 0%, rgba(122, 31, 255, .28), transparent 50%),
  radial-gradient(circle at 0% 100%, rgba(255, 210, 31, .12), transparent 45%), var(--bg-2); }
.field label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; font-weight: 500; }
.field .form-control, .field .form-select { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text); border-radius: 14px; padding: .85rem 1rem; transition: border-color .25s, background .25s, box-shadow .25s; }
.field .form-control::placeholder { color: #6f6f7d; }
.field .form-control:focus, .field .form-select:focus { background: rgba(255, 255, 255, .08); border-color: var(--gold); box-shadow: 0 0 0 .22rem rgba(255, 210, 31, .15); color: var(--text); }
.field .form-select option { background: #14141a; color: #fff; }
.field .form-control.is-invalid { border-color: #ff5d6c; }
.picked { display: flex; flex-wrap: wrap; gap: .5rem; min-height: 48px; padding: .6rem; border-radius: 14px; border: 1px dashed var(--line); background: rgba(255, 255, 255, .03); align-items: center; }
.picked .empty { color: #6f6f7d; font-size: .85rem; padding-left: .4rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .5rem .35rem .85rem; border-radius: 999px; background: rgba(255, 210, 31, .14); border: 1px solid rgba(255, 210, 31, .45); color: var(--gold); font-size: .8rem; font-weight: 500; animation: pop .35s var(--ease); }
.pill button { border: 0; background: transparent; color: inherit; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; padding: 0; }
.pill button:hover { background: rgba(255, 210, 31, .3); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.quote-note { font-size: .8rem; color: var(--muted); }

/* ---------- Contacto / Mapa ---------- */
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; height: 100%; }
.contact-line { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; transition: color .25s, transform .3s var(--ease); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line:hover { color: var(--gold); transform: translateX(6px); }
.contact-line .ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); font-size: 1.2rem; color: var(--gold); }
.contact-line small { display: block; color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.map-box { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; height: 100%; background:
  linear-gradient(135deg, #12121a, #0a0a0f); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-facade { position: absolute; inset: 0; border: 0; width: 100%; display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--text); cursor: pointer; background:
  radial-gradient(circle at 50% 40%, rgba(255, 210, 31, .14), transparent 55%),
  repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 38px),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 38px), #0b0b10; }
.map-facade .pin { font-size: 3.4rem; color: var(--gold); animation: bounce 2s ease-in-out infinite; display: block; }
@keyframes bounce { 50% { transform: translateY(-10px); } }
.map-facade strong { display: block; font-family: var(--font-display); font-size: 2rem; letter-spacing: .05em; font-weight: 400; margin: .4rem 0 .2rem; }
.map-facade span.sm { color: var(--muted); font-size: .85rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 2.6rem 0 6rem; background: #040406; }
.footer .social a { width: 46px; height: 46px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--text); font-size: 1.15rem; text-decoration: none; transition: all .3s var(--ease); }
.footer .social a:hover { background: var(--gold); color: #111; border-color: var(--gold); transform: translateY(-4px); }
.footer p { color: var(--muted); font-size: .85rem; margin: 0; }

/* ---------- Botón Volver Arriba (Scroll to top) ---------- */
.scroll-top-btn {
  position: fixed;
  right: 27px;
  bottom: 94px;
  z-index: 1590;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 210, 31, .45);
  background: rgba(14, 14, 20, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--gold);
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s, color .25s, border-color .25s;
}
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover, .scroll-top-btn:active {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 210, 31, .4);
}

/* ---------- WhatsApp flotante ---------- */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 1600; display: flex; align-items: center; gap: .7rem; flex-direction: row-reverse; text-decoration: none; }
.wa-fab .circle { width: 62px; height: 62px; border-radius: 50%; background: var(--wsp); color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6), 0 10px 28px rgba(0, 0, 0, .45); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0), 0 10px 28px rgba(0, 0, 0, .45); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 28px rgba(0, 0, 0, .45); } }
.wa-fab .bubble { background: #fff; color: #111; font-size: .85rem; font-weight: 500; padding: .6rem 1rem; border-radius: 14px; opacity: 0; transform: translateX(14px); pointer-events: none; transition: .35s var(--ease); white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.wa-fab .bubble.show, .wa-fab:hover .bubble { opacity: 1; transform: translateX(0); }
@media (max-width: 575.98px) { .wa-fab .bubble { display: none; } }

/* ---------- Botón Volver Arriba (Scroll to top) ---------- */
.scroll-top-btn {
  position: fixed;
  right: 27px;
  bottom: 94px;
  z-index: 1590;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 210, 31, .6);
  background: rgba(14, 14, 20, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s, border-color .2s, color .2s;
}
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.scroll-top-btn:hover,
.scroll-top-btn:active {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 28px rgba(255, 210, 31, .4);
}

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 2500; display: none; background: rgba(3, 3, 5, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.lb.open { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-right, 0px)) 10px calc(18px + env(safe-area-inset-left, 0px)); gap: 1rem; position: relative; z-index: 20; }
.lb-title { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: .06em; color: var(--gold); margin: 0; }
.lb-count { color: var(--muted); font-size: .85rem; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.35rem; display: grid; place-items: center; cursor: pointer; transition: all .25s var(--ease); flex: none; box-shadow: 0 4px 16px rgba(0, 0, 0, .5); }
.lb-btn:hover, .lb-btn:active { background: var(--gold); color: #111; border-color: var(--gold); transform: scale(1.08); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 4.2rem; min-height: 0; touch-action: pan-y; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100svh - 180px); border-radius: 14px; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); animation: lbImg .45s var(--ease); background: #000; }
@keyframes lbImg { from { opacity: 0; transform: scale(.96); } }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 15; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 210, 31, .6); background: rgba(14, 14, 20, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--gold); font-size: 1.5rem; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .7); transition: all .25s var(--ease); }
.lb-nav:hover, .lb-nav:active { background: var(--gold); color: #111; border-color: var(--gold); transform: translateY(-50%) scale(1.1); }
.lb-prev { left: calc(12px + env(safe-area-inset-left, 0px)); }
.lb-next { right: calc(12px + env(safe-area-inset-right, 0px)); }
.lb-thumbs { display: flex; gap: .5rem; padding: 1rem 1rem calc(12px + env(safe-area-inset-bottom, 0px)); overflow-x: auto; justify-content: safe center; scrollbar-width: none; }
.lb-thumbs button { flex: none; width: 62px; height: 46px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .5; background: #000; cursor: pointer; transition: .25s; }
.lb-thumbs button.on, .lb-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) {
  .lb-top { padding-top: calc(16px + env(safe-area-inset-top, 0px)); padding-right: calc(18px + env(safe-area-inset-right, 0px)); }
  .lb-title { font-size: 1.5rem; }
  .lb-stage { padding: 0 1rem; }
  .lb-nav { width: 44px; height: 44px; font-size: 1.35rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-thumbs { padding-top: .6rem; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero h1 .line > span, .hero-sub, .hero-cta, .hero-tags, .hero .eyebrow, .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}

/* ---------- Barra inferior tipo app (móvil / tablet) ---------- */
.tabbar { display: none; }
@media (max-width: 991.98px) {
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 1700;
    height: 64px; padding: 0 .2rem;
    background: rgba(12, 12, 17, .88); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
  }
  .tabbar a {
    height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    color: var(--muted); text-decoration: none;
    -webkit-tap-highlight-color: transparent; transition: color .2s;
  }
  .tabbar a i {
    height: 24px; display: grid; place-items: center;
    font-size: 1.32rem; line-height: 1;
    transition: transform .2s var(--ease), color .2s;
  }
  .tabbar a .tab-logo-ico {
    width: 24px; height: 24px; object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 210, 31, .35));
    transition: transform .2s var(--ease), filter .2s;
  }
  .tabbar a span {
    font-size: .65rem; font-weight: 500; line-height: 1; letter-spacing: .02em;
    text-align: center; white-space: nowrap;
  }
  .tabbar a:active i, .tabbar a:active .tab-logo-ico { transform: scale(.86); }
  .tabbar a.active { color: var(--gold); font-weight: 600; }
  .tabbar a.active i { filter: drop-shadow(0 0 8px rgba(255, 210, 31, .6)); }
  .tabbar a.active .tab-logo-ico { filter: drop-shadow(0 0 10px rgba(255, 210, 31, .9)); }

  /* El resto de la página deja espacio a la barra */
  .footer { padding-bottom: 8.5rem; }
  .wa-fab { right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); }
  .wa-fab .circle { width: 54px; height: 54px; font-size: 1.65rem; }
  .scroll-top-btn {
    right: 21px;
    bottom: calc(158px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .site-nav .brand img { width: 40px; height: 40px; }
}

/* ---------- Preloader (Opción 1: Show Time) ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #111118 0%, #060608 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .65s cubic-bezier(.22, .9, .3, 1), transform .65s cubic-bezier(.22, .9, .3, 1), visibility .65s;
}
.preloader.loaded {
  opacity: 0;
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem;
}
.preloader-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: .2rem;
}
.preloader-logo-wrap img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 210, 31, .45));
  position: relative;
  z-index: 2;
  animation: logoBreath 2.2s infinite ease-in-out;
}
@keyframes logoBreath {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 14px rgba(255, 210, 31, .35)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 24px rgba(255, 210, 31, .7)); }
}
.sound-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  opacity: 0;
  animation: soundPulse 2.2s cubic-bezier(.22, .9, .3, 1) infinite;
}
.sound-wave.delay {
  animation-delay: 1.1s;
}
@keyframes soundPulse {
  0% { transform: scale(.7); opacity: .8; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* Ecualizador de sonido animado */
.preloader-eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 28px;
  margin-top: .2rem;
}
.preloader-eq span {
  width: 4px;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 10px rgba(255, 210, 31, .5);
  animation: eqBounce 1.2s ease-in-out infinite;
}
.preloader-eq span:nth-child(1) { animation-duration: .9s; animation-delay: .1s; }
.preloader-eq span:nth-child(2) { animation-duration: 1.1s; animation-delay: .3s; }
.preloader-eq span:nth-child(3) { animation-duration: .8s; animation-delay: .05s; }
.preloader-eq span:nth-child(4) { animation-duration: 1.25s; animation-delay: .25s; }
.preloader-eq span:nth-child(5) { animation-duration: .95s; animation-delay: .4s; }

@keyframes eqBounce {
  0%, 100% { height: 6px; opacity: .4; }
  50% { height: 26px; opacity: 1; }
}

.preloader-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 16px rgba(255, 210, 31, .35);
  margin: 0;
}
.preloader-sub {
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .24em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 500;
}