@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 100% !important;
    }
}

.row {
    margin-right: -15px !important;
    margin-left: -15px !important;
}  
@media (min-width: 1200px) {
    .containerr {
        width: 1170px;
    }
} 
.containerr {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.block-videohero {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.block-videohero .cabecera {
    width: 100%;
    max-height: 480px;
    position: relative;
}

.block-videohero video.media__element {
    width: 100%;
    height: auto;
    display: block;
} 

.video-embed-container {
    margin-top: 10px;
    max-width: 480px;
}

.video-embed-container img {
    width: 100%;
    cursor: pointer;
    display: block;
}

.video-embed-container .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: url('../img/play-icon.svg') no-repeat center center;
    background-size: contain;
    pointer-events: none;
}

.block-introblock {
    padding: 50px 0;
}

.block-introblock .field--name-field-subtit-paragraph {
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 37px;
    margin-top: 5px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.block-introblock .field--name-field-tit-paragraph {
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 37px;
    margin-top: 5px;
    margin-bottom: 25px;
    color: #222;
}

.block-introblock .field--name-field-txt-paragraph p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.block-productblock {
    padding: 50px 0;
    background: #E5E5E5;
}

.block-productblock .field--name-field-subtit-paragraph {
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 0.5em;
    color: #333;
}

.block-productblock .field--name-field-tit-paragraph {
    font-weight: 700;
    font-size: 1.8em;
    margin-bottom: 1.5em;
    color: #222;
}

.block-productblock .field--name-field-txt-col-izda,
.block-productblock .field--name-field-txt-col-dcha {
    font-size: 1em;
    line-height: 1.5em;
    color: #555;
} 

.views-view-grid .col {
  margin-bottom: 30px;
  text-align: center;
}

.views-field-field-imagen .field-content a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px; 
  transition: box-shadow 0.3s ease;
} 

.media__image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s ease;
  display: block;
}

.views-field-field-imagen .field-content a:hover .media__image {
  transform: scale(1.05);
}

.caption {
  margin-top: 10px;
  font-weight: 600;
  color: #212529;
}

.caption .nombre a {
  color: #212529;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.caption .nombre a:hover {
  color: #007bff;
  text-decoration: underline;
}

