﻿/* ============================================================
   NODE RP — CINEMATIC SPA  |  Brand: #004aad → #5de0e6
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #00071a;
  --bg2:         #000c24;
  --card:        #00102e;
  --border:      rgba(93,224,230,.14);
  --border-h:    rgba(93,224,230,.35);
  --blue:        #004aad;
  --blue-l:      #1a6fd4;
  --cyan:        #5de0e6;
  --cyan-d:      #3ac5cb;
  --white:       #f0fafc;
  --gray:        #7a9fb5;
  --gray-l:      #b0ccd8;
  --r:           12px;
  --r-lg:        20px;
  --shadow:      0 8px 48px rgba(0,0,0,.6);
  --t:           .35s cubic-bezier(.4,0,.2,1);
  --font:        'Inter', sans-serif;
  --font-title:  'Space Grotesk', sans-serif;
  --font-display:'Bebas Neue', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  cursor: none;
}

/* scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* selection */
::selection { background: rgba(93,224,230,.25); color: var(--white); }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor, .cursor-trail {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
}
.cursor {
  width: 10px; height: 10px;
  background: var(--cyan);
  mix-blend-mode: screen;
}
.cursor-trail {
  width: 32px; height: 32px;
  border: 1px solid rgba(93,224,230,.5);
  transition: width .2s, height .2s, transform .08s, opacity .3s;
}
.cursor.expanded, .cursor-trail.expanded {
  width: 16px; height: 16px;
}
.cursor-trail.expanded { width: 48px; height: 48px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 2rem;
  height: 92px;
  display: flex; align-items: center;
  transition: var(--t);
}
.navbar.scrolled {
  background: rgba(0,7,26,.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; cursor: none; }
.nav-logo-img {
  height: 88px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(93,224,230,.4));
  transition: var(--t);
}
.nav-logo-img:hover { filter: drop-shadow(0 0 18px rgba(93,224,230,.7)); }

.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; }

.nav-btn {
  background: none; border: none; cursor: none;
  padding: .5rem 1rem;
  font-family: var(--font); font-size: .9rem; font-weight: 500;
  color: var(--gray-l); border-radius: 8px;
  transition: var(--t); position: relative;
  letter-spacing: .01em;
}
.nav-btn::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; border-radius: 2px;
  background: var(--cyan);
  transition: var(--t); opacity: 0;
}
.nav-btn:hover, .nav-btn.active { color: var(--white); }
.nav-btn:hover::after, .nav-btn.active::after { left: 20%; right: 20%; opacity: 1; }

.nav-wl {
  background: rgba(93,224,230,.1);
  border: 1px solid rgba(93,224,230,.3) !important;
  color: var(--cyan) !important;
  border-radius: 8px;
  margin-left: .5rem;
}
.nav-wl::after { display: none; }
.nav-wl:hover {
  background: rgba(93,224,230,.2);
  box-shadow: 0 0 20px rgba(93,224,230,.25);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none;
  padding: .4rem;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 92px; left: 0; right: 0;
  background: rgba(0,7,26,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem 2rem;
  display: flex; flex-direction: column; gap: .5rem;
  transform: translateY(-110%);
  transition: transform var(--t), visibility var(--t);
  z-index: 800;
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }

.mob-btn {
  background: none; border: none; cursor: none;
  font-family: var(--font); font-size: 1.1rem; font-weight: 500;
  color: var(--gray-l); text-align: left;
  padding: .75rem .5rem;
  border-bottom: 1px solid var(--border);
  transition: var(--t);
}
.mob-btn:hover { color: var(--white); padding-left: 1rem; }
.mob-btn.highlight {
  color: var(--cyan); font-weight: 600;
  border: 1px solid rgba(93,224,230,.3);
  border-radius: var(--r); padding: .75rem 1rem;
  margin-top: .5rem; text-align: center;
}

/* ============================================================
   APP / PAGE SYSTEM
   ============================================================ */
.app { position: relative; min-height: 100vh; }

.page {
  display: none;
  animation: pageFadeIn .5s ease forwards;
}
.page.active { display: block; }

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

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero-bg {
  position: relative; width: 100%; height: 100vh;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(.75) saturate(.9);
  transform: scale(1.08);
  transition: transform .12s ease-out;
  will-change: transform;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,7,26,.05) 0%,
    rgba(0,7,26,.15) 40%,
    rgba(0,7,26,.7) 80%,
    var(--bg) 100%
  );
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(93,224,230,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,224,230,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 0 2rem; max-width: 1280px; margin: 0 auto;
  left: 0; right: 0;
  padding-top: 92px;
  padding-bottom: 140px;
  z-index: 3;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1.15rem; font-weight: 600;
  color: var(--cyan); text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 1.2rem;
}
.blink-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
  animation: blink 2s ease infinite;
}
@keyframes blink {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
  50%      { box-shadow: 0 0 0 7px rgba(34,197,94,.06); }
}

