/* ==========================================================
   VARIABLES
========================================================== */

:root {

  --primary: #153980;
  --secondary: #0080cc;
  --terciary: #0066a3;  

  --white: #ffffff;
  --black: #000000;

  --text: #777;
  --text-light: #6f6f6f;

  --border: #e8e8e8;

  --bg: #ffffff;
  --bg-light: #f8f9fa;

  --shadow: 0 12px 40px rgba(0, 0, 0, .08);
  --radius: 8px;
  --transition: .35s ease;
  --container: 1320px;

  --swiper-navigation-size: 24px;

}

/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

section {
  position: relative;
  overflow: hidden;
}

.section-heading h2, .brands-title h2, .products-header h1 {
  font-size: clamp(2rem, 1.5vw + 1rem, 3rem);
}

/* ==========================================================
   TIPOGRAFÍA
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;

}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 20px;
}

/* ==========================================================
   UTILIDADES
========================================================== */

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.bg-primary {
  background: var(--primary) !important;
}

.bg-secondary {
  background: var(--secondary) !important;
}

/* ==========================================================
   HEADER
========================================================== */

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  transition: all .35s ease;
}

#header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.navbar {
  min-height: 90px;
  padding: 0;
}

.navbar-brand {
  margin: 0;
  padding: 0;
}

.navbar-brand img {
  width: 207px;
  height: auto;
}

.navbar-nav {
  gap: 18px;
}

.navbar .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 34px 0 !important;
  color: var(--primary);
  font-size: .92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}

/* Línea superior */

.navbar .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--secondary);
  transform: translateX(-50%);
  opacity: 0;
  transition: .35s ease;
}

.navbar .nav-link:hover::before,
.navbar .nav-link.active::before,
.navbar .dropdown:hover>.nav-link::before,
.navbar .dropdown.show>.nav-link::before {
  width: 100%;
  opacity: 1;
}

/* Chevron */

.navbar .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.navbar .dropdown-toggle::after {
  display: none;
}

.nav-item.dropdown {
  position: relative;
}

.navbar-expand-lg .navbar-nav li {
  padding: 0px 15px;
}

.nav-item.dropdown::before {
  content: "\f107";
  font-family: "Font Awesome 7 Pro";
  font-size: .70rem;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  pointer-events: none;
  color: currentColor;
}

/* Dropdown */

.dropdown-menu {
  border: 0;
  border-radius: 0;
  padding: 15px 0;
  margin-top: 0;
  box-shadow: var(--shadow);
}

.dropdown-item {
  padding: 11px 24px;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition);
}

.dropdown-item:hover {
  color: var(--text);
  background: #f7f7f7;
}

/* Hover desktop */

@media (min-width:992px) {
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
    animation: fadeDown .25s ease;
  }
}

@keyframes fadeDown {

  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

/* Buscador */

.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--primary);
  font-size: 1.05rem;
  transition: var(--transition);
}

.btn-search:hover {
  color: var(--secondary);
}

/* Hamburguesa */
.navbar-toggler {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.navbar-toggler span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: var(--primary);
  transition: var(--transition);
}


/* ==========================================================
   ANIMACIONES
========================================================== */

@keyframes fadeDown {

  from {
    opacity: 0;
    transform: translateY(10px);

  }

  to {
    opacity: 1;
    transform: translateY(0);

  }

}

/* ==========================================================
   MOBILE MENU
========================================================== */

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transition: .35s ease;
  z-index: 9998;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  max-width: 90%;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: .35s ease;
  z-index: 9999;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 25px;
  border-bottom: 1px solid #ececec;
}

.mobile-logo img {
  width: 170px;
  height: auto;
}

.mobile-close {
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  color: var(--primary);
  font-size: 1.4rem;
}

.mobile-search {
  padding: 22px 25px;
}

.mobile-search form {
  position: relative;
}

.mobile-search input {
  width: 100%;
  height: 48px;
  border: 1px solid #dcdcdc;
  border-radius: 30px;
  padding: 0 50px 0 18px;
  font-size: .95rem;
}

.mobile-search button {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #777;
}

.mobile-nav {
  padding: 0 25px 30px;
}

.mobile-nav>ul>li {
  border-bottom: 1px solid #efefef;
}

.mobile-nav a,
.mobile-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
}

.mobile-nav button i {
  font-size: .8rem;
  transition: .3s ease;
}

