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

:root {
  --navy:    #0A1628;
  --deep:    #040d1a;
  --gold:    #C9A84C;
  --gold2:   #F0D080;
  --gold3:   #8a5f18;
  --teal:    #1A7A72;
  --teal2:   #0d4a46;
  --white:   #F5F2EA;
  --muted:   rgba(245,242,234,0.55);
  --border:  rgba(201,168,76,0.15);
  --glass:   rgba(255,255,255,0.04);
  --nav-h:   72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   SHARED UTILITIES
═══════════════════════════════════════════ */
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

.gold { color: var(--gold); }
.gold2 { color: var(--gold2); }
.teal { color: var(--teal); }

.section-eyebrow {
  font-size: 10px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; flex: 1; max-width: 48px; height: 1px;
  background: var(--gold); opacity: 0.4;
}
.section-eyebrow.left::before { display: none; }
.section-eyebrow.left { justify-content: flex-start; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 16px; color: var(--muted); line-height: 1.8;
  max-width: 600px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--deep); font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 32px; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(201,168,76,0.3);
  transition: all 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(201,168,76,0.45);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white); font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 13px 30px; border-radius: 50px;
  text-decoration: none; border: 1px solid rgba(245,242,234,0.25);
  cursor: pointer; transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ═══════════════════════════════════════════
   GLOBAL BG ORBS
═══════════════════════════════════════════ */
.global-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.gb-orb {
  position: absolute; border-radius: 50%;
  animation: gbPulse 10s ease-in-out infinite;
}
.gb1 {
  width: 800px; height: 800px; top: -300px; left: -200px;
  background: radial-gradient(circle, rgba(26,122,114,0.08) 0%, transparent 60%);
}
.gb2 {
  width: 600px; height: 600px; bottom: -200px; right: -150px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 60%);
  animation-delay: -5s;
}
@keyframes gbPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(4,13,26,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.15);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900; text-decoration: none;
  color: var(--white); display: flex; align-items: center; gap: 4px;
}
.nav-logo span { color: var(--gold); }
.nav-logo svg { width: 32px; height: 32px; margin-right: 6px; }

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.5px; color: rgba(245,242,234,0.7);
  text-decoration: none; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--deep); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 24px; border-radius: 50px; text-decoration: none;
  transition: all 0.3s; white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,168,76,0.4); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-mesh {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, var(--deep) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 80px 0;
}

.hero-left { max-width: 580px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50px; padding: 6px 16px;
  font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold2); margin-bottom: 28px;
  animation: fadeDown 0.8s ease both;
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900; line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeDown 0.8s ease 0.1s both;
}
.hero-h1 em { color: var(--gold2); font-style: italic; display: block; }

.hero-desc {
  font-size: 17px; color: var(--muted); line-height: 1.85;
  margin-bottom: 36px; max-width: 480px;
  animation: fadeDown 0.8s ease 0.2s both;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeDown 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex; gap: 32px; margin-top: 52px;
  animation: fadeDown 0.8s ease 0.4s both;
}
.hstat { text-align: left; }
.hstat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 900; color: var(--gold);
  line-height: 1; margin-bottom: 4px;
}
.hstat-label { font-size: 11px; color: var(--muted); letter-spacing: 1px; line-height: 1.4; }

