:root {
  --green: #16a34a;
  --green-d: #15803d;
  --amber: #f59e0b;
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --bg-alt: #f8fafc;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 32px; }
.muted { color: var(--ink-soft); }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; }
.logo img, .logo-md { width: 40px; height: 40px; border-radius: 10px; background: #f1f5f9; object-fit: contain; }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--green); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-block { display: block; width: 100%; }

/* Hero */
.hero { background: linear-gradient(180deg, #f0fdf4, #ffffff); padding: 56px 0 48px; }
.hero-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero.small .wrap { max-width: 760px; text-align: center; }
.hero.small { padding: 48px 0; }
.hero h1 { font-size: 40px; line-height: 1.12; margin: 0 0 16px; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero p { font-size: 18px; color: var(--ink-soft); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 10px; }
.hero-note { font-size: 14px !important; margin-top: 16px; }
.hero-illus img { width: 100%; border-radius: var(--radius); }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt, var(--bg)); }
.section#beneficios, .section#contacto { background: var(--bg, var(--bg)); }
.section-title { font-size: 30px; margin: 0 0 8px; text-align: center; }
.section-sub { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 0 auto 36px; }

/* Video */
.video-frame { display: flex; justify-content: center; }
.video-frame > div { width: 100%; max-width: 360px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.step img { width: 110px; margin: 0 auto 12px; }
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.benefit-icon { font-size: 34px; display: block; margin-bottom: 8px; }
.benefit h3 { margin: 0 0 8px; }
.benefit p { color: var(--ink-soft); }

/* Cards / grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 0; }
.empresa-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.empresa-head h3 { margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { padding: 6px 0; }
.contact-list a { color: var(--green); font-weight: 600; }
.contact-asesor { color: var(--ink-soft); font-size: 14px; margin-bottom: 0; }
.map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 280px; border: 0; }

/* Form */
.form-card { margin-top: 24px; }
.form-card label { display: block; margin: 12px 0 6px; font-weight: 600; font-size: 14px; }
.form-card input, .form-card select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 4px;
  font-size: 15px;
}
.form-card .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--ink-soft); }
.form-card .check input { width: auto; margin-top: 3px; }
#leadMsg { margin-top: 12px; font-weight: 700; }

/* Process page */
.hero.small .cta-row { justify-content: center; }
.process { display: grid; gap: 40px; }
.p-step { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.p-visual img { width: 100%; max-width: 220px; margin: 0 auto; }
.p-tag { display: inline-block; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; }
.p-text h2 { margin: 10px 0 10px; font-size: 24px; }
.p-text p { color: var(--ink-soft); margin: 0; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 14px 18px; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--ink-soft); margin: 10px 0 0; }

/* Footer */
.footer { background: var(--ink); color: #cbd5e1; padding: 40px 0; margin-top: 0; }
.footer-in { display: grid; gap: 20px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 10px; background: #1e293b; object-fit: contain; }
.footer-brand p { margin: 8px 0 0; color: #e2e8f0; }
.footer-brand .muted { color: #94a3b8; }
.footer-social { display: flex; gap: 18px; }
.soc { color: #cbd5e1; text-decoration: none; font-weight: 700; font-size: 14px; text-transform: capitalize; }
.soc:hover { color: var(--amber); }
.foot-note { color: #64748b; font-size: 13px; margin-top: 8px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  text-decoration: none; z-index: 50;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits, .grid-2 { grid-template-columns: 1fr; }
  .p-step { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}