/* Propuesta final: secciones nuevas sobre base.css (mobile-first; desde 900px, dos columnas). */
.lang { display: none; font-size: 13px; font-weight: 700; color: var(--muted); padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; }
.top { gap: 10px; }
.hide-m { display: none; }
.rot { display: inline-block; }
#rot { display: inline-block; transition: opacity .35s, transform .35s; }
#rot.swap { opacity: 0; transform: translateY(.25em); }
.install { margin-top: 18px; font-size: 13.5px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.install a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line); }

/* Notas de la propuesta (en flujo, entre secciones: nunca tapan nada) */
.pnote { display: none; margin: 0 16px; padding: 12px 14px; border-radius: 16px; font-size: 13px; line-height: 1.45; color: var(--muted); background: color-mix(in srgb, var(--k, #a855f7) 10%, var(--surface)); border: 1px dashed color-mix(in srgb, var(--k, #a855f7) 55%, transparent); }
.pnote b { display: block; color: var(--k, #a855f7); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.pnote[data-k="new"] { --k: #ec4899; }
.pnote[data-k="re"] { --k: #fb923c; }
.pnote[data-k="keep"] { --k: #22c55e; }
body.notes .pnote { display: block; }
body.notes .hero { padding-top: 40px; min-height: auto; }
body.notes main > .pnote:first-child { margin-top: calc(var(--top) + 46px); }
.notes-btn { position: fixed; z-index: 70; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(168, 85, 247, .45); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); color: var(--ink); font-weight: 800; font-size: 13px; cursor: pointer; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .7); }
.notes-btn[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; }

/* Bloques estáticos */
.block { padding: 72px 20px; }
.b-head { margin-bottom: 24px; }
.b-copy p { margin-top: 12px; font-size: 15.5px; }
.b-copy .btn { margin-top: 22px; }
.two { display: grid; gap: 28px; }
.ticks { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.ticks li b { color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #fff; background: var(--grad); }

/* Entrada al hacer scroll: CSS nativo (animation-timeline), como la landing actual */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Tu gente */
.people { display: flex; flex-direction: column; gap: 10px; }
.person { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.person div { flex: 1; min-width: 0; }
.person b { display: block; font-size: 15px; }
.person small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { flex: none; font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); }
.pill.on { border-color: color-mix(in srgb, var(--from) 60%, transparent); color: var(--from); }
.grad-pill { background: var(--grad); color: #fff; border-color: transparent; }

/* Lo práctico: carrusel en el móvil, rejilla en escritorio */
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 12px; scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.cards article { scroll-snap-align: start; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.cards h3 { font-size: 19px; margin-bottom: 6px; }
.cards p { font-size: 14.5px; }

/* Organizadores */
.org { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--night) 8%, transparent)); }
.org-grid { display: grid; gap: 28px; }
.price { position: relative; padding: 30px 20px 20px; border-radius: 28px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--from) 35%, var(--line)); box-shadow: 0 40px 80px -50px rgba(236, 72, 153, .7); display: flex; flex-direction: column; gap: 10px; }
.p-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.p-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-row div { padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.p-row small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.p-row b { font-size: 20px; }
.p-big { text-align: center; color: var(--ink); font-size: 17px; font-weight: 700; margin-top: 6px; }
.p-big .grad { font-size: 44px; font-weight: 900; letter-spacing: -.04em; display: block; line-height: 1.05; }
.p-sub { text-align: center; font-size: 13.5px; }
.p-ex { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.p-ex b { color: var(--ink); white-space: nowrap; }

/* Directorio */
.dir-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dcard { padding: 14px 10px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-align: center; min-width: 0; }
.dcard img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px color-mix(in srgb, var(--from) 70%, transparent); }
.dcard b { display: block; font-size: 14px; }
.dcard small { display: block; font-size: 11.5px; color: var(--muted); margin: 2px 0 8px; }
.dcard span { display: inline-block; font-size: 11px; font-weight: 800; color: var(--to); }

/* FAQ */
.qa { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.qa details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 700; font-size: 15.5px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--from); transition: transform .25s; }
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa details p { padding: 0 18px 16px; font-size: 14.5px; }

/* Final */
.final2 { position: relative; overflow: hidden; padding: 90px 0; display: grid; place-items: center; }
.marquee { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .55; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.m-row { display: flex; gap: 10px; width: max-content; animation: slide 38s linear infinite; }
.m-row.rev { animation-direction: reverse; }
.m-row span { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 800; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.m-row span.hot { background: var(--grad); color: #fff; border-color: transparent; }
@keyframes slide { to { transform: translateX(-50%); } }
.final-card2 { position: relative; z-index: 2; width: min(420px, calc(100vw - 40px)); padding: 30px 22px; border-radius: 30px; text-align: center; background: color-mix(in srgb, var(--surface) 95%, transparent); border: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: 0 50px 100px -40px rgba(236, 72, 153, .55); }
.final-card2 h2 { font-size: clamp(30px, 8vw, 44px); }
.final-card2 p { font-size: 15px; margin: 10px 0 20px; }
.f-cta { display: flex; flex-direction: column; gap: 10px; }
.f-langs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

@media (min-width: 900px) {
  .lang, .hide-m { display: inline-flex; }
  .brand { margin-right: 0; }
  .nav { margin-right: auto; margin-left: 28px; }
  .pnote { margin: 0 8vw; }
  .block { padding: 120px 8vw; }
  .two { grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
  .org-grid { grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; }
  .cards { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 16px; }
  .dir-cards { gap: 16px; }
  .dcard { padding: 22px 14px; }
  .dcard img { width: 72px; height: 72px; }
  .final2 { padding: 150px 0; }
  .f-cta { flex-direction: row; justify-content: center; }
  .final-card2 { padding: 40px 34px; }
}
@media (prefers-reduced-motion: reduce) { .m-row { animation: none; } .reveal { animation: none !important; } }
.plan-btn { position: fixed; z-index: 70; right: 150px; bottom: calc(14px + env(safe-area-inset-bottom)); height: 42px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); color: var(--ink); font-weight: 800; font-size: 13px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .7); }
/* Las columnas de rejilla nunca crecen por su contenido (evita que una línea sin cortar ensanche la página en el móvil) */
.two, .org-grid { grid-template-columns: minmax(0, 1fr); }
.two > *, .org-grid > * { min-width: 0; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .org-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