.mobile-nav .has-sub ul {
  display: none;
  padding: 0 0 15px 18px;
}

.mobile-nav .has-sub ul li {
  border: 0;
}

.mobile-nav .has-sub ul a {
  padding: 10px 0;
  color: var(--text);
  font-size: .95rem;
  font-weight: 400;
  text-transform: none;
}

.mobile-nav .has-sub.open>button i {
  transform: rotate(180deg);
}

.mobile-nav .has-sub.open ul {
  display: block;
}

/* ==========================================================
   BUSCADOR PC
========================================================== */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-box {
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  position: relative;
  transform: scale(.95);
  transition: .25s ease;
}

.search-overlay.active .search-box {
  transform: scale(1);
}

.search-box form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box input {
  flex: 1;
  height: 48px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 1rem;
}

.search-box button[type="submit"] {
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
}

.search-close {
  position: absolute;
  top: -38px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  background: none;
  font-size: 1.2rem;
  color: white;
}

@media (max-width:991.98px) {

  .navbar {
    min-height: 80px;
  }

  .navbar-nav {
    gap: 0;
  }

  .navbar .nav-link {
    padding: 14px 0 !important;
  }

  .btn-search {
    justify-content: flex-start;
    margin-top: 15px;
  }

}

@media (min-width:992px) {

  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeDown .25s ease;

  }
}

@media (min-width:992px) {

  .mobile-menu,
  .mobile-overlay {
    display: none;
  }
}

@media (max-width:991.98px) {

  .navbar-nav {
    display: none;
  }

  .navbar-toggler {
    display: block;
  }
  .mycrosSlider {
    height: 85vh;
  }
}

@media (min-width:992px) {
  .navbar-toggler {
    display: none;
  }  
}


/* ==========================================================
   SLIDER
========================================================== */

.mycrosSlider {
  height: 70vh;
  padding-top: 90px;  
  box-sizing: border-box;
}

.swiper-slide {
  position: relative;
}

/* =========================
   VIDEO SLIDE
========================= */

.video {
  width: 100%;
}

.video-fit {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
}

.video-fit iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================
   BACKGROUND SLIDES
========================= */

.slide-bg {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
}


 .slide-video .row {
  min-height: 60vh;
  display: flex;
  align-items: center;
} 

.slide-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide-1 {
  background-image: url("../imagenes/Laboratorio_-header.jpg");
}

.slide-2 {
  background-image: url("../imagenes/home_slide-CATALOGO-04-1-1400x478.jpg");
}

.slide-text h3 {
  color: var(--secondary);
  position: relative;
  font-size: 3rem;
  font-weight: 600;
  margin-top: 0px;
}

.slide-text h3::after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: #fff;
    margin: 15px auto 0;
}

.swiper-button-next, .swiper-button-prev {
  color: white;
}

.slide-text h2 {
  margin-bottom: 0px;
}

.slide-video {
  background-color: rgb(21, 57, 128);
  display: flex;
  align-items: center;
}

.swiper-backface-hidden .swiper-slide {
  padding: 0;
}

/* overlay oscuro */
.slide-bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .25);
  z-index: 1;
}

/* contenido encima */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  margin: 0 auto;
}

.slide-content .icono {
  max-width: 50px;
}

.slide-content.center {
  text-align: center;
  margin: 0 auto;
}

/* tipografía */
.slide-content h2 {
  font-size: 2em;
  margin-bottom: 15px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
}

.slide-content p {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 0px;
}

/* botón */
.slider-btn {
  margin-top: 20px;
  display: inline-block;
  padding: 0 1.2em;
  border: 2px solid white;
}

.slider-btn:hover, 
.slider-btn:active,
.slider-btn:focus {
  background: white;
  color: var(--text-light);  
}

.slider-btn.celeste {
  background: var(--secondary);
  color: white;
  border: 0px;
  font-size: 17px;
}

.slider-btn.celeste:hover, 
.slider-btn.celeste:active,
.slider-btn.celeste:focus {
  background: var(--terciary);
  color: white;
  border: 0px;
}


/* ==========================================================
   NOSOTROS
========================================================== */

.features-section {
    padding: 90px 0 100px;
    background: #f5f6f7;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading h2 {
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
    color: var(--secondary);
}

.section-heading h2 span {
    color: var(--primary);
    font-weight: 500;
}

