/* =========================================
   VARIABLES
========================================= */

:root {
    --green: #478a38;
    --green-dark: #12600e;
    --green-light: #5b963f;

    --white: #ffffff;
    --black: #050705;

    --max-width: 1200px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--green);
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 100vh;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background-image:
        url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
}


/* Oscurece la fotografía */

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.82),
            rgba(0, 0, 0, 0.67)
        );

    z-index: 1;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: absolute;

    top: 20px;
    left: 20px;
    right: 20px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    z-index: 5;
}


/* =========================================
   LOGO REAL
========================================= */

.logo {
    display: block;

    width: 155px;
    height: 100px;

    background: transparent;

    padding: 0;

    text-decoration: none;
}

.logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}



/* Icono */

.user-icon {
    color: white;

    font-family: Arial, sans-serif;

    font-size: 18px;

    margin-right: 35px;

    opacity: 0.95;
}


/* =========================================
   HERO CONTENT
========================================= */

.hero-content {

    position: relative;

    z-index: 3;

    width: 90%;

    max-width: 1000px;

    text-align: center;

    margin-top: -40px;
}

.hero h1 {

    font-family: Arial, Helvetica, sans-serif;

    font-size: clamp(
        65px,
        10vw,
        145px
    );

    font-weight: 800;

    line-height: 0.86;

    letter-spacing: 2px;

    color: white;
}


.tagline {

    margin-top: 22px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: clamp(
        10px,
        1.4vw,
        18px
    );

    letter-spacing: 0.55em;

    font-weight: 400;
}


/* =========================================
   HERO INFO
========================================= */

.hero-info {

    position: absolute;

    z-index: 4;

    right: 5%;

    bottom: 10%;

    text-align: right;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 17px;

    line-height: 1.45;
}

.hero-info a {
    display: block;

    margin-bottom: 3px;
}


/* =========================================
   SERVICES
========================================= */

.services {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    display: flex;

    align-items: center;

    background: var(--green);
}


/* Imagen provisional */

.services-image {

    position: absolute;

    right: 0;
    top: 0;

    width: 30%;
    height: 100%;

    background-image:
        url("https://images.unsplash.com/photo-1511497584788-876760111969?auto=format&fit=crop&w=1000&q=85");

    background-size: cover;

    background-position: center;

    clip-path: polygon(
        20% 0,
        100% 0,
        100% 100%,
        20% 100%,
        0 82%,
        10% 55%,
        0 30%
    );
}


/* Contenido */

.services-content {

    position: relative;

    z-index: 2;

    width: 90%;

    max-width: var(--max-width);

    margin: auto;

    padding: 90px 0;
}


.services h2 {

    font-size: clamp(
        60px,
        7vw,
        100px
    );

    font-weight: 400;

    margin-bottom: 45px;
}


.services-text {

    width: 65%;

    max-width: 700px;

    font-size: clamp(
        22px,
        3vw,
        36px
    );

    line-height: 1.15;
}


.services-text p {

    margin-bottom: 30px;
}


.services-text ul {

    margin-left: 40px;

    margin-bottom: 15px;
}


.services-text li {

    padding-left: 5px;

    margin-bottom: 3px;
}


.no-minimum {

    text-align: center;

    opacity: 0.55;

    font-size: 0.65em;

    margin-top: 10px;
}


/* =========================================
   CONTACTO
========================================= */

.contact {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    background: var(--green);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    text-align: center;
}


.contact-content {

    position: relative;

    z-index: 2;

    flex: 1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 80px 20px 50px;
}


.contact h2 {

    font-size: clamp(
        55px,
        7vw,
        95px
    );

    font-weight: 400;

    margin-bottom: 15px;
}


.contact-content p {

    font-size: clamp(
        25px,
        4vw,
        45px
    );

    line-height: 1.05;

    margin-bottom: 8px;
}


.contact-content a:hover {

    opacity: 0.7;
}


