/* ===== Variables de marca: cambia aquí los colores ===== */
:root {
  --bg: #0a0a0b;
  --bg-alt: #121214;
  --card: #18181b;
  --border: #27272a;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #22c55e;       /* verde "campaña activa" */
  --accent-dark: #16a34a;
  --danger: #ef4444;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - 32px); }

/* ===== Botones ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #04150a;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--card); border-color: var(--accent); }
.btn--sm { padding: 8px 18px; font-size: .9rem; }
.btn--block { display: block; width: 100%; text-align: center; }

/* ===== Navegación ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,11,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.4rem; letter-spacing: -.5px; }
.logo span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: .95rem; color: var(--muted); }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links .btn { color: #04150a; }
.nav__toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(800px 400px at 50% -10%, rgba(34,197,94,.18), transparent 70%),
    var(--bg);
  text-align: center;
}
.hero__inner { max-width: 860px; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted); font-size: .85rem; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; }
.accent { color: var(--accent); }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 680px; margin: 0 auto 32px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__checks {
  list-style: none; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-top: 32px; color: var(--muted); font-size: .95rem;
}

/* ===== Secciones ===== */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); text-align: center; letter-spacing: -.5px; margin-bottom: 10px; }
.title--left { text-align: left; }
.subtitle { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 48px; }

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

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: .97rem; }
.icon { font-size: 1.9rem; }
.card--problem:hover { border-color: var(--danger); }

.callout {
  margin-top: 36px; text-align: center; padding: 20px;
  border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted);
}
.callout strong { color: var(--text); }

