/*
*  INDEX STLYES
*/

/* =====================================================
   HEADER YBREA
===================================================== */

.header-ybrea {

    position: sticky;

    top: 0;

    z-index: 1030;

    width: 100%;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid #e8e8e8;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);

}


/* =====================================================
   NAVBAR
===================================================== */

.header-ybrea .navbar {

    padding: 0;

    min-height: 100px;

}


.header-container {

    min-height: 100px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* =====================================================
   LOGO + NOMBRE
===================================================== */

.header-brand {

    display: flex;

    align-items: center;

    gap: 22px;

    text-decoration: none;

    color: #111111;

}


.header-logo {

    width: 125px;

    height: 82px;

    object-fit: contain;

}


/* Nombre empresa */

.header-brand-name {

    position: relative;

    color: #111111;

    font-size: 1.75rem;

    font-weight: 700;

    letter-spacing: -0.5px;

    padding-left: 22px;

}


/* Separador vertical */

.header-brand-name::before {

    content: "";

    position: absolute;

    left: 0;

    top: 50%;

    transform: translateY(-50%);

    width: 1px;

    height: 32px;

    background: #d0d0d0;

}


/* =====================================================
   BOTÓN HAMBURGUESA
===================================================== */

.header-menu-btn {

    width: 56px;

    height: 56px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 0;

    background: #ffffff;

    border: 1px solid #d8d8d8;

    border-radius: 6px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);

    cursor: pointer;

    transition: all 0.3s ease;

}


/* Líneas del menú */

.menu-line {

    display: block;

    width: 22px;

    height: 2px;

    background: #1b1b1b;

    transition: all 0.3s ease;

}


/* Hover */

.header-menu-btn:hover {

    background: #a7192e;

    border-color: #a7192e;

}


.header-menu-btn:hover .menu-line {

    background: #ffffff;

}


/* =====================================================
   LÍNEA ROJA CORPORATIVA
===================================================== */

.header-ybrea::after {

    content: "";

    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    height: 3px;

    background: #a7192e;

}


/* =====================================================
   OFFCANVAS
===================================================== */

.offcanvas-ybrea {

    width: 380px !important;

    background: #ffffff;

    border-left: 1px solid #eeeeee;

}


/* =====================================================
   CABECERA OFFCANVAS
===================================================== */

.offcanvas-ybrea .offcanvas-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 25px 30px;

    border-bottom: 1px solid #eeeeee;

}


/* Marca */

.offcanvas-brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.offcanvas-logo {

    width: 65px;

    height: 50px;

    object-fit: contain;

}


.offcanvas-brand span {

    color: #111111;

    font-size: 1rem;

    font-weight: 700;

}


/* Botón cerrar */

.offcanvas-ybrea .btn-close {

    width: 18px;

    height: 18px;

    opacity: 0.7;

}


.offcanvas-ybrea .btn-close:hover {

    opacity: 1;

}


/* =====================================================
   CUERPO OFFCANVAS
===================================================== */

.offcanvas-ybrea .offcanvas-body {

    display: flex;

    flex-direction: column;

    padding: 30px;

}


/* =====================================================
   NAVEGACIÓN
===================================================== */

.offcanvas-nav {

    display: flex;

    flex-direction: column;

}


/* Secciones */

.offcanvas-section {

    margin-top: 30px;

}


/* Títulos */

.offcanvas-title {

    display: block;

    margin-bottom: 10px;

    color: #a7192e;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;

}


/* =====================================================
   ENLACES
===================================================== */

.offcanvas-link {

    display: flex;

    align-items: center;

    gap: 14px;

    position: relative;

    padding: 5px 5px;

    color: #333333;

    text-decoration: none;

    font-size: 1rem;

    border-bottom: 1px solid #f0f0f0;

    transition: all 0.3s ease;

}


/* Iconos */

.offcanvas-link i {

    width: 22px;

    color: #a7192e;

    font-size: 1rem;

    transition: transform 0.3s ease;

}


/* Hover */

.offcanvas-link:hover {

    color: #a7192e;

    padding-left: 10px;

}


.offcanvas-link:hover i {

    transform: translateX(3px);

}


/* =====================================================
   FOOTER DEL OFFCANVAS
===================================================== */

.offcanvas-footer {

    margin-top: auto;

    padding-top: 40px;

}


.offcanvas-footer-line {

    width: 40px;

    height: 3px;

    background: #a7192e;

    margin-bottom: 15px;

}