.hero-title {
  display: flex; flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: .95; letter-spacing: .02em;
  margin-bottom: 1.5rem;
}
.hero-line {
  display: block;
  opacity: 0; transform: translateY(40px);
  animation: lineUp .8s ease forwards;
}
.hero-line:nth-child(1) { animation-delay: .1s; }
.hero-line:nth-child(2) { animation-delay: .25s; }
.hero-line:nth-child(3) { animation-delay: .4s; }

.accent-line {
  background: linear-gradient(90deg, #5de0e6, #004aad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes lineUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  max-width: 520px;
  font-size: 1.08rem; color: var(--gray-l);
  line-height: 1.7; margin-bottom: 2rem;
  opacity: 0; animation: lineUp .8s .55s ease forwards;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: lineUp .8s .7s ease forwards;
}

/* CTA Buttons */
.cta-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: var(--white); border: none; cursor: none;
  padding: .88rem 2rem; border-radius: var(--r);
  font-family: var(--font); font-size: .95rem; font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 4px 24px rgba(0,74,173,.5);
  transition: var(--t); text-transform: uppercase;
}
.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,74,173,.6);
  filter: brightness(1.12);
}
.cta-primary:active { transform: translateY(0); }

.cta-ghost {
  display: inline-flex; align-items: center; gap: .6rem;
  background: transparent;
  color: var(--gray-l); border: 1px solid rgba(255,255,255,.2);
  cursor: none; padding: .88rem 2rem; border-radius: var(--r);
  font-family: var(--font); font-size: .95rem; font-weight: 600;
  letter-spacing: .02em; transition: var(--t); text-transform: uppercase;
}
.cta-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(93,224,230,.06);
}

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 160px; right: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gray); writing-mode: vertical-rl;
  opacity: 0; animation: lineUp .8s .9s ease forwards;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(.4); opacity: .4; }
}

/* Stats bar */
.stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  background: rgba(0,12,36,.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 1.4rem 2rem;
  z-index: 3;
}

.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 2.5rem; gap: .1rem;
  position: relative;
}
.stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem; line-height: 1;
  color: var(--white);
}
.stat-plus { font-size: 1.2rem; color: var(--cyan); vertical-align: super; margin-left: 1px; }
.stat-lbl  { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); }
.stat-sub  { font-size: .7rem; color: rgba(176,204,216,.55); line-height: 1.3; max-width: 180px; text-align: center; margin-top: .1rem; }

.stat-sep  { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

/* Global snow canvas (fixed — covers entire site) */
#globalSnow {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 9999; pointer-events: none;
}

/* Global grid overlay */
.global-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(93,224,230,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,224,230,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0; pointer-events: none;
}
.preview-section {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border-top: 1px solid var(--border);
}

