/* ==========================================================
   Cyber Snow 2025 — El Colorado
   Standalone landing
   ========================================================== */

:root {
  --bg: #050816;
  --bg-2: #0a0f2a;
  --bg-3: #0e1640;
  --ink: #eaf2ff;
  --ink-soft: #a9b4d6;
  --ink-dim: #6c7aa3;
  --line: rgba(140, 170, 255, 0.14);
  --cyan: #00e5ff;
  --cyan-2: #57f0ff;
  --magenta: #ff2bd2;
  --red: #e3122b;
  --blue: #1e4cff;
  --yellow: #ffd400;
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* Scope to .page-cyberday body so we don't break other pages,
   and to win cascade against the theme's Bootstrap + child styles. */
body.page-cyberday {
  background: var(--bg) !important;
  color: var(--ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Force inheritance inside our content so Bootstrap reboot doesn't set Helvetica/black */
body.page-cyberday .cyberday,
body.page-cyberday .cyberday h1,
body.page-cyberday .cyberday h2,
body.page-cyberday .cyberday h3,
body.page-cyberday .cyberday h4,
body.page-cyberday .cyberday p,
body.page-cyberday .cyberday a,
body.page-cyberday .cyberday td,
body.page-cyberday .cyberday th,
body.page-cyberday .cyberday li,
body.page-cyberday .cyberday span {
  font-family: var(--font-sans) !important;
}
body.page-cyberday .cyberday a { text-decoration: none; }
body.page-cyberday .cyberday table { color: inherit; background: transparent; }
body.page-cyberday .cyberday details > summary { list-style: none; }

/* ---- Force our text colors over theme's unscoped h1-h6 / p rules ---- */
body.page-cyberday .cyberday h1,
body.page-cyberday .cyberday h2,
body.page-cyberday .cyberday h3,
body.page-cyberday .cyberday h4 {
  color: var(--ink) !important;
  font-weight: 600;
}
body.page-cyberday .cyberday p { color: inherit; }

body.page-cyberday .cyberday .eyebrow      { color: var(--color--primary, var(--red)) !important; }
body.page-cyberday .cyberday .glitch       { color: #fff !important; font-weight: 700; }
body.page-cyberday .cyberday .hero-sub     { color: var(--ink) !important; }
body.page-cyberday .cyberday .section-eyebrow { color: var(--ink-dim) !important; font-weight: 500; }
body.page-cyberday .cyberday .section-title   { color: #fff !important; font-weight: 600; }
body.page-cyberday .cyberday .section-title .hl {
  color: #fff !important;
  background: #005af6 !important;
}
body.page-cyberday .cyberday .section-lead { color: #fff !important; }
body.page-cyberday .cyberday .cta-title    { color: var(--ink) !important; font-weight: 600; }
body.page-cyberday .cyberday .cta-lead     { color: var(--ink-soft) !important; }
body.page-cyberday .cyberday .footnote     { color: rgba(255,255,255,0.8) !important; }
body.page-cyberday .cyberday .legal,
body.page-cyberday .cyberday .legal li { color: rgba(255,255,255,0.8) !important; }
body.page-cyberday .cyberday .legal li::marker { color: rgba(255,255,255,0.5) !important; }

/* CTA buttons: force white text + own bg over Bootstrap's <a> reset */
body.page-cyberday .cyberday .cta,
body.page-cyberday .cyberday a.cta {
  color: #fff !important;
}
body.page-cyberday .cyberday .cta:hover,
body.page-cyberday .cyberday a.cta:hover { color: #fff !important; }
body.page-cyberday .cyberday .cta-sm,
body.page-cyberday .cyberday a.cta-sm { color: #050816 !important; }

/* Glass card content stays dark grey regardless of theme overrides */
body.page-cyberday .cyberday .price-table thead th { color: #1e40af !important; }
body.page-cyberday .cyberday .price-table tbody th { color: #4f4f4f !important; }
body.page-cyberday .cyberday .price-table tbody td { color: #4f4f4f !important; }
body.page-cyberday .cyberday .price-table .pvp    { color: #1e40af !important; }
body.page-cyberday .cyberday .price-table .off    { color: #1e40af !important; }
body.page-cyberday .cyberday .faq .faq-trigger { color: #4f4f4f !important; }
body.page-cyberday .cyberday .faq p              { color: #4f4f4f !important; }
body.page-cyberday .cyberday .faq .faq-trigger.is-open { color: #1e40af !important; }
body.page-cyberday .cyberday .terms-trigger,
body.page-cyberday .cyberday .terms-trigger .terms-summary-title { color: #4f4f4f !important; }
body.page-cyberday .cyberday .terms-trigger.is-open,
body.page-cyberday .cyberday .terms-trigger.is-open .terms-summary-title { color: #1e40af !important; }

/* Terms doc lives on a white panel — force all its text dark, beating the
   generic .cyberday h1-h4 light-color override above. */
body.page-cyberday .cyberday .terms-doc,
body.page-cyberday .cyberday .terms-doc p,
body.page-cyberday .cyberday .terms-doc li,
body.page-cyberday .cyberday .terms-doc h3,
body.page-cyberday .cyberday .terms-doc h4,
body.page-cyberday .cyberday .terms-doc h5 { color: #1a1a1a !important; }

/* Site root: keep body simple — the animated bg lives in .site-bg */
body { position: relative; isolation: isolate; }

html { scroll-behavior: smooth; }

/* Global interactive transitions */
a, button, summary, .cta, .topbar nav a, .faq details, .price-table tbody tr {
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}

/* ============================================================
   Reveal-on-scroll — subtle entrance only
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Animated site background (fixed behind everything)
   beam (conic) + 2 orbs + canvas streaks + grain
   ============================================================ */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: #050816;
}
.site-bg-beam {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 120vmax;
  height: 120vmax;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(0, 229, 255, 0.22) 50deg,
    rgba(124, 58, 237, 0.26) 110deg,
    transparent 200deg
  );
  filter: blur(75px);
  animation: site-bg-spin 30s linear infinite;
  opacity: 0.7;
}
@keyframes site-bg-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.site-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.site-bg-orb-1 {
  width: 40vmax; height: 40vmax;
  top: 10%; right: 0;
  background: radial-gradient(circle, rgba(255, 43, 210, 0.28), transparent 60%);
  opacity: 0.85;
}
.site-bg-orb-2 {
  width: 50vmax; height: 50vmax;
  bottom: -10%; left: -10%;
  background: radial-gradient(circle, rgba(30, 76, 255, 0.32), transparent 60%);
  opacity: 0.85;
}
.site-bg-streaks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
  will-change: transform;
  transform: translateZ(0); /* promote to own layer to avoid full repaints */
}

/* Mobile: backdrop-filter on multiple cards + fixed canvas is too heavy.
   Drop blur and use a solid white tint instead. */
@media (max-width: 768px) {
  body.page-cyberday .table-wrap,
  body.page-cyberday .faq details {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.95) !important;
  }
}

/* Hint compositor that cards are isolated paint regions */
body.page-cyberday .table-wrap,
body.page-cyberday .faq details {
  contain: layout paint;
}
.site-bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: reduce) {
  .site-bg-beam { animation: none; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan-2); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(5,8,22,0.85), rgba(5,8,22,0.55));
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--red);
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
}
.topbar nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.topbar nav a:hover { color: #fff; }
.cta-sm {
  background: #fff;
  color: #050816 !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
}
.cta-sm:hover { background: #e6ebff; }

@media (max-width: 700px) {
  .topbar nav a:not(.cta-sm) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: visible;
  padding: 60px 0 70px;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
/* Photo + solid backdrop extend BELOW the hero into the start of the next
   section, fading there into the animated site-bg. z-index: -1 puts it
   above .site-bg (which is now -2) and behind all DOM content. */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -55vh; /* photo bleeds 55vh past the hero into tarifas */
  z-index: -1;
  pointer-events: none;
  background:
    url("hero.jpg") center top / cover no-repeat,
    #050816;
  /* mask: solid through the hero, fade only in the bleed region */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,0.6) 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,0.6) 78%, transparent 100%);
}
/* Soft tint over the photo for legibility, kept separate so it doesn't
   interfere with the photo's mask fade. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(2, 4, 13, 0.45) 0%,
    rgba(2, 4, 13, 0.18) 30%,
    rgba(2, 4, 13, 0.30) 65%,
    transparent 100%
  );
}
.stars { display: none; }

.hero-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.hero-wrap > * { margin: 0; }
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 14px;
  margin: 0 0 14px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Headline */
.glitch {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 9vw, 120px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
  position: relative;
}
.glitch::before,
.glitch::after { content: none; }

/* SVG headline (replaces the text "CYBER SNOW") */
body.page-cyberday .cyberday .hero-logo {
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: min(760px, 82vw) !important;
  line-height: 0 !important;
  display: block !important;
  font-size: 0 !important;
  text-align: center;
}
body.page-cyberday .cyberday .hero-logo img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  min-height: 80px;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.18));
}

.hero-sub {
  margin: 18px auto 0;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--ink);
  font-weight: 400;
  max-width: 620px;
}

/* badges */
.hero-badges {
  margin: 56px auto 38px;
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(180px, 220px);
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  max-width: 640px;
}
@media (max-width: 540px) {
  .hero-badges {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}
.badge {
  border-radius: 14px;
  padding: 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.badge-cyber { background: #1830b8; }
.badge-colorado {
  background: #c4101e;
  gap: 6px;
}
.badge-eyebrow {
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.85;
  font-weight: 400;
}
.badge-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 76px;
  line-height: 0.95;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  letter-spacing: -0.02em;
}
.badge-pct sup {
  font-size: 28px;
  margin-top: 8px;
  font-weight: 600;
}
.badge-foot {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.badge-mark {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  display: inline-block;
  transform: scale(1.3, 1.6);
}
.badge-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
}
.badge-loc {
  font-size: 10px;
  letter-spacing: 0.28em;
  opacity: 0.9;
  font-weight: 400;
}

/* CTA buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: 0;
}
/* Animated neon-beam border for primary CTA */
@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.cta-primary {
  --cta-color: var(--color--primary, var(--cyan));
  position: relative;
  isolation: isolate;
  background: var(--cta-color);
  color: #fff;
  border: 0;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--cta-color) 30%, transparent),
    0 0 24px -4px color-mix(in srgb, var(--cta-color) 55%, transparent);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.cta-primary::before,
.cta-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
/* Rotating beam: a 1.5px ring made by masking the conic gradient */
.cta-primary::before {
  padding: 1.5px;
  background: conic-gradient(
    from var(--beam-angle),
    transparent 0deg,
    transparent 240deg,
    color-mix(in srgb, #fff 65%, var(--cta-color)) 290deg,
    #fff 330deg,
    color-mix(in srgb, #fff 65%, var(--cta-color)) 350deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: beamSpin 3.5s linear infinite;
}
/* Static thin baseline so the button always reads as outlined */
.cta-primary::after {
  border: 1.5px solid color-mix(in srgb, #fff 40%, transparent);
  z-index: -1;
}
@keyframes beamSpin {
  to { --beam-angle: 360deg; }
}
.cta-primary:hover {
  color: #fff;
  background: color-mix(in srgb, var(--cta-color) 90%, #000 10%);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--cta-color) 45%, transparent),
    0 0 32px color-mix(in srgb, var(--cta-color) 60%, transparent),
    0 0 80px color-mix(in srgb, var(--cta-color) 35%, transparent);
}
.cta-primary:hover::before { animation-duration: 1.6s; }
.cta-primary:hover::after { border-color: color-mix(in srgb, #fff 60%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .cta-primary::before { animation: none; }
}
.cta-xl {
  padding: 22px 44px;
  font-size: 18px;
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
  position: relative;
}
.section-alt {
  background:
    linear-gradient(180deg, #060a1f 0%, #07102e 50%, #060a1f 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 14px;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 18px;
  max-width: 820px;
}
/* Condiciones + FAQ titles a touch smaller than the tarifas hero title */
#condiciones .section-title,
#faq .section-title {
  font-size: clamp(26px, 3vw, 36px);
}
/* Tarifas title carries the badge → needs extra line-height so the
   pill on line 2 doesn't collide with line 1. */
#tarifas .section-title {
  line-height: 1.45;
}
.section-title .hl {
  display: inline-block;
  background: #005af6;
  color: #fff;
  border-radius: 12px;
  padding: 0.08em 0.4em;
  margin-top: 0.12em;
  font-size: 1.1em;
  line-height: 1.15;
  vertical-align: baseline;
  box-shadow: 0 8px 24px -8px rgba(0, 90, 246, 0.6);
}
.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 56px;
}

/* ---------- Price table ---------- */
.table-wrap {
  position: relative;
  margin: 40px 0 28px;
  overflow-x: auto;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.82));
  backdrop-filter: blur(14px) saturate(110%) brightness(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(110%) brightness(1.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05),
    0 24px 70px -10px rgba(0, 0, 0, 0.5),
    0 6px 16px -2px rgba(0, 0, 0, 0.3);
}
/* (glass texture overlays removed — using clean solid cards instead) */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}
.price-table thead th {
  text-align: left;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1e40af;
  padding: 12px 16px;
  background: transparent;
  border-bottom: 1px solid rgba(30, 64, 175, 0.18);
}
.price-table thead th:not(:first-child) { text-align: right; }
.price-table tbody th {
  text-align: left;
  font-weight: 600;
  color: #4f4f4f;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.3;
}
.price-table tbody th span {
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 400;
  margin-left: 6px;
}
.price-table tbody td {
  padding: 10px 16px;
  text-align: right;
  color: #4f4f4f;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 14px;
}
.price-table tbody tr {
  border-top: 1px solid rgba(79, 79, 79, 0.14);
}
.price-table s {
  color: #a0a0a0;
  font-size: 14px;
}
.price-table .pvp {
  color: #1e40af;
  font-weight: 700;
  font-size: 14px;
}
.price-table .off {
  font-size: 14px;
  font-weight: 600;
  color: #1e40af;
}
.price-table .off-max {
  color: #1e40af;
  font-size: 14px;
  font-weight: 600;
}

.tarifas-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footnote {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin: 0;
  max-width: 640px;
  line-height: 1.6;
}

/* ---------- Conditions (legal) ---------- */
.section-legal {
  padding: 110px 0 0;
  background: transparent;
  border: 0;
}
.section-legal .terms-accordion { margin-top: 48px; }
.legal {
  margin: 0;
  padding: 0 0 0 22px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.7;
}
.legal li { padding: 4px 0; }
.legal li::marker { color: rgba(255, 255, 255, 0.5); }

/* Terms accordion — same look + alignment as a FAQ item */
.terms-accordion {
  position: relative;
  margin: 0;
  max-width: 880px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(110%) brightness(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(110%) brightness(1.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05),
    0 18px 50px -10px rgba(0, 0, 0, 0.45),
    0 6px 16px -2px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: background 0.25s ease;
}
.terms-accordion:hover { background: rgba(255, 255, 255, 0.92); }
/* Terms trigger — identical treatment to a FAQ trigger */
.terms-accordion > .terms-trigger {
  padding: 20px 56px 20px 22px;
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 600;
  color: #4f4f4f;
  transition: color 0.2s ease;
}
.terms-summary-title {
  font-weight: 600;
  font-size: 16px;
  color: #4f4f4f;
}
/* Drop the "TÓCA PARA ABRIR" hint — the + indicator does the job */
.terms-summary-hint { display: none; }
.terms-accordion > .terms-trigger::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: #1e40af;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}
.terms-accordion > .terms-trigger.is-open { color: #1e40af; }
.terms-accordion > .terms-trigger.is-open .terms-summary-title { color: #1e40af; }
.terms-accordion > .terms-trigger.is-open::after {
  transform: translateY(-50%) rotate(45deg);
}

/* Document body — todo el texto legal en 13px y negro */
.terms-doc {
  padding: 22px 26px 26px;
  color: #1a1a1a;
  font-size: 13px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.terms-doc p,
.terms-doc li { color: #1a1a1a; font-size: 13px; }
.terms-doc p { margin: 0 0 12px; }
.terms-doc a {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.35);
  text-underline-offset: 2px;
}
.terms-doc a:hover { text-decoration-color: #1a1a1a; }
.terms-doc strong { color: #1a1a1a; font-weight: 700; }

.terms-eyebrow {
  font-size: 13px !important;
  text-transform: uppercase;
  color: #1a1a1a !important;
  margin: 0 0 6px !important;
}
.terms-title {
  margin: 0 0 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}
.terms-subtitle {
  margin: 0 0 22px !important;
  font-size: 13px !important;
  text-transform: uppercase;
  color: #1a1a1a !important;
  font-weight: 600;
}
.terms-h {
  margin: 22px 0 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  text-transform: uppercase;
}
.terms-h-sub {
  margin: 14px 0 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}
.terms-list {
  margin: 0 0 14px;
  padding: 0 0 0 20px;
  list-style: disc;
}
.terms-list li { padding: 3px 0; color: #1a1a1a; font-size: 13px; }
.terms-list li::marker { color: #1a1a1a; }
.terms-pending p {
  color: #1a1a1a;
  font-style: italic;
}

/* ---------- FAQ (glass) ---------- */
.faq {
  margin: 48px 0 0;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq .faq-item {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(110%) brightness(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(110%) brightness(1.18);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05),
    0 18px 50px -10px rgba(0, 0, 0, 0.45),
    0 6px 16px -2px rgba(0, 0, 0, 0.28);
}
.faq .faq-item:hover { background: rgba(255, 255, 255, 0.92); }
.faq .faq-item:has(.faq-trigger.is-open) {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(30, 64, 175, 0.35),
    inset 0 -1px 0 rgba(30, 64, 175, 0.1),
    0 18px 50px -10px rgba(0, 0, 0, 0.45),
    0 6px 16px -2px rgba(0, 0, 0, 0.28);
}
.faq .faq-trigger {
  font-size: 16px;
  font-weight: 600;
  padding: 20px 56px 20px 22px;
  position: relative;
  color: #4f4f4f;
  transition: color 0.2s ease;
  display: block;
}
.faq .faq-trigger::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: #1e40af;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}
.faq .faq-trigger.is-open { color: #1e40af; }
.faq .faq-trigger.is-open::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq .faq-item .cyb-acc-panel p {
  margin: 0;
  padding: 0 22px 22px;
  color: #4f4f4f;
  font-size: 14.5px;
  line-height: 1.65;
}
.faq .faq-item .cyb-acc-panel a {
  color: #1e40af;
  text-decoration: underline;
  text-decoration-color: rgba(30, 64, 175, 0.4);
  text-underline-offset: 2px;
  word-break: break-word;
}
.faq .faq-item .cyb-acc-panel a:hover { text-decoration-color: #1e40af; }
.faq .faq-item .cyb-acc-panel strong { color: #1a1a1a; font-weight: 700; }
/* Animated panels (FAQ <p>, T&C .terms-doc).
   We keep the panel ALWAYS laid out (display:block override) and use
   `max-height` driven by a CSS custom property set in JS. This avoids
   the subpixel / auto-vs-px jump problems of animating `height`. */
/* Accordion panels — clean max-height transition, no <details> quirks */
.cyberday .cyb-acc-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease-out;
}
.cyberday .cyb-acc-panel.is-open {
  opacity: 1;
}
.cyberday .cyb-acc-trigger {
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  background: transparent;
  /* No `padding: 0` here — let each specific trigger
     (.faq-trigger / .terms-trigger) own its padding. */
}

/* ---------- CTA Final ---------- */
.cta-final {
  text-align: center;
  background: transparent;
  padding: 110px 0 200px;
  position: relative;
  overflow: hidden;
}
.cta-final .wrap { position: relative; z-index: 2; }
.cta-final .grid-floor {
  position: absolute;
  left: 50%;
  bottom: -150px;
  width: 260%;
  height: 900px;
  transform: translateX(-50%) perspective(700px) rotateX(62deg);
  background:
    linear-gradient(to right, rgba(0, 229, 255, 0.32) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(to bottom, rgba(0, 229, 255, 0.32) 1px, transparent 1px) 0 0 / 72px 72px;
  mask-image: linear-gradient(to top, #000 10%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.cta-lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 36px;
}
.cta-final .footnote { margin: 22px auto 0; }

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 36px;
  border-top: 1px solid var(--line);
  background: #02040d;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer .brand {
  margin: 0 0 8px;
  font-size: 16px;
}
.footer-h {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.footer-line {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-line a:hover { color: #fff; }
.copy {
  font-size: 12px;
  color: var(--ink-dim);
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
