/* BIOGROUP_art · estilos del sitio
   Paleta y tipografía según el Manual de Marca v1.1 */
:root {
  --black: #000000;
  --lime: #C0FC72;
  --mint: #5AD8C0;
  --white: #FFFFFF;
  --fog: #9AA39E;
  --text: #D5DAD7;
  --surface: #0B0E0D;
  --surface-2: #050706;
  --line: #1E2422;
  --line-2: #2A302D;
  --radius: 24px;
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Poppins, system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--mint); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.band { background: var(--surface-2); border-top: 1px solid #12171A; border-bottom: 1px solid #12171A; position: relative; overflow: hidden; }
.section { padding: 120px 0; position: relative; }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: 0.28em; color: var(--mint); font-weight: 600; text-transform: uppercase; }
.h2 { margin: 14px 0 0; font-size: clamp(34px, 5vw, 68px); line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 1.7; color: var(--text); font-weight: 300; }
.muted { color: var(--fog); }
.lime { color: var(--lime); }
.mint { color: var(--mint); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 16px 28px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: transform .3s, box-shadow .3s, background .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: #000; font-weight: 700; }
.btn-primary:hover { color: #000; box-shadow: 0 0 0 6px rgba(192,252,114,.15), 0 12px 40px rgba(192,252,114,.25); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); background: rgba(0,0,0,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--white); border-color: var(--white); }
.btn-line { border-color: var(--line-2); color: var(--white); background: transparent; }
.btn-line:hover { color: var(--white); border-color: var(--mint); }
.btn-sm { padding: 12px 20px; font-size: 14px; }

/* Flores que florecen al pasar el mouse */
.bloom { position: absolute; pointer-events: none; transform: scale(0) rotate(-90deg); opacity: 0; transition: transform .7s cubic-bezier(.3,1.6,.4,1), opacity .4s; }
.btn:hover .bloom, .btn:focus-visible .bloom { transform: scale(1) rotate(0); opacity: 1; }
.btn:hover .bloom.b2 { transition-delay: .12s; }
.btn:hover .bloom.b3 { transition-delay: .24s; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.6); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; max-width: var(--max); margin: 0 auto; }
.nav-logo img { display: block; height: 44px; width: auto; }
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--white); }
.nav-links a:hover { color: var(--lime); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 4px; }
.lang button { background: transparent; color: var(--fog); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 600; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--lime); color: #000; border-color: var(--lime); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 12px; color: var(--white); width: 44px; height: 44px; cursor: pointer; }
@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(0,0,0,.96); border-bottom: 1px solid var(--line); }
  .nav-links a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav.open .nav-links { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
/* Los videos de Canva son verticales 4:5: se muestran enteros, sin recortar sus textos */
.hero video { position: absolute; z-index: 2; top: 50%; right: max(24px, 5vw); transform: translateY(-50%); height: min(72%, 640px); aspect-ratio: 4 / 5; width: auto; object-fit: cover; border-radius: 28px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 120px rgba(90,216,192,.18); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 78% 50%, rgba(90,216,192,.12), transparent 45%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, #000 0%, transparent 30%); }
.hero-grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(90,216,192,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(90,216,192,.06) 1px, transparent 1px); background-size: 64px 64px; }
.hero-scan { position: absolute; left: 0; right: 0; height: 120px; z-index: 1; background: linear-gradient(180deg, transparent, rgba(192,252,114,.07), transparent); animation: scan 7s linear infinite; }
.hero-content { position: relative; z-index: 3; width: 100%; max-width: var(--max); margin: 0 auto; padding: 120px 24px 170px; }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.4); backdrop-filter: blur(8px); border-radius: 999px; padding: 8px 16px; font-size: 13px; color: var(--mint); font-weight: 500; }
.hero h1 { margin: 36px 0 0; font-size: clamp(40px, 5.6vw, 84px); line-height: .98; font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; max-width: 640px; }
.hero .tagline { margin: 28px 0 0; font-size: 14px; letter-spacing: .34em; color: var(--mint); font-weight: 600; }
.hero .lead { margin: 28px 0 0; max-width: 540px; font-size: 19px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
@media (max-width: 760px) {
  .hero video { display: none; }
  .hero::before { background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.6)); }
}

/* Cinta que se desplaza */
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; white-space: nowrap; animation: marquee 40s linear infinite; }
.hero-ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.55); backdrop-filter: blur(6px); padding: 18px 0; font-size: 15px; font-weight: 600; letter-spacing: .22em; color: var(--fog); }
.hero-ticker .s1 { color: var(--lime); } .hero-ticker .s2 { color: var(--mint); }