.features-banner {
    height: 340px;
    background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)),
                url("../imagenes/Mycross-23.jpg") center 57% / cover no-repeat;
}

.features-cards {
    margin-top: -110px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: #fff;
    border-top: 10px solid var(--secondary);
    padding: 40px 35px 60px;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    transition: .35s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,.14);
}

.feature-card img {
    width: 43px;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 18px;
    color: var(--primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 28px;
    font-size: 16px;
}

.feature-card .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    position: absolute;
    bottom: 30px;
}

.feature-card .btn-link::after {
    content: "";
    width: 50%;
    height: 2px;
    background: currentColor;
    position: absolute;
    left: 50%;
    bottom: -4px;
    transition: .3s;
    transform: translateX(-50%);
}

.feature-card .btn-link:hover::after {
    width: 100%;
}



@media (max-width: 991.98px) {

    .features-banner {
        height: 300px;
    }

    .features-cards {
        margin-top: -80px;
    }

}

@media (max-width: 767.98px) {

    .features-section {
        padding: 70px 0;
    }

    .features-banner {
        height: 240px;
    }

    .features-cards {
        margin-top: -50px;
    }

    .feature-card {
        padding: 30px;
    }

    .feature-card h3 {
        font-size: 1.6rem;
    }

    .feature-card .btn-link {
      position: relative;
      bottom: auto;
    }

}

/* ==========================================================
   PRODUCTOS DESTACADOS
========================================================== */

.featured-products{
    position:relative;
    padding:90px 0;
    background:#fff;
    border-top:8px solid var(--secondary);
}

.section-title{
    gap:24px;
    margin-bottom:50px;
}

.section-title img{
    width:68px;
    flex-shrink:0;
}

.section-title h2{
    margin:0;
    font-size:2.4rem;
    color:var(--primary);
    font-weight:600;
}

.featured-product{
    transition:.35s;
}

.featured-product a{
    display:block;
    text-decoration:none;
}

.featured-product-image{
    display:flex;
    justify-content:center;
    align-items:center;
    background:#fff;
    overflow:hidden;
}

.featured-product-image img{
    width:86%;
    transition:.45s;
}

.featured-product-caption{
    background:rgba(21,57,128,.20);
    color:var(--primary);
    text-align:center;
    padding:18px;
    font-weight:700;
    letter-spacing:.04em;
    transition:.35s;
}

.featured-product:hover{
    transform:translateY(-8px);
}

.featured-product:hover img{
    transform:scale(1.05);
}

.featured-product:hover .featured-product-caption{
    background:var(--primary);
    color:#fff;
}

.featuredProductsSwiper{
    padding:0 55px;
}

.featured-products .swiper-button-next,
.featured-products .swiper-button-prev{
    color:var(--secondary);
    width:46px;
    height:46px;
}

.featured-products .swiper-button-next::after,
.featured-products .swiper-button-prev::after{
    font-size:22px;
    font-weight:700;
}

@media (max-width:991px){

    .featuredProductsSwiper{
        padding:0 35px;
    }

}

@media (max-width:767px){

    .featured-products{
        padding:70px 0;
    }

    .section-title{
        margin-bottom:35px;
    }

    .section-title h2{
        font-size:2rem;
    }

    .section-title img{
        width:54px;
    }

    .featuredProductsSwiper{
        padding:0 18px;
    }

}


/* ==========================================================
   MARCAS
========================================================== */

.brands-section {
    padding: 0 0 90px;
    background: #fff;
}

.brands-header {
    padding: 55px 0;
    margin-bottom: 70px;
    background:
        url("../imagenes/fondo-slider-triangulos-azul-blanco.png") right center / cover no-repeat,
        var(--secondary);
}

.brands-title {
    border-left: 6px solid var(--primary);
    padding-left: 30px;
    margin: 0 auto;
}

.brands-title h2 {
    margin: 0;
    line-height: 1.15;
    font-weight: 600;
    color: #fff;
}

.brandsSwiper {
    overflow: hidden;
}

.brandsSwiper .swiper-wrapper {
    align-items: center;
    transition-timing-function: linear;
}

.brandsSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
}

.brandsSwiper .swiper-slide a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.brandsSwiper img {
    max-width: 170px;
    max-height: 55px;
    width: auto;
    height: auto;
    opacity: .75;
    filter: grayscale(100%);
    transition: .35s;
}

