/* ====================================================================
   TABLA DE CONTENIDOS (ÍNDICE)
==================================================================== 
   1. FUENTES (Tipografía)
   2. UTILIDADES Y COMPONENTES GLOBALES (Botones, Tarjetas, Alineaciones)
   3. TÍTULO DE PÁGINA Y MIGAS DE PAN (Page Title & Breadcrumbs)
   4. SECCIÓN: CONTACTO (contact.php)
   5. SECCIÓN: BANNER DE COOKIES
   6. SECCIÓN: MARCAS Y ANIMACIÓN VÍBORA
   7. REGLAS RESPONSIVAS (Media Queries)
==================================================================== */

/* ====================================================================
   1. FUENTES
==================================================================== */
@font-face {
    font-family: 'neuropolregular';
    src: url('neuropol-webfont.eot');
    src: url('neuropol-webfont.eot?#iefix') format('embedded-opentype'),
         url('neuropol-webfont.woff') format('woff'),
         url('neuropol-webfont.ttf') format('truetype'),
         url('neuropol-webfont.svg#neuropolregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ====================================================================
   2. UTILIDADES Y COMPONENTES GLOBALES
==================================================================== */
/* Botones de compatibilidad mejorados */
.btn-compat-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.btn-compat {
    padding: 3px 3px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    white-space: nowrap;
}

/* Colores específicos */
.btn-unity { background: #eef4f9; color: #2c5d8a; border-color: #2c5d8a; }
.btn-alta { background: #f0f7f4; color: #387860; border-color: #387860; }

/* Brand Icon */
.brand-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background-color: #fff;
    transition: transform 0.2s;
}

.brand-icon:hover {
    transform: scale(1.1);
}

.brand-icon img {
    width: 100%;
    height: auto;
}

/* Alineaciones */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.vertical-align {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

/* Tarjetas (Cards) y Subtítulos */
.card { margin-top: 10px; }
.card .card-header { background-color: #fff; }
.card .card-header a { width: 100%; text-align: left;  }
.card .card-header a > i {
    float: right;
    font-size: 14px;
    margin-top: 2px;
    color: #f26723;
}

h4.sub-title { padding-left: 20px; margin-bottom: 20px }
h4.sub-title::before{
    background: #f26723 none repeat scroll 0 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    top: 100%;
    width: 80px;
}

/* Utilidades Varias */
.bg-imagen::before {
    background-image: url("../images/wrap_img.jpg");
    background-position: center center;
    background-size: cover;
    bottom: 0;
    content: "";
    right: 0;
    position: absolute;
    top: 0;
    width: 50%;
}

.section-infografia { margin-top: 20px; }
.ul-bullet, .ul-bullet li { list-style:square; margin-left: 15px; }
.padding-10 { padding:10px 10px; }




/* ====================================================================
   4. SECCIÓN: CONTACTO (contact.php)
==================================================================== */
.contact-section{
  position: relative;
}

.contact-section .title-box .title h2{
  position: relative;
  display: block;
  line-height: 46px;
  padding-top: 25px;
  margin-bottom: 58px;
}

.contact-section .title-box .title h2 span{
  font-weight: 500;
}

.contact-section .title-box .title h2:before{
  position: absolute;
  content: '';
  background: #e94f1b;
  width: 30px;
  height: 3px;
  left: 50%;
  margin-left: -25px;
  top: 0px;
}

.contact-section .contact-info{
  position: relative;
  background: #e94f1b;
  color: #ffffff;
  padding: 45px 30px 50px 46px;
}

.contact-section .contact-info .title h3{
  position: relative;
  display: block;
  color: #ffffff;
  padding-top: 11px;
  margin-bottom: 26px;
}

.contact-section .contact-info .title h3:before{
  position: absolute;
  content: '';
  background: #ffffff;
  width: 30px;
  height: 3px;
  left: 0px;
  top: 0px;
}

.contact-section .contact-info .single-info h5{
  color: #ffffff;
  line-height: 25px;
}

.contact-section .contact-info .single-info .text a{
  color: #fff;
}

.contact-section .contact-info .single-info{
  margin-bottom: 25px;
}

.contact-section .contact-info .social li{
  position: relative;
  float: left;
  margin-right: 4px;
}

.contact-section .contact-info .social li:last-child{
  margin-right: 0px;
}

.contact-section .contact-info .social li a{
  position: relative;
  display: inline-block;
  font-size: 16px;
  color: #222222;
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: #f2f2f2;
  text-align: center;
}

.contact-section .contact-info .social li a:hover{
  background: #222222;
  color: #ffffff;
}

.contact-section .contact-info .info-box{
  position: relative;
  display: block;
  padding-bottom: 14px;
}

.contact-section .contact-form-area .form-group{
  position: relative;
  margin-bottom: 20px;
}

.contact-section .contact-form-area .form-group:last-child{
  margin-bottom: 0px;
}

.contact-section .contact-form-area .form-group input[type='text'],
.contact-section .contact-form-area .form-group input[type='email'],
.contact-section .contact-form-area .form-group textarea{
  width: 100%;
  height: 62px;
  background: #f2f2f2;
  border: 1px solid #f2f2f2;
  padding: 15px 20px;
  transition: all 500ms ease;
}

.contact-section .contact-form-area .form-group textarea{
  height: 230px;
  resize: none;
}

.contact-section .contact-form-area .form-group input:focus,
.contact-section .contact-form-area .form-group textarea:focus{
  border: 1px solid #e94f1b;
}

.contact-section .contact-form-area .form-group button{
  position: relative;
  display: inline-block;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #222222;
  border: 2px solid #222222;
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  padding: 13px 45px 12px 45px;
  transition: all 500ms ease;
}

.contact-section .contact-form-area .form-group button:hover{
  background: #e94f1b;
  border: 2px solid #e94f1b;
  color: #ffffff;
}

.contact-section .contact-form-area .form-group .contact-btn{
  position: relative;
  float: right;
  padding-top: 4px;
}


/* ====================================================================
   5. SECCIÓN: BANNER DE COOKIES
==================================================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  z-index: 1000;
}

#cookie-banner p {
    color: #ffffff !important;
    font-size: 14px;
    line-height: 20px;
}

#cookie-banner a {
  color: #f1c40f;
  text-decoration: none;
}

#cookie-banner button {
  background-color: #f1c40f;
  color: #333;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-left: 20px;
}

#cookie-banner button:hover {
  background-color: #e67e22;
}


/* ====================================================================
   6. SECCIÓN MARCAS Y ANIMACIÓN VÍBORA
==================================================================== */
.brand-section{ position: relative; }
.brand-section .inner-content{ position: relative; margin: 0px -125px; }
.brand-section .title-box{ position: relative; }
.brand-section .title-box .title h2, .titulo h2 { position: relative; padding-top: 29px; text-transform: uppercase; color: #585857; }
.brand-section .title-box .title h2:before, .titulo h2:before{ position: absolute; content: ''; background: #e94f1b; width: 30px; height: 3px; left: 0px; top: 0px; }
.brand-section .title-box .text{ position: relative; font-size: 14px; font-family: 'Poppins', sans-serif; line-height: 20px; text-transform: uppercase; }
.brand-section .brand-content{ position: relative; float: right; }
.brand-section .brand-content li.image-box{ position: relative; float: left; margin-right: 25px; margin-top: 10px; margin-bottom: 10px; }
.brand-section .brand-content li.image-box:last-child{ margin-right: 0px; }
.brand-section .brand-content li.image-box img{ transition: all 500ms ease; }
.brand-section .brand-content li.image-box:hover img{ transform: scale(1.03); }

.brands-section-grid { background: #ffffff; padding: 80px 0; overflow: hidden; border-top: 1px solid #f2f2f2; border-bottom: 1px solid #f2f2f2; }
.brands-container { display: flex; flex-direction: column; gap: 40px; }
.brands-row { display: flex; width: 100%; }
.brands-track { display: flex; width: calc(250px * 12); }
.row-1 .brands-track { animation: marquee-inf 30s linear infinite; }
.row-2 .brands-track { animation: marquee-inf 40s linear infinite reverse; }
.row-3 .brands-track { animation: marquee-inf 35s linear infinite; }
.brand-item { width: 250px; flex-shrink: 0; display: flex; justify-content: center; align-items: center; padding: 0 20px; }
.brand-item:nth-child(odd) { animation: float-up 4s ease-in-out infinite; }
.brand-item:nth-child(even) { animation: float-down 4s ease-in-out infinite; animation-delay: 0.8s; }
.brand-item img { max-width: 150px; height: auto; filter: grayscale(100%); opacity: 0.5; transition: transform 0.2s ease-out, filter 0.2s ease, opacity 0.2s ease; user-select: none; }
.brand-item img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.3); cursor: pointer; }

@keyframes marquee-inf { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 6)); } }
@keyframes float-up { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes float-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(15px); } }


/* ====================================================================
   7. REGLAS RESPONSIVAS (Media Queries)
==================================================================== */
@media only screen and (min-width: 1024px) {
  .main-header .header-top::before {
    border-color: #f15a27 transparent;
    border-style: solid;
    border-width: 49px 0 0 45px;
    content: "";
    right: 0px;
    position: absolute;
    top: 0;
    width: 65%;
  }
  .main-header .header-top .top-right li { color:#fff; }
  .main-header .header-top .top-right li a { color:#fff;   }
  .main-header .header-top .top-right li a:hover { color:#222;  }
}

@media only screen and (max-width: 1200px) {
  .call-to-action::before {
    position: absolute;
    content: '';
    background: rgba(233, 79, 27, 1);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px; 
    border:0;
  }
  .margin-top-60 { margin-top: 60px; }
}

@media (max-width: 992px) { 
  .news-block-one { flex: 0 0 calc((100cqw - 30px) / 2); } 
}

@media only screen and (max-width: 800px) {
  .bg-imagen::before {
      background:none;
  }
  .gallery-images li { width: 44%; margin: 0 0.5%; }
  .main-slider h1 {
    font-size: 30px;
    line-height: 40px; 
  }
}

@media (max-width: 767px) { 
  .news-block-one { flex: 0 0 calc(100cqw); } 
}