/* ============================================
   FiestÓN 2.0 — Sections
   ============================================ */

/* ───── TOP BAR ───── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background .3s var(--f-ease), backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(5,2,13,.72);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(194,28,239,.18);
}
.topbar-logo { display:flex; align-items:center; }
.topbar-nav {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--f-ink-dim);
}
.topbar-nav a { color: inherit; text-decoration: none; transition: color .2s; }
.topbar-nav a:hover { color: var(--f-cyan); }
.tb-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(92deg, #E91E99, #C21CEF);
  background-size: 200% 100%;
  color: #fff;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  animation: btnFlow 6s linear infinite;
  box-shadow: 0 6px 24px rgba(233,30,153,.35);
  transition: transform .2s;
}
.tb-cta:hover { transform: translateY(-1px); }
@media (max-width: 760px) {
  .topbar { padding: 14px 18px; }
  .topbar-nav { display: none; }
}

/* ───── HERO ───── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 0 40px;
  overflow: hidden;
}
.hero-infinity {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(.45 * var(--intensity));
  mix-blend-mode: screen;
}
.hero-infinity picture,
.hero-infinity img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: min(85vw, 900px);
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: blur(1px) saturate(1.2);
  animation: heroInfBreathe 10s ease-in-out infinite;
}
.hero-infinity picture {
  display: block;
  animation: none;
  filter: none;
}
.hero-infinity picture img {
  position: static;
  transform: none;
  width: 100%;
  animation: none;
}
@keyframes heroInfBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
  50%      { transform: translate(-50%, -52%) scale(1.03) rotate(.5deg); opacity: .85; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-fieston-logo {
  position: relative;
  display: block;
  margin: 0 auto 28px;
  width: clamp(182px, 29.4vw, 392px);
  line-height: 0;
}
.hfl-img {
  display: block;
  width: 100%;
  height: auto;
}
.hfl-trama { display: none; }
.hfl-trama { display: none; }
.hero h1.hero-h {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 32px;
  font-size: clamp(38px, 6.4vw, 96px);
}
.hero-kicker {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--f-ink-soft);
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(6px);
}
.hero h1 {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 32px;
}
.hero h1 span { display: block; }
.hero-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  max-width: 720px;
  margin: 0 auto 44px;
  color: var(--f-ink-dim);
  text-wrap: pretty;
}
.hero-sub strong { color: var(--f-ink); font-weight: 600; }
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
}
/* CTAs del hero: ocultos en desktop (el form lateral hace de CTA), visibles en mobile */
.hero-ctas-mobile { display: none; }
@media (max-width: 900px) {
  .hero-ctas-mobile {
    display: flex; gap: 12px; flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
  }
  .hero-ctas-mobile .btn { font-size: 14px; padding: 13px 20px; }
}

/* FAB WhatsApp flotante — solo mobile, no tapa el form */
.wa-fab {
  display: none;
  position: fixed;
  bottom: 104px;
  right: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  align-items: center;
  justify-content: center;
  z-index: 45;
  box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 4px rgba(37,211,102,.15);
  text-decoration: none;
  transition: transform .2s;
}
.wa-fab:hover, .wa-fab:active { transform: scale(1.08); }
.wa-fab svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .wa-fab { display: inline-flex; }
  /* cuando el form está expandido no queremos que tape */
  body:not(.form-collapsed) .wa-fab { display: none; }
}
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--f-ink-soft);
}
.hs-line {
  width: 1px; height: 52px;
  background: linear-gradient(180deg, var(--f-cyan), transparent);
  animation: hsPulse 2.5s ease-in-out infinite;
}
@keyframes hsPulse {
  0%, 100% { opacity: .4; transform: scaleY(.7); }
  50%      { opacity: 1; transform: scaleY(1); }
}

