:root {
  --bg: #0b1220;
  --bg-alt: #0f1a2e;
  --panel: #13203a;
  --text: #e6edf7;
  --muted: #9fb0c9;
  --accent: #2bd4d9;
  --accent-2: #3b82f6;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

.accent { color: var(--accent); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 1.25rem; letter-spacing: .5px; display: flex; align-items: center; }
.brand img { display: block; }
.brand__mark { color: var(--accent); margin-right: 6px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.nav__links a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: transform .15s, background .2s, border-color .2s; }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04121a; }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    radial-gradient(900px 400px at 75% -10%, rgba(43, 212, 217, 0.16), transparent 60%),
    radial-gradient(700px 400px at 10% 10%, rgba(59, 130, 246, 0.14), transparent 55%),
    var(--bg);
}
.eyebrow { color: var(--accent); font-size: .82rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 800; max-width: 16ch; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 56ch; margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Sections */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; }
.section__sub { color: var(--muted); max-width: 60ch; margin-top: 12px; margin-bottom: 36px; }
.section__title + .grid { margin-top: 40px; }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(43, 212, 217, 0.4); }
.card__icon { font-size: 1.8rem; color: var(--accent); margin-bottom: 14px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

.feature { padding: 22px 24px; border-left: 2px solid var(--accent); background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps span { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #04121a; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: .92rem; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.contact__list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.contact__list a { color: var(--accent); }
.cta-box { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--border); padding: 26px 32px; border-radius: var(--radius); font-weight: 600; transition: transform .15s, border-color .2s; }
.cta-box:hover { transform: translateY(-3px); border-color: var(--accent); }
.cta-box__icon { font-size: 1.6rem; color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem; color: #04121a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 860px) {
  .grid--3, .grid--2, .steps { grid-template-columns: 1fr; }
  .nav__links a:not(.btn) { display: none; }
}

/* Generic content page (privacidad) */
.doc { padding: 100px 0 80px; }
.doc h1 { font-size: 2rem; margin-bottom: 8px; }
.doc h2 { font-size: 1.2rem; margin-top: 28px; margin-bottom: 8px; color: var(--accent); }
.doc p, .doc li { color: var(--muted); }
.doc ul { margin-left: 20px; margin-top: 8px; }
.doc .back { display: inline-block; margin-bottom: 24px; color: var(--accent); }
