/* WEBIFY PROJECT · web principal */
:root {
  --ink: #0E0E12; --ink-2: #1A1A21; --ink-3: #26262F; --lime: #C8FF2E; --lime-d: #A9DD12;
  --bone: #F6F5F0; --paper: #FFFFFF; --gray: #6B6B73; --gray-l: #A6A6AE; --line: #E4E2DA;
  --font-h: "Space Grotesk", "Segoe UI", system-ui, sans-serif; --font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 20px; --wrap: 1160px; --g: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 16px/1.6 var(--font-b); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-h); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lima { color: var(--lime); }
.marca { background: var(--lime); color: var(--ink); padding: 0 .12em; border-radius: .12em; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 14px;
  font: 700 16px/1 var(--font-h); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-lima { background: var(--lime); color: var(--ink); box-shadow: 0 6px 0 var(--lime-d); }
.btn-lima:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--lime-d); }
.btn-borde { border-color: currentColor; }
.btn-tinta { background: var(--ink); color: var(--bone); }
.btn svg { width: 22px; height: 22px; }

/* barra superior */
.top { position: sticky; top: 0; z-index: 50; background: #000; color: var(--bone); border-bottom: 1px solid rgba(255,255,255,.08); }
.top-in { display: flex; align-items: center; gap: 20px; height: 66px; }
.top-logo img { height: 34px; width: auto; }
.top nav { display: none; gap: 8px; margin-left: auto; }
.top nav a { text-decoration: none; font: 500 15px/1 var(--font-h); letter-spacing: .01em; color: #E8E8EC;
  padding: 10px 14px; border-radius: 10px; transition: background .15s, color .15s; }
.top nav a:hover { background: rgba(200,255,46,.12); color: var(--lime); }
.top .btn { min-height: 42px; padding: 8px 18px; font-size: 15px; margin-left: auto; box-shadow: none; }
@media (min-width: 900px) { .top nav { display: flex; } .top .btn { margin-left: 0; } }

/* portada */
.hero { background: var(--ink); color: var(--bone); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 85% 20%, rgba(200,255,46,.16), transparent 70%),
  linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/44px 44px,
  linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/44px 44px; pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 40px; padding: 56px var(--g) 0; align-items: end; }
.hero-txt { padding-bottom: 56px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--gray-l); }
.chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--lime); }
.hero h1 { font-size: clamp(46px, 9.5vw, 96px); margin: 20px 0 18px; }
.hero h1 .precio { display: inline-block; background: var(--lime); color: var(--ink); padding: 0 .14em; border-radius: .14em; transform: rotate(-2deg); }
.hero .lead { font-size: clamp(17px, 2.1vw, 20px); color: #cfcfd6; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero .btn-borde { color: var(--bone); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #cfcfd6; }
.ticks li::before { content: "✓"; color: var(--lime); font-weight: 800; margin-right: 8px; }
.telefonos { position: relative; height: 430px; }
.tel { position: absolute; bottom: -40px; width: 210px; border-radius: 30px; border: 8px solid #000; background: #000; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.tel img { width: 100%; aspect-ratio: 9/19; object-fit: cover; object-position: top; }
.tel-1 { left: 50%; transform: translateX(-120%) rotate(-7deg); }
.tel-2 { left: 50%; transform: translateX(-50%); bottom: -10px; z-index: 2; width: 230px; }
.tel-3 { left: 50%; transform: translateX(20%) rotate(7deg); }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.1fr .9fr; padding-top: 80px; }
  .telefonos { height: 560px; } .tel { width: 230px; } .tel-2 { width: 260px; }
}

/* franja de países */
.franja { background: var(--lime); color: var(--ink); font: 700 15px/1 var(--font-h); overflow: hidden; white-space: nowrap; }
.franja-in { display: inline-flex; gap: 36px; padding: 16px 0; animation: correr 45s linear infinite; }
.franja span::after { content: "■"; margin-left: 36px; font-size: 10px; vertical-align: 2px; }
@keyframes correr { to { transform: translateX(-50%); } }

