/* ==========================================================================
   BMEN — sitio público (inicio y precios)
   Colores, botones y formularios: bmen.css. Acá va lo propio del sitio.

   Dirección: marino profundo, blanco y un acento cian usado con mesura.
   Superficies planas con bordes finos; sin resplandores ni degradados de
   fondo. El producto (la demo) es la imagen principal.
   ========================================================================== */

.sitio { overflow-x: hidden; }
.sitio .container { width: min(100% - 48px, 1180px); margin-inline: auto; }
.sitio a:not(.btn) { color: inherit; }

/* ---------- Encabezado ---------- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: .02em; text-decoration: none; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link { padding: 7px 12px; border-radius: 8px; color: var(--muted) !important; font-size: 14px; font-weight: 500; text-decoration: none; transition: color var(--dur) var(--ease); }
.nav-link:hover, .nav-link.on { color: var(--text) !important; }
.nav-links .btn { margin-left: 10px; }
.header-nav .tema-boton { width: 36px; height: 36px; border-color: transparent; background: transparent; }
.header-nav .tema-boton:hover { border-color: var(--border); }
.nav-toggle { display: none; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Portada ---------- */
.hero { padding: 80px 0 96px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 4px 12px 4px 4px;
    border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 500;
}
.hero-badge .tag { padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.hero-title { max-width: 13ch; margin: 0 0 22px; font-size: clamp(40px, 6vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; }
.hero-subtitle { max-width: 50ch; margin: 0 0 32px; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-acento { color: var(--accent-ink); }
.solo-movil { display: none; }
.hero-confianza { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13.5px; }
.hero-confianza li { display: inline-flex; align-items: center; gap: 8px; }
.hero-confianza li::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; background: var(--accent-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-entra { animation: bmSube .5s var(--ease) both; }
.hero-entra:nth-child(2) { animation-delay: .05s; } .hero-entra:nth-child(3) { animation-delay: .1s; } .hero-entra:nth-child(4) { animation-delay: .15s; } .hero-entra:nth-child(5) { animation-delay: .2s; }
@keyframes bmSube { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Demo interactiva (un teléfono con la vista del cliente) ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.demo { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; }

/* El sistema detrás del celular: el panel donde llegan los pedidos. Solo en pantallas anchas. */
.ventana { display: none; }
@media (min-width: 1180px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 40px; }
    .hero-visual { justify-content: flex-end; }
    .ventana {
        position: absolute; left: 0; top: 92px; display: flex; flex-direction: column; width: 360px; height: 470px;
        border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden;
    }
}
.ventana-barra { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.ventana-barra span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.ventana-barra b { margin-left: 10px; color: var(--muted); font-size: 12px; font-weight: 500; }
.ventana-cuerpo { flex: 1; min-height: 0; padding: 16px 76px 0 16px; overflow: hidden; }
.ventana-cabeza { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ventana-cabeza b { font-size: 16px; letter-spacing: -.01em; }
.ventana-vivo { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.ventana-vivo::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.ventana-lista { display: grid; gap: 10px; }
.ventana-espera { margin: 0; padding: 18px 12px; border: 1px dashed var(--border-strong); border-radius: 10px; color: var(--muted); font-size: 13px; text-align: center; }
.vp { padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); animation: vpEntra .45s var(--ease) both; }
.vp.nuevo { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
@keyframes vpEntra { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.vp-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 12px; color: var(--muted); }
.vp-estado { padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.vp:not(.nuevo) .vp-estado { background: var(--surface-2); color: var(--muted); }
.vp-items { margin: 0; color: var(--text); font-size: 13px; line-height: 1.5; }
.vp-pie { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 13px; }
.vp-pie { gap: 8px; }
.vp-pie b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.vp-acciones { display: flex; gap: 6px; }
.vp-acciones span { white-space: nowrap; padding: 3px 7px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); font-size: 11px; font-weight: 600; }
.demo-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.demo-tab { padding: 7px 14px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.demo-tab:hover { color: var(--text); }
.demo-tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); }
.telefono {
    position: relative; width: 340px; max-width: 100%; height: 620px; padding: 10px;
    border-radius: 44px; background: #0b1726; border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
}
:root[data-theme="light"] .telefono { background: #0c1b2c; border-color: #0c1b2c; }
.telefono::before { content: ''; position: absolute; z-index: 3; top: 18px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #04090f; }
/* La pantalla es siempre clara: así ven el menú o la quinta los clientes del negocio */
.telefono-pantalla {
    position: relative; height: 100%; overflow: hidden; border-radius: 35px;
    background: #ffffff; color: #111827; font-size: 14px; color-scheme: light;
}
.demo-panel { height: 100%; overflow-y: auto; scrollbar-width: none; padding: 54px 16px 16px; animation: bmAvisoEntra .25s var(--ease) both; }
.demo-panel::-webkit-scrollbar { display: none; }
.demo-nota { max-width: 340px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.demo-nota a { color: var(--link) !important; font-weight: 600; text-decoration: none; }
.demo-nota a:hover { text-decoration: underline; }

/* Menú QR: la plantilla real del menú público, dentro de la pantalla */
.demo-panel-menu { display: flex; flex-direction: column; padding: 0; overflow: hidden; background: #0b0f17; }
.demo-panel-menu[hidden] { display: none; }
.tel-estado { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 6px 26px 0 30px; color: #f5f7fa; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tel-estado-iconos { display: flex; align-items: center; gap: 6px; }
/* Se dibuja a 390 px (el ancho de un iPhone) y se achica para entrar en la pantalla: se ve igual que en un celular */
.demo-menu-marco { --escala: .82; position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.demo-menu {
    position: absolute; top: 0; left: 0; display: block; width: 390px; height: calc(100% / var(--escala));
    border: 0; background: #0b0f17; color-scheme: dark;
    transform: scale(var(--escala)); transform-origin: 0 0;
}

/* Quinta de ejemplo (preset "bosque", el diseño que trae una quinta nueva) */
.dq-portada { display: grid; align-content: end; height: 120px; margin: -54px -16px 14px; padding: 16px; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55)), #2f5d46; color: #fff; }
.dq-portada b { font-size: 19px; }
.dq-portada span { font-size: 12.5px; opacity: .9; }
.dq-mes { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dq-mes b { font-size: 14.5px; text-transform: capitalize; }
.dq-mes button { width: 32px; height: 32px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; color: #111827; font-size: 18px; cursor: pointer; }
.dq-semana, .dq-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.dq-semana span { color: #9ca3af; font-size: 11px; font-weight: 600; }
.dq-dias span { height: 34px; }
.dq-dias button { height: 34px; padding: 0; border: 0; border-radius: 9px; background: #ecf3ef; color: #1f3a2a; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.dq-dias button.finde { background: #dcebe2; }
.dq-dias button:hover:not(:disabled) { background: #2f5d46; color: #fff; }
.dq-dias button.on { background: #2f5d46; color: #fff; }
.dq-dias button:disabled { background: transparent; color: #c4c9cf; cursor: default; }
.dq-dias button.lleno { color: #c4c9cf; text-decoration: line-through; }
.dq-turnos { margin-top: 14px; }
.dq-ayuda { margin: 0; color: #6b7280; font-size: 13px; text-align: center; }
.dq-fecha { margin: 0 0 8px; color: #374151; font-size: 13px; font-weight: 600; text-transform: capitalize; }
.dq-turno { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 8px; padding: 11px 14px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; color: #111827; font: inherit; text-align: left; cursor: pointer; }
.dq-turno:hover { border-color: #2f5d46; }
.dq-turno b { display: block; font-size: 14px; } .dq-turno small { color: #6b7280; font-size: 12px; }
.dq-turno strong { font-size: 14px; font-variant-numeric: tabular-nums; }

/* Página de enlaces de ejemplo */
.demo-panel[data-panel="enlaces"] { background: #102b4a; color: #fff; }
.de-perfil { display: grid; justify-items: center; gap: 4px; margin: 20px 0 26px; text-align: center; }
.de-foto { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 8px; border-radius: 50%; background: #5eead4; color: #102b4a; font-size: 24px; font-weight: 800; }
.de-perfil b { font-size: 17px; } .de-perfil span { color: #b8cadb; font-size: 13.5px; }
.de-links { display: grid; gap: 10px; }
.de-links a { display: block; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff !important; text-align: center; font-weight: 600; text-decoration: none; }
.de-pie { margin: 24px 0 0; color: #8fb0cc; font-size: 12px; text-align: center; }

/* Lo que le llega al negocio por WhatsApp */
.demo-hoja { position: absolute; inset: auto 0 0 0; z-index: 4; padding: 16px 16px 20px; border-radius: 22px 22px 0 0; background: #e8f5ee; box-shadow: 0 -12px 30px rgba(0,0,0,.18); animation: bmHoja .25s var(--ease) both; }
@keyframes bmHoja { from { transform: translateY(100%); } to { transform: none; } }
.demo-hoja-cabeza { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13px; color: #14532d; }
.demo-hoja-cabeza button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(20,83,45,.1); color: #14532d; font-size: 18px; cursor: pointer; }
.demo-hoja pre { margin: 0; padding: 12px 14px; border-radius: 12px 12px 12px 4px; background: #fff; color: #111827; font: inherit; font-size: 13px; line-height: 1.5; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.demo-hoja p { margin: 10px 0 0; color: #3f6b52; font-size: 12px; text-align: center; }

/* ---------- Secciones ---------- */
.section { padding: 104px 0; border-bottom: 1px solid var(--border); }
.section-alt { background: var(--surface-2); }
:root[data-theme="dark"] .section-alt { background: color-mix(in srgb, var(--surface) 55%, var(--bg)); }
.section-header { max-width: 620px; margin-bottom: 48px; }
.section-eyebrow { margin: 0 0 10px; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.section-title { margin: 0 0 14px; font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.section-subtitle { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.section-subtitle a { color: var(--link) !important; font-weight: 600; }

/* Productos: dos o más, diferenciados, con lo que incluyen */
.productos { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.producto { display: flex; flex-direction: column; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color var(--dur) var(--ease); }
.producto:hover { border-color: var(--border-strong); }
.producto-cabeza { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.producto .icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--border); font-size: 23px; }
.producto img.icon { padding: 10px; object-fit: contain; }
.producto h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.producto-para { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.producto-desc { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.producto-incluye { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.producto-incluye li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.producto-incluye li::before { content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; background: var(--accent-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.producto .precio { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.producto .valor { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.producto .etiqueta { color: var(--muted); font-size: 13.5px; }
.producto-acciones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.mas-abajo { margin-top: 32px; }

/* Pasos (es una secuencia de verdad) */
.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.pasos li { padding: 28px 28px 0 0; }
.pasos li + li { padding-left: 28px; border-left: 1px solid var(--border); }
.paso-n { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 18px; border-radius: 9px; border: 1px solid var(--border-strong); color: var(--accent-ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pasos h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.pasos p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Enlaces gratis: reclamar el usuario en una línea */
.enlaces-banda { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.enlaces-banda .section-title { margin-bottom: 14px; }
.enlaces-claim { display: flex; gap: 10px; flex-wrap: wrap; }
.enlaces-claim-box {
    flex: 1 1 260px; display: flex; align-items: center; min-height: 50px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.enlaces-claim-box:focus-within { border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 28%, transparent); }
.enlaces-claim-box span { padding-left: 14px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.enlaces-claim-box input { flex: 1; min-width: 0; padding: 12px 14px 12px 1px; border: 0; outline: none; background: transparent; color: var(--text); font: inherit; font-size: 16px; font-weight: 600; }
.enlaces-claim .btn { min-height: 50px; }
.enlaces-nota { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

/* Servicios en la grilla de precios (se sigue usando en otras páginas) */
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

/* Diseño web: planes + cotizador */
.webplans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.webplan-card { display: flex; flex-direction: column; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.webplan-card.featured { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line); }
.webplan-tag { align-self: flex-start; margin-bottom: 18px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.webplan-card.featured .webplan-tag { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); }
.webplan-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.webplan-card p { flex: 1; margin: 0 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.webplan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.webplan-price .desde { color: var(--muted); font-size: 13.5px; }
.webplan-price .valor { font-size: 32px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.webplan-card .btn { align-self: flex-start; }
.webplan-incluye { display: grid; gap: 7px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.webplan-incluye li { display: flex; align-items: flex-start; gap: 8px; }
.webplan-incluye li::before { content: '✓'; flex-shrink: 0; color: var(--accent-ink); font-weight: 800; }
.webplan-todos { margin: 20px 0 36px; padding: 22px 24px; border-radius: var(--radius, 14px); background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.webplan-todos strong { display: block; margin-bottom: 12px; color: var(--text); font-size: 16px; }
.webplan-todos .webplan-incluye { grid-template-columns: minmax(0, 1fr); gap: 9px; margin-bottom: 14px; color: var(--text); }
.webplan-todos p { margin: 0; }
.web-demos { margin: 0 0 40px; }
.web-demos h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.web-demos > p { margin: 0 0 20px; color: var(--muted); }
.web-demos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.web-demo { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s ease; }
.web-demo:hover { border-color: var(--accent-line); }
.web-demo:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.web-demo img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 760; border-bottom: 1px solid var(--border); }
.web-demo-texto { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 18px 20px 20px; }
.web-demo-texto b { font-size: 18px; letter-spacing: -.01em; }
.web-demo-texto > span:not([class]) { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.web-demo-plan { color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.web-demo-ver { margin-top: auto; padding-top: 12px; color: var(--accent-ink); font-weight: 700; font-size: 15px; }
@media (max-width: 900px) { .web-demos-grid { grid-template-columns: minmax(0, 1fr); } }
.config-nota { margin: -8px 0 22px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.config-base-row span:last-child, .extra-price { white-space: nowrap; }

.configurator-card { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.configurator-card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.configurator-card > p { margin: 0 0 22px; color: var(--muted); }
.config-base-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; }
.config-base-row span:last-child { font-variant-numeric: tabular-nums; }
.config-extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin: 12px 0 22px; }
.config-extra {
    display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 14px; cursor: pointer;
    border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500;
    transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.config-extra:hover { border-color: var(--border-strong); }
.config-extra:has(input:checked) { border-color: var(--accent-ink); background: var(--accent-soft); }
.config-extra input { width: 18px; height: 18px; flex-shrink: 0; }
.extra-price { margin-left: auto; color: var(--muted); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.config-total-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--border); }
.config-total-label { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.config-total-value { font-size: 34px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }

/* Características: cuatro cosas en las que BMEN se apoya */
/* Soluciones: cuatro áreas en una sola pieza con divisiones, sin tarjetas sueltas */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.area { padding: 28px 24px 30px; }
.area + .area { border-left: 1px solid var(--border); }
.area-icono { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--accent-ink); }
.area-icono svg { width: 21px; height: 21px; }
.area h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.area p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Desarrollo a medida */
.medida { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: start; }
.medida .section-subtitle { margin-bottom: 24px; }
.medida-lista { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.medida-lista li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; }
.medida-lista li::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; border-radius: 2px; background: var(--accent-ink); }
.medida-prueba { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.medida-prueba-titulo { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); }
.medida-prueba-sub { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.medida-prueba ul { margin: 0; padding: 0; list-style: none; }
.medida-prueba li { display: grid; gap: 3px; padding: 14px 0; border-top: 1px solid var(--border); }
.medida-prueba li b { font-size: 15px; }
.medida-prueba li span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.pasos-nota { margin: 28px 0 0; color: var(--muted); font-size: 14.5px; }

/* Preguntas */
.preguntas-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.preguntas-grid .section-header { margin: 0; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; color: var(--muted); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 62ch; color: var(--muted); line-height: 1.65; }
.faq details p a { color: var(--link) !important; font-weight: 600; }

/* Cierre: el marino del logo, liso */
.section-cta { border-bottom: 0; }
.contacto-banda { padding: 64px; border-radius: var(--radius-xl); background: var(--bm-navy-900); color: #dbe7f2; border: 1px solid rgba(255,255,255,.08); }
.contacto-banda h2 { margin: 0 0 12px; color: #fff; font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.contacto-banda p { max-width: 52ch; margin: 0 0 30px; color: #a9c2d8; font-size: 17px; line-height: 1.6; }
.contacto-banda .acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.contacto-banda .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.contacto-banda .btn-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

.site-footer { padding: 32px 0 44px; color: var(--muted); font-size: 13.5px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted) !important; text-decoration: none; }
.site-footer a:hover { color: var(--text) !important; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
    .hero { padding: 56px 0 72px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .hero-title { max-width: 16ch; }
    .enlaces-banda, .preguntas-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .webplans-grid { grid-template-columns: minmax(0, 1fr); }
    .webplan-card .btn { align-self: stretch; }
    .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .area + .area { border-left: 0; }
    .area:nth-child(even) { border-left: 1px solid var(--border); }
    .area:nth-child(n+3) { border-top: 1px solid var(--border); }
    .medida { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .section { padding: 80px 0; }
}
@media (max-width: 860px) {
    .nav-toggle { display: inline-grid; }
    .nav-links {
        position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; animation: bmAvisoEntra .18s var(--ease) both; }
    .nav-link { padding: 13px 12px; font-size: 16px; }
    .nav-links .btn { margin: 8px 0 0; min-height: 48px; }
    .pasos { grid-template-columns: minmax(0, 1fr); border-top: 0; }
    .pasos li, .pasos li + li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 640px) {
    .sitio .container { width: min(100% - 32px, 1180px); }
    .hero { padding: 28px 0 48px; }
    .hero-grid { gap: 36px; }
    .hero-badge { margin-bottom: 18px; }
    .hero-title { margin-bottom: 16px; }
    .hero-subtitle { margin-bottom: 24px; color: var(--text); }
    .solo-ancho { display: none; }
    .solo-movil { display: inline; }
    .hero-ctas .btn { flex: 1 1 100%; min-height: 50px; }
    /* En el celular, el segundo botón se vuelve un enlace: menos peso, más lugar para la demo */
    .hero-ctas .hero-cta-2 { min-height: 40px; border: 0; background: none; box-shadow: none; color: var(--link); font-size: 15px; }
    .hero-confianza { display: none; }
    .telefono { width: 100%; max-width: 340px; height: 600px; }
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 32px; }
    .productos { grid-template-columns: minmax(0, 1fr); }
    .producto { padding: 24px 20px; }
    .producto-acciones .btn { flex: 1 1 100%; }
    .enlaces-claim .btn { flex: 1 1 100%; }
    .areas { grid-template-columns: minmax(0, 1fr); }
    .area:nth-child(even) { border-left: 0; }
    .area + .area { border-top: 1px solid var(--border); }
    .medida-prueba { padding: 22px; }
    .configurator-card { padding: 22px 16px; }
    .config-total-row .btn { flex: 1 1 100%; }
    .contacto-banda { padding: 36px 22px; }
    .contacto-banda .btn { flex: 1 1 100%; }
}
@media (max-width: 560px) { .header-nav .hide-sm { display: none; } }
