/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --fpm-yellow: #fdd835;
  --fpm-dark: #1a1a1a;
  --fpm-black: #000000;
  --font-primary: 'League Spartan', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}

/* General Styles */
body {
  font-family: var(--font-secondary);
  color: #333;
}


/* Títulos usan League Spartan */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-primary);
  font-weight: 700;
}

/* Botones usan League Spartan */
.btn,
button {
  font-family: var(--font-primary);
  font-weight: 800;
}

/* Navegación usa League Spartan */
.nav-link,
.navbar-nav .nav-link {
  font-family: var(--font-primary);
}

/* Header */
.header-main {
  background-color: var(--fpm-black);
  position: relative;
}

.header-main .logo {
  height: 60px;
  width: auto;
}

.header-main .nav-link {
  color: #fff !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.header-main .nav-link:hover,
.header-main .nav-link.active {
  color: var(--fpm-yellow) !important;
}

element.style {}

.btn,
button {
  font-family: var(--font-primary);
  font-weight: 800;
}

.btn-group-lg>.btn,
.btn-lg {
  --bs-btn-padding-y: 0.5rem;
  --bs-btn-padding-x: 1rem;
  --bs-btn-font-size: 1.25rem;
  --bs-btn-border-radius: var(--bs-border-radius-lg);
}

.btn-outline-light {
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: #fdd835;
}

.btn-contacto {
  background-color: var(--fpm-yellow) !important;
  border-color: var(--fpm-yellow) !important;
  color: var(--fpm-black) !important;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
}

.btn-contacto:hover {
  background-color: #fbc02d !important;
  border-color: #fbc02d !important;
}

/* Hero Slider */
.hero-slider {
  position: relative;
}

.hero-content .btn-warning {
  background-color: #fdd835;
}

.hero-slide {
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: 0;
  margin-right: auto;
  padding-top: 7vw;
  padding-bottom: 7vw;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--fpm-yellow);
}

/* Hero carousel - Flechas con SVG */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 80px;
  height: 80px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  z-index: 10;
  background: transparent;
  border: none;
}

.hero-slider .carousel-control-prev {
  left: 100px;
}

