/* =========================================================
   OE HOME
   Residential Collection
   ========================================================= */


/* =========================================================
   VARIABLES OE HOME
   ========================================================= */

:root {

    --oe-home-essential: #007BFF;
    --oe-home-color: #00C853;
    --oe-home-pro: #7E57C2;

    --oe-home-black: #0A0A0A;
    --oe-home-dark: #111111;
    --oe-home-gray: #2C2C2C;
    --oe-home-light: #F6F7F9;

}


/* =========================================================
   HERO OE HOME
   ========================================================= */

.home-hero {

    position: relative;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(0, 123, 255, 0.12),
            transparent 35%
        ),
        #0A0A0A;

    color: #FFFFFF;

    overflow: hidden;
}


.home-hero-container {

    min-height: 650px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(400px, 0.9fr);

    align-items: center;

    gap: 70px;

    padding-top: 80px;
    padding-bottom: 80px;
}


.home-hero-content {

    max-width: 650px;

}


.home-eyebrow {

    display: inline-block;

    margin-bottom: 22px;

    color: var(--oe-home-essential);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


.home-hero h1 {

    margin: 0;

    font-size: clamp(42px, 5vw, 72px);

    line-height: 1.05;

    letter-spacing: -2px;

    font-weight: 700;

}


.home-hero h1 span {

    display: block;

    margin-top: 10px;

    color: #FFFFFF;

}


.home-hero-content > p {

    max-width: 580px;

    margin: 28px 0 34px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 17px;

    line-height: 1.8;

}


.home-hero-actions {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;

}


/* =========================================================
   VISUAL HERO
   ========================================================= */

.home-hero-visual {

    display: flex;

    align-items: center;

    justify-content: center;

}


.home-visual-card {

    position: relative;

    width: 100%;

    max-width: 520px;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 24px;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 123, 255, 0.16),
            transparent 45%
        ),
        #0D1117;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45);

}


.home-visual-grid {

    position: absolute;

    inset: 0;

    opacity: 0.35;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        );

    background-size: 40px 40px;

}


.home-visual-center {

    position: absolute;

    top: 50%;
    left: 50%;

    width: 150px;
    height: 150px;

    transform: translate(-50%, -50%);

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 123, 255, 0.45);

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);

    box-shadow:
        0 0 50px rgba(0, 123, 255, 0.15);

}


.home-visual-mark {

    color: #FFFFFF;

    font-size: 34px;

    font-weight: 800;

    line-height: 1;
}


.home-visual-center > span:last-child {

    margin-top: 7px;

    color: rgba(255,255,255,0.55);

    font-size: 9px;

    letter-spacing: 3px;

}


.home-visual-node {

    position: absolute;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 105px;
    height: 75px;

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 12px;

    background: rgba(0,0,0,0.5);

    backdrop-filter: blur(8px);

    color: rgba(255,255,255,0.7);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

}


.home-visual-node span {

    margin-bottom: 7px;

    font-size: 15px;

}


.home-node-1 {

    top: 18%;

    left: 12%;

}


.home-node-2 {

    top: 18%;

    right: 12%;

}


.home-node-3 {

    bottom: 14%;

    left: 50%;

    transform: translateX(-50%);

}


/* =========================================================
   INTRO
   ========================================================= */

.home-intro {

    background: #FFFFFF;

    padding: 100px 0 70px;

}


.section-heading {

    max-width: 760px;

}


.section-eyebrow {

    display: inline-block;

    margin-bottom: 16px;

    color: var(--oe-home-essential);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}


.section-heading h2 {

    margin: 0;

    color: var(--oe-home-black);

    font-size: clamp(32px, 4vw, 52px);

    line-height: 1.1;

    letter-spacing: -1.5px;

}


.section-heading p {

    max-width: 680px;

    margin: 22px 0 0;

    color: #666666;

    font-size: 16px;

    line-height: 1.8;

}


/* =========================================================
   SOLUCIONES
   ========================================================= */

