/* ============================================================
   NEO-PROMO 2026 — Laboratorios Xotepingo
   v2 — Refinamiento premium + aislamiento total
   Todos los selectores prefijados con #neo-promo para
   ganar especificidad sobre Bootstrap y xote.css
   ============================================================ */

/* ================================================================
   VARIABLES — Paleta oficial
   ================================================================ */
#neo-promo {
    --np-green:       #09A553;
    --np-green-dark:  #077a3e;
    --np-blue:        #114B80;
    --np-blue-dark:   #0d3a63;
    --np-white:       #ffffff;
    --np-bg:          #F5F7FA;
    --np-border:      rgba(0, 0, 0, 0.06);
    --np-text:        #1C2B3A;
    --np-muted:       #5C6676;
    --np-subtle:      #9CA3AF;
    --np-subtle-2:    #B0B8C2;
    --np-shadow-sm:   0 2px 12px rgba(0, 0, 0, 0.05);
    --np-shadow-md:   0 4px 24px rgba(0, 0, 0, 0.08);
    --np-shadow-lg:   0 12px 48px rgba(0, 0, 0, 0.12);
    --np-radius-lg:   20px;
    --np-radius-md:   14px;
    --np-radius-sm:   10px;
    --np-radius-pill: 50px;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    background: var(--np-white);
    color: var(--np-text);
}

/* ================================================================
   BOX-SIZING scope
   ================================================================ */
#neo-promo,
#neo-promo *,
#neo-promo *::before,
#neo-promo *::after {
    box-sizing: border-box;
}

/* ================================================================
   RESETS — anulan Bootstrap 3, xote.css y main.css
   Especificidad: ID + tipo = (0,1,0,1) > clase Bootstrap (0,0,1,0)
   ================================================================ */
#neo-promo h1,
#neo-promo h2,
#neo-promo h3,
#neo-promo h4 {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    border: none;
    background: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: inherit;
}
#neo-promo p {
    margin: 0 !important;
    padding: 0 !important;
}
#neo-promo ul,
#neo-promo ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
#neo-promo li {
    margin: 0;
    padding: 0;
    list-style: none;
}
#neo-promo a,
#neo-promo a:link,
#neo-promo a:visited,
#neo-promo a:focus {
    text-decoration: none !important;
    color: inherit;
    outline: none;
}
#neo-promo a:hover {
    text-decoration: none !important;
}
#neo-promo span {
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
}

/* ================================================================
   1. HERO — dominante, respirado, institucional
   ================================================================ */
#neo-promo .np-hero {
    background: var(--np-white);
    padding: 116px 24px 108px;   /* +28px vertical respecto a v1 */
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Blobs decorativos — sutiles, no pesados */
#neo-promo .np-hero::before,
#neo-promo .np-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
#neo-promo .np-hero::before {
    width: 520px;
    height: 520px;
    top: -220px;
    right: -140px;
    background: radial-gradient(circle, rgba(9, 165, 83, 0.07) 0%, transparent 65%);
}
#neo-promo .np-hero::after {
    width: 380px;
    height: 380px;
    bottom: -160px;
    left: -100px;
    background: radial-gradient(circle, rgba(17, 75, 128, 0.06) 0%, transparent 65%);
}
#neo-promo .np-hero__inner {
    max-width: 740px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
#neo-promo .np-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--np-green);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px !important;
}
#neo-promo .np-hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--np-green);
    flex-shrink: 0;
    animation: np-pulse 2.6s ease-in-out infinite;
}
@keyframes np-pulse {
    0%, 100% { opacity: 1;    transform: scale(1);    }
    50%       { opacity: 0.45; transform: scale(0.80); }
}
#neo-promo .np-hero__title {
    font-size: clamp(30px, 4.5vw, 52px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    color: var(--np-blue) !important;
    letter-spacing: -0.025em;
    margin-bottom: 22px !important;
}
/* Subtexto con contraste mejorado respecto a v1 */
#neo-promo .np-hero__subtitle {
    font-size: 17px !important;
    line-height: 1.65;
    color: var(--np-muted);    /* #5C6676 — más legible que el #6B7280 anterior */
    max-width: 500px;
    margin: 0 auto 48px !important;
}
#neo-promo .np-hero__validity {
    margin-top: 22px !important;
    font-size: 12px !important;
    color: var(--np-subtle);
    letter-spacing: 0.02em;
}