/* Hero Right — Animated Logo */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative; animation: fadeLeft 1s ease 0.3s both;
}
.hero-logo-wrap {
  position: relative; width: 380px; height: 380px;
}
.hero-logo-wrap svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 60px rgba(201,168,76,0.25));
}
.orbit-label {
  position: absolute; font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(201,168,76,0.7);
  background: rgba(4,13,26,0.8);
  padding: 4px 10px; border-radius: 20px;
  border: 1px solid rgba(201,168,76,0.2);
  white-space: nowrap;
}
.ol1 { top: 10%; right: -20px; }
.ol2 { bottom: 25%; right: -30px; }
.ol3 { bottom: 10%; left: -20px; }
.ol4 { top: 25%; left: -30px; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes spinRev {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
.ring-spin    { animation: spin    20s linear infinite; transform-origin: 190px 190px; }
.ring-spinrev { animation: spinRev 15s linear infinite; transform-origin: 190px 190px; }

/* ═══════════════════════════════════════════
   ANNOUNCEMENT TICKER
═══════════════════════════════════════════ */
.ticker-bar {
  background: linear-gradient(90deg, var(--teal2), var(--navy), var(--teal2));
  border-top: 1px solid rgba(26,122,114,0.3);
  border-bottom: 1px solid rgba(26,122,114,0.3);
  padding: 12px 0; overflow: hidden; position: relative; z-index: 2;
}
.ticker-track {
  display: flex; gap: 60px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(245,242,234,0.6); display: flex; align-items: center; gap: 12px;
}
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ═══════════════════════════════════════════
   WHAT IS CÍRCULO7
═══════════════════════════════════════════ */
#nosotros {
  padding: 120px 0; position: relative; z-index: 1;
}

.nosotros-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.nosotros-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.nos-card {
  background: var(--glass); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 24px 20px;
  transition: all 0.3s;
}
.nos-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
}
.nos-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(26,122,114,0.08));
  border-color: rgba(201,168,76,0.22);
}
.nos-icon { font-size: 28px; margin-bottom: 12px; }
.nos-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.nos-text { font-size: 12px; color: var(--muted); line-height: 1.65; }

.nosotros-content .section-sub { margin-bottom: 36px; }

.values-list { display: flex; flex-direction: column; gap: 14px; }
.value-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  background: var(--glass); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px; transition: all 0.3s;
}
.value-item:hover { border-color: rgba(201,168,76,0.2); }
.value-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.value-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.value-text span { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
#como-funciona {
  padding: 120px 0; position: relative; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(10,22,40,0.6) 50%, transparent);
}

.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: 64px; position: relative;
}
.steps-connector {
  position: absolute; top: 48px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
  opacity: 0.25; z-index: 0;
}

