/* ===== VARIABLES ===== */
:root {
  --ink: #070B14;
  --navy: #0E1424;
  --blue: #2D6CFF;
  --blue-d: #1f59e0;
  --blue-l: #8FB0FF;
  --ember: #FF8A5B;
  --paper: #F7F5F1;
  --white: #fff;
  --ink-text: #11151F;
  --muted: #6B7180;
  --muted-d: #A8B0C0;
  --line-d: rgba(255, 255, 255, .07);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-hover: rgba(143, 176, 255, 0.5);
  --sans: 'Satoshi', system-ui, sans-serif;
  --display: 'Clash Display', system-ui, sans-serif;
  --label: 'Satoshi', system-ui, sans-serif;
}

/* ===== RESET ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 48px); }
.section { padding: clamp(64px, 9vw, 100px) 0; }

/* ===== UTILIDADES ===== */
.kicker {
  font-family: var(--label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}
.serif-h { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.placeholder {
  background-image: repeating-linear-gradient(45deg, #11203a 0 12px, #0e1b30 12px 24px);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .1);
}
.placeholder span { font-family: var(--label); font-size: 12px; color: #5d7196; letter-spacing: .06em; }

/* ===== BOTONES ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 9px; font-weight: 600; cursor: pointer;
  border: none; font-family: var(--sans);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 16px 26px;
  font-size: 16px;
  box-shadow: 0 0 0 0 rgba(45, 108, 255, 0);
}
.btn-primary:hover {
  background: var(--blue-d);
  box-shadow: 0 0 28px rgba(45, 108, 255, .45), 0 4px 16px rgba(45, 108, 255, .3);
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: #EDEFF4;
  padding: 15px 24px;
  font-size: 16px;
}
.btn-ghost:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-hover);
  box-shadow: 0 0 20px rgba(143, 176, 255, .1);
}

.arrow { display: inline-block; transition: transform .25s cubic-bezier(.4, 0, .2, 1); }
.btn:hover .arrow, .btn-license:hover .arrow { transform: translateX(4px); }

/* ===== LOGO ===== */
.logo { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.logo .word { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.04em; color: #EDEFF4; }
.logo .word .dot { color: var(--ember); }
.logo .sub { font-size: 9px; font-weight: 500; letter-spacing: .24em; color: #fff; margin-top: 5px; }

/* ===== HEADER ===== */
.site-header {
  background: rgba(3, 5, 13, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--glass-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: #B6BECE; font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 11px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, box-shadow .2s;
}
.nav-cta:hover {
  background: var(--blue-d);
  box-shadow: 0 0 20px rgba(45, 108, 255, .4);
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 5px; }
.nav-item > a::after { content: '▾'; font-size: 10px; color: #6E768A; transition: transform .2s; }
.nav-item:hover > a::after { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(6, 10, 24, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 6px; min-width: 210px;
  opacity: 0; visibility: hidden;
  transition: opacity .18s, visibility .18s, transform .18s;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255,255,255,.04);
  z-index: 100;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  color: #B6BECE; font-size: 14px; font-weight: 500;
  padding: 10px 14px; border-radius: 8px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.dropdown a:hover { background: rgba(255,255,255,.06); color: #fff; }
.dropdown .dd-icon {
  font-size: 15px; width: 28px; height: 28px;
  border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dropdown .dd-divider { height: 1px; background: var(--glass-border); margin: 4px 0; }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-btn span { width: 24px; height: 2px; background: #A8B0C0; display: block; transition: transform .2s, opacity .2s; }

.mobile-nav { display: none; background: rgba(3, 5, 13, 0.95); backdrop-filter: blur(20px); border-top: 1px solid var(--glass-border); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; color: #B6BECE; font-size: 16px; font-weight: 500; padding: 14px clamp(20px, 5vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .04); }
.mobile-nav a:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.mobile-nav .nav-cta { margin: 16px clamp(20px, 5vw, 64px); display: inline-block; border-radius: 9px; }

/* ===== GRADIENT ORBS ===== */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-blue {
  background: radial-gradient(circle, rgba(45, 108, 255, 0.45) 0%, rgba(45, 108, 255, 0.15) 40%, transparent 70%);
}
.orb-ember {
  background: radial-gradient(circle, rgba(255, 138, 91, 0.40) 0%, rgba(255, 138, 91, 0.12) 40%, transparent 70%);
}
.orb-purple {
  background: radial-gradient(circle, rgba(120, 60, 255, 0.35) 0%, rgba(120, 60, 255, 0.10) 40%, transparent 70%);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--ink);
  color: #EDEFF4;
  overflow: hidden;
}
.hero .ring {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.hero .ring1 {
  top: -200px; right: -160px; width: 560px; height: 560px;
  border: 1px solid rgba(143, 176, 255, .12);
}
.hero .ring2 {
  top: -40px; right: 180px; width: 260px; height: 260px;
  border: 1px solid rgba(255, 138, 91, .14);
}
/* Orbs para el hero */
.hero .orb-1 {
  width: 800px; height: 800px;
  top: -300px; right: -200px;
}
.hero .orb-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -120px;
}
.hero .orb-3 {
  width: 400px; height: 400px;
  top: 30%; right: 25%;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: center;
  padding-block: clamp(56px, 7vw, 84px) clamp(72px, 9vw, 104px);
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--blue-l);
  border: 1px solid rgba(143, 176, 255, .2);
  background: rgba(45, 108, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 100px; padding: 7px 14px;
}
.badge .d { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); animation: pulse 2s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 91, .5); }
  50% { box-shadow: 0 0 0 5px rgba(255, 138, 91, 0); }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 5.6vw, 70px);
  margin-top: 26px;
  font-weight: 500;
  letter-spacing: -.02em;
  word-spacing: .08em;
  line-height: 1.06;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-l);
  font-weight: 300;
}
.hero p.lead { font-size: 19px; line-height: 1.6; color: var(--muted-d); margin-top: 24px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.trust {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 46px;
  font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(110, 118, 138, 0.8);
}

/* Mock con glassmorphism */
.mock {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(8, 12, 26, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255,255,255,.06), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative; z-index: 1;
}
.mock .bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mock .bar .d1 { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); }
.mock .bar .d2 { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.mock .bar .lbl { font-family: var(--label); font-size: 11px; font-weight: 500; color: #6E768A; margin-left: 6px; letter-spacing: .05em; }
.mock .body { height: 330px; }

/* ===== SECCIONES CLARO / OSCURO ===== */
.light { background: var(--paper); color: var(--ink-text); }
.dark { background: var(--ink); color: #EDEFF4; }
.navy { background: var(--navy); color: #EDEFF4; }

.dark, .navy { position: relative; overflow: hidden; }
.dark::before, .navy::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(700px circle at 5% -10%, rgba(45, 108, 255, .28), transparent 60%),
    radial-gradient(600px circle at 95% 95%, rgba(255, 138, 91, .22), transparent 60%),
    radial-gradient(500px circle at 50% 50%, rgba(120, 60, 255, .14), transparent 70%);
}
.dark > .wrap, .navy > .wrap { position: relative; z-index: 1; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 46px); margin-top: 14px; }
.sec-head p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 340px; }

/* ===== CARDS (SERVICIOS) ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid rgba(17, 21, 31, .08);
  border-radius: 12px;
  padding: 30px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(45, 108, 255, .03), transparent 60%);
  opacity: 0; transition: opacity .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(45, 108, 255, .1), 0 0 0 1px rgba(45, 108, 255, .12); }
.card:hover::before { opacity: 1; }
.card .num { font-family: var(--label); font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 18px; letter-spacing: .06em; transition: color .18s, transform .18s; }
.card .num.amber { color: var(--ember); }
.card:hover .num { transform: translateX(3px); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { font-size: 14.5px; line-height: 1.6; color: #4A5160; }

/* ===== POR QUÉ MAGG ===== */
.why h2 { font-size: clamp(34px, 4.4vw, 46px); font-weight: 300; max-width: 760px; margin: 14px 0 56px; }
.why h2 .em { color: var(--ember); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar {
  padding: 36px 40px;
  border-right: 1px solid var(--line-d);
  transition: background .2s;
  border-radius: 4px;
}
.pillar:hover { background: rgba(255, 255, 255, .03); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; border-right: none; }
.pillar .num { font-family: var(--label); font-size: 13px; font-weight: 700; color: var(--blue-l); margin-bottom: 18px; letter-spacing: .06em; }
.pillar .num.amber { color: var(--ember); }
.pillar h3 { font-size: 23px; font-weight: 700; margin-bottom: 12px; }
.pillar p { font-size: 15px; line-height: 1.62; color: #B6BECE; }

/* ===== PROCESO ===== */
.proc-head { text-align: center; margin-bottom: 60px; }
.proc-head h2 { font-size: clamp(34px, 4.4vw, 46px); margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step .top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step .dot {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--label); font-size: 15px; font-weight: 700; color: #fff;
  background: rgba(17, 21, 31, 0.8);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}
.step:hover .dot { transform: scale(1.12); box-shadow: 0 0 20px rgba(45, 108, 255, .3); }
.step .dot.blue { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 16px rgba(45, 108, 255, .3); }
.step .dot.amber { background: var(--ember); border-color: var(--ember); color: var(--ink); font-weight: 700; }
.step .line { flex: 1; height: 1px; background: rgba(17, 21, 31, .12); }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.6; color: #4A5160; }

/* ===== NOSOTROS ===== */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-img {
  border-radius: 16px; height: 380px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
}
.about h2 { font-size: clamp(32px, 4vw, 42px); font-weight: 300; line-height: 1.1; margin-top: 14px; }
.about p { font-size: 17px; line-height: 1.65; color: var(--muted-d); margin-top: 22px; max-width: 600px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(8px);
  border-radius: 100px; padding: 8px 16px;
  font-size: 13px; font-weight: 500; color: #B6BECE;
  transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--glass-border-hover); background: var(--glass-hover); }

/* ===== CONTACTO ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact h2 { font-size: clamp(40px, 5vw, 54px); margin-top: 14px; }
.contact p.lead { font-size: 18px; line-height: 1.6; color: #4A5160; margin-top: 22px; max-width: 520px; }
.bullets { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.bullets div { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.bullets .b { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.bullets .b.amber { background: var(--ember); }
.form {
  background: #fff;
  border: 1px solid rgba(17, 21, 31, .08);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(17, 21, 31, .1);
  display: flex; flex-direction: column; gap: 16px;
}
.form label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; display: block; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid rgba(17, 21, 31, .12);
  border-radius: 9px;
  background: #FAF9F6;
  padding: 14px;
  font-family: var(--sans); font-size: 15px; color: var(--ink-text);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 108, 255, .12);
}
.form textarea { min-height: 96px; resize: vertical; }
.form .btn-primary { justify-content: center; width: 100%; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: #EDEFF4; padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.footer .tag { font-family: var(--display); font-style: normal; font-size: 17px; font-weight: 300; letter-spacing: -.01em; color: var(--muted-d); margin-top: 14px; }
.footer .tag .dot, .footer .word .dot { color: var(--ember); }
.footer .col-title { font-family: var(--label); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #6E768A; margin-bottom: 16px; }
.footer .col a { display: block; color: #B6BECE; font-size: 15px; font-weight: 500; margin-bottom: 11px; transition: color .15s; }
.footer .col a:hover { color: #fff; }
.footer .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-family: var(--label); font-size: 12px; font-weight: 400; letter-spacing: .04em; color: #6E768A; }

/* ===== LICENCIAS ===== */
.licenses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.license-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px; padding: 36px 30px;
  display: flex; flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.3);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.license-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 176, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 24px 60px rgba(45, 108, 255, .25), 0 0 0 1px rgba(143, 176, 255, .2);
}
.license-card.featured {
  border-color: rgba(45, 108, 255, .6);
  background: rgba(45, 108, 255, 0.08);
  position: relative;
  transform: translateY(-14px);
  box-shadow: 0 24px 60px rgba(45, 108, 255, .22), 0 0 40px rgba(45, 108, 255, .1), inset 0 1px 0 rgba(143, 176, 255, .2);
  z-index: 2;
}
.license-card.featured:hover {
  transform: translateY(-18px);
  border-color: var(--blue-l);
  box-shadow: 0 28px 70px rgba(45, 108, 255, .3), 0 0 50px rgba(45, 108, 255, .15);
}
.license-card.featured::before {
  content: 'Más popular';
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue), #6B6EFF);
  color: #fff;
  font-family: var(--label); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(45, 108, 255, .4);
}
.license-card .lc-icon { font-size: 32px; margin-bottom: 20px; }
.license-card h3 { font-size: 22px; font-weight: 700; color: #EDEFF4; margin-bottom: 8px; }
.license-card .lc-desc { font-size: 15px; color: #B6BECE; line-height: 1.6; margin-bottom: 24px; }
.license-card .lc-price { font-size: 22px; font-weight: 800; color: #EDEFF4; margin-bottom: 4px; font-family: var(--sans); }
.license-card .lc-price span { font-size: 16px; font-weight: 400; color: var(--muted-d); }
.license-card .lc-period { font-family: var(--label); font-size: 12px; font-weight: 500; color: #6E768A; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 28px; }
.license-card .lc-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex: 1; }
.license-card .lc-features li { font-size: 14.5px; color: #B6BECE; display: flex; align-items: center; gap: 10px; }
.license-card .lc-features li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.license-card .lc-features li.amber::before { background: var(--ember); }
.license-card .btn-license {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border-radius: 10px; font-weight: 600; font-size: 15px;
  font-family: var(--sans); cursor: pointer; border: none; text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.license-card .btn-license.primary { background: var(--blue); color: #fff; }
.license-card .btn-license.primary:hover {
  background: var(--blue-d);
  box-shadow: 0 0 24px rgba(45, 108, 255, .5);
  transform: translateY(-1px);
}
.license-card .btn-license.outline {
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: #EDEFF4;
}
.license-card .btn-license.outline:hover { background: var(--glass-hover); border-color: var(--glass-border-hover); }
.licenses-note { text-align: center; margin-top: 32px; font-family: var(--label); font-size: 13px; font-weight: 400; color: #6E768A; letter-spacing: .02em; }

/* ===== DESCARGAS ===== */
.downloads { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line-d); }
.downloads-head { margin-bottom: 36px; }
.downloads-head h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 300; color: #EDEFF4; margin-top: 10px; }
.downloads-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.download-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px; padding: 32px;
  display: flex; gap: 24px; align-items: flex-start;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 8px 32px rgba(0,0,0,0.25);
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.download-card:hover {
  border-color: rgba(143, 176, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 20px 50px rgba(45, 108, 255, .2);
}
.download-card .dc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(45, 108, 255, .15);
  border: 1px solid rgba(45, 108, 255, .2);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.download-card .dc-icon.amber {
  background: rgba(255, 138, 91, .15);
  border-color: rgba(255, 138, 91, .2);
}
.download-card .dc-body { flex: 1; }
.download-card .dc-tag { font-family: var(--label); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-l); margin-bottom: 8px; }
.download-card .dc-tag.amber { color: var(--ember); }
.download-card h4 { font-size: 20px; font-weight: 700; color: #EDEFF4; margin-bottom: 8px; }
.download-card p { font-size: 14px; line-height: 1.65; color: #B6BECE; margin-bottom: 20px; }
.download-card .dc-meta { display: flex; gap: 16px; font-family: var(--label); font-size: 12px; font-weight: 400; color: #6E768A; letter-spacing: .02em; margin-bottom: 20px; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 9px; font-size: 14px; font-weight: 600;
  font-family: var(--sans); cursor: pointer; border: none; text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-download.blue { background: var(--blue); color: #fff; }
.btn-download.blue:hover { background: var(--blue-d); box-shadow: 0 0 20px rgba(45, 108, 255, .4); transform: translateY(-1px); }
.btn-download.amber-btn { background: var(--ember); color: var(--ink); }
.btn-download.amber-btn:hover { background: #e87a4d; box-shadow: 0 0 20px rgba(255, 138, 91, .4); transform: translateY(-1px); }

/* ===== VISIÓN Y MISIÓN ===== */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.vm-card {
  border-radius: 16px; padding: 44px 40px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.vm-card.vision {
  background: rgba(45, 108, 255, 0.10);
  border: 1px solid rgba(143, 176, 255, .25);
  box-shadow: inset 0 1px 0 rgba(143,176,255,0.15), 0 8px 32px rgba(45,108,255,0.12);
}
.vm-card.mision {
  background: rgba(255, 138, 91, 0.10);
  border: 1px solid rgba(255, 138, 91, .25);
  box-shadow: inset 0 1px 0 rgba(255,138,91,0.15), 0 8px 32px rgba(255,138,91,0.10);
}
.vm-card.vision:hover {
  border-color: rgba(143, 176, 255, .55);
  transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(143,176,255,0.2), 0 24px 60px rgba(45, 108, 255, .25);
}
.vm-card.mision:hover {
  border-color: rgba(255, 138, 91, .55);
  transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255,138,91,0.2), 0 24px 60px rgba(255, 138, 91, .20);
}
.vm-card .vm-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 24px;
}
.vm-card.vision .vm-icon { background: rgba(45, 108, 255, .15); border: 1px solid rgba(45, 108, 255, .2); }
.vm-card.mision .vm-icon { background: rgba(255, 138, 91, .15); border: 1px solid rgba(255, 138, 91, .2); }
.vm-card h3 { font-family: var(--display); font-size: 30px; font-weight: 600; color: #EDEFF4; margin-bottom: 18px; letter-spacing: -.04em; }
.vm-card p { font-size: 16px; line-height: 1.75; color: #B6BECE; }
.vm-values { margin-top: 64px; }
.vm-values h3 { font-size: clamp(28px, 3.5vw, 38px); font-weight: 300; color: #EDEFF4; margin-bottom: 40px; }
.vm-values h3 .em { color: var(--ember); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item {
  padding: 28px 24px;
  border-top: 2px solid var(--blue);
  background: var(--glass);
  border-radius: 0 0 12px 12px;
  transition: transform .2s, background .2s;
}
.value-item:hover { transform: translateY(-3px); background: var(--glass-hover); }
.value-item.amber { border-color: var(--ember); }
.value-item h4 { font-size: 17px; font-weight: 700; color: #EDEFF4; margin-bottom: 10px; }
.value-item p { font-size: 14px; line-height: 1.65; color: #B6BECE; }

/* ===== SISTEMA DE ÍCONOS ===== */
svg.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.lc-icon, .vm-icon { display: flex; align-items: center; justify-content: center; }
.lc-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px; background: rgba(45, 108, 255, .12); color: var(--blue-l); border: 1px solid rgba(45, 108, 255, .2); }
.lc-icon .icon, .vm-icon .icon { width: 26px; height: 26px; }
.license-card.featured .lc-icon { background: rgba(255, 138, 91, .12); color: var(--ember); border-color: rgba(255, 138, 91, .2); }
.vm-card.vision .vm-icon { color: var(--blue-l); }
.vm-card.mision .vm-icon { color: var(--ember); }
.dc-icon { color: var(--blue-l); }
.dc-icon.amber { color: var(--ember); }
.dc-icon .icon { width: 26px; height: 26px; }
.btn-download .icon { width: 15px; height: 15px; }

/* ===== ANIMACIONES DE SCROLL (REVEAL) ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.16, .84, .44, 1), transform .8s cubic-bezier(.16, .84, .44, 1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.cards .reveal:nth-child(1) { transition-delay: 0ms; }
.cards .reveal:nth-child(2) { transition-delay: 80ms; }
.cards .reveal:nth-child(3) { transition-delay: 160ms; }
.cards .reveal:nth-child(4) { transition-delay: 240ms; }
.pillars .reveal:nth-child(1) { transition-delay: 0ms; }
.pillars .reveal:nth-child(2) { transition-delay: 100ms; }
.pillars .reveal:nth-child(3) { transition-delay: 200ms; }
.steps .reveal:nth-child(1) { transition-delay: 0ms; }
.steps .reveal:nth-child(2) { transition-delay: 80ms; }
.steps .reveal:nth-child(3) { transition-delay: 160ms; }
.steps .reveal:nth-child(4) { transition-delay: 240ms; }
.licenses-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.licenses-grid .reveal:nth-child(2) { transition-delay: 100ms; }
.licenses-grid .reveal:nth-child(3) { transition-delay: 200ms; }
.downloads-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.downloads-grid .reveal:nth-child(2) { transition-delay: 120ms; }
.vm-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.vm-grid .reveal:nth-child(2) { transition-delay: 120ms; }
.values-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.values-grid .reveal:nth-child(2) { transition-delay: 70ms; }
.values-grid .reveal:nth-child(3) { transition-delay: 140ms; }
.values-grid .reveal:nth-child(4) { transition-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(36px, 7vw, 54px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 24px 0; border-right: none; border-top: 1px solid var(--line-d); }
  .pillar:first-child { border-top: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img { height: 260px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .licenses-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .license-card.featured, .license-card.featured:hover { transform: none; }
  .vm-grid { grid-template-columns: 1fr; }
  .vm-card { padding: 32px 28px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid { grid-template-columns: 1fr; }
  .download-card { flex-direction: column; gap: 16px; }
  .hero .orb-1 { width: 500px; height: 500px; }
  .hero .orb-2 { width: 300px; height: 300px; }
  .hero .orb-3 { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .hero h1 { font-size: clamp(32px, 9vw, 46px); }
  .hero p.lead { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step .line { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head p { max-width: 100%; }
  .form { padding: 24px 20px; }
  .vm-card { padding: 28px 20px; }
  .vm-card h3 { font-size: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .license-card { padding: 28px 22px; }
  .download-card { padding: 24px 20px; }
  .cta-row { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero .orb-1, .hero .orb-2, .hero .orb-3 { display: none; }
}
