/* ==========================================================================
   WTogether Official Landing — Pure Light Surface Standard (#FFFFFF)
   ========================================================================== */

:root {
  --bg-page: #FFFFFF;
  --bg-tint: #F8FAFC;
  --bg-soft-blue: #F0F6FF;
  --bg-soft-teal: #EEFAFA;
  --bg-soft-gold: #FFFBEB;

  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-600: #4F4F4F;
  --ink-500: #64748B;

  --cobalt-600: #0052CC;
  --cobalt-700: #003E9C;
  --sky-500: #2196F3;
  --teal-600: #0EA5A4;
  --teal-700: #0B8483;
  --gold-500: #F59E0B;
  --gold-700: #B45309;
  --danger-600: #DC2626;
  --success-700: #0F766E;

  --border-light: #E2E8F0;
  --border-strong: #CBD5E1;

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 36px -14px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 54px -20px rgba(0, 82, 204, 0.14);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-display: 'Plus Jakarta Sans', 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --header-height: 74px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--ink-900);
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--ink-700);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--cobalt-600);
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink-900);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--cobalt-600);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid rgba(0, 82, 204, 0.35);
  outline-offset: 2px;
}

.btn-sm {
  padding: 10px 15px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 15.5px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cobalt-600) 0%, #0A66E0 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -8px rgba(0, 82, 204, 0.55);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cobalt-700) 0%, var(--cobalt-600) 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(0, 82, 204, 0.62);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--cobalt-600);
  border-color: #BFDBFE;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-soft-blue);
  border-color: var(--cobalt-600);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
}

.btn-ghost:hover {
  background: var(--bg-tint);
  color: var(--cobalt-600);
}

.btn-link {
  background: transparent;
  color: var(--teal-700);
  padding-inline: 10px;
}

.btn-link:hover {
  color: var(--cobalt-600);
  background: var(--bg-soft-teal);
}

.icon-inline {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-900);
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.1;
  color: var(--ink-900);
}

.brand-tagline {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--teal-700);
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-600);
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--cobalt-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: var(--ink-900);
  cursor: pointer;
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(0, 82, 204, 0.35);
  outline-offset: 2px;
}

.mobile-menu {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding-block: 16px 20px;
  gap: 6px;
}

.mobile-menu-inner > a {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink-700);
}

.mobile-menu-inner > a:hover {
  background: var(--bg-tint);
  color: var(--cobalt-600);
}

.mobile-menu-ctas {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

/* Hero Section */
.hero {
  position: relative;
  background: #FFFFFF;
  padding-block: 44px 56px;
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 46%, rgba(0, 82, 204, 0.065) 0%, rgba(14, 165, 164, 0.045) 32%, rgba(255, 255, 255, 0) 64%),
    radial-gradient(circle at 12% 18%, rgba(245, 158, 11, 0.055) 0%, rgba(255, 255, 255, 0) 42%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 44px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft-blue);
  border: 1px solid #D7E8FF;
  color: var(--cobalt-600);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(14, 165, 164, 0.22);
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--ink-900);
}

.text-gradient {
  background: linear-gradient(115deg, var(--cobalt-600) 0%, var(--teal-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-600);
  max-width: 580px;
  margin-bottom: 26px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

/* Country Chips & Crisp SVG Flags */
.hero-countries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.hero-countries-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  margin-right: 4px;
}

.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-tint);
  border: 1px solid var(--border-light);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
}

.country-chip-active {
  background: #FFFFFF;
  border-color: #CBDDF8;
  box-shadow: 0 2px 6px rgba(0, 82, 204, 0.06);
}

.flag-svg {
  width: 20px;
  height: 13.5px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.flag-lg {
  width: 28px;
  height: 19px;
}

.flag-xl {
  width: 36px;
  height: 24px;
  border-radius: 4px;
}

.chip-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.chip-status-live {
  background: #E6FAF7;
  color: var(--success-700);
}

.chip-status-soon {
  background: var(--bg-soft-gold);
  color: var(--gold-700);
}

/* Hero Visual Portal */
.hero-portal-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-portal {
  position: relative;
  width: min(100%, 450px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.portal-ring {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 45%, rgba(0, 82, 204, 0.04) 100%);
  border: 1px solid rgba(0, 82, 204, 0.12);
}

.portal-ring-3 {
  width: 92%;
  height: 92%;
  animation: pulseRing 7s ease-in-out infinite;
}

.portal-ring-2 {
  width: 68%;
  height: 68%;
  border-color: rgba(14, 165, 164, 0.18);
  animation: pulseRing 7s ease-in-out 1.4s infinite;
}

.portal-ring-1 {
  width: 44%;
  height: 44%;
  background: #FFFFFF;
  box-shadow: 0 16px 40px -14px rgba(0, 82, 204, 0.18);
  border-color: rgba(0, 82, 204, 0.22);
}

.portal-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: slowSpin 48s linear infinite;
}

.portal-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px;
}

.portal-core-logo {
  width: 66px;
  height: 66px;
  margin-bottom: 8px;
  border-radius: 16px;
  object-fit: contain;
}

.portal-core-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink-900);
}

