/* ==========================================================
   HERO
========================================================== */

.hero {
    width: 100%;
    background: var(--cream);
}


/* ==========================================================
   CONTENIDO HERO
========================================================== */

.hero-content {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 280px;

    min-height: 345px;

}


/* ==========================================================
   HERO TEXT
========================================================== */

.hero-text {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 0 55px 0 65px;

}


.hero-text h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 3.2vw, 54px);

    font-weight: 500;

    line-height: 1.1;

    color: var(--navy);

    white-space: nowrap;

}


.hero-text h2 {

    margin-top: 6px;

    font-family: "Playfair Display", serif;

    font-size: 19px;

    font-weight: 400;

    letter-spacing: 5px;

    color: var(--gold);

}


.gold-line {

    width: 55px;

    height: 1px;

    background: var(--gold);

    margin: 13px 0 18px;

}


.hero-text p {

    max-width: 550px;

    font-size: 14px;

    line-height: 1.7;

    color: #222;

}


/* ==========================================================
   HERO IMAGE
========================================================== */

.hero-image {

    width: 280px;

    height: 345px;

    overflow: hidden;

    margin-left: auto;

}


.hero-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

}


/* ==========================================================
   BUTTONS
========================================================== */

.hero-buttons {

    display: flex;

    gap: 15px;

    margin-top: 25px;

}


.btn {

    min-height: 40px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 24px;

    border: 1px solid transparent;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.2px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border 0.25s ease;

}


.btn-primary {

    background: var(--navy);

    color: white;

}


.btn-primary:hover {

    background: var(--navy-light);

}


.btn-whatsapp {

    border-color: #777;

    background: transparent;

    color: #222;

}


.btn-whatsapp:hover {

    border-color: var(--gold);

    color: var(--gold);

}


.whatsapp-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    margin-right: 9px;

}


.whatsapp-icon svg {

    width: 17px;

    height: 17px;

    display: block;

    fill: currentColor;

}


/* ==========================================================
   RESPONSIVE - TABLET
========================================================== */

@media (max-width: 1000px) {

    .hero-content {

        grid-template-columns: minmax(0, 1fr) 230px;

    }


    .hero-text {

        padding: 40px;

    }


    .hero-text h1 {

        font-size: 38px;

    }


    .hero-text p {

        font-size: 13px;

    }


    .hero-image {

        width: 230px;

        height: 320px;

    }

}


/* ==========================================================
   RESPONSIVE - MÓVIL
========================================================== */

@media (max-width: 700px) {

    .hero .content-container {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: auto;
    }

    .hero-text {
        width: 100%;
        padding: 45px 25px;
    }

    .hero-text h1 {
        font-size: clamp(30px, 7vw, 38px);
        line-height: 1.1;
        white-space: normal;
    }

    .hero-text p {
        width: 100%;
        max-width: none;
        font-size: 13px;
        line-height: 1.7;
    }

    .hero-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 22px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* IMAGEN A TODO EL ANCHO */

    .hero-image {
        width: 100%;
        height: 280px;
        margin: 0;
        padding: 0;
    }

    .hero-image img {
        display: block;
        width: 100%;
        height: 400px;
        object-fit: cover;
    }

}