/* ==========================================================================
   Nova Industrial — Plantilla front-end
   Stack: Bootstrap 5.3 + Bootstrap Icons + CSS propio (prefijo nv-)
   Variables inyectadas desde el panel (Plantillas › Personalizar):
     --nv-primary, --nv-primary-dark, --nv-secondary, --nv-accent,
     --nv-dark, --nv-text, --nv-font, --nv-font-size, --nv-radius
   Breakpoints: 992px (desktop/mobile nav), 576px
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --nv-primary: #21285F;
    --nv-primary-dark: #161B45;
    --nv-secondary: #3452A3;
    --nv-accent: #CD1F2C;
    --nv-dark: #0E1233;
    --nv-text: #1B2040;
    --nv-font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --nv-font-size: 15px;
    --nv-radius: 14px;

    --nv-muted: #6B7A99;
    --nv-border: #E2E6F0;
    --nv-bg: #FFFFFF;
    --nv-bg-soft: #F4F6FB;
    --nv-primary-soft: color-mix(in srgb, var(--nv-primary) 8%, #fff);
    --nv-primary-ring: color-mix(in srgb, var(--nv-primary) 22%, transparent);
    --nv-gradient: linear-gradient(135deg, var(--nv-primary) 0%, var(--nv-secondary) 100%);
    --nv-shadow-sm: 0 1px 2px rgba(20,20,56,.06), 0 1px 3px rgba(20,20,56,.05);
    --nv-shadow-md: 0 2px 6px rgba(20,20,56,.05), 0 8px 24px color-mix(in srgb, var(--nv-primary) 9%, transparent);
    --nv-shadow-lg: 0 4px 12px rgba(20,20,56,.06), 0 18px 48px color-mix(in srgb, var(--nv-primary) 14%, transparent);
    --nv-ease: cubic-bezier(.22,1,.36,1);
    --nv-header-h: 88px;

    /* Integración con Bootstrap */
    --bs-body-font-family: var(--nv-font);
    --bs-body-font-size: var(--nv-font-size);
    --bs-body-color: var(--nv-text);
    --bs-primary: var(--nv-primary);
    --bs-link-color: var(--nv-primary);
    --bs-link-hover-color: var(--nv-primary-dark);
    --bs-border-radius: calc(var(--nv-radius) * .7);
}

