/* =========================================================
   WOODPAU - LANDING CARPINTERÍA A MEDIDA
   ========================================================= */

:root {
    --wood-dark: #3e2a1d;
    --wood: #7b5538;
    --wood-light: #c9a77c;
    --cream: #f7f3ed;
    --text: #2d2925;
    --text-light: #625b55;
    --border: #e8e2db;
    --white: #ffffff;
}


/* =========================================================
   GENERAL
   ========================================================= */

.landing-carpinteria {
    margin: 0;
    padding: 0;
    color: var(--text);
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.landing-carpinteria *,
.landing-carpinteria *::before,
.landing-carpinteria *::after {
    box-sizing: border-box;
}

.landing-carpinteria h1,
.landing-carpinteria h2,
.landing-carpinteria h3 {
    font-family: 'Playfair Display', serif;
}

.landing-carpinteria img {
    max-width: 100%;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.landing-carpinteria .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   HERO
   ========================================================= */

.carp-hero {
    min-height: 720px;

    display: flex;
    align-items: center;

    position: relative;

    background-image:
        linear-gradient(
            90deg,
            rgba(25, 18, 12, 0.05) 0%,
            rgba(25, 18, 12, 0.20) 45%,
            rgba(25, 18, 12, 0.70) 100%
        ),
        url("/static/img/carpinteria/hero.jpg");

    background-size: cover;
    background-position: left center;
}

.carp-hero-content {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: -130px;
    color: var(--white);
    text-align: center;
    transform: none;
}
.carp-hero-features {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.carp-hero-kicker {
    margin-bottom: 20px;

    color: #e7d4be;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.carp-hero h1 {
    margin: 0 0 25px;

    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;

    font-weight: 600;
}

.carp-hero-text {
    max-width: 650px;

    margin-bottom: 35px;

    font-size: 20px;
    line-height: 1.7;
}


/* =========================================================
   BOTONES
   ========================================================= */

.carp-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 54px;

    padding: 15px 28px;

    border: none;
    border-radius: 4px;

    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.carp-btn-primary {
    background: #3F5A45;
    color: #F3EEE5;
    border: 1px solid #3F5A45;
}

.carp-btn-primary:hover {
    color: #F3EEE5;
    background: #4F6D55;
    border-color: #4F6D55;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.carp-btn-whatsapp {
    color: var(--white);
    background: #25D366;
}

.carp-btn-whatsapp:hover {
    color: var(--white);
    background: #1ebe5d;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   HERO - CARACTERÍSTICAS
   ========================================================= */

.carp-hero-features {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 35px;

    font-size: 14px;
}

.carp-hero-feature {
    display: flex;

    align-items: center;

    gap: 8px;
}

.carp-hero-feature i {
    font-size: 17px;
}


/* =========================================================
   TITULOS DE SECCIÓN
   ========================================================= */

.carp-section-kicker {
    margin-bottom: 15px;

    color: var(--wood);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.carp-section-title {
    margin: 0 0 25px;

    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;

    font-weight: 600;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro-logo {
    width: 480px;
    height: auto;
    margin-bottom: 25px;
}

.carp-intro {
    padding: 100px 20px;

    background: var(--cream);

    text-align: center;
}

.carp-intro-text {
    max-width: 800px;

    margin: 0 auto;

    color: var(--text-light);

    font-size: 18px;
    line-height: 1.9;
}



/* =========================================================
   SERVICIOS
   ========================================================= */

.carp-service-image-wrapper .carp-service-image {
    display: block;
    width: 100%;
    transition: transform 0.35s ease;
}

.carp-service-image-wrapper:hover .carp-service-image {
    transform: scale(1.03);
}

.carp-service-image-wrapper {
    cursor: zoom-in;
}

.carp-services {
    padding: 100px 20px;

    background: var(--white);
}

.carp-services-header {
    margin-bottom: 55px;

    text-align: center;
}

.carp-services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.carp-service-card {
    height: 100%;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.carp-service-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

.carp-service-image {
    display: block;

    width: 100%;
    height: 250px;

    object-fit: cover;
}

.carp-service-content {
    padding: 28px;
}

.carp-service-content h3 {
    margin: 0 0 12px;

    color: var(--wood-dark);

    font-size: 27px;
    line-height: 1.2;
}

.carp-service-content p {
    margin: 0;

    color: #666;

    font-size: 15px;
    line-height: 1.7;
}
/* =========================
   VISOR DE IMÁGENES A PANTALLA COMPLETA
========================= */

.carp-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.92);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* Cuando se abre */

.carp-image-modal.active {
    opacity: 1;
    visibility: visible;
}


/* Imagen ampliada */

.carp-image-modal img {
    display: block;

    width: auto;
    height: auto;

    max-width: 95vw;
    max-height: 92vh;

    object-fit: contain;

    border-radius: 4px;

    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.7);

    transform: scale(0.95);

    transition: transform 0.25s ease;
}


/* Animación al abrir */

.carp-image-modal.active img {
    transform: scale(1);
}


/* Botón X */

.carp-image-close {
    position: absolute;

    top: 20px;
    right: 30px;

    z-index: 100000;

    color: white;

    font-size: 48px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    user-select: none;

    transition: opacity 0.2s ease;
}


.carp-image-close:hover {
    opacity: 0.65;
}


/* No permitir desplazamiento de la página mientras
   la imagen está abierta */

body.modal-open {
    overflow: hidden;
}


/* =========================================================
   DIFERENCIAL
   ========================================================= */

.carp-difference {
    padding: 100px 20px;

    color: var(--white);

    background: var(--wood-dark);
}

.carp-difference-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;

    align-items: center;
}

.carp-difference h2 {
    margin: 0 0 25px;

    font-size: clamp(35px, 5vw, 55px);

    line-height: 1.1;
}

.carp-difference-text {
    margin: 0;

    color: #e8ded4;

    font-size: 18px;
    line-height: 1.8;
}

.carp-difference-item {
    display: flex;

    gap: 18px;

    margin-bottom: 35px;
}

.carp-difference-item:last-child {
    margin-bottom: 0;
}

.carp-difference-icon {
    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 50%;

    font-size: 20px;
}

.carp-difference-item h3 {
    margin: 0 0 7px;

    font-family: 'Montserrat', sans-serif;

    color: var(--white);

    font-size: 18px;
    font-weight: 700;
}

.carp-difference-item p {
    margin: 0;

    color: #d9d0c7;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   PROCESO
   ========================================================= */

.carp-process {
    padding: 100px 20px;

    background: var(--white);
}

.carp-process-header {
    margin-bottom: 55px;

    text-align: center;
}

.carp-process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.carp-process-step {
    padding: 35px 20px;

    text-align: center;
}

.carp-process-number {
    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    color: var(--wood);

    background: var(--cream);

    border-radius: 50%;

    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 700;
}

.carp-process-step h3 {
    margin: 0 0 12px;

    color: var(--wood-dark);

    font-family: 'Montserrat', sans-serif;

    font-size: 18px;
    font-weight: 700;
}

.carp-process-step p {
    margin: 0;

    color: #666;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   GALERÍA
   ========================================================= */

.carp-gallery {
    padding: 100px 20px;

    background: var(--cream);
}

.carp-gallery-header {
    margin-bottom: 55px;

    text-align: center;
}

.carp-gallery-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.carp-gallery-item {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    cursor: zoom-in;
}

.carp-gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    cursor: zoom-in;

    transition: transform 0.35s ease;
}

.carp-gallery-item:hover img {
    transform: scale(1.03);
}


/* =========================================================
   ZONA LOCAL
   ========================================================= */

.carp-local {
    padding: 100px 20px;

    text-align: center;

    background: var(--white);
}

.carp-local-box {
    max-width: 900px;

    margin: 0 auto;
}

.carp-local h2 {
    margin: 0 0 25px;

    font-size: clamp(35px, 5vw, 52px);
}

.carp-local p {
    margin: 0 0 18px;

    color: var(--text-light);

    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.carp-cta {
    position: relative;

    padding: 110px 20px;

    color: var(--white);

    text-align: center;

    background:
        linear-gradient(
            rgba(62, 42, 29, 0.90),
            rgba(62, 42, 29, 0.90)
        ),
        url("/static/img/carpinteria/cta.jpg");

    background-size: cover;
    background-position: center;
}

.carp-cta h2 {
    margin: 0 0 20px;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.1;
}

.carp-cta p {
    max-width: 700px;

    margin: 0 auto 35px;

    color: #eee;

    font-size: 18px;
    line-height: 1.8;
}

.carp-cta-note {
    margin-top: 20px;

    color: #d8d0ca;

    font-size: 13px;
}


/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */

.carp-whatsapp-floating {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 9999;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: white;

    background: #25D366;

    border-radius: 50%;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);

    font-size: 28px;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.carp-whatsapp-floating:hover {
    color: white;

    transform: scale(1.08);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .carp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carp-difference-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .carp-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .landing-carpinteria .container {
        padding-left: 18px;
        padding-right: 18px;
    }


    /* HERO */

    .carp-hero {
        min-height: 680px;

        align-items: flex-end;

        padding-bottom: 60px;

        background-position: 55% center;
    }

    .carp-hero-content {
        width: 100%;
        max-width: 100%;

        margin-left: 0;
        margin-right: 0;

        text-align: center;
    }

    .carp-hero-kicker {
        font-size: 11px;

        letter-spacing: 2px;
    }

    .carp-hero h1 {
        font-size: 43px;

        line-height: 1.05;
    }

    .carp-hero-text {
        margin-bottom: 28px;

        font-size: 17px;

        line-height: 1.6;
    }

    .carp-hero-features {
        flex-direction: column;

        gap: 10px;

        margin-top: 25px;
    }


    /* SECCIONES */

    .carp-intro,
    .carp-services,
    .carp-difference,
    .carp-process,
    .carp-gallery,
    .carp-local {
        padding-top: 70px;
        padding-bottom: 70px;
    }


    /* SERVICIOS */

    .carp-services-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .carp-service-image {
        height: 230px;
    }


    /* DIFERENCIAL */

    .carp-difference-grid {
        gap: 40px;
    }

    .carp-difference-item {
        gap: 14px;

        margin-bottom: 28px;
    }


    /* PROCESO */

    .carp-process-grid {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .carp-process-step {
        padding: 25px 10px;
    }

    .carp-process-number {
        width: 55px;
        height: 55px;

        font-size: 21px;
    }


    /* GALERÍA */

    .carp-gallery-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .carp-gallery-item {
        aspect-ratio: 4 / 3;
    }


    /* CTA */

    .carp-cta {
        padding: 80px 20px;
    }

    .carp-cta h2 {
        font-size: 40px;
    }


    /* BOTONES */

    .carp-btn {
        width: 100%;
    }


    /* WHATSAPP */

    .carp-whatsapp-floating img {
    width: 32px;
    height: 32px;
    display: block;
    }

}


/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 400px) {

    .carp-hero {
        min-height: 650px;
    }

    .carp-hero h1 {
        font-size: 38px;
    }

    .carp-process-grid {
        grid-template-columns: 1fr;
    }

    .carp-section-title {
        font-size: 34px;
    }

}
```