@media (hover:hover) {

    .brandsSwiper .swiper-slide:hover img {
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1.05);
    }

}

@media (max-width:991.98px) {

    .brands-header {
        margin-bottom: 55px;
        padding: 45px 0;
    }

}

@media (max-width:767.98px) {

    .brands-section {
        padding-bottom: 70px;
    }

    .brands-header {
        padding: 35px 0;
        margin-bottom: 40px;
        background-position: 70% center;
    }

    .brands-title {
        padding-left: 20px;
    }

    .brandsSwiper img {
        max-width: 130px;
        max-height: 45px;
        opacity: 1;
        filter: none;
    }

}

/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,.85);
    margin-top: 0;
}

.site-footer .container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer-brand img {
    width: 90px;
    margin-bottom: 28px;
}

.footer-brand p {
    max-width: 320px;
    margin: 0;
    line-height: 1.9;
    color: rgba(255,255,255,.75);
    font-size: 14px;
}

.site-footer h3 {
    margin: 0 0 28px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
}

.footer-contact,
.footer-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-contact i {
    width: 18px;
    margin-top: 4px;
    color: white;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact a,
.footer-nav a {
    color: rgba(255,255,255,.80);
    text-decoration: none;
    transition: .3s;
}

.footer-contact a:hover,
.footer-nav a:hover {
    color: #fff;
}

.footer-nav li {
    margin-bottom: 8px;
    border-bottom: 1px solid hsla(0, 0%, 100%, .08);
}

.footer-nav li:last-child {
    margin-bottom: 0;
    border:0px;
}

.footer-nav a {
    display: inline-block;
    position: relative;
    font-size: 14px;
}

.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: .3s;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 22px 0;
    text-align: center;
    background: var(--primary);
}

.footer-bottom p {
    margin: 0;
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    font-size: 14px;
}