.caption .enlace a {
  font-size: 0.9rem;
  color: #007bff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.caption .enlace a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Clearfix para filas responsivas */
.clearfix.visible-xs-block {
  display: none;
}

@media (max-width: 575.98px) {
  .clearfix.visible-xs-block {
    display: block;
    clear: both;
  }
}

.clearfix.visible-sm-block {
  display: none;
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .clearfix.visible-sm-block {
    display: block;
    clear: both;
  }
}

.clearfix.visible-md-block {
  display: none;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .clearfix.visible-md-block {
    display: block;
    clear: both;
  }
}

.clearfix.visible-lg-block {
  display: none;
}

@media (min-width: 992px) {
  .clearfix.visible-lg-block {
    display: block;
    clear: both;
  }
}

.catalogblock-grid .containerr {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.catalogblock-grid .row {
  margin-right: -15px;
  margin-left: -15px;
}
.catalogblock-grid .col {
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  min-height: 1px;
}

.catalogblock-grid img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: all 0.5s ease;
}

.catalogblock-grid .caption {
  position: relative;
}
.catalogblock-grid .caption .nombre {
  width: 55%;
  display: inline-block;
}
.catalogblock-grid .caption .nombre a {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #000;
}
.catalogblock-grid .caption .enlace {
  display: inline-block;
  width: 40%;
  position: absolute;
  right: 0;
}
.catalogblock-grid .caption .enlace a {
  font-weight: 500;
  font-size: 16px;
  line-height: 17px;
  letter-spacing: 0.02em;
  position: absolute;
  text-align: right;
  top: 5px;
  color: #E42618;
}
.catalogblock-grid .caption .enlace a:hover {
    text-decoration: none;
    background-color: transparent;
}

.catalogblock-grid .caption .enlace a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.catalogblock-grid .caption .enlace a:hover::before {
  transform: translateX(4px);  
}
.catalogblock-grid .caption .enlace a::before {
  content: url(../img/red-arrow.svg);  
  display: inline-block;
  padding-right: 10px;
  position: relative;
  top: 2px;
  transition: all 0.4s ease;
} 

.form-group .containerr {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}


.catalogblock-grid img:hover {
    transition: all 0.5s ease;
    transform: scale(1.1, 1.1);
} 

body {
                font-family: 'Platform Web', sans-serif;
                font-size: 16px;
                font-style: normal;
                font-weight: 300;
                line-height: 1.3; 
                text-align: left;
                color: #000000;
            }
            #noticias h2.block-title {
                font-size: 24px;
                font-weight: 300;
                text-transform: uppercase;
                text-align: center;
                margin: 40px 0 20px;
                letter-spacing: 0.03em;
            }
            #noticias .card-title {
                font-size: 20px;
                font-weight: 500;
                color: #000;
            }
            #noticias .card-text {
                font-size: 16px;
            }
            #noticias .card {
                border: none;
            }
            #noticias .card-title a {
                color: #000000;
                font-size: 20px;
                line-height: 24px;
                font-weight: 400;
                padding: 25px 0;
                display: block;
                text-decoration: none;
            }
            #noticias .card-title a:hover { 
                text-decoration: underline;
            }
            #noticias h6 {
                font-family: inherit;
                font-weight: 500;
                line-height: 1.1;
                color: inherit;
            }
            #noticias .news-link {
                font-size: 14px;
                font-weight: 500;
                color: #E42618;
                display: inline-block;
                margin: 30px 0;
                line-height: 16px;  
                display: block;
                text-decoration: none;
            }
            #noticias .news-link::before {
                content: url('../img/red-arrow.svg');
                display: inline-block;
                padding-right: 5px;
                position: relative;
                top: 2px;
                transition: all 0.3s ease;
            } 
            #noticias .news-link:hover::before {
                transform: translateX(4px);
            }
            #noticias img {
                max-width: 100%;
                height: auto;
                display: block;
            }
            #noticias img:hover {
                transition: all 0.5s ease;
                transform: scale(1.1, 1.1);
            }
            #noticias strong {
                font-weight: bold;
            }
            #img-hero .media-hero {
                height: 100vh;
                background-size: cover;
                background-repeat: no-repeat;
                background-attachment: fixed;
                background-position: center center;
            } 
            #enfocados-en-ti h2 {
                font-size: 36px;
                line-height: 37px;
                font-weight: 500;
            }
            #enfocados-en-ti .section-label {
                font-size: 18px;
                line-height: 37px;
                font-weight: 300;
                text-transform: uppercase;
                letter-spacing: 0.03em;
            }
            #enfocados-en-ti .highlight-title {
                font-size: 90px;
                font-weight: 250;
                color: #E42618;
                line-height: 1;
                margin-bottom: 10px;
            }
            #enfocados-en-ti p {
                font-size: 16px;
                font-weight: 300;
                line-height: 20px;
                letter-spacing: 0.02em;
            } 
            #catalogo .bg-cover {
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;
            } 
            #catalogo .bg-fixed {
                background-attachment: fixed;
            } 
            #catalogo .catalogo-caption {
                color: #FFFFFF;
                font-weight: 500;
                letter-spacing: 0.02em;
            } 
            #catalogo .catalogo-subtitulo {
                font-size: 20px;
                line-height: 1;
                text-transform: uppercase;
            } 
            #catalogo .catalogo-cuerpo,
            #catalogo .catalogo-cuerpo a {
                font-size: 36px;
                line-height: 1;
                width: 50%;
                margin-left: auto;
                margin-right: auto;
                margin-top: 7%;
                margin-bottom: 7%; 
            } 
            @media (max-width: 768px) {
                #catalogo .catalogo-cuerpo,
                #catalogo .catalogo-cuerpo a {
                    width: 90%;
                }
            }
            #catalogo .catalogo-enlace {
                font-size: 14px;
                line-height: 37px;
                position: relative;
            } 
            #catalogo .catalogo-enlace::before {
                content: url('../img/white-arrow.svg');  
                display: inline-block;
                padding-right: 5px;
                position: relative;
                top: 1px;
                left: -10px;
                transition: transform 0.3s ease;
            }
            #catalogo .catalogo-enlace:hover::before {
                transform: translateX(4px);
            }  
            #que-nos-hace-diferentes {
                position: relative;
                background-image: url('../img/innovacion.jpg');
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;
                background-attachment: fixed;
                min-height: 100vh; 
                text-align: center;
                color: white;
                padding: 40px 0;
            }
            #que-nos-hace-diferentes h2 {
                position: absolute;
                top: 0;
                font-size: 20px;
                line-height: 55px;
                text-align: center;
                letter-spacing: 0.02em;
                text-transform: uppercase;
                left: 0;
                right: 0;
                margin-top: 40px;
            }
            #sliderDiferentes {
                width: 100%;
            } 
            #sliderDiferentes .carousel-inner {
                width: 77%;
                margin: 0% auto; 
                height: 100%;
            }
            #sliderDiferentes .carousel-item {
                min-height: 100vh;   
                position: relative;
            }
            #sliderDiferentes .contenido-slide {
                height: 100vh;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                text-align: center;
            }
            #sliderDiferentes .carousel-item.active {
                display: flex;  
                flex-direction: column;
                justify-content: center;
                align-items: center;
            }
            #sliderDiferentes h3 {
                font-size: 26px;
                font-weight: 700;
                margin-bottom: 20px;
            }
            #sliderDiferentes p {
                max-width: 600px;
                font-size: 16px;
                font-weight: 500;
                line-height: 1.6;
                margin-bottom: 30px;
                color: white;
            }
            .numeracion {
                font-size: 13px;
                font-weight: 500;
                letter-spacing: 0.02em;
            }
            .carousel-control-prev-icon, .carousel-control-next-icon {
                width: 100px !important;
                height: 100px !important;
                background-size: 100px 100px !important;
            }
            .carousel-control-prev-icon {
                background-image: url('../img/white-arrow-left.svg') !important;
            }
            .carousel-control-next-icon {
                background-image: url('../img/white-arrow-right.svg') !important;
            }
            .carousel-control-prev, .carousel-control-next {
                top: 50% !important;
                transform: translateY(-50%);
                width: 100px !important;      
                height: 100px;
                position: absolute !important;
                z-index: 10 !important;
            } 
             @media (max-width: 1163px) {
                #sliderDiferentes .carousel-inner {
                    width: 90%;
                }
            }
            @media (max-width: 997px) {
                #sliderDiferentes .carousel-inner {
                    width: 95%;
                }
            }
            @media (max-width: 940px) {
                #sliderDiferentes .contenido-slide {
                    width: 55%;
                }
            }
            @media (max-width: 768px) {
                #sliderDiferentes .carousel-inner {
                    width: 95%;
                } 
                .carousel-control-prev, .carousel-control-next {
                    display: none;
                }
            }