.whatsapp {

    margin-top: 40px;

    display: flex;

    flex-direction: column;

    font-size: clamp(
        25px,
        4vw,
        45px
    );

    line-height: 1.05;
}


.whatsapp span {

    margin-bottom: 5px;
}


/* =========================================
   BOTÓN COTIZACIÓN
========================================= */

.quote-button {

    display: inline-block;

    margin-top: 45px;

    padding: 15px 32px;

    border: 2px solid white;

    border-radius: 50px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 17px !important;

    font-weight: bold;

    transition: all 0.25s ease;
}


.quote-button:hover {

    background: white;

    color: var(--green);
}


/* =========================================
   FOOTER
========================================= */

.footer {

    min-height: 190px;

    display: flex;

    justify-content: center;

    align-items: center;

    background-image:
        linear-gradient(
            rgba(0, 30, 8, 0.75),
            rgba(0, 30, 8, 0.75)
        ),
        url("https://images.unsplash.com/photo-1497250681960-ef046c08a56e?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;

    background-position: center;
}


.footer-logo {

    background: white;

    color: #39823d;

    padding: 15px 30px;

    min-width: 290px;
}


.footer-logo span {

    display: block;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 38px;

    font-weight: 400;
}


.footer-logo small {

    display: block;

    margin-top: 5px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;
}


.footer-logo em {

    font-style: italic;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .services-image {

        width: 34%;
    }

    .services-text {

        width: 62%;
    }

}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 650px) {

    .hero {

        min-height: 750px;

        background-position: center;
    }


    .header {

        top: 12px;

        left: 12px;
        right: 12px;
    }


    .logo {
        width: 110px;
        height: 72px;
    }

    .user-icon {
        margin-right: 10px;
    }


    .hero-content {

        margin-top: -30px;
    }


    .hero h1 {

        font-size: 65px;

        letter-spacing: 1px;
    }


    .tagline {

        font-size: 9px;

        line-height: 1.7;

        letter-spacing: 0.28em;
    }


    .hero-info {

        right: 20px;

        bottom: 35px;

        font-size: 13px;
    }



    /* SERVICES */

    .services {

        min-height: 800px;

        align-items: flex-start;
    }


    .services-image {

        width: 100%;

        height: 220px;

        top: auto;

        bottom: 0;

        clip-path: none;
    }


    .services-content {

        padding: 55px 0 260px;
    }


    .services h2 {

        font-size: 58px;

        margin-bottom: 35px;
    }


    .services-text {

        width: 100%;

        font-size: 23px;
    }


    .services-text ul {

        margin-left: 30px;
    }


    /* CONTACT */

    .contact {

        min-height: 760px;
    }


    .contact-content {

        padding: 70px 15px 40px;
    }


    .contact h2 {

        font-size: 60px;
    }


    .contact-content p {

        font-size: 25px;
    }


    .whatsapp {

        font-size: 25px;

        margin-top: 30px;
    }


    .quote-button {

        margin-top: 35px;

        font-size: 15px !important;
    }


    /* FOOTER */

    .footer {

        min-height: 160px;
    }


    .footer-logo {

        min-width: 220px;

        padding: 12px 20px;
    }


    .footer-logo span {

        font-size: 28px;
    }


    .footer-logo small {

        font-size: 10px;
    }
}


/* =========================================
   QUIÉNES SOMOS
========================================= */