/* 2. Base ------------------------------------------------------------------ */
html { scroll-behavior: smooth; }
body {
    font-family: var(--nv-font);
    font-size: var(--nv-font-size);
    color: var(--nv-text);
    background: var(--nv-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -.02em; color: var(--nv-text); }
a { color: var(--nv-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--nv-primary-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--nv-primary); color: #fff; }
.nv-container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.text-gradient {
    background: var(--nv-gradient);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Botones */
.nv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: .93rem; line-height: 1;
    padding: 14px 24px; border-radius: calc(var(--nv-radius) * .8);
    border: 2px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--nv-ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.nv-btn:hover { transform: translateY(-2px); }
.nv-btn--primary { background: var(--nv-primary); color: #fff; box-shadow: 0 6px 20px var(--nv-primary-ring); }
.nv-btn--primary:hover { background: var(--nv-primary-dark); color: #fff; box-shadow: 0 10px 28px var(--nv-primary-ring); }
.nv-btn--gradient { background: var(--nv-gradient); color: #fff; box-shadow: 0 6px 20px var(--nv-primary-ring); }
.nv-btn--gradient:hover { color: #fff; box-shadow: 0 10px 28px var(--nv-primary-ring); }
.nv-btn--white { background: #fff; color: var(--nv-primary); }
.nv-btn--white:hover { color: var(--nv-primary-dark); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.nv-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.nv-btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.nv-btn--outline { background: transparent; color: var(--nv-primary); border-color: var(--nv-primary-ring); }
.nv-btn--outline:hover { border-color: var(--nv-primary); background: var(--nv-primary-soft); }
.nv-btn--whatsapp { background: #25D366; color: #fff; }
.nv-btn--whatsapp:hover { background: #1EBE5A; color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.35); }
.nv-btn--sm { padding: 10px 16px; font-size: .84rem; }
.nv-btn--block { width: 100%; }

/* Secciones */
.nv-section { padding: 88px 0; }
.nv-section--soft { background: var(--nv-bg-soft); }
.nv-section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.nv-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--nv-primary); background: var(--nv-primary-soft);
    border: 1px solid var(--nv-primary-ring); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.nv-section__title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.nv-section__sub { color: var(--nv-muted); font-size: 1.02rem; line-height: 1.65; margin: 0; }

/* 3. Barra superior (top strip) ------------------------------------------- */
.nv-topbar {
    position: relative; z-index: 1031; color: #fff;
    background: linear-gradient(90deg, var(--nv-dark) 0%, var(--nv-primary) 30%, var(--nv-primary-dark) 50%, var(--nv-primary) 70%, var(--nv-dark) 100%);
    background-size: 200% 100%;
    font-size: .84rem;
}
.nv-topbar--animated { animation: nvShimmer 8s linear infinite; }
@keyframes nvShimmer { from { background-position: 0 0; } to { background-position: 200% 0; } }
.nv-topbar__inner { display: flex; align-items: center; gap: 16px; min-height: 42px; }
.nv-topbar__promo { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 12px; }
.nv-topbar__tag {
    background: var(--nv-accent); border: 1px solid color-mix(in srgb, var(--nv-accent) 60%, #fff); color: #fff;
    font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
    padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.nv-topbar__text { color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-topbar__btn {
    background: var(--nv-secondary); color: #fff; font-size: 12px; font-weight: 700;
    padding: 5px 14px; border-radius: 999px; white-space: nowrap; transition: transform .2s, filter .2s;
}
.nv-topbar__btn:hover { color: #fff; filter: brightness(.92); transform: translateY(-1px); }
.nv-topbar__contact { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nv-topbar__contact a { color: rgba(255,255,255,.85); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.nv-topbar__contact a:hover { color: #fff; }

/* 4. Cabecera ------------------------------------------------------------- */
.nv-header {
    position: relative; z-index: 1030;
    background: rgba(255,255,255,.97);
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.nv-header--sticky { position: sticky; top: 0; }
.nv-header.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.nv-header::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, var(--nv-primary), var(--nv-secondary), var(--nv-primary));
    background-size: 200% 100%; animation: nvShimmer 4s linear infinite;
    opacity: 0; transition: opacity .3s;
}
.nv-header.is-scrolled::after, .nv-header.has-open::after { opacity: 1; }
.nv-header__inner { display: flex; align-items: center; gap: 28px; height: var(--nv-header-h); }

.nv-logo { display: flex; align-items: center; flex-shrink: 0; }
.nv-logo img { max-height: 70px; width: auto; display: block; transition: max-height .3s var(--nv-ease); }
.nv-header.is-scrolled .nv-logo img { max-height: 58px; }
.nv-logo__text { font-size: 1.35rem; font-weight: 900; letter-spacing: -.03em; color: var(--nv-text); }

/* Navegación de escritorio */
.nv-nav { flex: 1; display: flex; align-items: center; height: 100%; }
.nv-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; height: 100%; }
.nv-menu > li { display: flex; align-items: center; height: 100%; }
.nv-menu > li:not(.has-mega) { position: relative; }
.nv-link {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 15px; border: 0; background: none; border-radius: 10px;
    font: inherit; font-size: .95rem; font-weight: 500; color: #4B5563; white-space: nowrap; cursor: pointer;
    transition: color .2s, background .2s;
}
.nv-link::after {
    content: ''; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 2px; border-radius: 2px;
    background: var(--nv-gradient); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--nv-ease);
}
.nv-link:hover, .nv-link.is-active, .nv-link[aria-expanded="true"] { color: var(--nv-primary); }
.nv-link:hover::after, .nv-link.is-active::after, .nv-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nv-link[aria-expanded="true"] { background: var(--nv-primary-soft); }
.nv-link .bi { font-size: 1rem; }
.nv-chevron { font-size: .68rem !important; color: #9CA3AF; transition: transform .25s var(--nv-ease), color .2s; }
.nv-link[aria-expanded="true"] .nv-chevron { transform: rotate(180deg); color: var(--nv-primary); }

/* Panel desplegable genérico (dropdown simple) */
.nv-drop {
    position: absolute; top: calc(100% - 6px); left: 0; min-width: 260px;
    background: #fff; border: 1px solid color-mix(in srgb, var(--nv-primary) 10%, transparent);
    border-radius: calc(var(--nv-radius) + 4px); padding: 10px;
    box-shadow: 0 12px 28px rgba(20,20,56,.12), 0 28px 70px color-mix(in srgb, var(--nv-primary) 16%, transparent);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s var(--nv-ease), transform .22s var(--nv-ease), visibility .22s;
    list-style: none; margin: 0;
}
.nv-drop.is-open { opacity: 1; visibility: visible; transform: none; }
.nv-drop a {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
    color: var(--nv-text); font-size: .9rem; font-weight: 500;
}
.nv-drop a:hover { background: var(--nv-primary-soft); color: var(--nv-primary); }
.nv-drop .bi { color: var(--nv-primary); }

/* 5. MEGAMENÚ (100% de ancho) ---------------------------------------------- */
.nv-mega {
    position: absolute; left: 0; right: 0; top: 100%; width: 100%;
    background: linear-gradient(180deg, #fff 0%, #F8FAFF 100%);
    border-top: 1px solid var(--nv-border);
    box-shadow: 0 30px 60px -12px rgba(20,20,56,.22), 0 18px 36px -18px color-mix(in srgb, var(--nv-primary) 30%, transparent);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s var(--nv-ease), transform .25s var(--nv-ease), visibility .25s;
    max-height: calc(100vh - var(--nv-header-h) - 20px); overflow-y: auto;
}
.nv-mega.is-open { opacity: 1; visibility: visible; transform: none; }
.nv-mega__inner { position: relative; display: flex; gap: 0; min-height: 280px; }
.nv-mega__close {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--nv-text); border: 1px solid var(--nv-border); box-shadow: var(--nv-shadow-sm);
    font-size: .95rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--nv-ease);
}
.nv-mega__close:hover { background: var(--nv-accent); border-color: var(--nv-accent); color: #fff; transform: rotate(90deg); }
.nv-mega__close:focus-visible { outline: 3px solid var(--nv-primary-ring); outline-offset: 2px; }
.nv-mega:not(.nv-mega--media-right) .nv-mega__head { padding-right: 52px; }
.nv-mega__body { flex: 1; min-width: 0; padding: 32px 28px 28px; }
.nv-mega--media-left .nv-mega__media { order: -1; }

.nv-mega__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.nv-mega__head h3 { font-size: 1.05rem; margin: 0; }
.nv-mega__head p { margin: 2px 0 0; color: var(--nv-muted); font-size: .85rem; }

.nv-mega__grid { display: grid; gap: 26px 28px; grid-template-columns: repeat(var(--mega-cols, 4), minmax(0, 1fr)); }

.nv-mega__col-title {
    display: flex; align-items: center; gap: 10px;
    font-size: .92rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3;
    color: var(--nv-text); padding: 0 0 10px; margin-bottom: 8px;
    border-bottom: 1px solid var(--nv-border);
}
a.nv-mega__col-title:hover { color: var(--nv-primary); }
.nv-mega__col-title .nv-mega__ic { width: 30px; height: 30px; border-radius: 9px; font-size: .95rem; }
.nv-mega__col-title small { margin-left: auto; font-weight: 700; color: var(--nv-muted); letter-spacing: 0; }
.nv-mega__links { list-style: none; margin: 0; padding: 0; }
.nv-mega__links a {
    display: flex; align-items: center; gap: 8px; padding: 7px 8px; margin: 0 -8px;
    border-radius: 8px; color: #4B5563; font-size: .9rem; transition: background .2s, color .2s, padding .2s;
}
.nv-mega__links a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #C8CFE0; flex-shrink: 0; transition: background .2s; }
.nv-mega__links a:hover { background: var(--nv-primary-soft); color: var(--nv-primary); padding-left: 12px; }
.nv-mega__links a:hover::before { background: var(--nv-primary); }
.nv-mega__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .82rem; font-weight: 700; }
.nv-mega__more .bi { transition: transform .2s; }
.nv-mega__more:hover .bi { transform: translateX(3px); }

/* Ítem con ícono (estilo tarjeta) */
.nv-mega__item { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 12px; transition: background .2s; }
.nv-mega__item:hover { background: var(--nv-primary-soft); }
.nv-mega__ic {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #F1F3FB; color: var(--nv-primary); font-size: 1.1rem; transition: background .2s, color .2s;
}
.nv-mega__item:hover .nv-mega__ic { background: var(--nv-primary); color: #fff; }
.nv-mega__item strong { display: block; font-size: .92rem; font-weight: 700; color: var(--nv-text); line-height: 1.3; }
.nv-mega__item em { display: block; font-style: normal; font-size: .8rem; color: var(--nv-muted); margin-top: 3px; line-height: 1.45; }

/* Columna de imagen con opacidad configurable */
.nv-mega__media {
    position: relative; flex: 0 0 340px; overflow: hidden;
    background: linear-gradient(160deg, var(--nv-dark) 0%, var(--nv-primary-dark) 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 28px; color: #fff; isolation: isolate;
}
.nv-mega__media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
    opacity: var(--mega-img-opacity, 1); transition: transform 6s ease;
}
.nv-mega.is-open .nv-mega__media img { transform: scale(1.06); }
.nv-mega__media.has-text::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, transparent 30%, rgba(5,10,30,.78) 100%);
}
.nv-mega__media-tag {
    align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
    padding: 4px 11px; border-radius: 999px; margin-bottom: auto;
}
.nv-mega__media h4 { color: #fff; font-size: 1.25rem; margin: 0 0 8px; }
.nv-mega__media p { color: rgba(255,255,255,.85); font-size: .86rem; line-height: 1.55; margin: 0 0 16px; }

.nv-mega__footer {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--nv-border);
    font-size: .86rem; color: var(--nv-muted);
}

/* Fondo que oscurece la página con el megamenú abierto */
.nv-backdrop {
    position: fixed; inset: 0; z-index: 1029; background: rgba(11,16,32,.35);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.nv-backdrop.is-visible { opacity: 1; visibility: visible; }

/* Acciones de cabecera */
.nv-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.nv-icon-btn {
    width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--nv-border);
    background: #fff; color: #4B5563; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.05rem; transition: all .2s; cursor: pointer;
}
.nv-icon-btn:hover { color: var(--nv-primary); border-color: var(--nv-primary-ring); background: var(--nv-primary-soft); }
.nv-burger { display: none; }
.nv-actions { position: relative; z-index: 2; }
.nv-icon-btn, .nv-link { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* Buscador desplegable */
.nv-search {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--nv-border);
    box-shadow: 0 20px 40px -12px rgba(20,20,56,.18); padding: 22px 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .22s var(--nv-ease);
}
.nv-search.is-open { opacity: 1; visibility: visible; transform: none; }
.nv-search form { display: flex; gap: 10px; max-width: 760px; margin: 0 auto; }
.nv-search input {
    flex: 1; border: 2px solid var(--nv-border); border-radius: 12px; padding: 13px 18px; font: inherit; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.nv-search input:focus { border-color: var(--nv-primary); box-shadow: 0 0 0 4px var(--nv-primary-ring); }

/* Menú móvil (offcanvas) */
.nv-offcanvas { --bs-offcanvas-width: min(360px, 88vw); }
.nv-offcanvas .offcanvas-header { border-bottom: 1px solid var(--nv-border); }
.nv-offcanvas .nv-logo img { max-height: 52px; }
/* Ítems del menú móvil: list-group de Bootstrap 5 con los colores de la plantilla */
.nv-mlist {
    --bs-list-group-border-color: #EEF1F6;
    --bs-list-group-color: var(--nv-text);
    --bs-list-group-action-color: var(--nv-text);
    --bs-list-group-action-hover-color: var(--nv-primary);
    --bs-list-group-action-hover-bg: var(--nv-primary-soft);
    --bs-list-group-action-active-color: var(--nv-primary);
    --bs-list-group-action-active-bg: var(--nv-primary-soft);
    --bs-list-group-active-bg: var(--nv-primary);
    --bs-list-group-active-border-color: var(--nv-primary);
    --bs-list-group-item-padding-y: .8rem;
    --bs-list-group-item-padding-x: .75rem;
    margin: 0 -.75rem;
}
.nv-mlist > .list-group-item { font-weight: 600; font-size: .98rem; }
.nv-mlist .list-group-item .bi { width: 1.1rem; text-align: center; }
.nv-mlist .list-group-item.active { border-radius: 10px; }
.nv-mlist__chev { font-size: .75rem; transition: transform .25s var(--nv-ease); }
.nv-mlist > button[aria-expanded="true"] { color: var(--nv-primary); background: var(--nv-primary-soft); }
.nv-mlist > button[aria-expanded="true"] .nv-mlist__chev { transform: rotate(180deg); }
.nv-mlist__sub {
    --bs-list-group-item-padding-y: .6rem;
    margin: .25rem 0 .5rem .9rem; padding-left: .25rem;
    border-left: 2px solid var(--nv-primary-ring);
}
.nv-mlist__sub .list-group-item { font-weight: 500; font-size: .9rem; border: 0; border-radius: 8px; }
.nv-mlist__contact .list-group-item { border-color: #EEF1F6; }
.nv-mlist__contact a:hover { color: var(--nv-primary) !important; }

/* 6. HERO / BANNER --------------------------------------------------------- */
.nv-hero-wrap { padding: 16px 16px 0; }
.nv-hero {
    position: relative; overflow: hidden; border-radius: calc(var(--nv-radius) + 6px);
    color: #fff; isolation: isolate;
}
.nv-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .45; z-index: -1;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 78%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 78%);
}
.nv-hero--blue {
    background:
        radial-gradient(680px 360px at 86% 4%, rgba(255,255,255,.13) 0%, transparent 60%),
        radial-gradient(620px 420px at 4% 96%, rgba(0,0,0,.16) 0%, transparent 62%),
        linear-gradient(180deg, var(--nv-primary) 0%, var(--nv-primary-dark) 100%);
}
.nv-hero--dark {
    background:
        radial-gradient(680px 360px at 86% 4%, color-mix(in srgb, var(--nv-secondary) 18%, transparent) 0%, transparent 62%),
        radial-gradient(640px 420px at 6% 94%, color-mix(in srgb, var(--nv-primary) 28%, transparent) 0%, transparent 62%),
        linear-gradient(180deg, #0E1322 0%, #0C1430 100%);
}
.nv-hero--light { background: linear-gradient(160deg, #EEF1FF 0%, #E5ECFF 52%, #E1F3FF 100%); color: var(--nv-text); }
.nv-hero--light::before { background-image: radial-gradient(color-mix(in srgb, var(--nv-primary) 14%, transparent) 1px, transparent 1px); }

.nv-hero__inner {
    display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center;
    max-width: 1320px; margin: 0 auto; padding: 78px 48px;
    min-height: 540px;
}
.nv-hero__chip {
    display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: 7px 16px;
    font-size: .8rem; font-weight: 700; margin-bottom: 22px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff;
}
.nv-hero__chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.nv-hero h1, .nv-hero h2.nv-hero__title {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 900; line-height: 1.06; letter-spacing: -.035em;
    color: #fff; margin-bottom: 20px;
}
.nv-hero h1 em, .nv-hero__title em {
    font-style: normal; display: inline;
    background: linear-gradient(120deg, #FFFFFF, #A5E8FF);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nv-hero--dark h1 em, .nv-hero--dark .nv-hero__title em,
.nv-hero--light h1 em, .nv-hero--light .nv-hero__title em {
    background: linear-gradient(120deg, var(--nv-primary), var(--nv-secondary));
    -webkit-background-clip: text; background-clip: text;
}
.nv-hero__sub { font-size: 1.08rem; line-height: 1.65; color: rgba(255,255,255,.9); max-width: 520px; margin-bottom: 32px; }
.nv-hero--dark .nv-hero__sub { color: #AFB7CE; }
.nv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.nv-hero__trust { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.nv-hero__trust li { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.88); }
.nv-hero__trust .bi { color: #A5E8FF; font-size: 1rem; }
.nv-hero--light h1, .nv-hero--light .nv-hero__title { color: var(--nv-text); }
.nv-hero--light .nv-hero__sub, .nv-hero--light .nv-hero__trust li { color: #475569; }
.nv-hero--light .nv-hero__chip { background: var(--nv-primary-soft); border-color: var(--nv-primary-ring); color: var(--nv-primary); }
.nv-hero--light .nv-hero__trust .bi { color: var(--nv-primary); }
.nv-hero--light .nv-btn--ghost { color: var(--nv-primary); border-color: var(--nv-primary-ring); }

/* Visual: ventana tipo "app" con la imagen */
.nv-hero__visual { position: relative; display: flex; justify-content: flex-end; }
.nv-window {
    position: relative; width: 100%; max-width: 520px; background: rgba(255,255,255,.97);
    border-radius: 22px; padding: 14px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.45);
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--nv-ease);
}
.nv-window:hover { transform: none; }
.nv-window__bar { display: flex; align-items: center; gap: 7px; padding: 2px 6px 12px; }
.nv-window__bar span { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.nv-window__bar span:nth-child(2) { background: #FEBC2E; }
.nv-window__bar span:nth-child(3) { background: #28C840; }
.nv-window__bar small { margin-left: auto; font-size: .72rem; font-weight: 700; color: #94A3B8; }
.nv-window__media {
    aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
    background: radial-gradient(circle at 50% 45%, #fff 0%, #EEF2FF 70%);
    display: flex; align-items: center; justify-content: center;
}
.nv-window__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.nv-float {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: #fff; color: var(--nv-text); border-radius: 14px; padding: 10px 14px;
    box-shadow: 0 18px 40px -10px rgba(0,0,0,.35); font-size: .8rem; font-weight: 700;
    animation: nvFloat 5s ease-in-out infinite;
}
.nv-float .bi { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; color: #fff; background: var(--nv-gradient); }
.nv-float small { display: block; font-weight: 500; color: var(--nv-muted); font-size: .72rem; }
.nv-float--tl { top: 8%; left: -6%; }
.nv-float--br { bottom: 8%; right: -3%; animation-delay: -2.5s; }
.nv-float--br .bi { background: linear-gradient(135deg, var(--nv-accent), color-mix(in srgb, var(--nv-accent) 70%, #000)); }
@keyframes nvFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.nv-hero .carousel-indicators { margin-bottom: 22px; }
.nv-hero .carousel-indicators [data-bs-target] { width: 26px; height: 5px; border-radius: 5px; border: 0; opacity: .45; }
.nv-hero .carousel-indicators .active { opacity: 1; width: 42px; }
.nv-hero .carousel-item { transition: opacity .7s ease-in-out; }

/* Barra informativa bajo el hero (Ofertas · Llámanos · Ciudades) */
.nv-infobar { background: var(--nv-primary); color: #fff; margin-top: 16px; }
.nv-infobar__grid { display: grid; grid-template-columns: repeat(var(--nv-infobar-cols, 3), minmax(0, 1fr)); }
.nv-infobar__item {
    display: flex; align-items: center; gap: 22px; padding: 26px 32px; color: #fff;
    position: relative; transition: background .2s;
}
.nv-infobar__item + .nv-infobar__item::before {
    content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255,255,255,.28);
}
a.nv-infobar__item:hover { color: #fff; background: rgba(255,255,255,.07); }
.nv-infobar__ic { font-size: 2rem; line-height: 1; flex-shrink: 0; opacity: .95; }
.nv-infobar__item strong { display: block; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; color: #fff; }
.nv-infobar__item small { display: block; font-size: .95rem; color: rgba(255,255,255,.88); margin-top: 3px; }

/* Barra de confianza bajo el hero */
.nv-trust { padding: 44px 0 8px; }
.nv-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nv-trust__item {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px;
    background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius);
    box-shadow: var(--nv-shadow-sm); transition: transform .25s var(--nv-ease), box-shadow .25s;
}
.nv-trust__item:hover { transform: translateY(-3px); box-shadow: var(--nv-shadow-md); }
.nv-trust__ic {
    width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0; font-size: 1.3rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--nv-primary-soft); color: var(--nv-primary);
}
.nv-trust__item strong { display: block; font-size: .93rem; }
.nv-trust__item span { font-size: .8rem; color: var(--nv-muted); }

/* 7. Tarjetas de categoría ------------------------------------------------- */
.nv-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.nv-cat {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px);
    transition: transform .3s var(--nv-ease), box-shadow .3s, border-color .3s;
}
.nv-cat:hover { transform: translateY(-5px); box-shadow: var(--nv-shadow-lg); border-color: var(--nv-primary-ring); }
.nv-cat__media { aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 40%, #fff 0%, #EEF2FA 75%); display: flex; align-items: center; justify-content: center; }
.nv-cat__media img { width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: transform .5s var(--nv-ease); }
.nv-cat:hover .nv-cat__media img { transform: scale(1.06); }
.nv-cat__body { padding: 18px 20px 20px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--nv-border); }
.nv-cat__body h3 { font-size: 1rem; margin: 0; line-height: 1.3; }
.nv-cat__body h3 a { color: var(--nv-text); }
.nv-cat__body h3 a::after { content: ''; position: absolute; inset: auto 0 0 0; height: 64px; }
.nv-cat__body small { color: var(--nv-muted); font-weight: 600; }
.nv-cat__arrow {
    margin-left: auto; width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--nv-primary-soft); color: var(--nv-primary); transition: all .25s;
}
.nv-cat:hover .nv-cat__arrow { background: var(--nv-primary); color: #fff; transform: rotate(-45deg); }

/* 8. Tarjetas de producto -------------------------------------------------- */
.nv-products { display: grid; gap: 24px; grid-template-columns: repeat(var(--nv-cols, 4), minmax(0, 1fr)); }
.nv-product {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 2px);
    transition: transform .3s var(--nv-ease), box-shadow .3s, border-color .3s;
}
.nv-product:hover { transform: translateY(-5px); box-shadow: var(--nv-shadow-lg); border-color: var(--nv-primary-ring); }
/* 16:9: las imágenes de producto son capturas de sistemas (recomendado 1600 × 900 px). «contain» nunca
   recorta; con imágenes 16:9 llenan el marco sin franjas vacías. */
.nv-product__media {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden;
    background: radial-gradient(circle at 50% 42%, #fff 0%, #F1F4FA 78%);
}
.nv-product__media { display: block; }
.nv-product__media img { width: 100%; height: 100%; object-fit: contain; padding: 0; transition: transform .5s var(--nv-ease); }
.nv-product:hover .nv-product__media img { transform: scale(1.07); }
.nv-product__zoom {
    position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center; pointer-events: none;
    background: rgba(255,255,255,.95); color: var(--nv-primary); box-shadow: var(--nv-shadow-sm);
    opacity: 0; transform: scale(.85); transition: all .25s;
}
.nv-product:hover .nv-product__zoom { opacity: 1; transform: none; }
.nv-product__badge {
    position: absolute; top: 12px; left: 12px; z-index: 1;
    background: var(--nv-accent); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.nv-product__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; border-top: 1px solid var(--nv-border); }
.nv-product__cat {
    display: inline-flex; align-items: flex-start; gap: 5px; align-self: flex-start; max-width: 100%;
    font-size: .72rem; font-weight: 500; line-height: 1.35; color: #94A3B8; margin-bottom: 6px;
    transition: color .2s;
}
.nv-product__cat .bi { font-size: .72rem; margin-top: 1px; flex-shrink: 0; }
.nv-product__cat span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-product__cat:hover { color: var(--nv-primary); }
.nv-product__title { font-size: 1rem; line-height: 1.35; margin: 0 0 8px; }
.nv-product__title a { color: var(--nv-text); }
.nv-product__title a:hover { color: var(--nv-primary); }
.nv-product__excerpt {
    font-size: .84rem; color: var(--nv-muted); line-height: 1.55; margin: 0 0 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nv-product__foot { margin-top: auto; display: flex; gap: 8px; }
.nv-product__foot .nv-btn { flex: 1; padding: 11px 12px; font-size: .82rem; }
.nv-product__foot .nv-btn--whatsapp { flex: 0 0 44px; padding: 0; font-size: 1.1rem; }

/* 9. Encabezado de página interna ------------------------------------------ */
.nv-page-head {
    position: relative; overflow: hidden; margin: 16px 16px 0; border-radius: calc(var(--nv-radius) + 6px);
    padding: 56px 0 52px; color: #fff; isolation: isolate;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.12) 0%, transparent 60%),
        linear-gradient(180deg, var(--nv-primary) 0%, var(--nv-primary-dark) 100%);
}
.nv-page-head::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: .4;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 30px 30px;
}
.nv-page-head h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; margin: 10px 0 8px; }
.nv-page-head p { color: rgba(255,255,255,.88); margin: 0; max-width: 680px; }
.nv-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .82rem; }
.nv-crumbs li { color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 8px; }
.nv-crumbs li + li::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: .65rem; opacity: .6; }
.nv-crumbs a { color: rgba(255,255,255,.9); }
.nv-crumbs a:hover { color: #fff; }

/* 10. Catálogo ------------------------------------------------------------- */
.nv-catalog { display: grid; grid-template-columns: 290px 1fr; gap: 36px; align-items: start; }
.nv-sidebar { position: sticky; top: calc(var(--nv-header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.nv-widget { background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius); padding: 20px; }
.nv-widget__title { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--nv-muted); margin-bottom: 14px; }
.nv-catlist { list-style: none; margin: 0; padding: 0; }
.nv-catlist a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 12px; border-radius: 10px; color: var(--nv-text); font-size: .9rem; font-weight: 500;
}
.nv-catlist a:hover { background: var(--nv-bg-soft); color: var(--nv-primary); }
.nv-catlist a.is-active { background: var(--nv-primary); color: #fff; font-weight: 700; }
.nv-catlist a span { font-size: .74rem; font-weight: 700; background: var(--nv-bg-soft); color: var(--nv-muted); padding: 2px 9px; border-radius: 999px; }
.nv-catlist a.is-active span { background: rgba(255,255,255,.2); color: #fff; }
.nv-searchbox { position: relative; }
.nv-searchbox input { width: 100%; border: 1px solid var(--nv-border); border-radius: 10px; padding: 11px 44px 11px 14px; font: inherit; font-size: .9rem; outline: none; }
.nv-searchbox input:focus { border-color: var(--nv-primary); box-shadow: 0 0 0 3px var(--nv-primary-ring); }
.nv-searchbox button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--nv-primary); color: #fff; }
.nv-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; color: var(--nv-muted); font-size: .9rem; }
.nv-empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--nv-border); border-radius: var(--nv-radius); color: var(--nv-muted); }
.nv-empty .bi { font-size: 2.6rem; color: #C8CFE0; }
.pagination { --bs-pagination-color: var(--nv-text); --bs-pagination-active-bg: var(--nv-primary); --bs-pagination-active-border-color: var(--nv-primary); --bs-pagination-border-radius: 10px; gap: 6px; }
.pagination .page-link { border-radius: 10px !important; min-width: 40px; text-align: center; }

/* Detalle de producto */
.nv-pdetail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.nv-gallery__main {
    aspect-ratio: 16 / 9; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px); overflow: hidden;
    background: radial-gradient(circle at 50% 42%, #fff 0%, #F1F4FA 80%); position: relative;
}
.nv-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 32px; cursor: zoom-in; }
.nv-gallery__hint { position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,.95); border-radius: 999px; padding: 6px 12px; font-size: .75rem; font-weight: 700; color: var(--nv-muted); box-shadow: var(--nv-shadow-sm); pointer-events: none; }
.nv-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.nv-gallery__thumbs img { width: 76px; height: 76px; object-fit: contain; padding: 6px; border: 1px solid var(--nv-border); border-radius: 10px; background: #fff; cursor: zoom-in; }
.nv-pinfo__cat { display: inline-flex; margin-bottom: 12px; }
.nv-pinfo h1, .nv-pinfo .h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.nv-pinfo__lead { font-size: 1.02rem; color: #475569; line-height: 1.7; }
.nv-pinfo__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.nv-pinfo__summary { font-size: 1rem; line-height: 1.75; color: #475569; }
.nv-pinfo__summary p { margin-bottom: .9em; }
/* Banner de categoría heredado de WordPress (501×45) */
.nv-pinfo__summary img { display: block; max-width: 100%; height: auto; border-radius: 6px; cursor: default; }
.nv-pinfo__perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nv-pinfo__perks div { background: var(--nv-bg-soft); border-radius: 12px; padding: 12px; font-size: .78rem; font-weight: 600; color: #475569; display: flex; align-items: center; gap: 8px; }
.nv-pinfo__perks .bi { color: var(--nv-primary); font-size: 1.1rem; }
.nv-specs { margin-top: 56px; background: #fff; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px); padding: 32px; box-shadow: var(--nv-shadow-sm); }
.nv-specs h2 { font-size: 1.25rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.nv-specs__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    margin: -32px -32px 26px; padding: 20px 32px;
    background: linear-gradient(90deg, var(--nv-primary-soft), #fff);
    border-bottom: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px) calc(var(--nv-radius) + 4px) 0 0;
}
.nv-specs__head h2 .bi {
    width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--nv-gradient); color: #fff; font-size: 1.05rem;
}
.nv-specs__product { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nv-muted); }

/* Ficha técnica */
.nv-sheet { display: grid; gap: 22px; }
.nv-sheet__intro { margin: 0; font-size: 1rem; line-height: 1.8; color: #334155; }
.nv-sheet__specs {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0;
}
.nv-sheet__row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 4px; border-bottom: 1px dashed var(--nv-border);
}
.nv-sheet__row dt {
    display: flex; align-items: center; gap: 12px; margin: 0;
    font-size: .88rem; font-weight: 600; color: var(--nv-muted);
}
.nv-sheet__ic {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--nv-primary-soft); color: var(--nv-primary); font-size: 1rem;
    transition: background .2s, color .2s;
}
.nv-sheet__row:hover .nv-sheet__ic { background: var(--nv-primary); color: #fff; }
.nv-sheet__row dd {
    margin: 0; text-align: right; font-size: 1rem; font-weight: 800; color: var(--nv-text);
    background: var(--nv-bg-soft); border: 1px solid var(--nv-border); border-radius: 8px; padding: 5px 12px;
    max-width: 62%; line-height: 1.4;
}
.nv-sheet__row dt { min-width: 0; }
.nv-sheet__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nv-sheet__feature {
    display: flex; gap: 14px; padding: 18px; border-radius: var(--nv-radius);
    background: linear-gradient(160deg, #fff, var(--nv-primary-soft)); border: 1px solid var(--nv-primary-ring);
    border-left: 4px solid var(--nv-primary);
}
.nv-sheet__fic { color: var(--nv-primary); font-size: 1.35rem; line-height: 1; }
.nv-sheet__feature strong { display: block; font-size: .82rem; font-weight: 800; letter-spacing: .06em; color: var(--nv-primary-dark); margin-bottom: 6px; }
.nv-sheet__feature p { margin: 0; font-size: .9rem; line-height: 1.6; color: #475569; }
.nv-sheet__bullets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.nv-sheet__bullets li { display: flex; gap: 10px; font-weight: 600; font-size: .95rem; color: #334155; }
.nv-sheet__bullets .bi { color: #16A34A; margin-top: 2px; }
@media (max-width: 767.98px) {
    .nv-sheet__specs, .nv-sheet__features, .nv-sheet__bullets { grid-template-columns: 1fr; }
    .nv-specs__head { margin: -22px -22px 20px; padding: 16px 22px; }
}

/* Contenido enriquecido (páginas, descripciones) */
.nv-prose { font-size: 1rem; line-height: 1.8; color: #334155; }
.nv-prose p { margin-bottom: 1.1em; }
.nv-prose h2, .nv-prose h3 { margin: 1.6em 0 .6em; }
.nv-prose ul { padding-left: 1.2em; }
.nv-prose li { margin-bottom: .4em; }
.nv-prose strong { color: var(--nv-text); }
.nv-prose img { border-radius: var(--nv-radius); }
.nv-specs .nv-prose img { cursor: zoom-in; }
.nv-prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Split (nosotros) */
.nv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nv-split__visual { position: relative; }
.nv-split__blob { position: absolute; inset: 8% -4% -6% 8%; border-radius: 32px; background: var(--nv-gradient); opacity: .12; z-index: 0; }
.nv-split__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nv-split__grid figure { margin: 0; background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius); aspect-ratio: 1; overflow: hidden; box-shadow: var(--nv-shadow-md); }
.nv-split__grid figure:nth-child(2) { transform: translateY(28px); }
.nv-split__grid figure:nth-child(4) { transform: translateY(28px); }
.nv-split__grid img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.nv-checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.nv-checks li { display: flex; gap: 10px; font-weight: 600; font-size: .92rem; }
.nv-checks .bi { color: var(--nv-primary); font-size: 1.1rem; }

/* CTA band */
.nv-cta {
    position: relative; overflow: hidden; border-radius: calc(var(--nv-radius) + 8px); padding: 56px;
    background: radial-gradient(500px 260px at 100% 0%, color-mix(in srgb, var(--nv-secondary) 35%, transparent), transparent 70%),
                linear-gradient(120deg, var(--nv-dark) 0%, color-mix(in srgb, var(--nv-primary) 70%, var(--nv-dark)) 100%);
    color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.nv-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 8px; }
.nv-cta p { color: rgba(255,255,255,.8); margin: 0; max-width: 560px; }
.nv-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contacto */
.nv-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.nv-info-card { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius); margin-bottom: 16px; }
.nv-info-card .nv-trust__ic { width: 50px; height: 50px; }
.nv-info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.nv-info-card p { margin: 0; color: #475569; font-size: .9rem; line-height: 1.6; }
.nv-form { background: #fff; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px); padding: 32px; box-shadow: var(--nv-shadow-md); }
.nv-form .form-control { border-radius: 10px; padding: 12px 14px; border-color: var(--nv-border); }
.nv-form .form-control:focus { border-color: var(--nv-primary); box-shadow: 0 0 0 4px var(--nv-primary-ring); }
.nv-form .form-label { font-weight: 600; font-size: .86rem; }
.nv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nv-map { margin-top: 32px; border-radius: calc(var(--nv-radius) + 4px); overflow: hidden; border: 1px solid var(--nv-border); }
.nv-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.nv-alert { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; font-size: .92rem; display: flex; gap: 10px; align-items: center; }
.nv-alert--success { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }

/* 11. PIE DE PÁGINA -------------------------------------------------------- */
.nv-footer { position: relative; margin-top: 96px; background: var(--nv-dark); color: #AFB7CE; font-size: .9rem; }
.nv-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--nv-primary), var(--nv-secondary), var(--nv-accent));
}
.nv-footer__cta { transform: translateY(-50%); margin-bottom: -40px; }
.nv-footer__cta .nv-cta { padding: 34px 40px; background: var(--nv-gradient); box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--nv-primary) 60%, transparent); }
.nv-footer__main { display: grid; grid-template-columns: var(--nv-footer-cols, 1.4fr 1fr 1fr 1.3fr); gap: 48px; padding: 40px 0 56px; }
.nv-footer__col { min-width: 0; }
.nv-footer__main--cols-1 { grid-template-columns: 1fr; max-width: 760px; text-align: center; }
.nv-footer__main--cols-1 .nv-footer__title::after { left: 50%; transform: translateX(-50%); }
.nv-footer__main--cols-1 .nv-footer__badges, .nv-footer__main--cols-1 .nv-social, .nv-footer__main--cols-1 .nv-footer__links { justify-content: center; align-items: center; }
.nv-footer__main--cols-1 .nv-footer__contact li { justify-content: center; text-align: left; }
.nv-footer--no-cta .nv-footer__main { padding-top: 72px; }
.nv-footer--no-cta { margin-top: 64px; }
.nv-footer__logo img { max-height: 70px; width: auto; }
.nv-footer__about { margin: 18px 0 22px; line-height: 1.7; color: #8C95AE; }
.nv-footer__title {
    color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.nv-footer__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--nv-gradient); }
.nv-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.nv-footer__links a { color: #8C95AE; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, padding .2s; }
.nv-footer__links a:hover { color: #fff; padding-left: 4px; }
.nv-footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.nv-footer__contact li { display: flex; gap: 12px; line-height: 1.55; }
.nv-footer__contact .bi {
    width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06); color: var(--nv-secondary);
}
.nv-footer__contact strong { display: block; color: #fff; font-size: .8rem; font-weight: 700; margin-bottom: 2px; }
.nv-footer__contact a { color: #AFB7CE; }
.nv-footer__contact a:hover { color: #fff; }
.nv-social { display: flex; gap: 10px; flex-wrap: wrap; }
.nv-social a {
    width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #fff; font-size: 1rem;
    transition: transform .2s, background .2s;
}
.nv-social a:hover { background: var(--nv-primary); transform: translateY(-3px); color: #fff; }
.nv-footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 22px 0; font-size: .82rem; }
.nv-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nv-footer__bottom p { margin: 0; color: #8C95AE; }
.nv-footer__bottom a { color: #AFB7CE; }
.nv-footer__bottom a:hover { color: #fff; }

/* 12. WhatsApp flotante + volver arriba ------------------------------------ */
.nv-wa { position: fixed; bottom: 24px; z-index: 1040; display: flex; flex-direction: column; gap: 14px; pointer-events: none; }
/* El contenedor ocupa el alto de la ventana de chat oculta: solo el botón y la ventana abierta reciben clics */
.nv-wa__btn, .nv-wa__card.is-open { pointer-events: auto; }
.nv-wa--right { right: 24px; align-items: flex-end; }
.nv-wa--left { left: 24px; align-items: flex-start; }
.nv-wa__btn {
    position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0;
    background: #25D366; color: #fff; font-size: 1.9rem; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(37,211,102,.45); cursor: pointer; transition: transform .25s var(--nv-ease);
}
.nv-wa__btn:hover { transform: scale(1.08); color: #fff; }
.nv-wa__btn::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1;
    animation: nvPulse 2.2s ease-out infinite;
}
@keyframes nvPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.nv-wa__badge { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-radius: 50%; background: #EF4444; border: 2px solid #fff; font-size: .62rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.nv-wa__tip {
    position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap;
    background: #fff; color: var(--nv-text); font-size: .82rem; font-weight: 700; padding: 8px 14px; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.14); pointer-events: none; opacity: 0; transition: opacity .25s, transform .25s;
}
.nv-wa--right .nv-wa__tip { right: calc(100% + 14px); }
.nv-wa--left .nv-wa__tip { left: calc(100% + 14px); }
.nv-wa__btn:hover .nv-wa__tip, .nv-wa__tip.is-visible { opacity: 1; }
.nv-wa__card {
    width: min(340px, calc(100vw - 48px)); background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97);
    transition: all .28s var(--nv-ease);
}
.nv-wa--right .nv-wa__card { transform-origin: bottom right; }
.nv-wa--left .nv-wa__card { transform-origin: bottom left; }
.nv-wa__card.is-open { opacity: 1; visibility: visible; transform: none; }
.nv-wa__head { background: #075E54; color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.nv-wa__avatar { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.nv-wa__avatar::after { content: ''; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #4ADE80; border: 2px solid #075E54; }
.nv-wa__head strong { display: block; font-size: .95rem; }
.nv-wa__head small { opacity: .8; font-size: .76rem; }
.nv-wa__close { margin-left: auto; background: none; border: 0; color: #fff; opacity: .8; font-size: 1.2rem; }
.nv-wa__body { padding: 20px 18px; background: #ECE5DD; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; }
.nv-wa__bubble { position: relative; background: #fff; border-radius: 0 12px 12px 12px; padding: 12px 14px; font-size: .88rem; line-height: 1.5; color: #303030; box-shadow: 0 1px 1px rgba(0,0,0,.08); max-width: 90%; }
.nv-wa__bubble small { display: block; text-align: right; color: #999; font-size: .68rem; margin-top: 4px; }
.nv-wa__foot { padding: 14px 18px 18px; }

.nv-top {
    position: fixed; bottom: 24px; z-index: 1039; width: 46px; height: 46px; border-radius: 14px; border: 0;
    background: var(--nv-text); color: #fff; font-size: 1.1rem; box-shadow: var(--nv-shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--nv-ease);
}
.nv-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.nv-top:hover { background: var(--nv-primary); }
.nv-top--right { right: 24px; }
.nv-top--left { left: 24px; }

/* 13. lightGallery --------------------------------------------------------- */
.nv-lg-item { cursor: zoom-in; }
.lg-backdrop { background: rgba(8,12,28,.94); }
.lg-sub-html h4 { color: #fff; font-size: 1rem; }

/* 14. Responsive ----------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .nv-mega__media { flex-basis: 280px; }
    .nv-footer__main--cols-3, .nv-footer__main--cols-4 { grid-template-columns: 1fr 1fr; }
    .nv-footer__main--cols-3 > .nv-footer__col:first-child { grid-column: 1 / -1; }
    .nv-products { --nv-cols: 3 !important; }
}
@media (max-width: 767.98px) {
    .nv-footer__main--cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
    :root { --nv-header-h: 72px; }
    .nv-logo img, .nv-header.is-scrolled .nv-logo img { max-height: 54px; }
    /* backdrop-filter en la cabecera fija da problemas de toque/posición en Safari iOS */
    .nv-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
    .nv-search { padding: 14px 0; }
    .nv-search form { gap: 8px; }
    .nv-search input, .nv-searchbox input { font-size: 16px; } /* ≥16px evita el zoom automático de iOS al enfocar */
    .nv-nav, .nv-actions .nv-header-cta { display: none; }
    .nv-burger { display: inline-flex; }
    .nv-topbar__contact { display: none; }
    .nv-hero__inner { grid-template-columns: 1fr; padding: 56px 28px; min-height: 0; }
    .nv-hero__visual { display: none; }
    .nv-trust__grid { grid-template-columns: 1fr 1fr; }
    .nv-infobar__item { padding: 20px 18px; gap: 14px; }
    .nv-infobar__item strong { font-size: 1.1rem; }
    .nv-catalog, .nv-pdetail, .nv-split, .nv-contact { grid-template-columns: 1fr; }
    .nv-sidebar { position: static; }
    .nv-products { --nv-cols: 2 !important; }
    .nv-section { padding: 64px 0; }
    .nv-cta { padding: 36px 28px; }
    .nv-footer__cta { transform: translateY(-40%); }
}
@media (max-width: 575.98px) {
    .nv-container { padding: 0 16px; }
    .nv-hero-wrap, .nv-page-head { margin-left: 10px; margin-right: 10px; }
    .nv-hero-wrap { padding: 10px 10px 0; }
    .nv-hero__inner { padding: 44px 20px; }
    .nv-topbar__tag, .nv-topbar__btn { display: none; }
    .nv-trust__grid { grid-template-columns: 1fr; }
    .nv-infobar__grid { grid-template-columns: 1fr; }
    .nv-infobar__item { padding: 16px 8px; }
    .nv-infobar__item + .nv-infobar__item::before { left: 8px; right: 8px; top: 0; bottom: auto; width: auto; height: 1px; }
    .nv-products { --nv-cols: 1 !important; gap: 18px; }
    .nv-footer__main { grid-template-columns: 1fr; gap: 36px; }
    .nv-checks, .nv-pinfo__perks { grid-template-columns: 1fr; }
    .nv-wa--right { right: 16px; } .nv-wa--left { left: 16px; }
    .nv-wa { bottom: 16px; }
    .nv-top { bottom: 16px; }
    .nv-top--right { right: 16px; } .nv-top--left { left: 16px; }
    .nv-footer__bottom-inner { flex-direction: column; text-align: center; }
    .nv-form, .nv-specs { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   CEISA — componentes del sitio (marcas, fichas técnicas, blog, sucursales,
   contenido migrado de WordPress). Colores: --nv-primary (azul CEISA #21285F)
   y --nv-accent (rojo CEISA #CD1F2C).
   ========================================================================== */
.nv-logo img { max-height: 50px; max-width: 250px; }
.nv-header.is-scrolled .nv-logo img { max-height: 42px; }
.nv-footer__logo img { max-height: 52px; max-width: 240px; }

.nv-btn--accent { background: var(--nv-accent); color: #fff; box-shadow: 0 6px 20px color-mix(in srgb, var(--nv-accent) 28%, transparent); }
.nv-btn--accent:hover { background: color-mix(in srgb, var(--nv-accent) 85%, #000); color: #fff; box-shadow: 0 10px 28px color-mix(in srgb, var(--nv-accent) 35%, transparent); }
.text-accent { color: var(--nv-accent) !important; }
.nv-eyebrow--accent {
    color: var(--nv-accent); background: color-mix(in srgb, var(--nv-accent) 7%, #fff);
    border-color: color-mix(in srgb, var(--nv-accent) 24%, transparent);
}
.nv-rule { width: 64px; height: 4px; border-radius: 4px; margin: 16px auto 0; background: linear-gradient(90deg, var(--nv-accent) 0 50%, var(--nv-primary) 50% 100%); }

/* Banners de imagen completa (slider original de ceisamx.com, con el texto en la imagen) */
.nv-hero--image { background: var(--nv-dark); }
.nv-hero--image::before { display: none; }
.nv-hero__banner { display: block; position: relative; aspect-ratio: 1900 / 560; }
.nv-hero__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-hero--image .carousel-indicators { margin-bottom: 12px; }

/* Presentación (h1) + cifras */
.nv-intro { padding: 64px 0 24px; }
.nv-intro__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.nv-intro h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; margin-bottom: 18px; }
.nv-intro h1 span { color: var(--nv-accent); }
.nv-intro p { color: var(--nv-muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 26px; }
.nv-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.nv-stat {
    background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius);
    padding: 22px; box-shadow: var(--nv-shadow-sm); position: relative; overflow: hidden;
}
.nv-stat::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--nv-primary), var(--nv-accent)); opacity: .85; }
.nv-stat strong { display: block; font-size: 2.1rem; font-weight: 900; color: var(--nv-primary); line-height: 1; margin-bottom: 6px; }
.nv-stat strong small { font-size: 1.1rem; color: var(--nv-accent); font-weight: 900; }
.nv-stat span { font-size: .84rem; color: var(--nv-muted); font-weight: 600; }

/* Marcas: carrusel continuo de logotipos */
.nv-brands {
    overflow: hidden; position: relative; padding: 6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
/* El desplazamiento lo mueve theme.js (se detiene al pasar el ratón y se puede arrastrar) */
.nv-brands[data-nv-marquee] { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.nv-brands.is-dragging { cursor: grabbing; }
.nv-brands.is-dragging .nv-brand { pointer-events: none; }
.nv-brands__track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.nv-brand {
    flex: 0 0 auto; width: 176px; height: 100px; background: #fff; border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius); display: flex; align-items: center; justify-content: center; padding: 14px 20px;
    transition: transform .25s var(--nv-ease), box-shadow .25s, border-color .25s;
}
.nv-brand img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.nv-brand:hover { border-color: var(--nv-primary-ring); box-shadow: var(--nv-shadow-md); transform: translateY(-3px); }
.nv-brand:hover img { filter: none; opacity: 1; }
.nv-brand--text { font-weight: 800; color: var(--nv-primary); font-size: .95rem; text-align: center; line-height: 1.2; }

/* Fichas técnicas por marca (pestañas) */
.nv-sheets { background: #fff; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px); box-shadow: var(--nv-shadow-md); overflow: hidden; }
.nv-sheets__tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px; background: var(--nv-bg-soft); border-bottom: 1px solid var(--nv-border); }
.nv-sheets__tabs .nav-link { border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--nv-text); padding: 8px 18px; border: 0; background: transparent; }
.nv-sheets__tabs .nav-link:hover { color: var(--nv-primary); background: #fff; }
.nv-sheets__tabs .nav-link.active { background: var(--nv-primary); color: #fff; }
.nv-sheets__body { padding: 28px; }
.nv-sheets__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 24px; }
.nv-sheet-group h3 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--nv-accent); margin-bottom: 10px; font-weight: 800; }
.nv-sheet-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.nv-sheet-group a, .nv-sheet-group li > span {
    display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; font-weight: 600; color: var(--nv-text);
    padding: 9px 12px; border-radius: 10px; background: var(--nv-bg-soft); line-height: 1.35;
}
.nv-sheet-group a:hover { background: var(--nv-primary-soft); color: var(--nv-primary); }
.nv-sheet-group .bi { color: var(--nv-accent); margin-top: 1px; }

/* Quiénes somos */
.nv-about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.nv-about__media { position: relative; }
.nv-about__media > img { width: 100%; border-radius: calc(var(--nv-radius) + 6px); box-shadow: var(--nv-shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.nv-about__badge {
    position: absolute; right: -20px; bottom: -26px; width: 150px; height: 150px; border-radius: 50%;
    background: #fff; box-shadow: var(--nv-shadow-lg); display: flex; align-items: center; justify-content: center; padding: 12px;
}
.nv-about__badge img { width: 100%; height: 100%; object-fit: contain; }
.nv-about__text p { color: #475569; line-height: 1.8; }

/* Certificaciones */
.nv-certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.nv-cert {
    width: 160px; height: 112px; background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius);
    display: flex; align-items: center; justify-content: center; padding: 18px; transition: box-shadow .25s, transform .25s var(--nv-ease);
}
.nv-cert:hover { box-shadow: var(--nv-shadow-md); transform: translateY(-3px); }
.nv-cert img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Blog «Novedades» */
.nv-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.nv-post {
    background: #fff; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 2px); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .3s var(--nv-ease), box-shadow .3s, border-color .3s;
}
.nv-post:hover { transform: translateY(-5px); box-shadow: var(--nv-shadow-lg); border-color: var(--nv-primary-ring); }
.nv-post__media { aspect-ratio: 1024 / 536; overflow: hidden; background: var(--nv-bg-soft); display: block; }
.nv-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--nv-ease); }
.nv-post:hover .nv-post__media img { transform: scale(1.05); }
.nv-post__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nv-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .76rem; color: var(--nv-muted); font-weight: 600; }
.nv-post__meta a { color: var(--nv-accent); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.nv-post__title { font-size: 1.06rem; line-height: 1.38; margin: 0; }
.nv-post__title a { color: var(--nv-text); }
.nv-post__title a:hover { color: var(--nv-primary); }
.nv-post__excerpt { color: var(--nv-muted); font-size: .9rem; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nv-post__more { margin-top: auto; font-weight: 800; font-size: .86rem; }
.nv-blog { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.nv-blog .nv-posts { grid-template-columns: repeat(2, 1fr); }
.nv-article__cover { border-radius: calc(var(--nv-radius) + 4px); overflow: hidden; margin-bottom: 26px; box-shadow: var(--nv-shadow-md); }
.nv-article__cover img { width: 100%; display: block; }
.nv-article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: var(--nv-muted); font-weight: 600; margin-bottom: 22px; }
.nv-article__meta .bi { color: var(--nv-primary); margin-right: 4px; }
.nv-article .nv-prose h2, .nv-article .nv-prose h3 { color: var(--nv-primary); }
.nv-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.nv-postnav a { display: block; padding: 16px 18px; border: 1px solid var(--nv-border); border-radius: var(--nv-radius); color: var(--nv-text); font-weight: 700; font-size: .92rem; line-height: 1.35; }
.nv-postnav small { display: block; color: var(--nv-muted); font-weight: 600; font-size: .74rem; margin-bottom: 4px; }
.nv-postnav a:hover { border-color: var(--nv-primary-ring); background: var(--nv-primary-soft); }
.nv-postnav .is-next { text-align: right; grid-column: 2; }
.nv-mini-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.nv-mini-posts a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; color: var(--nv-text); font-weight: 700; font-size: .85rem; line-height: 1.35; }
.nv-mini-posts a:hover { color: var(--nv-primary); }
.nv-mini-posts img { width: 76px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--nv-bg-soft); }
.nv-mini-posts small { display: block; font-weight: 600; color: var(--nv-muted); font-size: .72rem; margin-top: 3px; }

/* Sucursales */
.nv-locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.nv-location {
    background: #fff; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 2px);
    padding: 26px 26px 24px 30px; position: relative; overflow: hidden; box-shadow: var(--nv-shadow-sm);
}
.nv-location::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--nv-accent), var(--nv-primary)); }
.nv-location h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.nv-location h3 .bi { color: var(--nv-accent); }
.nv-location__label { font-size: .74rem; color: var(--nv-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.nv-location ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .9rem; }
.nv-location li { display: flex; gap: 10px; align-items: flex-start; }
.nv-location li .bi { color: var(--nv-primary); margin-top: 3px; }
.nv-location a { color: var(--nv-text); font-weight: 600; word-break: break-word; }
.nv-location a:hover { color: var(--nv-primary); }

/* Contenido migrado de WordPress: rejillas, acordeones y PDF */
.nv-prose .nv-inline-products, .nv-prose .nv-inline-categories {
    list-style: none; padding: 0; margin: 18px 0 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px;
}
.nv-prose .nv-inline-products li, .nv-prose .nv-inline-categories li { margin: 0; }
.nv-prose .nv-inline-products a, .nv-prose .nv-inline-categories a {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; height: 100%; text-align: center;
    padding: 14px; background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius);
    color: var(--nv-text); font-weight: 700; font-size: .86rem; line-height: 1.3; text-decoration: none;
    transition: transform .25s var(--nv-ease), box-shadow .25s, border-color .25s;
}
.nv-prose .nv-inline-products a:hover, .nv-prose .nv-inline-categories a:hover { border-color: var(--nv-primary-ring); box-shadow: var(--nv-shadow-md); transform: translateY(-3px); color: var(--nv-primary); }
.nv-prose .nv-inline-products img, .nv-prose .nv-inline-categories img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: #fff; }
.nv-prose details { border: 1px solid var(--nv-border); border-radius: var(--nv-radius); padding: 0 18px; margin: 0 0 12px; background: #fff; }
.nv-prose details[open] { box-shadow: var(--nv-shadow-sm); }
.nv-prose summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--nv-text); }
.nv-prose summary::-webkit-details-marker { display: none; }
.nv-prose summary::after { content: "\F282"; font-family: "bootstrap-icons"; transition: transform .2s; color: var(--nv-primary); }
.nv-prose details[open] summary::after { transform: rotate(180deg); }
.nv-prose details > :last-child { margin-bottom: 16px; }
.nv-prose a[href$=".pdf"]::before { content: "\F63E"; font-family: "bootstrap-icons"; margin-right: 6px; color: var(--nv-accent); display: inline-block; }
.nv-prose table { width: 100%; margin-bottom: 1.2em; border-collapse: collapse; font-size: .92rem; }
.nv-prose th, .nv-prose td { border: 1px solid var(--nv-border); padding: 8px 12px; }
.nv-prose th { background: var(--nv-bg-soft); }

/* Catálogo: subcategorías, etiquetas, SKU */
.nv-catlist .nv-catlist__sub { list-style: none; margin: 2px 0 8px 16px; padding: 2px 0 2px 10px; border-left: 2px solid var(--nv-primary-ring); }
.nv-catlist .nv-catlist__sub a { font-size: .84rem; padding: 6px 10px; }
.nv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
    border: 1px solid var(--nv-border); background: #fff; font-size: .8rem; font-weight: 700; color: var(--nv-text);
}
.nv-chip small { color: var(--nv-muted); font-weight: 600; }
.nv-chip:hover { border-color: var(--nv-primary); color: var(--nv-primary); background: var(--nv-primary-soft); }
.nv-pmeta { display: grid; gap: 10px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--nv-border); font-size: .88rem; }
.nv-pmeta > div { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.nv-pmeta > div > strong { color: var(--nv-muted); font-weight: 700; min-width: 96px; }
.nv-cat-head { display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius); padding: 18px 22px; margin-bottom: 22px; }
.nv-cat-head img { width: 120px; height: 84px; object-fit: contain; flex-shrink: 0; }

/* Pie: medios de pago y tienda en Mercado Libre */
.nv-footer__badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.nv-footer__badges a, .nv-footer__badges span { display: inline-flex; background: #fff; border-radius: 10px; padding: 6px 10px; }
.nv-footer__badges img { height: 30px; width: auto; max-width: 180px; object-fit: contain; }
.nv-footer__badges a { transition: transform .2s, box-shadow .2s; }
.nv-footer__badges a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.nv-footer__badges + .nv-social { margin-top: 20px; }
.nv-footer__about + .nv-social { margin-top: 0; }

@media (max-width: 991.98px) {
    .nv-intro__grid, .nv-about, .nv-blog { grid-template-columns: 1fr; }
    .nv-posts { grid-template-columns: repeat(2, 1fr); }
    .nv-about { gap: 48px; }
    .nv-about__badge { right: 12px; width: 120px; height: 120px; }
}
@media (max-width: 575.98px) {
    .nv-posts, .nv-blog .nv-posts { grid-template-columns: 1fr; }
    .nv-postnav { grid-template-columns: 1fr; }
    .nv-postnav .is-next { grid-column: auto; }
    .nv-brand { width: 140px; height: 84px; }
    .nv-sheets__body { padding: 18px; }
    .nv-stats { grid-template-columns: 1fr 1fr; }
    .nv-cat-head { flex-direction: column; text-align: center; }
}

/* Cabecera CEISA (7 elementos de menú + buscador + CTA): más compacta en pantallas medianas */
/* Con 7 elementos el estilo compacto se aplica a todos los anchos de escritorio
   (el contenedor mide como máximo 1320 px: una pantalla mayor no da más sitio) */
@media (min-width: 992px) {
    .nv-header__inner { gap: 18px; }
    .nv-link { padding: 9px 11px; font-size: .9rem; }
    .nv-link::after { left: 11px; right: 11px; }
}
/* Desde 1301 px se muestra el botón «Solicitar cotización»/«Cotizar»: un poco menos de aire entre elementos */
@media (min-width: 1301px) {
    .nv-header__inner { gap: 16px; }
    .nv-link { padding: 9px 9px; }
    .nv-link::after { left: 9px; right: 9px; }
}
@media (min-width: 992px) and (max-width: 1300px) {
    .nv-header-cta { display: none; }
}
@media (min-width: 992px) and (max-width: 1140px) {
    .nv-link { padding: 8px 8px; font-size: .85rem; }
    .nv-logo img { max-width: 180px; }
}

/* Certificaciones: los logotipos originales son blancos (iban sobre fondo oscuro en WordPress) */
.nv-certs-band { background: linear-gradient(135deg, var(--nv-primary-dark), var(--nv-primary)); }
.nv-certs-band .nv-section__title { color: #fff; }
.nv-certs-band .nv-section__sub { color: rgba(255,255,255,.75); }
.nv-certs-band .nv-cert { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }

/* ==========================================================================
   Megamenú CEISA: grupos con submenú primero + rejilla compacta del resto
   ========================================================================== */
.nv-link__ic { color: var(--nv-accent); font-size: 1rem; }
.nv-link[aria-expanded="true"] .nv-link__ic, .nv-link.is-active .nv-link__ic { color: var(--nv-primary); }
.nv-mega__head h3 { display: flex; align-items: center; gap: 10px; }
.nv-mega__head-ic {
    width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--nv-primary); color: #fff; font-size: 1rem; flex-shrink: 0;
}
.nv-mega__grid:empty { display: none; }
.nv-mega__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.nv-mega__layout.has-groups { grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); align-items: start; }
.nv-mega__group {
    background: var(--nv-bg-soft); border: 1px solid var(--nv-border); border-radius: var(--nv-radius); padding: 16px;
}
.nv-mega__group .nv-mega__col-title { border-bottom-color: var(--nv-border); }
.nv-mega__groups { display: grid; gap: 14px; }
.nv-mega__compact {
    list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 12px; align-content: start;
    grid-template-columns: repeat(var(--mega-compact-cols, 3), minmax(0, 1fr));
}
.nv-mega__compact a {
    display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px;
    font-size: .86rem; font-weight: 600; color: var(--nv-text); line-height: 1.25;
    border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s;
}
.nv-mega__compact a .bi {
    width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: var(--nv-primary-soft); color: var(--nv-primary); font-size: .8rem; transition: background .2s, color .2s;
}
.nv-mega__compact a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-mega__compact a:hover { background: #fff; border-color: var(--nv-primary-ring); color: var(--nv-primary); box-shadow: var(--nv-shadow-sm); }
.nv-mega__compact a:hover .bi { background: var(--nv-accent); color: #fff; }
@media (max-width: 1199.98px) {
    .nv-mega__compact { --mega-compact-cols: 2 !important; }
}
/* Pestañas de filtro (Menús › Megamenú › Pestañas de filtro) */
.nv-mega__filter {
    display: flex; align-items: center; gap: 16px; margin: -4px 0 22px; padding-bottom: 18px;
    border-bottom: 1px solid var(--nv-border);
}
.nv-mega__filter-label {
    display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nv-muted);
}
.nv-mega__filter-label .bi { color: var(--nv-accent); font-size: .9rem; }
.nv-mega__tabs {
    display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px;
    background: var(--nv-bg-soft); border: 1px solid var(--nv-border); border-radius: 12px;
}
.nv-mega__tabs button {
    display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer;
    color: var(--nv-muted); font: 600 .84rem/1 var(--nv-font); padding: 9px 14px; border-radius: 9px; white-space: nowrap;
    transition: background .2s var(--nv-ease), color .2s, box-shadow .2s;
}
.nv-mega__tabs button:hover { color: var(--nv-primary); }
.nv-mega__tabs button.is-active { background: var(--nv-bg); color: var(--nv-primary); box-shadow: var(--nv-shadow-sm), 0 0 0 1px var(--nv-border); }
.nv-mega__tabs button:focus-visible { outline: 2px solid var(--nv-accent); outline-offset: 1px; }
.nv-mega__tab-count {
    min-width: 22px; padding: 3px 7px; border-radius: 999px; text-align: center;
    background: color-mix(in srgb, var(--nv-muted) 14%, transparent); color: var(--nv-muted); font-size: .7rem; font-weight: 700;
    transition: background .2s, color .2s;
}
.nv-mega__tabs button.is-active .nv-mega__tab-count { background: var(--nv-primary); color: #fff; }
.nv-mega__tabs button.is-empty { opacity: .55; }
.nv-mega [hidden] { display: none !important; }
.nv-mega__layout.is-filtering .nv-mega__group:not([hidden]),
.nv-mega__layout.is-filtering .nv-mega__compact > li:not([hidden]) { animation: nv-mega-in .28s var(--nv-ease) both; }
@keyframes nv-mega-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.nv-mega__empty {
    margin: 0; padding: 28px; text-align: center; color: var(--nv-muted); font-size: .88rem;
    background: var(--nv-bg-soft); border: 1px dashed var(--nv-border); border-radius: var(--nv-radius);
}
@media (max-width: 991.98px) {
    .nv-mega__filter { flex-direction: column; align-items: stretch; gap: 10px; }
    .nv-mega__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .nv-mega__tabs button { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .nv-mega__layout.is-filtering .nv-mega__group, .nv-mega__layout.is-filtering .nv-mega__compact > li { animation: none; }
}

/* ==========================================================================
   Páginas dedicadas: Quiénes somos, Certificaciones, Fichas técnicas
   ========================================================================== */
.nv-stats--row { grid-template-columns: repeat(4, 1fr); }
.nv-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nv-value {
    background: #fff; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 2px); padding: 26px 24px;
    transition: transform .25s var(--nv-ease), box-shadow .25s, border-color .25s;
}
.nv-value:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow-md); border-color: var(--nv-primary-ring); }
.nv-value__ic {
    width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--nv-primary-soft); color: var(--nv-primary); font-size: 1.4rem; margin-bottom: 16px;
}
.nv-value:hover .nv-value__ic { background: var(--nv-accent); color: #fff; }
.nv-value h3 { font-size: 1.05rem; margin-bottom: 8px; }
.nv-value p { color: var(--nv-muted); font-size: .9rem; line-height: 1.65; margin: 0; }

.nv-cert-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.nv-cert-card {
    display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: calc(var(--nv-radius) + 2px);
    background: #fff; border: 1px solid var(--nv-border); box-shadow: var(--nv-shadow-sm);
}
.nv-cert-card__logo {
    width: 104px; height: 104px; flex-shrink: 0; border-radius: var(--nv-radius); padding: 16px;
    background: linear-gradient(135deg, var(--nv-primary-dark), var(--nv-primary)); display: flex; align-items: center; justify-content: center;
}
.nv-cert-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nv-cert-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.nv-cert-card p { color: var(--nv-muted); font-size: .88rem; line-height: 1.6; margin: 0; }

.nv-cta-card {
    background: linear-gradient(160deg, var(--nv-primary-dark), var(--nv-primary)); color: #fff; text-align: center;
    border-radius: calc(var(--nv-radius) + 4px); padding: 30px 26px; box-shadow: var(--nv-shadow-lg); margin-bottom: 20px;
}
.nv-cta-card > .bi { font-size: 2.2rem; color: #fff; display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.1); margin-bottom: 14px; }
.nv-cta-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.nv-cta-card p { color: rgba(255,255,255,.8); font-size: .9rem; line-height: 1.6; margin-bottom: 20px; }

.nv-sheets-intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.nv-sheets-intro .nv-prose { max-width: 760px; }
.nv-sheets-intro .nv-prose p:last-child { margin-bottom: 0; }
.nv-sheets-intro__stats { display: flex; gap: 14px; flex-shrink: 0; }
.nv-sheets-intro__stats div {
    min-width: 110px; text-align: center; padding: 14px 18px; border-radius: var(--nv-radius);
    background: var(--nv-primary-soft); border: 1px solid var(--nv-primary-ring);
}
.nv-sheets-intro__stats strong { display: block; font-size: 1.7rem; font-weight: 900; color: var(--nv-primary); line-height: 1.1; }
.nv-sheets-intro__stats span { font-size: .78rem; font-weight: 700; color: var(--nv-muted); text-transform: uppercase; letter-spacing: .06em; }
.nv-sheets__search { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--nv-border); }
.nv-sheets__search > .bi { position: absolute; left: 34px; color: var(--nv-muted); }
.nv-sheets__search input {
    flex: 1; height: 48px; border: 1px solid var(--nv-border); border-radius: 12px; padding: 0 16px 0 44px; font: inherit; font-size: .95rem;
}
.nv-sheets__search input:focus { outline: 0; border-color: var(--nv-primary); box-shadow: 0 0 0 4px var(--nv-primary-ring); }
.nv-sheets__count { font-size: .82rem; font-weight: 700; color: var(--nv-primary); white-space: nowrap; }
.nv-sheets__badge {
    display: inline-block; margin-left: 6px; font-size: .7rem; font-weight: 800; padding: 1px 7px; border-radius: 999px;
    background: rgba(33,40,95,.08); color: var(--nv-muted);
}
.nv-sheets__tabs .nav-link.active .nv-sheets__badge { background: rgba(255,255,255,.22); color: #fff; }
.nv-sheet-group a span { flex: 1; }
.nv-sheets__type { font-size: .62rem; font-weight: 800; color: var(--nv-accent); border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; margin-top: 2px; }
.nv-sheets__results { padding-top: 4px; }

.nv-cta-strip {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--nv-primary), var(--nv-secondary)); color: #fff;
    border-radius: calc(var(--nv-radius) + 4px); padding: 30px 34px;
}
.nv-cta-strip h2 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.nv-cta-strip p { color: rgba(255,255,255,.85); margin: 0; }

@media (max-width: 991.98px) {
    .nv-values, .nv-stats--row { grid-template-columns: repeat(2, 1fr); }
    .nv-cert-cards { grid-template-columns: 1fr; }
    .nv-sheets-intro { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575.98px) {
    .nv-values { grid-template-columns: 1fr; }
    .nv-cert-card { flex-direction: column; text-align: center; }
}
.nv-sheets-note { margin: 22px 0 0; text-align: center; color: var(--nv-muted); font-size: .92rem; }
.nv-sheets-note .bi { color: var(--nv-accent); margin-right: 4px; }
.nv-sheets-note a { font-weight: 700; }

/* ==========================================================================
   Cabecera azul (Plantillas › Personalizar › Estilo de cabecera = Azul)
   y encabezado de páginas internas a todo el ancho, continuo con la cabecera
   ========================================================================== */
.nv-header--dark {
    background: color-mix(in srgb, var(--nv-primary) 97%, transparent);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.nv-header--dark.is-scrolled { background: color-mix(in srgb, var(--nv-primary-dark) 98%, transparent); box-shadow: 0 4px 32px rgba(0,0,0,.22); }
.nv-header--dark::after { display: none; }
.nv-header--dark .nv-logo__text { color: #fff; }
.nv-header--dark .nv-link { color: rgba(255,255,255,.85); }
.nv-header--dark .nv-link::after { background: var(--nv-accent); left: 30%; right: 30%; bottom: 2px; }
.nv-header--dark .nv-link:hover,
.nv-header--dark .nv-link.is-active,
.nv-header--dark .nv-link[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.nv-header--dark .nv-chevron { color: rgba(255,255,255,.6); }
.nv-header--dark .nv-link[aria-expanded="true"] .nv-chevron { color: #fff; }
.nv-header--dark .nv-link__ic { color: color-mix(in srgb, var(--nv-accent) 55%, #fff); }
.nv-header--dark .nv-link[aria-expanded="true"] .nv-link__ic,
.nv-header--dark .nv-link.is-active .nv-link__ic { color: #fff; }
.nv-header--dark .nv-icon-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.nv-header--dark .nv-icon-btn:hover,
.nv-header--dark .nv-icon-btn[aria-expanded="true"] { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.nv-header--dark .nv-header-cta { border-radius: 999px; padding: 11px 22px; }

/* Encabezado de páginas internas: banda a todo el ancho (sin márgenes ni bordes redondeados) */
.nv-page-head {
    margin: 0; border-radius: 0; padding: 64px 0 60px;
    background: linear-gradient(135deg, var(--nv-primary-dark) 0%, var(--nv-primary) 100%);
}
.nv-page-head::before {
    content: ''; position: absolute; z-index: -1; inset: auto; top: -60%; right: -10%; width: 34rem; height: 34rem;
    border-radius: 50%; opacity: 1; background-size: auto;
    background-image: radial-gradient(circle, color-mix(in srgb, var(--nv-accent) 16%, transparent), transparent 70%);
}
.nv-page-head h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 12px; }
.nv-page-head p { color: rgba(255,255,255,.78); font-size: 1.12rem; line-height: 1.6; max-width: 46rem; }
.nv-crumbs { font-size: .9rem; gap: 10px; }
.nv-crumbs li { gap: 10px; color: rgba(255,255,255,.72); }
.nv-crumbs li + li::before { content: '/'; font-family: inherit; font-size: inherit; opacity: 1; color: var(--nv-accent); font-weight: 700; }
@media (max-width: 991.98px) {
    .nv-header--dark { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--nv-primary); }
}
@media (max-width: 575.98px) {
    .nv-page-head { margin: 0; padding: 44px 0 40px; }
}

/* Accesos rápidos a secciones (contenido de /tienda/): tarjetas con ícono, como el megamenú */
.nv-prose .nv-quicklinks {
    list-style: none; padding: 0; margin: 16px 0 36px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px;
}
.nv-prose .nv-quicklinks li { margin: 0; }
.nv-prose .nv-quicklinks a {
    display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px;
    background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius);
    color: var(--nv-text); text-decoration: none; box-shadow: var(--nv-shadow-sm);
    transition: transform .25s var(--nv-ease), box-shadow .25s, border-color .25s;
}
.nv-prose .nv-quicklinks a::after { content: "\F285"; font-family: "bootstrap-icons"; margin-left: auto; font-size: .75rem; color: var(--nv-muted); transition: transform .2s, color .2s; }
.nv-prose .nv-quicklinks .bi {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--nv-primary-soft); color: var(--nv-primary); font-size: 1.1rem; transition: background .2s, color .2s;
}
.nv-prose .nv-quicklinks span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.nv-prose .nv-quicklinks strong { font-size: .9rem; font-weight: 700; color: inherit; }
.nv-prose .nv-quicklinks small { font-size: .74rem; color: var(--nv-muted); font-weight: 600; margin-top: 2px; }
.nv-prose .nv-quicklinks a:hover { transform: translateY(-3px); border-color: var(--nv-primary-ring); box-shadow: var(--nv-shadow-md); color: var(--nv-primary); }
.nv-prose .nv-quicklinks a:hover .bi { background: var(--nv-accent); color: #fff; }
.nv-prose .nv-quicklinks a:hover::after { color: var(--nv-accent); transform: translateX(3px); }
/* Títulos de sección enlazados desde las tarjetas */
.nv-prose h3[id] { display: flex; align-items: center; gap: 10px; scroll-margin-top: calc(var(--nv-header-h) + 24px); }
.nv-prose h3[id]::before { content: ''; width: 5px; height: 1.1em; border-radius: 3px; background: linear-gradient(180deg, var(--nv-accent), var(--nv-primary)); }
/* Certificaciones sin barra lateral: 3 tarjetas por fila */
@media (min-width: 992px) { .nv-cert-cards--wide { grid-template-columns: repeat(3, 1fr); } }

/* Páginas › «Columnas de productos»: rejillas del contenido a 2, 3 o 4 columnas fijas */
.nv-prose[style*="--nv-inline-cols"] .nv-inline-products,
.nv-prose[style*="--nv-inline-cols"] .nv-inline-categories { grid-template-columns: repeat(var(--nv-inline-cols), minmax(0, 1fr)); }
@media (max-width: 767.98px) {
    .nv-prose[style*="--nv-inline-cols"] .nv-inline-products,
    .nv-prose[style*="--nv-inline-cols"] .nv-inline-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Página «Sucursales» */
.nv-branch-nav { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.nv-branch-nav button {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
    background: #fff; border: 1px solid var(--nv-border); font-weight: 700; font-size: .9rem; color: var(--nv-text); box-shadow: var(--nv-shadow-sm);
}
.nv-branch-nav button { cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.nv-branch-nav button .bi { color: var(--nv-accent); transition: color .2s; }
.nv-branch-nav button:hover { border-color: var(--nv-primary); color: var(--nv-primary); }
.nv-branch-nav button.active { background: var(--nv-primary); border-color: var(--nv-primary); color: #fff; box-shadow: 0 8px 22px var(--nv-primary-ring); }
.nv-branch-nav button.active .bi { color: #fff; }
/* Pestañas: el panel activo mantiene su rejilla (Bootstrap usaría display: block) */
.nv-branches.tab-content > .nv-branch.active { display: grid; }
@media (max-width: 991.98px) { .nv-branches.tab-content > .nv-branch.active { display: block; } }
.nv-branches { display: grid; gap: 28px; }
.nv-branch {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff;
    border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 6px); overflow: hidden;
    box-shadow: var(--nv-shadow-md); scroll-margin-top: calc(var(--nv-header-h) + 24px);
}
.nv-branches:not(.tab-content) .nv-branch:nth-child(even) .nv-branch__map { order: -1; }
.nv-branch__info { position: relative; padding: 34px 34px 30px; }
.nv-branch__info::before { content: ''; position: absolute; left: 0; top: 34px; width: 4px; height: 56px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--nv-accent), var(--nv-primary)); }
.nv-branch__num { display: block; font-size: .8rem; font-weight: 900; letter-spacing: .14em; color: var(--nv-accent); margin-bottom: 4px; }
.nv-branch h2 { font-size: 1.55rem; margin-bottom: 4px; }
.nv-branch__data { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 14px; }
.nv-branch__data li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.nv-branch__data .bi {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: var(--nv-primary-soft); color: var(--nv-primary); font-size: 1rem;
}
.nv-branch__data strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--nv-muted); margin-bottom: 2px; }
.nv-branch__data a { color: var(--nv-text); font-weight: 600; }
.nv-branch__data a:hover { color: var(--nv-primary); }
.nv-branch__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-branch__map { position: relative; min-height: 340px; background: var(--nv-bg-soft); }
.nv-branch__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nv-branch__route {
    position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
    background: #fff; color: var(--nv-primary); font-weight: 700; font-size: .84rem; padding: 9px 14px; border-radius: 10px; box-shadow: var(--nv-shadow-md);
}
.nv-branch__route:hover { background: var(--nv-primary); color: #fff; }
@media (max-width: 991.98px) {
    .nv-branch { grid-template-columns: 1fr; }
    .nv-branch:nth-child(even) .nv-branch__map { order: 0; }
    .nv-branch__map { min-height: 280px; }
}

/* ==========================================================================
   Página «Promociones»: banda de cifras, filtro por marca, tarjetas y ficha
   ========================================================================== */
.nv-promo-band { background: #fff; border-bottom: 1px solid var(--nv-border); box-shadow: var(--nv-shadow-sm); }
.nv-promo-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.nv-promo-band__lead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nv-promo-band__lead strong { font-size: 1.05rem; color: var(--nv-text); }
.nv-promo-band__tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
    background: var(--nv-accent); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.nv-promo-band__stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nv-promo-band__stats li { display: flex; align-items: baseline; gap: 8px; }
.nv-promo-band__stats strong { font-size: 1.6rem; font-weight: 900; color: var(--nv-primary); line-height: 1; }
.nv-promo-band__stats span { font-size: .8rem; font-weight: 600; color: var(--nv-muted); }

.nv-promo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.nv-promo-toolbar .nv-branch-nav { margin: 0; }
.nv-promo-filter small {
    font-size: .7rem; font-weight: 800; padding: 1px 7px; border-radius: 999px; margin-left: 4px;
    background: var(--nv-bg-soft); color: var(--nv-muted);
}
.nv-promo-filter button.active small { background: rgba(255,255,255,.2); color: #fff; }
.nv-promo-count { font-size: .85rem; font-weight: 700; color: var(--nv-muted); }

.nv-promo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.nv-promo {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--nv-border);
    border-radius: calc(var(--nv-radius) + 2px); overflow: hidden; box-shadow: var(--nv-shadow-sm);
    transition: transform .3s var(--nv-ease), box-shadow .3s, border-color .3s;
}
.nv-promo[hidden] { display: none; }
.nv-promo:hover { transform: translateY(-5px); box-shadow: var(--nv-shadow-lg); border-color: var(--nv-primary-ring); }
.nv-promo__media {
    position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; cursor: zoom-in;
    background: radial-gradient(circle at 50% 45%, #fff 0%, var(--nv-bg-soft) 75%); overflow: hidden;
}
.nv-promo__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .5s var(--nv-ease); }
.nv-promo:hover .nv-promo__media img { transform: scale(1.06); }
.nv-promo__badge, .nv-promo__flag {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
    font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3;
}
.nv-promo__badge { background: var(--nv-accent); color: #fff; }
.nv-promo__flag { background: #fff; color: var(--nv-primary); border: 1px solid var(--nv-primary-ring); }
.nv-promo__media .nv-promo__badge { position: absolute; left: 12px; top: 12px; box-shadow: 0 6px 16px color-mix(in srgb, var(--nv-accent) 30%, transparent); }
.nv-promo__media .nv-promo__flag { position: absolute; left: 12px; bottom: 12px; }
.nv-promo__zoom {
    position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px;
    background: var(--nv-primary); color: #fff; font-size: .72rem; font-weight: 700; padding: 6px 10px; border-radius: 8px;
    opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.nv-promo:hover .nv-promo__zoom, .nv-promo__media:focus-visible .nv-promo__zoom { opacity: 1; transform: none; }
.nv-promo__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 18px; flex: 1; border-top: 1px solid var(--nv-border); }
.nv-promo__brand { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--nv-accent); }
.nv-promo__title { font-size: 1rem; line-height: 1.35; margin: 0; }
.nv-promo__title button { padding: 0; border: 0; background: none; text-align: left; font: inherit; font-weight: 800; color: var(--nv-text); cursor: pointer; }
.nv-promo__title button:hover { color: var(--nv-primary); }
.nv-promo__summary {
    margin: 0; font-size: .86rem; line-height: 1.55; color: var(--nv-muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nv-promo__actions { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; }
.nv-promo__actions .nv-btn--primary { flex: 1; }
.nv-promo__actions .nv-btn--whatsapp { flex: 0 0 42px; padding-left: 0; padding-right: 0; }

/* Ventana de detalle */
.nv-promo-modal .modal-content { border: 0; border-radius: calc(var(--nv-radius) + 8px); overflow: hidden; }
.nv-promo-modal__close { position: absolute; right: 18px; top: 18px; z-index: 2; background-color: #fff; border-radius: 50%; padding: 10px; opacity: .9; }
.nv-promo-modal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nv-promo-modal__media {
    display: flex; align-items: center; justify-content: center; padding: 34px; min-height: 420px;
    background: radial-gradient(circle at 50% 45%, #fff 0%, var(--nv-bg-soft) 80%);
}
.nv-promo-modal__media img { max-width: 100%; max-height: 460px; object-fit: contain; }
.nv-promo-modal__body { padding: 40px 38px 34px; display: flex; flex-direction: column; gap: 14px; }
.nv-promo-modal__body h3 { font-size: 1.45rem; margin: 0; }
.nv-promo-modal__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-promo-modal__body .nv-prose { font-size: .95rem; }
.nv-promo-modal__body .nv-prose p:last-child { margin-bottom: 0; }
.nv-promo-modal__perks { list-style: none; padding: 14px 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px dashed var(--nv-border); border-bottom: 1px dashed var(--nv-border); font-size: .86rem; font-weight: 600; color: var(--nv-text); }
.nv-promo-modal__perks .bi { color: var(--nv-primary); margin-right: 4px; }

@media (max-width: 1199.98px) { .nv-promo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
    .nv-promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nv-promo-modal__grid { grid-template-columns: 1fr; }
    .nv-promo-modal__media { min-height: 260px; padding: 24px; }
    .nv-promo-modal__body { padding: 26px 22px; }
    .nv-promo-band__stats { gap: 18px; }
}
@media (max-width: 575.98px) {
    .nv-promo-grid { gap: 14px; }
    .nv-promo__body { padding: 14px; }
    .nv-promo__zoom { display: none; }
}
.nv-sheets__more { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--nv-border); text-align: right; }
.nv-sheets__more a { font-weight: 800; font-size: .88rem; }

/* Quiénes somos: imagen institucional en su proporción real (sin recortes) + insignia cuadrada alineada */
.nv-about__media { align-self: center; padding: 0 22px 22px 0; }
.nv-about__media > img {
    aspect-ratio: auto; height: auto; object-fit: contain; display: block;
    background: #fff; border: 1px solid var(--nv-border); padding: 28px;
}
.nv-about__badge {
    right: 0; bottom: 0; width: 132px; height: 132px; padding: 0; overflow: hidden;
    border-radius: calc(var(--nv-radius) + 4px); border: 6px solid #fff; background: #111;
}
.nv-about__badge img { object-fit: cover; border-radius: calc(var(--nv-radius) - 2px); }
@media (max-width: 991.98px) {
    .nv-about__media { padding: 0 16px 16px 0; }
    .nv-about__badge { right: 0; width: 110px; height: 110px; }
}
@media (max-width: 575.98px) {
    .nv-about__media > img { padding: 18px; }
    .nv-about__badge { width: 92px; height: 92px; border-width: 4px; }
}

/* Quiénes somos: dos tarjetas iguales, una sobre otra, a todo el alto del texto (sin espacio sobrante) */
.nv-about { align-items: stretch; }
.nv-about__stack { align-self: stretch; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 20px; }
.nv-about__card {
    margin: 0; min-height: 260px; display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: #fff; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 6px); box-shadow: var(--nv-shadow-lg);
}
.nv-about__card img { width: 100%; height: 100%; object-fit: contain; padding: 32px 40px; }
.nv-about__card--dark { background: #121212; border-color: #121212; }
.nv-about__card--dark img { padding: 18px; }
@media (max-width: 991.98px) {
    .nv-about__stack { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
    .nv-about__card { min-height: 0; aspect-ratio: 4 / 3; }
    .nv-about__card img { padding: 20px; }
}
/* La imagen no impone su alto: las tarjetas se reparten el alto de la columna de texto */
.nv-about__card { position: relative; min-height: 220px; }
.nv-about__card img { position: absolute; inset: 0; }
@media (max-width: 991.98px) {
    .nv-about__card { min-height: 0; }
}
/* Mismo tono que el fondo de la insignia de 35 años: la imagen se funde con la tarjeta */
.nv-about__card--dark { background: #19171A; border-color: #19171A; }
/* Portada (#Contactanos): pestañas de oficinas centradas bajo el encabezado */
#Contactanos .nv-branch-nav { justify-content: center; }

/* Hero CEISA: resaltado y viñetas en tonos rojos de la marca (contraste sobre los fondos azules) */
.nv-hero--dark h1 em, .nv-hero--dark .nv-hero__title em {
    background: linear-gradient(120deg, #FF8E97 0%, #F0414E 55%, var(--nv-accent) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nv-hero--blue h1 em, .nv-hero--blue .nv-hero__title em {
    background: linear-gradient(120deg, #FFFFFF 0%, #FFC2C7 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nv-hero--dark .nv-hero__trust .bi, .nv-hero--blue .nv-hero__trust .bi { color: #FF8E97; }
.nv-hero__chip .dot { background: var(--nv-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nv-accent) 30%, transparent); }

/* Hero arrastrable con el ratón */
#nvHero { cursor: grab; touch-action: pan-y; }
#nvHero.is-dragging { cursor: grabbing; user-select: none; }
#nvHero.is-dragging .carousel-item.active { transition: none; }
#nvHero .carousel-item.active { transition: transform .25s var(--nv-ease), opacity .7s ease-in-out; }
#nvHero a, #nvHero button { cursor: pointer; }

/* Hero a todo el ancho, sin bordes redondeados (también en móvil) */
.nv-hero-wrap { padding: 0; margin: 0; }
.nv-hero { border-radius: 0; }
#nvHero, #nvHero * { -webkit-user-select: none; user-select: none; }
#nvHero img { -webkit-user-drag: none; }
@media (max-width: 575.98px) {
    .nv-hero-wrap { margin-left: 0; margin-right: 0; padding: 0; }
}

/* Hero deslizable: transición de deslizamiento de Bootstrap (no fundido); durante el arrastre la controla el script */
#nvHero .carousel-item, #nvHero .carousel-item.active { transition: transform .6s cubic-bezier(.22,1,.36,1); }
#nvHero.is-dragging .carousel-item.active { transition: none; }
#nvHero .carousel-inner { overflow: hidden; }

/* CEISA · Hero: todos los banners comparten la altura del más alto.
   Los slides se apilan en la misma celda de la rejilla (siguen ocupando espacio aunque estén ocultos),
   así el carrusel no cambia de alto al pasar de uno a otro ni al arrastrar. */
#nvHero .carousel-inner { display: grid; }
#nvHero .carousel-item {
    display: block; grid-area: 1 / 1; float: none; margin-right: 0;
    visibility: hidden; backface-visibility: visible;
}
#nvHero .carousel-item.active,
#nvHero .carousel-item-next,
#nvHero .carousel-item-prev { visibility: visible; }
#nvHero .carousel-item > .nv-hero { height: 100%; display: flex; align-items: center; }
#nvHero .carousel-item > .nv-hero > * { width: 100%; }

/* ==========================================================================
   Modos de color (Plantillas › Personalizar › Apariencia)
   · Claro: barra superior azul, menú blanco, hero y encabezados claros (paleta «Modo claro»)
   · Oscuro: cabecera azul con logotipo blanco; los banners del hero también en tonos claros
   Variables: --nv-l-topbar, --nv-l-nav, --nv-l-hero, --nv-l-cta, --nv-l-surface, --nv-l-heading, --nv-l-muted
   ========================================================================== */

/* Barra superior: el botón «Cotizar» va al final, tras teléfono y correo */
.nv-topbar__btn { display: inline-flex; align-items: center; gap: 6px; }
.nv-topbar__contact a.nv-topbar__btn { color: #fff; }
@media (max-width: 991.98px) {
    .nv-topbar__contact { display: flex; }
    .nv-topbar__contact a:not(.nv-topbar__btn) { display: none; }
}

.nv-mode-light .nv-topbar { background: var(--nv-l-topbar); animation: none; font-size: .86rem; }
.nv-mode-light .nv-topbar__inner { min-height: 50px; }
.nv-mode-light .nv-topbar__promo { justify-content: flex-start; }
.nv-mode-light .nv-topbar__tag { background: var(--nv-l-cta); border-color: color-mix(in srgb, var(--nv-l-cta) 60%, #fff); font-size: 11px; padding: 4px 12px; }
.nv-mode-light .nv-topbar__text { color: #fff; font-weight: 500; }
.nv-mode-light .nv-topbar__contact { gap: 22px; }
.nv-mode-light .nv-topbar__contact a { color: #fff; }
.nv-mode-light .nv-topbar__contact a:hover { color: color-mix(in srgb, #fff 80%, var(--nv-l-hero)); }
.nv-mode-light .nv-topbar__btn { background: var(--nv-l-cta); font-size: 12.5px; padding: 7px 16px; box-shadow: 0 4px 14px color-mix(in srgb, var(--nv-l-cta) 35%, transparent); }

/* Cabecera blanca */
.nv-mode-light .nv-header { background: var(--nv-l-surface); border-bottom: 1px solid color-mix(in srgb, var(--nv-l-nav) 10%, #fff); }
.nv-mode-light .nv-header.is-scrolled { box-shadow: 0 6px 26px color-mix(in srgb, var(--nv-l-topbar) 10%, transparent); }
.nv-mode-light .nv-header::after { background: linear-gradient(90deg, var(--nv-l-topbar), var(--nv-l-cta), var(--nv-l-topbar)); background-size: 200% 100%; }
.nv-mode-light .nv-link { color: var(--nv-l-nav); font-weight: 600; }
.nv-mode-light .nv-link::after { background: var(--nv-l-cta); left: 30%; right: 30%; bottom: 2px; }
.nv-mode-light .nv-link:hover,
.nv-mode-light .nv-link.is-active,
.nv-mode-light .nv-link[aria-expanded="true"] { color: var(--nv-l-topbar); background: color-mix(in srgb, var(--nv-l-nav) 7%, #fff); }
.nv-mode-light .nv-chevron { color: var(--nv-l-nav); opacity: .75; }
.nv-mode-light .nv-link[aria-expanded="true"] .nv-chevron { color: var(--nv-l-topbar); opacity: 1; }
.nv-mode-light .nv-link__ic,
.nv-mode-light .nv-link[aria-expanded="true"] .nv-link__ic,
.nv-mode-light .nv-link.is-active .nv-link__ic { color: var(--nv-l-cta); }
.nv-mode-light .nv-icon-btn { background: var(--nv-l-surface); color: var(--nv-l-nav); border-color: color-mix(in srgb, var(--nv-l-nav) 22%, #fff); }
.nv-mode-light .nv-icon-btn:hover,
.nv-mode-light .nv-icon-btn[aria-expanded="true"] { color: var(--nv-l-topbar); border-color: var(--nv-l-nav); background: color-mix(in srgb, var(--nv-l-nav) 6%, #fff); }
.nv-mode-light .nv-header-cta {
    border-radius: 999px; padding: 13px 24px; background: var(--nv-l-cta);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--nv-l-cta) 30%, transparent);
}

/* Encabezado de páginas internas en modo claro: banda azul con el color de la barra superior */
.nv-mode-light .nv-page-head {
    color: #fff; border-bottom: 0;
    background:
        linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.06) 58% 66%, rgba(255,255,255,.03) 66% 80%, transparent 80%),
        linear-gradient(135deg, var(--nv-l-topbar) 0%, color-mix(in srgb, var(--nv-l-topbar) 78%, var(--nv-l-nav)) 100%);
}
.nv-mode-light .nv-page-head::before { background-image: radial-gradient(circle, color-mix(in srgb, var(--nv-l-cta) 18%, transparent), transparent 70%); }
.nv-mode-light .nv-page-head h1 { color: #fff; }
.nv-mode-light .nv-page-head p { color: rgba(255,255,255,.8); }
.nv-mode-light .nv-crumbs li { color: rgba(255,255,255,.72); }
.nv-mode-light .nv-crumbs a { color: #fff; font-weight: 600; }
.nv-mode-light .nv-crumbs a:hover { color: color-mix(in srgb, #fff 75%, var(--nv-l-hero)); }

/* ── Hero claro (ambos modos) ─────────────────────────────────────────── */
.nv-hero--soft {
    --hero-bg: var(--nv-l-hero);
    color: var(--nv-l-heading);
    background:
        linear-gradient(115deg, transparent 0 54%, rgba(255,255,255,.7) 54% 61%, rgba(255,255,255,.28) 61% 76%, transparent 76%),
        radial-gradient(760px 460px at 76% 46%, rgba(255,255,255,.95) 0%, transparent 68%),
        linear-gradient(180deg, color-mix(in srgb, var(--hero-bg) 55%, #fff) 0%, var(--hero-bg) 100%);
}
/* Modo oscuro: cada banner en un tono claro distinto según su estilo (Banners › Estilo) */
.nv-mode-dark .nv-hero--soft.nv-hero--tone-blue  { --hero-bg: #E6EEFA; }
.nv-mode-dark .nv-hero--soft.nv-hero--tone-dark  { --hero-bg: #EEF0F7; }
.nv-mode-dark .nv-hero--soft.nv-hero--tone-light { --hero-bg: var(--nv-l-hero); }

/* Panel diagonal translúcido y franja roja (decoración, como la referencia) */
.nv-hero--soft::before {
    inset: 0 -6% 0 auto; width: 50%; opacity: 1;
    background: linear-gradient(160deg, color-mix(in srgb, var(--nv-l-nav) 9%, transparent) 0%, transparent 70%);
    -webkit-mask-image: none; mask-image: none; transform: skewX(-18deg); transform-origin: top;
}
.nv-hero--soft::after {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    right: 6%; top: 22%; width: 16px; height: 42%; border-radius: 4px; transform: rotate(32deg);
    background: linear-gradient(180deg, transparent 0%, var(--nv-l-cta) 45%, color-mix(in srgb, var(--nv-l-cta) 30%, transparent) 100%);
    opacity: .8;
}

.nv-hero--soft .nv-hero__chip {
    background: rgba(255,255,255,.75); border: 1px solid color-mix(in srgb, var(--nv-l-nav) 22%, #fff);
    color: var(--nv-l-topbar); text-transform: uppercase; font-weight: 700; letter-spacing: .02em;
}
.nv-hero--soft .nv-hero__chip .dot { background: var(--nv-l-cta); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nv-l-cta) 18%, transparent); }
.nv-hero.nv-hero--soft h1, .nv-hero.nv-hero--soft h2.nv-hero__title { color: var(--nv-l-topbar); }
.nv-hero--soft h1 em, .nv-hero--soft .nv-hero__title em {
    background: none; color: var(--nv-l-cta); -webkit-text-fill-color: var(--nv-l-cta);
}
.nv-hero--soft .nv-hero__sub { color: var(--nv-l-muted); }
.nv-hero--soft .nv-hero__trust li { color: var(--nv-l-muted); }
.nv-hero--soft .nv-hero__trust .bi { color: var(--nv-l-cta); }

.nv-btn--cta {
    background: var(--nv-l-cta); color: #fff; border-radius: 8px; padding: 16px 26px;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--nv-l-cta) 28%, transparent);
}
.nv-btn--cta:hover { background: color-mix(in srgb, var(--nv-l-cta) 86%, #000); color: #fff; }
.nv-btn--line {
    background: transparent; color: var(--nv-l-topbar); border: 1.5px solid var(--nv-l-nav); border-radius: 8px; padding: 16px 26px;
}
.nv-btn--line:hover { background: var(--nv-l-surface); color: var(--nv-l-topbar); box-shadow: 0 8px 22px color-mix(in srgb, var(--nv-l-nav) 14%, transparent); }

/* Producto integrado en el fondo (sin ventana) */
.nv-hero__product { position: relative; align-items: center; justify-content: center; min-height: 420px; }
.nv-hero__product::before {
    content: ''; position: absolute; inset: 4% 6%; border-radius: 50%;
    background: radial-gradient(closest-side, #fff 0%, rgba(255,255,255,.8) 55%, transparent 100%);
}
.nv-hero__product::after {
    content: ''; position: absolute; left: 20%; right: 20%; bottom: 4%; height: 30px;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--nv-l-topbar) 22%, transparent), transparent);
}
.nv-hero__product img {
    position: relative; z-index: 1; max-width: 100%; max-height: 440px; object-fit: contain;
    mix-blend-mode: multiply; transition: transform .6s var(--nv-ease);
}
.nv-hero__product:hover img { transform: scale(1.03); }

/* Indicadores del carrusel sobre fondo claro */
#nvHero .carousel-indicators [data-bs-target] { background-color: var(--nv-l-nav); }
@media (max-width: 991.98px) {
    .nv-hero--soft::after { display: none; }   /* la franja decorativa cruzaría el texto en una sola columna */
}

/* ==========================================================================
   Ficha de producto · galería: miniaturas en columna (arriba a la izquierda),
   imagen arrastrable con flechas, zoom suave al hacer clic y acceso a lightGallery
   ========================================================================== */
.nv-gallery.has-thumbs { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; }
.nv-gallery__thumbs {
    display: flex; flex-direction: column; gap: 10px; margin: 0;
    /* la columna no agranda la fila: toma el alto de la imagen y se desplaza si hay muchas */
    align-self: stretch; height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: thin; padding: 2px;
}
.nv-gallery__thumb {
    flex-shrink: 0; width: 80px; height: 80px; padding: 6px; border: 1.5px solid var(--nv-border); border-radius: 12px;
    background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, opacity .2s; opacity: .72;
}
.nv-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.nv-gallery__thumb:hover { opacity: 1; border-color: var(--nv-primary-ring); }
.nv-gallery__thumb.is-active { opacity: 1; border-color: var(--nv-primary); box-shadow: 0 0 0 3px var(--nv-primary-ring); }
.nv-gallery__thumb:focus-visible { outline: 2px solid var(--nv-primary); outline-offset: 2px; }

.nv-gallery__main { cursor: zoom-in; touch-action: pan-y; -webkit-user-select: none; user-select: none; outline: 0; }
.nv-gallery__main:focus-visible { box-shadow: 0 0 0 3px var(--nv-primary-ring); }
.nv-gallery__main.is-dragging { cursor: grabbing; }
.nv-gallery__main.is-zoomed { cursor: zoom-out; }
.nv-gallery__track { display: flex; height: 100%; will-change: transform; }
.nv-gallery__slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.nv-gallery__main .nv-gallery__slide img {
    width: 100%; height: 100%; object-fit: contain; padding: 0; cursor: inherit;
    -webkit-user-drag: none; transform-origin: 50% 50%;
}

/* Flechas, contador y botón de pantalla completa */
.nv-gallery__nav, .nv-gallery__expand {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--nv-border); background: rgba(255,255,255,.94); color: var(--nv-primary);
    box-shadow: var(--nv-shadow-sm); cursor: pointer; transition: background .2s, color .2s, transform .2s, opacity .2s;
}
.nv-gallery__nav { top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; font-size: 1.1rem; }
.nv-gallery__nav--prev { left: 14px; }
.nv-gallery__nav--next { right: 14px; }
.nv-gallery__expand { top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 12px; font-size: 1rem; }
.nv-gallery__nav:hover, .nv-gallery__expand:hover { background: var(--nv-primary); color: #fff; border-color: var(--nv-primary); }
.nv-gallery__nav:focus-visible, .nv-gallery__expand:focus-visible { outline: 2px solid var(--nv-primary); outline-offset: 2px; }
.nv-gallery__count {
    position: absolute; z-index: 2; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px;
    background: rgba(255,255,255,.94); box-shadow: var(--nv-shadow-sm); font-size: .75rem; font-weight: 700; color: var(--nv-muted);
    pointer-events: none;
}
.nv-gallery__hint { z-index: 2; }
/* Con zoom activo, los controles no tapan la imagen */
.nv-gallery__main.is-zoomed .nv-gallery__nav,
.nv-gallery__main.is-zoomed .nv-gallery__hint,
.nv-gallery__main.is-zoomed .nv-gallery__count { opacity: 0; pointer-events: none; }
@media (hover: hover) {
    .nv-gallery__nav { opacity: 0; }
    .nv-gallery__main:hover .nv-gallery__nav, .nv-gallery__main:focus-within .nv-gallery__nav { opacity: 1; }
    .nv-gallery__main.is-zoomed:hover .nv-gallery__nav { opacity: 0; }
}

/* Móvil: miniaturas en fila bajo la imagen */
@media (max-width: 575.98px) {
    .nv-gallery.has-thumbs { grid-template-columns: minmax(0, 1fr); }
    .nv-gallery__thumbs { order: 2; flex-direction: row; height: auto; min-height: 0; overflow-x: auto; overflow-y: hidden; }
    .nv-gallery__thumb { width: 64px; height: 64px; }
    .nv-gallery__main .nv-gallery__slide img { padding: 0; }
    .nv-gallery__nav { width: 38px; height: 38px; margin-top: -19px; }
    .nv-gallery__hint { display: none; }
}

/* ==========================================================================
   Ficha de producto · proporción imagen / texto ≈ 58 / 42 (antes 52 / 48)
   La columna de miniaturas resta ~100 px a la galería: así la imagen principal gana
   protagonismo sin que la columna de datos quede estrecha (≈ 520 px en escritorio).
   ========================================================================== */
@media (min-width: 992px) {
    .nv-pdetail { grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); gap: 40px; }
    /* Los datos acompañan a la galería al desplazarse (cabecera fija + margen) */
    .nv-pinfo { position: sticky; top: calc(var(--nv-header-h) + 24px); }
    .nv-pinfo__cta .nv-btn { flex: 1 1 auto; padding: 14px 18px; }
}
@media (min-width: 1200px) {
    .nv-pdetail { gap: 48px; }
}
/* Pantallas medianas: ventajas en dos líneas legibles en lugar de tres columnas apretadas */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .nv-pinfo__perks { grid-template-columns: repeat(2, 1fr); }
    .nv-pinfo__perks div:last-child { grid-column: 1 / -1; }
}

/* Submenús de los últimos elementos del menú: se abren hacia la izquierda para no salirse de la pantalla
   (en 1000–1199 px el de «Contacto» provocaba desplazamiento horizontal) */
.nv-menu > li:nth-last-child(-n+2) > .nv-drop { left: auto; right: 0; }
/* 992–1060 px: el menú completo cabe sin desplazamiento horizontal */
@media (min-width: 992px) and (max-width: 1060px) {
    .nv-header__inner { gap: 12px; }
    .nv-link { padding: 7px 6px; font-size: .82rem; gap: 4px; }
    .nv-link__ic { display: none; }
    .nv-logo img { max-width: 150px; }
}

/* ==========================================================================
   Nuestros clientes: introducción con cifras, filtro por sector y tarjetas de logotipos
   ========================================================================== */
.nv-clients-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.nv-clients-intro .nv-section__title { margin-bottom: 14px; }
.nv-clients-intro .nv-prose p:last-child { margin-bottom: 0; }
.nv-clients-intro__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nv-clients-intro__stats div {
    text-align: center; padding: 22px 12px; border-radius: var(--nv-radius);
    background: var(--nv-primary-soft); border: 1px solid var(--nv-primary-ring);
}
.nv-clients-intro__stats strong { display: block; font-size: 2rem; font-weight: 900; color: var(--nv-primary); line-height: 1.1; }
.nv-clients-intro__stats span { display: block; margin-top: 6px; font-size: .74rem; font-weight: 700; color: var(--nv-muted); text-transform: uppercase; letter-spacing: .06em; line-height: 1.35; }

.nv-clients-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.nv-clients-filter button {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
    font: inherit; font-size: .86rem; font-weight: 700; color: var(--nv-text); cursor: pointer;
    background: #fff; border: 1px solid var(--nv-border); transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.nv-clients-filter button .bi { color: var(--nv-accent); transition: color .2s; }
.nv-clients-filter button span {
    min-width: 22px; padding: 1px 7px; border-radius: 999px; font-size: .74rem;
    background: var(--nv-bg-soft); color: var(--nv-muted); transition: background .2s, color .2s;
}
.nv-clients-filter button:hover { border-color: var(--nv-primary-ring); color: var(--nv-primary); box-shadow: var(--nv-shadow-sm); }
.nv-clients-filter button.is-active { background: var(--nv-primary); border-color: var(--nv-primary); color: #fff; box-shadow: 0 6px 20px var(--nv-primary-ring); }
.nv-clients-filter button.is-active .bi { color: #fff; }
.nv-clients-filter button.is-active span { background: rgba(255,255,255,.18); color: #fff; }
.nv-clients-filter button:focus-visible { outline: 3px solid var(--nv-primary-ring); outline-offset: 2px; }

.nv-clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.nv-client {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 2px);
    box-shadow: var(--nv-shadow-sm); transition: transform .25s var(--nv-ease), box-shadow .25s, border-color .25s;
}
.nv-client[hidden] { display: none; }
.nv-client::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 1;
    background: linear-gradient(90deg, var(--nv-accent), var(--nv-primary));
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--nv-ease);
}
.nv-client:hover { transform: translateY(-5px); box-shadow: var(--nv-shadow-lg); border-color: var(--nv-primary-ring); }
.nv-client:hover::before { transform: scaleX(1); }
.nv-client__logo {
    height: 170px; padding: 28px; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(120% 90% at 50% 0%, #fff 0%, var(--nv-bg-soft) 100%);
    border-bottom: 1px solid var(--nv-border);
}
.nv-client__logo img {
    max-width: 82%; max-height: 92px; width: auto; height: auto; object-fit: contain;
    transition: transform .35s var(--nv-ease);
}
.nv-client:hover .nv-client__logo img { transform: scale(1.05); }
.nv-client__body { padding: 16px 20px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.nv-client__body h3 { font-size: 1rem; margin: 0; }
.nv-client__sector {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
    font-size: .76rem; font-weight: 700; color: var(--nv-primary); background: var(--nv-primary-soft);
}
.nv-client__sector .bi { color: var(--nv-accent); }
.nv-clients-note { margin: 28px auto 0; max-width: 720px; text-align: center; font-size: .78rem; color: var(--nv-muted); }

@media (max-width: 1199.98px) {
    .nv-clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .nv-clients-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .nv-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .nv-clients { gap: 14px; }
    .nv-client__logo { height: 128px; padding: 18px; }
    .nv-client__logo img { max-height: 70px; }
    .nv-client__body { padding: 12px 14px 14px; }
    .nv-client__body h3 { font-size: .9rem; }
    .nv-client__sector { font-size: .7rem; }
    .nv-clients-intro__stats { gap: 10px; }
    .nv-clients-intro__stats div { padding: 16px 6px; }
    .nv-clients-intro__stats strong { font-size: 1.6rem; }
    .nv-clients-intro__stats span { font-size: .64rem; letter-spacing: .03em; overflow-wrap: anywhere; }
    .nv-clients-filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
    .nv-clients-filter::-webkit-scrollbar { display: none; }
    .nv-clients-filter button { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .nv-client, .nv-client::before, .nv-client__logo img { transition: none; }
    .nv-client:hover { transform: none; }
    .nv-client:hover .nv-client__logo img { transform: none; }
}
.nv-client__body h3 a { color: inherit; }
.nv-client__body h3 .bi { font-size: .7rem; color: var(--nv-muted); margin-left: 4px; vertical-align: 2px; }
.nv-client:hover .nv-client__body h3 a { color: var(--nv-primary); }

/* Botón «Solicitar cotización» de la cabecera: texto corto en portátiles (1301–1400 px) para dejar sitio al menú.
   En 992–1300 px se oculta (la barra superior ya tiene su botón «Cotizar»). */
.nv-header-cta__short { display: none; }
@media (min-width: 1301px) and (max-width: 1400px) {
    .nv-header-cta__full { display: none; }
    .nv-header-cta__short { display: inline; }
}

/* ==========================================================================
   Megamenú «Clientes» (tipo automático): cifras + sectores + botón | rejilla de logotipos a color
   ========================================================================== */
.nv-mega-clients { display: grid; grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); gap: 28px; align-items: start; }
.nv-mega-clients__intro {
    display: grid; gap: 16px; padding: 18px; border-radius: var(--nv-radius);
    background: var(--nv-bg-soft); border: 1px solid var(--nv-border);
}
.nv-mega-clients__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nv-mega-clients__stats div { text-align: center; padding: 10px 4px; border-radius: 10px; background: #fff; border: 1px solid var(--nv-border); }
.nv-mega-clients__stats strong { display: block; font-size: 1.25rem; font-weight: 900; color: var(--nv-primary); line-height: 1.1; }
.nv-mega-clients__stats span { font-size: .68rem; font-weight: 700; color: var(--nv-muted); text-transform: uppercase; letter-spacing: .05em; }
.nv-mega-clients__sectors { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nv-mega-clients__sectors li {
    font-size: .74rem; font-weight: 700; color: var(--nv-primary); padding: 4px 10px; border-radius: 999px;
    background: var(--nv-primary-soft); border: 1px solid var(--nv-primary-ring);
}
.nv-mega-clients__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nv-mega-clients__grid a {
    height: 96px; display: flex; align-items: center; justify-content: center; padding: 16px 20px;
    background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius);
    transition: transform .25s var(--nv-ease), box-shadow .25s, border-color .25s;
}
.nv-mega-clients__grid img { max-width: 88%; max-height: 56px; object-fit: contain; transition: transform .3s var(--nv-ease); }
.nv-mega-clients__grid a:hover { transform: translateY(-3px); border-color: var(--nv-primary-ring); box-shadow: var(--nv-shadow-md); }
.nv-mega-clients__grid a:hover img { transform: scale(1.06); }
@media (max-width: 1199.98px) {
    .nv-mega-clients { grid-template-columns: 210px minmax(0, 1fr); gap: 20px; }
    .nv-mega-clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .nv-mega-clients__grid a, .nv-mega-clients__grid img { transition: none; }
    .nv-mega-clients__grid a:hover, .nv-mega-clients__grid a:hover img { transform: none; }
}

/* Un solo botón de cotizar a la vista: desde 1301 px se ve el de la cabecera, así que el de la barra superior se oculta */
@media (min-width: 1301px) {
    .nv-topbar .nv-topbar__btn--dup { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   Contenido migrado de WordPress (baulphp.com): pies de foto, alineaciones,
   shortcodes (Shortcodes Ultimate, botones), vídeos y demostraciones [mframe]; precios WooCommerce
   ══════════════════════════════════════════════════════════════ */
.nv-prose .wp-caption { max-width: 100%; margin: 1.5rem 0; }
.nv-prose .wp-caption img { display: block; max-width: 100%; height: auto; }
.nv-prose .wp-caption-text { font-size: .875rem; color: var(--nv-muted, #6b7280); text-align: center; margin-top: .5rem; }
.nv-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.nv-prose .alignleft { float: left; margin: .25rem 1.5rem 1rem 0; }
.nv-prose .alignright { float: right; margin: .25rem 0 1rem 1.5rem; }
.nv-prose img { max-width: 100%; height: auto; }
.nv-prose .wp-divider { margin: 2rem 0; border: 0; border-top: 1px solid rgba(0,0,0,.12); }
.nv-prose .wp-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.2rem; margin: .25rem .25rem .25rem 0; border-radius: 6px; font-weight: 600; text-decoration: none; color: #fff; background: var(--nv-primary); }
.nv-prose .wp-btn:hover { filter: brightness(1.1); color: #fff; }
.nv-prose .wp-btn--blue { background: #1e73be; }
.nv-prose .wp-btn--green { background: #2e9e4f; }
.nv-prose .wp-btn--red { background: #c62828; }
.nv-prose .wp-btn--orange { background: #ef6c00; }
.nv-prose .wp-btn--black { background: #222; }
.nv-prose .su-box { margin: 1.5rem 0; border: 2px solid var(--nv-primary); border-radius: 6px; overflow: hidden; }
.nv-prose .su-box-title { padding: .6rem 1rem; font-weight: 700; color: #fff; background: var(--nv-primary); }
.nv-prose .su-box-content { padding: 1rem; }
.nv-prose .su-note { margin: 1.5rem 0; padding: 1rem 1.25rem; border-radius: 6px; background: #fff8dc; border-left: 4px solid #f3d455; }
.nv-prose .su-quote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--nv-primary); background: rgba(0,0,0,.03); font-style: italic; }
.nv-prose .wp-embed, .nv-prose .wp-video { margin: 1.5rem 0; }
.nv-prose .wp-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 6px; }
.nv-prose .wp-video video { max-width: 100%; height: auto; border-radius: 6px; }
.nv-prose .wp-mframe { margin: 1.5rem 0; border: 1px dashed rgba(0,0,0,.2); border-radius: 6px; padding: .5rem; background: #fff; }
.nv-prose .wp-mframe iframe { width: 100%; min-height: 160px; border: 0; }
.nv-prose pre { overflow-x: auto; max-width: 100%; }
.nv-price { margin: .5rem 0 1rem; font-weight: 700; display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.nv-price del { color: var(--nv-muted, #6b7280); font-weight: 500; }
.nv-price ins { text-decoration: none; color: var(--nv-accent); font-size: 1.15em; }
.nv-price--lg ins { font-size: 1.75rem; }
.nv-price__note { font-size: .85rem; font-weight: 500; color: var(--nv-muted, #6b7280); }
.nv-post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }

/* ══════════════════════════════════════════════════════════════
   Listados: selector «cuadrícula / filas» (Configuración › Blog y catálogo)
   ══════════════════════════════════════════════════════════════ */
.nv-layout-switch { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--nv-border); border-radius: 10px; background: #fff; }
.nv-layout-switch button {
    width: 34px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 7px; background: transparent; color: var(--nv-muted); cursor: pointer; transition: background .2s, color .2s;
}
.nv-layout-switch button:hover { color: var(--nv-primary); }
.nv-layout-switch button.is-active { background: var(--nv-primary); color: #fff; }
.nv-layout-switch button:focus-visible { outline: 2px solid var(--nv-primary-ring); outline-offset: 1px; }
.nv-toolbar .nv-layout-switch { margin-left: auto; }

/* Entradas en filas: imagen a la izquierda, texto a la derecha */
.nv-posts.is-list, .nv-blog .nv-posts.is-list { grid-template-columns: 1fr; gap: 20px; }
.nv-posts.is-list .nv-post { flex-direction: row; }
.nv-posts.is-list .nv-post__media { flex: 0 0 clamp(200px, 36%, 320px); aspect-ratio: auto; min-height: 180px; }
.nv-posts.is-list .nv-post__body { padding: 20px 24px; justify-content: center; }
.nv-posts.is-list .nv-post__title { font-size: 1.18rem; }
.nv-posts.is-list .nv-post__excerpt { -webkit-line-clamp: 2; }
.nv-posts.is-list .nv-post__more { margin-top: 4px; }

/* Productos en filas */
.nv-products.is-list { grid-template-columns: 1fr !important; gap: 18px; }
.nv-products.is-list .nv-product { flex-direction: row; }
.nv-products.is-list .nv-product__media { flex: 0 0 clamp(220px, 38%, 360px); aspect-ratio: 16 / 9; align-self: center; }
.nv-products.is-list .nv-product__body { border-top: 0; border-left: 1px solid var(--nv-border); padding: 20px 24px; justify-content: center; }
.nv-products.is-list .nv-product__title { font-size: 1.12rem; }
.nv-products.is-list .nv-product__excerpt { -webkit-line-clamp: 3; }
.nv-products.is-list .nv-product__foot { margin-top: 6px; max-width: 360px; }
.nv-posts.is-list .nv-post:hover, .nv-products.is-list .nv-product:hover { transform: translateY(-3px); }

@media (max-width: 575.98px) {
    .nv-posts.is-list .nv-post, .nv-products.is-list .nv-product { flex-direction: column; }
    .nv-posts.is-list .nv-post__media { flex-basis: auto; aspect-ratio: 1024 / 536; min-height: 0; }
    .nv-products.is-list .nv-product__media { flex-basis: auto; }
    .nv-products.is-list .nv-product__body { border-left: 0; border-top: 1px solid var(--nv-border); }
}

/* ══════════════════════════════════════════════════════════════
   Tienda: carrito, pago, «Mi cuenta», descargas y recuadro de compra
   ══════════════════════════════════════════════════════════════ */
.nv-alert--danger { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.nv-alert--info { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.nv-alert--warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }

.nv-cart-btn { position: relative; }
.nv-cart-btn__count {
    position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--nv-accent); color: #fff; font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center;
}

/* Recuadro de compra (ficha del producto) */
.nv-buybox { border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 2px); padding: 18px; background: #fff; margin: 6px 0 12px; box-shadow: var(--nv-shadow-sm); }
.nv-buybox__options { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.nv-buybox__option {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer;
    border: 1.5px solid var(--nv-border); border-radius: 10px; transition: border-color .2s, background .2s;
}
.nv-buybox__option:has(input:checked) { border-color: var(--nv-primary); background: var(--nv-primary-soft); }
.nv-buybox__option input { accent-color: var(--nv-primary); width: 18px; height: 18px; flex-shrink: 0; }
.nv-buybox__name { flex: 1; font-weight: 600; }
.nv-buybox__amount { color: var(--nv-accent); white-space: nowrap; }
.nv-buybox__help { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: #128C7E; margin-bottom: 14px; }

/* Carrito y finalizar compra */
.nv-cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.nv-cart__lines { display: grid; gap: 12px; }
.nv-cart__line { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 2px); background: #fff; }
.nv-cart__line img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--nv-bg-soft); }
.nv-cart__summary { position: sticky; top: 100px; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px); padding: 24px; background: #fff; box-shadow: var(--nv-shadow-md); }
.nv-gateway { display: flex; gap: 14px; align-items: center; padding: 14px 16px; margin-bottom: 10px; border: 1.5px solid var(--nv-border); border-radius: 12px; cursor: pointer; }
.nv-gateway:has(input:checked) { border-color: var(--nv-primary); background: var(--nv-primary-soft); }
.nv-gateway input { accent-color: var(--nv-primary); width: 18px; height: 18px; }
.nv-gateway > i { font-size: 1.6rem; color: var(--nv-primary); }
.nv-gateway small { display: block; color: var(--nv-muted); font-size: .8rem; }
.nv-izipay { display: flex; justify-content: center; }
.nv-izipay .kr-embedded { width: 100% !important; max-width: 440px; }

/* Acceso de clientes */
.nv-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 32px; max-width: 980px; margin: 0 auto; align-items: start; }
.nv-auth--single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.nv-auth__aside { padding: 28px; border-radius: calc(var(--nv-radius) + 4px); background: var(--nv-primary-soft); border: 1px solid var(--nv-primary-ring); }
.nv-check-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.nv-check-list li { position: relative; padding-left: 26px; }
.nv-check-list li::before { content: "\F26E"; font-family: bootstrap-icons; position: absolute; left: 0; color: #16a34a; }

/* Mi cuenta */
.nv-account { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.nv-account-nav { border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px); background: #fff; padding: 16px; position: sticky; top: 100px; }
.nv-account-nav__user { display: flex; gap: 12px; align-items: center; padding: 6px 6px 16px; border-bottom: 1px solid var(--nv-border); margin-bottom: 10px; min-width: 0; }
.nv-account-nav__user > div { min-width: 0; }
.nv-account-nav__user small { display: block; color: var(--nv-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-account-nav__avatar { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--nv-primary); }
.nv-account-nav nav { display: grid; gap: 2px; }
.nv-account-nav a, .nv-account-nav button {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0;
    background: none; color: var(--nv-text); font-weight: 600; font-size: .92rem; text-align: left; cursor: pointer;
}
.nv-account-nav a:hover, .nv-account-nav button:hover { background: var(--nv-bg-soft); color: var(--nv-primary); }
.nv-account-nav a.is-active { background: var(--nv-primary); color: #fff; }
.nv-dl-card { display: flex; gap: 18px; padding: 16px; margin-bottom: 14px; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 2px); background: #fff; }
.nv-dl-card > img { width: 150px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--nv-bg-soft); }
.nv-dl-card__body { min-width: 0; flex: 1; }
.nv-dl-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.nv-dl-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--nv-border); border-radius: 10px; background: #fff; }
.nv-table-wrap { border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 2px); background: #fff; }
.nv-table-wrap th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--nv-muted); }
.nv-receipt { border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px); background: #fff; overflow: hidden; }
.nv-receipt__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 16px 20px; background: var(--nv-bg-soft); border-bottom: 1px solid var(--nv-border); }
.nv-receipt__item { display: flex; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--nv-border); }
.nv-receipt__total { padding: 16px 20px; display: grid; gap: 6px; }
.nv-receipt__total > div { display: flex; justify-content: space-between; }

/* Descargas gratuitas */
.nv-downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.nv-download { display: flex; flex-direction: column; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 2px); background: #fff; overflow: hidden; transition: transform .3s var(--nv-ease), box-shadow .3s; }
.nv-download:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow-lg); }
.nv-download__media { aspect-ratio: 1024 / 536; background: var(--nv-bg-soft); display: block; overflow: hidden; }
.nv-download__media img { width: 100%; height: 100%; object-fit: cover; }
.nv-download__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nv-download__title { font-size: .98rem; line-height: 1.35; margin: 0; }
.nv-download__title a { color: var(--nv-text); }
.nv-download__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--nv-muted); font-weight: 600; margin-top: auto; }
.nv-download-box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px; border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px); background: #fff; box-shadow: var(--nv-shadow-md); }
.nv-download-box__img { width: 100%; border-radius: 10px; }
.nv-download-box:not(:has(img)) { grid-template-columns: 1fr; }
.nv-upsell { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: calc(var(--nv-radius) + 2px); background: var(--nv-primary-soft); border: 1px solid var(--nv-primary-ring); }
.nv-upsell > i { font-size: 1.6rem; color: var(--nv-primary); }

@media (max-width: 991.98px) {
    .nv-cart, .nv-account, .nv-auth, .nv-download-box { grid-template-columns: 1fr; }
    .nv-cart__summary, .nv-account-nav { position: static; }
}
@media (max-width: 575.98px) {
    .nv-dl-card { flex-direction: column; }
    .nv-dl-card > img { width: 100%; }
    .nv-cart__line img { width: 64px; }
}

/* [gallery] de WordPress migrado */
.nv-prose .wp-gallery { display: grid; grid-template-columns: repeat(var(--wp-gallery-cols, 3), minmax(0, 1fr)); gap: 12px; margin: 1.5rem 0; }
.nv-prose .wp-gallery__item { margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--nv-border); background: var(--nv-bg-soft); }
.nv-prose .wp-gallery__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: 0; }
@media (max-width: 575.98px) { .nv-prose .wp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Páginas hijas de WordPress (/php-tutoriales/…, /herramientas/…) */
.nv-subpages { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 2rem; }
.nv-subpages__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--nv-border); border-radius: var(--nv-radius); background: var(--nv-bg); color: var(--nv-text); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--nv-ease); }
.nv-subpages__item:hover { border-color: var(--nv-primary-ring); box-shadow: var(--nv-shadow-md); transform: translateY(-2px); color: var(--nv-text); }
.nv-subpages__item > .bi:first-child { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--nv-primary-soft); color: var(--nv-primary); font-size: 1.2rem; }
.nv-subpages__item > span { flex: 1; min-width: 0; }
.nv-subpages__item strong { display: block; line-height: 1.3; }
.nv-subpages__item small { display: block; color: var(--nv-muted); margin-top: 3px; font-size: .82rem; line-height: 1.4; }
.nv-subpages__item > .bi:last-child { color: var(--nv-muted); }

/* Herramienta: buscador de UBIGEO */
.nv-tool { margin: 1.5rem 0; }
.nv-tool__bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.nv-tool__search { flex: 1 1 280px; position: relative; margin: 0; }
.nv-tool__search .bi { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--nv-muted); }
.nv-tool__search input, .nv-tool__bar select { width: 100%; height: 44px; border: 1px solid var(--nv-border); border-radius: 10px; padding: 0 14px; background: var(--nv-bg); font: inherit; color: var(--nv-text); }
.nv-tool__search input { padding-left: 40px; }
.nv-tool__bar select { width: auto; flex: 0 0 auto; }
.nv-tool__search input:focus, .nv-tool__bar select:focus { outline: none; border-color: var(--nv-primary); box-shadow: 0 0 0 3px var(--nv-primary-ring); }
.nv-tool__table { overflow-x: auto; border: 1px solid var(--nv-border); border-radius: var(--nv-radius); }
.nv-prose .nv-tool__table table { width: 100%; margin: 0; border-collapse: collapse; font-size: .9rem; }
.nv-tool__table th { background: var(--nv-bg-soft); padding: 0; white-space: nowrap; border-bottom: 1px solid var(--nv-border); }
.nv-tool__table th button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 11px 12px; font-weight: 600; cursor: pointer; }
.nv-tool__table th button:focus-visible { outline: 2px solid var(--nv-primary); outline-offset: -2px; }
.nv-tool__table th .bi { font-size: .7rem; color: var(--nv-muted); }
.nv-tool__table td { padding: 9px 12px; border-top: 1px solid var(--nv-border); white-space: nowrap; }
.nv-tool__table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--nv-bg-soft) 55%, transparent); }
.nv-tool__code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; color: var(--nv-primary); }
.nv-tool__empty { text-align: center; color: var(--nv-muted); padding: 28px 12px !important; white-space: normal !important; }
.nv-tool__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: .88rem; color: var(--nv-muted); }
.nv-tool__foot nav { display: flex; gap: 4px; align-items: center; }
.nv-tool__foot nav button { min-width: 36px; height: 36px; border: 1px solid var(--nv-border); border-radius: 8px; background: var(--nv-bg); color: var(--nv-text); font: inherit; cursor: pointer; }
.nv-tool__foot nav button.is-active { background: var(--nv-primary); border-color: var(--nv-primary); color: #fff; }
.nv-tool__foot nav button:disabled { opacity: .4; cursor: default; }

/* Finalizar compra en una página (datos + cuenta + pago) */
.nv-checkout { grid-template-columns: minmax(0, 1fr) 400px; }
.nv-checkout-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin-bottom: 16px; border-left: 4px solid var(--nv-primary); border-radius: 10px; background: var(--nv-primary-soft); }
.nv-checkout-notice > .bi { font-size: 1.3rem; color: var(--nv-primary); line-height: 1.2; }
.nv-checkout-notice small { display: block; color: var(--nv-muted); }
.nv-link-btn { all: unset; color: var(--nv-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nv-link-btn:focus-visible { outline: 2px solid var(--nv-primary); outline-offset: 2px; border-radius: 3px; }
.nv-checkout-login { margin-bottom: 24px; padding: 24px; }
.nv-checkout .nv-form { padding: 28px; }
.nv-step { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 50%; background: var(--nv-primary); color: #fff; font-size: .85rem; font-weight: 700; vertical-align: 2px; }
.nv-checkout-account { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--nv-bg-soft); }
.nv-checkout-account > .bi { font-size: 1.8rem; color: var(--nv-primary); }
.nv-checkout-account small { display: block; color: var(--nv-muted); }
.nv-checkout .form-control { height: 48px; border-radius: 10px; }
.nv-checkout .form-control:focus { border-color: var(--nv-primary); box-shadow: 0 0 0 3px var(--nv-primary-ring); }
.nv-password { position: relative; }
.nv-password .form-control { padding-right: 48px; }
.nv-password__toggle { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--nv-muted); }
.nv-password__toggle:hover { color: var(--nv-primary); background: var(--nv-bg-soft); }
.nv-password + .invalid-feedback { display: block; }
.nv-checkout-trust { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 20px 0 0; }
.nv-checkout-trust li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--nv-border); border-radius: 12px; background: #fff; font-size: .82rem; color: var(--nv-muted); }
.nv-checkout-trust .bi { font-size: 1.2rem; color: var(--nv-primary); }
.nv-checkout-trust strong { display: block; color: var(--nv-text); font-size: .88rem; }
.nv-checkout-line { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: .92rem; }
.nv-checkout-line small { display: block; color: var(--nv-muted); }
.nv-checkout-line strong { white-space: nowrap; }
.nv-checkout fieldset legend { font-size: 1rem; }
.nv-checkout-pay { margin: 4px 0 14px; padding: 14px; border: 1.5px solid var(--nv-primary-ring); border-radius: 12px; background: var(--nv-bg-soft); }
.nv-btn--lg { padding-top: 15px; padding-bottom: 15px; font-size: 1.02rem; }
.nv-checkout [data-place][hidden], #paypal-buttons[hidden] { display: none !important; }
@media (max-width: 991.98px) {
    .nv-checkout { grid-template-columns: 1fr; }
    .nv-checkout .nv-cart__summary { position: static; }
}
@media (max-width: 575.98px) {
    .nv-checkout-trust { grid-template-columns: 1fr; }
    .nv-checkout .nv-form, .nv-checkout-login { padding: 20px; }
}

/* Descripción completa de la categoría bajo el listado (la cabecera solo muestra el resumen) */
.nv-term-desc { margin-top: 3rem; padding: 2rem; background: #fff; border: 1px solid var(--nv-border, #E2E8F0); border-radius: var(--nv-radius, 14px); }
.nv-term-desc__title { font-size: 1.35rem; font-weight: 800; margin: 0 0 1rem; }
.nv-term-desc .nv-prose > :last-child { margin-bottom: 0; }
.nv-term-desc .nv-prose h2 { font-size: 1.2rem; }
.nv-term-desc .nv-prose h3 { font-size: 1.05rem; }
@media (max-width: 575.98px) { .nv-term-desc { padding: 1.25rem; } }

/* ── BaulPHP: servicios de la portada ─────────────────────────────── */
.nv-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.nv-service {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff; color: inherit;
    border: 1px solid var(--nv-border); border-radius: calc(var(--nv-radius) + 4px); text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nv-service:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow-md); border-color: var(--nv-primary-ring); color: inherit; }
.nv-service__ic {
    width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; font-size: 1.5rem;
    background: var(--nv-primary-soft); color: var(--nv-primary);
}
.nv-service:hover .nv-service__ic { background: var(--nv-accent); color: #fff; }
.nv-service h3 { font-size: 1.08rem; font-weight: 800; margin: 6px 0 0; }
.nv-service p { color: #64748B; font-size: .92rem; line-height: 1.6; margin: 0; flex: 1; }
.nv-service__more { font-weight: 700; font-size: .88rem; color: var(--nv-accent); }
.nv-service__more i { transition: transform .2s ease; display: inline-block; }
.nv-service:hover .nv-service__more i { transform: translateX(4px); }
@media (max-width: 991.98px) { .nv-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .nv-services { grid-template-columns: 1fr; } .nv-service { padding: 22px; } }

/* ── Contáctanos (portada) ───────────────────────────────────────── */
.nv-reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.nv-reach__item {
    display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: #fff; color: inherit; text-decoration: none;
    border: 1px solid var(--nv-border); border-radius: var(--nv-radius); transition: box-shadow .2s ease, transform .2s ease;
}
a.nv-reach__item:hover { transform: translateY(-3px); box-shadow: var(--nv-shadow-md); color: inherit; }
.nv-reach__item > i {
    width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-size: 1.3rem;
    background: var(--nv-primary-soft); color: var(--nv-primary);
}
.nv-reach__item strong { display: block; font-size: .98rem; }
.nv-reach__item small { display: block; color: #64748B; font-size: .86rem; word-break: break-word; }
.nv-reach__item--wa > i { background: #25D366; color: #fff; }
.nv-reach__item--cta { background: var(--nv-primary); border-color: var(--nv-primary); color: #fff; }
.nv-reach__item--cta > i { background: rgba(255,255,255,.14); color: #fff; }
.nv-reach__item--cta small { color: rgba(255,255,255,.75); }
a.nv-reach__item--cta:hover { color: #fff; }

/* ── Cotización de proyectos (/contactanos/) ─────────────────────── */
.nv-contact--quote { grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); }
@media (max-width: 991.98px) { .nv-contact--quote { grid-template-columns: 1fr; } }
.nv-form__title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.nv-form__title span {
    width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: .85rem;
    background: var(--nv-primary); color: #fff;
}
.nv-form .form-select { border-radius: 10px; padding: 12px 14px; border-color: var(--nv-border); }
.nv-form .form-select:focus { border-color: var(--nv-primary); box-shadow: 0 0 0 4px var(--nv-primary-ring); }
.nv-form legend.form-label { float: none; width: auto; margin-bottom: .5rem; }
.nv-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-pick { position: relative; cursor: pointer; margin: 0; }
.nv-pick input { position: absolute; opacity: 0; pointer-events: none; }
.nv-pick span {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1.5px solid var(--nv-border); border-radius: 999px;
    font-size: .88rem; font-weight: 600; color: #334155; background: #fff; transition: all .15s ease; user-select: none;
}
.nv-pick span i { color: var(--nv-primary); }
.nv-pick:hover span { border-color: var(--nv-primary); }
.nv-pick input:checked + span { background: var(--nv-primary); border-color: var(--nv-primary); color: #fff; }
.nv-pick input:checked + span i { color: #fff; }
.nv-pick input:focus-visible + span { box-shadow: 0 0 0 4px var(--nv-primary-ring); }
.nv-picks.is-invalid .nv-pick span { border-color: #FCA5A5; }
.nv-wa-card {
    display: flex; align-items: center; gap: 14px; padding: 20px 22px; margin-bottom: 16px; border-radius: var(--nv-radius);
    background: #25D366; color: #fff; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(37, 211, 102, .8); transition: transform .2s ease;
}
.nv-wa-card:hover { color: #fff; transform: translateY(-3px); }
.nv-wa-card > i:first-child { font-size: 2rem; }
.nv-wa-card span { flex: 1; }
.nv-wa-card strong { display: block; }
.nv-wa-card small { opacity: .9; }
.nv-steps { list-style: none; counter-reset: nv-step; padding: 0; margin: 0; display: grid; gap: 14px; }
.nv-steps li { counter-increment: nv-step; position: relative; padding-left: 42px; font-size: .9rem; }
.nv-steps li::before {
    content: counter(nv-step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center;
    border-radius: 50%; background: var(--nv-primary-soft); color: var(--nv-primary); font-weight: 800; font-size: .85rem;
}
.nv-steps strong { display: block; }
.nv-steps span { color: #64748B; }

/* Botón de WhatsApp en el banner */
.nv-btn--wa i { color: #25D366; }

/* ── Cotización v2: cabecera con progreso, pasos, tarjetas de servicio y opciones ── */
.nv-quote {
    background: #fff; border-radius: 22px; overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(33, 40, 95, .45), 0 0 0 1px rgba(33, 40, 95, .06);
}
.nv-quote__head {
    position: relative; display: grid; grid-template-columns: 1fr minmax(180px, 230px); gap: 24px; align-items: end;
    padding: 30px 34px; color: #fff; overflow: hidden;
    background: radial-gradient(circle at 90% -20%, rgba(245, 184, 65, .35), transparent 45%), linear-gradient(135deg, #21285F 0%, #3B42A8 55%, #5B61D6 100%);
}
.nv-quote__head::after {
    content: "</>"; position: absolute; right: 18px; top: -18px; font: 800 7rem/1 Consolas, monospace; color: rgba(255,255,255,.06); pointer-events: none;
}
.nv-quote__badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase; background: rgba(245, 184, 65, .18); color: #FFD27A; border: 1px solid rgba(245, 184, 65, .35);
}
.nv-quote__head h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; margin: 12px 0 6px; }
.nv-quote__head p { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }
.nv-quote__progress { position: relative; z-index: 1; }
.nv-quote__progress-top { display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.8); margin-bottom: 8px; }
.nv-quote__progress-top strong { color: #fff; font-size: 1rem; }
.nv-quote__bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.nv-quote__bar span {
    display: block; height: 100%; width: 0; border-radius: inherit; transition: width .45s cubic-bezier(.2,.8,.2,1);
    background: linear-gradient(90deg, #F5B841, #FFD27A);
}
.nv-quote.is-complete .nv-quote__bar span { background: linear-gradient(90deg, #22C55E, #86EFAC); }
.nv-quote__body { padding: 10px 34px 34px; }
.nv-quote__body > .nv-alert { margin-top: 22px; }

.nv-qstep { padding: 26px 0; border-bottom: 1px dashed #E2E8F0; }
.nv-qstep__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.nv-qstep__head h3 { font-size: 1.12rem; font-weight: 800; margin: 0; }
.nv-qstep__head p { margin: 0; font-size: .85rem; color: #64748B; }
.nv-qstep__num {
    width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; font-weight: 800;
    background: var(--nv-primary-soft); color: var(--nv-primary); transition: all .25s ease;
}
.nv-qstep__ok { margin-left: auto; font-size: 1.35rem; color: #22C55E; opacity: 0; transform: scale(.5); transition: all .3s cubic-bezier(.2,1.4,.4,1); }
.nv-qstep.is-done .nv-qstep__num { background: #22C55E; color: #fff; }
.nv-qstep.is-done .nv-qstep__ok { opacity: 1; transform: scale(1); }
.nv-quote .form-label { font-weight: 700; font-size: .86rem; color: #1E293B; }
.nv-quote legend.form-label { float: none; width: auto; margin-bottom: .6rem; }

/* Campos con icono */
.nv-field {
    position: relative; display: flex; align-items: center; background: #F8FAFC; border: 1.5px solid #E2E8F0; border-radius: 12px;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.nv-field > i { position: absolute; left: 14px; color: #94A3B8; font-size: 1.05rem; transition: color .15s ease; pointer-events: none; }
.nv-field input, .nv-field textarea {
    width: 100%; border: 0; background: transparent; padding: 13px 14px 13px 42px; font-size: .95rem; color: #0F172A; outline: none; border-radius: 12px;
}
.nv-field--area textarea { padding: 14px 16px; resize: vertical; min-height: 150px; }
.nv-field:focus-within { background: #fff; border-color: var(--nv-primary); box-shadow: 0 0 0 4px var(--nv-primary-ring); }
.nv-field:focus-within > i { color: var(--nv-primary); }
.nv-field--wa:focus-within > i { color: #25D366; }
.nv-field.is-invalid { border-color: #F87171; background: #FEF2F2; }
.nv-field__error { color: #DC2626; font-size: .82rem; margin-top: 6px; }
.nv-counter { font-weight: 600; color: #94A3B8; }
.nv-counter.is-short { color: #D97706; }

/* Servicios: tarjetas seleccionables */
.nv-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.nv-svc { position: relative; margin: 0; cursor: pointer; }
.nv-svc input { position: absolute; opacity: 0; pointer-events: none; }
.nv-svc__box {
    position: relative; display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 36px 12px 12px;
    border: 1.5px solid #E2E8F0; border-radius: 14px; background: #fff; transition: all .18s ease; user-select: none;
}
.nv-svc__ic {
    width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; font-size: 1.1rem;
    background: var(--nv-primary-soft); color: var(--nv-primary); transition: all .18s ease;
}
.nv-svc__name { font-size: .88rem; font-weight: 700; color: #1E293B; line-height: 1.3; }
.nv-svc__check {
    position: absolute; right: 10px; top: 50%; width: 20px; height: 20px; margin-top: -10px; display: grid; place-items: center;
    border-radius: 50%; border: 1.5px solid #CBD5E1; font-size: .75rem; color: transparent; transition: all .18s ease;
}
.nv-svc:hover .nv-svc__box { border-color: #A5B4FC; transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(33, 40, 95, .5); }
.nv-svc input:checked + .nv-svc__box {
    border-color: var(--nv-primary); background: linear-gradient(135deg, #F5F6FF, #EEF0FF); box-shadow: 0 10px 22px -14px rgba(59, 66, 168, .7);
}
.nv-svc input:checked + .nv-svc__box .nv-svc__ic { background: linear-gradient(135deg, #3B42A8, #5B61D6); color: #fff; }
.nv-svc input:checked + .nv-svc__box .nv-svc__check { background: #22C55E; border-color: #22C55E; color: #fff; }
.nv-svc input:focus-visible + .nv-svc__box { box-shadow: 0 0 0 4px var(--nv-primary-ring); }
.nv-svc-grid.is-invalid .nv-svc__box { border-color: #FCA5A5; }

/* Urgencia y presupuesto: opciones de un clic */
.nv-opt-grid { display: grid; gap: 10px; }
.nv-opt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nv-opt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-opt { position: relative; margin: 0; cursor: pointer; }
.nv-opt input { position: absolute; opacity: 0; pointer-events: none; }
.nv-opt span {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; padding: 14px 10px; text-align: center;
    border: 1.5px solid #E2E8F0; border-radius: 14px; background: #fff; font-size: .84rem; font-weight: 700; color: #334155; line-height: 1.3;
    transition: all .18s ease; user-select: none;
}
.nv-opt span i { font-size: 1.3rem; color: #94A3B8; transition: color .18s ease; }
.nv-opt--compact span { flex-direction: row; padding: 12px 10px; gap: 8px; }
.nv-opt--compact span i { font-size: 1rem; }
.nv-opt:hover span { border-color: #A5B4FC; }
.nv-opt input:checked + span { border-color: var(--nv-accent); background: #FFF5F5; color: var(--nv-accent); box-shadow: 0 10px 22px -16px rgba(205, 31, 44, .8); }
.nv-opt input:checked + span i { color: var(--nv-accent); }
.nv-opt input:focus-visible + span { box-shadow: 0 0 0 4px var(--nv-primary-ring); }
.nv-opt-grid.is-invalid .nv-opt span { border-color: #FCA5A5; }

/* Sugerencias para la descripción */
.nv-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: .8rem; color: #64748B; }
.nv-hint {
    border: 1px dashed #A5B4FC; background: #F5F6FF; color: var(--nv-primary); border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-weight: 600;
    transition: all .15s ease;
}
.nv-hint::before { content: "+ "; }
.nv-hint:hover { background: var(--nv-primary); color: #fff; border-style: solid; }
.nv-hint.is-used { opacity: .45; }

/* Pie: resumen y envío */
.nv-quote__foot { padding-top: 26px; }
.nv-quote__summary {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 14px; border-radius: 12px;
    background: #F0FDF4; color: #166534; font-size: .88rem; font-weight: 600; border: 1px solid #BBF7D0;
}
.nv-quote__summary[hidden] { display: none; }
.nv-quote__submit {
    position: relative; width: 100%; border: 0; border-radius: 14px; padding: 17px 20px; font-size: 1.05rem; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #E11D2E, #B91C1C); box-shadow: 0 16px 30px -14px rgba(205, 31, 44, .9);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.nv-quote__submit:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 20px 34px -14px rgba(205, 31, 44, .95); }
.nv-quote__submit i { margin-right: 6px; }
.nv-quote__submit-busy { display: none; }
.nv-quote__submit.is-busy { opacity: .85; cursor: wait; transform: none; }
.nv-quote__submit.is-busy .nv-quote__submit-label { display: none; }
.nv-quote__submit.is-busy .nv-quote__submit-busy { display: inline-flex; align-items: center; gap: 10px; }
.nv-quote.is-complete .nv-quote__submit { animation: nv-pulse 2s ease-in-out infinite; }
@keyframes nv-pulse { 0%, 100% { box-shadow: 0 16px 30px -14px rgba(205,31,44,.9); } 50% { box-shadow: 0 16px 40px -8px rgba(205,31,44,.75), 0 0 0 6px rgba(205,31,44,.12); } }
@media (prefers-reduced-motion: reduce) { .nv-quote.is-complete .nv-quote__submit { animation: none; } }
.nv-quote__privacy { text-align: center; margin: 12px 0 0; font-size: .8rem; color: #64748B; }

/* Columna lateral */
.nv-quote-aside { position: sticky; top: 110px; }
.nv-quote-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.nv-quote-perks div {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; text-align: center; border-radius: 14px;
    background: var(--nv-primary-soft); font-size: .76rem; font-weight: 700; color: var(--nv-primary); line-height: 1.25;
}
.nv-quote-perks i { font-size: 1.3rem; }

@media (max-width: 991.98px) { .nv-quote-aside { position: static; } }
@media (max-width: 767.98px) {
    .nv-quote__head { grid-template-columns: 1fr; padding: 24px 20px; }
    .nv-quote__body { padding: 4px 20px 24px; }
    .nv-opt-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nv-opt-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nv-svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .nv-svc-grid { grid-template-columns: 1fr; } }

/* ══ Maquetador (Páginas › Maquetador): secciones, columnas y widgets ══════════ */
.nb-bg--soft { background: var(--nv-bg-soft); }
.nb-bg--primary { background: linear-gradient(135deg, #21285F, #3B42A8); color: rgba(255,255,255,.85); }
.nb-bg--dark { background: #0E1233; color: rgba(255,255,255,.8); }
.nb-bg--image { position: relative; background: #0E1233 var(--nb-bg-image) center / cover no-repeat; color: rgba(255,255,255,.88); }
.nb-bg--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(14,18,51,.82), rgba(33,40,95,.6)); }
.nb-bg--image > * { position: relative; }
:is(.nb-bg--primary, .nb-bg--dark, .nb-bg--image) :is(h1, h2, h3, h4, .nv-section__title, .nb-heading) { color: #fff; }
:is(.nb-bg--primary, .nb-bg--dark, .nb-bg--image) .nv-section__sub, :is(.nb-bg--primary, .nb-bg--dark, .nb-bg--image) .nv-prose { color: rgba(255,255,255,.82); }
:is(.nb-bg--primary, .nb-bg--dark, .nb-bg--image) .nv-prose a { color: #FFD27A; }

.nb-section { padding: 72px 0; }
.nb-pad--none { padding: 0; }
.nb-pad--sm { padding: 36px 0; }
.nb-pad--lg { padding: 112px 0; }
.nb-full { padding: 0 24px; }
.nb-narrow { max-width: 860px !important; }
.nb-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.nb-gap--sm { gap: 16px; }
.nb-gap--lg { gap: 56px; }
.nb-valign--center { align-items: center; }
.nb-valign--end { align-items: end; }
.nb-col { grid-column: span var(--nb-span, 12); min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 991.98px) { .nb-col { grid-column: span max(6, var(--nb-span)); } }
@media (max-width: 767.98px) { .nb-row { grid-template-columns: 1fr; gap: 24px; } .nb-col { grid-column: auto; } .nb-section { padding: 52px 0; } .nb-pad--lg { padding: 72px 0; } }

.nb-heading { margin: 0; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.nb-heading--sm { font-size: 1.15rem; }
.nb-heading--md { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.nb-heading--lg { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.nb-heading--xl { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.nb-widget .nv-prose > :last-child { margin-bottom: 0; }
.nb-image { margin: 0; display: flex; flex-direction: column; }
.nb-image img { width: var(--nb-img-w, auto); max-width: 100%; height: auto; }
.nb-image--center { align-items: center; } .nb-image--right { align-items: flex-end; } .nb-image--left { align-items: flex-start; }
.nb-image--rounded img { border-radius: var(--nv-radius); box-shadow: var(--nv-shadow-md); }
.nb-image figcaption { font-size: .85rem; color: #64748B; margin-top: 8px; }
.nb-btn--whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.nb-btn--whatsapp:hover { background: #1EBE5A; color: #fff; }
.nb-iconbox { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--nv-border); border-radius: var(--nv-radius); background: #fff; color: inherit; text-decoration: none; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
a.nb-iconbox:hover { transform: translateY(-3px); box-shadow: var(--nv-shadow-md); color: inherit; }
.nb-iconbox--inline { flex-direction: row; align-items: flex-start; border: 0; padding: 0; background: none; }
.nb-iconbox--center { align-items: center; text-align: center; }
.nb-iconbox__body { display: flex; flex-direction: column; gap: 4px; }
.nb-iconbox__body strong { font-size: 1.05rem; color: #0F172A; }
.nb-iconbox__body span { color: #64748B; font-size: .93rem; line-height: 1.6; }
.nb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nb-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nb-list li { display: flex; gap: 10px; align-items: flex-start; }
.nb-list i { color: var(--nv-accent); font-size: 1.1rem; line-height: 1.5; }
@media (max-width: 575.98px) { .nb-list--2 { grid-template-columns: 1fr; } }
.nb-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--nv-radius); overflow: hidden; box-shadow: var(--nv-shadow-md); background: #000; }
.nb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nb-divider { border: 0; border-top: 1px solid var(--nv-border); margin: 8px 0; opacity: 1; }
.nb-divider--dashed { border-top-style: dashed; }
.nb-divider--accent { width: 64px; border-top: 4px solid var(--nv-accent); border-radius: 4px; }
.nb-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 160px; padding: 24px; border: 2px dashed #CBD5E1; border-radius: var(--nv-radius); color: #94A3B8; text-align: center; background: #F8FAFC; }
.nb-placeholder i { font-size: 2rem; }

/* Bloques */
.nv-services[style*="--nb-cols"] { grid-template-columns: repeat(var(--nb-cols), minmax(0, 1fr)); }
@media (max-width: 991.98px) { .nv-services[style*="--nb-cols"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .nv-services[style*="--nb-cols"] { grid-template-columns: 1fr; } }
.nb-intro--nostats { grid-template-columns: 1fr !important; max-width: 860px; }
.nb-cta-band { padding: 56px 0; color: rgba(255,255,255,.85); }
.nb-cta-band--primary { background: linear-gradient(135deg, #21285F, #3B42A8 60%, #5B61D6); }
.nb-cta-band--accent { background: linear-gradient(135deg, #B91C1C, #E11D2E); }
.nb-cta-band--dark { background: #0E1233; }
.nb-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nb-cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; margin: 0 0 6px; }
.nb-cta-band p { margin: 0; max-width: 620px; }
.nb-cta-band__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.nb-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.nb-split--reverse .nb-split__media { order: -1; }
.nb-split__media img { width: 100%; height: auto; border-radius: calc(var(--nv-radius) + 4px); box-shadow: var(--nv-shadow-md); }
@media (max-width: 991.98px) { .nb-split { grid-template-columns: 1fr; gap: 32px; } .nb-split--reverse .nb-split__media { order: 0; } }
.nb-faq { display: grid; gap: 12px; }
.nb-faq__item { background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius); overflow: hidden; }
.nb-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; font-weight: 700; color: #0F172A; }
.nb-faq__item summary::-webkit-details-marker { display: none; }
.nb-faq__item summary i { transition: transform .2s ease; color: var(--nv-accent); }
.nb-faq__item[open] summary i { transform: rotate(45deg); }
.nb-faq__answer { padding: 0 22px 20px; color: #475569; line-height: 1.7; }

/* Figuras insertadas desde el editor (biblioteca de medios) */
.nv-prose figure { margin: 1.5rem 0; max-width: 100%; }
.nv-prose figure.aligncenter { display: table; margin-left: auto; margin-right: auto; }
.nv-prose figcaption { font-size: .875rem; color: var(--nv-muted, #6b7280); text-align: center; margin-top: .5rem; }
.nv-prose .file-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.nv-prose .file-link::before { content: "\F30A"; font-family: "bootstrap-icons"; }

/* Descargas gratuitas: resumen y botón (solo en filas) y diseño en filas */
.nv-download__excerpt { display: none; margin: 0; color: var(--nv-muted); font-size: .9rem; line-height: 1.55; }
.nv-download__cta { display: none; margin-left: auto; font-weight: 700; color: var(--nv-primary); }
.nv-download__cta:hover { color: var(--nv-accent); }
.nv-downloads.is-list { grid-template-columns: 1fr; gap: 16px; }
.nv-downloads.is-list .nv-download { flex-direction: row; }
.nv-downloads.is-list .nv-download:hover { transform: translateY(-2px); }
.nv-downloads.is-list .nv-download__media { flex: 0 0 clamp(180px, 30%, 280px); aspect-ratio: 1024 / 536; align-self: center; }
.nv-downloads.is-list .nv-download__body { padding: 16px 22px; justify-content: center; gap: 8px; }
.nv-downloads.is-list .nv-download__title { font-size: 1.1rem; }
.nv-downloads.is-list .nv-download__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-downloads.is-list .nv-download__meta { margin-top: 2px; align-items: center; }
.nv-downloads.is-list .nv-download__cta { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 575.98px) {
    .nv-downloads.is-list .nv-download { flex-direction: column; }
    .nv-downloads.is-list .nv-download__media { flex-basis: auto; width: 100%; }
}

/* Código en línea dentro del contenido (botón «Código en línea» del editor) */
.nv-prose :not(pre) > code { font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace; font-size: .88em; background: #f1f3f9; color: #c0262d; padding: .14em .42em; border-radius: 5px; border: 1px solid #e3e7f1; word-break: break-word; }