/* ---------- Bloques ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars > div { padding: 36px 24px 36px 0; }
.pillars h3 { margin: 0; font-size: 40px; font-weight: 800; line-height: 1; }
.pillars p { margin: 12px 0 0; font-size: 14px; color: var(--text); line-height: 1.5; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature { grid-column: 1 / -1; position: relative; margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 21 / 9; min-height: 340px; }
.feature img { width: 100%; height: 100%; object-fit: cover; display: block; animation: ken 16s ease-in-out infinite alternate; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent 55%); }
.feature figcaption { position: absolute; z-index: 2; left: 40px; right: 40px; bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.feature .t { font-size: clamp(30px, 4vw, 56px); font-weight: 800; text-transform: uppercase; line-height: 1; }
.tile { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile figcaption { position: absolute; left: 24px; bottom: 20px; font-size: 22px; font-weight: 700; text-shadow: 0 2px 20px #000; }
.strip { margin-top: 20px; overflow: hidden; }
.strip .marquee-track { gap: 16px; }
.strip img { height: 220px; width: auto; border-radius: 20px; display: block; }

.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s; }
.card:hover { transform: translateY(-8px); border-color: var(--lime); }
.card img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover img { transform: scale(1.08); }

.reel { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.reel figure { margin: 0; position: relative; aspect-ratio: 4 / 5; background: #000; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(0deg, rgba(0,0,0,.9), transparent); font-weight: 700; font-size: 18px; }

.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.head-row p { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.6; color: var(--fog); }

.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.project { display: flex; flex-direction: column; }
.project .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; top: 16px; left: 16px; font-size: 12px; font-weight: 700; color: #000; background: var(--lime); border-radius: 999px; padding: 5px 12px; }
.project .body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project h3 { margin: 0; font-size: 22px; font-weight: 700; }
.project .type { margin: 0; font-size: 14px; color: var(--fog); }
.vote { margin-top: 14px; }
.vote-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--fog); margin-bottom: 6px; }
.vote-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.vote-bar span { display: block; height: 6px; width: 8%; border-radius: 999px; background: linear-gradient(90deg, var(--mint), var(--lime)); }
.project .links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.project .links .share { margin-left: auto; color: var(--fog); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-size: 14px; padding: 0; }
.project .links .share:hover { color: var(--lime); }

.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.benefit { padding: 32px; background: rgba(11,14,13,.85); backdrop-filter: blur(6px); }
.benefit .k { font-size: 13px; letter-spacing: .18em; color: var(--lime); font-weight: 700; }
.benefit ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text); line-height: 1.45; }

.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.split > * { flex: 1 1 440px; min-width: 0; }
.note { margin-top: 32px; border: 1px solid var(--lime); border-radius: 20px; padding: 26px; background: linear-gradient(135deg, rgba(192,252,114,.08), rgba(90,216,192,.04)); }
.note .k { font-size: 13px; letter-spacing: .18em; color: var(--lime); font-weight: 700; }
.note p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font-size: 13px; color: var(--text); }

.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--lime), var(--mint), transparent); }
.step { position: relative; display: flex; gap: 22px; padding: 14px 0; }
.step .n { position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 999px; background: #000; border: 2px solid var(--lime); color: var(--lime); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.step .t { font-weight: 700; font-size: 18px; padding-top: 4px; }
.step .d { color: var(--fog); font-size: 15px; margin-top: 4px; line-height: 1.5; }

.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.event-main { grid-column: 1 / -1; display: flex; flex-wrap: wrap; background: radial-gradient(circle at 70% 20%, rgba(80,255,120,.22), transparent 55%), #030504; }
.event-main .txt { flex: 1 1 360px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.event-main h3 { margin: 0; font-size: 56px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.event-main .stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.event-main .stats b { display: block; font-size: 30px; font-weight: 800; }
.event-main .stats span { font-size: 11px; letter-spacing: .16em; color: var(--fog); }
.event-main .art { flex: 1 1 280px; min-height: 320px; display: flex; align-items: center; justify-content: center; padding: 32px; }
.led { width: 160px; height: 270px; border-radius: 6px; background: repeating-linear-gradient(180deg, rgba(120,255,140,.9) 0 3px, rgba(0,0,0,.4) 3px 6px), radial-gradient(circle at 50% 40%, #B566FF, #0a3 70%); background-blend-mode: overlay; box-shadow: 0 0 80px rgba(80,255,120,.55); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 34px; line-height: .9; text-align: center; color: #EFFFE8; }
.event { display: flex; flex-direction: column; }
.event .media { aspect-ratio: 4 / 5; overflow: hidden; }
.event .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event .txt { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.event h3 { margin: 0; font-size: 28px; font-weight: 800; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.tag-lime { background: var(--lime); color: #000; }
.tag-line { border: 1px solid var(--lime); color: var(--lime); }
.tag-mint { background: var(--mint); color: #000; }

.dossier { position: relative; overflow: hidden; border-radius: 32px; display: flex; flex-wrap: wrap; align-items: center; background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.dossier .txt { position: relative; flex: 1 1 520px; min-width: 0; padding: 56px; }
.dossier .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dossier .cover-wrap { position: relative; flex: 1 1 320px; min-width: 0; padding: 40px 56px; display: flex; justify-content: center; }
.cover { width: 240px; aspect-ratio: 3 / 4; border-radius: 10px; background: #FFF; color: #000; padding: 22px; box-shadow: 0 30px 80px rgba(192,252,114,.25); display: flex; flex-direction: column; gap: 10px; transform: rotate(-4deg); }

.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.way { display: flex; flex-direction: column; gap: 14px; border-radius: 24px; padding: 30px; min-height: 250px; color: var(--white); }
.way:hover { color: var(--white); }
.way .t { font-size: 22px; font-weight: 800; line-height: 1.15; }
.way .d { font-size: 14px; color: var(--fog); line-height: 1.5; }
.way .go { margin-top: auto; color: var(--lime); font-weight: 700; font-size: 14px; }
.way.hot { background: var(--lime); border-color: var(--lime); color: #000; }
.way.hot .d { color: #1A2410; } .way.hot .go { color: #000; }

.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.logo-slot { aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: 18px; display: flex; align-items: center; justify-content: center; color: #3A423E; font-size: 13px; letter-spacing: .14em; }
.logo-slot.first { border: 1px dashed var(--lime); color: var(--lime); flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; letter-spacing: 0; text-align: center; padding: 12px; background: rgba(192,252,114,.04); }
.boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 40px; }
.box { border: 1px solid var(--line); border-radius: 24px; padding: 32px; background: var(--surface); }
.box .k { font-size: 13px; letter-spacing: .18em; color: var(--mint); font-weight: 700; }
.box h3 { margin: 10px 0 12px; font-size: 24px; font-weight: 700; }
.box p { margin: 0 0 18px; color: var(--fog); font-size: 15px; line-height: 1.6; }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 64px; }
.member { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.avatar { width: 64px; height: 64px; border-radius: 999px; background: conic-gradient(var(--lime), var(--mint), #5C77FF, #B566FF, var(--lime)); padding: 2px; flex-shrink: 0; }
.avatar span { width: 100%; height: 100%; border-radius: 999px; background: #111; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--lime); font-size: 20px; }
.member b { display: block; font-size: 18px; }
.member small { color: var(--lime); font-size: 12px; letter-spacing: .12em; font-weight: 700; }

.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--fog); }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.doc { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--white); background: var(--surface); }
.doc:hover { color: var(--white); border-color: var(--mint); }
.doc span { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.doc em { color: var(--lime); font-size: 12px; font-weight: 700; font-style: normal; }

.footer { position: relative; overflow: hidden; border-top: 1px solid #12171A; }
.footer .big { margin: 0; font-size: clamp(44px, 7vw, 104px); line-height: .95; font-weight: 800; letter-spacing: -.03em; }
.footer .cols { display: flex; flex-wrap: wrap; gap: 56px; margin-top: 96px; }
.footer .cols .k { font-size: 12px; letter-spacing: .18em; color: var(--mint); font-weight: 700; margin-bottom: 12px; }
.footer .cols a { color: var(--white); font-size: 17px; display: block; margin-bottom: 6px; }
.footer .legal { margin-top: 72px; padding-top: 24px; border-top: 1px solid #1A1F1D; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--fog); line-height: 1.6; }

/* Va más arriba para no taparse con la insignia "Powered by Netlify" del plan gratis */
.wa-float { position: fixed; right: 20px; bottom: 84px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: var(--lime); color: #000; font-weight: 700; font-size: 15px; padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.wa-float:hover { color: #000; }

.liquid { position: absolute; pointer-events: none; mix-blend-mode: screen; }

.toast { position: fixed; left: 50%; bottom: 90px; z-index: 70; transform: translateX(-50%) translateY(20px); opacity: 0; background: #111; border: 1px solid var(--lime); color: var(--white); padding: 12px 20px; border-radius: 999px; font-size: 14px; transition: all .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Formularios ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs button { background: transparent; color: var(--white); border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 22px; font-size: 15px; font-weight: 500; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--lime); color: #000; border-color: var(--lime); font-weight: 600; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.form-card[hidden] { display: none; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #C9CFCC; }
.field input, .field select, .field textarea { background: #000; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; color: var(--white); font-size: 15px; font-family: inherit; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.checks legend { font-size: 14px; color: #C9CFCC; margin-bottom: 10px; }
.checks label { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; font-size: 14px; cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--fog); line-height: 1.5; }
.hp { display: none; }

/* ---------- Niveles de sponsor ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 16px; padding: 36px; }
.tier.best { border: 2px solid var(--lime); background: #0B0F08; }
.tier .k { font-size: 13px; letter-spacing: .2em; color: var(--mint); font-weight: 600; }
.tier.best .k { color: var(--lime); }
.tier h2 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.15; }
.tier ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: #C9CFCC; }
.tier ul li::before { content: "✓  "; color: var(--lime); }
.tier .btn { margin-top: auto; justify-content: center; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.picker button { text-align: left; background: var(--surface); color: var(--white); border: 2px solid var(--line); border-radius: 16px; padding: 12px; cursor: pointer; transition: border-color .3s; }
.picker button[aria-pressed="true"] { border-color: var(--lime); }
.picker img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.picker span { font-size: 16px; font-weight: 600; }

/* ---------- Detalle de proyecto ---------- */
.p-hero { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; min-height: 300px; background: #000; border: 1px solid var(--line); }
.p-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-hero video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.p-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.p-cta { border: 2px solid var(--lime); border-radius: 24px; padding: 32px; background: #0B0F08; }
.p-meta { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.p-meta div { display: flex; justify-content: space-between; gap: 12px; }

/* ---------- Animaciones ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes word { from { opacity: 0; transform: translateY(.6em) rotate(2deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes track { from { letter-spacing: .8em; opacity: 0; } to { opacity: 1; } }
@keyframes shine { 0% { background-position: 120% 0; } 55%, 100% { background-position: -60% 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.08em); } }
@keyframes wave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.12em); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-28px) rotate(6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ken { 0% { transform: scale(1.02); } 100% { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes fly { 0% { transform: translate(0, 0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
@keyframes scan { 0% { top: -10%; } 100% { top: 110%; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes leaf { 0%, 40% { transform: scale(0) rotate(-40deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes flap { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.25); } }
@keyframes flight { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes hover { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(6px, -8px); } 50% { transform: translate(-4px, -3px); } 75% { transform: translate(3px, 6px); } }
@keyframes buzz { 0%, 100% { opacity: .25; } 50% { opacity: .7; } }

.rise { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.word { display: inline-block; animation: word 1s cubic-bezier(.2,.7,.2,1) both; }
.track { animation: track 2.2s cubic-bezier(.2,.7,.2,1) both; }
.shine { background: linear-gradient(100deg, var(--lime) 0%, var(--lime) 42%, #F4FFE6 50%, var(--lime) 58%, var(--lime) 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s ease-in-out infinite; }
.bob { display: inline-block; animation: bob 4s ease-in-out infinite; }
.wave { display: inline-block; animation: wave 3.2s ease-in-out infinite; }
.float { animation: float 12s ease-in-out infinite; }
.float-slow { animation: float 18s ease-in-out infinite reverse; }
.spin { animation: spin 26s linear infinite; }
.firefly { position: absolute; z-index: 2; border-radius: 999px; animation: fly 9s ease-in-out infinite; }

/* Aparición al hacer scroll (la clase .in la agrega main.js) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Enredaderas: se dibujan cuando la sección entra en pantalla */
.vine path.v { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.vine .lf { transform-box: fill-box; transform-origin: 0% 50%; transform: scale(0); opacity: 0; }
.vine.in path.v { animation: draw 3.2s cubic-bezier(.4,.1,.2,1) forwards; }
.vine.in .lf { animation: leaf 3.4s ease-out forwards; }

.flight { position: absolute; left: 0; top: 0; z-index: 2; offset-path: path('M -120 520 C 220 300, 420 640, 760 380 S 1180 160, 1560 300'); offset-rotate: auto 90deg; animation: flight 26s linear infinite; }
.wing { transform-box: fill-box; transform-origin: 100% 50%; animation: flap .32s ease-in-out infinite; }
.wing.r { transform-origin: 0% 50%; }
.hummer { animation: hover 5s ease-in-out infinite; }
.buzz { animation: buzz .12s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .vine path.v { stroke-dashoffset: 0; }
  .vine .lf { transform: none; opacity: 1; }
  .shine { background: none; color: var(--lime); }
  .flight { display: none; }
}

/* En pantallas medianas el video vertical se superpone al título: se muestra solo en escritorio ancho */
@media (max-width: 1100px) { .hero video { display: none; } }

/* Renders que se pueden tocar: llevan a la propuesta con formulario y documentos */
.tile-cap { position: absolute; left: 24px; bottom: 20px; font-size: 22px; font-weight: 700; text-shadow: 0 2px 20px #000; }
.strip a { display: block; flex-shrink: 0; }
.strip a img { transition: transform .5s, filter .5s; }
.strip a:hover img { transform: scale(1.04); filter: brightness(1.15); }