.offcanvas-footer p {

    max-width: 280px;

    margin-bottom: 15px;

    color: #777777;

    font-size: 0.85rem;

    line-height: 1.6;

}


.offcanvas-contact {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #333333;

    text-decoration: none;

    font-size: 0.85rem;

    transition: color 0.3s ease;

}


.offcanvas-contact i {

    color: #a7192e;

}


.offcanvas-contact:hover {

    color: #a7192e;

}


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

@media (max-width: 768px) {

    .header-ybrea .navbar {

        min-height: 82px;

    }


    .header-container {

        min-height: 82px;

    }


    .header-logo {

        width: 100px;

        height: 65px;

    }


    .header-brand {

        gap: 14px;

    }


    .header-brand-name {

        font-size: 1.25rem;

        padding-left: 14px;

    }


    .header-brand-name::before {

        height: 25px;

    }


    .header-menu-btn {

        width: 48px;

        height: 48px;

    }


    .offcanvas-ybrea {

        width: 350px !important;

    }

}


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

@media (max-width: 480px) {

    .header-brand-name {

        font-size: 1rem;

    }


    .header-logo {

        width: 85px;

        height: 60px;

    }


    .header-brand {

        gap: 10px;

    }


    .header-brand-name {

        padding-left: 10px;

    }


    .header-menu-btn {

        width: 45px;

        height: 45px;

    }


    .offcanvas-ybrea {

        width: 100% !important;

    }

}

/* =========================================
   SECCIÓN OFERTAS Y PROMOCIONES
========================================= */

.seccion-ofertas {
    background-color: #ffffff;
}


/* =========================================
   TÍTULO
========================================= */

.titulo-seccion-ofertas {
    max-width: 900px;
    margin: 0 auto;
}

.subtitulo-ofertas {
    display: block;
    margin-bottom: 10px;

    font-size: 0.80rem;
    font-weight: 700;
    letter-spacing: 2px;

    color: #8d0b2f;
}

.titulo-seccion-ofertas h2 {
    margin: 0;

    font-size: 2.7rem;
    font-weight: 800;
    text-transform: uppercase;

    color: #111111;
}

.linea-roja-ofertas {
    width: 70px;
    height: 4px;

    margin: 18px auto 22px;

    background-color: #8d0b2f;
    border-radius: 10px;
}

.titulo-seccion-ofertas p {
    max-width: 700px;

    margin: 0 auto;

    font-size: 1.05rem;
    line-height: 1.8;

    color: #666666;
}


/* =========================================
   TARJETAS
========================================= */

.tarjeta-oferta {
    position: relative;

    display: flex;

    min-height: 330px;

    overflow: hidden;

    background-color: #ffffff;

    border: 1px solid #e2e2e2;
    border-radius: 10px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* EFECTO HOVER */

.tarjeta-oferta:hover {
    transform: translateY(-6px);

    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}


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

.contenido-oferta {
    width: 58%;

    padding: 30px 25px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}


/* =========================================
   CABECERA
========================================= */

.cabecera-oferta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 15px;
}


.badge-oferta,
.badge-promocion {

    display: inline-block;

    padding: 6px 10px;

    font-size: 0.70rem;
    font-weight: 700;

    letter-spacing: 0.7px;

    border-radius: 4px;
}


.badge-oferta {

    color: #ffffff;

    background-color: #17365d;
}


.badge-promocion {

    color: #ffffff;

    background-color: #0893d8;
}


/* =========================================
   ESTADO
========================================= */

.estado-oferta {

    font-size: 0.70rem;
    font-weight: 700;

    color: #27833c;

    white-space: nowrap;
}


/* =========================================
   TÍTULO TARJETA
========================================= */

.contenido-oferta h3 {

    margin: 0 0 12px;

    font-size: 1.45rem;
    font-weight: 600;

    line-height: 1.25;

    color: #111111;
}


/* =========================================
   DESCUENTO
========================================= */

.descuento-oferta {

    display: flex;

    align-items: baseline;

    gap: 8px;

    margin-bottom: 12px;

    font-size: 2rem;
    font-weight: 800;

    color: #17365d;
}


.descuento-oferta span {

    font-size: 0.85rem;
    font-weight: 700;

    color: #333333;

    letter-spacing: 0.5px;
}


/* =========================================
   BENEFICIO PROMOCIÓN
========================================= */