/* ───── TIMELINE INTRO ───── */
.timeline-intro {
  padding: 8px 0 8px;
  text-align: center;
  position: relative;
}
.intro-wrap .eyebrow { display: block; margin-bottom: 10px; }
.intro-wrap h2 {
  margin-bottom: 10px;
  font-size: clamp(27px, 3.75vw, 54px);
}
.intro-wrap p {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--f-ink-soft);
}
.intro-start-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #E91E99 40%, #C21CEF 100%);
  margin: 40px auto 0;
  box-shadow:
    0 0 0 3px rgba(233,30,153,.22),
    0 0 24px rgba(233,30,153,.7),
    0 0 48px rgba(194,28,239,.5);
  position: relative; z-index: 3;
}

/* ───── TIMELINE WRAP + ORGANIC LINE ───── */
.timeline-wrap {
  position: relative;
}
.tl-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.tl-line path {
  transition: stroke-dashoffset .12s linear;
  will-change: stroke-dashoffset;
}
.tl-line-glow {
  opacity: calc(.9 * var(--intensity));
}
.tl-line-core {
  opacity: .9;
  mix-blend-mode: screen;
}
@media (max-width: 900px) {
  .tl-line-glow { opacity: calc(.35 * var(--intensity)); }
  .tl-line-core { opacity: .4; }
  .tl-line-bg   { opacity: .08; }
}
.timeline-wrap .act,
.timeline-wrap .container,
.timeline-wrap .tl-item {
  position: relative;
  z-index: 1;
}

/* ───── ACT ───── */
.act {
  padding: 40px 0 80px;
  position: relative;
}
.act-head { text-align: center; margin-bottom: 40px; position: relative; }
.act-chip-big {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 24px;
  background: rgba(8,3,18,.82);
  border: 1px solid rgba(233,30,153,.55);
  border-radius: 100px;
  font-family: var(--f-display);
  font-size: clamp(11px, 1.35vw, 16px);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--f-pink-soft);
  box-shadow:
    0 0 0 1px rgba(233,30,153,.15),
    0 5px 20px rgba(233,30,153,calc(.25 * var(--intensity))),
    inset 0 0 16px rgba(233,30,153,.08);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 2;
}
.act-chip-big .num {
  font-family: var(--f-display);
  font-size: clamp(12px, 1.55vw, 18px);
  font-weight: 800;
  color: var(--f-fucsia);
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(233,30,153,.6);
}

/* ───── TIMELINE ITEMS ───── */
.tl-items {
  display: flex; flex-direction: column;
  gap: 96px;
  max-width: 1160px;
  margin: 0 auto;
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  perspective: 1200px;
  position: relative;
}
.tl-dot {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #E91E99 40%, #C21CEF 100%);
  box-shadow:
    0 0 0 3px rgba(233,30,153,.22),
    0 0 20px rgba(233,30,153,calc(.8 * var(--intensity))),
    0 0 40px rgba(194,28,239,calc(.5 * var(--intensity)));
  z-index: 3;
  pointer-events: none;
}
.tl-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(233,30,153,.35);
  animation: dotPulse 2.4s ease-out infinite;
}
@keyframes dotPulse {
  0%   { transform: scale(.9);  opacity: .9; }
  100% { transform: scale(2.2); opacity: 0;  }
}
/* Orden del DOM ya define el lado: left = texto+media, right = media+texto */

.tl-text { padding: 0 8px; }
.tl-text h3 { margin: 4px 0 14px; text-wrap: balance; }
.tl-text p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--f-ink-dim);
  max-width: 480px;
}

.tl-media {
  position: relative;
}

/* Placeholder base */
.ph {
  position: relative;
  aspect-ratio: 3/2;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #07030F;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 24px 60px rgba(0,0,0,.5),
    0 0 0 1px rgba(194,28,239,.1),
    0 0 40px rgba(194,28,239,calc(.15 * var(--intensity)));
  transition: transform .6s var(--f-ease), box-shadow .6s;
}
.tl-item:hover .ph {
  transform: translateY(-4px);
  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 0 1px rgba(194,28,239,.25),
    0 0 60px rgba(194,28,239,calc(.35 * var(--intensity)));
}
.ph-label {
  position: absolute; bottom: 14px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}