/* ================================================================
   2. BOTONES — completamente aislados del theme
   ================================================================ */
#neo-promo .np-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: inherit;
    font-weight: 600;
    border: none !important;
    cursor: pointer;
    text-decoration: none !important;
    border-radius: var(--np-radius-pill);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    line-height: 1;
    white-space: nowrap;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
}
/* Botón hero — +8px padding vertical respecto a v1 */
#neo-promo .np-btn--primary {
    background: var(--np-green);
    color: #ffffff !important;
    padding: 21px 44px;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(9, 165, 83, 0.32), 0 2px 6px rgba(9, 165, 83, 0.16);
}
#neo-promo .np-btn--primary:hover {
    background: var(--np-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 34px rgba(9, 165, 83, 0.42), 0 3px 10px rgba(9, 165, 83, 0.20);
    color: #ffffff !important;
}
/* Botón de card */
#neo-promo .np-btn--card {
    background: var(--np-green);
    color: #ffffff !important;
    padding: 14px 22px;
    font-size: 14px;
    width: 100%;
    box-shadow: 0 3px 12px rgba(9, 165, 83, 0.24);
}
#neo-promo .np-btn--card:hover {
    background: var(--np-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(9, 165, 83, 0.34);
    color: #ffffff !important;
}
/* Botón CTA final — +3px padding top/bottom respecto a v1 */
#neo-promo .np-btn--cta {
    background: var(--np-green);
    color: #ffffff !important;
    padding: 22px 58px;
    font-size: 17px;
    box-shadow: 0 4px 24px rgba(9, 165, 83, 0.42), 0 2px 8px rgba(9, 165, 83, 0.20);
}
#neo-promo .np-btn--cta:hover {
    background: var(--np-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 42px rgba(9, 165, 83, 0.52), 0 4px 14px rgba(9, 165, 83, 0.26);
    color: #ffffff !important;
}
#neo-promo .np-btn i,
#neo-promo .np-btn .fas,
#neo-promo .np-btn .fab,
#neo-promo .np-btn .fa {
    font-size: 16px;
    line-height: 1;
}

/* ================================================================
   3. SECCIÓN GRID
   ================================================================ */
#neo-promo .np-promo-section {
    background: var(--np-bg);
    padding: 80px 24px;
}
#neo-promo .np-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
#neo-promo .np-section-header {
    text-align: center;
    margin-bottom: 52px;
}
#neo-promo .np-section-title {
    font-size: clamp(22px, 3vw, 34px) !important;
    font-weight: 700 !important;
    color: var(--np-blue) !important;
    letter-spacing: -0.02em;
    line-height: 1.25 !important;
}
/* +12px de row-gap para aire premium entre filas */
#neo-promo .np-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 36px;
}

/* ================================================================
   4. CARDS
   ================================================================ */
#neo-promo .np-card {
    background: #ffffff;
    border-radius: var(--np-radius-lg);
    box-shadow: var(--np-shadow-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.28s ease, transform 0.28s ease;
}
#neo-promo .np-card:hover {
    box-shadow: var(--np-shadow-lg);
    transform: translateY(-5px);
}
#neo-promo .np-card__accent {
    height: 4px;
    background: var(--np-green);
    flex-shrink: 0;
}
#neo-promo .np-card__body {
    padding: 22px 22px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}
#neo-promo .np-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}
#neo-promo .np-card__name {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: var(--np-blue) !important;
    line-height: 1.25 !important;
    flex: 1;
}

/* ================================================================
   5. BADGES — todos verdes, elegantes (no retail)
   ================================================================ */
