/*------------------slide------------------------*/

.slide_carrusel { background-color: #000; }
.slide_carrusel .overlay {
    position: absolute;
    top: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.4) 100%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide_carrusel h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 600;
    color: #fff;
    line-height: 110%;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
}

.carousel-caption p {
    color: rgba(255, 255, 255, .9);
    font-size: 1.15rem;
    /*max-width: 520px;*/
    text-shadow: 0 1px 8px rgba(0, 0, 0, .25);
}

.carousel-caption {
    text-align: center;
    z-index: 2;
    bottom: 30%;
}

.carousel-item {
    transition: transform 0.5s ease, opacity .5s ease-out !important;
}

.slide .carousel-item img {
    height: calc(90vh - 75px) !important;
    object-fit: cover;
}

/*---------------------------------------media query-----------------------------*/

/* Extra small devices (portrait phones, less than 576px) */
@media (width <= 575.98px) {
    .slide .carousel-item {
        height: 60vh !important;
    }

    .slide .carousel-item img {
        height: 60vh !important;
        object-fit: cover;
    }

    .slide_carrusel h1 {
        font-weight: 600;
        -webkit-text-stroke: 0px #fff;
        text-shadow: 0 1px 1px #fff, 0 1px 0px rgba(0, 0, 0, 0.8);
        color: #fff;
    }

    .carousel-caption p { font-size: 0.875em; }
    .carousel-caption { right: 7%; bottom: 1.20rem; left: 7%; }
    .carousel-caption .btn_corporativo { font-weight: 400; padding: 5px 25px; letter-spacing: 0; }
}

/* Small devices (landscape phones, 576px and up) */
@media (576px <= width <= 767.98px) {
    .slide .carousel-item { height: 70vh !important; }
    .slide .carousel-item img { height: 70vh !important; object-fit: cover; }
    .carousel-caption { bottom: 30px; left: 10%; width: 50%; }
}

/* Medium devices (tablets, 768px and up) */
@media (768px <= width <= 991.98px) {
    .carousel-caption { position: absolute; right: 47%; left: 10%; }
    .slide .carousel-item { height: 100vh !important; }
    .slide .carousel-item img { height: 100vh !important; object-fit: cover; }
}

/* Medium devices (tablets, 768px and up) — portrait */
@media (768px <= width <= 991.98px) and (orientation: portrait) {
    .slide .carousel-item { height: 37vh !important; }
    .carousel-caption { bottom: 10% !important; }
    .slide .carousel-item img { height: 37vh !important; object-fit: cover; }
}

/* Large devices (desktops, 992px and up) */
@media (992px <= width <= 1199.98px) {
    .carousel-caption { bottom: 12% !important; }
    .slide .carousel-item { height: 51vh !important; }
    .slide .carousel-item img { height: 51vh !important; object-fit: cover; }
}

/* Large devices (desktops, 992px and up) — portrait */
@media (992px <= width <= 1199.98px) and (orientation: portrait) {
    .carousel-caption { bottom: 14% !important; }
    .slide .carousel-item { height: 35vh !important; }
    .slide .carousel-item img { height: 35vh !important; object-fit: cover; }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (1200px <= width <= 1399px) {
    .carousel-caption { bottom: 12% !important; }
    .slide .carousel-item { height: 50vh !important; }
    .slide .carousel-item img { height: 50vh !important; object-fit: cover; }
}

/* Extra large devices (large desktops, 1400px and up) */
@media (width >= 1400px) {
    .carousel-caption { bottom: 140px !important; }
}


/*------------------teaser con items-----------------------*/

.teaser_con_items .sobretitular {
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-size: .85rem;
}

.teaser_con_items h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 100%;
    color: #000;
}