/* secciones */
.sec { padding: 88px 0; }
.sec-oscura { background: var(--ink); color: var(--bone); }
.kicker { font: 700 13px/1 var(--font-h); letter-spacing: .16em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--lime); border-radius: 2px; box-shadow: 0 0 0 1px var(--ink); }
.sec-oscura .kicker { color: var(--gray-l); }
.titulo { font-size: clamp(32px, 5.4vw, 56px); margin-bottom: 18px; max-width: 16em; }
.sub { font-size: 18px; color: var(--gray); max-width: 40em; }
.sec-oscura .sub { color: #b9b9c2; }

/* problema */
.dolores { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 820px) { .dolores { grid-template-columns: repeat(3, 1fr); } }
.dolor { background: var(--paper); border-radius: var(--r); padding: 26px; border: 1px solid var(--line); }
.dolor .no { font: 700 14px/1.3 var(--font-h); color: #c0392b; text-decoration: line-through; margin-bottom: 10px; }
.dolor h3 { font-size: 22px; margin-bottom: 8px; }
.dolor p { color: var(--gray); margin: 0; }

/* qué incluye */
.incluye { display: grid; gap: 14px; margin-top: 40px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.item { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 18px; padding: 22px; }
.item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.item h3 { font-size: 19px; margin-bottom: 6px; }
.item p { color: #b0b0ba; font-size: 15px; margin: 0; }
.nota-lima { margin-top: 26px; display: flex; gap: 12px; align-items: flex-start; background: rgba(200,255,46,.08); border: 1px solid rgba(200,255,46,.35); border-radius: 16px; padding: 18px 20px; color: #e6e6ea; }
.nota-lima b { color: var(--lime); }

/* pasos */
.pasos { display: grid; gap: 16px; margin-top: 40px; counter-reset: paso; }
@media (min-width: 820px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.paso { background: var(--paper); border-radius: var(--r); padding: 28px; border: 1px solid var(--line); position: relative; }
.paso::before { counter-increment: paso; content: "0" counter(paso); font: 700 54px/1 var(--font-h); color: var(--ink); -webkit-text-stroke: 0; display: block; margin-bottom: 16px; }
.paso h3 { font-size: 22px; margin-bottom: 8px; }
.paso p { color: var(--gray); margin: 0; }
.paso.destacado { background: var(--lime); border-color: var(--lime); }
.paso.destacado p { color: var(--ink); }

/* ejemplos */
.ejemplos { display: grid; gap: 18px; margin-top: 40px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ej { text-decoration: none; color: var(--ink); background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .15s; display: flex; flex-direction: column; }
.ej:hover { transform: translateY(-4px); }
.ej-img { background: var(--ink); aspect-ratio: 4/5; overflow: hidden; }
.ej-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ej-txt { padding: 16px 18px 20px; }
.ej-txt b { font: 700 18px/1.2 var(--font-h); display: block; }
.ej-txt span { color: var(--gray); font-size: 14px; }
.ej-txt em { font-style: normal; font-weight: 700; font-size: 14px; display: inline-block; margin-top: 10px; }

/* precio */
.precio-box { display: grid; gap: 28px; align-items: center; background: var(--ink); color: var(--bone); border-radius: 28px; padding: 36px 26px; margin-top: 10px; position: relative; overflow: hidden; }
.precio-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: var(--lime); border-radius: 40px; transform: rotate(18deg); opacity: .12; }
@media (min-width: 900px) { .precio-box { grid-template-columns: 1fr 1.2fr; padding: 56px; } }
.monto { font: 700 clamp(84px, 16vw, 150px)/.9 var(--font-h); letter-spacing: -.04em; }
.monto sup { font-size: .4em; vertical-align: .9em; margin-right: 4px; color: var(--lime); }
.monto-sub { font: 700 18px/1.3 var(--font-h); color: var(--lime); margin-top: 10px; }
.lista { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.lista li { padding-left: 30px; position: relative; color: #dedee4; }
.lista li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 4px; background: var(--lime); }
.precio-nota { color: var(--gray-l); font-size: 14px; margin: 14px 0 0; }

/* comparativa */
.tabla-wrap { overflow-x: auto; margin-top: 36px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
table.comp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.comp th, .comp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.comp thead th { font: 700 15px/1.2 var(--font-h); }
.comp thead th.yo { background: var(--ink); color: var(--lime); }
.comp td.yo { background: rgba(200,255,46,.18); font-weight: 600; }
.comp tr:last-child td { border-bottom: 0; }
/* móvil: cada criterio es una tarjeta y las opciones van una debajo de otra */
@media (max-width: 759px) {
  .tabla-wrap { overflow: visible; border: 0; background: transparent; }
  table.comp, .comp tbody, .comp tr, .comp td { display: block; min-width: 0; width: 100%; }
  .comp thead { display: none; }
  .comp tr { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 14px; }
  .comp td { border-bottom: 1px solid var(--line); padding: 12px 18px; display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .comp td::before { content: attr(data-label); font: 600 13px/1.4 var(--font-h); color: var(--gray); text-align: left; flex: none; max-width: 45%; }
  .comp td.crit { display: block; text-align: left; background: var(--ink); color: var(--bone); font: 700 18px/1.3 var(--font-h); padding: 14px 18px; }
  .comp td.crit::before { content: none; }
  .comp td.yo { background: rgba(200,255,46,.22); }
  .comp td.yo::before { color: var(--ink); }
  .comp tr td:last-child { border-bottom: 0; }
}

/* rubros */
.rubros { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rubros span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; }

/* preguntas */
.faq { margin-top: 32px; display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font: 700 18px/1.3 var(--font-h); padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 26px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--gray); margin: 0 0 18px; }

/* cierre */
.cierre { text-align: center; }
.cierre .titulo { margin: 0 auto 16px; }
.cierre .sub { margin: 0 auto 30px; }
.contacto-pendiente { display: none; color: var(--gray-l); font-size: 14px; margin-top: 16px; }
.sin-contacto .contacto-pendiente { display: block; }

/* pie */
.pie { background: var(--ink); color: var(--gray-l); padding: 48px 0 32px; font-size: 14px; border-top: 1px solid var(--ink-3); }
.pie-in { display: grid; gap: 24px; }
@media (min-width: 760px) { .pie-in { grid-template-columns: 1.5fr 1fr 1fr; } }
.pie img { height: 46px; width: auto; margin-bottom: 14px; }
.pie h4 { color: var(--bone); font: 700 13px/1 var(--font-h); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.pie a { text-decoration: none; } .pie a:hover { color: var(--lime); }
.pie-legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* WhatsApp flotante */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.3); }
.sin-contacto .fab { display: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .franja-in { animation: none; } .btn, .ej { transition: none; } }