#neo-promo .np-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 3px;       /* margen superior respecto al borde de la card */
    font-size: 10.5px !important;
    font-weight: 600;      /* antes 700, ahora más ligero */
    padding: 4px 10px;     /* ligeramente reducido respecto a v1 */
    border-radius: var(--np-radius-pill);
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1;
}
#neo-promo .np-badge--off {
    background: var(--np-green);   /* UNIFICADO: ahora verde como --special */
    color: #ffffff;
}
#neo-promo .np-badge--special {
    background: var(--np-green);
    color: #ffffff;
}

#neo-promo .np-card__promo-label {
    font-size: 11.5px !important;
    color: var(--np-subtle);
    font-style: italic;
    font-weight: 400 !important;
    margin-bottom: 14px !important;
}

/* ================================================================
   6. INCLUDES — finas, clínicas
   ================================================================ */
#neo-promo .np-includes {
    flex: 1;
    margin-bottom: 14px;
}
#neo-promo .np-includes li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px !important;
    font-weight: 400 !important;    /* sin negritas innecesarias */
    color: var(--np-muted);
    line-height: 1.4;
    padding: 3.5px 0;              /* espaciado reducido: era 5px */
    border-bottom: 1px solid rgba(0, 0, 0, 0.045);  /* divisor más sutil */
}
#neo-promo .np-includes li:last-child {
    border-bottom: none;
}
#neo-promo .np-includes li i,
#neo-promo .np-includes li .fas,
#neo-promo .np-includes li .fa {
    color: #09A553 !important;   /* exactamente el verde institucional */
    font-size: 9px !important;   /* icono más pequeño: era 10px */
    margin-top: 3px;
    flex-shrink: 0;
    line-height: 1;
}
#neo-promo .np-includes__extra {
    font-size: 11.5px;
    color: var(--np-green);
    font-weight: 500;
    padding-top: 6px;
    display: block;
}

/* Spacer para cards sin includes */
#neo-promo .np-card__spacer {
    flex: 1;
    min-height: 20px;
}

/* ================================================================
   7. PRICING BAND — precio como protagonista absoluto
   ================================================================ */
#neo-promo .np-pricing {
    background: var(--np-bg);
    margin: 0;          /* .np-pricing es hijo directo del card (flex col),
                           ya estira al 100% — el margen negativo no aplica aquí */
    padding: 13px 22px 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
#neo-promo .np-pricing__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
    min-height: 22px;
}
/* Precio original — más suave, más fino */
#neo-promo .np-pricing__original {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--np-subtle-2) !important;        /* gris más suave que antes */
    text-decoration: line-through !important;
    text-decoration-color: var(--np-subtle-2);
    text-decoration-thickness: 1px;              /* tachado fino */
}
/* Ahorras — apoyo visual, no protagonista */
#neo-promo .np-pricing__savings {
    font-size: 11px !important;
    font-weight: 500 !important;    /* era 700, ahora más ligero */
    color: var(--np-green) !important;
    background: rgba(9, 165, 83, 0.08);
    padding: 2px 8px;
    border-radius: var(--np-radius-pill);
    letter-spacing: 0.01em;
}
#neo-promo .np-pricing__from {
    font-size: 12px !important;
    color: var(--np-muted);
    font-weight: 400 !important;
    margin-bottom: 1px !important;
}
/* Precio promocional — punto focal absoluto */
#neo-promo .np-pricing__amount {
    font-size: 44px !important;     /* +2px sobre v1 */
    font-weight: 800 !important;
    color: var(--np-green) !important;
    line-height: 1;
    letter-spacing: -0.03em;
}

/* CTA area dentro de la card */
#neo-promo .np-card__cta-area {
    padding: 16px 22px 12px;
}
#neo-promo .np-card__location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: var(--np-subtle);
    padding: 0 22px 16px;
    text-align: center;
}
#neo-promo .np-card__location i,
#neo-promo .np-card__location .fas,
#neo-promo .np-card__location .fa {
    color: var(--np-green);
    font-size: 10px;
}

/* ================================================================
   8. ADD-ONS — complemento, fondo diferenciado
   ================================================================ */
