/* ============================================================
   BLUE BUBBLE — Premium CSS
   Autor: Senior UI/UX Design System
   ============================================================ */

/* ——— GOOGLE FONTS ——— */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@200;300;400;500&display=swap');

/* ——— CUSTOM PROPERTIES ——— */
:root {
  /* Paleta cromática */
  --blue-deepest:  #020d1a;
  --blue-deep:     #041527;
  --blue-dark:     #062040;
  --blue-mid:      #0a3660;
  --blue-main:     #1a5fa8;
  --blue-bright:   #2b8fdc;
  --blue-light:    #5ab3f0;
  --blue-pale:     #a8d8f8;
  --blue-mist:     #d4ecfc;
  --blue-whisper:  #eef6fd;

  /* Acento luminoso */
  --gold-soft:     #c9a96e;
  --gold-light:    #e2c98d;
  --white:         #ffffff;
  --white-90:      rgba(255,255,255,0.9);
  --white-70:      rgba(255,255,255,0.7);
  --white-40:      rgba(255,255,255,0.4);
  --white-20:      rgba(255,255,255,0.2);
  --white-10:      rgba(255,255,255,0.1);
  --white-05:      rgba(255,255,255,0.05);

  /* Tipografía */
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Jost', 'Gill Sans', sans-serif;

  /* Espaciado modular */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;
  --space-xxl:  11rem;

  /* Transiciones */
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:      0.2s;
  --dur-mid:       0.4s;
  --dur-slow:      0.8s;

  /* Border radius */
  --r-sm:  4px;
  --r-md:  12px;
  --r-lg:  24px;
  --r-xl:  48px;
  --r-pill:9999px;

  /* Sombras */
  --shadow-glow:   0 0 60px rgba(42, 143, 220, 0.25);
  --shadow-card:   0 8px 40px rgba(2,13,26,0.5);
  --shadow-subtle: 0 2px 20px rgba(2,13,26,0.3);
}

/* ——— RESET & BASE ——— */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--blue-deepest);
  color: var(--white-90);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ——— SCROLLBAR ——— */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--blue-deepest); }
::-webkit-scrollbar-thumb { background: var(--blue-main); border-radius: var(--r-pill); }

/* ——— FOCUS VISIBLE ——— */
:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ——— SELECTION ——— */
::selection { background: var(--blue-main); color: var(--white); }

/* ——— TYPOGRAPHY HELPERS ——— */
.t-display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.t-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
}

/* ——— CONTAINER ——— */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ——— SECTION PADDING ——— */
.section {
  padding: var(--space-xl) 0;
}

/* ——— REVEAL ANIMATION ——— */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.30s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.60s; }
.reveal-delay-5 { transition-delay: 0.75s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ======================================================
   HEADER
====================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--dur-mid) var(--ease-smooth),
              padding var(--dur-mid) var(--ease-smooth),
              backdrop-filter var(--dur-mid) var(--ease-smooth);
}

#header.scrolled {
  background: rgba(2,13,26,0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);  
  padding: 1rem var(--space-md);
  border-bottom: 1px solid var(--white-10);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--blue-bright), var(--blue-dark));
  box-shadow: 0 0 20px rgba(43,143,220,0.6), inset 0 0 10px rgba(255,255,255,0.15);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.logo__mark::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 20%;
  width: 35%;
  height: 35%;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
}

.logo__text span {
  color: var(--blue-light);
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-70);
  transition: color var(--dur-fast) var(--ease-smooth);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue-light);
  transition: width var(--dur-mid) var(--ease-smooth);
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--white-10);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-pill);
  color: var(--white-60);
  transition: all var(--dur-fast);
}

.lang-btn.active {
  background: var(--blue-main);
  color: var(--white);
}

/* CTA Button Header */
.btn-cta-header {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--blue-light);
  color: var(--blue-light);
  background: transparent;
  transition: all var(--dur-mid) var(--ease-smooth);
  white-space: nowrap;
}

.btn-cta-header:hover {
  background: var(--blue-main);
  border-color: var(--blue-main);
  color: var(--white);
  box-shadow: 0 0 30px rgba(26,95,168,0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--dur-mid) var(--ease-smooth);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2,13,26,0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-smooth);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav .nav__link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: none;
}

/* ======================================================
   HERO
====================================================== */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video / Fallback */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 1;
  will-change: transform;
}

