/**
* Template Name: BOLPLAN S.A DE C.V.
* Updated: Ago 25 2023 with Bootstrap v5.3.0
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Set main reusable colors and fonts using CSS variables
# Learn more about CSS variables at https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
--------------------------------------------------------------*/
/* Fonts */


:root {
  --font-default: "Poppins", sans-serif;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Poppins", sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Colors */
:root {
  --color-default: #2e435c;     /* Corporate Slate Blue: aligned with brand palette */
  --color-primary: #0d4c92;     /* Royal Blue: Brand primary */
  --color-secondary: #5481b1;   /* Medium Blue: Accents / subheaders */
  --color-heading: #072146;     /* Navy Blue: Deep corporate navy for headers */
  --color-text-muted: #64748b;  /* Slate-500: Secondary text */
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-default);
  color: var(--color-default);
  padding-top: 90px;
}

@media (max-width: 575px) {
  body {
    padding-top: 70px;
  }
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: white; 
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  color: var(--color-heading);
}




/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  overflow: hidden;
  padding: 40px 0 80px 0;
}

.section-bg {
  background-color: #eef6fc;
}

.section-header {
  text-align: center;
  padding-bottom: 30px;
  padding-top: 0;
}

.section-header p {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0;
  padding: 0;
  color: #0D4C92;
  text-transform: uppercase;
  font-family: var(--font-default);
}

.section-header h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  font-family: var(--font-primary);
}

.section-header h2 span {
  color: var(--color-primary);
}

.section-header .section-subtitle {
  font-size: 16px;
  color: #5481b1;
  max-width: 650px;
  margin: 12px auto 0 auto;
  font-weight: 400;
  line-height: 1.6;
}

/* --- Rediseño de Cabeceras de Sección "Split Layout" --- */
.section-header-split {
  margin-bottom: 45px;
}

/* Micro-cápsula del antetítulo */
.section-header-split .eyebrow-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #0d4c92;
  background-color: rgba(13, 76, 146, 0.06);
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(13, 76, 146, 0.08);
}

/* Título principal H2 */
.section-header-split h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  color: #072146; /* Azul marino ejecutivo profundo */
  font-family: var(--font-primary);
  line-height: 1.25;
}

.section-header-split h2 span {
  color: #0d4c92;
}

/* Subtítulo descriptivo de la derecha */
.section-header-split .section-subtitle-split {
  font-size: 16px;
  color: #5481b1;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  border-left: 3px solid rgba(13, 76, 146, 0.2);
  padding-left: 20px;
}

/* Adaptación responsiva para móviles */
@media (max-width: 991px) {
  .section-header-split {
    margin-bottom: 35px;
  }
  .section-header-split h2 {
    font-size: 28px;
  }
  .section-header-split .section-subtitle-split {
    border-left: none;
    padding-left: 0;
    margin-top: 15px;
    font-size: 15px;
  }
}

/* #areas specific padding removed to inherit reduced global padding */
/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 40px 0 25px 0;
  background: linear-gradient(135deg, #09376b 0%, #1562b8 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.breadcrumbs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 4px 0 0 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 0;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  padding-left: 10px;
  color: rgba(255, 255, 255, 0.6);
  content: "/";
}

.breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

.breadcrumbs ol a:hover {
  color: #fff;
}

/*--------------------------------------------------------------
# Brands
--------------------------------------------------------------*/
.brands {
  padding: 45px 0 60px 0;
}

.brands .brand-item {
  background: transparent !important; /* Sin fondo de recuadro */
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important; /* Sin sombra */
  border: none !important; /* Sin bordes */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
  margin: 15px 5px; /* Ensures Swiper has room */
  cursor: pointer !important; /* Cursor de puntero */
}

.brands .brand-item img {
  max-width: 100%; /* Aprovecha todo el ancho disponible */
  max-height: 110px; /* Mayor tamaño en escritorio */
  opacity: 1; /* Opacidad plena para lucir colores originales */
  filter: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  object-fit: contain;
}

@media (max-width: 767px) {
  .brands .brand-item {
    height: 120px; /* Ajuste de altura balanceado para móviles */
    margin: 10px 5px;
  }
  .brands .brand-item img {
    max-height: 90px;
  }
}

.brands .brand-item:hover {
  transform: scale(1.08) !important; /* Aumenta su tamaño al pasar el cursor en versión estática */
}

.brands .brand-item:hover img {
  opacity: 1;
}

/* Swiper Slide Center Focus Effect (3D Scale & Highlight) */
.brands-slider .swiper-slide {
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
  opacity: 0.6;
  transform: scale(0.85);
}

.brands-slider .swiper-slide-active {
  opacity: 1 !important;
  transform: scale(1.25) !important;
}

/* Cuando se pasa el mouse por encima del carrusel, neutralizamos el del centro temporalmente... */
.brands-slider:hover .swiper-slide-active {
  opacity: 0.6 !important;
  transform: scale(0.85) !important;
}

/* ...y transferimos todo el foco e incremento de escala al elemento sobre el cual está el cursor */
.brands-slider .swiper-slide:hover {
  opacity: 1 !important;
  transform: scale(1.25) !important;
}

/* Evitamos conflicto de doble escala dentro del carrusel */
.brands-slider .brand-item:hover {
  transform: none !important;
}

.brands .swiper-pagination {
  margin-top: 10px;
  position: relative;
}

.brands .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #5480b0;
  transition: 0.3s ease;
}

.brands .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #0d4c92;
  border-color: #0d4c92;
  width: 24px;
  border-radius: 8px;
}