.hero-slider .carousel-control-next {
  right: 100px;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
  width: 80px !important;
  height: 80px !important;
  background-image: none !important;
  background-color: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Flecha izquierda con SVG */
.hero-slider .carousel-control-prev-icon::after {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg width='203px' height='203px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12H20M4 12L8 8M4 12L8 16' stroke='%23ffffff' stroke-width='1.152' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Flecha derecha con SVG */
.hero-slider .carousel-control-next-icon::after {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg width='203px' height='203px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' transform='rotate(180)'%3E%3Cpath d='M4 12H20M4 12L8 8M4 12L8 16' stroke='%23ffffff' stroke-width='1.152' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Features Slider - ACTUALIZADO */
.features-slider {
  background-color: #ffffff;
  position: relative;
  overflow: visible;
  padding: 4rem 0;
}

.features-slider .carousel {
  overflow: visible;
}

.feature-slider-card {
  background: #fdd835;
  border-radius: 15px;
  padding: 2rem 2.5rem;
  text-align: left;
  height: 100%;
  min-height: 200px;
  max-height: 220px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.feature-slider-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}



.feature-slider-icon svg {
  stroke: #000;
  width: 45px;
  height: 45px;
}

/* Flechas del features slider con los mismos SVGs del hero */
.features-slider .carousel-control-prev,
.features-slider .carousel-control-next {
  width: 80px !important;
  height: 80px !important;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1 !important;
  z-index: 10;
  background: transparent !important;
  border: none !important;
}

.features-slider .carousel-control-prev {
  left: -100px !important;
}

.features-slider .carousel-control-next {
  right: -100px !important;
}

.features-slider .carousel-control-prev-icon,
.features-slider .carousel-control-next-icon {
  width: 80px !important;
  height: 80px !important;
  background-image: none !important;
  background-color: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.features-slider .carousel-control-prev-icon::after,
.features-slider .carousel-control-next-icon::after {
  content: '' !important;
  display: block;
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Flecha izquierda - mismo SVG del hero pero en negro */
.features-slider .carousel-control-prev-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg width='203px' height='203px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12H20M4 12L8 8M4 12L8 16' stroke='%23000000' stroke-width='1.152' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Flecha derecha - mismo SVG del hero pero en negro */
.features-slider .carousel-control-next-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg width='203px' height='203px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' transform='rotate(180)'%3E%3Cpath d='M4 12H20M4 12L8 8M4 12L8 16' stroke='%23000000' stroke-width='1.152' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.feature-slider-card h3 {
  color: #000;
  font-weight: bold;
  margin: 0;
  font-size: 1.1rem;
  text-align: left;
  flex: 1;
}

/* Features Section */
.feature-card {
  background-color: var(--fpm-yellow);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  color: var(--fpm-black);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  color: var(--fpm-black);
  margin: 0;
}

/* Product Cards */
.product-card {
  background: #fff;
  border: 1px solid #000000;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.product-image {
  padding: 1rem;
  margin-bottom: -12px;
  text-align: center;
}

.product-image img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

.product-info {
  padding: 1.75rem 2rem;
}

.product-info p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

.product-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  color: #000;
  border-bottom: 2px solid #ddd;
  margin-left: -2rem;
  margin-right: -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Botón ver más como texto */
.product-info .btn {
  border: none;
  background: transparent;
  color: #000;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
  margin-top: 0;
  border-bottom: 1px solid #ddd;
}

.product-info .btn:hover {
  color: #666;
  background: transparent;
}


/* About Section */
.about-section {
  background-image: url("../images/bg-home-nosotros.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}


.about-section .container {
  position: relative;
  z-index: 2;
  height: 26em;
}

.about-section img {
  max-width: 74%;
  margin-top: 19px;
}

.about-section p {
  font-weight: 500;
}

.about-section .btn {
  font-weight: 800;

}

/* CTA Sections */
.cta-sections {
  padding: 3rem 0;
}

.cta-sections .container {
  max-width: 1120px !important;
  /* Más ancho que el container general */
}

.cta-sections .row {
  align-items: stretch;
  gap: 1rem;
  /* Reducido el gap entre columnas */
}

/* Columnas con anchos personalizados */
.cta-sections .col-lg-6:first-child {
  flex: 0 0 60% !important;
  /* Catálogos ocupa 60% */
  max-width: 60% !important;
  display: flex;
}

.cta-sections .col-lg-6:last-child {
  flex: 0 0 38% !important;
  /* Productos + Cotización ocupan 38% */
  max-width: 38% !important;
}

.cta-sections .col-lg-6:last-child .row {
  height: 100%;
  gap: 1rem;
  /* Gap entre productos y cotización */
}

.cta-sections .col-lg-6:last-child .col-12 {
  display: flex;
  padding: 0 !important;
  /* Eliminar padding de Bootstrap */
}

.cta-card {
  border-radius: 18px;
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  z-index: 2;
  position: relative;
  line-height: 1.2;
}

.cta-icon {
  z-index: 2;
  position: relative;
}

.cta-icon svg,
.cta-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Catálogos - con imagen de fondo */
.cta-catalogos {
  background-image: url("../images/bg-featured-catalogo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  height: 100%;
  min-height: 330px;
}

.cta-catalogos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Productos */
.cta-productos {
  background-color: var(--fpm-yellow);
  color: var(--fpm-black);
  min-height: 160px;
  margin-bottom: 1rem;
  /* Gap con cotización */
}

/* Cotización telefónica */
.cta-cotizacion {
  background-color: var(--fpm-black);
  color: #fff;
  min-height: 160px;
}

/* Layout de las CTA cards */
.cta-sections .row {
  align-items: stretch;
}

.cta-sections .col-lg-6:first-child {
  display: flex;
}

.cta-sections .col-lg-6:last-child .row {
  height: 100%;
}

.cta-sections .col-lg-6:last-child .col-12 {
  display: flex;
}

.cta-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* variables para espaciamiento e ícono */
  --cta-pad: 2.25rem;
  --cta-icon-size: 104px;
  display: block;
}

.cta-card .cta-content {
  position: absolute;
  left: var(--cta-pad);
  bottom: var(--cta-pad);
  z-index: 2;
}

.cta-card .cta-content h3 {
  font-size: 1.8rem;
  line-height: 1.1;
  margin: 0;
}

/* Íconos por card (derecha, centrados verticalmente) */
.cta-productos::before,
.cta-cotizacion::before {
  content: "";
  position: absolute;
  right: var(--cta-pad);
  top: 50%;
  transform: translateY(-50%);
  width: var(--cta-icon-size);
  height: var(--cta-icon-size);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}

.cta-productos::before {
  background-image: url("../images/icon-featured-productos.png");
}

.cta-cotizacion::before {
  background-image: url("../images/1111.png");
}

/* Línea divisoria antes del ícono */
.cta-productos::after,
.cta-cotizacion::after {
  content: "";
  position: absolute;
  /* separación: padding + ícono + pequeño gap */
  right: calc(var(--cta-pad) + var(--cta-icon-size) + 1rem);
  /* antes 1.25rem */
  top: 16%;
  /* antes 14% */
  bottom: 16%;
  /* antes 14% */
  width: 2px;
}

.cta-productos::after {
  background: rgba(0, 0, 0, 0.85);
  /* negro */
}

.cta-cotizacion::after {
  background: rgba(255, 255, 255, 0.9);
  /* blanco */
}

/* Catálogos mantiene overlay pero el texto también abajo-izquierda */
.cta-catalogos .cta-content {
  left: var(--cta-pad);
  bottom: var(--cta-pad);
}

/* Page Header */
.page-header {
  background-color: var(--fpm-dark);
  background-image: url("../images/clutch-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--fpm-yellow);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #fff;
  content: "/";
}

/* Search Section */
.search-card {
  background-color: var(--fpm-yellow);
  padding: 2rem;
  border-radius: 8px;
  height: 100%;
}

.search-icons svg {
  margin-right: 0.5rem;
}

.search-card .form-select,
.search-card .form-control {
  border: none;
  background-color: #fff;
  padding: 0.75rem;
}

.search-card .btn-dark {
  background-color: var(--fpm-black);
  border-color: var(--fpm-black);
  padding: 0.75rem;
  font-weight: 600;
}

/* Footer */
.footer-main {
  background-color: #000;
  color: #fff;
  margin-top: 4rem;
}

.footer-main .row {
  gap: 0rem;
  /* Espaciado entre columnas */
  justify-content: space-between;
  /* Distribuir el espacio */
}

.text-white {
  text-decoration: none;
}

.footer-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.footer-main h5 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.75rem;
  font-weight: 900;
}

.footer-links a:hover {
  color: var(--fpm-yellow);
}

.footer-contact p {
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.8;
  font-weight: 900;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background-color 0.3s;
  padding: 14px;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #000;
}

.footer-bottom p {
  font-size: 0.85rem;
  margin: 0;
}

/* Pagination */
.pagination .page-link {
  color: var(--fpm-black);
  border: 1px solid #dee2e6;
}

.pagination .page-item.active .page-link {
  background-color: var(--fpm-black);
  border-color: var(--fpm-black);
  color: #fff;
}

/* Navbar */
.main-navbar {
  background: #111;
  border: none;
  min-height: 110px;
  position: relative;
}

.navbar-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #fdd835;
  border: 3px solid #fdd835;
}

.navbar-nav .nav-link {
  color: #fff;
  font-weight: bold;
  font-size: 0.8rem;
  position: relative;
  padding-bottom: 0.3rem;
  transition: color 0.2s;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
  color: #fdd835;
}

.navbar-nav .nav-link.active::after {
  content: '';
  display: block;
  width: 95%;
  height: 3px;
  background: #fdd835;
  border-radius: 2px;
  position: absolute;
  left: 4%;
  bottom: 0;
}

.btn-yellow {
  background: #fdd835 !important;
  color: #181614 !important;
  border-radius: 10px;
  font-weight: bold;
  border: none;
  transition: background 0.2s;
}

.btn-yellow:hover,
.btn-yellow:focus {
  background: #ffc400 !important;
  color: #181614 !important;
}

.navbar-move-right {
  margin-left: 24rem;
}

/* Custom Indicators */
.custom-indicators {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 8.5rem;
  margin-left: 0;
  position: static;
  gap: 0.5rem;
}

.custom-indicators [data-bs-target] {
  background-color: #fff;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 1;
  border: none;
  transition: background 0.2s, width 0.2s;
}

.custom-indicators .active {
  background-color: #fdd835;
  width: 32px;
  border-radius: 8px;
}

/* Container */
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  max-width: 1000px !important;
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-logo {
    width: 60px;
    height: 60px;
  }

  .main-navbar .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .btn-yellow {
    width: 100%;
    margin-top: 1rem;
  }

  .hero-content {
    margin-left: 5vw;
  }

  .main-navbar .navbar-brand,
  .main-navbar .navbar-toggler {
    margin-left: 3.5rem;
    margin-right: 3.5rem;
    display: block;
    float: none;
  }

  .main-navbar {
    position: relative;
  }

  /* Evitar que el menú colapsado empuje el contenido */
  #mainNavbar {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #111 !important;
    z-index: 999 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    margin: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Cuando está cerrado, no debe ocupar espacio ni estar visible */
  #mainNavbar:not(.show):not(.collapsing) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  /* Cuando está abierto */
  #mainNavbar.show {
    display: flex !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* Durante la transición */
  #mainNavbar.collapsing {
    display: flex !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .features-slider .carousel-control-prev,
  .features-slider .carousel-control-next {
    display: none;
  }

  .feature-slider-card {
    padding: 2rem 1rem;
    flex-direction: column;
    text-align: center;
  }



  .feature-slider-icon svg {
    width: 40px;
    height: 40px;
  }

  .feature-slider-card h3 {
    text-align: center;
  }

  .navbar-move-right {
    margin-left: 0rem;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .cta-card {
    min-height: 120px;
  }

  .hero-slider .carousel-control-prev {
    left: 6px;
  }

  .hero-slider .carousel-control-next {
    right: 6px;
  }

  .hero-slider .carousel-control-prev {
    left: 6px;
    top: 21em;
  }

  .hero-slider .carousel-control-next {
    right: 6px;
    top: 21em;
  }
}

.features-slider {
  background-color: #ffffff;
  position: relative;
  overflow: visible;
  padding: 3rem 0;
  /* un poco menos alto alrededor */
}

.feature-slider-card {
  background: #fdd835;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  /* menos padding vertical */
  text-align: left;
  min-height: 170px;
  /* más baja */
  max-height: 180px;
  display: flex;
  flex-direction: column;
  /* ícono arriba, texto abajo */
  align-items: flex-start;
  /* alineado a la izquierda */
  justify-content: flex-start;
  gap: 0.75rem;
  /* separación entre ícono y texto */
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.06);
  /* sutil sombra inferior como la referencia */
}

.feature-slider-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.12);
}

/* Ícono dentro de círculo que “sobresale” hacia la derecha */

/* Imagen del ícono */
.feature-slider-icon img {

  height: 59px;
  object-fit: contain;
}

/* Título debajo alineado a la izquierda */
.feature-slider-card h3 {
  color: #000;
  font-weight: 800;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  width: 173px;
}

/* Flechas del features slider (mismo SVG que hero, negras) */
.features-slider .carousel-control-prev,
.features-slider .carousel-control-next {
  width: 64px !important;
  height: 64px !important;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1 !important;
  z-index: 10;
  background: transparent !important;
  border: none !important;
}

.features-slider .carousel-control-prev {
  left: -88px !important;
}

.features-slider .carousel-control-next {
  right: -88px !important;
}

.features-slider .carousel-control-prev-icon,
.features-slider .carousel-control-next-icon {
  width: 64px !important;
  height: 64px !important;
  background-image: none !important;
  background-color: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.features-slider .carousel-control-prev-icon::after,
.features-slider .carousel-control-next-icon::after {
  content: '' !important;
  display: block;
  width: 64px;
  height: 64px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.features-slider .carousel-control-prev-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg width='203px' height='203px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12H20M4 12L8 8M4 12L8 16' stroke='%23000000' stroke-width='1.152' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.features-slider .carousel-control-next-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg width='203px' height='203px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' transform='rotate(180)'%3E%3Cpath d='M4 12H20M4 12L8 8M4 12L8 16' stroke='%23000000' stroke-width='1.152' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Ajuste responsive: stack centrado en móvil, pero mantenemos proporción */
@media (max-width: 991px) {
  .feature-slider-card {
    min-height: 160px;
    max-height: none;
    padding: 1.25rem 1.5rem;
  }


  .feature-slider-icon img {
    height: 59px;
  }

  .feature-slider-card h3 {
    font-size: 1.15rem;
    width: 173px;
  }

  .features-slider .carousel-control-prev,
  .features-slider .carousel-control-next {
    display: none;
  }

  /* About Section - Mobile */
  .about-section {
    padding: 3rem 0 !important;
  }

  .about-section .container {
    height: auto !important;
    padding: 0 1.5rem;
  }


  .about-section img {
    max-width: 66% !important;
    width: 80%;
    margin: 2rem auto 0 !important;
    display: block;
  }

  .about-section h2 {
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center;
  }

  .about-section p {
    font-size: 0.95rem !important;
    line-height: 1.6;
    margin-bottom: 1rem !important;
    text-align: center;
    /* Centrar también el texto */
  }

  .about-section .btn-warning {
    font-size: 1rem !important;
    padding: 0.75rem 2rem !important;
    margin: 1rem auto 0 !important;
    /* Cambié margin-top por margin completo */
    display: block !important;
    width: fit-content !important;
  }

  /* Selector alternativo más específico */
  .about-section .col-lg-6 .btn {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content !important;
  }

  .cta-sections .col-lg-6:first-child,
  .cta-sections .col-lg-6:last-child {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .cta-catalogos {
    min-height: 250px;
  }

  .cta-productos,
  .cta-cotizacion {
    min-height: 150px;
  }

  .cta-content h3 {
    font-size: 2rem;
  }

  .cta-icon svg,
  .cta-icon img {
    width: 60px;
    height: 60px;
  }

  .cta-card {
    --cta-pad: 1.5rem;
    --cta-icon-size: 96px;
  }

  .cta-card .cta-content h3 {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .cta-card {
    min-height: 120px;
  }

  .about-section h2 {
    font-size: 1.75rem !important;
  }

  .about-section img {
    width: 90%;
  }

  .cta-catalogos {
    min-height: 200px;
  }

  .cta-productos,
  .cta-cotizacion {
    min-height: 140px;
  }

  .cta-content h3 {
    font-size: 1.75rem;
  }

  .cta-card {
    --cta-icon-size: 80px;
  }

  .cta-card .cta-content h3 {
    font-size: 1.65rem;
  }

  .footer-main .row {
    gap: 1.5rem;
    text-align: center;
    /* Centrar todo el contenido */
  }

  .footer-main .col-lg-3 {
    text-align: center !important;
    /* Centrar cada columna */
  }

  .footer-logo {
    height: 80px;
    margin: 0 auto;
    /* Centrar el logo */
    display: block;
  }

  .footer-main h5 {
    font-size: 1rem;
    margin-top: 1.5rem;
    text-align: center;
  }

  .footer-links {
    text-align: center;
    /* Centrar links */
  }

  .footer-contact {
    text-align: center;
    /* Centrar texto de contacto */
  }

  .footer-contact p {
    font-size: 0.9rem;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    /* Centrar íconos sociales */
    margin: 0 auto;
  }

  .social-icon {
    width: 48px;
    height: 48px;
    padding: 12px;
  }

  .footer-bottom .row {
    text-align: center;
  }

  .footer-bottom .col-md-6 {
    text-align: center !important;
  }

  .footer-bottom .text-md-end {
    text-align: center !important;
    margin-top: 0.5rem;
  }
}

@media (max-width: 576px) {
  .about-section img {
    width: 100%;
  }

  .about-section h2 {
    font-size: 1.5rem !important;
  }

  .about-section p {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
  }

  .about-section img {
    width: 100%;
  }

  .about-section h2 {
    font-size: 1.5rem !important;
  }

  .about-section p {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
  }

  /* Footer extra pequeño */
  .footer-logo {
    height: 70px;
  }

  .footer-main h5 {
    font-size: 0.95rem;
  }

  .footer-links a,
  .footer-contact p {
    font-size: 0.8rem;
  }

  .social-icon {
    width: 44px;
    height: 44px;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }
}

/* Related Products Carousel */
.related-carousel {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.carousel-arrow {
  background: #333;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s;
}

.carousel-arrow:hover {
  background: #FFC107;
}

.carousel-arrow:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.products-wrapper {
  flex: 1;
  overflow: hidden;
}

.products-scroll {
  display: flex;
  gap: 1.5rem;
  scroll-behavior: smooth;
  transition: transform 0.3s ease;
}

.related-product-card {
  flex: 0 0 200px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.related-product-card:hover {
  transform: scale(1.05);
}

.product-image-wrapper {
  background: white;
  
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-product-card .product-image {
  max-width: 100%;
  max-height: 180px;
  object-fit: cover;
}

.related-product-card .code {
  color: #888;
  font-size: 0.9rem;
}

.related-product-card .name {
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}