.about {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        linear-gradient(
            rgba(0, 35, 8, 0.78),
            rgba(0, 35, 8, 0.78)
        ),

        url("https://images.unsplash.com/photo-1497250681960-ef046c08a56e?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;

    background-position: center;
}


.about::before {

    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background: rgba(72, 139, 56, 0.35);

    top: -180px;
    right: -150px;
}


.about-content {

    position: relative;

    z-index: 2;

    width: 90%;

    max-width: 1100px;

    margin: auto;

    padding: 90px 0;
}


.about h2 {

    font-size: clamp(
        60px,
        8vw,
        105px
    );

    font-weight: 400;

    margin-bottom: 25px;
}


.about-intro {

    max-width: 850px;

    font-size: clamp(
        25px,
        3.5vw,
        42px
    );

    line-height: 1.15;

    margin-bottom: 70px;
}


.about-intro strong {

    color: #b7df87;
}


.about-columns {

    display: grid;

    grid-template-columns:
        1.2fr
        1fr;

    gap: 70px;
}


.about-block {

    border-top: 1px solid rgba(255,255,255,.6);

    padding-top: 22px;
}


.about-block h3 {

    font-size: 42px;

    font-weight: 400;

    margin-bottom: 22px;
}


.about-block p {

    font-size: 20px;

    line-height: 1.45;

    margin-bottom: 20px;

    max-width: 620px;
}



/* =========================================
   PRODUCTOS
========================================= */

.products {

    min-height: 100vh;

    background: #f3f0e7;

    color: #285c27;

    padding: 90px 0 80px;

    overflow: hidden;
}


.products-header {

    width: 90%;

    max-width: 1200px;

    margin: 0 auto 45px;
}


.products-header h2 {

    font-size: clamp(
        60px,
        8vw,
        105px
    );

    font-weight: 400;

    margin-bottom: 5px;
}


.products-header p {

    font-size: 22px;

    color: #55704e;
}



/* CARRUSEL */

.product-carousel {

    display: flex;

    gap: 25px;

    overflow-x: auto;

    overflow-y: hidden;

    padding:

        10px
        5%
        35px;

    scroll-snap-type: x mandatory;

    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;
}


/* Ocultar scrollbar */

.product-carousel::-webkit-scrollbar {

    height: 8px;
}


.product-carousel::-webkit-scrollbar-track {

    background: #d8dfd0;

    border-radius: 10px;
}


.product-carousel::-webkit-scrollbar-thumb {

    background: #4c893c;

    border-radius: 10px;
}


.product-card {

    flex: 0 0 330px;

    scroll-snap-align: start;

    background: white;

    border-radius: 4px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(0,0,0,.10);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.product-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.16);
}


.product-image {

    height: 330px;

    overflow: hidden;

    background: #dfe8da;
}


.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .5s ease;
}


.product-card:hover
.product-image img {

    transform: scale(1.05);
}


.product-card h3 {

    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 15px 20px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 24px;

    font-weight: 400;

    line-height: 1.05;
}


/* Tarjeta final */

.product-more {

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #4b8d3b,
            #174d19
        );
}


.product-more span {

    font-family: Arial, sans-serif;

    font-size: 110px;

    font-weight: 200;

    color: white;
}


.carousel-hint {

    text-align: center;

    margin-top: 15px;

    color: #71806b;

    font-family: Arial, sans-serif;

    font-size: 13px;

    letter-spacing: .08em;
}



/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 750px) {


    /* QUIÉNES SOMOS */

    .about {

        min-height: auto;
    }


    .about-content {

        padding: 70px 0;
    }


    .about h2 {

        font-size: 58px;
    }


    .about-intro {

        font-size: 25px;

        margin-bottom: 50px;
    }


    .about-columns {

        grid-template-columns: 1fr;

        gap: 45px;
    }


    .about-block h3 {

        font-size: 36px;
    }


    .about-block p {

        font-size: 18px;
    }



    /* PRODUCTOS */

    .products {

        padding: 65px 0 60px;
    }


    .products-header h2 {

        font-size: 60px;
    }


    .products-header p {

        font-size: 18px;
    }


    .product-carousel {

        gap: 18px;

        padding-left: 6%;

        padding-right: 6%;
    }


    .product-card {

        flex: 0 0 78vw;

        max-width: 330px;
    }


    .product-image {

        height: 300px;
    }


    .product-card h3 {

        font-size: 22px;
    }

}