.beneficio-promocion {

    margin-bottom: 12px;

    font-size: 1.35rem;
    font-weight: 700;

    color: #0893d8;
}


.beneficio-promocion strong {
    font-size: 1.65rem;
}


.beneficio-promocion span {

    display: block;

    margin-top: -3px;

    font-size: 0.75rem;
    font-weight: 600;

    color: #666666;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* =========================================
   DESCRIPCIÓN
========================================= */

.descripcion-oferta {

    margin-bottom: 15px;

    font-size: 0.88rem;
    line-height: 1.55;

    color: #666666;
}


/* =========================================
   FECHA
========================================= */

.fecha-oferta {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    font-size: 0.80rem;
    font-weight: 600;

    color: #555555;
}


.fecha-oferta i {

    font-size: 0.95rem;

    color: #8d0b2f;
}


/* =========================================
   BOTÓN
========================================= */

.boton-oferta {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    padding: 9px 16px;

    border: 1px solid #8d0b2f;
    border-radius: 4px;

    font-size: 0.78rem;
    font-weight: 700;

    text-decoration: none;

    color: #8d0b2f;

    transition: all 0.25s ease;
}


.boton-oferta i {

    transition: transform 0.25s ease;
}


.boton-oferta:hover {

    color: #ffffff;

    background-color: #8d0b2f;
}


.boton-oferta:hover i {

    transform: translateX(4px);
}


/* =========================================
   IMAGEN
========================================= */

.imagen-oferta {

    position: relative;

    width: 42%;

    overflow: hidden;

    background-color: #f4f4f4;
}


.imagen-oferta img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}


.tarjeta-oferta:hover .imagen-oferta img {

    transform: scale(1.04);
}


/* =========================================
   ETIQUETA -5%
========================================= */

.etiqueta-descuento {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 0.95rem;
    font-weight: 800;

    color: #ffffff;

    background-color: #8d0b2f;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .tarjeta-oferta {
        min-height: 300px;
    }

    .titulo-seccion-ofertas h2 {
        font-size: 2.3rem;
    }

}


@media (max-width: 575px) {

    .titulo-seccion-ofertas h2 {
        font-size: 2rem;
    }

    .titulo-seccion-ofertas p {
        font-size: 0.95rem;
    }


    .tarjeta-oferta {

        flex-direction: column;

        min-height: auto;
    }


    .contenido-oferta {

        width: 100%;

        padding: 25px 22px;
    }


    .imagen-oferta {

        width: 100%;
        height: 220px;

        order: -1;
    }


    .cabecera-oferta {
        align-items: flex-start;
    }


    .contenido-oferta h3 {
        font-size: 1.3rem;
    }

}


.menu-link{

    font-size:18px;

    font-weight:600;

    color:#222 !important;

    transition:.25s;

}

.menu-link:hover{

    color:#8E1620 !important;

}

/* Dropdown */

.dropdown-menu-custom{

    border:none;

    border-radius:18px;

    padding:10px;

    min-width:260px;

    margin-top:12px;

    box-shadow:0 12px 35px rgba(0,0,0,.12);

    animation:fadeDropdown .25s ease;

}

/* Items */

.dropdown-item{

    border-radius:12px;

    padding:12px 16px;

    font-size:16px;

    font-weight:500;

    transition:.25s;

    display:flex;

    align-items:center;

}

.dropdown-item i{

    color:#8E1620;

    font-size:18px;

}

.dropdown-item:hover{

    background:#f5f5f5;

    color:#8E1620;

    transform:translateX(6px);

}

.dropdown-divider{

    margin:.5rem 0;

}

