:root {
  --bg: #0e0f13;
  --card: #171922;
  --muted: #9aa3b2;
  --text: #e8ecf3;
  --primary: #5f7fff;
  --accent: #00d2d3;
  --danger: #ff5f7a;
  --success: #19d27c;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
img { max-width: 100%; display: block; border-radius: 12px; }
a { color: var(--text); text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 10px; background: var(--card); color: var(--text); border: 1px solid #2a2f3a; transition: .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--primary), #8f9bff); border: none; color: #0b0f1a; font-weight: 700; }
.btn.ghost { background: transparent; border: 1px solid #2c3240; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(14,15,19,.7); backdrop-filter: blur(10px); border-bottom: 1px solid #1e2230; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .4px; }
.nav { display: flex; gap: 18px; }
.nav a { padding: 10px 12px; border-radius: 8px; }
.nav a.active, .nav a:hover { background: #1a1e2a; }
#menuToggle { display: none; background: none; border: 0; color: var(--text); }
.hero { padding: 48px 0 24px; }
.hero-grid { display: grid; gap: 28px; grid-template-columns: 1.2fr .8fr; align-items: center; }
.hero-text h1 { font-size: clamp(28px, 5vw, 48px); margin: 0 0 8px; }
.hero-text p { color: var(--muted); margin: 0 0 18px; }
.cta-group { display: flex; gap: 12px; }
.meta-strip { display: flex; gap: 14px; color: var(--muted); margin-top: 14px; }
.meta-strip span { display: inline-flex; align-items: center; gap: 6px; background: #141724; padding: 6px 10px; border: 1px solid #22273a; border-radius: 999px; }
.cards { padding: 40px 0; }
.cards h2, .timeline h2, .featured h2, .links h2, .team h2, .values h2, .contact-form-section h2 { margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid #23273a; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); }
.card-body { padding: 14px; }
.sub-hero { padding: 28px 0; }
.sub-hero-inner { display: grid; gap: 20px; grid-template-columns: 1.2fr .8fr; align-items: center; }
.post-snippet { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; background: var(--card); border: 1px solid #24293b; padding: 16px; border-radius: 16px; }
.post-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.post-links a { padding: 12px 14px; border: 1px solid #24293b; border-radius: 10px; background: #141724; display: inline-block; }
.timeline-list { position: relative; display: grid; gap: 18px; padding-left: 16px; border-left: 2px dashed #2b3042; }
.timeline-item { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; }
.timeline-item .dot { width: 12px; height: 12px; background: var(--accent); border-radius: 50%; transform: translateX(-6px); }
.cta-band { background: linear-gradient(135deg, #161a2a, #0f1220); border-top: 1px solid #1e2336; border-bottom: 1px solid #1e2336; margin-top: 32px; }
.cta-band-inner { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer { padding: 28px 0; background: #0b0e18; border-top: 1px solid #1c2234; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start; }
.footer-brand p { margin: 6px 0; color: var(--muted); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: #c0c7d6; padding: 8px 10px; border: 1px solid #243147; border-radius: 8px; background: #12182a; }
.footer-copy { grid-column: 1/-1; color: #9aa3b2; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.post-article { padding: 24px 0; }
.post-header h1 { margin-bottom: 4px; }
.post-meta { color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.post-cover { margin-top: 10px; }
.post-content p { line-height: 1.75; color: #d6dbe6; }
.post-footer { display: flex; justify-content: space-between; margin-top: 16px; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.team-card { background: var(--card); border: 1px solid #22283a; border-radius: 16px; padding: 12px; text-align: center; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.pillar { background: #141724; border: 1px solid #22273a; border-radius: 12px; padding: 14px; }
.contact-info { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; color: var(--muted); }
.contact-info li { display: flex; gap: 10px; align-items: center; }
.contact-form { background: var(--card); border: 1px solid #24293b; padding: 16px; border-radius: 16px; box-shadow: var(--shadow); }
.form-row { display: grid; gap: 6px; margin-bottom: 12px; }
input, textarea { background: #101422; color: var(--text); border: 1px solid #2a2f3a; border-radius: 10px; padding: 12px; outline: none; }
input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(95,127,255,.2); }
.form-actions { display: flex; justify-content: flex-end; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; background: #0f1220; border: 1px solid #243147; border-radius: 14px; padding: 14px; display: none; z-index: 2000; box-shadow: var(--shadow); }
.cookie-content { display: grid; gap: 10px; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-close { position: absolute; top: 8px; right: 8px; background: transparent; border: 0; color: #bcc5d8; }
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.6); z-index: 3000; }
.modal-content { background: var(--card); border: 1px solid #2a2f3a; padding: 18px; border-radius: 14px; width: min(520px, 90%); }
#progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--accent), var(--primary)); z-index: 1200; }
.home .hero { background: radial-gradient(1200px 400px at 10% 0%, rgba(95,127,255,.15), transparent); }
.blog .sub-hero { background: radial-gradient(1200px 400px at 90% 0%, rgba(0,210,211,.12), transparent); }
.post-ia .post-cover { border: 2px solid rgba(95,127,255,.25); }
.post-mapas .post-cover { border: 2px solid rgba(0,210,211,.25); }
.post-cyber .post-cover { border: 2px solid rgba(255,95,122,.25); }
.post-startups .post-cover { border: 2px solid rgba(25,210,124,.25); }
.post-lengua .post-cover { border: 2px solid rgba(192,115,255,.25); }
@media (max-width: 980px) {
  .hero-grid, .sub-hero-inner, .post-snippet { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 60px; right: 4%; background: #101422; border: 1px solid #23283a; padding: 10px; border-radius: 10px; flex-direction: column; }
  #menuToggle { display: inline-flex; }
  .nav.open { display: flex; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