/* --- Brands Slider Mask (Smooth Edges Fade) --- */
.brands-slider {
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

/* --- Brands Custom Navigation Arrows --- */
.brands .brands-arrow-next,
.brands .brands-arrow-prev {
  color: #0d4c92;
  background: #ffffff !important;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(6, 43, 84, 0.1);
  border: 1px solid rgba(13, 76, 146, 0.15);
  transition: all 0.3s ease;
  top: 50% !important;
  transform: translateY(-50%) !important;
  bottom: auto !important; /* Restored to perfect vertical center on desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.brands .brands-arrow-next:focus,
.brands .brands-arrow-prev:focus,
.brands .brands-arrow-next:active,
.brands .brands-arrow-prev:active {
  outline: none !important;
  box-shadow: 0 4px 15px rgba(6, 43, 84, 0.1) !important;
}

.brands .brands-arrow-next::after,
.brands .brands-arrow-prev::after {
  font-size: 16px;
  font-weight: 800;
  transition: color 0.3s ease;
}

/* Hover effects only on devices that support actual hover to prevent mobile sticky states */
@media (hover: hover) {
  .brands .brands-arrow-next:hover,
  .brands .brands-arrow-prev:hover {
    background: #0d4c92 !important;
    border-color: #0d4c92;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(13, 76, 146, 0.25);
  }
}

.brands .brands-arrow-prev {
  left: -70px !important; /* Spaced perfectly outside the container in PC view */
}

.brands .brands-arrow-next {
  right: -70px !important;
}

@media (max-width: 1400px) {
  .brands .brands-arrow-prev {
    left: -20px !important;
  }
  
  .brands .brands-arrow-next {
    right: -20px !important;
  }
}

@media (max-width: 991px) {
  .brands .brands-arrow-prev {
    left: -15px !important;
  }
  
  .brands .brands-arrow-next {
    right: -15px !important;
  }
  
  .brands .brands-arrow-next,
  .brands .brands-arrow-prev {
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
  }
}

@media (max-width: 767px) {
  .brands .brands-arrow-next,
  .brands .brands-arrow-prev {
    width: 38px;
    height: 38px;
    top: 50% !important; /* Centered perfectly relative to logos parent on mobile! */
    transform: translateY(-50%) !important;
    bottom: auto !important;
    background: #ffffff !important;
    color: #0d4c92 !important;
    border: 1px solid rgba(13, 76, 146, 0.15) !important;
    box-shadow: 0 4px 12px rgba(6, 43, 84, 0.08) !important;
  }
  
  .brands .brands-arrow-prev {
    left: 2px !important;
  }
  
  .brands .brands-arrow-next {
    right: 2px !important;
  }
  
  .brands .brands-arrow-next:hover,
  .brands .brands-arrow-prev:hover,
  .brands .brands-arrow-next:active,
  .brands .brands-arrow-prev:active,
  .brands .brands-arrow-next:focus,
  .brands .brands-arrow-prev:focus {
    background: #ffffff !important;
    color: #0d4c92 !important;
    border-color: rgba(13, 76, 146, 0.15) !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(6, 43, 84, 0.08) !important;
  }
  
  .brands .brands-arrow-next::after,
  .brands .brands-arrow-prev::after {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--color-primary);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  background: #5480b0;
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 997;
  height: 90px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

/* --- Homepage transparent-to-glassmorphic header --- */
body.home {
  padding-top: 0 !important;
}

body.home .header:not(.sticked) {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

/* Only force first-level menu links to white on desktop view to keep dropdown submenus readable on white backgrounds */
@media (min-width: 1280px) {
  body.home .header:not(.sticked) .navbar > ul > li > a,
  body.home .header:not(.sticked) .navbar > ul > li > a:focus {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0) !important; /* Explicit transparent background for transition */
  }

  body.home .header:not(.sticked) .navbar > ul > li > a:hover,
  body.home .header:not(.sticked) .navbar > ul > li > a.active,
  body.home .header:not(.sticked) .navbar > ul > li > a.active:focus,
  body.home .header:not(.sticked) .navbar > ul > li:hover > a {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
  }
}

body.home .header:not(.sticked) .logo img {
  filter: brightness(0) invert(1);
}

body.home .header:not(.sticked) .mobile-nav-show {
  color: #ffffff !important;
}

/* Ensure ultra smooth transition for all header elements */
.header,
.header .logo img,
.header .navbar a,
.header .mobile-nav-show {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

@media (max-width: 575px) {
  .header {
    height: 70px;
  }
}

.header.sticked {
  background: rgba(255, 255, 255, 0.95) !important;
  height: 75px;
  border-bottom: 1px solid rgba(13, 76, 146, 0.08);
  box-shadow: 0 10px 30px rgba(13, 76, 146, 0.04);
}

.header .logo img {
  max-height: 50px;
  margin-right: 6px;
  transition: max-height 0.4s ease;
}

.header.sticked .logo img {
  max-height: 42px;
}

.header .logo h1 {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin: 0;
  font-family: var(--font-secondary);
}

.header .logo h1 span {
  color: var(--color-primary);
}

.header .btn-buy-online,
.header .btn-buy-online:focus {
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  background: #0d4c92;
  padding: 10px 24px;
  margin-left: 20px;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 15px rgba(13, 76, 146, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.header .btn-buy-online:hover,
.header .btn-buy-online:focus:hover {
  background: #fff;
  color: #0d4c92 !important;
  border-color: #0d4c92;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 76, 146, 0.3);
}

.header .btn-buy-online i {
  font-size: 16px;
}

@media (max-width: 1279px) {
  .header .btn-buy-online {
    margin-left: auto;
    margin-right: 15px;
    padding: 8px 18px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .header .btn-buy-online span {
    display: none;
  }
  .header .btn-buy-online {
    padding: 8px 12px;
    margin-right: 10px;
  }
  .header .btn-buy-online i {
    margin: 0;
  }
}

section {
  scroll-margin-top: 68px;
}

@media (max-width: 575px) {
  section {
    scroll-margin-top: 54px;
  }
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .navbar {
    padding: 0;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar>ul>li {
    white-space: nowrap;
    padding: 10px 0 10px 10px;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 600;
    color: #0d4c92; /*COLOR TEXTO MENU*/
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 50px;
    position: relative;
    background-color: rgba(13, 76, 146, 0); /* Explicit transparent background for transition */
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: transform 0.3s ease;
  }

  .navbar a:hover i,
  .navbar li:hover>a i {
    transform: rotate(180deg);
  }

  .navbar a:hover,
  .navbar a.active,
  .navbar a.active:focus,
  .navbar li:hover>a {
    color: #0d4c92;
    background-color: rgba(13, 76, 146, 0.08) !important;
  }

  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 10px;
    top: calc(100% + 20px);
    margin: 0;
    padding: 10px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 10px 30px rgba(13, 76, 146, 0.1);
    transition: all 0.3s ease;
    border-radius: 12px;
    transform: translateY(10px);
  }

  .navbar .dropdown ul li {
    min-width: 200px;
  }

  .navbar .dropdown ul a {
    padding: 10px 15px;
    font-size: 14px;
    text-transform: none;
    font-weight: 500;
    border-radius: 8px;
  }

  .navbar .dropdown ul a i {
    font-size: 12px;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover>a {
    color: #0d4c92;
    background-color: rgba(13, 76, 146, 0.05);
  }

  .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

@media (min-width: 1280px) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

@media (min-width: 1280px) {

  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    border-left: 1px solid rgba(13, 76, 146, 0.1);
    bottom: 0;
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 80px 0 20px 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    overflow-y: auto;
    transition: 0.4s ease;
    z-index: 9998;
    box-shadow: -10px 0 40px rgba(6, 43, 84, 0.15);
    display: flex;
    flex-direction: column;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    margin: 5px 15px;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 600;
    color: #0d4c92;
    white-space: nowrap;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 14px;
    line-height: 0;
    margin-left: 5px;
    transition: transform 0.3s ease;
  }

  .navbar a:hover,
  .navbar li:hover>a {
    color: #0d4c92;
    background-color: rgba(13, 76, 146, 0.06) !important;
    transform: translateX(6px);
  }

  .navbar .active,
  .navbar .active:focus {
    color: #fff !important;
    background-color: #0d4c92 !important;
    box-shadow: 0 4px 15px rgba(13, 76, 146, 0.25);
  }

  .navbar .dropdown ul,
  .navbar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 5px 20px 15px 20px;
    transition: all 0.3s ease-in-out;
    background-color: rgba(13, 76, 146, 0.03); /* Soft distinction for dropdown container */
    border-radius: 12px;
  }

  .navbar .dropdown>.dropdown-active,
  .navbar .dropdown .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-socials-wrapper {
    margin-top: auto;
    width: 100%;
  }

  .mobile-nav-socials {
    margin: 25px 20px 10px 20px;
    padding-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid rgba(13, 76, 146, 0.08);
  }

  .mobile-nav-socials a {
    width: 44px;
    height: 44px;
    background: rgba(13, 76, 146, 0.05);
    color: #0d4c92 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
    transition: all 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-nav-socials a:hover {
    background: #0d4c92 !important;
    color: #fff !important;
    transform: translateY(-3px);
  }

  .mobile-nav-show {
    color: var(--color-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    margin: 0 10px 0 20px;
  }

  .mobile-nav-hide {
    color: var(--color-secondary);
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  .mobile-nav-active {
    overflow: hidden;
  }



  .mobile-nav-active .navbar {
    right: 0;
  }

  .mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(6, 43, 84, 0.45);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9996;
    transition: 0.4s ease;
  }
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about {
  background-color: #eef6fc;
  padding: 40px 0 80px 0;
  overflow: hidden;
}

.about-image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(13, 76, 146, 0.1);
  transition: transform 0.4s ease;
}

.about-image-wrapper:hover {
  transform: translateY(-5px);
}

.about-main-img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #0d4c92;
  color: #fff;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 6px solid #EEEEF9;
  z-index: 2;
  transition: transform 0.4s ease;
}

.experience-badge .year {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.experience-badge .text {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 991px) {
  .experience-badge {
    bottom: -10px;
    right: 0px;
    width: 100px;
    height: 100px;
  }
  .experience-badge .year {
    font-size: 28px;
  }
  .experience-badge .text {
    font-size: 11px;
  }
}

.about-title {
  font-size: 32px;
  font-weight: 700;
  color: #0d4c92;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-description {
  font-size: 16px;
  color: var(--color-default);
  margin-bottom: 30px;
  line-height: 1.6;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pillar-card {
  padding: 15px 20px;
  background-color: #fff;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(13, 76, 146, 0.05); /* muy sutil borde base */
}

.pillar-card:hover {
  background-color: #fff;
  box-shadow: 0 8px 30px rgba(13, 76, 146, 0.08); /* sombra azul claro hiper suave */
  transform: translateY(-5px); /* delicada elevacion vertical */
  border-color: rgba(13, 76, 146, 0.15); /* apenas acentuado */
}

.pillar-card .icon-box {
  background: rgba(13, 76, 146, 0.06); /* fondo hiper sutil inicial */
  color: #0d4c92;
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.pillar-card:hover .icon-box {
  background: rgba(13, 76, 146, 0.12); /* tinte azulino sutil al hacer hover, no sólido */
  transform: scale(1.08); /* minúscula expansión sutil */
}

.pillar-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0d4c92;
  margin-bottom: 5px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.btn-about-more {
  background-color: #0d4c92;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-about-more:hover, .btn-about-more:focus {
  background-color: transparent;
  color: #0d4c92;
  border-color: #0d4c92;
}

.btn-about-more i {
  transition: transform 0.3s ease;
}

.btn-about-more:hover i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .why-box {
  padding: 30px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
}

.why-us .why-box h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .why-box p {
  margin-bottom: 30px;
}

.why-us .why-box .more-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.3);
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.why-us .why-box .more-btn i {
  font-size: 14px;
}

.why-us .why-box .more-btn:hover {
  color: var(--color-primary);
  background: #fff;
}

.why-us .icon-box {
  border-radius: 10px;
  text-align: center;
  background: #fff;
  padding: 40px 30px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(55, 55, 63, 0.1);
  transition: 0.3s;
}

.why-us .icon-box i {
  color: var(--color-primary);
  margin-bottom: 30px;
  font-size: 32px;
  margin-bottom: 30px;
  background: #cfe2ff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}

.why-us .icon-box h4 {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 30px 0;
  font-family: var(--font-secondary);
}

.why-us .icon-box p {
  font-size: 15px;
  color: #6c757d;
}

@media (min-width: 1200px) {
  .why-us .icon-box:hover {
    transform: scale(1.1);
  }
}

/*--------------------------------------------------------------
# Distribuidores CTA Section
--------------------------------------------------------------*/
.distribuidores {
  position: relative;
  background: linear-gradient(rgba(13, 76, 146, 0.85), rgba(13, 76, 146, 0.85)), url("../img/arte1.webp") center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 50px 0;
  overflow: hidden;
}

/* Subtle overlay pattern/glow */
.distribuidores::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(800px circle at 50% 50%, rgba(13, 76, 146, 0.15), transparent);
  pointer-events: none;
}

.distribuidores .section-header-split h2,
.distribuidores .section-header-split h2 span {
  color: #fff !important;
}

.distribuidores .section-subtitle-split {
  color: rgba(255, 255, 255, 0.9) !important;
}

.distribuidores .eyebrow-badge {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Rediseño total de la tarjeta distribuidor */
.distribuidor-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 24px;
  padding: 48px 40px;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  will-change: transform;
}

.distribuidor-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.distribuidor-card .icon-card {
  font-size: 56px !important;
  color: #fff;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.distribuidor-card .card-badge {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #a5d1ff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-block;
}

.distribuidor-card.consumer-card .card-badge {
  color: #00f2fe;
  border-color: rgba(0, 242, 254, 0.3);
  background: rgba(0, 242, 254, 0.05);
}

.distribuidor-card.b2b-card .card-badge {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.05);
}

.distribuidor-card h3 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.distribuidor-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Listado de características */
.card-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  width: 100%;
}

.card-features-list li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.card-features-list li i {
  margin-right: 12px;
  font-size: 18px;
  color: #00f2fe;
  filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.5));
}

.distribuidor-card.b2b-card .card-features-list li i {
  color: #25D366;
  filter: drop-shadow(0 0 4px rgba(37, 211, 102, 0.5));
}

/* Grid de badges técnicos corporativos */
.tech-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 28px;
}

.tech-badge-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.tech-badge-item i {
  font-size: 16px;
  color: #25D366;
}

.tech-badge-item span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.tech-badge-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(37, 211, 102, 0.25);
}

/* Distribuidor Logos Grid en cápsulas refinadas */
.distribuidor-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 28px;
  width: 100%;
}

.logo-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: 0.3px;
}

.logo-tag:hover {
  background: #fff;
  color: #0d4c92;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* CTA Buttons */
/* CTA Buttons */
.btn-solid-blue {
  background-color: #fff !important;
  color: #0d4c92 !important;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 2px solid transparent !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-solid-blue:hover, .btn-solid-blue:focus {
  background-color: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none;
}

.btn-solid-blue i {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-solid-blue:hover i {
  transform: translateX(5px);
}

.btn-whatsapp-solid {
  background-color: #25D366 !important;
  color: #fff !important;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 2px solid transparent !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp-solid:hover, .btn-whatsapp-solid:focus {
  background-color: transparent !important;
  color: #25D366 !important;
  border-color: #25D366 !important;
  box-shadow: none;
}

.btn-whatsapp-solid i {
  font-size: 18px;
}

/*--------------------------------------------------------------
# Menu Section
--------------------------------------------------------------*/
.menu .nav-tabs {
  border: 0;
}

.menu h4{
  text-align: center;
}

.menu .nav-link {
  margin: 0 10px;
  padding: 10px 5px;
  transition: 0.3s;
  color: var(--color-secondary);
  border-radius: 0;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 2px solid #b6b6bf;
}

@media (max-width: 575px) {
  .menu .nav-link {
    margin: 0 10px;
    padding: 10px 0;
  }
}

.menu .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.menu .nav-link h4 {
  
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  font-family: var(--font-secondary);
}

@media (max-width: 575px) {
  .menu .nav-link h4 {
    font-size: 16px;
  }
}

.menu .nav-link:hover {
  color: var(--color-primary);
}

.menu .nav-link.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.menu .tab-content .tab-header {
  padding: 30px 0;
}

.menu .tab-content .tab-header p {
  font-size: 14px;
  text-transform: uppercase;
  color: #676775;
  margin-bottom: 0;
}

.menu .tab-content .tab-header h3 {
  font-size: 36px;
  font-weight: 600;
  color: var(--color-primary);
}

.menu .tab-content .menu-item {
  -moz-text-align-last: center;
  text-align-last: center;
}

.menu .tab-content .menu-item .menu-img {
  padding: 0 60px;
  margin-bottom: 15px;
}

.menu .tab-content .menu-item h4 {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-primary);
  font-family: var(--font-secondary);
  font-weight: 30px;
  margin-bottom: 5px;
}

.menu .tab-content .menu-item .ingredients {
  font-family: var(--font-secondary);
  color: #8d8d9b;
  margin-bottom: 5px;
}

.menu .tab-content .menu-item .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item .testimonial-content {
  border-left: 3px solid var(--color-primary);
  padding-left: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  border-radius: 50%;
  border: 4px solid #fff;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: var(--color-default);
  font-family: var(--font-secondary);
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 10px 0;
  font-family: var(--font-secondary);
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #f05656;
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #d1d1d7;
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .container-fluid {
  padding: 0;
}

.events .event-item {
  background-size: cover;
  background-position: cente;
  min-height: 600px;
  padding: 30px;
}

@media (max-width: 575px) {
  .events .event-item {
    min-height: 500px;
  }
}

.events .event-item:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}

.events .event-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
  position: relative;
}

.events .event-item .price {
  color: #fff;
  border-bottom: 2px solid var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.events .event-item .description {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

@media (min-width: 1200px) {
  .events .swiper-slide-active+.swiper-slide {
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1;
  }
}

.events .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.events .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #d1d1d7;
  opacity: 1;
}

.events .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Categorias Section (Areas de desarrollo)
--------------------------------------------------------------*/
.categories .category-item {
  text-align: center;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 5px 25px rgba(13, 76, 146, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.categories .category-item:hover {
  transform: translateY(-8px);
  box-shadow: 0px 15px 35px rgba(13, 76, 146, 0.12);
}

.categories .category-item .category-img {
  position: relative;
  overflow: hidden;
}

.categories .category-item .category-img:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: url(../img/team-shape.svg) no-repeat center bottom;
  background-size: contain;
  z-index: 1;
}

.categories .category-item .category-img img {
  width: 100%;
}

.categories .category-item .category-info {
  padding: 25px 20px;
}

.categories .category-item .category-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 22px;
  color: #0d4c92;
}

.categories .category-item .category-info .brand-names {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0d4c92;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.categories .category-item .category-info p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-default);
}

.btn-category-more {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #0d4c92;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-category-more i {
  margin-left: 5px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-category-more:hover {
  color: #5480b0;
}

.btn-category-more:hover i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Book A Table Section
--------------------------------------------------------------*/
.book-a-table .reservation-img {
  min-height: 500px;
  background-size: cover;
  background-position: center;
}

.book-a-table .reservation-form-bg {
  background: rgba(55, 55, 63, 0.04);
}

.book-a-table .php-email-form {
  padding: 40px;
}

@media (max-width: 575px) {
  .book-a-table .php-email-form {
    padding: 20px;
  }
}

.book-a-table .php-email-form h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-a-table .php-email-form h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 0 0;
}

.book-a-table .php-email-form p {
  font-size: 14px;
  margin-bottom: 20px;
}

.book-a-table .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #df1529;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.book-a-table .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.book-a-table .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.book-a-table .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #059652;
  border-top-color: #fff;
  animation: animate-loading 1s linear infinite;
}

.book-a-table .php-email-form input,
.book-a-table .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.book-a-table .php-email-form input:focus,
.book-a-table .php-email-form textarea:focus {
  border-color: var(--color-primary);
}

.book-a-table .php-email-form input {
  padding: 12px 15px;
}

.book-a-table .php-email-form textarea {
  padding: 12px 15px;
}

.book-a-table .php-email-form button[type=submit] {
  background: var(--color-primary);
  border: 0;
  padding: 14px 60px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.book-a-table .php-email-form button[type=submit]:hover {
  background: #ec2727;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

.gallery .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #d1d1d7;
  opacity: 1;
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

.gallery .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 40px 0;
  }

  .gallery .swiper-slide-active {
    border: 6px solid var(--color-primary);
    padding: 4px;
    background: #fff;
    z-index: 1;
    transform: scale(1.2);
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background-color: #eef6fc;
}

.contact-info-card {
  background: #0d4c92;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 5px 25px rgba(13, 76, 146, 0.15);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(13, 76, 146, 0.3);
}

.contact-info-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 24px;
  line-height: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.contact-info-card:hover .icon {
  background: #fff;
  color: #0d4c92;
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px 0;
}

.contact-info-card p {
  padding: 0;
  margin: 0;
  line-height: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.custom-secure-form {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(13, 76, 146, 0.05);
}

.custom-secure-form .form-control {
  border-radius: 10px;
  box-shadow: none;
  font-size: 14px;
  padding: 15px 20px;
  border: 1px solid #e5e9ef;
  background-color: #fff;
  color: #444;
  transition: all 0.3s ease;
}

.custom-secure-form .form-control::placeholder {
  color: #5a6268;
}

.custom-secure-form .form-control:focus {
  border-color: #0d4c92;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(13, 76, 146, 0.08);
  outline: none;
}

/* Premium Icon Input Styles */
.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper .input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #8fa0b5;
  font-size: 17px;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 5;
}

.input-icon-wrapper.textarea-wrapper .input-icon {
  top: 20px;
  transform: none;
}

.input-icon-wrapper .form-control {
  padding-left: 48px !important;
}

.input-icon-wrapper .form-control:focus ~ .input-icon {
  color: #0d4c92;
}

.custom-secure-form .btn-submit-contact {
  background-color: #0d4c92;
  color: #fff;
  padding: 12px 35px;
  transition: all 0.3s ease;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

.custom-secure-form .btn-submit-contact:hover,
.custom-secure-form .btn-submit-contact:focus {
  background-color: transparent;
  color: #0d4c92;
  border-color: #0d4c92;
}

.form-response.success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
}

.form-response.error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: #e03a3c;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(17, 17, 17, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(17, 17, 17, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #fff;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #e03a3c;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #e03a3c;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(17, 17, 17, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background-color: #093a71;
  color: #fff;
  padding-top: 0;
  position: relative;
  font-family: var(--font-default);
}

.footer-main {
  padding: 80px 0 60px;
}

/* 1. Branding & Identity */
.footer-logo {
  max-height: 55px;
  filter: brightness(0) invert(1); /* Ensure white logo if needed, or remove if original is fine */
  transition: 0.3s;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
  max-width: 350px;
}

.social-links-premium {
  display: flex;
  gap: 12px;
}

.social-links-premium a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links-premium a:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 2. Navigation Links */
.footer-heading {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  position: relative;
  color: #fff;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 30px;
  height: 2px;
  background: var(--color-secondary);
}

@media (max-width: 991px) {
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

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

.footer-nav-links li {
  margin-bottom: 15px;
}

.footer-nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: 0.3s;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-nav-links a i {
  font-size: 10px;
  transition: 0.3s;
}

.footer-nav-links a:hover {
  color: #fff;
}

.footer-nav-links a:hover i {
  transform: translateX(5px);
  color: var(--color-secondary);
}

/* 3. Contact Details */
.footer-contact .contact-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.footer-contact .contact-item i {
  color: var(--color-secondary);
  font-size: 20px;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

.footer-contact a:hover {
  color: #fff;
}

/* 4. CTA Button in Footer */
.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 25px;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-footer-cta:hover {
  background: #fff;
  color: #0d4c92 !important;
  border-color: #fff;
}

/* 5. Footer Bottom */
.footer-bottom {
  background-color: #062b54;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

.footer-legal a:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .footer-brand {
    margin-bottom: 25px;
    text-align: center;
  }
  .footer-brand .social-links-premium {
    justify-content: center;
    margin-top: 15px;
  }
  .footer-links {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center;
    margin-bottom: 25px;
  }
  .footer-nav-links a {
    justify-content: center;
  }
  .footer-contact {
    margin-bottom: 10px;
  }
  .footer-nav-links li {
    margin-bottom: 12px; /* Subtle spacing for mobile links */
  }
}

.productos-btn{
  display: inline-block;
  background: #5481b1;
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.productos-btn:hover{
  background: white;
  color: #0d4c92;
}


.product-title{
  text-align: center;
}

.product-title a{
  color:#0d4c92;
}

.product-title a:hover{
  color:red;
}

/*Slider*/
#container-slider
{
    padding: 0 0;
    position: relative;
    display: block;
    width: 100%;
}
/* Tamaño */
#slider {
    position: relative;
    display: block;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    
}
#slider li {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute !important;/*revisar*/
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
    display: block;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -ms-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
    z-index: -1;
    opacity: 0;
}
#container-slider .arrowPrev, #container-slider .arrowNext{
    font-size: 20pt;
    color: #0d4c92;
    background-color: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 30px;
    z-index: 10; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
#container-slider .arrowPrev:hover, #container-slider .arrowNext:hover {
    background-color: #0d4c92;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}
#container-slider .arrowNext {
    left: auto;
    right: 30px !important;
}

.btnSlider{
    color: #FFF;
    font-size: 15pt;
    letter-spacing: 1px;
    padding: 10px 50px;
    border: 1px solid #CCC;
    background: rgba(13, 13, 13, 0.55);
    border-radius: 31px;
    text-decoration: none;
    transition: .5s all;
}
.btnSlider:hover{
    background: #111;
    border: 1px solid #111;
}

.listslider {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 50%;
    bottom: 5%;
    list-style: none;
    z-index: 10;
    transform: translateX(-50%);
    gap: 8px;
    padding: 0;
    margin: 0;
}
.listslider li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.listslider li a {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    width: 12px;
    height: 12px;
    display: block;
    transition: all 0.4s ease;
}
.listslider li a:hover {
    background: rgba(255, 255, 255, 0.8);
}
.listslider li a.item-select-slid,
.item-select-slid {
    background: #0d4c92 !important;
    width: 30px; /* active pill shape */
}

@media screen and (max-width: 460px){
  /*Slider*/
  #container-slider{
    margin-top: -20px;
  }
	#container-slider .arrowPrev, #container-slider .arrowNext{
		font-size: 20pt;
	}
	#container-slider .arrowPrev{
		left: 15px;
	}
	#container-slider .arrowNext{
		right: 15px !important;
	}
	#slider{
		height: 400px;
		min-height: 500px;
	}
	.btnSlider{
		padding: 10px 30px;
    font-size: 10pt;
	}
  .productos-btn{
    margin-top: 35px;
  }

  .header .logo img {
  max-height: 35px;
  margin-left: 6px;
}

}