.preview-card {
  position: relative; height: 280px;
  overflow: hidden; cursor: none;
}
.preview-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
  filter: brightness(.5) saturate(.6);
}
.preview-card:hover .preview-card-bg {
  transform: scale(1.06);
  filter: brightness(.65) saturate(.8);
}
.preview-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,7,26,.9), rgba(0,74,173,.1) 50%, transparent);
  transition: var(--t);
}
.preview-card:hover .preview-card-overlay {
  background: linear-gradient(to top, rgba(0,7,26,.95), rgba(0,74,173,.2) 60%, transparent);
}
.preview-card-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.75rem 1.5rem; gap: .35rem;
}
.preview-tag {
  font-size: 1.05rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--cyan);
}
.preview-card h3 {
  font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; line-height: 1.2;
  transition: var(--t);
}
.preview-card:hover h3 { color: var(--cyan); }
.preview-card p { font-size: .85rem; color: var(--gray-l); }
.preview-arrow {
  font-size: 1.2rem; color: var(--cyan);
  transition: transform var(--t);
  margin-top: .25rem;
}
.preview-card:hover .preview-arrow { transform: translateX(6px); }

/* ============================================================
   INNER HERO (for inner pages)
   ============================================================ */
.inner-hero {
  position: relative; height: 38vh; min-height: 280px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  overflow: hidden; margin-top: 92px;
}
.inner-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,7,26,.4), rgba(0,7,26,.75) 70%, var(--bg));
}
.dark-overlay {
  background: linear-gradient(to bottom, rgba(0,7,26,.5), rgba(0,7,26,.88) 70%, var(--bg)) !important;
}
.inner-hero-content {
  position: relative; z-index: 1;
  padding: 2.5rem 2rem;
  max-width: 1280px; margin: 0 auto; width: 100%;
}
.page-eyebrow {
  display: block;
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--cyan);
  margin-bottom: .5rem;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1; letter-spacing: .02em;
}
.wl-sub {
  margin-top: .75rem;
  font-size: 1rem; color: var(--gray-l);
}

/* ============================================================
   PAGE BODY
   ============================================================ */
.page-body {
  max-width: 1280px; margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

/* ============================================================
   NOVIDADES PAGE
   ============================================================ */
.news-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 3rem; align-items: start;
}

/* Featured */
.news-featured { display: flex; flex-direction: column; gap: 0; }
.news-feat-img {
  position: relative; height: 340px;
  background-size: cover; background-position: center;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
}
.news-feat-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,7,26,.9), transparent 50%);
}
.news-feat-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  background: var(--blue); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: .3rem .75rem; border-radius: 999px;
}
.news-feat-body {
  background: var(--card);
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.news-feat-body h2 {
  font-family: var(--font-title); font-size: 1.5rem; font-weight: 700;
  line-height: 1.25;
}
.news-feat-body p { font-size: .95rem; color: var(--gray-l); line-height: 1.7; }
.news-date { font-size: .78rem; color: var(--cyan); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* Sidebar list */
.news-sidebar { display: flex; flex-direction: column; gap: 0; }

.news-filter {
  display: flex; gap: .4rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.filter-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--gray); border-radius: 999px;
  padding: .3rem .85rem; font-size: .8rem; font-weight: 600;
  cursor: none; transition: var(--t); font-family: var(--font);
}
.filter-btn.active, .filter-btn:hover {
  background: rgba(93,224,230,.1);
  border-color: var(--cyan); color: var(--cyan);
}

.news-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden; }

.news-item {
  display: flex; gap: 1rem;
  background: var(--card); padding: 1rem;
  transition: var(--t); cursor: pointer;
}
.news-item:hover { background: rgba(0,74,173,.12); }
.news-item.hidden { display: none; }
.news-item.active-item {
  background: rgba(0,74,173,.18);
  border-left: 3px solid var(--cyan);
}

.news-item-img {
  width: 70px; height: 70px; flex-shrink: 0;
  border-radius: var(--r); overflow: hidden;
  background-size: cover; background-position: center;
  filter: brightness(.7) saturate(.7);
  transition: var(--t);
}
.news-item:hover .news-item-img { filter: brightness(.85) saturate(.9); }