.step-card {
  background: var(--glass); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 32px 24px; text-align: center;
  position: relative; z-index: 1; transition: all 0.3s;
  margin: 2px;
}
.step-card:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-6px);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900;
  position: relative;
}
.step-card:nth-child(1) .step-num { background: linear-gradient(135deg, var(--gold), var(--gold3)); color: var(--deep); box-shadow: 0 0 0 8px rgba(201,168,76,0.1); }
.step-card:nth-child(2) .step-num { background: linear-gradient(135deg, var(--teal), var(--teal2)); color: var(--white); box-shadow: 0 0 0 8px rgba(26,122,114,0.1); }
.step-card:nth-child(3) .step-num { background: linear-gradient(135deg, #4a8fd4, #1a3a70); color: var(--white); box-shadow: 0 0 0 8px rgba(74,143,212,0.1); }
.step-card:nth-child(4) .step-num { background: linear-gradient(135deg, #4aad6a, #1a5030); color: var(--white); box-shadow: 0 0 0 8px rgba(74,173,106,0.1); }

.step-card h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.step-badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
}
.step-card:nth-child(1) .step-badge { background: rgba(201,168,76,0.12); color: var(--gold2); border: 1px solid rgba(201,168,76,0.2); }
.step-card:nth-child(2) .step-badge { background: rgba(26,122,114,0.12); color: #5ecec5; border: 1px solid rgba(26,122,114,0.2); }
.step-card:nth-child(3) .step-badge { background: rgba(74,143,212,0.12); color: #7ab4e8; border: 1px solid rgba(74,143,212,0.2); }
.step-card:nth-child(4) .step-badge { background: rgba(74,173,106,0.12); color: #5ecf85; border: 1px solid rgba(74,173,106,0.2); }

/* ═══════════════════════════════════════════
   MEMBERSHIP TIERS
═══════════════════════════════════════════ */
#membresia {
  padding: 120px 0; position: relative; z-index: 1;
}

.tiers-header { text-align: center; margin-bottom: 64px; }
.tiers-header .section-sub { margin: 0 auto; }

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

.tier-card {
  border-radius: 24px; padding: 36px 28px; position: relative;
  overflow: hidden; transition: transform 0.3s;
}
.tier-card:hover { transform: translateY(-6px); }

.tier-card.basic {
  background: var(--glass); border: 1px solid rgba(255,255,255,0.08);
}
.tier-card.plata {
  background: linear-gradient(160deg, rgba(26,122,114,0.2), rgba(10,22,40,0.6));
  border: 1px solid rgba(26,122,114,0.3);
}
.tier-card.oro {
  background: linear-gradient(160deg, rgba(201,168,76,0.15), rgba(10,22,40,0.6));
  border: 1px solid rgba(201,168,76,0.35);
}
.tier-card.oro::before {
  content: 'RECOMENDADO';
  position: absolute; top: 20px; right: -28px;
  background: var(--gold); color: var(--deep);
  font-size: 8px; font-weight: 700; letter-spacing: 2px;
  padding: 4px 40px; transform: rotate(45deg);
}

.tier-icon { font-size: 36px; margin-bottom: 16px; }
.tier-name { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 4px; }
.basic .tier-name { color: rgba(245,242,234,0.5); }
.plata .tier-name { color: #5ecec5; }
.oro .tier-name { color: var(--gold2); }

.tier-price {
  font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900;
  line-height: 1; margin-bottom: 4px;
}
.basic .tier-price { color: var(--white); }
.plata .tier-price { color: #5ecec5; }
.oro .tier-price { color: var(--gold2); }

.tier-period { font-size: 12px; color: var(--muted); margin-bottom: 28px; }

.tier-divider {
  height: 1px; margin-bottom: 24px;
  background: rgba(255,255,255,0.07);
}

.tier-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.tier-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.tf-check {
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0; margin-top: 2px;
}
.basic .tf-check { background: rgba(255,255,255,0.1); }
.plata .tf-check { background: rgba(26,122,114,0.3); }
.oro .tf-check { background: rgba(201,168,76,0.25); }

.tier-btn {
  display: block; text-align: center; padding: 14px 24px;
  border-radius: 12px; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-decoration: none; transition: all 0.3s;
}
.basic .tier-btn { background: rgba(255,255,255,0.07); color: var(--white); border: 1px solid rgba(255,255,255,0.12); }
.basic .tier-btn:hover { background: rgba(255,255,255,0.12); }
.plata .tier-btn { background: rgba(26,122,114,0.25); color: #5ecec5; border: 1px solid rgba(26,122,114,0.35); }
.plata .tier-btn:hover { background: rgba(26,122,114,0.4); }
.oro .tier-btn { background: linear-gradient(135deg, var(--gold), var(--gold3)); color: var(--deep); }
.oro .tier-btn:hover { box-shadow: 0 6px 24px rgba(201,168,76,0.4); }

/* ═══════════════════════════════════════════
   EDUCACIÓN
═══════════════════════════════════════════ */
#educacion {
  padding: 120px 0; position: relative; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(10,22,40,0.5) 50%, transparent);
}

.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.edu-classes { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.edu-class {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 24px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  background: var(--glass); position: relative;
  overflow: hidden; transition: all 0.3s; cursor: pointer;
}
.edu-class:hover { border-color: rgba(201,168,76,0.2); transform: translateX(6px); }
.edu-class.active {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(26,122,114,0.05));
  border-color: rgba(201,168,76,0.3);
}
.edu-num {
  font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900;
  line-height: 1; flex-shrink: 0;
}
.edu-class:nth-child(1) .edu-num { color: #4aad6a; }
.edu-class:nth-child(2) .edu-num { color: #4a8fd4; }
.edu-class:nth-child(3) .edu-num { color: var(--gold); }

.edu-class-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.edu-class-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.edu-class-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.edu-tag {
  padding: 2px 8px; border-radius: 6px; font-size: 10px; font-weight: 500;
  background: rgba(255,255,255,0.05); color: rgba(245,242,234,0.5);
  border: 1px solid rgba(255,255,255,0.07);
}

.edu-right { }
.edu-cert-box {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(26,122,114,0.08));
  border: 1px solid rgba(201,168,76,0.25); border-radius: 20px; padding: 36px;
  text-align: center; margin-top: 36px;
}
.edu-cert-icon { font-size: 48px; margin-bottom: 14px; }
.edu-cert-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.edu-cert-sub { font-size: 13px; color: var(--muted); line-height: 1.7; }

.edu-info-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.edu-info-tile {
  background: var(--glass); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 16px 12px; text-align: center;
}
.edu-info-icon { font-size: 22px; margin-bottom: 6px; }
.edu-info-title { font-size: 11px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.edu-info-sub { font-size: 10px; color: var(--muted); line-height: 1.4; }

/* ═══════════════════════════════════════════
   LOANS & ALLIANCES
═══════════════════════════════════════════ */
#prestamos {
  padding: 120px 0; position: relative; z-index: 1;
}

.loans-header { text-align: center; margin-bottom: 64px; }
.loans-header .section-sub { margin: 0 auto; }

.loans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 60px; }

.loan-card {
  border-radius: 20px; padding: 32px; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07); transition: all 0.3s;
}
.loan-card:hover { transform: translateY(-4px); }
.loan-card.established {
  background: linear-gradient(135deg, rgba(74,143,212,0.12), rgba(10,22,40,0.7));
  border-color: rgba(74,143,212,0.2);
}
.loan-card.alliance {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(10,22,40,0.7));
  border-color: rgba(201,168,76,0.2);
}

.loan-type {
  font-size: 9px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 8px;
}
.established .loan-type { color: #7ab4e8; }
.alliance .loan-type { color: var(--gold2); }

.loan-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: var(--white); margin-bottom: 14px; }
.loan-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }

.loan-details { display: flex; flex-direction: column; gap: 8px; }
.ld {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 8px;
  background: rgba(255,255,255,0.04); font-size: 12px;
}
.ld-key { color: var(--muted); }
.ld-val { color: var(--white); font-weight: 600; }
.established .ld-val { color: #7ab4e8; }
.alliance .ld-val { color: var(--gold2); }

/* Alliance visual */
.alliance-visual {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 20px;
}
.av-block {
  padding: 12px 20px; border-radius: 10px; text-align: center; flex: 1;
}
.av-block.owner { background: rgba(74,173,106,0.12); border: 1px solid rgba(74,173,106,0.2); }
.av-block.c7 { background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.2); }
.av-pct { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; line-height: 1; }
.av-block.owner .av-pct { color: #5ecf85; }
.av-block.c7 .av-pct { color: var(--gold2); }
.av-label { font-size: 10px; color: var(--muted); margin-top: 3px; }
.av-divider {
  font-size: 20px; color: var(--muted); padding: 0 8px; font-weight: 300; margin: 0 4px;
}

/* Investments grid */
.investments-title {
  font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700;
  color: var(--white); margin-bottom: 28px; text-align: center;
}
.invest-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.invest-card {
  background: var(--glass); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 20px 16px; text-align: center; transition: all 0.3s;
}
.invest-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-3px); }
.invest-icon { font-size: 28px; margin-bottom: 10px; }
.invest-name { font-size: 12px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.invest-desc { font-size: 10px; color: var(--muted); line-height: 1.5; }

/* ═══════════════════════════════════════════
   TOKENS / DIGITAL
═══════════════════════════════════════════ */
#tecnologia {
  padding: 120px 0; position: relative; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(10,22,40,0.5) 50%, transparent);
}

.token-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.token-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.token-card {
  padding: 20px 16px; border-radius: 14px; border: 1px solid;
  transition: all 0.3s;
}
.token-card:hover { transform: translateY(-3px); }
.tc1 { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.2); }
.tc2 { background: rgba(74,143,212,0.08); border-color: rgba(74,143,212,0.2); }
.tc3 { background: rgba(26,122,114,0.08); border-color: rgba(26,122,114,0.2); }
.tc4 { background: rgba(74,173,106,0.08); border-color: rgba(74,173,106,0.2); }