.portal-core-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
}

.portal-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  min-width: 158px;
}

.portal-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-900);
  line-height: 1.2;
}

.portal-card span:last-child {
  display: block;
  font-size: 11.5px;
  color: var(--ink-500);
}

.portal-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-cobalt { background: var(--cobalt-600); box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.14); }
.dot-teal { background: var(--teal-600); box-shadow: 0 0 0 4px rgba(14, 165, 164, 0.16); }
.dot-gold { background: var(--gold-500); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18); }
.dot-sky { background: var(--sky-500); box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.16); }

.portal-card-tl { top: 8%; left: 0; }
.portal-card-tr { top: 10%; right: 0; }
.portal-card-bl { bottom: 10%; left: 2%; }
.portal-card-br { bottom: 8%; right: 0; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cobalt-600);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft-blue);
  border: 1px solid #D7E8FF;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.scroll-cue:hover {
  transform: translateY(2px);
  background: #E2EEFF;
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.035); opacity: 1; }
}

/* ==========================================================================
   Scroll-Driven Immersive World Journey ("Entrando en un mundo")
   ========================================================================== */
.world-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 14%, #F7FAFF 88%, #FFFFFF 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding-top: 64px;
  padding-bottom: 48px;
}

.world-intro-header {
  text-align: center;
  max-width: 760px;
  margin-bottom: 36px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt-600);
  margin-bottom: 10px;
}

.world-intro-header h2,
.section-header h2,
.contact-info h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16.5px;
  color: var(--ink-600);
  max-width: 680px;
  margin-inline: auto;
}

.world-track {
  position: relative;
  min-height: 290vh;
}

.world-sticky {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  padding-block: 10px 24px;
}

.world-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 28px;
  align-items: stretch;
}

.world-viewport {
  position: relative;
  min-height: 510px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid #D9E6F7;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

#world-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.depth-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 58px 28px 52px;
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  transition: opacity 0.42s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.depth-layer.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.stage-badge {
  position: absolute;
  top: 18px;
  left: 20px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #D7E8FF;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--cobalt-600);
  box-shadow: var(--shadow-sm);
}

.layer-center-card {
  max-width: 380px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow-md);
}

.layer-avatar-ring {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: var(--bg-soft-blue);
  border: 1.5px solid #CBE0FF;
  display: grid;
  place-items: center;
}

.layer-center-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.layer-center-card p {
  font-size: 14.5px;
  color: var(--ink-600);
  margin-bottom: 16px;
}

.layer-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.layer-pills span {
  font-size: 12px;
  font-weight: 700;
  color: var(--cobalt-600);
  background: var(--bg-soft-blue);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.layer-network-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 560px;
}

.mini-float-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #D7E8FF;
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.mf-metric {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--cobalt-600);
  margin-bottom: 4px;
}

.mini-float-card span:last-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
}

.layer-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 500px;
}

.hub-node {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hub-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 4px;
}

.hub-cobalt { background: var(--bg-soft-blue); color: var(--cobalt-600); }
.hub-teal { background: var(--bg-soft-teal); color: var(--teal-700); }
.hub-gold { background: var(--bg-soft-gold); color: var(--gold-700); }
.hub-sky { background: #EBF5FF; color: #0369A1; }

.hub-node strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-900);
}

.hub-node span:last-child {
  font-size: 13px;
  color: var(--ink-600);
}

/* Layer 3: World Constellation (Multipaís) */
.world-constellation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 510px;
}

.constellation-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  background: #FFFFFF;
  border: 1.5px solid #D7E8FF;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.constellation-node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-900);
}

.badge-live-inline {
  display: inline-block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--success-700);
  background: #E6FAF7;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.badge-soon-inline {
  display: inline-block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-700);
  background: var(--bg-soft-gold);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.layer-bottom-caption {
  position: absolute;
  bottom: 22px;
  left: 20px;
  right: 20px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-light);
  padding: 9px 14px;
  border-radius: 12px;
}

.world-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #EBF2FC;
}

.world-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--cobalt-600), var(--teal-600), var(--gold-500));
  transition: width 0.12s linear;
}

/* World Narrative Rail */
.world-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.chapter-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.chapter-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-tint);
  color: var(--ink-600);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.16s ease;
}

.chapter-tab:hover {
  border-color: #BFDBFE;
  color: var(--cobalt-600);
}

.chapter-tab.is-active {
  background: var(--bg-soft-blue);
  border-color: var(--cobalt-600);
  color: var(--cobalt-600);
}

.tab-num {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.chapter-panels {
  position: relative;
  flex: 1;
  display: grid;
}

.chapter-card {
  display: none;
  flex-direction: column;
  justify-content: center;
  padding-top: 8px;
}

.chapter-card.is-active {
  display: flex;
}

.chapter-kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-700);
  margin-bottom: 10px;
}

.chapter-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.chapter-card p {
  font-size: 15px;
  color: var(--ink-600);
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-700);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #E6FAF7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2 6.8 11 12.2 5.4' stroke='%230B8483' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ==========================================================================
   Generic Sections: Módulos, Multipaís, Planes, Contacto
   ========================================================================== */