.home-solutions {

    padding: 70px 0 110px;

    background: #FFFFFF;

}


.home-solution-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;

    margin-top: 55px;

}


.home-solution-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 570px;

    padding: 36px;

    border: 1px solid #E6E7EA;

    border-radius: 18px;

    background: #FFFFFF;

    box-shadow:
        0 12px 40px rgba(0,0,0,0.05);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.home-solution-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 24px 60px rgba(0,0,0,0.09);

}


.solution-accent {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

}


.home-essential .solution-accent {

    background: var(--oe-home-essential);

}


.home-color .solution-accent {

    background: var(--oe-home-color);

}


.home-pro .solution-accent {

    background: var(--oe-home-pro);

}


.solution-series {

    margin-bottom: 18px;

    color: #777777;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.home-solution-card h3 {

    margin: 0;

    color: var(--oe-home-black);

    font-size: 27px;

    line-height: 1.2;

}


.solution-tagline {

    margin: 14px 0 18px;

    color: var(--oe-home-gray);

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;

}


.solution-description {

    margin: 0 0 25px;

    color: #666666;

    font-size: 14px;

    line-height: 1.7;

}


.home-solution-card ul {

    margin: 0 0 30px;

    padding: 0;

    list-style: none;

}


.home-solution-card li {

    position: relative;

    padding-left: 22px;

    margin-bottom: 11px;

    color: #555555;

    font-size: 13px;

}


.home-solution-card li::before {

    content: "✓";

    position: absolute;

    left: 0;

    font-weight: 800;

}


.home-essential li::before {

    color: var(--oe-home-essential);

}


.home-color li::before {

    color: var(--oe-home-color);

}


.home-pro li::before {

    color: var(--oe-home-pro);

}


.solution-price {

    margin-top: auto;

    padding-top: 25px;

    border-top: 1px solid #ECEDEF;

}


.solution-price span {

    display: block;

    margin-bottom: 5px;

    color: #888888;

    font-size: 11px;

}


.solution-price strong {

    color: var(--oe-home-black);

    font-size: 28px;

    line-height: 1;

}


.solution-button {

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 24px;

    min-height: 46px;

    border-radius: 8px;

    color: #FFFFFF;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;

}


.solution-button:hover {

    opacity: 0.9;

    transform: translateY(-1px);

}


.home-essential .solution-button {

    background: var(--oe-home-essential);

}


.home-color .solution-button {

    background: var(--oe-home-color);

}


.home-pro .solution-button {

    background: var(--oe-home-pro);

}


/* =========================================================
   NOTA DE PRECIOS
   ========================================================= */

.home-price-note {

    max-width: 950px;

    margin: 45px auto 0;

    padding: 22px 25px;

    border-left: 3px solid var(--oe-home-essential);

    background: #F7F8FA;

    color: #666666;

    font-size: 12px;

    line-height: 1.8;

}


.home-price-note strong {

    color: #333333;

}


/* =========================================================
   ¿CUÁL ES PARA TI?
   ========================================================= */

.home-choice {

    padding: 110px 0;

    background: #F6F7F9;

}


.home-choice-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

    margin-top: 55px;

}


.choice-item {

    padding: 30px;

    border-top: 2px solid #D9DCE1;

}


.choice-number {

    display: block;

    margin-bottom: 20px;

    color: #AAAAAA;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

}


.choice-item h3 {

    margin: 0 0 12px;

    color: var(--oe-home-black);

    font-size: 24px;

}


.choice-item p {

    margin: 0;

    color: #666666;

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   INSTALACIÓN
   ========================================================= */

.home-installation {

    padding: 110px 0;

    background: #FFFFFF;

}


.installation-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    margin-top: 55px;

}


.installation-item {

    padding: 28px;

    border: 1px solid #E7E8EB;

    border-radius: 14px;

}


.installation-item > span {

    display: block;

    margin-bottom: 25px;

    color: var(--oe-home-essential);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

}