@keyframes fadeDropdown{

    from{

        opacity:0;

        transform:translateY(10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* Hace que la tarjeta se quede abajo */

.offcanvas-body{

    display:flex;
    flex-direction:column;

}

/* Tarjeta */

.card-ayuda{

    border-radius:18px;

    background:#fafafa;

}

/* Título */

.card-ayuda h5{

    font-weight:700;

    color:#222;

}

.card-ayuda h5 i{

    color:#8E1620;

}

/* Texto */

.texto-ayuda{

    color:#666;

    font-size:15px;

    line-height:1.6;

}

/* Lista */

.lista-ayuda{

    margin-top:18px;

}

.lista-ayuda div{

    margin-bottom:10px;

    display:flex;

    align-items:center;

    gap:10px;

    color:#444;

}

.lista-ayuda i{

    color:#8E1620;

}

/* Teléfono */

.telefono-menu{

    text-decoration:none;

    color:#222;

    font-weight:600;

    display:flex;

    align-items:center;

    gap:10px;

    transition:.25s;

}

.telefono-menu:hover{

    color:#8E1620;

}

.telefono-menu i{

    color:#8E1620;

}

/* Botón */

.boton-contacto{

    background:#8E1620;

    border:none;

    border-radius:12px;

    padding:12px;

    font-weight:600;

    transition:.25s;

}

.boton-contacto:hover{

    background:#72121a;

    transform:translateY(-2px);

}




.slide1{
    background: url("../images/carousel-1.jpg") center/cover no-repeat;
}

.slide2{
    background: url("../images/carousel-2.jpg") center/cover no-repeat;
}

.slide3{
    background: url("../images/carousel-3.jpg") center/cover no-repeat;
}

.oferta1{
    background: url("../images/oferta.png") center/cover no-repeat;
}

.oferta2{
    background: url("../images/oferta2.jpg") center/cover no-repeat;
}

.index-servicios-1{
    
    border-radius: 50px;
    height: 800px;
    background: linear-gradient(rgba(0,0,0,.05),rgba(0,0,0,.05)), url("../images/index-servicios-1.png") center/cover no-repeat;

}

.index-climatizacion-1{
    background: url("../images/climatizacion.jpg") center/cover no-repeat;
    border-radius: 50px;
    height: 500px;

}

.card{

    border:none;
    border-radius:18px;
    overflow:hidden;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

}
.card:hover{

    transform:translateY(-12px);

    box-shadow:
    0 25px 50px rgba(0,0,0,.15);

}

.card1{
    background: url("../images/card1.jpg") center/cover no-repeat;
    height: 500px;
    transition:.4s;
}

.card1:hover img{

    transform:scale(1.05);

}


.card2{
    background: url("../images/card2.png") center/cover no-repeat;
    height: 500px;
    

}

.card3{
    background: url("../images/card3.jpg") center/cover no-repeat;
    height: 500px;

}

.card4{
    background: url("../images/card4.jpg") center/cover no-repeat;
    height: 500px;

}

.backgroundservicios{
    background: url("../images/servicios background.png") center/cover no-repeat;

}

.container-ancho{
    background: linear-gradient(
      135deg,
      #7d0d1f 0%,
      #9f1018 50%,
      #b51414 100%
      );
    margin-top: 2rem; 
    margin-bottom: 2rem;
    padding: 0.5rem;
}

.title-services::after{

content:"";

display:block;

width:90px;

height:5px;

background:#7d0d1f;

margin-top:12px;

border-radius:20px;

}

.checkbox-container {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}
.servicios-lista{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.servicio-card{

    display:flex;
    align-items:center;
    gap:25px;

    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;

    padding:28px;

    transition:.3s ease;

    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.servicio-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 35px rgba(0,0,0,.10);

    border-color:#c40000;

}

.contenido h5{

    margin-bottom:8px;

    font-size:1.35rem;

    font-weight:700;

    color:#222;

}



.contenido p{

    margin:0;

    color:#666;

    font-size:1rem;

    line-height:1.7;

}




.button-servicios {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #4f4f4f;
  border-radius: 12px;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  font-size: 16px;
  font-weight:600;
  letter-spacing:.4px;
  cursor: pointer;
  color: black;
  z-index: 1;
   transition:
    .3s ease;

    box-shadow:
    0 6px 16px rgba(0,0,0,.08);
}



.button-servicios:hover{

    background:#880000;

    color:white;

    transform:translateY(-3px);

    box-shadow:
    0 14px 28px rgba(0,0,0,.16);

}




.logo-slider-marcas{

    overflow:hidden;
    background:white;
    padding:10px 0;
    position:relative;
    overflow:hidden;
}

.logo-slider-marcas::before,
.logo-slider-marcas::after{

    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;

}

.logo-slider-marcas::before{

    left:0;
    background:linear-gradient(to right,#fff,transparent);

}

.logo-slider-marcas::after{

    right:0;
    background:linear-gradient(to left,#fff,transparent);

}

.brands-title{
    font-family:'Poppins',sans-serif;

    font-size:3rem;

    font-weight:700;

    letter-spacing:.8px;

    text-align:center;

    color:#1f1f1f;

    margin-bottom:20px;

    margin-top: 150px;
}
.brands-subtitle{
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.brands-title::after{

    content:"";
    display:block;
    width:90px;
    height:4px;
    background:#880000;
    margin:18px auto 0;
    border-radius:10px;

}

.brands-title2{
    font-family:'Poppins',sans-serif;

    font-size:3rem;

    font-weight:700;

    letter-spacing:.8px;

    text-align:left;

    color:#1f1f1f;
}
.brands-subtitle2{
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.brands-title2::after{

    content:"";
    display:block;
    width:90px;
    height:4px;
    background:#880000;
    margin-top:18px;
    border-radius:10px;

}




.slide-track-marcas{

    display:flex;
    width:calc(220px * 13);
    animation:scroll 40s linear infinite;
}

.slide-marcas{

    width: 250px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin: 50px;
}

.slide-marcas img{

    max-width:150px;
    max-height: 60px;
    opacity: 1;;
    transition:.4s;
    width:auto;
    height:auto;
    object-fit:contain;
}

.slide-marcas img:hover{

    opacity:1;
    transform:scale(1.12);
}

@keyframes scroll{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(calc(-220px * 13));

    }

}

/* =====================================
   FOOTER YBREA
===================================== */

.footer-ybrea {

    position: relative;

    background: #1b1b1b;

    color: #ffffff;

    overflow: hidden;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

}


/* Línea roja inferior */

.footer-ybrea::after {

    content: "";

    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #a7192e;

}


/* =====================================
   LOGO
===================================== */

.footer-logo-box {
    width: 180px;
    height: 165px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 10px;

    padding: 10px;

    margin-bottom: 1.5rem;
}

.footer-logo {
    width: 145px;
    height: auto;
}


/* =====================================
   DESCRIPCIÓN
===================================== */

.footer-description {

    max-width: 360px;

    color: #a9a9a9;

    font-size: 0.92rem;

    line-height: 1.7;

    margin-bottom: 0.7rem;

}


/* =====================================
   TÍTULOS
===================================== */

.footer-title {

    position: relative;

    display: inline-block;

    color: #ffffff;

    font-size: 0.9rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    margin-bottom: 1.6rem;

}


/* Línea roja debajo del título */

.footer-title::after {

    content: "";

    display: block;

    width: 35px;

    height: 2px;

    background: #a7192e;

    margin-top: 9px;

}


/* =====================================
   ENLACES
===================================== */

.footer-links {

    list-style: none;

    padding: 0;

    margin: 0;

}


.footer-links li {

    margin-bottom: 0.85rem;

}


.footer-links a {

    position: relative;

    color: #a9a9a9;

    text-decoration: none;

    font-size: 0.92rem;

    transition: all 0.3s ease;

}


/* Hover */

.footer-links a:hover {

    color: #ffffff;

    padding-left: 6px;

}


/* Pequeña línea roja al hacer hover */

.footer-links a::before {

    content: "";

    position: absolute;

    left: -6px;

    top: 50%;

    width: 0;

    height: 1px;

    background: #a7192e;

    transform: translateY(-50%);

    transition: width 0.3s ease;

}


.footer-links a:hover::before {

    width: 4px;

}


/* =====================================
   CONTACTO
===================================== */

.footer-contact {

    display: flex;

    flex-direction: column;

    gap: 1.25rem;

}


.footer-contact-item {

    display: flex;

    align-items: flex-start;

    gap: 12px;

}


.footer-contact-item > i {

    color: #a7192e;

    font-size: 1.05rem;

    margin-top: 3px;

}


.footer-contact-item span {

    display: block;

    color: #777777;

    font-size: 0.72rem;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    margin-bottom: 3px;

}


.footer-contact-item p {

    color: #b5b5b5;

    font-size: 0.9rem;

    line-height: 1.5;

    margin: 0;

}


.footer-contact-item a {

    color: #b5b5b5;

    text-decoration: none;

    font-size: 0.9rem;

    transition: color 0.3s ease;

}


.footer-contact-item a:hover {

    color: #ffffff;

}


/* =====================================
   SEPARADOR
===================================== */

.footer-divider {

    width: 100%;

    height: 1px;

    background: rgba(255, 255, 255, 0.1);

    margin: 3rem 0 1.5rem 0;

}


/* =====================================
   PARTE INFERIOR
===================================== */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    color: #777777;

    font-size: 0.8rem;

    margin: 0;

}


.footer-bottom strong {

    color: #a9a9a9;

}


.footer-legal {

    display: flex;

    align-items: center;

    gap: 10px;

}


.footer-legal a {

    color: #777777;

    text-decoration: none;

    font-size: 0.78rem;

    transition: color 0.3s ease;

}


.footer-legal a:hover {

    color: #ffffff;

}


.footer-legal span {

    color: #444444;

}


/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 991px) {

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

    }

}


@media (max-width: 576px) {

    .footer-ybrea .container {

        padding-left: 25px;
        padding-right: 25px;

    }


    .footer-logo {

        width: 150px;

    }


    .footer-bottom {

        text-align: left;

    }


    .footer-legal {

        flex-wrap: wrap;

        gap: 7px;

    }

}


/* =====================================
   CTA - NECESITAS ASESORAMIENTO
===================================== */

.cta-asesoramiento {

    position: relative;

    background: #ffffff;

    padding: 75px 0;

    overflow: hidden;

}


/* Línea decorativa superior */

.cta-asesoramiento::before {

    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 70px;

    height: 3px;

    background: #a7192e;

}


/* Contenido */

.cta-contenido {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    max-width: 1050px;

    margin: 0 auto;

}


/* =====================================
   TEXTO
===================================== */

.cta-texto {

    max-width: 700px;

}


.cta-etiqueta {

    display: block;

    color: #a7192e;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 10px;

}


.cta-texto h2 {

    margin: 0 0 15px 0;

    color: #1b1b1b;

    font-size: 2.3rem;

    font-weight: 700;

    line-height: 1.2;

}


.cta-texto p {

    margin: 0;

    max-width: 650px;

    color: #666666;

    font-size: 1rem;

    line-height: 1.7;

}


/* =====================================
   BOTÓN
===================================== */

.cta-boton {

    flex-shrink: 0;

}


.btn-cta {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 13px 24px;

    background: #a7192e;

    color: #ffffff;

    text-decoration: none;

    font-size: 0.9rem;

    font-weight: 600;

    border-radius: 6px;

    border: 2px solid #a7192e;

    transition: all 0.3s ease;
    letter-spacing: .2px;

}


.btn-cta i {

    font-size: 1rem;

    transition: transform 0.3s ease;

}


/* Hover */

.btn-cta:hover {

    background: transparent;

    color: #a7192e;

}


.btn-cta:hover i {

    transform: translateX(5px);

}


/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 768px) {

    .cta-asesoramiento {

        padding: 60px 0;

    }


    .cta-contenido {

        flex-direction: column;

        align-items: flex-start;

        gap: 30px;

    }


    .cta-texto h2 {

        font-size: 2rem;

    }


    .cta-boton {

        width: 100%;

    }


    .btn-cta {

        justify-content: center;

        width: 100%;

    }

}

/* ==========================================
   SECCIÓN CATÁLOGOS
   ========================================== */

.seccion-catalogos {
    position: relative;

    padding: 100px 0;

    background-color: #f7f7f7;

    overflow: hidden;
}


/* ==========================================
   SUBTÍTULO
   ========================================== */

.catalogos-subtitulo {
    display: inline-block;

    margin-bottom: 14px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #9b1e32;
}


/* ==========================================
   TÍTULO
   ========================================== */

.catalogos-titulo {
    margin: 0 0 25px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: clamp(2.2rem, 4vw, 3.3rem);

    font-weight: 700;

    line-height: 1.15;

    color: #222222;
}

.catalogos-titulo span {
    display: block;

    color: #9b1e32;
}


/* ==========================================
   TEXTO
   ========================================== */

.catalogos-texto {
    max-width: 500px;

    margin-bottom: 32px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 17px;

    line-height: 1.8;

    color: #666666;
}


/* ==========================================
   BOTÓN
   ========================================== */

.btn-catalogos {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 14px 25px;

    background-color: #9b1e32;

    color: #ffffff;

    border: 1px solid #9b1e32;

    border-radius: 6px;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    font-weight: 700;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-catalogos i {
    font-size: 18px;

    transition: transform 0.25s ease;
}

.btn-catalogos:hover {
    background-color: #80182a;

    border-color: #80182a;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(155, 30, 50, 0.20);
}

.btn-catalogos:hover i {
    transform: translateX(5px);
}


/* ==========================================
   COMPOSICIÓN DE CATÁLOGOS
   ========================================== */

.catalogos-visual {
    position: relative;

    width: 100%;

    max-width: 600px;

    height: 500px;

    margin: 0 auto;
}


/* ==========================================
   CATÁLOGOS DEL FONDO
   ========================================== */

.catalogo-fondo {
    position: absolute;

    width: 270px;

    height: 370px;

    overflow: hidden;

    border-radius: 8px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.catalogo-fondo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* Catálogo izquierdo */

.catalogo-fondo-1 {
    top: 65px;
    left: 25px;

    transform: rotate(-20deg);
}


/* Catálogo derecho */

.catalogo-fondo-2 {
    top: 65px;
    right: 25px;

    transform: rotate(20deg);
}


/* ==========================================
   CATÁLOGO PRINCIPAL
   ========================================== */

.catalogo-principal {
    position: absolute;

    z-index: 3;

    top: 35px;
    left: 50%;

    width: 290px;
    height: 400px;

    overflow: hidden;

    border-radius: 9px;

    transform: translateX(-50%);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.20);

    transition: transform 0.4s ease;
}

.catalogo-principal img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* Efecto hover */

.catalogos-visual:hover .catalogo-principal {
    transform: translateX(-50%) translateY(-7px);
}



/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 991px) {

    .seccion-catalogos {
        padding: 80px 0;
    }

    .catalogos-visual {
        margin-top: 20px;
    }

}


@media (max-width: 767px) {

    .seccion-catalogos {
        padding: 65px 0;
    }

    .catalogos-titulo {
        font-size: 2.3rem;
    }

    .catalogos-texto {
        font-size: 16px;
    }

    .catalogos-visual {
        height: 420px;
    }

    .catalogo-fondo {
        width: 210px;
        height: 290px;
    }

    .catalogo-principal {
        width: 230px;
        height: 320px;
    }

}


@media (max-width: 500px) {

    .catalogos-visual {
        height: 360px;
    }

    .catalogo-fondo {
        width: 170px;
        height: 235px;
    }

    .catalogo-principal {
        width: 195px;
        height: 270px;
    }

    .catalogo-fondo-1 {
        left: 0;
    }

    .catalogo-fondo-2 {
        right: 0;
    }

}

/* ==========================================
   SELLO VENTA EXCLUSIVA A PROFESIONALES
   ========================================== */

.sello-profesionales {
    position: fixed;

    left: 25px;
    bottom: 25px;

    z-index: 9999;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 11px 17px 11px 12px;

    background-color: #ffffff;

    border: 1px solid rgba(155, 30, 50, 0.18);

    border-left: 4px solid #9b1e32;

    border-radius: 8px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

    font-family: Arial, Helvetica, sans-serif;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* ==========================================
   ICONO
   ========================================== */

.sello-icono {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #9b1e32;

    color: #ffffff;

    border-radius: 50%;

    flex-shrink: 0;
}

.sello-icono i {
    font-size: 19px;
}


/* ==========================================
   TEXTO
   ========================================== */

.sello-texto {
    display: flex;
    flex-direction: column;

    line-height: 1.2;
}

.sello-texto span {
    margin-bottom: 3px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.3px;

    color: #777777;
}

.sello-texto strong {
    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.4px;

    color: #222222;
}


/* ==========================================
   HOVER
   ========================================== */

.sello-profesionales:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.16);
}


/* ==========================================
   MÓVIL
   ========================================== */

@media (max-width: 576px) {

    .sello-profesionales {
        left: 15px;
        bottom: 15px;

        padding: 9px 13px 9px 9px;

        gap: 9px;
    }

    .sello-icono {
        width: 34px;
        height: 34px;
    }

    .sello-icono i {
        font-size: 17px;
    }

    .sello-texto span {
        font-size: 8px;
    }

    .sello-texto strong {
        font-size: 12px;
    }

}

/* ==========================================
   BANNER DE COOKIES
========================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #dddddd;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.12);
    z-index: 99999;
    padding: 20px 30px;
}

.cookie-banner-contenido {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-banner-texto {
    flex: 1;
}

.cookie-banner-texto h5 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #222222;
}

.cookie-banner-texto p {
    margin: 0 0 7px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555555;
}

.cookie-enlace {
    color: #8b1e2d;
    font-size: 0.85rem;
    text-decoration: underline;
}

.cookie-enlace:hover {
    color: #6f1824;
}


/* ==========================================
   BOTONES DEL BANNER
========================================== */

.cookie-banner-botones {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner-botones button {
    min-width: 110px;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
}


/* BOTÓN ACEPTAR */

#btn-aceptar-cookies {
    background-color: #8b1e2d;
    border-color: #8b1e2d;
}

#btn-aceptar-cookies:hover {
    background-color: #6f1824;
    border-color: #6f1824;
}


/* ==========================================
   PANEL DE CONFIGURACIÓN
========================================== */

.cookie-modal {
    position: fixed;
    inset: 0;

    background-color: rgba(0, 0, 0, 0.55);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 100000;

    padding: 20px;
}

.cookie-modal.activo {
    display: flex;
}

.cookie-modal-contenido {
    position: relative;

    width: 100%;
    max-width: 650px;

    max-height: 90vh;
    overflow-y: auto;

    background-color: #ffffff;

    border-radius: 12px;

    padding: 35px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.cookie-modal-contenido h4 {
    margin: 0 0 12px 0;

    font-size: 1.5rem;
    font-weight: 700;

    color: #222222;
}

.cookie-modal-descripcion {
    color: #666666;

    font-size: 0.9rem;

    line-height: 1.6;

    margin-bottom: 25px;
}


/* BOTÓN CERRAR */

.cookie-modal-cerrar {
    position: absolute;

    top: 15px;
    right: 18px;

    border: none;
    background: transparent;

    font-size: 30px;

    line-height: 1;

    color: #777777;

    cursor: pointer;
}

.cookie-modal-cerrar:hover {
    color: #222222;
}


/* ==========================================
   OPCIONES DE COOKIES
========================================== */

.cookie-opcion {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 25px;

    padding: 20px 0;

    border-top: 1px solid #eeeeee;
}

.cookie-opcion-texto {
    flex: 1;
}

.cookie-opcion-texto h5 {
    margin: 0 0 6px 0;

    font-size: 1rem;

    font-weight: 700;

    color: #222222;
}

.cookie-opcion-texto p {
    margin: 0;

    font-size: 0.85rem;

    line-height: 1.5;

    color: #666666;
}


/* ==========================================
   TEXTO "SIEMPRE ACTIVAS"
========================================== */

.cookie-switch span {
    font-size: 0.8rem;

    font-weight: 600;

    color: #777777;

    white-space: nowrap;
}


/* ==========================================
   INTERRUPTOR
========================================== */

.switch {
    position: relative;

    display: inline-block;

    width: 50px;
    height: 27px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;

    cursor: pointer;

    inset: 0;

    background-color: #cccccc;

    border-radius: 30px;

    transition: 0.3s;
}

.slider::before {
    content: "";

    position: absolute;

    width: 21px;
    height: 21px;

    left: 3px;
    top: 3px;

    background-color: white;

    border-radius: 50%;

    transition: 0.3s;
}

.switch input:checked + .slider {
    background-color: #8b1e2d;
}

.switch input:checked + .slider::before {
    transform: translateX(23px);
}


/* ==========================================
   BOTONES DEL MODAL
========================================== */

.cookie-modal-botones {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #eeeeee;
}

.cookie-modal-botones button {
    padding: 10px 16px;

    border-radius: 6px;

    font-weight: 600;
}

#btn-aceptar-configuracion {
    background-color: #8b1e2d;
    border-color: #8b1e2d;
}

#btn-aceptar-configuracion:hover {
    background-color: #6f1824;
    border-color: #6f1824;
}


/* ==========================================
   BOTÓN FIJO DE PREFERENCIAS
========================================== */

.btn-preferencias-cookies {
    position: fixed;

    bottom: 15px;
    right: 15px;

    z-index: 9998;

    background-color: #ffffff;

    color: #333333;

    border: 1px solid #dddddd;

    border-radius: 6px;

    padding: 8px 13px;

    font-size: 0.78rem;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);

    cursor: pointer;

    display: none;
}

.btn-preferencias-cookies:hover {
    background-color: #f5f5f5;
}

.btn-preferencias-cookies span {
    margin-right: 4px;
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 768px) {

    .cookie-banner {
        padding: 18px;
    }

    .cookie-banner-contenido {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .cookie-banner-botones {
        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 100%;
    }

    .cookie-banner-botones button {
        width: 100%;
    }

    #btn-aceptar-cookies {
        grid-column: span 2;
    }

    .cookie-modal-contenido {
        padding: 25px 20px;
    }

    .cookie-opcion {
        align-items: flex-start;
    }

    .cookie-modal-botones {
        flex-direction: column;
    }

    .cookie-modal-botones button {
        width: 100%;
    }

}