/* =========================================================
   NOTICIAS
   Dueño Vargas & Asociados
   ========================================================= */


/* =========================================================
   HERO
========================================================= */

.news-hero {

    position: relative;

    min-height: 420px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(15, 29, 48, 0.97),
            rgba(15, 29, 48, 0.88),
            rgba(15, 29, 48, 0.72)
        );

}


.news-hero::after {

    content: "";

    position: absolute;

    width: 320px;

    height: 320px;

    right: -120px;

    bottom: -160px;

    border: 1px solid rgba(
        193,
        155,
        83,
        0.25
    );

    border-radius: 50%;

}


.news-hero-content {

    position: relative;

    z-index: 2;

    max-width: 760px;

    padding: 80px 0;

}


.news-hero .section-subtitle {

    display: inline-block;

    margin-bottom: 18px;

    color: #C19B53;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 3px;

}


.news-hero h1 {

    margin: 0 0 20px;

    color: #FFFFFF;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(48px, 6vw, 76px);

    font-weight: 500;

    line-height: 1.05;

}


.news-hero p {

    max-width: 650px;

    margin: 0;

    color: rgba(
        255,
        255,
        255,
        0.78
    );

    font-size: 16px;

    font-weight: 300;

    line-height: 1.8;

}


/* =========================================================
   SECCIÓN
========================================================= */

.news-section {

    padding: 100px 0 110px;

    background: #F7F5EE;

}


.news-section .section-heading {

    max-width: 720px;

    margin: 0 auto 55px;

}


.news-section .section-heading p {

    max-width: 600px;

    margin: 20px auto 0;

    color: #666;

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   CARRUSEL
========================================================= */

.news-carousel {

    position: relative;

    width: 100%;

    max-width: 1150px;

    margin: 0 auto;

    padding: 0 70px;

}


.news-slider-window {

    width: 100%;

    overflow: hidden;

}


.news-slider-track {

    display: flex;

    width: 100%;

    transition:
        transform 0.65s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

    will-change: transform;

}


.news-slide {

    flex: 0 0 100%;

    width: 100%;

    min-width: 100%;

    padding: 5px;

    box-sizing: border-box;

}


/* =========================================================
   TARJETA
========================================================= */

.news-card {

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    min-height: 430px;

    overflow: hidden;

    background: #FFFFFF;

    border: 1px solid rgba(
        15,
        29,
        48,
        0.08
    );

    box-shadow:
        0 15px 45px
        rgba(
            15,
            29,
            48,
            0.08
        );

}


/* =========================================================
   IMAGEN
========================================================= */

.news-image {

    position: relative;

    min-height: 430px;

    overflow: hidden;

    background: #0F1D30;

}


.news-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(
                15,
                29,
                48,
                0.04
            ),
            rgba(
                15,
                29,
                48,
                0.20
            )
        );

}


.news-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;

}


.news-card:hover
.news-image img {

    transform: scale(1.025);

}


/* =========================================================
   CONTENIDO
========================================================= */

.news-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 55px 60px;

    background: #FFFFFF;

}


.news-category {

    display: inline-block;

    margin-bottom: 14px;

    color: #C19B53;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

}


.news-date {

    margin-bottom: 18px;

    color: #888;

    font-size: 12px;

}


.news-content h3 {

    margin: 0 0 18px;

    color: #1A1A1A;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 35px;

    font-weight: 600;

    line-height: 1.15;

}


.news-content p {

    margin: 0 0 28px;

    color: #5F5F5F;

    font-size: 14px;

    font-weight: 300;

    line-height: 1.85;

}


/* =========================================================
   LEER MÁS
========================================================= */

.news-read-more {

    display: inline-flex;

    align-items: center;

    align-self: flex-start;

    gap: 10px;

    padding-bottom: 7px;

    color: #0F1D30;

    border-bottom: 1px solid #C19B53;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1px;

    text-decoration: none;

    transition:
        color 0.3s ease,
        gap 0.3s ease;

}


.news-read-more i {

    color: #C19B53;

    font-size: 11px;

}


.news-read-more:hover {

    gap: 14px;

    color: #C19B53;

}


/* =========================================================
   FLECHAS
========================================================= */