/* Selector de Idiomas Responsive */
.lang-text-mobile {
  display: none !important;
}

@media (max-width: 1279px) {
  .lang-text-desktop {
    display: none !important;
  }
  .lang-text-mobile {
    display: inline !important;
  }
}

/* Brands Swiper Navigation (Custom Arrows) */
.brands-slider {
  padding: 0 30px; 
}

.brands-arrow-next, .brands-arrow-prev {
  color: #0d4c92 !important;
  background-color: rgba(255, 255, 255, 0.8) !important;
  border-radius: 50%;
  width: 50px !important;
  height: 50px !important;
  box-shadow: 0 4px 15px rgba(13, 76, 146, 0.15);
  transition: all 0.3s ease;
  margin-top: 0 !important;
}

.brands-arrow-prev {
  left: 30px !important;
  top: calc(50% + 10px) !important;
}

.brands-arrow-next {
  right: 30px !important;
  top: calc(50% + 10px) !important;
}

@media screen and (max-width: 460px) {
  .brands-arrow-prev {
    left: 15px !important;
  }
  .brands-arrow-next {
    right: 15px !important;
  }
}

.brands-arrow-next:after, .brands-arrow-prev:after {
  font-size: 22px !important;
  font-weight: 700;
}

.brands-arrow-next:hover, .brands-arrow-prev:hover {
  background-color: #0d4c92 !important;
  color: #fff !important;
  transform: scale(1.1);
}