/* ===== Maquetas tipo captura (imágenes ilustrativas) ===== */
.mock {
  background: #f0f2f5; color: #1c1e21;
  border-radius: 10px; overflow: hidden; font-size: .78rem; line-height: 1.4;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  margin-bottom: 18px; user-select: none;
}
.mock__bar {
  display: flex; align-items: center; gap: 5px;
  background: #1877f2; color: #fff; padding: 7px 10px; font-weight: 600; font-size: .74rem;
}
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); }
.mock__bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { padding: 10px; display: grid; gap: 8px; }
.mock__body small { display: block; color: #65676b; font-size: .72rem; }
.mock__title { font-size: .85rem; }
.mock__label { margin-bottom: -4px; }

.mock__row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: #fff; border-radius: 6px; padding: 7px 9px;
}
.mock__row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__row--dim { background: transparent; padding: 0 2px; color: #65676b; }

.mock__alert { border-radius: 6px; padding: 8px 9px; border-left: 4px solid; background: #fff; }
.mock__alert b { display: block; font-size: .8rem; }
.mock__alert--red   { border-color: #e41e3f; background: #fde8eb; color: #a3001b; }
.mock__alert--red small { color: #a3001b; }
.mock__alert--amber { border-color: #f5a623; background: #fff4e0; }
.mock__alert--green { border-color: #31a24c; background: #e7f6ea; }
.mock__alert--soft  { border-color: #c9ccd1; }

.mock__btn {
  text-align: center; border-radius: 6px; padding: 7px; font-weight: 600;
  background: #1877f2; color: #fff;
}
.mock__btn--off { background: #e4e6eb; color: #a8abaf; }
.mock__btn--ghost { background: #e4e6eb; color: #1c1e21; }

.mock__ad { display: flex; gap: 9px; align-items: center; background: #fff; border-radius: 6px; padding: 7px; }
.mock__thumb {
  width: 42px; height: 42px; border-radius: 6px; display: grid; place-items: center;
  background: linear-gradient(135deg, #d6d9de, #b9bec6); font-size: 1.2rem; filter: grayscale(.4);
}

.mock__progress { height: 8px; background: #dfe1e5; border-radius: 99px; overflow: hidden; }
.mock__progress span { display: block; height: 100%; background: #f5a623; }
.txt-amber { color: #c77c00; }

.mock__timeline { list-style: none; background: #fff; border-radius: 6px; padding: 8px 10px; display: grid; gap: 7px; }
.mock__timeline li { display: flex; justify-content: space-between; align-items: center; padding-left: 18px; position: relative; color: #8a8d91; }
.mock__timeline li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid #c9ccd1; background: #fff;
}
.mock__timeline li.done { color: #1c1e21; }
.mock__timeline li.done::before { background: #31a24c; border-color: #31a24c; }
.mock__timeline li.wait { color: #1c1e21; }
.mock__timeline li.wait::before { background: #f5a623; border-color: #f5a623; }

/* Estados */
.st { font-style: normal; font-weight: 700; font-size: .68rem; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.st--red   { background: #fde8eb; color: #c8102e; }
.st--amber { background: #fff1d6; color: #b36b00; }
.st--green { background: #e3f4e6; color: #1e7b34; }
.st--blue  { background: #e7f0fd; color: #1461c9; }

/* WhatsApp chat */
.mock__chat { background: #efeae2; }
.verified { font-style: normal; background: #25d366; color: #fff; border-radius: 50%; padding: 0 4px; font-size: .62rem; }
.bubble { max-width: 85%; padding: 6px 9px; border-radius: 8px; box-shadow: 0 1px 1px rgba(0,0,0,.1); }
.bubble--in  { background: #fff; justify-self: start; }
.bubble--out { background: #d9fdd3; justify-self: end; }
.bubble--out small { color: #53bdeb; text-align: right; }
.mock__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.mock__chips span { background: #fff; border-radius: 99px; padding: 2px 8px; font-size: .68rem; color: #075e54; font-weight: 600; }

/* Árbol de contingencia */
.tree { display: grid; justify-items: center; background: #fff; border-radius: 6px; padding: 10px 8px; }
.node { background: #f0f2f5; border: 1px solid #dadde1; border-radius: 6px; padding: 5px 8px; display: flex; gap: 6px; align-items: center; font-weight: 600; white-space: nowrap; }
.node--main { background: #e7f0fd; border-color: #1877f2; }
.tree__lines { display: flex; gap: 60px; height: 16px; }
.tree__lines span { width: 2px; background: #1877f2; }
.tree__lines span:first-child { transform: skewX(40deg); }
.tree__lines span:last-child { transform: skewX(-40deg); }
.tree__kids { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

/* Lista de activos */
.assets { list-style: none; display: grid; gap: 5px; }
.assets li { display: flex; justify-content: space-between; align-items: center; gap: 6px; background: #fff; border-radius: 6px; padding: 6px 9px; }

/* Servicios destacados */
.featured { margin-bottom: 56px; }
.card--featured { position: relative; display: flex; flex-direction: column; border-color: #2f3a33; }
.card--featured p { flex: 1; }
.badge-new {
  align-self: flex-start; background: rgba(34,197,94,.15); color: var(--accent);
  font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px;
}
.link { color: var(--accent); font-weight: 600; margin-top: 14px; }
.link:hover { text-decoration: underline; }
.title--sm { font-size: 1.4rem; margin-bottom: 24px; }

/* ===== Pasos ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #04150a; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ===== Tipos de negocio ===== */
.tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag {
  background: var(--card); border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 999px; font-size: .95rem;
}

/* ===== Planes ===== */
.plans { align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
}
.plan--featured { border: 2px solid var(--accent); box-shadow: 0 0 40px rgba(34,197,94,.15); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #04150a; font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; }
.plan__for { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.plan__price { font-size: 2.2rem; font-weight: 800; margin-bottom: 18px; }
.plan__price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin-bottom: 26px; flex: 1; }
.plan li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.plan li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); margin-right: 8px; }

/* ===== FAQ ===== */
.faq details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; padding: 0 22px;
}
.faq summary {
  cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* ===== Contacto ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact__text p { color: var(--muted); margin: 12px 0 20px; font-size: 1.05rem; }
.contact__list { list-style: none; display: grid; gap: 10px; }
.form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; display: grid; gap: 16px;
}
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--text);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form__note { font-size: .82rem; color: var(--muted); text-align: center; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; color: var(--muted); }
.footer__inner { display: grid; gap: 10px; justify-items: center; }
.footer__legal { font-size: .8rem; opacity: .7; }

/* ===== WhatsApp flotante ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem;
  background: #25d366; box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Animación al hacer scroll ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-alt);
    border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; width: 100%; }
  .nav__links .btn { text-align: center; margin-top: 8px; }
  .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0; }
}

/* Captura real dentro del marco */
.mock__photo { display: block; width: 100%; height: 200px; object-fit: cover; object-position: top; background: #fff; }

.nav__links a.nav__community { color: var(--accent); font-weight: 600; }

/* ===== Iconos profesionales (Font Awesome) ===== */
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.35rem; color: var(--accent);
  background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25);
}
.icon--wa { color: #25d366; background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.3); font-size: 1.6rem; }
.ic-wa { color: #25d366; }
.btn .ic-wa, .ig__btn--primary .ic-wa { color: inherit; }
.hero__checks i, .contact__list i { color: var(--accent); margin-right: 4px; }
.hero__checks .ic-wa { color: #25d366; }
.tag i { color: var(--accent); margin-right: 6px; width: 1.1em; text-align: center; }
.callout i { color: var(--accent); margin-right: 6px; }
.link i { font-size: .85em; margin-left: 2px; }
.link .ic-wa { font-size: 1.05em; margin: 0 4px 0 0; }
.card h3 .ic-wa { margin-right: 4px; }
.mock__thumb i { color: #65676b; font-size: 1.1rem; }
.assets li span i { color: #1877f2; width: 1.2em; text-align: center; margin-right: 4px; }
.nav__toggle i { font-size: 1.4rem; }
.wa-float { font-size: 2rem; color: #fff; }
.wa-float i { line-height: 1; }