#neo-promo .np-addons {
    background: var(--np-bg);      /* gris claro: diferencia del blanco del grid */
    padding: 72px 24px;
    text-align: center;
}
#neo-promo .np-addons-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(9, 165, 83, 0.08);
    color: var(--np-green);
    font-size: 12px !important;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: var(--np-radius-pill);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
#neo-promo .np-addons__title {
    font-size: clamp(20px, 2.8vw, 28px) !important;   /* menor que el H2 del grid */
    font-weight: 700 !important;
    color: var(--np-blue) !important;
    letter-spacing: -0.02em;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
}
#neo-promo .np-addons__subtitle {
    font-size: 14px !important;
    color: var(--np-muted);
    margin-bottom: 36px !important;
}
#neo-promo .np-addons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
#neo-promo .np-addon-card {
    background: #ffffff;
    border-radius: var(--np-radius-md);
    padding: 24px 18px;            /* más compacto que v1 */
    text-align: center;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}
#neo-promo .np-addon-card:hover {
    border-color: rgba(9, 165, 83, 0.35);
    box-shadow: 0 4px 18px rgba(9, 165, 83, 0.09);
}
#neo-promo .np-addon-card__name {
    font-size: 14px !important;    /* menor que los 15.5px de las cards principales */
    font-weight: 600 !important;
    color: var(--np-blue) !important;
    margin-bottom: 10px !important;
    line-height: 1.35 !important;
}
#neo-promo .np-addon-card__original {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--np-subtle-2);
    text-decoration: line-through !important;
    text-decoration-thickness: 1px;
    margin-bottom: 5px !important;
}
/* Precio add-on: 30px vs 44px de las promos principales — jerarquía clara */
#neo-promo .np-addon-card__price {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: var(--np-green) !important;
    line-height: 1;
    letter-spacing: -0.025em;
}

/* ================================================================
   9. BLOQUE CTA FINAL — cierre fuerte y contundente
   ================================================================ */
#neo-promo .np-cta-block {
    background: var(--np-blue);
    padding: 96px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#neo-promo .np-cta-block::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
    pointer-events: none;
}
#neo-promo .np-cta-block::after {
    content: '';
    position: absolute;
    bottom: -130px;
    left: -90px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(9, 165, 83, 0.12) 0%, transparent 65%);
    pointer-events: none;
}
#neo-promo .np-cta-block__inner {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
#neo-promo .np-cta-icon {
    width: 62px;
    height: 62px;
    background: rgba(9, 165, 83, 0.16);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}
#neo-promo .np-cta-icon i,
#neo-promo .np-cta-icon .fas,
#neo-promo .np-cta-icon .fa {
    color: var(--np-green);
    font-size: 24px;
    line-height: 1;
}
/* H2 del CTA más dominante: clamp hasta 40px */
#neo-promo .np-cta-title {
    font-size: clamp(24px, 4vw, 40px) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    line-height: 1.2 !important;
    margin-bottom: 18px !important;
}
/* Texto secundario con mejor contraste: 0.76 vs 0.62 anterior */
#neo-promo .np-cta-text {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.65;
    margin-bottom: 40px !important;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
    #neo-promo .np-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #neo-promo .np-addons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    #neo-promo .np-hero {
        padding: 72px 20px 68px;
    }
    #neo-promo .np-hero__subtitle {
        font-size: 15px !important;
    }
    #neo-promo .np-grid {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }
    #neo-promo .np-addons-grid {
        grid-template-columns: 1fr;
    }
    #neo-promo .np-promo-section,
    #neo-promo .np-addons,
    #neo-promo .np-cta-block {
        padding: 64px 20px;
    }
    #neo-promo .np-card__name {
        font-size: 14.5px !important;
    }
    #neo-promo .np-pricing__amount {
        font-size: 38px !important;
    }
    #neo-promo .np-btn--primary {
        padding: 18px 32px;
    }
    #neo-promo .np-btn--cta {
        padding: 18px 34px;
        font-size: 15px;
    }
}