/* Fix Color de contraste para la cabecera Canales (Fondo Oscuro) */
#canales .section-header p,
#canales .section-header h2,
#canales .section-header h2 span {
  color: #fff !important;
}

/* =========================================================
   BOLPLAN GLOBAL DESIGN SYSTEM (UX/UI Homogenization)
   ========================================================= */

/* Typography & Section Headers */
.section-header p {
  text-transform: uppercase !important;
  letter-spacing: 1px;
}

/* Global Buttons System */
.btn-primary {
  background-color: #0d4c92 !important;
  color: #fff !important;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent !important;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: transparent !important;
  color: #0d4c92 !important;
  border-color: #0d4c92 !important;
  transform: none;
  box-shadow: none;
}
.btn-primary i {
  margin-left: 8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover i {
  transform: translateX(5px);
}

.btn-outline-blue {
  background-color: transparent !important;
  color: #0d4c92 !important;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid #0d4c92 !important;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.btn-outline-blue:hover, .btn-outline-blue:focus {
  background-color: #0d4c92 !important;
  color: #fff !important;
}
.btn-outline-blue i {
  margin-left: 8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-outline-blue:hover i {
  transform: translateX(5px);
}

/* Global Card System (Hover Elevator) */
.card-premium, 
.categories .category-item {
  border-radius: 16px !important;
  box-shadow: 0 5px 25px rgba(13, 76, 146, 0.05) !important;
  transition: all 0.3s ease !important;
}
.card-premium:hover,
.categories .category-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(13, 76, 146, 0.1) !important;
}

/* About Section Pillars Upgrade */
.pillar-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 5px 25px rgba(13, 76, 146, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(13, 76, 146, 0.03);
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(13, 76, 146, 0.1);
}
.pillar-card .icon-box {
  width: 48px;
  height: 48px;
  background: #eef4fc;
  color: #0d4c92;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.pillar-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0d4c92;
  margin-bottom: 5px;
}
.pillar-card p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* =========================================================
   BOLPLAN IMMERSIVE HERO SLIDER
   ========================================================= */

.hero-immersive {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
}

.immersive-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-bg-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.slide-bg-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.overlay-darkener {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(6, 43, 84, 0.8) 0%, rgba(6, 43, 84, 0.45) 50%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 3;
}

.hero-immersive .container {
  z-index: 4;
  position: relative;
}

.hero-glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 45px;
  max-width: 580px;
  box-shadow: 0 20px 50px rgba(6, 43, 84, 0.3);
}