.token-symbol {
  font-family: 'DM Mono', monospace; font-size: 14px; font-weight: 500;
  padding: 3px 10px; border-radius: 6px; display: inline-block; margin-bottom: 10px;
}
.tc1 .token-symbol { background: rgba(201,168,76,0.15); color: var(--gold2); }
.tc2 .token-symbol { background: rgba(74,143,212,0.15); color: #7ab4e8; }
.tc3 .token-symbol { background: rgba(26,122,114,0.15); color: #5ecec5; }
.tc4 .token-symbol { background: rgba(74,173,106,0.15); color: #5ecf85; }

.token-name { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.token-desc { font-size: 11px; color: var(--muted); line-height: 1.5; }

.token-flow {
  background: var(--glass); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 28px; margin-top: 24px;
}
.tf-title { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.tf-steps { display: flex; flex-direction: column; gap: 8px; }
.tf-step {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--muted); padding: 8px 12px;
  background: rgba(255,255,255,0.03); border-radius: 8px;
}
.tf-arrow { color: var(--gold); font-size: 10px; }

.token-right .section-sub { margin-bottom: 32px; }

.blockchain-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.blockchain-badge {
  padding: 6px 14px; border-radius: 20px;
  font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(245,242,234,0.7);
}

.digital-phases { display: flex; flex-direction: column; gap: 10px; }
.dp {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06); background: var(--glass);
}
.dp-phase {
  font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; white-space: nowrap; margin-top: 2px;
}
.dp1 .dp-phase { background: rgba(74,173,106,0.15); color: #5ecf85; }
.dp2 .dp-phase { background: rgba(74,143,212,0.15); color: #7ab4e8; }
.dp3 .dp-phase { background: rgba(201,168,76,0.15); color: var(--gold2); }
.dp-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.dp-text span { font-size: 11px; color: var(--muted); }

/* ═══════════════════════════════════════════
   LEGAL
═══════════════════════════════════════════ */
#legal {
  padding: 120px 0; position: relative; z-index: 1;
}

.legal-header { text-align: center; margin-bottom: 64px; }
.legal-header .section-sub { margin: 0 auto; }

.legal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 48px; }
.legal-card {
  background: var(--glass); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px; padding: 28px 22px; transition: all 0.3s;
}
.legal-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-4px); }
.legal-step-num {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 900;
  color: var(--gold); margin-bottom: 14px;
}
.legal-card h3 { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.legal-card p { font-size: 12px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.legal-items { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.legal-items li { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.legal-items li::before { content: '→'; color: var(--gold); font-size: 10px; }

.legal-note {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(26,122,114,0.06));
  border: 1px solid rgba(201,168,76,0.2); border-radius: 16px;
  padding: 28px 32px; display: flex; gap: 20px; align-items: flex-start;
}
.legal-note-icon { font-size: 32px; flex-shrink: 0; }
.legal-note-text strong { display: block; font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.legal-note-text p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ═══════════════════════════════════════════
   PILOT PLAN
═══════════════════════════════════════════ */
#piloto {
  padding: 120px 0; position: relative; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(10,22,40,0.5) 50%, transparent);
}

.pilot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.pilot-timeline { display: flex; flex-direction: column; gap: 0; position: relative; margin-top: 36px; }
.pilot-timeline::before {
  content: ''; position: absolute;
  left: 19px; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--teal), rgba(201,168,76,0.2));
}

.pt-item { display: flex; gap: 20px; padding-bottom: 24px; position: relative; }
.pt-dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  position: relative; z-index: 1;
}
.pt-dot.g1 { background: linear-gradient(135deg, var(--gold), var(--gold3)); box-shadow: 0 0 0 4px rgba(201,168,76,0.15); }
.pt-dot.g2 { background: linear-gradient(135deg, var(--teal), var(--teal2)); box-shadow: 0 0 0 4px rgba(26,122,114,0.15); }
.pt-dot.g3 { background: linear-gradient(135deg, #4a8fd4, #1a3a70); box-shadow: 0 0 0 4px rgba(74,143,212,0.15); }
.pt-dot.g4 { background: linear-gradient(135deg, #4aad6a, #1a5030); box-shadow: 0 0 0 4px rgba(74,173,106,0.15); }
.pt-dot.g5 { background: linear-gradient(135deg, #9b59b6, #5a2080); box-shadow: 0 0 0 4px rgba(155,89,182,0.15); }
.pt-dot.g6 { background: linear-gradient(135deg, var(--gold), var(--gold3)); box-shadow: 0 0 0 4px rgba(201,168,76,0.15); }

.pt-content { flex: 1; padding-top: 8px; }
.pt-month { font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.pt-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.pt-desc { font-size: 11px; color: var(--muted); line-height: 1.55; }

.pilot-projection {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
}
.proj-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.proj-sub { font-size: 12px; color: var(--muted); margin-bottom: 24px; }

.proj-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.ps {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 16px;
}
.ps-num {
  font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900;
  color: var(--gold); line-height: 1; margin-bottom: 4px;
}
.ps-label { font-size: 10px; color: var(--muted); line-height: 1.4; }

.proj-table { width: 100%; border-collapse: collapse; }
.proj-table th {
  font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); text-align: left; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.proj-table td {
  font-size: 12px; color: var(--white); padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.proj-table td:last-child { color: var(--gold); font-weight: 600; text-align: right; }

/* ═══════════════════════════════════════════
   CTA / JOIN
═══════════════════════════════════════════ */
#unete {
  padding: 140px 0; position: relative; z-index: 1;
}

.cta-box {
  background: linear-gradient(135deg, rgba(11,28,61,0.9), rgba(26,122,114,0.15));
  border: 1px solid rgba(201,168,76,0.2); border-radius: 32px;
  padding: 80px 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cta-box h2 {
  font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 60px);
  font-weight: 900; line-height: 1.1; margin-bottom: 20px;
  position: relative;
}
.cta-box p { font-size: 17px; color: var(--muted); line-height: 1.8; max-width: 520px; margin: 0 auto 40px; position: relative; }

.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; margin-bottom: 48px; }

.cta-trust {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  position: relative;
}
.ct-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.ct-icon { font-size: 16px; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--deep); border-top: 1px solid var(--border);
  padding: 64px 0 32px; position: relative; z-index: 1;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-brand {}
.footer-logo-wrap {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-logo-text {
  font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; color: var(--white);
}
.footer-logo-text span { color: var(--gold); }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.75; max-width: 300px; margin-bottom: 24px; }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; text-decoration: none; transition: all 0.2s;
}
.social-btn:hover { background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.25); }

.footer-col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(245,242,234,0.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(245,242,234,0.3); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .nosotros-grid, .edu-grid, .token-grid, .pilot-grid { grid-template-columns: 1fr; gap: 48px; }
  .tiers-grid, .invest-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .loans-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .cta-box { padding: 48px 28px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .legal-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .nosotros-visual { grid-template-columns: 1fr; }
  .tier-card.oro::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .proj-stats { grid-template-columns: 1fr; }
  .token-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .cta-trust { gap: 16px; }
}