.hero__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(26,95,168,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(10,54,96,0.6) 0%, transparent 60%),
    linear-gradient(160deg, var(--blue-deepest) 0%, #061c3a 40%, #0a1f3d 70%, var(--blue-deepest) 100%);
  /* Cuando no hay vídeo, este fondo es visible */
}

/* Overlay elegante */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(2,13,26,0.55) 0%,
      rgba(2,13,26,0.30) 40%,
      rgba(2,13,26,0.55) 75%,
      rgba(2,13,26,0.85) 100%
    );
    pointer-events: none;
}

/* Partículas canvas */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  padding: 0 var(--space-md);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--blue-light);
  opacity: 0.7;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.4rem;
}

.hero__title em {
  font-style: italic;
  color: var(--blue-pale);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 200;
  line-height: 1.7;
  color: var(--white-70);
  max-width: 560px;
  margin: 0 auto 3rem;
  letter-spacing: 0.03em;
}

/* Botones Hero */
.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botón primario */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  background: var(--blue-main);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--dur-mid) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  transition: opacity var(--dur-mid);
  opacity: 0;
}

.btn-primary:hover {
  background: var(--blue-bright);
  box-shadow: 0 0 40px rgba(43,143,220,0.45), 0 4px 20px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.btn-primary:hover::before { opacity: 1; }

/* Botón secundario */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--white-90);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--white-40);
  transition: all var(--dur-mid) var(--ease-smooth);
}

.btn-secondary:hover {
  border-color: var(--blue-light);
  color: var(--blue-pale);
  transform: translateY(-2px);
}

/* Botón regalar */
.btn-credits {
  --credits-round: var(--r-pill);
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 54px;
  padding: 0.9rem 1.35rem;
  border: none;
  border-radius: var(--credits-round);
  background:
    radial-gradient(65% 75% at 50% 100%, rgba(90,179,240,0.32) 0%, rgba(90,179,240,0) 100%),
    linear-gradient(180deg, rgba(15,39,66,0.98) 0%, rgba(18,62,104,0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 16px 32px rgba(0,0,0,0.24);
  transition: transform var(--dur-mid) var(--ease-smooth), box-shadow var(--dur-mid) var(--ease-smooth);
}

.btn-credits::before,
.btn-credits::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity var(--dur-mid) var(--ease-smooth);
}

.btn-credits::before {
  inset: 1px;
  border-radius: calc(var(--credits-round) - 1px);
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
}

.btn-credits::after {
  background:
    radial-gradient(50% 90% at 50% 100%, rgba(122,194,245,0.28) 0%, rgba(122,194,245,0) 100%),
    linear-gradient(180deg, rgba(29,88,141,0.2) 0%, rgba(29,88,141,0) 100%);
  opacity: 0.9;
}

.btn-credits:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 18px 36px rgba(0,0,0,0.28),
    0 0 0 1px rgba(90,179,240,0.18);
}

.btn-credits:active {
  transform: scale(0.97);
}

.btn-credits__fold {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  width: 1rem;
  height: 1rem;
  background: radial-gradient(100% 75% at 55%, rgba(122,194,245,0.45) 0%, rgba(122,194,245,0) 100%);
  box-shadow: 0 0 4px rgba(0,0,0,0.25);
  border-bottom-left-radius: 0.8rem;
  border-top-right-radius: var(--credits-round);
  transition: margin var(--dur-slow) var(--ease-smooth);
}

.btn-credits__fold::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150%;
  height: 150%;
  transform: rotate(45deg) translateX(0%) translateY(-18px);
  background: rgba(239,248,255,0.95);
  pointer-events: none;
}



.btn-credits__points {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.btn-credits__point {
  position: absolute;
  bottom: -10px;
  width: 2px;
  height: 2px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.92);
  animation: creditsFloatingPoints infinite ease-in-out;
}

