:root {
  /* Paleta oficial Alpha */
  --brand: #2ABA8E;
  --brand-600: #1F8C6B;
  --ink: #161616;
  --muted: #475569;
  --bg: #ffffff;
  --card: #ffffff;
  --shadow: 0 12px 24px rgba(22,22,22,.08), 0 4px 10px rgba(22,22,22,.06);
  --deep: #002A29;
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}

/* UTIL */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.lead { color: var(--muted); margin: 8px 0 24px; }
.grad { background: linear-gradient(90deg, var(--brand), var(--deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* NAV */
.nav { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #e5e7eb; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; }
.brand img { width: 36px; height: 36px; }
.menu { display: flex; align-items: center; gap: 16px; }
.menu a { text-decoration: none; color: var(--ink); font-weight: 600; transition: color .2s; }
.menu a:hover { color: var(--brand); }
.cta-wa { background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.cta-wa:hover { filter: brightness(.95); }

/* NAV TOGGLE */
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid #e2e8f0; background:#fff; border-radius: 10px; align-items:center; justify-content:center; gap:4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); display:block; }
body.menu-open .menu { display: grid; }

/* HERO centrado */
.hero {
  position: relative;
  background:
    radial-gradient(1400px 500px at 50% -20%, rgba(42,186,142,.25) 0%, transparent 60%),
    linear-gradient(180deg, #F8FFFC 0%, #FFFFFF 100%);
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero-centered .hero-content { text-align: center; max-width: 860px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; font-weight: 800; font-size: 12px; letter-spacing: .1em; color: #64748b; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 10px 0 12px; }
.sub { color: var(--muted); font-size: 18px; margin-bottom: 24px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-media { max-width: 980px; margin: 26px auto 0; }
.hero-media img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); }

/* Watermark logo en hero */
.hero-watermark {
  position: absolute;
  inset: -120px 0 auto 0;
  height: 460px;
  background: url('../img/logo-alpha.svg') no-repeat center top / 380px auto;
  opacity: .14;
  pointer-events: none;
  filter: grayscale(1);
}

/* Impact strip */
.impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 26px auto 0;
  max-width: 980px;
}
.impact-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}
.impact-item strong { color: var(--brand); }

/* Animations */
[data-animate='fade-up'].in-view .impact-item {
  opacity: 1;
  transform: translateY(0);
}

/* SECCIONES */
section { padding: 70px 0; }
section.alt { background: #fff; }
h2 { font-size: clamp(22px, 3.2vw, 34px); margin-bottom: 10px; }

/* GRID y CARDS */
.grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(22,22,22,.1), 0 4px 16px rgba(22,22,22,.06); }
.card h3 { font-size: 20px; margin-bottom: 6px; }
.card .icon { width: 28px; height: 28px; margin-bottom: 10px; }
.card .icon img { width: 28px; height: 28px; display: block; }

/* FEATURES */
.features .feature p { color: var(--muted); }

/* STEPS */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.step { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 20px; position: relative; }
.step-num { position: absolute; top: -10px; left: -10px; width: 36px; height: 36px; background: var(--brand); color: #fff; border-radius: 999px; display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); }

/* SERVICIOS */
.service .btn.ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.service .btn.ghost:hover { background: var(--brand-600); color:#fff; border-color: var(--brand-600); }

/* ÚNETE */
.unete-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.unete-form h3 { margin-bottom: 6px; }
.unete-copy .lead { margin-bottom: 16px; }
.bullets { list-style: none; display: grid; gap: 8px; margin: 12px 0 18px; }

/* TESTIMONIOS */
.testimonials blockquote { background: var(--card); border-left: 5px solid var(--brand); padding: 20px; border-radius: 12px; font-style: italic; color:#0f172a; box-shadow: var(--shadow); }

/* FORM */
form { background: var(--card); padding: 28px 24px; border-radius: 16px; box-shadow: var(--shadow); display: grid; gap: 14px; }
form label { font-weight: 700; color: var(--ink); font-size: 14px; }
input, textarea, select {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; background: #f9fafb; font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(42,186,142,.18); }
textarea { resize: vertical; min-height: 110px; }
form button { background: var(--brand); color: #fff; padding: 14px 18px; border-radius: 12px; font-size: 16px; border: none; cursor: pointer; font-weight: 800; }
form button:hover { background: var(--brand-600); }
.form-caption { color: var(--muted); font-size: 14px; }
label.privacy { display: flex; align-items: center; gap: 8px; }

/* FOOTER con marca de agua */
footer { position: relative; background: #0b1220; color: #e2e8f0; text-align: center; padding: 40px 16px; font-size: 15px; overflow: hidden; }
footer a { color: #93c5fd; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-watermark {
  position: absolute; inset: auto 0 -40px 0; height: 300px;
  background: url('../img/logo-alpha.svg') no-repeat center bottom / 240px auto;
  opacity: .14; filter: grayscale(1);
  pointer-events: none;
}

/* FLOATING */
#waFloat { position: fixed; right: 16px; bottom: 20px; background: var(--brand); color: #fff; font-weight: 800; padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow); cursor: pointer; transition: transform .2s; }
#waFloat:hover { transform: scale(1.05); }
#backToTop { position: fixed; right: 16px; bottom: 80px; background: var(--deep); color: #fff; border: none; border-radius: 999px; padding: 10px 14px; display: none; cursor: pointer; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; border: 2px solid var(--brand); border-radius: 12px; padding: 12px 18px; font-weight: 800; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--brand-600); border-color: var(--brand-600); }
.btn.secondary { background: transparent; color: var(--brand); }
.btn.secondary:hover { background: var(--brand-600); color:#fff; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .unete-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-inner { gap: 10px; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid #e2e8f0; padding: 12px 16px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .menu a { padding: 10px 8px; border-radius: 8px; }
  .menu a:hover { background: #f1f5f9; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 600px) {
  .menu { grid-template-columns: 1fr; }
  .actions { justify-content: center; }
  .hero h1 { font-size: 32px; }
  section { padding: 50px 0; }
  .card, form, .step, blockquote { padding: 18px; }
  .btn, .cta-wa, form button { width: 100%; text-align: center; }
}
