@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-history {
    padding: 50px 0;
    background-color: #E5E5E5;
}

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

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

.block-history .col-lg-offset-1 {
    margin-left: 8.33333333%;
} 

.block-history .history-margin {  
    margin-top: 50px;
}

.block-history .field--name-field-txt-paragraph {  
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 23px;  
    letter-spacing: normal;
    margin: 0 0 10px;
    color: #000000;
    text-align: left;
}

.manufacture-right {
    padding: 35px 0;
}

#manufacture .field--name-field-subtit-paragraph {
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 37px;
    margin-top: 5px;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: left;
}

#manufacture .field--name-field-tit-paragraph {
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 37px;
    letter-spacing: normal;
    margin-top: 5px;
    margin-bottom: 25px;
    color: #222;
    text-align: left;
}

#manufacture .history-margin {
    margin-bottom: 30px;
} 

#manufacture .field--name-field-txt-paragraph {  
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 23px;  
    letter-spacing: normal;
    margin: 0 0 10px;
    color: #000000;
    text-align: left;
}

#manufacture .manufacture-left {
    padding: 0;
}

#manufacture .fs-1 {
    font-style: normal;
    font-weight: 1 !important;
    font-size: 90px !important;
    line-height: 1 !important;
    margin-bottom: 10px !important;
    color: #E42618 !important;
    letter-spacing: 0.02em;
}

#porque-autofren {
    position: relative;
    background-image: url('../img/porque-autofren2.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;
}
#porque-autofren 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;
}
#sliderPorque {
    width: 100%;
} 
#sliderPorque .carousel-inner {
    width: 77%;
    margin: 0% auto; 
    height: 100%;
}
#sliderPorque .carousel-item {
    min-height: 100vh;   
    position: relative;
}
#sliderPorque .contenido-slide {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; 
}
#sliderPorque .carousel-item.active {
    display: flex;  
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#sliderPorque h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}
#sliderPorque p {
    max-width: 600px; 
    font-weight: 500; 
    margin-bottom: 30px;
    color: white;
    font-size: 36px;
    line-height: 37px;
    letter-spacing: 0.02em;
}
.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) {
    #sliderPorque .carousel-inner {
        width: 90%;
    }
}
@media (max-width: 997px) {
    #sliderPorque .carousel-inner {
        width: 95%;
    }
}
@media (max-width: 940px) {
    #sliderPorque .contenido-slide {
        width: 55%;
    }
}
@media (max-width: 768px) {
    #sliderPorque .carousel-inner {
        width: 95%;
    } 
    .carousel-control-prev, .carousel-control-next {
        display: none;
    }
}

#enfocados-en-ti h2 {
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 37px;
    margin-top: 5px;
    letter-spacing: normal; 
    text-align: left;
}
#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-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 37px;
    letter-spacing: normal;
    margin-top: 5px;
    margin-bottom: 25px;
    color: #222;
    text-align: left;
}
#enfocados-en-ti p {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 23px;  
    letter-spacing: normal;
    margin: 0 0 10px;
    color: #000000;
    text-align: left;
}

.manufacture-right {
    padding: 35px 0;
}

#services .field--name-field-subtit-paragraph {
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 37px;
    margin-top: 5px;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: left;
}

#services .field--name-field-tit-paragraph {
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 37px;
    letter-spacing: normal;
    margin-top: 5px;
    margin-bottom: 25px;
    color: #222;
    text-align: left;
}

#services .history-margin {
    margin-bottom: 30px;
} 

#services .field--name-field-txt-paragraph {  
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 23px;  
    letter-spacing: normal;
    margin: 0 0 10px;
    color: #000000;
    text-align: left;
}

#services .manufacture-left {
    padding: 0;
}

#services .fs-1 {
    font-style: normal;
    font-weight: 1 !important;
    font-size: 90px !important;
    line-height: 1 !important;
    margin-bottom: 10px !important;
    color: #E42618 !important;
    letter-spacing: 0.02em;
}

#services ul {
    padding-left: 1.5em;
}

#services ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

#services li {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: normal; 
    color: #000000;
    text-align: left;
}

#en-un-minuto {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.block-video-minuto .background-image {
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.block-video-minuto .overlay {
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  /*background-color: rgba(0, 0, 0, 0.4);*/ /* si quieres opacidad */
  z-index: 1;
}

.block-video-minuto .caption {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem; /* opcional para responsive */
}

.block-video-minuto .play-icon {
    display: block;
    width: 64px;
    height: 64px;
    background: url('../img/play.svg') no-repeat center center;
    background-size: contain;
    pointer-events: none;
} 

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 ratio */
}

.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-dialog {
  max-width: 90%;
  margin: auto;
}

.modal-content {
  background-color: #000; /* o lo que prefieras */
  border-radius: 0;
  padding: 0;
  border: none;
}

.modal .ratio {
  width: 100%;
  height: auto;
}

.modal iframe {
  width: 100%;
  height: 100%;
  display: block;
}







.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;
            } 
            
            #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);
            }  
            