.badge-premium {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.title-premium {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(6, 43, 84, 0.5);
}

.desc-premium {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  text-shadow: 0 1px 5px rgba(6, 43, 84, 0.3);
}

.btn-immersive {
  background-color: #fff !important;
  color: #0d4c92 !important;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent !important;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-immersive i {
  margin-left: 8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-immersive:hover, .btn-immersive:focus {
  background-color: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none;
}

.btn-immersive:hover i {
  transform: translateX(5px);
}

.dynamic-slide-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1), transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-out-animation {
  opacity: 0 !important;
  transform: translateY(15px) !important;
}

.hero-bottom-navigator {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.navigator-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 8px;
  display: flex;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-pill-item {
  background: transparent;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-pill-item i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.nav-pill-item.active {
  background: #fff;
  color: #0c2b54;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.nav-pill-item.active i {
  color: #0d4c92;
}

.nav-pill-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE IMMERSIVE DESIGN ADAPTATIONS
   ========================================================= */

@media (max-width: 991px) {
  /* Siempre usar cabecera sólida blanca en móviles para evitar bugs de Containing Block */
  .header,
  .header.sticked,
  body.home .header:not(.sticked) {
    z-index: 99999 !important; /* Asegurar que el menú siempre esté al frente en móviles */
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(13, 76, 146, 0.08) !important;
    box-shadow: 0 10px 30px rgba(13, 76, 146, 0.04) !important;
  }

  body.home {
    padding-top: 70px !important; /* Separar el bloque del menú */
  }

  .header .logo img,
  body.home .header:not(.sticked) .logo img {
    filter: none !important; /* Restaurar colores del logo */
  }

  .header .mobile-nav-show,
  body.home .header:not(.sticked) .mobile-nav-show {
    color: #0d4c92 !important; /* Icono del menú en azul de Bolplan */
  }

  .hero-immersive {
    height: 85vh;
    min-height: 520px;
    padding: 0;
  }
  
  .hero-glass-card {
    max-width: 100%;
    padding: 30px;
    text-align: center;
    margin: 0 15px;
  }
  
  .title-premium {
    font-size: 32px;
  }
  
  .desc-premium {
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .navigator-container {
    padding: 6px;
    gap: 4px;
  }
  
  .nav-pill-item {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  /* Mobile background images */
  #bg-hogar {
    background-image: url('../img/slider/banner3_mobile.webp') !important;
  }
  #bg-personal {
    background-image: url('../img/slider/banner5_mobile.webp') !important;
  }
  #bg-cosmetica {
    background-image: url('../img/slider/banner4_mobile.webp') !important;
  }

  .hero-immersive {
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: auto !important;
    padding: 0 0 35px 0 !important; /* Espaciado sutil en la parte inferior */
    background-color: #0b3c66; /* Color inicial */
    transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
  }

  /* Temas de color de fondo dinámicos */
  .hero-immersive.theme-hogar {
    background-color: #0b3c66 !important; /* Azul Boldex/Hogar */
  }
  .hero-immersive.theme-personal {
    background-color: #402f54 !important; /* Morado wellness / More Essential */
  }
  .hero-immersive.theme-cosmetica {
    background-color: #59223e !important; /* Rosado/Vino cosmética */
  }

  .immersive-slider-bg {
    position: relative !important;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
  }

  .overlay-darkener {
    background: none !important; /* Make the banner clear since text is below */
  }

  .hero-immersive .container {
    position: relative !important;
    height: auto !important;
    padding: 30px 15px 25px 15px !important;
    display: block !important;
  }

  .hero-glass-card {
    position: relative !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 25px 20px !important;
    box-shadow: none !important;
    text-align: center;
  }

  .hero-bottom-navigator {
    position: absolute !important;
    top: calc(100vw - 65px) !important; /* Punto intermedio óptimo */
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: max-content !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 10;
  }
  
  .navigator-container {
    display: flex !important;
    flex-wrap: nowrap !important; /* Evitar saltos de línea */
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50px !important;
    padding: 6px 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    gap: 4px !important;
  }
  
  .nav-pill-item {
    padding: 8px 14px !important;
    font-size: 12px !important;
    white-space: nowrap !important; /* Forzar que el texto no se divida */
  }
}

@media (max-width: 480px) {
  .title-premium {
    font-size: 24px;
  }
  
  .desc-premium {
    font-size: 14px;
  }
  
  .nav-pill-item span {
    display: none;
  }
  
  .nav-pill-item {
    padding: 10px 16px;
  }
  
  .nav-pill-item i {
    font-size: 18px;
  }
}

/* =========================================================
   STRATEGIC B2B & B2C SECTIONS (CERTIFICATIONS, PRIVATE LABEL, R&D)
   ========================================================= */

/* --- Certifications Section --- */
.certifications {
  padding: 60px 0;
  background: #fdfdfd;
  border-bottom: 1px solid rgba(13, 76, 146, 0.05);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.cert-card {
  background: #fff;
  border: 1px solid rgba(13, 76, 146, 0.08);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(13, 76, 146, 0.02);
  display: flex;
  flex-column: column;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(13, 76, 146, 0.08);
  border-color: rgba(13, 76, 146, 0.25);
}

.cert-icon-wrapper {
  width: 65px;
  height: 65px;
  background: rgba(13, 76, 146, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #0d4c92;
  font-size: 28px;
  transition: all 0.3s ease;
}

.cert-card:hover .cert-icon-wrapper {
  background: #0d4c92;
  color: #fff;
  transform: scale(1.05);
}

.cert-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0c2b54;
  margin-bottom: 10px;
}

.cert-card p {
  font-size: 14px;
  color: #5481b1;
  line-height: 1.5;
  margin-bottom: 0;
}

/* --- Maquila & Private Label (B2B) Section --- */
.maquila {
  padding: 80px 0;
  background: #fff;
  position: relative;
}

.maquila-showcase {
  margin-top: 50px;
}

.maquila-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.maquila-feature-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(13, 76, 146, 0.06);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(13, 76, 146, 0.03);
}

.maquila-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 76, 146, 0.2);
  box-shadow: 0 20px 40px rgba(13, 76, 146, 0.08);
}