.section {
  padding-block: 56px;
}

.section-white {
  background: #FFFFFF;
}

.section-tint {
  background: var(--bg-tint);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.sectors-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.sector-pill {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-tint);
  border: 1px solid var(--border-light);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.module-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  border-color: #BFDBFE;
  box-shadow: var(--shadow-md);
}

.module-card-ai {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FCFC 100%);
  border-color: #CCF0EE;
}

.module-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.module-head-row .module-icon {
  margin-bottom: 0;
}

.module-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.module-icon svg {
  width: 24px;
  height: 24px;
}

.icon-cobalt { background: var(--bg-soft-blue); color: var(--cobalt-600); }
.icon-teal { background: var(--bg-soft-teal); color: var(--teal-700); }
.icon-sky { background: #EBF6FF; color: #0284C7; }
.icon-gold { background: var(--bg-soft-gold); color: var(--gold-700); }

.badge-evolving {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #E6FAF7;
  color: var(--success-700);
}

.module-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.module-card p {
  font-size: 14.5px;
  color: var(--ink-600);
}

/* Multipaís Cards */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.country-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.country-card-live {
  border-color: #C7DDFB;
  box-shadow: var(--shadow-md);
}

.country-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.status-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.status-pill-live {
  background: #E6FAF7;
  color: var(--success-700);
}

.status-pill-soon {
  background: var(--bg-soft-gold);
  color: var(--gold-700);
}

.country-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.iso-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-500);
  background: var(--bg-tint);
  padding: 2px 7px;
  border-radius: 6px;
}

.country-card p {
  font-size: 14px;
  color: var(--ink-600);
}

/* Modalidades / Planes */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}

.plan-card-featured {
  border: 2px solid var(--cobalt-600);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 36%);
}

.plan-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-tint);
  color: var(--ink-600);
  margin-bottom: 14px;
}

.plan-badge-featured {
  background: var(--cobalt-600);
  color: #FFFFFF;
}

.plan-card h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.plan-desc {
  font-size: 14.5px;
  color: var(--ink-600);
  margin-bottom: 20px;
}

.plan-card .check-list {
  margin-bottom: 26px;
  flex: 1;
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 36px;
  align-items: start;
}

.contact-lead {
  font-size: 16px;
  color: var(--ink-600);
  margin-bottom: 24px;
}

.contact-detail-cards {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-detail-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-soft-blue);
  color: var(--cobalt-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.detail-icon svg {
  width: 22px;
  height: 22px;
}

.detail-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
}

.detail-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-900);
}

.quick-access-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.quick-access-box h3 {
  font-size: 15.5px;
  margin-bottom: 12px;
}

.quick-access-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-md);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  margin-bottom: 10px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.req { color: var(--cobalt-600); }
.opt { font-weight: 500; color: var(--ink-500); font-size: 12.5px; }

.char-counter {
  font-size: 12px;
  color: var(--ink-500);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cobalt-600);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.14);
}

.field input.has-error,
.field select.has-error,
.field textarea.has-error {
  border-color: var(--danger-600);
}

.field-error {
  display: block;
  min-height: 16px;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--danger-600);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot {
  margin-bottom: 14px;
}

.form-status {
  padding: 13px 15px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.form-status.is-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-status.is-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.form-privacy-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-500);
}

/* Footer Luminoso */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding-block: 30px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink-900);
  line-height: 1.1;
}

.footer-brand span {
  font-size: 12px;
  color: var(--ink-500);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a {
  color: var(--ink-600);
}

.footer-links a:hover {
  color: var(--cobalt-600);
}

.footer-copy {
  font-size: 13px;
  color: var(--ink-500);
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile 390px — Zero Horizontal Overflow)
   ========================================================================== */
@media (max-width: 1060px) {
  .main-nav,
  .header-actions .btn-ghost {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .world-track {
    min-height: auto;
  }

  .world-sticky {
    position: static;
  }

  .world-stage-grid {
    grid-template-columns: 1fr;
  }

  .world-viewport {
    min-height: 410px;
  }

  .modules-grid,
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .brand-tagline {
    display: none;
  }

  .hero {
    padding-block: 28px 40px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-portal {
    width: min(100%, 336px);
  }

  .portal-card {
    min-width: 0;
    padding: 7px 10px;
    gap: 7px;
  }

  .portal-card strong {
    font-size: 11.5px;
  }

  .portal-card span:last-child {
    font-size: 10.5px;
  }

  .world-viewport {
    min-height: 430px;
  }

  .layer-network-cards {
    grid-template-columns: 1fr;
  }

  .layer-hub-grid,
  .world-constellation,
  .modules-grid,
  .countries-grid,
  .plans-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .world-rail,
  .contact-form-card {
    padding: 20px 16px;
  }

  .section {
    padding-block: 52px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Accessibility: prefers-reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .portal-ring,
  .portal-arcs {
    animation: none !important;
  }

  .world-track {
    min-height: auto;
  }

  .world-sticky {
    position: static;
  }

  .depth-layer,
  .btn,
  .module-card {
    transition: none !important;
  }
}