.news-item-body { display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.news-item-meta { display: flex; align-items: center; gap: .5rem; }
.ni-tag {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  color: var(--cyan); letter-spacing: .06em;
}
.ni-date { font-size: .72rem; color: var(--gray); }
.news-item h4 { font-size: .92rem; font-weight: 600; line-height: 1.25; }
.news-item p  { font-size: .8rem; color: var(--gray-l); line-height: 1.45; }

/* ============================================================
   HISTÓRIA PAGE
   ============================================================ */
.historia-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; margin-bottom: 5rem; align-items: center;
}
.historia-intro-text h2 {
  font-family: var(--font-title); font-size: 2.2rem; font-weight: 700;
  margin-bottom: 1rem; line-height: 1.15;
}
.historia-intro-text p { font-size: 1rem; color: var(--gray-l); line-height: 1.75; }
.historia-intro-quote {
  border-left: 3px solid var(--cyan);
  padding-left: 1.75rem;
}
.historia-intro-quote blockquote {
  font-size: 1.1rem; font-style: italic; font-weight: 500;
  line-height: 1.7; color: var(--white); margin-bottom: .75rem;
}
.historia-intro-quote cite {
  font-size: .85rem; color: var(--cyan); font-style: normal;
  font-weight: 600; letter-spacing: .04em;
}

/* Chapters */
.chapters { display: flex; flex-direction: column; gap: 5rem; margin-bottom: 5rem; }

.chapter {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.chapter-reverse { direction: rtl; }
.chapter-reverse > * { direction: ltr; }

.chapter-img {
  border-radius: var(--r-lg); overflow: hidden;
  height: 380px;
  background-size: cover; background-position: center;
  filter: brightness(.6) saturate(.7);
  transition: filter .5s ease;
  position: relative;
}
.chapter-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,74,173,.3), transparent);
  border-radius: var(--r-lg);
}
.chapter:hover .chapter-img { filter: brightness(.75) saturate(.85); }

.chapter-year {
  display: inline-block;
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--cyan); letter-spacing: .08em;
  margin-bottom: .75rem;
}
.chapter-body h3 {
  font-family: var(--font-title); font-size: 2rem; font-weight: 700;
  margin-bottom: 1rem; line-height: 1.2;
}
.chapter-body p { font-size: .97rem; color: var(--gray-l); line-height: 1.75; margin-bottom: .75rem; }

.chapter-milestone {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem;
}
.chapter-milestone span {
  font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--cyan);
  background: rgba(93,224,230,.08);
  border: 1px solid rgba(93,224,230,.2);
  border-radius: 999px; padding: .3rem .85rem;
}

.historia-cta {
  text-align: center; padding: 4rem 2rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.historia-cta h3 {
  font-family: var(--font-title); font-size: 1.75rem; font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ============================================================
   FLOATING LABEL FORMS (Ideias & Whitelist)
   ============================================================ */
.text-cyan { color: var(--cyan); }

.form-page-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
}

.form-page-info h2 {
  font-family: var(--font-title); font-size: 2.2rem; font-weight: 700;
  margin-bottom: 1rem; line-height: 1.15;
}
.form-page-info p { font-size: 1rem; color: var(--gray-l); line-height: 1.75; margin-bottom: 2rem; }

.form-promises { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.form-promises li {
  display: flex; align-items: center; gap: .8rem;
  font-size: .95rem; color: var(--gray-l);
}
.promise-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(93,224,230,.1); border: 1px solid rgba(93,224,230,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); font-size: .8rem; font-weight: 700; flex-shrink: 0;
}

.form-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2.5rem;
}

.field-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1rem;
}

/* Floating label field */
.field {
  position: relative; margin-bottom: 1rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(0,7,26,.6);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.2rem 1rem .55rem;
  font-size: .95rem; font-family: var(--font);
  color: var(--white); outline: none;
  transition: var(--t); resize: vertical; min-height: 56px;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235de0e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field select option { background: #00102e; color: var(--white); }

.field label {
  position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%);
  font-size: .95rem; color: var(--gray); pointer-events: none;
  transition: var(--t); transform-origin: left;
  background: transparent;
}
.field textarea ~ label { top: 1.15rem; transform: none; }

/* Floating effect */
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field select:focus ~ label,
.field select.has-value ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label {
  top: .42rem; transform: translateY(0) scale(.78);
  color: var(--cyan); font-weight: 600;
}
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label {
  top: .42rem;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(93,224,230,.14);
  background: rgba(0,12,36,.8);
}
.field input.err, .field select.err, .field textarea.err {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,.12);
}

