/* =========================================================
   Quick Pro Latam — estilos del sitio
   Identidad: verde profundo, menta y naranja. Sora + Inter.
   ========================================================= */
:root {
  --g-950: #04231c; --g-900: #08342b; --g-800: #0d4a3c; --g-700: #12634f;
  --brand: #178f6e; --brand-dark: #12735a; --mint: #2fd39c; --orange: #f5a623; --gold: #e3b654;
  --ink: #10241f; --ink-2: #4f635c; --ink-3: #8a9a94; --line: #dfe8e4; --soft: #f3f7f5; --white: #fff;
  --red: #d64545; --blue: #2f6fd3; --amber: #d98b0b; --violet: #6f4fd0;
  --r: 14px;
  --shadow: 0 1px 2px rgba(4,35,28,.06), 0 12px 32px -8px rgba(4,35,28,.14);
  --shadow-lg: 0 2px 4px rgba(4,35,28,.06), 0 30px 60px -20px rgba(4,35,28,.35);
  --font-head: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
body.menu-abierto { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 600; }
button { font: inherit; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 104px 0; }
section.tight { padding: 72px 0; }
.bg-soft { background: var(--soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 600px; }

.kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.kicker.light { color: var(--mint); } .kicker.light::before { background: var(--mint); }
.head { max-width: 760px; margin-bottom: 64px; }
.head p { margin-top: 18px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .kicker { justify-content: center; }
.head.center .lead { margin-inline: auto; }
.head.sm { margin-bottom: 40px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px rgba(23,143,110,.7); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-orange { background: var(--orange); color: var(--g-950); }
.btn-orange:hover { background: #ffb63f; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }
.btn[disabled] { opacity: .6; cursor: default; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 15px; }
.link svg { width: 16px; height: 16px; transition: transform .2s; }
.link:hover svg { transform: translateX(3px); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Marcos: ventana y teléfono para las capturas reales */
.win { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(4,35,28,.1); }
.win .bar { height: 30px; background: #e6ede9; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid rgba(4,35,28,.06); }
.win .bar i { width: 10px; height: 10px; border-radius: 50%; background: #c7d3cd; }
.win .bar i:first-child { background: #f28b82; } .win .bar i:nth-child(2) { background: #f5c26b; } .win .bar i:nth-child(3) { background: #7fd1a8; }
.win .bar b { margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.win .bar .url { margin-left: 10px; flex: 1; height: 18px; border-radius: 5px; background: #fff; font-size: 11px; color: var(--ink-3); display: flex; align-items: center; padding: 0 10px; }
.win img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; object-position: center top; }
.win.dark .bar { background: #0f2a23; border-color: rgba(255,255,255,.06); } .win.dark .bar b { color: #9fbdb3; }
.phone { background: #0f1614; border-radius: 34px; padding: 9px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3531; }
.phone img { border-radius: 26px; aspect-ratio: 9 / 19.5; object-fit: cover; width: 100%; }

/* ===== Aviso superior ===== */
.aviso { background: var(--orange); color: var(--g-950); font-size: 14px; font-weight: 500; }
.aviso .container { display: flex; align-items: center; gap: 14px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.aviso span { flex: 1; }
.aviso-btn { background: var(--g-950); color: #fff; padding: 6px 12px; border-radius: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.aviso-x { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--g-950); padding: 0 4px; }

/* ===== Aviso emergente ===== */
.aviso-modal { position: fixed; inset: 0; z-index: 400; background: rgba(4,20,16,.6); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .22s ease; }
.aviso-modal.in { opacity: 1; }
.aviso-modal[hidden] { display: none; }
.aviso-card { position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 20px; box-shadow: 0 40px 90px -20px rgba(0,0,0,.6); transform: translateY(16px) scale(.98); transition: transform .25s ease; }
.aviso-modal.in .aviso-card { transform: none; }
.aviso-cerrar { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(4,35,28,.55); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.aviso-cerrar:hover { background: var(--g-900); }
.aviso-img { display: block; background: var(--soft); }
.aviso-img img { width: 100%; max-height: 360px; object-fit: cover; display: block; }
.aviso-body { padding: 26px 28px 28px; }
.aviso-body h3 { font-size: 24px; margin-bottom: 10px; }
.aviso-body p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 20px; }
.aviso-body .actions { gap: 10px; }
@media (max-width: 600px) { .aviso-body { padding: 20px; } .aviso-body h3 { font-size: 20px; } .aviso-img img { max-height: 240px; } .aviso-body .actions .btn { width: 100%; } }

/* ===== Barra superior + navegación ===== */
.topbar { background: var(--g-950); color: #a8c4bb; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar b { color: #fff; font-weight: 500; }
.topbar .links { display: flex; gap: 22px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .portal { display: inline-flex; align-items: center; gap: 6px; color: var(--mint); font-weight: 500; }
.topbar .portal svg { width: 14px; height: 14px; }
header.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 40px; height: 40px; border-radius: 10px; }
.logo .wm { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.logo .wm b { color: var(--brand); font-weight: 800; }
.logo .wm small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: .22em; font-weight: 600; color: var(--ink-3); margin-top: 4px; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu > a, .menu .dd-btn { font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color .2s; background: none; border: 0; cursor: pointer; padding: 0; }
.menu > a:hover, .menu .dd-btn:hover, .menu > a.on, .menu .dd-btn.on { color: var(--ink); }
.menu > a.on, .menu .dd-btn.on { color: var(--brand); }
.menu .btn { padding: 11px 18px; font-size: 14px; }
.menu .btn-brand { color: #fff; }
.menu .menu-portal svg { width: 15px; height: 15px; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; }
.dd-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.dd-menu { position: absolute; top: calc(100% + 18px); left: -16px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.dd-menu::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.dd:hover .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.dd:hover .dd-btn svg, .dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 9px; transition: background .15s; }
.dd-menu a:hover, .dd-menu a.on { background: var(--soft); }
.dd-menu a b { display: block; font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.dd-menu a span { font-size: 13px; color: var(--ink-2); }
.dd-menu a.on b { color: var(--brand); }
.dd-menu .dd-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 12px; color: var(--brand); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.dd-menu .dd-all svg { width: 15px; height: 15px; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; }

/* ===== Portada (inicio) ===== */
.hero { position: relative; background: var(--g-900); color: #fff; padding: 96px 0 140px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, var(--g-950) 0%, var(--g-900) 45%, var(--g-800) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero .tag, .phero .tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--mint); margin-bottom: 26px; }
.hero .tag i, .phero .tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero h1, .phero h1 { color: #fff; font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; margin-bottom: 24px; }
.hero h1 em, .phero h1 em { font-style: normal; color: var(--mint); }
.hero .lead, .phero .lead { color: #bcd3cb; font-size: 19px; margin-bottom: 36px; max-width: 520px; }
.hero .modes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #9fbdb3; }
.hero .modes a::before { content: "■"; color: var(--orange); font-size: 8px; margin-right: 8px; vertical-align: 2px; }
.hero .modes a:hover { color: #fff; }
.hero-art { position: relative; }
.hero-art .win { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.hero-art .phone { position: absolute; width: 160px; left: -64px; bottom: -72px; transform: rotate(-5deg); z-index: 2; }
.hero-art .note { position: absolute; right: -8px; top: -26px; z-index: 3; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 13px; }
.hero-art .note b { display: block; font-family: var(--font-head); font-size: 16px; color: var(--g-900); }
.hero-art .note .ok { width: 34px; height: 34px; border-radius: 50%; background: #e6f7f0; color: var(--brand); display: grid; place-items: center; }
.hero-art .note .ok svg { width: 18px; height: 18px; }

/* Franja de hechos, superpuesta a la portada */
.facts { padding: 0; margin-top: -60px; position: relative; z-index: 2; }
.facts-grid { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.fact { padding: 28px; border-right: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.fact:last-child { border-right: 0; }
.fact svg { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.fact b { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.fact span { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }

/* ===== Portada de producto / páginas interiores ===== */
.phero { position: relative; background: var(--g-900); color: #fff; padding: 72px 0 0; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, var(--g-950) 0%, var(--g-900) 50%, var(--g-800) 100%); }
.phero.amber::before { background: linear-gradient(115deg, var(--g-950) 0%, #0b2f27 50%, #3a2a08 100%); }
.phero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 65%); }
.phero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: end; }
.phero .txt { padding-bottom: 72px; }
.phero h1 { font-size: clamp(34px, 4.2vw, 52px); }
.phero .lead { margin-bottom: 30px; }
.phero .shot { align-self: end; }
.phero .shot .win { border-radius: 14px 14px 0 0; border-bottom: 0; box-shadow: 0 -10px 60px -20px rgba(0,0,0,.6); }
.phero .shot .win img { aspect-ratio: 16 / 8.6; }
.phero.simple { padding: 72px 0 64px; }
.phero.simple .container { display: block; }
.phero.simple .txt { padding-bottom: 0; max-width: 760px; }
.phero.simple .lead { margin-bottom: 0; max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "›"; margin-right: 8px; color: rgba(255,255,255,.35); }
.crumbs.dark { color: var(--ink-3); margin-bottom: 0; }
.crumbs.dark a:hover { color: var(--brand); }

/* Barra de características rápidas bajo la portada */
.qbar { background: var(--g-950); padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.qbar .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; color: #d7e6e0; font-size: 14px; font-weight: 500; }
.qbar span { display: inline-flex; align-items: center; gap: 9px; }
.qbar svg { width: 17px; height: 17px; color: var(--mint); }

/* Banda de cifras */
.stats { background: var(--brand); color: #fff; padding: 48px 0; }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(34px, 4vw, 48px); font-weight: 700; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 13.5px; opacity: .9; line-height: 1.4; display: block; max-width: 180px; margin: 0 auto; }

/* ===== Soluciones (tarjetas de producto) ===== */
.lines { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.line-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.line-card .img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--g-900); }
.line-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.line-card:hover .img img { transform: scale(1.03); }
.line-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.line-card .body h3 { margin-bottom: 8px; }
.line-card .body h3 small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.line-card .body p { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.chips span { font-size: 12.5px; font-weight: 500; color: var(--g-800); background: var(--soft); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.line-card .link { margin-top: auto; }

/* ===== Secciones texto + capturas ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.flip .art { order: -1; }
.split .lead { margin-top: 18px; margin-bottom: 30px; }
.feats { display: grid; gap: 16px; margin-bottom: 34px; }
.feats li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: flex-start; }
.feats .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); }
.feats .ic svg { width: 20px; height: 20px; }
.feats b { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.feats span { font-size: 14.5px; color: var(--ink-2); }
.art { position: relative; }
.art .win.sub { position: absolute; width: 58%; right: -28px; bottom: -48px; border: 4px solid #fff; }
.art .win.sub .bar { display: none; }
.art.left .win.sub { right: auto; left: -28px; }
.band { background: var(--g-900); color: #fff; }
.band h2, .band h3, .band .feats b, .band .head p { color: #fff; }
.band .lead, .band .feats span, .band p { color: #b6cdc5; }
.band .feats .ic { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--mint); }
.band .art .win.sub { border-color: var(--g-900); }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin-top: 88px; }
.phones .phone { width: 220px; }
.phones .phone:nth-child(2) { width: 250px; margin-bottom: 24px; }
.phones-cap { text-align: center; color: #b6cdc5; font-size: 15px; margin-top: 34px; }
.phones-cap b { color: #fff; font-weight: 600; }
.collage { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.collage .win:first-child { grid-row: span 2; display: flex; flex-direction: column; }
.collage .win:first-child img { flex: 1; min-height: 0; height: 100%; aspect-ratio: auto; object-position: left top; }

/* ===== Quick Pro Lite ===== */
.lite { background: linear-gradient(180deg, #fff 0%, #eaf6f1 100%); border-top: 1px solid var(--line); }
.lite-url { margin-top: 14px; font-size: 13px; color: var(--ink-3); font-family: var(--font-head); letter-spacing: .04em; }

/* ===== Capacidades (rejilla con líneas) ===== */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.caps.c3 { grid-template-columns: repeat(3, 1fr); }
.cap { background: #fff; padding: 30px 26px; transition: background .2s; }
.cap:hover { background: var(--soft); }
.cap svg { width: 26px; height: 26px; color: var(--brand); margin-bottom: 16px; }
.cap b { display: block; font-family: var(--font-head); font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.cap p { font-size: 14px; color: var(--ink-2); }
.band .caps { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.band .cap { background: var(--g-900); } .band .cap:hover { background: var(--g-800); }
.band .cap svg { color: var(--mint); } .band .cap b { color: #fff; } .band .cap p { color: #b6cdc5; }

/* ===== Módulos del sistema ===== */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mod { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mod::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--mint)); opacity: 0; transition: opacity .3s; }
.mod:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.mod:hover::before { opacity: 1; }
.mod .num { font-family: var(--font-head); font-size: 42px; font-weight: 800; color: #e3efe9; line-height: 1; position: absolute; right: 22px; top: 18px; }
.mod .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); margin-bottom: 18px; }
.mod .ic svg { width: 22px; height: 22px; }
.mod h3 { font-size: 18px; margin-bottom: 8px; }
.mod p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 16px; }
.mod ul { display: grid; gap: 7px; }
.mod li { font-size: 13.5px; color: var(--ink-2); padding-left: 18px; position: relative; line-height: 1.5; }
.mod li::before { content: "›"; position: absolute; left: 0; color: var(--brand); font-weight: 700; font-size: 16px; line-height: 1.2; }
.mod.dark { background: var(--g-900); border-color: transparent; }
.mod.dark h3 { color: #fff; } .mod.dark p, .mod.dark li { color: #b6cdc5; } .mod.dark li::before { color: var(--mint); }
.mod.dark .ic { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--mint); }
.mod.dark .num { color: rgba(255,255,255,.08); }

/* ===== Galería de pantallas reales ===== */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.shot.wide { grid-column: span 2; }
.shot .frame { background: var(--g-900); padding: 9px 12px; display: flex; align-items: center; gap: 6px; }
.shot .frame i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.shot .frame i:first-child { background: var(--mint); }
.shot .frame b { margin-left: 8px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.65); letter-spacing: .06em; text-transform: uppercase; }
.shot .pic { position: relative; overflow: hidden; }
.shot .pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.shot:hover .pic img { transform: scale(1.03); }
.shot .pic::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 38px; font-weight: 300; background: rgba(4,35,28,0); transition: background .25s; opacity: 0; }
.shot:hover .pic::after { background: rgba(4,35,28,.35); opacity: 1; }
.shot .cap { padding: 16px 18px 18px; }
.shot .cap h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.shot .cap p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

/* Visor de imágenes */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(4,20,16,.94); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1400px, 94vw); max-height: 90vh; display: flex; flex-direction: column; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.5); object-fit: contain; margin: 0 auto; }
.lightbox figcaption { color: rgba(255,255,255,.8); text-align: center; font-size: 14px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--brand); }
.lb-x { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ===== Flujo de pasos (check-in, venta) ===== */
.flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 0; }
.flow .fstep { flex: 1 1 130px; max-width: 160px; text-align: center; position: relative; padding: 0 12px; }
.flow .fstep::after { content: "›"; position: absolute; right: -6px; top: 8px; color: var(--brand); font-size: 26px; font-weight: 300; }
.flow .fstep:last-child::after { display: none; }
.flow .n { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 16px; margin: 0 auto 12px; box-shadow: 0 6px 18px -6px rgba(23,143,110,.7); }
.flow h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.flow p { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }

/* ===== Pasos de implementación ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: paso; }
.step { position: relative; padding-top: 26px; }
.step::before { counter-increment: paso; content: "0" counter(paso); font-family: var(--font-head); font-weight: 800; font-size: 44px; color: var(--line); position: absolute; top: -18px; left: 0; line-height: 1; }
.step::after { content: ""; display: block; width: 100%; height: 2px; background: var(--line); margin-bottom: 20px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* ===== Tarjetas de estado (rack, combustibles, pagos, documentos) ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); margin-bottom: 16px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.card .tag { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--brand); }
.card.center { text-align: center; } .card.center .ic { margin-inline: auto; }
.card.t-green { background: #e8f8f1; border-color: #9fdcc2; } .card.t-green .ic { background: #fff; color: #0f8a5f; border-color: #9fdcc2; } .card.t-green h3 { color: #0a5c40; }
.card.t-red { background: #fdecec; border-color: #f3b4b4; } .card.t-red .ic { background: #fff; color: var(--red); border-color: #f3b4b4; } .card.t-red h3 { color: #7a1f1f; }
.card.t-blue { background: #e9f1fd; border-color: #b4cdf3; } .card.t-blue .ic { background: #fff; color: var(--blue); border-color: #b4cdf3; } .card.t-blue h3 { color: #1b3f7a; }
.card.t-amber { background: #fef4e2; border-color: #f3d39a; } .card.t-amber .ic { background: #fff; color: var(--amber); border-color: #f3d39a; } .card.t-amber h3 { color: #6e4305; }
.card.t-violet { background: #f0ecfb; border-color: #cfc3f1; } .card.t-violet .ic { background: #fff; color: var(--violet); border-color: #cfc3f1; } .card.t-violet h3 { color: #3b2a7a; }
.note-line { text-align: center; color: var(--ink-2); font-size: 15px; margin-top: 28px; }

/* ===== Banner oscuro de integración ===== */
.dark-box { position: relative; overflow: hidden; background: var(--g-900); border-radius: 20px; padding: 56px; color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.dark-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; background: url('../../images/logo.png') center/contain no-repeat; opacity: .08; }
.dark-box h2 { color: #fff; margin-bottom: 12px; font-size: clamp(26px, 3.2vw, 36px); }
.dark-box h2 em { font-style: normal; color: var(--mint); }
.dark-box p { color: #b6cdc5; font-size: 16.5px; }
.dark-box ul { display: grid; gap: 10px; margin-top: 20px; }
.dark-box li { display: flex; align-items: flex-start; gap: 10px; color: #d7e6e0; font-size: 14.5px; }
.dark-box li::before { content: "✓"; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); color: var(--g-950); display: grid; place-items: center; font-size: 11px; font-weight: 700; margin-top: 2px; }
.dark-box .actions { justify-content: flex-end; position: relative; z-index: 1; }
.dark-box.cta-box .actions { justify-content: flex-end; }

/* ===== Sectores ===== */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sectors span { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 15px; background: #fff; }

/* ===== FAQ ===== */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font-family: var(--font-head); font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--brand); transition: transform .25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 700px; }

/* ===== Llamado final ===== */
.cta { padding: 0 0 104px; }
.cta-box { position: relative; overflow: hidden; background: var(--g-900); border-radius: 20px; padding: 64px; color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; background: url('../../images/logo.png') center/contain no-repeat; opacity: .08; }
.cta-box h2 { color: #fff; margin-bottom: 12px; }
.cta-box p { color: #b6cdc5; font-size: 17px; }
.cta-box .actions { justify-content: flex-end; position: relative; z-index: 1; }

/* ===== Contacto y formularios ===== */
.contact { background: var(--soft); }
.info { display: grid; gap: 22px; margin-top: 34px; }
.info li { display: flex; gap: 16px; align-items: flex-start; }
.info .ic { width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.info .ic svg { width: 20px; height: 20px; }
.info b { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 600; }
.info span, .info a { color: var(--ink-2); font-size: 15px; }
.info a:hover { color: var(--brand); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: grid; gap: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23,143,110,.15); }
.form .btn { margin-top: 6px; }
.form small { color: var(--ink-3); font-size: 12.5px; text-align: center; }
.form .chk { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13.5px; }
.form .chk input { width: auto; margin-top: 3px; }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.alert { border-radius: 12px; padding: 16px 18px; font-size: 14.5px; display: flex; gap: 12px; align-items: flex-start; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alert.ok { background: #e6f7f0; color: #0a5c40; border: 1px solid #9fdcc2; }
.alert.err { background: #fdecec; color: #7a1f1f; border: 1px solid #f3b4b4; }
.alert.info { background: #e9f1fd; color: #1b3f7a; border: 1px solid #b4cdf3; }
.done { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 44px 36px; box-shadow: var(--shadow); text-align: center; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; background: #e6f7f0; color: var(--brand); display: grid; place-items: center; margin: 0 auto 18px; }
.done .ok svg { width: 30px; height: 30px; }
.done h3 { margin-bottom: 8px; }
.done p { color: var(--ink-2); margin-bottom: 22px; }

/* ===== Noticias ===== */
.news-tools { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cats a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; background: #fff; transition: border-color .2s, color .2s, background .2s; }
.cats a:hover { border-color: var(--brand); color: var(--brand); }
.cats a.on { background: var(--g-900); color: #fff; border-color: var(--g-900); }
.search { display: flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.search input { border: 0; padding: 10px 16px; font: inherit; font-size: 14px; min-width: 220px; outline: 0; }
.search button { border: 0; background: var(--brand); color: #fff; padding: 0 16px; cursor: pointer; display: grid; place-items: center; }
.search button svg { width: 16px; height: 16px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post .img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.post .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover .img img { transform: scale(1.03); }
.post .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--soft); border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; }
.badge.orange { color: #8a5200; background: #fff4e1; border-color: #f3d39a; }
.post h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.3; }
.post h3 a:hover { color: var(--brand); }
.post p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; }
.post .link { margin-top: auto; }
.post.featured { grid-column: span 3; display: grid; grid-template-columns: 1.2fr 1fr; }
.post.featured .img { aspect-ratio: auto; min-height: 320px; }
.post.featured .body { padding: 40px; justify-content: center; }
.post.featured h3 { font-size: 28px; }
.empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--line); border-radius: 16px; color: var(--ink-2); }
.empty svg { width: 40px; height: 40px; color: var(--ink-3); margin: 0 auto 14px; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 56px; }
.pg { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; font-size: 14px; background: #fff; }
.pg:hover { border-color: var(--brand); color: var(--brand); }
.pg.on { background: var(--g-900); color: #fff; border-color: var(--g-900); }
.pg.dots { border: 0; background: none; }

/* Artículo */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.article-head { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.article-head h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin: 18px 0 16px; }
.article-head .meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; color: var(--ink-3); }
.article-head .resumen { font-size: 18px; color: var(--ink-2); margin-top: 18px; }
.article-cover { max-width: 1000px; margin: 0 auto 56px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 17px; line-height: 1.75; color: #22352f; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose h4 { font-size: 18px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 12px; margin: 1.5em auto; box-shadow: var(--shadow); }
.prose blockquote { border-left: 4px solid var(--brand); padding: 10px 22px; background: var(--soft); border-radius: 0 12px 12px 0; color: var(--ink-2); font-style: italic; }
.prose figure figcaption { font-size: 13.5px; color: var(--ink-3); text-align: center; margin-top: -1em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--soft); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tags span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); }
.share { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.share a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 13.5px; background: #fff; }
.share a:hover { border-color: var(--brand); color: var(--brand); }
.share svg { width: 15px; height: 15px; }
.aside { position: sticky; top: 96px; display: grid; gap: 24px; }
.aside-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.aside-box h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.aside-box.dark { background: var(--g-900); color: #fff; border-color: transparent; }
.aside-box.dark h4 { color: var(--mint); }
.aside-box.dark p { color: #b6cdc5; font-size: 14.5px; margin-bottom: 18px; }
.mini-list { display: grid; gap: 14px; }
.mini-list a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; }
.mini-list img { width: 76px; height: 56px; object-fit: cover; border-radius: 8px; }
.mini-list b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.mini-list span { font-size: 12px; color: var(--ink-3); }
.mini-list a:hover b { color: var(--brand); }

/* ===== Soporte: descargas y canales ===== */
.docs { display: grid; gap: 14px; }
.doc { display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.doc .ft { width: 54px; height: 54px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .06em; color: var(--brand); text-transform: uppercase; }
.doc b { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 600; }
.doc p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.doc .meta { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.doc .btn { white-space: nowrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; font-size: 14px; cursor: pointer; transition: all .2s; }
.tabs button:hover { border-color: var(--brand); color: var(--brand); }
.tabs button.on { background: var(--g-900); color: #fff; border-color: var(--g-900); }

/* ===== Noticias en portada: solo imagen y título ===== */
.home-news .post .body { padding: 18px 20px 20px; }
.home-news .post h3 { font-size: 18px; margin: 0; }
.home-news .post h3 a { display: block; }

/* ===== Pie ===== */
footer { background: var(--g-950); color: #9fbdb3; padding: 72px 0 0; font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.foot .logo .wm { color: #fff; }
.foot .logo .wm small { color: #6f8f85; }
.foot p { margin-top: 18px; max-width: 320px; }
footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
footer ul { display: grid; gap: 10px; }
footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--brand); }
.socials svg { width: 17px; height: 17px; fill: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* WhatsApp flotante */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .2s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* Aparición suave */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ===== Adaptación a pantallas ===== */
@media (max-width: 1080px) {
  .lines { grid-template-columns: repeat(2, 1fr); }
  .line-card { grid-column: span 1; }
  .caps, .cards { grid-template-columns: repeat(2, 1fr); }
  .caps.c3, .cards.c3 { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .mods, .shots, .posts { grid-template-columns: repeat(2, 1fr); }
  .shot.wide { grid-column: span 2; }
  .post.featured { grid-column: span 2; }
  .foot { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; }
  .aside { position: static; }
  .menu { gap: 18px; }
  .menu .menu-portal { display: none; }
}
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .topbar .links span, .topbar .links a:not(.portal) { display: none; }
  .burger { display: block; }
  .menu { position: fixed; top: 72px; left: 0; right: 0; max-height: calc(100vh - 72px); overflow-y: auto; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 40px; box-shadow: var(--shadow-lg); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .menu.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .menu > a, .menu .dd-btn { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; text-align: left; width: 100%; }
  .dd { width: 100%; }
  .dd-btn { display: flex; justify-content: space-between; }
  .dd-menu { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 8px 12px; opacity: 1; visibility: visible; transform: none; display: none; }
  .dd.open .dd-menu { display: block; }
  .dd:hover .dd-menu { display: none; }
  .dd:hover.open .dd-menu { display: block; }
  .menu .btn { margin-top: 14px; }
  .menu .menu-portal { display: inline-flex; }
  .hero { padding: 64px 0 120px; }
  .hero .container, .split, .phero .container { grid-template-columns: 1fr; gap: 48px; }
  .phero .txt { padding-bottom: 0; }
  .split.flip .art { order: 0; }
  .hero-art { margin-top: 20px; }
  .hero-art .win { transform: none; }
  .hero-art .phone { width: 118px; left: -6px; bottom: -36px; }
  .hero-art .note { right: 0; }
  .art .win.sub { width: 55%; right: -8px; bottom: -32px; }
  .art.left .win.sub { left: -8px; }
  .phones { gap: 14px; margin-top: 64px; }
  .phones .phone { width: 30%; } .phones .phone:nth-child(2) { width: 34%; margin-bottom: 12px; }
  .collage { grid-template-columns: 1fr; }
  .collage .win:first-child { grid-row: auto; }
  .cta-box, .dark-box { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-box .actions, .dark-box .actions { justify-content: flex-start; }
  .post.featured { grid-template-columns: 1fr; }
  .flow .fstep::after { display: none; }
  .doc { grid-template-columns: 54px 1fr; }
  .doc .btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 600px) {
  .lines, .caps, .caps.c3, .cards, .cards.c3, .facts-grid, .steps, .foot, .form .row, .mods, .shots, .posts { grid-template-columns: 1fr; }
  .shot.wide, .post.featured { grid-column: span 1; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .hero .actions .btn, .phero .actions .btn { width: 100%; }
  .form { padding: 26px 20px; }
  .cta-box::after, .dark-box::after { display: none; }
  .search input { min-width: 0; width: 100%; }
  .search { width: 100%; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
}

[hidden] { display: none !important; }

/* Botones dentro del menú: deben ganar a la regla genérica de enlaces del menú */
.menu > a.btn { padding: 11px 18px; font-size: 14px; border-radius: 10px; }
.menu > a.btn-brand { background: var(--brand); color: #fff; }
.menu > a.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.menu > a.btn-line { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.menu > a.btn-line:hover { border-color: var(--brand); color: var(--brand); }
/* Barra superior: nunca en dos líneas */
.topbar .container { height: auto; min-height: 36px; }
.topbar span, .topbar a { white-space: nowrap; }
.topbar .lema-sub { color: #a8c4bb; }
@media (max-width: 1280px) { .topbar .lema-sub, .topbar .links .presencia { display: none; } }
@media (max-width: 1080px) { .topbar .links a:not(.portal) { display: none; } }

/* ===== Dónde comprar: banderas, panel de país y asociados ===== */
.flags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.flag { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 16px 12px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; min-width: 190px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.flag img { grid-row: span 2; width: 48px; height: 32px; object-fit: cover; border-radius: 5px; box-shadow: 0 1px 3px rgba(4,35,28,.2); }
.flag b { font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.flag span { font-size: 12.5px; color: var(--ink-3); }
.flag:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.flag.on { border-color: var(--brand); background: #e9f7f1; box-shadow: 0 0 0 3px rgba(23,143,110,.12); }
.flags.mini { gap: 10px; justify-content: center; margin: 0; }
.flags.mini .flag { min-width: 0; padding: 10px 14px 10px 10px; }
.pais-panel { scroll-margin-top: 90px; }
.pais-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 36px; }
.pais-head img { width: 72px; height: 48px; object-fit: cover; border-radius: 7px; box-shadow: 0 2px 6px rgba(4,35,28,.2); flex-shrink: 0; margin-top: 4px; }
.pais-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.pais-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 36px; align-items: start; }
.pais-contacto { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 26px; position: sticky; top: 96px; }
.pais-contacto h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pais-contacto .info .ic { background: #fff; }
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.partner.top { border-color: #f3d39a; background: linear-gradient(180deg, #fffaf0 0%, #fff 60%); }
.partner-head { display: flex; gap: 14px; align-items: flex-start; }
.plogo { width: 60px; height: 60px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 4px; flex-shrink: 0; }
.plogo.ini { display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--brand); background: var(--soft); }
.partner h4 { font-size: 17px; margin: 6px 0 4px; }
.pciudad { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2); }
.pciudad svg { width: 14px; height: 14px; }
.partner > p { font-size: 14px; color: var(--ink-2); }
.plist { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.plist li { display: flex; gap: 8px; align-items: flex-start; }
.plist svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.plist a:hover { color: var(--brand); }
.partner .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 1080px) { .pais-grid { grid-template-columns: 1fr; } .pais-contacto { position: static; } }
@media (max-width: 700px) { .partners { grid-template-columns: 1fr; } .flag { min-width: calc(50% - 6px); } .pais-head { flex-direction: column; } }

/* Menú: nunca partir los textos en dos líneas; en pantallas medianas se compacta */
.menu > a, .menu .dd-btn, .menu .btn { white-space: nowrap; }
@media (max-width: 1400px) and (min-width: 901px) {
  .menu { gap: 18px; }
  .menu > a, .menu .dd-btn { font-size: 14.5px; }
  .menu .menu-portal { display: none; }
  .menu > a.btn { padding: 10px 14px; font-size: 13.5px; }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .menu { gap: 14px; }
  .logo .wm { font-size: 20px; }
}

/* Dónde comprar: solo asociados, 4 por fila a todo el ancho */
.pais-grid.solo-asociados { grid-template-columns: 1fr; }
.pais-grid.solo-asociados .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pais-grid.solo-asociados .partner { padding: 18px; gap: 12px; }
.pais-grid.solo-asociados .partner-head { flex-direction: column; gap: 10px; }
.pais-grid.solo-asociados .plogo { width: 52px; height: 52px; }
.pais-grid.solo-asociados .partner h4 { font-size: 16px; }
.pais-grid.solo-asociados .plist { font-size: 13.5px; }
.pais-grid.solo-asociados .partner .btn { width: 100%; }
@media (max-width: 1180px) { .pais-grid.solo-asociados .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .pais-grid.solo-asociados .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pais-grid.solo-asociados .partners { grid-template-columns: 1fr; } }
.pais-grid.solo-asociados .plist li { min-width: 0; overflow-wrap: anywhere; }

/* Logo: nunca se parte en dos líneas; el menú cede espacio antes */
.nav .container { gap: 24px; }
.logo { flex-shrink: 0; white-space: nowrap; }
.logo .wm { white-space: nowrap; }
.menu { flex-shrink: 1; min-width: 0; }
@media (max-width: 1500px) and (min-width: 901px) { .menu .menu-portal { display: none; } }

/* ===== Asistente de WhatsApp ===== */
.wa { transition: transform .2s, background .2s; }
.wa.open { background: var(--g-900); }
.wa.open svg { display: none; }
.wa.open::after { content: "×"; color: #fff; font-size: 34px; line-height: 1; }
.wa-box { position: fixed; right: 22px; bottom: 94px; z-index: 210; width: 360px; max-width: calc(100vw - 32px); max-height: min(560px, calc(100vh - 120px)); background: #e9f1ee; border-radius: 18px; box-shadow: 0 24px 60px -16px rgba(4,35,28,.45), 0 0 0 1px rgba(4,35,28,.06); display: flex; flex-direction: column; overflow: hidden; animation: wa-in .25s ease; }
.wa-box[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--g-900); color: #fff; }
.wa-head img { width: 40px; height: 40px; border-radius: 10px; }
.wa-head b { display: block; font-family: var(--font-head); font-size: 15px; }
.wa-head span { font-size: 12.5px; color: #b6cdc5; }
.wa-x { margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; flex-shrink: 0; }
.wa-x:hover { background: rgba(255,255,255,.2); }
.wa-body { padding: 14px; overflow-y: auto; display: grid; gap: 10px; align-content: start; background-image: radial-gradient(rgba(4,35,28,.05) 1px, transparent 1px); background-size: 14px 14px; }
.wa-msg { background: #fff; border-radius: 4px 14px 14px 14px; padding: 12px 14px; font-size: 14px; box-shadow: 0 1px 2px rgba(4,35,28,.08); max-width: 92%; animation: wa-in .3s ease; }
.wa-msg small { color: var(--ink-3); }
.wa-opts { display: grid; gap: 8px; }
.wa-opt { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1.5px solid transparent; border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; animation: wa-in .3s ease both; }
.wa-opt:nth-child(2) { animation-delay: .04s; } .wa-opt:nth-child(3) { animation-delay: .08s; } .wa-opt:nth-child(4) { animation-delay: .12s; } .wa-opt:nth-child(5) { animation-delay: .16s; }
.wa-opt:hover { border-color: var(--brand); transform: translateX(2px); box-shadow: var(--shadow); }
.wa-opt img { width: 40px; height: 28px; object-fit: cover; border-radius: 5px; box-shadow: 0 1px 3px rgba(4,35,28,.2); }
.wa-opt img.lg { width: 40px; height: 40px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 3px; box-shadow: none; }
.wa-opt em { width: 40px; height: 40px; border-radius: 9px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 14px; }
.wa-opt b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.wa-opt small { font-size: 12px; color: var(--ink-2); }
.wa-opt i { font-style: normal; color: var(--ink-3); font-size: 20px; }
.wa-opt.top { border-color: #f3d39a; background: #fffaf0; }
.wa-opt.directo { border-color: #bfe3d5; background: #f2fbf7; }
.wa-text { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; font-size: 14px; resize: none; background: #fff; outline: 0; }
.wa-text:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23,143,110,.15); }
.wa-send { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: #fff; border: 0; border-radius: 12px; padding: 14px; font-family: var(--font-head); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(37,211,102,.7); transition: background .15s, transform .15s; }
.wa-send:hover { background: #1fbf5b; transform: translateY(-1px); }
.wa-send svg { width: 20px; height: 20px; }
.wa-foot { text-align: center; font-size: 12.5px; color: var(--ink-2); padding: 2px 0 4px; }
.wa-foot a, .wa-link { background: none; border: 0; color: var(--brand); font-weight: 600; font-size: 12.5px; cursor: pointer; font-family: inherit; }
.wa-foot a:hover, .wa-link:hover { text-decoration: underline; }
@media (max-width: 600px) { .wa-box { right: 16px; bottom: 88px; } }