.btn-credits__point:nth-child(1) { left: 10%; opacity: 1; animation-duration: 2.35s; animation-delay: 0.2s; }
.btn-credits__point:nth-child(2) { left: 30%; opacity: 0.7; animation-duration: 2.5s; animation-delay: 0.5s; }
.btn-credits__point:nth-child(3) { left: 25%; opacity: 0.8; animation-duration: 2.2s; animation-delay: 0.1s; }
.btn-credits__point:nth-child(4) { left: 44%; opacity: 0.6; animation-duration: 2.05s; }
.btn-credits__point:nth-child(5) { left: 50%; opacity: 1; animation-duration: 1.9s; }
.btn-credits__point:nth-child(6) { left: 75%; opacity: 0.5; animation-duration: 1.5s; animation-delay: 1.5s; }
.btn-credits__point:nth-child(7) { left: 88%; opacity: 0.9; animation-duration: 2.2s; animation-delay: 0.2s; }
.btn-credits__point:nth-child(8) { left: 58%; opacity: 0.8; animation-duration: 2.25s; animation-delay: 0.2s; }
.btn-credits__point:nth-child(9) { left: 98%; opacity: 0.6; animation-duration: 2.6s; animation-delay: 0.1s; }
.btn-credits__point:nth-child(10) { left: 65%; opacity: 1; animation-duration: 2.5s; animation-delay: 0.2s; }

.btn-credits__inner {
  z-index: 2;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  color: #f4fbff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
}

.btn-credits__icon {
  width: 18px;
  height: 18px;
  transition: fill 0.1s linear;
}

.btn-credits:focus-visible .btn-credits__icon {
  fill: currentColor;
}

.btn-credits:hover .btn-credits__icon {
  fill: transparent;
  animation:
    creditsDasharray 1s linear forwards,
    creditsFilled 0.1s linear forwards 0.95s;
}

@keyframes creditsFloatingPoints {
  0% { transform: translateY(0); }
  85% { opacity: 0; }
  100% { transform: translateY(-55px); opacity: 0; }
}

@keyframes creditsDasharray {
  from { stroke-dasharray: 0 0 0 0; }
  to { stroke-dasharray: 68 68 0 0; }
}

@keyframes creditsFilled {
  to { fill: currentColor; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white-40);
  cursor: pointer;
  transition: color var(--dur-fast);
}

.hero__scroll:hover { color: var(--white-70); }

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid currentColor;
  border-radius: var(--r-pill);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::before {
  content: '';
  display: block;
  width: 3px;
  height: 7px;
  background: currentColor;
  border-radius: var(--r-pill);
  animation: scrollDot 1.8s var(--ease-smooth) infinite;
}

@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.scroll-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ======================================================
   SECTION HEADERS (shared)
====================================================== */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header .t-label {
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.section-title em {
  font-style: italic;
  color: var(--blue-pale);
}

.section-lead {
  font-size: 1.05rem;
  font-weight: 200;
  color: var(--white-60);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ======================================================
   WHAT IS (Qué es)
====================================================== */
#what {
  position: relative;
  background: var(--blue-deep);
  overflow: hidden;
}

#what::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,95,168,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.what__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.what__visual {
  position: relative;
}

.what__orb {
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(90,179,240,0.25) 0%,
    rgba(26,95,168,0.15) 40%,
    rgba(6,32,64,0.8) 70%,
    var(--blue-deep) 100%
  );
  box-shadow:
    0 0 80px rgba(26,95,168,0.3),
    0 0 160px rgba(26,95,168,0.1),
    inset 0 0 60px rgba(90,179,240,0.1);
  position: relative;
  overflow: visible;
  animation: orbPulse 6s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 80px rgba(26,95,168,0.3), 0 0 160px rgba(26,95,168,0.1), inset 0 0 60px rgba(90,179,240,0.1); }
  50%       { box-shadow: 0 0 100px rgba(26,95,168,0.45), 0 0 200px rgba(26,95,168,0.15), inset 0 0 80px rgba(90,179,240,0.15); }
}

.what__orb-inner {
  position: absolute;
  top: 20%;
  left: 15%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,0.08), transparent 60%);
}

.what__orb-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  opacity: 0.92;
  z-index: 1;
}

.what__tags {
  position: absolute;
  inset: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.what__tag {
  position: absolute;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-pale);
  background: rgba(6,32,64,0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(90,179,240,0.2);
  border-radius: var(--r-pill);
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
}

/* Positions for orbit tags */
.what__tag:nth-child(1) { top: 5%; left: 50%; transform: translateX(-50%); }
.what__tag:nth-child(2) { top: 20%; right: -8%; }
.what__tag:nth-child(3) { bottom: 20%; right: -5%; }
.what__tag:nth-child(4) { bottom: 5%; left: 50%; transform: translateX(-50%); }
.what__tag:nth-child(5) { bottom: 20%; left: -8%; }
.what__tag:nth-child(6) { top: 20%; left: -5%; }

.what__text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.what__text h2 em { font-style: italic; color: var(--blue-pale); }

.what__text p {
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.85;
  color: var(--white-70);
  margin-bottom: 1.2rem;
}

.what__text p:last-child { margin-bottom: 0; }

/* ======================================================
   BENEFITS
====================================================== */
#benefits {
  background: var(--blue-deepest);
  position: relative;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(10,54,96,0.4) 0%, rgba(6,32,64,0.4) 100%);
  border: 1px solid rgba(90,179,240,0.12);
  overflow: hidden;
  transition: all var(--dur-mid) var(--ease-smooth);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90,179,240,0.4), transparent);
  opacity: 0;
  transition: opacity var(--dur-mid);
}