.field-err {
  display: block; font-size: .78rem; color: #f87171;
  margin-top: .3rem; font-weight: 500; min-height: 1rem;
}

/* Checkbox */
.field-checkbox {
  display: flex; align-items: flex-start; gap: .75rem;
  margin: 1rem 0;
}
.field-checkbox input[type=checkbox] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--cyan); cursor: none; margin-top: .1rem;
}
.field-checkbox label {
  font-size: .9rem; color: var(--gray-l); line-height: 1.55;
  cursor: none;
}

/* Submit button */
.btn-submit {
  width: 100%; padding: .95rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: var(--white); border: none; cursor: none;
  border-radius: var(--r); font-family: var(--font);
  font-size: .95rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 4px 20px rgba(0,74,173,.4);
  transition: var(--t);
  display: flex; align-items: center; justify-content: center; gap: .6rem;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,74,173,.55);
  filter: brightness(1.1);
}
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-outline {
  background: transparent; border: 1px solid var(--border);
  color: var(--gray-l); border-radius: var(--r);
  padding: .88rem 2rem;
  font-family: var(--font); font-size: .9rem; font-weight: 600;
  cursor: none; transition: var(--t); text-transform: uppercase;
  letter-spacing: .04em;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(93,224,230,.06); }

.hidden { display: none !important; }
.spin { animation: spinning .8s linear infinite; }
@keyframes spinning { to { transform: rotate(360deg); } }

.success-msg {
  margin-top: 1rem; padding: 1rem 1.25rem;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--r); color: #86efac;
  font-size: .92rem; font-weight: 500;
}

/* ============================================================
   WHITELIST PAGE
   ============================================================ */
.wl-track {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.wl-track-step {
  display: flex; align-items: center; gap: .6rem;
  color: var(--gray); font-size: .88rem; font-weight: 500;
  transition: var(--t);
}
.wl-track-step.active { color: var(--cyan); }
.wl-track-step.done   { color: #86efac; }

.wl-track-num {
  font-family: var(--font-display); font-size: 1.1rem;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border);
  transition: var(--t); letter-spacing: .02em;
}
.wl-track-step.active .wl-track-num {
  border-color: var(--cyan); background: rgba(93,224,230,.1);
  color: var(--cyan);
}
.wl-track-step.done .wl-track-num {
  border-color: #22c55e; background: rgba(34,197,94,.1); color: #86efac;
}
.wl-track-bar {
  flex: 1; max-width: 80px; height: 1px;
  background: var(--border); margin: 0 .25rem;
  transition: var(--t);
}
.wl-track-bar.active { background: var(--blue); }

.wl-form { max-width: 780px; margin: 0 auto; }

.wl-step-panel { display: none; }
.wl-step-panel.active { display: block; }

.step-title {
  font-family: var(--font-title); font-size: 1.75rem; font-weight: 700;
  margin-bottom: 2rem; line-height: 1.2;
}

.step-nav { display: flex; justify-content: flex-end; margin-top: 1.5rem; gap: 1rem; }
.step-nav.two { justify-content: space-between; }
.step-nav .btn-submit { width: auto; padding: .9rem 2.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem; margin-bottom: 3rem;
}
.footer-logo {
  height: 36px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(93,224,230,.3));
  display: block; margin-bottom: 1rem;
}
.footer-left p {
  font-size: .9rem; color: var(--gray);
  line-height: 1.7; margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: .6rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: var(--r);
  background: rgba(93,224,230,.08); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); text-decoration: none; transition: var(--t);
  cursor: none;
}
.social-btn:hover {
  background: rgba(93,224,230,.16); border-color: var(--cyan);
  color: var(--cyan);
}