/* Imagen transparente (PNG con alpha): sin card ni overlays, solo glow detrás */
.ph-transparent {
  position: relative;
  aspect-ratio: 3/2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-transparent::before {
  content: '';
  position: absolute;
  inset: 10%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(233,30,153,calc(.25 * var(--intensity))) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 60%, rgba(43,224,255,calc(.18 * var(--intensity))) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 40%, rgba(194,28,239,calc(.22 * var(--intensity))) 0%, transparent 55%);
  filter: blur(30px);
  z-index: 0;
  animation: auraBreathe 6s ease-in-out infinite;
}
.ph-transparent picture,
.ph-transparent img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(233,30,153,.35));
}

/* Photo frame — sin recorte: la foto se muestra entera */
.ph-photo picture,
.ph-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.03);
}
.ph-photo {
  background: #0a0317;
}
.ph-grade {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, var(--tintA) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, var(--tintB) 0%, transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.ph-vignette {
  position: absolute; inset: 0;
  box-shadow: inset 0 0 80px rgba(0,0,0,.55);
  background: linear-gradient(180deg, transparent 55%, rgba(5,2,13,.55) 100%);
  pointer-events: none;
}

/* Neon illustrated */
.ph-neon {
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--a) 35%, transparent) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, color-mix(in oklab, var(--b) 30%, transparent) 0%, transparent 55%),
    linear-gradient(135deg, #0a0317 0%, #140629 100%);
}
.ph-aura {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in oklab, var(--a) 12%, transparent) 0%, transparent 70%);
  filter: blur(20px);
  animation: auraBreathe 6s ease-in-out infinite;
}
@keyframes auraBreathe {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}
.ph-neon svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* ───── TANDA — hero item ───── */
.tanda-item {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 40px auto;
}
.tanda-card {
  position: relative;
  text-align: center;
  padding: 64px 48px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(233,30,153,calc(.25 * var(--intensity))) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(43,224,255,calc(.18 * var(--intensity))) 0%, transparent 60%),
    linear-gradient(180deg, rgba(20,6,41,.9) 0%, rgba(10,4,23,.9) 100%);
  border: 1px solid rgba(194,28,239,.3);
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}
.tanda-card .kicker { color: var(--f-cyan); border-color: rgba(43,224,255,.3); background: rgba(43,224,255,.06); }
.tanda-card h3 {
  font-size: clamp(40px, 6vw, 80px);
  margin: 18px 0 20px;
  letter-spacing: -.03em;
}
.tanda-card p {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 560px;
  margin: 0 auto;
  color: var(--f-ink-dim);
}
.tanda-orbs {
  position: absolute; inset: 0;
  pointer-events: none;
}
.tanda-orbs span {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--f-fucsia);
  box-shadow: 0 0 24px var(--f-fucsia);
  animation: orb 6s ease-in-out infinite;
}
.tanda-orbs span:nth-child(1) { top: 20%; left: 8%;  animation-delay: 0s;   background: var(--f-cyan);   box-shadow: 0 0 24px var(--f-cyan); }
.tanda-orbs span:nth-child(2) { top: 70%; left: 14%; animation-delay: .8s;  background: var(--f-fucsia); box-shadow: 0 0 24px var(--f-fucsia); }
.tanda-orbs span:nth-child(3) { top: 30%; right: 10%;animation-delay: 1.6s; background: var(--f-violet); box-shadow: 0 0 24px var(--f-violet); }
.tanda-orbs span:nth-child(4) { top: 80%; right: 8%; animation-delay: 2.4s; background: var(--f-cyan);   box-shadow: 0 0 24px var(--f-cyan); }
.tanda-orbs span:nth-child(5) { top: 10%; left: 40%; animation-delay: 3.2s; background: var(--f-fucsia); box-shadow: 0 0 24px var(--f-fucsia); }
.tanda-orbs span:nth-child(6) { top: 85%; left: 52%; animation-delay: 4.0s; background: var(--f-violet); box-shadow: 0 0 24px var(--f-violet); }
@keyframes orb {
  0%, 100% { transform: translateY(0)     scale(1);   opacity: .6; }
  50%      { transform: translateY(-14px) scale(1.3); opacity: 1;  }
}