.benefit-card:hover {
  border-color: rgba(90,179,240,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.benefit-card:hover::before { opacity: 1; }

.benefit__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,143,220,0.25), rgba(26,95,168,0.1));
  border: 1px solid rgba(90,179,240,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.benefit__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.benefit__desc {
  font-size: 0.88rem;
  font-weight: 200;
  color: var(--white-60);
  line-height: 1.75;
}

/* ======================================================
   RITUAL STEPS
====================================================== */
#ritual {
  background: var(--blue-deep);
  position: relative;
  overflow: hidden;
}

#ritual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(90,179,240,0.3) 50%, transparent 100%);
}

.ritual__timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.ritual__line {
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(90,179,240,0.3) 10%,
    rgba(90,179,240,0.3) 90%,
    transparent
  );
}

.ritual-step {
  display: flex;
  gap: 2.5rem;
  padding: 0 0 3.5rem 0;
  position: relative;
}

.ritual-step:last-child { padding-bottom: 0; }

.ritual__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-mid);
  border: 1px solid rgba(90,179,240,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--blue-pale);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: all var(--dur-mid) var(--ease-smooth);
}

.ritual-step:hover .ritual__num {
  background: var(--blue-main);
  border-color: var(--blue-light);
  box-shadow: 0 0 30px rgba(26,95,168,0.5);
}

.ritual__content {
  padding-top: 0.8rem;
}

.ritual__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.ritual__desc {
  font-size: 0.95rem;
  font-weight: 200;
  color: var(--white-60);
  line-height: 1.8;
}

/* ======================================================
   WHY BLUE BUBBLE
====================================================== */
#why {
  background: var(--blue-deepest);
  position: relative;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.8rem;
  border-radius: var(--r-md);
  background: var(--white-05);
  border: 1px solid var(--white-10);
  transition: all var(--dur-mid) var(--ease-smooth);
}

.why-item:hover {
  background: rgba(26,95,168,0.1);
  border-color: rgba(90,179,240,0.2);
}

.why__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.why__text h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.why__text p {
  font-size: 0.875rem;
  font-weight: 200;
  color: var(--white-60);
  line-height: 1.75;
}

.why__creator {
  text-align: center;
  max-width: 600px;
  margin: 4rem auto 0;
  padding: 2.5rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(10,54,96,0.3), rgba(6,32,64,0.5));
  border: 1px solid rgba(90,179,240,0.15);
}

.why__creator-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.8rem;
}

.why__creator-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.8rem;
  font-style: italic;
}

.why__creator p {
  font-size: 0.9rem;
  color: var(--white-60);
  line-height: 1.8;
}

/* ======================================================
   TESTIMONIALS
====================================================== */
#testimonials {
  background: var(--blue-deep);
  overflow: hidden;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonials__carousel {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 min(420px, calc(100vw - 3rem));
  padding: 2.2rem;
  border-radius: var(--r-lg);
  background: rgba(10,54,96,0.25);
  border: 1px solid rgba(90,179,240,0.1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(90,179,240,0.15);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  pointer-events: none;
}

.testimonial__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.2rem;
  color: var(--gold-soft);
  font-size: 0.85rem;
}

.testimonial__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--white-80);
  margin-bottom: 1.5rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-mid), var(--blue-dark));
  border: 1px solid rgba(90,179,240,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--blue-pale);
  font-weight: 500;
}

.testimonial__name {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--white);
}

.testimonial__note {
  font-size: 0.72rem;
  color: var(--white-50);
  letter-spacing: 0.05em;
}

.testimonials__disclaimer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--white-30);
  font-style: italic;
}

/* ======================================================
   CTA / PRICING
====================================================== */
#pricing {
  background: var(--blue-deepest);
  position: relative;
  overflow: hidden;
}