.teaser_con_items figure {
    position: relative;

    img {
        border-radius: 1rem;
        box-shadow: 0 24px 60px rgba(0, 0, 0, .15);
        position: relative;
        z-index: 1;
    }
    .about-img-border {
        position: absolute;
        top: -24px;
        right: -24px;
        width: 100%;
        height: 100%;
        border: 2px solid rgba(122, 138, 60, .20);
        border-radius: 1rem;
    }
    .about-img-glow {
        position: absolute;
        bottom: -24px;
        left: -24px;
        width: 128px;
        height: 128px;
        border-radius: 50%;
        background: rgba(166, 124, 82, .10);
        filter: blur(40px);
    }
}

.teaser_con_items .check-list {
    list-style: none;
    padding: 0;
}
.teaser_con_items .check-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #334155;
    font-size: 1rem;
    padding: .3rem 0;
}

.teaser_con_items .check-list .material-icons {
    font-size: 1.2rem;
    vertical-align: middle;
    line-height: 1;
}


/*---------------------- servicios_imagenes  -----------------------*/
.servicios_imagenes h2 {
    text-align: center;
    margin-bottom: 10px;
    padding: 10px 0;
    color: #000;
    font-weight: 400;
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    letter-spacing: 0;
}
.servicios_imagenes h3 {
    color: #000;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: .6rem;
}
.servicios_imagenes .caja_areas .caja {
    width: 5rem;
    height: 5rem;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 500ms ease;
    text-wrap: pretty;
}
.servicios_imagenes hr {
    width: 96px;
    height: 4px;
    color: #7a8a3c;
    margin: 0 auto;
}
.servicios_imagenes .caja_areas .caja:hover img { filter: brightness(0) invert(1); }


/*----------------------listado_productos-----------------------------*/
.bloque_listado_productos { background-color: #9c8c7850; }

.bloque_listado_productos .iconos span { font-size: 12px; text-transform: uppercase; font-weight: 400; }
.bloque_listado_productos .producto { text-align: center; }
.bloque_listado_productos .tipo_articulo { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.bloque_listado_productos .btn-group > .btn { border-radius: inherit; }
.bloque_listado_productos .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.btn-group > :not(.btn-check) + .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.bloque_listado_productos .bloque_productos .area {
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(1.563rem, 2vw, 2.188rem);
    color: #000;
    position: relative;
    font-weight: 600;
    padding: 0 10px;
    display: inline-block;
}

.bloque_productos .area::before, .bloque_productos .area::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #000;
}

.bloque_productos .area::before {
    left: -20px;
    top: 50%;
}
.bloque_productos .area::after {
    top: 50%;
    right: -20px;
}

.producto .datos_producto { grid-template-rows: 42px 22px 35px 39px; display: grid; }

.bloque_productos .producto figure {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bloque_productos .producto figure:hover {
    transform: translateY(-4px);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.10),
        0 12px 24px rgba(0, 0, 0, 0.08);
}

.bloque_listado_productos .bloque_productos h3 { font-size: 1rem; }

.bloque_listado_productos .bloque_productos .precio {
    color: red;
    padding: 4px;
    font-weight: 500;
    font-size: 1.1em;
    display: inline-block;
}

.bloque_listado_productos .bloque_productos .precio.tachado {
    text-decoration: line-through;
}

.iconos .btn-group i::before { font-size: 0.9em; }

/*---------------------------media queries---------------------------*/

/* Extra small devices (portrait phones, less than 576px) */
@media (width <= 575.98px) {
    .bloque_listado_productos .producto figure img { width: 50%; }
    .producto .datos_producto { grid-template-rows: auto 20px 40px 50px; display: grid; }
}

/* Small devices (landscape phones, 576px and up) */
@media (576px <= width <= 767.98px) {
    .bloque_listado_productos .producto figure img { width: 75%; }
}

/* Medium devices (tablets, 768px and up) */
@media (768px <= width <= 991.98px) {
    .bloque_listado_productos .producto figure img { width: 75%; }
}

/* Large devices (desktops, 992px and up) */
@media (992px <= width <= 1199.98px) {
    .producto .datos_producto { grid-template-rows: 49px 22px 35px 39px; }
}

/* Extra large devices (large desktops, 1400px and up) */
@media (width >= 1400px) {
    .bloque_listado_productos .producto figure img { width: 75%; }
}