.footer-bottom .container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.footer-nav-bottom {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav-bottom li {
  display: inline-block;
  margin: 10px;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  font-size: 14px;
}
.footer-nav-bottom li a:hover,
.footer-nav-bottom li a:active,
.footer-nav-bottom li a:focus {
  color: white;
}

@media (max-width: 991.98px) {

    .footer-brand {
        text-align: center;
    }

    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand p {
        max-width: 100%;
    }

}

@media (max-width: 767.98px) {   

    .site-footer h3 {
        margin-bottom: 20px;
        font-size: 1.2rem;
    }

    .footer-contact li {
        margin-bottom: 18px;
    }

    .footer-bottom {
        padding: 18px 0;
    }

    .footer-bottom p {
        font-size: .9rem;
    }

}

/* ==========================================================
   PRODUCTOS LISTADO
========================================================== */

.products-header {
    position: relative;
    background-color: var(--primary);       
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 20px 0;
}

.products-header .container,
.products-header-inner {
    position: relative;
    z-index: 2;
}

.products-header-inner {
    display: flex;
    align-items: center;
    min-height: 40px;
}

.products-header h1 {
    margin: 0;
    color: #fff;    
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* --- Sidebar de filtros (categorías + marcas) --- */

.products-filter {
    margin-bottom: 32px;
}

.products-filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e8ef;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.products-filter-title i {
    color: var(--secondary);
    font-size: .85em;
}

.products-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.products-filter-list a {
    display: block;
    padding: 6px 0;
    color: var(--text);
    text-decoration: none;
    font-size: .88rem;
    line-height: 1.35;
    word-break: break-word;
    transition: color .2s ease;
}

.products-filter-list a:hover {
    color: var(--secondary);
}

.products-filter-list a.active {
    color: var(--primary);
    font-weight: 600;
}

.products-filter-all {
    font-weight: 500;
}

/* Categorías con subcategorías desplegables */

.products-cat-row {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.products-cat-row a {
    flex: 1 1 auto;
    min-width: 0;
}

.products-cat-toggle {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    padding: 6px 2px;
    color: #98a1b3;
    cursor: pointer;
    line-height: 1;
}

.products-cat-toggle i {
    transition: transform .25s ease;
}

.products-cat-toggle:hover {
    color: var(--primary);
}

.products-cat-item.open .products-cat-toggle i {
    transform: rotate(180deg);
}

.products-cat-sub {
    display: none;
    list-style: none;
    margin: 0 0 4px;
    padding: 0 0 0 12px;
}

.products-cat-item.open .products-cat-sub {
    display: block;
}

.products-cat-sub a {
    font-size: .82rem;
    padding: 5px 0;
    color: #6c7a91;
}

/* Botón "Filtrar productos" (solo móvil) */

.products-filter-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 18px;
    padding: 11px 16px;
    border: 1px solid #d7dbe4;
    border-radius: 8px;
    background: #f7f8fb;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: .92rem;
    font-weight: 500;
    cursor: pointer;
}

.products-filter-toggle .fa-angle-down {
    margin-left: auto;
    transition: transform .25s ease;
}

.products-filter-toggle[aria-expanded="true"] .fa-angle-down {
    transform: rotate(180deg);
}

/* Toolbar sobre la grilla */

.products-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.products-toolbar-title {
    margin: 0;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
}

.products-count {
    background: #f2f4f8;
    border-radius: 20px;
    padding: 4px 12px;
    color: #6c7a91;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.products-page {
    padding: 70px 0 80px;
    background: #fff;
}

.product-card {
    height: 100%;
}

.product-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: center;
}

.product-image img {
    width: 100%;
    max-width: 290px;
    height: auto;
    transition: transform .35s ease;
    margin: 0 auto;
}

.product-info {
    padding: 18px 0 0;
    text-align: center;
    min-height: 88px;
}

.product-category {
    margin: 0px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
}

.product-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.6;
    transition: color .25s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-card:hover .product-title {
    color: var(--secondary);
}

@media (max-width: 991.98px) {

    .products-page {
        padding: 60px 0 70px;
    }

    .products-filter {
        margin-bottom: 24px;
    }

}

@media (max-width: 767.98px) {

    .products-header {
        margin-top: 0;
        margin-bottom: 28px;
        padding: 14px 0;
    }

    .products-header-inner {
        justify-content: center;
        min-height: 0;
    }

    .products-header h1 {
        text-align: center;
        font-size: 1.15rem !important;
    }

    .products-page {
        padding: 45px 0 60px;
    }

    .products-toolbar {
        justify-content: center;
        margin-bottom: 20px;
    }

    .products-toolbar-title {
        font-size: 1.05rem;
    }

    .product-image img {
        max-width: 240px;
    }

    .product-info {
        min-height: auto;
    }

}

/* Paginación */

.products-pagination {
    margin-top: 70px;
    display: flex;
    justify-content: center;
}

.products-pagination ul {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.products-pagination a,
.products-pagination span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: .25s;
}

.products-pagination a {
    background: #fff;
    border: 1px solid #d7d7d7;
    color: var(--primary);
}

.products-pagination a:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.products-pagination a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.products-pagination span {
    color: #999;
}

@media (max-width: 767.98px) {

    .products-pagination {
        margin-top: 50px;
    }

    .products-pagination ul {
        gap: 6px;
        flex-wrap: wrap;
    }

    .products-pagination a,
    .products-pagination span {
        width: 38px;
        height: 38px;
        font-size: .9rem;
    }

}

/* ==========================================================
   SERVICIOS / SERVICIO TÉCNICO
========================================================== */

.services-hero {
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 340px;
    background-color: #0080cc;
    background-position: right bottom;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.services-hero .container {
    width: 100%;
    padding-top: 70px;
    padding-bottom: 70px;
}

.services-hero-content {
    max-width: 720px;
}

.services-hero-icon {
    width: 36px;
    height: auto;
    margin-bottom: 18px;
    display: block;
}

.services-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff !important;
    text-transform: uppercase;
}

.services-hero p {
    margin: 0 0 12px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .95) !important;
}

.services-hero p strong {
    font-weight: 700;
}

.services-hero-brands {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.services-hero-brands img {
    max-height: 42px;
    width: auto;
    max-width: 150px;
}

.services-block {
    padding: 70px 0;
    background: #fff;
}

.services-block--accent {
    background: rgba(0, 128, 204, .67);
    color: #fff;
}

.services-media {
    margin: 0;
    overflow: hidden;
}

.services-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 35% 56%;
}

.services-copy {
    border-left: 4px solid var(--primary);
    padding-left: 22px;
}

.services-copy h2 {
    margin: 0 0 18px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary);
}

.services-copy p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.services-block--accent .services-copy {
    border-left-color: var(--primary);
}

.services-block--accent .services-copy h2,
.services-block--accent .services-copy p {
    color: #fff;
}