#pricing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,95,168,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pricing__card {
  max-width: 680px;
  margin: 0 auto;
  padding: 3.5rem;
  border-radius: var(--r-xl);
  background: linear-gradient(145deg,
    rgba(10,54,96,0.5) 0%,
    rgba(6,32,64,0.7) 50%,
    rgba(4,21,39,0.9) 100%
  );
  border: 1px solid rgba(90,179,240,0.2);
  box-shadow: 0 0 80px rgba(26,95,168,0.15), var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90,179,240,0.6), transparent);
}

.pricing__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
}

.pricing__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pricing__duration {
  font-size: 0.85rem;
  color: var(--white-50);
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
}

.pricing__divider {
  width: 60px;
  height: 1px;
  background: rgba(90,179,240,0.3);
  margin: 0 auto 2.5rem;
}

/* Lista incluidos */
.pricing__includes {
  list-style: none;
  margin-bottom: 3rem;
  text-align: left;
}

.pricing__includes li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white-70);
  border-bottom: 1px solid var(--white-05);
}

.pricing__includes li::before {
  content: '✦';
  color: var(--blue-light);
  font-size: 0.6rem;
  flex-shrink: 0;
}

/* Precio */
.pricing__price-block {
  margin-bottom: 2.5rem;
}

.pricing__price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  /* EDITAR PRECIO AQUÍ: cambia el atributo data-price en el HTML */
}

.pricing__price span {
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--blue-pale);
}

.pricing__price-note {
  font-size: 0.78rem;
  color: var(--white-40);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}

/* Botones pricing */
.pricing__ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.pricing__ctas .btn-primary { width: 100%; justify-content: center; }
.pricing__ctas .btn-secondary { width: 100%; justify-content: center; }
.pricing__ctas .btn-credits { width: 100%; justify-content: center; }

/* ======================================================
   CONTACT FORM
====================================================== */
#contact {
  background: var(--blue-deep);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact__info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact__info p {
  font-size: 0.9rem;
  color: var(--white-60);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.contact__detail-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__detail-text {
  font-size: 0.875rem;
  color: var(--white-70);
  line-height: 1.6;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-60);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(10,54,96,0.3);
  border: 1px solid rgba(90,179,240,0.2);
  border-radius: var(--r-md);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white);
  transition: all var(--dur-fast) var(--ease-smooth);
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235ab3f0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  background: rgba(10,54,96,0.5);
  box-shadow: 0 0 0 3px rgba(43,143,220,0.12);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #e05a5a;
}

.field-error {
  font-size: 0.72rem;
  color: #f08080;
  display: none;
}

.form-group.error .field-error { display: block; }

/* Privacy checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(90,179,240,0.55);
  background: rgba(10,54,96,0.35);
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 2px;
  display: inline-grid;
  place-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.form-checkbox-text {
  font-size: 0.8rem;
  color: var(--white-50);
  line-height: 1.6;
}

.form-checkbox-text label {
  cursor: pointer;
}

.form-inline-link {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

.form-checkbox input[type="checkbox"]::before {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform var(--dur-fast) var(--ease-smooth);
  margin-top: -1px;
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--blue-main);
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(43,143,220,0.12);
}

.form-checkbox input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

.form-checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
}

/* Success / Error states */
.form-message {
  padding: 1rem 1.5rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 300;
  display: none;
}

.form-message.success {
  background: rgba(26,168,110,0.15);
  border: 1px solid rgba(26,168,110,0.3);
  color: #6ee4b8;
  display: block;
}

.form-message.error {
  background: rgba(224,90,90,0.12);
  border: 1px solid rgba(224,90,90,0.25);
  color: #f08080;
  display: block;
}

/* ======================================================
   MAP / LOCATION
====================================================== */
#location {
  background: var(--blue-deepest);
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
}

.location__info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.location__address {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--white-60);
  margin-bottom: 1.5rem;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(90,179,240,0.3);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  transition: all var(--dur-mid);
}

.btn-directions:hover {
  background: rgba(26,95,168,0.2);
  border-color: var(--blue-light);
}

.map-container {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 380px;
  border: 1px solid rgba(90,179,240,0.15);
  background: var(--blue-dark);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(40%) contrast(1.1);
}

/* ======================================================
   FAQ
====================================================== */
#faq {
  background: var(--blue-deep);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.faq-item {
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(10,54,96,0.2);
  border: 1px solid rgba(90,179,240,0.1);
  margin-bottom: 0.8rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--dur-fast);
  gap: 1rem;
}