.footer-mid h5, .footer-right h5 {
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--white); margin-bottom: 1.25rem;
}
.footer-link {
  display: block; background: none; border: none; cursor: none;
  font-family: var(--font); font-size: .9rem;
  color: var(--gray); margin-bottom: .6rem;
  text-align: left; transition: var(--t); padding: 0;
}
.footer-link:hover { color: var(--cyan); padding-left: .35rem; }

.ft-status {
  display: flex; align-items: center; gap: .6rem;
  font-size: .88rem; color: var(--gray-l);
  margin-bottom: .6rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot.green { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.dot.red   { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.2); }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: .82rem; color: var(--gray);
}

/* ── HOME NOVIDADES SECTION ─────────────────────────────────── */
.home-news {
  max-width: 1280px; margin: 0 auto;
  padding: 5rem 2rem 6rem;
}
.home-section-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 3rem; gap: 1rem;
}
.home-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1; letter-spacing: .04em;
  color: var(--white);
}

/* ── SUCCESS MODAL ─────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 9990;
  background: rgba(0,7,26,.85);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.modal-backdrop.open {
  opacity: 1; pointer-events: all;
}
.modal-box {
  background: var(--card);
  border: 1px solid var(--border-h);
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem;
  max-width: 480px; width: 90%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 60px rgba(93,224,230,.08);
  transform: translateY(24px) scale(.97);
  transition: transform .35s ease, opacity .35s ease;
}
.modal-backdrop.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-icon {
  font-size: 3rem; margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(93,224,230,.4));
}
.modal-title {
  font-family: var(--font-title); font-size: 1.75rem; font-weight: 700;
  color: var(--white); margin-bottom: .75rem;
}
.modal-msg {
  font-size: 1rem; color: var(--gray-l); line-height: 1.65; margin-bottom: .5rem;
}
.modal-sub {
  font-size: .88rem; color: var(--cyan); font-weight: 500;
}

/* ── MAGNETIC BUTTON EFFECT ─────────────────────────────────── */
.mag-btn { will-change: transform; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
#progressBar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  z-index: 9998; transition: width .1s linear;
  box-shadow: 0 0 10px rgba(93,224,230,.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar { max-width: 100%; }
  .historia-intro { grid-template-columns: 1fr; gap: 2rem; }
  .chapter { grid-template-columns: 1fr; gap: 2rem; }
  .chapter-reverse { direction: ltr; }
  .chapter-img { height: 240px; }
  .form-page-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-left { grid-column: span 2; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .preview-section { grid-template-columns: 1fr; }
  .preview-card { height: 200px; }
  .stats-bar { gap: 0; }
  .stat-item { padding: 0 1rem; }
  .stat-val { font-size: 1.6rem; }
  .hero-title { font-size: clamp(4rem, 15vw, 7rem); }
  .field-row { grid-template-columns: 1fr; }
  .wl-track-step span { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-left { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .step-nav.two { flex-direction: column; }
  .step-nav .btn-submit { width: 100%; }
}

@media (max-width: 480px) {
  .hero-bg { height: auto; min-height: 100vh; overflow: visible; display: flex; flex-direction: column; }
  .hero-content {
    position: relative; inset: auto;
    padding: 100px 1.25rem 2rem;
    max-width: 100%;
    flex: 1;
    justify-content: flex-start;
  }
  .stats-bar {
    position: relative; bottom: auto;
    flex-direction: column; align-items: center;
    gap: 1rem; padding: 1.5rem;
  }
  .stat-sep { width: 40px; height: 1px; }
  .hero-bg-img { position: fixed; height: 100vh; }
  .hero-bg-overlay { position: fixed; height: 100vh; }
  .hero-bg-grid { position: fixed; height: 100vh; }
  .page-body { padding: 2.5rem 1.25rem 4rem; }
  .form-panel { padding: 1.5rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .cta-primary, .cta-ghost { width: 100%; justify-content: center; }
  .scroll-cue { display: none; }
}