@media (max-width: 991.98px) {

    .services-hero {
        min-height: 280px;
    }

    .services-hero .container {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .services-block {
        padding: 50px 0;
    }

    .services-copy {
        margin-top: 8px;
    }

}

@media (max-width: 767.98px) {

    .services-hero {
        min-height: 0;
        background-position: 70% bottom;
    }

    .services-hero .container {
        padding-top: 45px;
        padding-bottom: 50px;
    }

    .services-hero h1 {
        font-size: 1.8rem;
        text-align: left;
    }

    .services-hero p {
        font-size: 1rem;
    }

    .services-hero-brands {
        gap: 20px;
    }

    .services-hero-brands img {
        max-height: 34px;
        max-width: 120px;
    }

    .services-block {
        padding: 40px 0;
    }

    .services-copy {
        padding-left: 16px;
    }

    .services-copy h2 {
        font-size: 1.25rem;
    }

}

/* ==========================================================
   NOSOTROS (página /nosotros)
========================================================== */

.about-hero {
    background-color: #0080cc;
    background-image: url("../webfiles/mycros/nosotros/fondo-lineas.png");
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    margin: 0;
    padding: 0;
}

.about-hero-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 380px;
}

.about-hero-video {
    flex: 1 1 55%;
    position: relative;
    min-height: 380px;
    background: #0d2352;
    overflow: hidden;
}

.about-hero-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-hero-text {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 120px 24px 60px;
    color: #fff;
}

.about-hero-text h2 {
    margin: 0 0 4px;
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 500;
    color: #153980 !important;
    line-height: 1.05;
}

.about-hero-text h1 {
    margin: 0;
    font-size: clamp(2.6rem, 5.2vw, 4rem);
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.05;
}

.about-hero-divider {
    width: 100px;
    height: 5px;
    background: #153980;
    margin: 22px auto;
}

.about-hero-text p {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: #ffffff !important;
}

.about-block {
    padding: 70px 0;
    background: #fff;
}

.about-block-alt {
    background: #f7f9fb;
}

.about-copy {
    border-left: 6px solid var(--primary);
    padding-left: 22px;
}

.about-copy h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    line-height: 1.25;
    color: var(--secondary);
    font-weight: 600;
    margin: 0 0 24px;
}

.about-copy h2 span {
    color: var(--primary);
}

.about-copy p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.about-photo {
    margin: 0;
    overflow: hidden;
}

.about-photo img,
.aboutGallerySwiper img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.aboutGallerySwiper {
    position: relative;
}

.aboutGallerySwiper .swiper-button-prev,
.aboutGallerySwiper .swiper-button-next {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

.about-quote {
    background-color: var(--primary);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 90px 20px;
    text-align: center;
    position: relative;
}

.about-quote::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(21, 57, 128, .55);
}

.about-quote .container {
    position: relative;
    z-index: 1;
}

.about-quote h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.25;
}

.about-facilities {
    padding: 80px 0 90px;
    background: #fff;
}

.about-facilities-heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-facilities-heading h2 {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 1.2;
}