.installation-item h3 {

    margin: 0 0 12px;

    color: var(--oe-home-black);

    font-size: 20px;

}


.installation-item p {

    margin: 0;

    color: #666666;

    font-size: 13px;

    line-height: 1.7;

}


.installation-note {

    margin-top: 30px;

    color: #777777;

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   BENEFICIOS
   ========================================================= */

.home-benefits {

    padding: 110px 0;

    background: #0A0A0A;

    color: #FFFFFF;

}


.home-benefits .section-heading h2 {

    color: #FFFFFF;

}


.home-benefits .section-heading p {

    color: rgba(255,255,255,0.6);

}


.benefits-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    margin-top: 55px;

}


.benefit-item {

    padding: 28px;

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 14px;

    background: rgba(255,255,255,0.025);

}


.benefit-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    margin-bottom: 24px;

    border-radius: 10px;

    background: rgba(0,123,255,0.12);

    color: var(--oe-home-essential);

}


.benefit-item h3 {

    margin: 0 0 12px;

    color: #FFFFFF;

    font-size: 18px;

}


.benefit-item p {

    margin: 0;

    color: rgba(255,255,255,0.55);

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================================
   CTA FINAL
   ========================================================= */

.home-final-cta {

    padding: 110px 0;

    background: #FFFFFF;

}


.final-cta-content {

    max-width: 800px;

    margin: 0 auto;

    text-align: center;

}


.final-cta-content h2 {

    margin: 0;

    color: var(--oe-home-black);

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.1;

    letter-spacing: -1.5px;

}


.final-cta-content p {

    max-width: 600px;

    margin: 22px auto 30px;

    color: #666666;

    font-size: 16px;

    line-height: 1.8;

}


.final-cta-actions {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;

}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .home-hero-container {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .home-hero-content {

        max-width: 750px;

    }

    .home-hero-visual {

        max-width: 600px;

        margin: 0 auto;

        width: 100%;

    }


    .home-solution-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

    .home-solution-card:last-child {

        grid-column: 1 / -1;

        max-width: calc(50% - 11px);

        width: 100%;

        margin: 0 auto;

    }


    .installation-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .benefits-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =========================================================
   RESPONSIVE MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .home-hero-container {

        min-height: auto;

        padding-top: 70px;
        padding-bottom: 65px;

        gap: 45px;

    }


    .home-hero h1 {

        font-size: 40px;

        letter-spacing: -1.5px;

    }


    .home-hero-content > p {

        font-size: 15px;

    }


    .home-hero-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .home-hero-actions .btn {

        width: 100%;

        text-align: center;

    }


    .home-visual-card {

        max-width: 380px;

        border-radius: 18px;

    }


    .home-visual-center {

        width: 115px;
        height: 115px;

    }


    .home-visual-mark {

        font-size: 28px;

    }


    .home-visual-node {

        width: 85px;
        height: 62px;

        font-size: 8px;

    }


    .home-intro,
    .home-solutions,
    .home-choice,
    .home-installation,
    .home-benefits,
    .home-final-cta {

        padding-top: 75px;
        padding-bottom: 75px;

    }


    .section-heading h2 {

        font-size: 32px;

    }


    .home-solution-grid {

        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 40px;

    }


    .home-solution-card {

        min-height: auto;

        padding: 30px 25px;

    }


    .home-solution-card:last-child {

        max-width: none;

        grid-column: auto;

    }


    .home-price-note {

        margin-top: 30px;

        padding: 20px;

    }


    .home-choice-grid {

        grid-template-columns: 1fr;

        gap: 15px;

        margin-top: 40px;

    }


    .choice-item {

        padding: 25px 0;

    }


    .installation-grid {

        grid-template-columns: 1fr;

        gap: 15px;

        margin-top: 40px;

    }


    .benefits-grid {

        grid-template-columns: 1fr;

        gap: 15px;

        margin-top: 40px;

    }


    .final-cta-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .final-cta-actions .btn {

        width: 100%;

        text-align: center;

    }

}