/* =============================================================
   landing-es.css — Shared styles for all Zenia Spanish landing pages
   ============================================================= */

/* ---- Variables ---- */
:root {
  --primary: #3B82F6;
  --accent-violet: #6366F1;
  --bg-dark: #0A0F1C;
  --bg-card: rgba(17,24,39,0.6);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(148,163,184,0.08);
  --border-hover: rgba(148,163,184,0.2);
  --radius-lg: 16px;
  --whatsapp: #25D366;
  --green: #10B981;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg-dark); color: var(--text-primary); line-height: 1.8; }

/* ---- Nav ---- */
.nav { padding: 20px 0; border-bottom: 1px solid var(--border); }
.nav .wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.nav a { color: var(--text-primary); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.nav .back { color: var(--primary); font-size: .9rem; font-weight: 400; }

/* ---- Layout ---- */
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ---- Hero ---- */
.hero { padding: 100px 0 60px; text-align: center; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto 32px; }

/* ---- Gradient text ---- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn { display: inline-block; padding: 14px 32px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent-violet); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s;
}
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-whatsapp svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-title { font-size: 1.8rem; margin-bottom: 16px; }
.section-desc { color: var(--text-secondary); margin-bottom: 40px; font-size: 1.05rem; }

/* ---- Grids ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---- Cards ---- */
.card { padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all .3s; }
.card:hover { border-color: var(--border-hover); }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-primary); }
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.card-icon { width: 48px; height: 48px; background: rgba(59,130,246,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--primary); }
.card-icon svg { width: 24px; height: 24px; }

/* ---- Channel tags ---- */
.channels { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.channel-tag { padding: 8px 16px; background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.12); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--primary); }

/* ---- Results / stats ---- */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.result-item { text-align: center; padding: 24px; }
.result-value { font-size: 2.2rem; font-weight: 700; margin-bottom: 4px; }
.result-label { font-size: 13px; color: var(--text-muted); }

/* ---- CTA box ---- */
.cta-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; margin: 80px 0; }
.cta-box h2 { font-size: 1.6rem; margin-bottom: 12px; }
.cta-box p { color: var(--text-secondary); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ---- Footer ---- */
.footer { padding: 40px 0; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: .85rem; }
.footer a { color: var(--primary); text-decoration: none; }

/* ---- Content blocks ---- */
.content-block { margin-bottom: 32px; }
.content-block h2 { font-size: 1.5rem; margin-bottom: 16px; }
.content-block p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.content-block ul { color: var(--text-secondary); padding-left: 20px; margin-bottom: 16px; }
.content-block li { margin-bottom: 8px; line-height: 1.7; }
.content-block strong { color: var(--text-primary); }

/* =============================================================
   PRICING
   ============================================================= */
.pricing { padding: 80px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}
.pricing-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .3s;
}
.pricing-card:hover { border-color: var(--border-hover); }
.pricing-card.featured {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.06);
  transform: translateY(-6px);
}
.pricing-card.featured::before {
  content: 'Recomendado';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent-violet));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 4px 18px;
  border-radius: 99px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.pricing-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-features {
  list-style: none;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}
.pricing-setup {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
.pricing-setup strong { color: var(--text-secondary); }

/* =============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.wa-float svg { width: 32px; height: 32px; }

/* =============================================================
   FOOTER VERTICAL LINKS
   ============================================================= */
.footer-verticals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 20px;
}
.footer-verticals a {
  padding: 5px 14px;
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.footer-verticals a:hover {
  color: var(--primary);
  border-color: rgba(59,130,246,0.35);
}
.footer-cities {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 24px;
}

/* =============================================================
   STEPS SECTION
   ============================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.step {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-violet));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* =============================================================
   FAQ ACCORDION
   ============================================================= */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s;
}
.faq-q:hover { color: var(--primary); }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-item.open .faq-q::after {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .2s ease;
}
.faq-a p {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 400px; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .results,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured { transform: none; }
  .hero { padding: 60px 0 40px; }
  .section,
  .pricing { padding: 50px 0; }
  .cta-box { padding: 40px 24px; }
  .results { grid-template-columns: repeat(2, 1fr); }
  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
}
