:root {
  --primary: #1F5F5B;
  --primary-light: #2B7A75;
  --accent: #E8A33D;
  --dark: #16302D;
  --light: #FAF7F0;
  --text-secondary: #7A8B89;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 48, 45, 0.08);
  --shadow-lg: 0 20px 50px rgba(22, 48, 45, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(31, 95, 91, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow.light { color: var(--accent); background: rgba(232, 163, 61, 0.14); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--dark); box-shadow: 0 8px 20px rgba(232, 163, 61, 0.35); }
.btn-primary:hover { background: #d6922e; }
.btn-outline { background: transparent; color: var(--light); border: 1.5px solid rgba(250, 247, 240, 0.4); }
.btn-outline:hover { background: rgba(250, 247, 240, 0.1); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-light); }
.btn-ghost { background: rgba(31, 95, 91, 0.08); color: var(--primary); }
.btn-ghost:hover { background: rgba(31, 95, 91, 0.14); }
.btn svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 48, 45, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo { font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.logo .dot { color: var(--accent); }
.logo-img { height: 32px; width: auto; display: block; }
.footer-logo .logo-img { height: 34px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a { color: var(--dark); opacity: 0.75; transition: opacity 0.15s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero {
  background: radial-gradient(circle at 15% 20%, rgba(31,95,91,0.06), transparent 45%),
              radial-gradient(circle at 85% 0%, rgba(232,163,61,0.10), transparent 40%),
              var(--dark);
  color: var(--light);
  padding: 170px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 60%;
  background: var(--light);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: 50px; margin-bottom: 20px; color: var(--white); }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 18px; color: rgba(250,247,240,0.78); max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust .stat {
  background: rgba(250,247,240,0.06);
  border: 1px solid rgba(250,247,240,0.14);
  border-radius: 14px;
  padding: 14px 20px;
}
.hero-trust .stat strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 24px; color: var(--accent); }
.hero-trust .stat span { font-size: 13px; color: var(--light); opacity: 0.78; }

/* Phone mockup — styled after the real WhatsApp UI */
.phone-mock {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: 300px;
  background: #0b0b0b;
  border-radius: 42px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.1);
}
.phone-screen {
  background: #0b141a;
  border-radius: 30px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 24px;
  background: #0b0b0b;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.phone-statusbar {
  padding: 14px 22px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #202c33;
}
.phone-statusbar .icons { display: flex; gap: 5px; align-items: center; }
.phone-statusbar svg { width: 16px; height: 16px; }
.phone-head {
  background: #202c33;
  color: #e9edef;
  padding: 8px 14px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.phone-head .back { width: 18px; height: 18px; color: #e9edef; flex-shrink: 0; }
.phone-head .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #d6922e);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--dark); font-weight: 800;
  flex-shrink: 0;
}
.phone-head .who { flex: 1; line-height: 1.3; }
.phone-head .who span { display: block; font-size: 12px; font-weight: 400; color: #8696a0; }
.phone-head .hicons { display: flex; gap: 16px; color: #8696a0; }
.phone-head .hicons svg { width: 18px; height: 18px; }
.phone-body {
  flex: 1;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background-color: #0b141a;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.025) 0, transparent 3%),
    radial-gradient(circle at 70% 40%, rgba(255,255,255,0.02) 0, transparent 3%),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,0.025) 0, transparent 3%),
    radial-gradient(circle at 85% 85%, rgba(255,255,255,0.02) 0, transparent 3%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.02) 0, transparent 3%);
  background-size: 180px 180px;
  overflow: hidden;
}
.phone-day {
  align-self: center;
  background: #182229;
  color: #8696a0;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  margin: 4px 0 10px;
}
.bubble {
  max-width: 80%;
  padding: 7px 9px 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
  margin-bottom: 7px;
  position: relative;
}
.bubble.in { background: #202c33; color: #e9edef; align-self: flex-start; border-top-left-radius: 2px; }
.bubble.out { background: #005c4b; color: #e9edef; align-self: flex-end; border-top-right-radius: 2px; }
.bubble .meta { display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 3px; }
.bubble .meta time { font-size: 10px; color: #8696a0; }
.bubble.out .meta time { color: rgba(233,237,239,0.6); }
.bubble .meta svg { width: 14px; height: 14px; }
.bubble.typing { background: #202c33; align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-top-left-radius: 2px; }
.bubble.typing span { width: 6px; height: 6px; background: #8696a0; border-radius: 50%; opacity: 0.5; animation: blink 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: 0.2s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%,80%,100% { opacity: 0.3; } 40% { opacity: 1; } }
.phone-inputbar {
  background: #1f2c34;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-inputbar .field {
  flex: 1;
  background: #2a3942;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 12px;
  color: #8696a0;
}
.phone-inputbar .mic {
  width: 34px; height: 34px; border-radius: 50%;
  background: #00a884;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phone-inputbar .mic svg { width: 17px; height: 17px; color: #0b141a; }

/* Section basics */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.section-head h2 { font-size: 36px; margin-bottom: 16px; }
.section-head p { color: var(--text-secondary); font-size: 17px; }

/* Problema */
.problema { background: var(--light); padding-top: 60px; }
.problema-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.problema-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
}
.problema-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(232,163,61,0.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.problema-card .icon svg { width: 24px; height: 24px; color: var(--accent); }
.problema-card h3 { font-size: 18px; margin-bottom: 10px; }
.problema-card p { color: var(--text-secondary); font-size: 15px; }

/* Beneficios */
.beneficios { background: var(--dark); color: var(--light); }
.beneficios .section-head h2 { color: var(--white); }
.beneficios .section-head p { color: rgba(250,247,240,0.7); }
.beneficios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.beneficio-card {
  background: rgba(250,247,240,0.05);
  border: 1px solid rgba(250,247,240,0.12);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: left;
}
.beneficio-card .num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.beneficio-card h3 { font-size: 16px; color: var(--light); margin-bottom: 8px; }
.beneficio-card p { font-size: 13px; color: rgba(250,247,240,0.65); }

/* Servicios */
.servicios { background: var(--white); }
.servicios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.servicio-card {
  border: 1.5px solid rgba(22,48,45,0.08);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
}
.servicio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.servicio-card.featured { background: var(--dark); color: var(--light); border-color: transparent; }
.servicio-card.featured h3, .servicio-card.featured .icon-wrap svg { color: var(--light); }
.servicio-card.featured p, .servicio-card.featured li { color: rgba(250,247,240,0.75); }
.servicio-card .tag {
  position: absolute; top: -12px; right: 24px;
  background: var(--accent); color: var(--dark);
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.icon-wrap { width: 52px; height: 52px; border-radius: 14px; background: rgba(31,95,91,0.09); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.icon-wrap svg { width: 26px; height: 26px; color: var(--primary); }
.servicio-card.featured .icon-wrap { background: rgba(232,163,61,0.18); }
.servicio-card.featured .icon-wrap svg { color: var(--accent); }
.servicio-card h3 { font-size: 20px; margin-bottom: 10px; }
.servicio-card p { color: var(--text-secondary); font-size: 15px; margin-bottom: 18px; }
.servicio-card ul li { font-size: 14px; display: flex; gap: 8px; margin-bottom: 8px; align-items: flex-start; }
.servicio-card ul li svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.servicio-card.featured ul li svg { color: var(--accent); }

/* Como funciona */
.funciona { background: var(--light); }
.funciona-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step .num {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px;
  box-shadow: var(--shadow);
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* Rubros */
.rubros { background: var(--white); text-align: center; }
.rubros-list { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; max-width: 880px; margin-left: auto; margin-right: auto; }
.rubro-pill {
  background: var(--light);
  border: 1px solid rgba(22,48,45,0.08);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.rubro-pill.and-more {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.rubros-note { margin-top: 26px; color: var(--text-secondary); font-size: 15px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Precios */
.precios { background: var(--dark); color: var(--light); padding-bottom: 50px; }
#contacto { padding-top: 50px; }
.precios .section-head h2 { color: var(--white); }
.precios .section-head p { color: rgba(250,247,240,0.68); }
.precios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  background: rgba(250,247,240,0.05);
  border: 1.5px solid rgba(250,247,240,0.14);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  color: var(--light);
}
.plan-card h3 { color: var(--light); }
.plan-card .price span { color: var(--light); }
.plan-card.popular {
  background: var(--light);
  color: var(--dark);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.plan-card.popular h3 { color: var(--dark); }
.plan-card.popular .price span { color: var(--dark); }
.plan-card .plan-tag {
  align-self: flex-start;
  background: var(--accent); color: var(--dark);
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
  margin-bottom: 16px;
}
.plan-card h3 { font-size: 20px; margin-bottom: 6px; }
.plan-card .price { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 38px; margin: 10px 0 4px; }
.plan-card .price span { font-size: 15px; font-weight: 600; opacity: 0.6; }
.plan-card .setup { font-size: 13px; opacity: 0.65; margin-bottom: 24px; }
.plan-card ul { margin-bottom: 28px; flex: 1; }
.plan-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 12px; opacity: 0.9; }
.plan-card ul li svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.plan-card.popular ul li svg { color: var(--primary); }
.precios-note {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  margin-top: 36px;
  padding: 18px 24px;
  font-size: 13px;
  opacity: 0.75;
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* CTA final */
.cta-final {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  text-align: center;
  border-radius: 28px;
  margin: 0 24px;
  max-width: 1112px;
  margin-left: auto; margin-right: auto;
  padding: 70px 40px;
  position: relative;
  overflow: hidden;
}
.cta-final h2 { color: var(--white); font-size: 34px; margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,0.85); margin-bottom: 30px; font-size: 17px; }
.cta-final .hero-actions { justify-content: center; }

/* Footer */
footer { background: var(--dark); color: rgba(250,247,240,0.6); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid .logo { color: var(--light); margin-bottom: 14px; }
.footer-grid p { font-size: 14px; max-width: 280px; }
.footer-col h4 { color: var(--light); font-size: 14px; margin-bottom: 16px; letter-spacing: 0.03em; }
.footer-col li { font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(250,247,240,0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: white; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .phone-mock { display: none; }
  .problema-grid, .servicios-grid, .precios-grid { grid-template-columns: 1fr; }
  .funciona-steps, .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .plan-card.popular { transform: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 140px 0 90px; }
  .hero h1 { font-size: 36px; }
  section { padding: 70px 0; }
  .cta-final { margin: 0 16px; padding: 50px 24px; }
}