.faq-question:hover { color: var(--blue-pale); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(90,179,240,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--dur-mid) var(--ease-smooth);
  font-size: 1rem;
  color: var(--blue-light);
}

.faq-item.open .faq-icon {
  background: var(--blue-main);
  border-color: var(--blue-main);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-smooth), padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 200;
  color: var(--white-60);
  line-height: 1.85;
}

/* ======================================================
   FOOTER
====================================================== */
#footer {
  background: var(--blue-deepest);
  border-top: 1px solid var(--white-10);
  padding: 5rem 0 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand .logo__text {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.footer__claim {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--white-50);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--white-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--white-60);
  transition: all var(--dur-fast);
}

.social-link:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  background: rgba(26,95,168,0.15);
}

.footer__col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 1.2rem;
}

.footer__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__nav a {
  font-size: 0.875rem;
  font-weight: 200;
  color: var(--white-60);
  transition: color var(--dur-fast);
}

.footer__nav a:hover { color: var(--blue-pale); }

.footer__legal-trigger {
  font-size: 0.875rem;
  font-weight: 200;
  color: var(--white-60);
  transition: color var(--dur-fast);
  padding: 0;
  text-align: left;
}

.footer__legal-trigger:hover { color: var(--blue-pale); }

.footer__contact-item {
  font-size: 0.875rem;
  font-weight: 200;
  color: var(--white-60);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--white-10);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 0.72rem;
  color: var(--white-30);
  letter-spacing: 0.05em;
  transition: color var(--dur-fast);
}

.footer__legal a:hover { color: var(--white-60); }

.footer__legal-trigger--inline {
  font-size: 0.72rem;
  color: var(--white-30);
  letter-spacing: 0.05em;
}

.footer__legal-trigger--inline:hover { color: var(--white-60); }

.footer__copy {
  font-size: 0.72rem;
  color: var(--white-30);
}

/* ======================================================
   LEGAL MODAL
====================================================== */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-smooth);
}

.legal-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,13,26,0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.legal-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(90,179,240,0.2);
  background: linear-gradient(180deg, rgba(6,32,64,0.96) 0%, rgba(2,13,26,0.98) 100%);
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}

.legal-modal__body {
  max-height: min(88vh, 900px);
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
}

.legal-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}

.legal-modal__close:hover {
  background: rgba(90,179,240,0.18);
  border-color: rgba(90,179,240,0.35);
  transform: scale(1.03);
}

.legal-modal__breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.9rem;
}

.legal-modal__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.legal-modal__section + .legal-modal__section {
  margin-top: 1.5rem;
}

.legal-modal__section h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.legal-modal__section p,
.legal-modal__section li {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--white-70);
}

.legal-modal__section p + p {
  margin-top: 0.85rem;
}

.legal-modal__section ul {
  padding-left: 1.1rem;
  margin: 0.85rem 0;
}

.legal-modal__section li + li {
  margin-top: 0.45rem;
}

/* ======================================================
   UTILITY — GLOW LINE DIVIDER
====================================================== */
.glow-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  margin: 0 auto 1.5rem;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 1024px) {
  .what__grid { grid-template-columns: 1fr; gap: 3rem; }
  .what__visual { order: -1; }
  .what__orb { max-width: 360px; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex-basis: min(360px, calc(100vw - 3rem)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .location__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 5rem;
  }

  .header__nav { display: none; }
  .btn-cta-header { display: none; }
  .hamburger { display: flex; }
  .testimonials__carousel {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    mask-image: none;
    -webkit-mask-image: none;
    scroll-snap-type: x proximity;
  }
  .testimonials__track { width: auto; }
  .testimonial-card {
    flex-basis: calc(100vw - 4rem);
    scroll-snap-align: start;
  }

  .hero__title { font-size: clamp(2.5rem, 8vw, 4rem); }

  .benefits__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .pricing__card { padding: 2.5rem 1.8rem; }
  .legal-modal { padding: 1rem; }
  .legal-modal__body { padding: 2rem 1.25rem 1.5rem; }
  .legal-modal__title { padding-right: 2.5rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn-primary,
  .hero__ctas .btn-secondary,
  .hero__ctas .btn-credits { width: 100%; justify-content: center; }
  .what__tag { display: none; }
  .what__tag:nth-child(1),
  .what__tag:nth-child(4) { display: block; }
}