/* ───── FAQ ───── */
.faq {
  padding: 60px 0 100px;
  position: relative;
}
.faq-head {
  text-align: left;
  margin: 0 auto 44px;
  max-width: 1080px;
}
.faq-head h2 {
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.faq-list {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid rgba(255,255,255,.12);
  background: transparent;
  transition: border-color .3s;
}
.faq-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 8px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-sans);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  color: var(--f-ink);
  letter-spacing: -.01em;
  line-height: 1.3;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--f-pink-soft); }

/* Botón + circular fucsia sólido (referencia) */
.faq-plus {
  flex-shrink: 0;
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--f-fucsia);
  box-shadow: 0 4px 16px rgba(233,30,153,.32);
  transition: transform .35s var(--f-ease), box-shadow .35s var(--f-ease);
}
.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: #fff;
  border-radius: 1.5px;
  transition: transform .35s var(--f-ease), opacity .35s var(--f-ease);
}
.faq-plus::before {
  width: 16px; height: 2.5px;
  transform: translate(-50%, -50%);
}
.faq-plus::after {
  width: 2.5px; height: 16px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-plus {
  box-shadow: 0 4px 22px rgba(233,30,153,.55);
  transform: rotate(135deg);
}
.faq-item[open] .faq-plus::after { opacity: 0; }

/* Cuerpo de la respuesta */
.faq-body {
  padding: 0 64px 32px 8px;
  animation: faqSlide .35s var(--f-ease);
}
.faq-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--f-ink-dim);
  max-width: 820px;
}
@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .faq { padding: 40px 0 60px; }
  .faq-head { margin-bottom: 24px; }
  .faq-head h2 { font-size: clamp(34px, 8.5vw, 56px); }
  .faq-item summary {
    padding: 22px 4px;
    font-size: 17px;
    gap: 16px;
    line-height: 1.25;
  }
  .faq-plus { width: 34px; height: 34px; }
  .faq-plus::before { width: 13px; height: 2px; }
  .faq-plus::after { width: 2px; height: 13px; }
  .faq-body { padding: 0 44px 24px 4px; }
  .faq-body p { font-size: 15px; line-height: 1.65; }
}


.bignum {
  padding: 80px 0 40px;
  position: relative;
}
.bn-head { text-align: center; margin-bottom: 80px; }
.bn-head .eyebrow { display: block; margin-bottom: 16px; }
.bn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.bn-cell {
  text-align: center;
  padding: 20px 10px;
  border-left: 1px solid rgba(194,28,239,.18);
  transition: border-color .3s, transform .3s;
}
.bn-cell:first-child { border-left: none; }
.bn-num {
  font-family: var(--f-display);
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 800;
  line-height: 1;
  background: var(--f-grad-flow);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradFlow 10s linear infinite;
  letter-spacing: -.04em;
  margin-bottom: 10px;
  text-shadow: 0 0 80px rgba(194,28,239,calc(.3 * var(--intensity)));
}
.bn-cell .star { font-size: .8em; }
.bn-label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--f-ink-soft);
}
@media (max-width: 900px) {
  .bn-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .bn-cell { border-left: none; border-top: 1px solid rgba(194,28,239,.15); padding-top: 32px; }
  .bn-cell:nth-child(-n+2) { border-top: none; padding-top: 0; }
}

/* Press strip */
.press-strip {
  display: flex; align-items: center; gap: 32px;
  padding: 28px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  flex-wrap: wrap;
  justify-content: center;
}
.ps-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--f-ink-soft);
}
.ps-logos { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.ps-logos span {
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--f-ink-dim);
  letter-spacing: -.01em;
}