.about-facilities-heading p {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-facility-card {
    background: #fff;
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.about-facility-card figure {
    margin: 0;
}

.about-facility-card figure img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.about-facility-body {
    padding: 24px 22px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.about-facility-body h3 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 600;
}

.about-facility-body p {
    color: var(--text);
    line-height: 1.55;
    margin: 0 0 20px;
    flex: 1;
}

.about-facility-body .btn-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .9rem;
    align-self: flex-start;
}

.about-facility-body .btn-link:hover {
    color: var(--primary);
}

@media (max-width: 991.98px) {

    .about-hero-inner {
        flex-direction: column;
        min-height: 0;
    }

    .about-hero-video {
        flex: none;
        width: 100%;
        min-height: 0;
        padding-top: 56.25%;
    }

    .about-hero-text {
        flex: none;
        width: 100%;
        padding: 50px 20px;
    }

    .about-block {
        padding: 50px 0;
    }

    .about-photo img,
    .aboutGallerySwiper img {
        height: 280px;
    }

    .about-quote {
        padding: 70px 20px;
    }

}

@media (max-width: 767.98px) {

    .about-copy {
        border-left-width: 4px;
        padding-left: 16px;
    }

    .about-facility-card figure img {
        height: 200px;
    }

}

/* ==========================================================
   LABORATORIO DE CALIBRACIONES
========================================================== */

.lab-hero {
    width: 100%;
    min-height: 320px;
    height: 320px;
    background-color: #153980;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.lab-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(21, 57, 128, .28);
}

.lab-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.lab-hero-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lab-hero-chevron {
    display: block;
    width: 28px;
    height: auto;
    margin-bottom: 18px;
}

.lab-hero h1 {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lab-intro {
    padding: 60px 0 70px;
    background: #fff;
}

.lab-intro h2 {
    margin: 0 0 22px;
    color: #0080cc !important;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 600;
    line-height: 1.35;
}

.lab-intro p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.lab-intro p strong {
    color: var(--text);
    font-weight: 700;
}

.lab-cert {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.lab-cert img {
    max-width: 100%;
    width: 420px;
    height: auto;
    display: block;
}

.lab-cert-btn {
    display: inline-block;
    background: #0080cc;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .04em;
    padding: 12px 28px;
    border: none;
}

.lab-cert-btn:hover {
    background: #153980;
    color: #fff !important;
}

.lab-service {
    display: flex;
    width: 100%;
    min-height: 420px;
    align-items: stretch;
}

.lab-service-media,
.lab-service-panel {
    flex: 1 1 50%;
    width: 50%;
    min-height: 420px;
}

.lab-service-media {
    overflow: hidden;
    background: #e9eef5;
}

.lab-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lab-service-panel {
    background-color: #f4f7fa;
    background-position: right bottom;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
}

.lab-service-panel-inner {
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.lab-service-heading {
    flex: 0 0 auto;
    text-align: right;
    max-width: 180px;
}

.lab-service-heading img {
    width: 72px;
    height: auto;
    margin-bottom: 12px;
    display: inline-block;
}

.lab-service-heading h3 {
    margin: 0;
    color: #0080cc !important;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: right;
}

.lab-service-heading h3 span {
    color: #153980;
}

.lab-service-panel-inner ul {
    list-style: disc;
    margin: 0;
    padding-left: 22px;
    border-left: 3px solid #153980;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
}

.lab-service-panel-inner ul li {
    margin-bottom: 4px;
}

@media (max-width: 991.98px) {

    .lab-hero {
        min-height: 240px;
        height: 240px;
    }

    .lab-service,
    .lab-service--reverse {
        flex-direction: column;
    }

    .lab-service--reverse .lab-service-panel {
        order: 2;
    }

    .lab-service--reverse .lab-service-media {
        order: 1;
    }

    .lab-service-media,
    .lab-service-panel {
        width: 100%;
        flex: none;
        min-height: 280px;
    }

    .lab-service-media {
        min-height: 260px;
        height: 260px;
    }

    .lab-service-panel {
        padding: 40px 24px;
    }

    .lab-cert {
        align-items: flex-start;
    }

}

@media (max-width: 575.98px) {

    .lab-service-panel-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .lab-service-heading {
        text-align: left;
        max-width: none;
    }

    .lab-service-heading h3 {
        text-align: left;
    }

    .lab-service-panel-inner ul {
        width: 100%;
    }

}

/* ==========================================================
   CONTACTO
========================================================== */

.contact-hero {
    width: 100%;
    min-height: 320px;
    height: 320px;
    background-color: #153980;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(21, 57, 128, .45);
}

.contact-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.contact-hero-content {
    text-align: center;
    color: #fff;
}

.contact-hero h1 {
    margin: 0 0 12px;
    color: #ffffff !important;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
}

.contact-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .95) !important;
    font-size: 1.15rem;
}

.contact-section {
    padding: 60px 0 70px;
    background: #f4f6f8;
}

.contact-form-card {
    background: #fff;
    max-width: 720px;
    margin: 0 auto 50px;
    padding: 40px 36px 44px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.contact-form-card h2 {
    margin: 0;
    text-align: center;
    color: #0080cc !important;
    font-size: 1.6rem;
    font-weight: 600;
}

.contact-divider {
    width: 60px;
    height: 3px;
    background: #153980;
    margin: 16px auto 28px;
}

.contact-form .form-label {
    color: var(--text);
    font-weight: 500;
    margin-bottom: 6px;
}

.contact-form .form-control {
    border-radius: 0;
    border-color: #d0d5dd;
    padding: 10px 12px;
}

.contact-form .form-control:focus {
    border-color: #0080cc;
    box-shadow: 0 0 0 .2rem rgba(0, 128, 204, .15);
}

.contact-submit {
    display: inline-block;
    background: #153980;
    color: #fff;
    border: none;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 12px 36px;
    text-transform: uppercase;
    cursor: pointer;
}

.contact-submit:hover {
    background: #0080cc;
}

.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-thanks {
    text-align: center;
    padding: 30px 10px 10px;
}

.contact-thanks i {
    font-size: 2.4rem;
    color: #0080cc;
    margin-bottom: 16px;
    display: block;
}

.contact-thanks p {
    margin: 0;
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
}

.contact-error {
    background: #fdecea;
    color: #b42318;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: .95rem;
}

.contact-info-row {
    margin-top: 10px;
}

.contact-info-card {
    background: #fff;
    height: 100%;
    text-align: center;
    padding: 32px 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.contact-info-card h3 {
    margin: 0 0 8px;
    color: #153980 !important;
    font-size: 1.35rem;
    font-weight: 600;
}

.contact-info-card p {
    margin: 0 0 18px;
    color: var(--text);
    line-height: 1.55;
}

.contact-info-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-btn {
    display: inline-block;
    background: #0080cc;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    padding: 10px 18px;
    min-width: 200px;
}

.contact-btn:hover {
    background: #153980;
    color: #fff !important;
}

.contact-map {
    width: 100%;
    line-height: 0;
}

.contact-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

@media (max-width: 767.98px) {

    .contact-hero {
        min-height: 240px;
        height: 240px;
    }

    .contact-form-card {
        padding: 28px 20px 32px;
    }

    .contact-map iframe {
        height: 300px;
    }

}

/* ==========================================================
   FÁBRICA / MARCAS MYCROS
========================================================== */

.fabrica-hero {
    background-color: #153980;
    background-image: url('../webfiles/mycros/marcas/fondo-lineas.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto 100%;
    overflow: hidden;
}

.fabrica-hero-text {
    text-align: right;
    color: #fff;
    padding: 60px 70px 60px 24px;
}

.fabrica-hero-text h2 {
    margin: 0;
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
}

.fabrica-hero-text h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 600;
    color: #0080cc;
}

.fabrica-hero-divider {
    width: 100px;
    height: 5px;
    background: #fff;
    margin: 20px 0 20px auto;
}

.fabrica-hero-text p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #fff;
}

.fabricaSwiper {
    height: 550px;
}

.fabrica-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.fabricaSwiper .swiper-button-prev,
.fabricaSwiper .swiper-button-next {
    color: #fff;
}

.fabricaSwiper .swiper-button-prev::after,
.fabricaSwiper .swiper-button-next::after {
    font-size: 30px;
    font-weight: 700;
}

/* Listado de productos de la línea */

.marcas-products {
    padding: 80px 0 90px;
    background: #fff;
}

.marcas-title {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 50px;
}

.marcas-title span {
    flex: 1;
    height: 1px;
    background: rgba(21, 57, 128, .25);
}

.marcas-title h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-align: center;
}

.marcas-card {
    position: relative;
    height: 100%;
    background: #fff;
}

.marcas-card a {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.marcas-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: #fff;
}

.marcas-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}

.marcas-card-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    background: rgba(64, 94, 148, .85);
    color: #fff;
    text-align: center;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.45;
    padding: 12px 14px;
    transition: background .3s ease;
}

.marcas-card:hover .marcas-card-image img {
    transform: scale(1.05);
}

.marcas-card:hover .marcas-card-caption {
    background: var(--primary);
}

@media (max-width: 991.98px) {

    .fabrica-hero-text {
        text-align: center;
        padding: 125px 24px 45px;
    }

    .fabrica-hero-divider {
        margin: 20px auto;
    }

    .fabricaSwiper {
        height: 380px;
    }

}

@media (max-width: 767.98px) {

    .fabrica-hero-text h1,
    .fabrica-hero-text h2 {
        font-size: 2.3rem;
    }

    .fabricaSwiper {
        height: 260px;
    }

    .marcas-products {
        padding: 60px 0 70px;
    }

    .marcas-title {
        gap: 14px;
        margin-bottom: 35px;
    }

    .marcas-title h2 {
        font-size: 1.4rem;
    }

    .marcas-card-caption {
        font-size: .8rem;
        padding: 9px 10px;
        bottom: 12px;
    }

}