:root {
  --bg: #0a1116;
  --bg-alt: #0e171e;
  --bg-card: #121a22;
  --border: #1f2b34;
  --text: #e8f1f7;
  --muted: #93a7b5;
  --accent: #22d3ee;
  --accent-dark: #0e7490;
  --amber: #f59e0b;
  --green: #4ade80;
  --whatsapp: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "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: 1080px; margin: 0 auto; padding: 0 20px; }

a { color: inherit; text-decoration: none; }

.accent { color: var(--accent); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 17, 22, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { font-weight: 800; letter-spacing: 0.5px; font-size: 17px; white-space: nowrap; }
.logo span { color: var(--accent); }
.logo-img { height: 66px; width: auto; display: block; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--accent); }

/* ---- Botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-weight: 700; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04151a; }
.btn-primary:hover { background: #67e8f9; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent-dark); }
.btn-outline:hover { background: rgba(34, 211, 238, 0.1); }
.btn-whatsapp { background: var(--whatsapp); color: #06280f; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ---- Hero ---- */
.hero { padding: 72px 0 64px; background: radial-gradient(1200px 400px at 50% -100px, rgba(34,211,238,.14), transparent); }
.hero-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.4); color: var(--green);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 5.5vw, 52px); line-height: 1.15; font-weight: 800; letter-spacing: -0.5px; }
.hero-sub { font-size: clamp(16px, 2.5vw, 20px); color: var(--muted); margin: 18px auto 30px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Secciones ---- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(24px, 4vw, 34px); font-weight: 800; text-align: center; letter-spacing: -0.4px; }
.section-sub { text-align: center; color: var(--muted); margin: 10px 0 40px; font-size: 16px; }

/* ---- Cards de servicios ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent-dark); }
.card-icon { font-size: 34px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.card-price { font-size: 22px; font-weight: 800; color: var(--accent); }
.card-price span { font-size: 13px; color: var(--muted); font-weight: 500; }
.card-note { font-size: 12.5px; color: var(--muted); }
.card .btn { margin-top: 8px; }

/* ---- Pasos ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #04151a;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---- Quiénes somos ---- */
.about { max-width: 720px; text-align: center; }
.about-text { color: var(--muted); font-size: 16px; margin-top: 18px; }
.about-text strong { color: var(--text); }
.about-subtitle { font-size: 20px; font-weight: 700; color: var(--text); margin-top: 32px; }
.about-points { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.about-points span {
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--border);
}

/* ---- CTA / contacto ---- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
.cta p { color: var(--muted); margin: 12px 0 28px; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.footer-inner a { color: var(--accent); }

/* ---- Herramientas gratis ---- */
.tools-section { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.tool-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.tool-icon { font-size: 36px; }
.tool-card b { font-size: 18px; font-weight: 700; }
.tool-card span { color: var(--muted); font-size: 14.5px; line-height: 1.5; flex: 1; }
.tool-card em { font-style: normal; color: var(--accent); font-weight: 700; font-size: 14px; }

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 20px; }
  .nav {
    display: flex; order: 3; width: 100%; margin-left: 0;
    overflow-x: auto; gap: 16px; padding: 6px 0 4px; white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .hero { padding: 48px 0 44px; }
  .section { padding: 48px 0; }
}
