/* =========================
   ATX · Propuesta 1 (Consultivo B2B)
   Profesional, minimal y responsive
   ========================= */

:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --green: #22c55e;
  --shadow: 0 14px 35px rgba(2, 6, 23, .08);
  --radius: 14px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{ color: inherit; }
.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  height: 76px;
}

.brand{ display:flex; align-items:center; text-decoration:none; }
.logo{ height: 64px; width:auto; display:block; }

.nav{
  display:flex;
  gap: 18px;
  align-items:center;
}

.nav-link{
  text-decoration:none;
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
}
.nav-link:hover{ color: var(--text); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary{
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .20);
}
.btn-primary:hover{ background: var(--primary-600); }

.btn-secondary{
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-secondary:hover{ border-color: #cbd5e1; }

.btn-header{ display:inline-flex; }

/* Mobile nav toggle */
.nav-toggle{
  display:none;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 12px;
}
.nav-toggle span{
  display:block;
  width: 22px;
  height: 2px;
  background: #111827;
  margin: 4px 0;
  border-radius: 2px;
}

.nav-mobile{
  border-top: 1px solid var(--line);
  padding: 14px 20px 18px;
  background: rgba(255,255,255,.98);
}
.nav-mobile-link{
  display:block;
  padding: 10px 0;
  text-decoration:none;
  color: var(--muted);
  font-weight: 700;
}
.btn-mobile{
  margin-top: 10px;
  width: 100%;
}

/* Hero */
.hero{
  padding: 64px 0 28px;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: start;
}

.eyebrow{
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 10px;
}

.hero h1{
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 0 0 12px;
}
.lead{
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 0 18px;
}

.cta-row{
  display:flex;
  gap: 12px;
  flex-wrap: wrap; /* prevents overlap */
}

.trust-row{
  margin-top: 16px;
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
}
.trust-item{ display:flex; align-items:center; gap: 8px; }
.trust-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  display:inline-block;
}

.hero-panel .panel-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow);
  background: #fff;
}
.panel-card h3{ margin: 0 0 10px; font-size: 1.05rem; }
.panel-card ul{ margin: 0; padding-left: 18px; color: var(--muted); }
.panel-card li{ margin: 6px 0; }

.panel-note{
  margin-top: 12px;
  border-radius: var(--radius);
  border: 1px dashed #cbd5e1;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--soft);
  font-size: .95rem;
}

/* Sections */
.section{
  padding: 56px 0;
}
.section-muted{
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h2{ margin: 0; font-size: 1.75rem; }
.section-head p{ margin: 0; color: var(--muted); max-width: 62ch; }

.section-cta{ margin-top: 18px; }

/* Steps */
.steps{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.step{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(2,6,23,.05);
}
.step-num{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(37,99,235,.12);
  color: var(--primary);
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}
.step h3{ margin: 0 0 6px; }
.step p{ margin: 0; color: var(--muted); }

/* Cards / Pricing */
.cards{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(2,6,23,.05);
  position: relative;
}

.card-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.card h3{ margin: 0; }

.badge{
  position:absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color:#fff;
  font-weight: 800;
  font-size: .75rem;
  padding: 6px 10px;
  border-radius: 999px;
}

.card-featured{
  border: 2px solid rgba(37,99,235,.55);
  transform: translateY(-4px);
}

.price{
  margin: 0;
  font-weight: 900;
  font-size: 1.1rem;
  white-space: nowrap;
}
.price span{
  font-weight: 700;
  color: var(--muted);
  font-size: .9rem;
}
.price-free{ color: #16a34a; }

.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li{ margin: 6px 0; }

.note-box{
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap; /* prevents overlap */
}
.note-box p{ margin: 0; color: var(--muted); }

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #fff;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand{ font-weight: 900; font-size: 1.1rem; }
.footer-text{ margin: 6px 0 0; color: var(--muted); }
.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links a{
  text-decoration:none;
  color: var(--muted);
  font-weight: 700;
}
.footer-links a:hover{ color: var(--text); }

/* WhatsApp floating button (single floating action) */
.wsp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  z-index: 1000;
  transition: transform .18s ease, box-shadow .18s ease;
}
.wsp-float:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0,0,0,.26);
}
.wsp-icon{ width: 28px; height: 28px; display:block; }

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .btn-header{ display:none; }
  .nav{ display:none; }
  .nav-toggle{ display:inline-block; }
  .steps{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .card-featured{ transform: none; }
  .section-head{ flex-direction: column; align-items: flex-start; }
  .cta-row .btn{ width: 100%; } /* no overlap, stacked */
  .note-box .btn{ width: 100%; }
}

@media (max-width: 520px){
  .hero{ padding: 52px 0 18px; }
  .logo{ height: 40px; }
}