/* ───── FINAL CTA ───── */
.final-cta {
  padding: 40px 0 100px;
  text-align: center;
  position: relative;
}
.final-cta h2 { max-width: 820px; margin: 0 auto 20px; }
.final-cta p { font-size: 18px; max-width: 560px; margin: 0 auto 40px; }

/* ───── FOOTER ───── */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(194,28,239,.15);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.footer-about p { font-size: 14px; color: var(--f-ink-soft); max-width: 380px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: var(--f-ink-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--f-cyan); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--f-ink-soft);
}
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================
   FORM — panel fijo siempre visible (derecha)
   ============================================ */
@media (min-width: 901px) {
  body { padding-right: 350px; }
  body main,
  body header { padding-right: 0; }
}
.form-window {
  position: fixed;
  top: 92px;
  right: 20px;
  z-index: 40; /* debajo del topbar (50) */
  width: 310px;
  max-height: calc(100vh - 112px);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(13,6,30,.88);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(194,28,239,.3);
  box-shadow:
    0 20px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(194,28,239,.15),
    0 0 40px rgba(194,28,239,.18);
  display: flex; flex-direction: column;
  transition: max-height .35s var(--f-ease), transform .35s var(--f-ease);
}
body.form-collapsed .form-window {
  max-height: 44px;
}
body.form-collapsed .fm-body {
  opacity: 0;
  pointer-events: none;
}
body.form-collapsed .fm-collapse svg { transform: rotate(180deg); }
.fm-collapse svg { transition: transform .3s var(--f-ease); }
.fm-collapse {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
}
.fm-chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(7,3,15,.85);
  border-bottom: 1px solid rgba(194,28,239,.18);
  position: relative;
}
.fm-dots { display: flex; gap: 6px; }
.fm-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.fm-dot:nth-child(1) { background: #E91E99; box-shadow: 0 0 10px #E91E99; }
.fm-dot:nth-child(2) { background: #C21CEF; box-shadow: 0 0 10px #C21CEF; }
.fm-dot:nth-child(3) { background: #2BE0FF; box-shadow: 0 0 10px #2BE0FF; }
.fm-title {
  flex: 1; text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--f-ink-soft);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.fm-ico {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2BE0FF;
  box-shadow: 0 0 8px #2BE0FF;
  animation: fmBlink 1.8s ease-in-out infinite;
}
@keyframes fmBlink { 0%,100%{opacity:1} 50%{opacity:.3} }
.fm-collapse {
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--f-ink-dim);
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.fm-collapse:hover { border-color: var(--f-fucsia); color: var(--f-fucsia); }

.fm-body {
  padding: 16px 14px 16px 18px;
  overflow-y: auto;
  transition: opacity .25s var(--f-ease);
  /* Scrollbar custom estilo brand */
  scrollbar-width: thin;
  scrollbar-color: rgba(194,28,239,.35) transparent;
}
.fm-body::-webkit-scrollbar {
  width: 6px;
}
.fm-body::-webkit-scrollbar-track {
  background: transparent;
}
.fm-body::-webkit-scrollbar-thumb {
  background: rgba(194,28,239,.35);
  border-radius: 10px;
}
.fm-body::-webkit-scrollbar-thumb:hover {
  background: rgba(194,28,239,.55);
}
.fm-head { margin-bottom: 12px; padding-right: 28px; }
.fm-head .eyebrow { display: block; margin-bottom: 4px; font-size: 9px; }
.fm-head h3 { font-size: 17px; margin-bottom: 2px; line-height: 1.15; }
.fm-head p { font-size: 12px; color: var(--f-ink-soft); }

.fm-form { display: flex; flex-direction: column; gap: 8px; }
.fm-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.fm-row > label {
  flex: 1 1 0;
  min-width: 0; /* permite shrink correcto si el contenido es largo */
}
.fm-form label {
  display: flex; flex-direction: column; gap: 3px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--f-ink-soft);
}
.fm-form label > span { padding-left: 2px; }
.fm-form input,
.fm-form select,
.fm-form textarea {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--f-ink);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 8px 11px;
  outline: none;
  transition: border-color .2s, background .2s;
  letter-spacing: 0;
  text-transform: none;
  width: 100%;
}
.fm-form input:focus,
.fm-form select:focus,
.fm-form textarea:focus {
  border-color: var(--f-fucsia);
  background: rgba(233,30,153,.06);
}
.fm-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.5'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }
.fm-form textarea { resize: vertical; min-height: 56px; }

/* Telefono con selector de país */
.fm-tel {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.fm-tel:focus-within {
  border-color: var(--f-fucsia);
  background: rgba(233,30,153,.06);
}
.fm-tel-country {
  border: none !important;
  border-right: 1px solid rgba(255,255,255,.1) !important;
  background: rgba(0,0,0,.25) !important;
  color: var(--f-ink) !important;
  font-family: var(--f-mono) !important;
  font-size: 12px !important;
  padding: 0 24px 0 10px !important;
  border-radius: 0 !important;
  max-width: 82px;
  min-width: 78px;
  /* truncar el texto largo de la opción abierta: solo muestro bandera + código */
  text-overflow: ellipsis;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.5'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  cursor: pointer;
}
.fm-tel-country:focus {
  outline: none;
}
.fm-tel input[name="telefono"] {
  flex: 1;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 11px !important;
}
.fm-tel input[name="telefono"]:focus {
  background: transparent !important;
}
.fm-help {
  display: block;
  margin-top: 4px;
  font-family: var(--f-sans);
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--f-ink-dim);
}
.fm-help strong { color: var(--f-cyan); font-weight: 600; }
.fm-form optgroup {
  background: #0d061e;
  color: var(--f-ink-soft);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-style: normal;
}
.fm-form option {
  background: #0d061e;
  color: var(--f-ink);
  font-family: var(--f-sans);
  font-size: 13px;
}

.fm-submit {
  margin-top: 4px;
  background: linear-gradient(92deg, #E91E99, #C21CEF, #2BE0FF);
  background-size: 200% 100%;
  color: #fff;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  animation: btnFlow 6s linear infinite;
  box-shadow: 0 10px 30px rgba(233,30,153,.35);
  transition: transform .2s;
}
.fm-submit:hover { transform: translateY(-1px); }
.fm-alt {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-align: center;
  color: var(--f-ink-soft);
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.fm-alt a {
  color: var(--f-ink-dim);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.fm-alt a:hover { color: var(--f-cyan); background: rgba(43,224,255,.08); }
.fm-alt .dot-sep { opacity: .4; }

/* ── MOBILE: panel abajo, plegado por defecto con handle visible ── */
@media (max-width: 900px) {
  .form-window {
    top: auto; bottom: 0; right: 0; left: 0;
    transform: none;
    width: 100%;
    max-height: 80vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
  /* Handle tappable cuando está colapsado */
  .form-window::before {
    content: '';
    display: block;
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 44px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,.25);
    pointer-events: none;
    z-index: 3;
  }
  /* Cuando está colapsado: mostrar un label + CTA claro */
  body.form-collapsed .form-window {
    max-height: 68px;
    cursor: pointer;
  }
  body.form-collapsed .form-window::after {
    content: 'Cotizá tu FiestÓN';
    position: absolute;
    top: 22px; left: 20px;
    font-family: var(--f-display);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
    z-index: 3;
  }
  /* Chevron que apunta hacia arriba cuando está colapsado */
  body.form-collapsed .fm-collapse {
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    background: linear-gradient(92deg, #E91E99, #C21CEF);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(233,30,153,.4);
  }
  body.form-collapsed .fm-collapse svg {
    transform: rotate(180deg);
  }
  /* Toda la ventana colapsada es tappable */
  body.form-collapsed .form-window {
    pointer-events: auto;
  }
}

/* Honeypot: invisible para humanos, los bots caen acá */
.fm-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================
   TWEAKS PANEL
   ============================================ */
.tweaks-panel {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 70;
  background: rgba(13,6,30,.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(194,28,239,.3);
  border-radius: 16px;
  padding: 18px 20px;
  min-width: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.tweaks-panel h4 {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--f-ink);
  margin-bottom: 12px;
}
.tweak-row {
  display: flex; flex-direction: column; gap: 8px;
}
.tweak-row > label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--f-ink-soft);
}
.tweak-seg {
  display: flex;
  background: rgba(0,0,0,.4);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.tweak-seg button {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--f-ink-dim);
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: all .2s;
}
.tweak-seg button.active {
  background: linear-gradient(92deg, rgba(233,30,153,.7), rgba(194,28,239,.7));
  color: #fff;
  box-shadow: 0 4px 12px rgba(233,30,153,.3);
}

/* ============================================
   PÁGINA DE GRACIAS
   ============================================ */
body.thankyou-page { padding-right: 0 !important; }
body.thankyou-page .topbar { justify-content: flex-start; }

.thankyou-main {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 60px;
  position: relative;
  z-index: 1;
}
.thankyou-content {
  text-align: center;
  max-width: 720px;
}
.thankyou-check {
  width: 110px;
  height: 110px;
  margin: 0 auto 36px;
  animation: checkIn .7s cubic-bezier(.22,1,.36,1) both,
             checkBreathe 4s ease-in-out 1s infinite;
  filter: drop-shadow(0 0 40px rgba(233,30,153,.45));
}
.thankyou-check svg { width: 100%; height: 100%; }
.thankyou-check svg path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: checkDraw .6s cubic-bezier(.22,1,.36,1) .3s forwards;
}
@keyframes checkIn {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes checkBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

.thankyou-h {
  font-size: clamp(42px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: textIn .7s cubic-bezier(.22,1,.36,1) .2s both;
}
.thankyou-h span { display: block; }

.thankyou-sub {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
  color: var(--f-ink-dim);
  max-width: 540px;
  margin: 0 auto 40px;
  animation: textIn .7s cubic-bezier(.22,1,.36,1) .35s both;
}
.thankyou-sub strong { color: var(--f-ink); font-weight: 600; }

.thankyou-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: textIn .7s cubic-bezier(.22,1,.36,1) .5s both;
}

.thankyou-social {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--f-ink-soft);
  animation: textIn .7s cubic-bezier(.22,1,.36,1) .65s both;
}
.thankyou-social span { margin-right: 10px; }
.thankyou-social a {
  color: var(--f-cyan);
  text-decoration: none;
  transition: color .2s;
}
.thankyou-social a:hover { color: var(--f-fucsia); }

@keyframes textIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Mensaje de redirect con barra */
.thankyou-redirect {
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--f-ink-soft);
  animation: textIn .7s cubic-bezier(.22,1,.36,1) .8s both;
}
.thankyou-redirect strong {
  color: var(--f-cyan);
  font-weight: 600;
}
.thankyou-progress {
  margin: 12px auto 0;
  max-width: 220px;
  height: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
}
.thankyou-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(92deg, #E91E99, #C21CEF, #2BE0FF);
  transform-origin: left;
  animation: progressShrink 10s linear forwards;
  animation-delay: .8s;
}
@keyframes progressShrink {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

@media (max-width: 640px) {
  .thankyou-main { padding: 100px 0 40px; }
  .thankyou-check { width: 88px; height: 88px; margin-bottom: 28px; }
  .thankyou-ctas { margin-bottom: 36px; }
}

@media (max-width: 900px) {
  .tl-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tl-item.tl-right .tl-media { order: -1; }
  .tl-item.tl-left  .tl-media { order: -1; }
  .tl-items { gap: 72px; }
  .act { padding: 60px 0 80px; }
  .act-head { margin-bottom: 56px; }
  .tanda-card { padding: 48px 28px; }
}