.maquila-feature-card .step-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 45px;
  font-weight: 900;
  color: rgba(13, 76, 146, 0.05);
  line-height: 1;
  transition: color 0.3s ease;
}

.maquila-feature-card:hover .step-number {
  color: rgba(13, 76, 146, 0.12);
}

.maquila-feature-card .icon-box {
  width: 55px;
  height: 55px;
  background: #0d4c92;
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(13, 76, 146, 0.2);
}

.maquila-feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0c2b54;
  margin-bottom: 12px;
}

.maquila-feature-card p {
  font-size: 14px;
  color: #5481b1;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- R&D Scientific Block (I+D) --- */
.rd-innovation {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(13, 76, 146, 0.03) 0%, rgba(84, 129, 177, 0.08) 100%);
  border: 1px solid rgba(13, 76, 146, 0.05);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.rd-innovation h3 {
  color: #0c2b54;
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rd-innovation h3 i {
  color: #0d4c92;
}

.rd-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.rd-pillar-item {
  background: #fff;
  border: 1px solid rgba(13, 76, 146, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.rd-pillar-item:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 76, 146, 0.15);
}

.rd-pillar-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0d4c92;
  margin-bottom: 8px;
}

.rd-pillar-item p {
  font-size: 13px;
  color: #5481b1;
  line-height: 1.5;
  margin-bottom: 0;
}

.maquila-cta-wrapper {
  margin-top: 50px;
  text-align: center;
}

.btn-b2b-maquila {
  background: #0d4c92;
  color: #fff;
  padding: 14px 35px;
  font-weight: 600;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(13, 76, 146, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-b2b-maquila:hover {
  background: #0c2b54;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(12, 43, 84, 0.35);
}

.btn-b2b-maquila i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-b2b-maquila:hover i {
  transform: translateX(4px);
}

/* --- Distributor Logos Grid (B2C) --- */
.distribuidor-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.logo-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: 0.5px;
}

.logo-tag:hover {
  background: #fff;
  color: #0d4c92;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
# Laptop & Medium Resolution Optimizations (1080p / 1440px or less)
--------------------------------------------------------------*/
@media (max-width: 1440px) and (min-width: 992px) {
  /* Immersive Hero Slider optimizations */
  .hero-immersive {
    height: 75vh;
    min-height: 520px;
  }
  .hero-glass-card {
    max-width: 480px;
    padding: 30px;
    border-radius: 20px;
  }
  .title-premium {
    font-size: 32px;
    margin-bottom: 12px;
  }
  .desc-premium {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .badge-premium {
    padding: 6px 14px;
    font-size: 10px;
    margin-bottom: 15px;
  }
  .btn-immersive {
    padding: 10px 25px;
    font-size: 14px;
  }
  .hero-bottom-navigator {
    bottom: 25px;
  }
  .navigator-container {
    padding: 6px;
  }
  .nav-pill-item {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Spacing & Typography refinements */
  section {
    padding: 50px 0 60px 0;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .about-title {
    font-size: 24px;
  }
}





