/* ==========================================================================
   Landing Enfriadores — PROPUESTA v2 de rediseño del pilar
   arriendo-enfriadores-de-aire.html
   Se carga DESPUÉS de landing-enfriadores.css y solo agrega componentes
   nuevos o variantes (--mod). No redefine reglas que usa la landing de
   aire acondicionado para eventos (la calculadora le-calc/le-need se usa
   tal cual, sin overrides).
   Prefijo `le-` (D-2026-08-29-N).
   ========================================================================== */

:root {
    --le-green-50: #e8f5e9;
    --le-green-100: #d4edda;
    --le-red: #dc3545;
    --le-red-50: #fdecea;
    --le-line: #e3e3e3;
    --le-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}


/* --- 1. Hero: precio + doble CTA ---------------------------------------- */

.le-hero__price b {
    font-weight: 700;
}

.le-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.le-hero__cta {
    font-size: 1.05rem;
    padding: 12px 28px;
    letter-spacing: 0;
}

.le-hero__cta--sec {
    background: #fff;
}

.le-hero .le-hero__note {
    font-weight: 700;
    margin-bottom: 0;
}

/* --- 2. Tarjetas de producto (variante de le-eq__card) ------------------- */

.le-eq__card--product {
    transition: box-shadow .2s ease, transform .2s ease;
}

.le-eq__card--product:hover {
    box-shadow: var(--le-shadow);
    transform: translateY(-3px);
}

.le-eq__media--lg {
    height: 150px;
    justify-content: center;
}

.le-eq__media--lg img {
    width: 140px;
    height: 140px;
}

.le-eq__card--product .le-eq__how {
    min-height: 0;
}

.le-eq__card--product .le-eq__ideal,
.le-eq__card--product .le-eq__chips,
.le-eq__card--product .le-eq__checks li {
    min-height: 0;
}

.le-eq__card--product .le-eq__chips {
    min-height: 4.4rem;
}

.le-eq__card--product .le-eq__checks {
    margin-top: 8px;
    padding-left: 0;
}

.le-eq__buy {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--le-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.le-eq__price {
    margin: 0;
    color: var(--le-ink);
}

.le-eq__price span {
    font-size: 0.9rem;
    color: var(--le-text-muted);
}

.le-eq__price b {
    font-size: 1.9rem;
    font-weight: 700;
}

.le-eq__price small {
    font-size: 0.95rem;
    color: var(--le-text-muted);
}

.le-eq__more {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--le-ink);
}

.le-eq__more i {
    margin-left: 4px;
    font-size: 0.8rem;
}

/* --- 3. Matriz "¿Cuál me conviene?" (le-fit) ----------------------------- */

.le-fit {
    border: 1px solid var(--le-line);
    border-radius: var(--le-radius);
    overflow: hidden;
}

.le-fit__head,
.le-fit__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 2fr;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
}

.le-fit__head {
    background: #343a40;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.le-fit__head span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.le-fit__head span:nth-child(2),
.le-fit__head span:nth-child(3) {
    justify-content: center;
    text-align: center;
}

.le-fit__head img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    flex: none;
}

.le-fit__rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.le-fit__row {
    border-top: 1px solid var(--le-line);
    transition: background-color .15s ease;
}

.le-fit__row:hover {
    background: #fafafa;
}

.le-fit__row--no {
    background: #fcf7f7;
}

.le-fit__row p {
    margin: 0;
}

