:root {
  --navy-950: #07121f;
  --navy-900: #0b1a2c;
  --navy-800: #12294a;
  --navy-600: #1f4e79;
  --green-600: #3f8f22;
  --green-500: #5cb335;
  --green-300: #9be070;
  --blue-500: #2f7fc1;
  --ink: #0f1b2d;
  --muted: #56667a;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-tint: #f3f7f5;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green-300); outline-offset: 3px; border-radius: 6px; }

/* Barra superior */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(11, 26, 44, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-name { font-weight: 800; letter-spacing: .14em; font-size: .95rem; white-space: nowrap; }
.brand-name b { color: var(--green-300); }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { color: #c8d4e3; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: #fff; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { background: transparent; color: #c8d4e3; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: 6px 10px; font: 700 .8rem var(--font); letter-spacing: .06em; cursor: pointer; }
.lang:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--green-500), var(--green-600)); color: #fff; box-shadow: 0 8px 24px rgba(92, 179, 53, .35); }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.btn-ghost { color: #fff; border: 1px solid rgba(155, 224, 112, .55); padding: 8px 14px; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }

/* Portada */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 500px at 85% 20%, rgba(47, 127, 193, .35), transparent 60%),
  radial-gradient(700px 400px at 70% 90%, rgba(92, 179, 53, .22), transparent 60%),
  linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding: 88px 0 96px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; color: var(--green-300); margin-bottom: 14px; }
.eyebrow.dark { color: var(--green-600); }
.lead { font-size: 1.15rem; color: #c8d4e3; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { position: relative; width: min(360px, 80%); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(155, 224, 112, .35), transparent 65%); }

/* Secciones */
.section { padding: 88px 0; }
.section.tinted { background: var(--bg-tint); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lockup-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 20px 50px rgba(15, 27, 45, .08); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-500); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.2em + 4px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--green-500); }
.card:nth-child(even) { border-top-color: var(--blue-500); }
.card p, .pillar p { color: var(--muted); margin: 0; font-size: .96rem; }
.pillar { padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--bg-tint)); border: 1px solid var(--line); }
.pillar h3 { color: var(--navy-800); }

/* Contacto */
.contact { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #fff; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact p { color: #c8d4e3; margin: 0; }

.footer { background: var(--navy-950); color: #8fa1b6; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; }
.footer a { color: #c8d4e3; }

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 0 64px; }
  .hero-art { order: -1; }
  .hero-art img { width: min(220px, 60%); }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .grid, .grid.three { grid-template-columns: 1fr; }
  .contact-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
  .btn-ghost { padding: 8px 10px; font-size: .85rem; }
  .brand-name { letter-spacing: .08em; font-size: .85rem; }
}