.news-slider-btn {

    position: absolute;

    top: 50%;

    z-index: 5;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform: translateY(-50%);

    background: #FFFFFF;

    color: #0F1D30;

    border: 1px solid rgba(
        15,
        29,
        48,
        0.15
    );

    cursor: pointer;

    box-shadow:
        0 8px 25px
        rgba(
            15,
            29,
            48,
            0.08
        );

    transition:
        background 0.3s ease,
        color 0.3s ease;

}


.news-slider-btn:hover {

    background: #0F1D30;

    color: #FFFFFF;

}


.news-prev {

    left: 5px;

}


.news-next {

    right: 5px;

}


/* =========================================================
   DOTS
========================================================= */

.news-dots {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    margin-top: 35px;

}


.news-dot {

    width: 8px;

    height: 8px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(
        15,
        29,
        48,
        0.22
    );

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;

}


.news-dot.active {

    width: 28px;

    border-radius: 10px;

    background: #C19B53;

}


/* =========================================================
   LLAMADO A CONSULTA
========================================================= */

.news-contact {

    padding: 90px 0;

    background: #0F1D30;

}


.news-contact-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 55px 65px;

    border: 1px solid rgba(
        193,
        155,
        83,
        0.25
    );

    background:
        rgba(
            255,
            255,
            255,
            0.025
        );

}


.news-contact-box
.section-subtitle {

    display: block;

    margin-bottom: 14px;

    color: #C19B53;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

}


.news-contact-box h2 {

    max-width: 650px;

    margin: 0 0 15px;

    color: #FFFFFF;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 38px;

    font-weight: 500;

    line-height: 1.2;

}


.news-contact-box p {

    max-width: 620px;

    margin: 0;

    color: rgba(
        255,
        255,
        255,
        0.68
    );

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================================
   BOTÓN
========================================================= */

.news-contact .btn-gold {

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 28px;

    background: #C19B53;

    color: #FFFFFF;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1px;

    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease;

}


.news-contact .btn-gold:hover {

    background: #A98240;

    transform: translateY(-2px);

}


/* =========================================================
   SIN NOTICIAS
========================================================= */

.news-empty {

    width: 100%;

    padding: 70px 30px;

    text-align: center;

    background: #FFFFFF;

    border: 1px solid rgba(
        15,
        29,
        48,
        0.08
    );

}


.news-empty h3 {

    margin: 0 0 10px;

    color: #0F1D30;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 30px;

    font-weight: 600;

}


.news-empty p {

    margin: 0;

    color: #777;

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   ACCESIBILIDAD
========================================================= */

.news-slider-btn:focus-visible,
.news-dot:focus-visible,
.news-read-more:focus-visible {

    outline: 2px solid #C19B53;

    outline-offset: 4px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {


    .news-carousel {

        padding: 0 55px;

    }


    .news-card {

        grid-template-columns: 1fr;

    }


    .news-image {

        min-height: 300px;

        height: 300px;

    }


    .news-content {

        padding: 45px;

    }


    .news-contact-box {

        padding: 45px;

    }


}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {


    .news-hero {

        min-height: 360px;

    }


    .news-hero-content {

        padding: 65px 0;

    }


    .news-hero h1 {

        font-size: 48px;

    }


    .news-section {

        padding: 70px 0 80px;

    }


    .news-carousel {

        padding: 0 35px;

    }


    .news-image {

        min-height: 230px;

        height: 230px;

    }


    .news-content {

        padding: 35px 28px;

    }


    .news-content h3 {

        font-size: 30px;

    }


    .news-slider-btn {

        width: 38px;

        height: 38px;

    }


    .news-prev {

        left: 0;

    }


    .news-next {

        right: 0;

    }


    .news-contact {

        padding: 65px 0;

    }


    .news-contact-box {

        flex-direction: column;

        align-items: flex-start;

        padding: 35px 28px;

    }


    .news-contact-box h2 {

        font-size: 32px;

    }


}


/* =========================================================
   REDUCIR MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {


    .news-slider-track,
    .news-image img,
    .news-read-more,
    .news-slider-btn,
    .news-dot {

        transition: none;

    }

}