.le-fit__space {
    font-weight: 700;
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.le-fit__space i {
    color: var(--le-success);
    width: 20px;
    text-align: center;
    flex: none;
}

.le-fit__row--no .le-fit__space i {
    color: var(--le-red);
}

.le-fit__cell {
    text-align: center;
}

.le-fit__why {
    color: var(--le-text-muted);
    font-size: 0.95rem;
}

.le-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.le-badge::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.le-badge--best {
    background: var(--le-success);
    color: #fff;
}

.le-badge--best::before {
    content: "\f005";
}

.le-badge--ok {
    background: var(--le-green-50);
    color: #1e7e34;
}

.le-badge--ok::before {
    content: "\f00c";
}

.le-badge--ask {
    background: #fff4e0;
    color: #8a5a00;
}

.le-badge--ask::before {
    content: "\f128";
}

.le-badge--no {
    background: var(--le-red-50);
    color: var(--le-red);
}

.le-badge--no::before {
    content: "\f00d";
}

.le-specs {
    margin: 18px 0 45px;
}

.le-specs summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    padding: 8px 14px;
    border: 1px solid var(--le-line);
    border-radius: var(--le-radius);
    list-style: none;
}

.le-specs summary::-webkit-details-marker {
    display: none;
}

.le-specs summary::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    font-size: 0.75rem;
    transition: transform .2s ease;
}

.le-specs[open] summary::after {
    transform: rotate(180deg);
}

.le-specs .le-table-wrap {
    margin-top: 14px;
}

/* --- 5. ¿Para qué lo necesitas? (variante B: gris + cabecera de color) --- */

.le-uses {
    --le-uses-bg: #e9ecef;
    --le-uses-emp: #343a40;
    background: var(--le-uses-bg);
    border-bottom: 1px solid #dde1e5;
    padding-bottom: 70px;
}

.le-use {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
}

.le-use__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 26px;
    color: #fff;
}

.le-use--emp .le-use__head {
    background: var(--le-uses-emp);
}

.le-use--evt .le-use__head {
    background: var(--le-success);
}

.le-use__head i {
    font-size: 1.4rem;
}

.le-use__title {
    color: #fff;
    font-size: 1.4rem;
    margin: 0;
}

.le-use__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 26px 26px;
}

.le-use__for {
    color: var(--le-text-muted);
    margin-bottom: 14px;
}

.le-use__price {
    margin: 0;
    color: var(--le-text-muted);
}

.le-use__price b {
    font-size: 1.9rem;
    color: var(--le-ink);
}

.le-use__more {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e7e34;
    margin: 2px 0 14px;
}

.le-use__list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.le-use__list li {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin: 9px 0;
}

.le-use__list li i {
    color: var(--le-success);
    flex: none;
}

.le-use__photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: auto 0 20px;
}

.le-use__photos figure {
    margin: 0;
}

.le-use__photos a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.le-use__photos img {
    display: block;
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform .3s ease;
}

.le-use__photos a:hover img {
    transform: scale(1.05);
}

.le-use__photos figcaption {
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    margin-top: 6px;
}

.le-use__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.le-use__btn {
    font-size: 0.95rem;
    letter-spacing: 0;
    padding: 12px 26px;
}

.le-use__call {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--le-ink);
    text-decoration: underline;
}

.le-uses__corp {
    margin-top: 6px;
    background: #fff;
}

.le-uses__corp a {
    color: var(--le-ink);
    text-decoration: underline;
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 768px) {

    /* La matriz pasa a tarjetas apiladas */
    .le-fit {
        border: none;
    }

    .le-fit__head {
        display: none;
    }

    .le-fit__row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        border: 1px solid var(--le-line);
        border-radius: var(--le-radius);
        margin-bottom: 12px;
        padding: 16px;
    }

    .le-fit__space,
    .le-fit__why {
        grid-column: 1 / -1;
    }

    .le-fit__cell {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        background: var(--le-panel-bg);
        border-radius: 8px;
        padding: 8px;
    }

    .le-fit__cell::before {
        content: attr(data-label);
        font-size: 0.85rem;
        color: var(--le-text-muted);
    }

    .le-use__head,
    .le-use__body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .le-use__photos img,
    .le-use__ph {
        height: 90px;
    }
}

@media (max-width: 576px) {
    .le-hero__cta {
        width: 100%;
    }

    .le-use__title {
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .le-eq__card--product,
    .le-fit__row,
    .le-use__photos img,
    .le-specs summary::after {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}
