/* Variables CSS - Colores del diseño */
:root {
  --azul-1: #125E96;
  --azul-2: #05385C;
  --azul-3: #6C90AB;
  --secundario-1: #8ABC49;
  --secundario-2: #D2D8E4;
  --texto-gris-oscuro: #212322;
  --texto-gris-medio: #737373;
  --texto-gris-claro: #ABABAB;
  --texto-blanco: #FFFFFF;
}

[data-animate] {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Configuración de duración para animaciones más elegantes */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Ajustes específicos para diferentes tipos de animaciones */
.animate__fadeInUp,
.animate__fadeInDown,
.animate__fadeInLeft,
.animate__fadeInRight {
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Delays escalonados para elementos dentro de secciones */
.animate__animated.animate__delay-1s {
    animation-delay: 0.1s;
}

.animate__animated.animate__delay-2s {
    animation-delay: 0.2s;
}

.animate__animated.animate__delay-3s {
    animation-delay: 0.3s;
}

/* Escalonado para success-case-card (uno después del otro) */
.success-case-card.animate__delay-1s {
    animation-delay: 0.35s;
}

.success-case-card.animate__delay-2s {
    animation-delay: 0.7s;
}

ul {
list-style: circle;
padding: 0 0 0 16px;
}

ol {
list-style: decimal;
padding: 0 0 0 16px;
}

.text-content-bullets ul {
list-style: circle;
padding: 0 0 0 16px;
}
.text-content-bullets ol {
list-style: decimal;
padding: 0 0 0 16px;
}

.mx-auto{
margin: 0 auto;
}

.max-w-\[900px\]{
max-width: 900px !important;
}

.mb-8{
margin-bottom: 2rem;
}

.mt-8{
margin-top: 2rem;
}

.note{
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  color: #737373;
}

/* Configuración de duración para animaciones más elegantes */
.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

/* Ajustes específicos para diferentes tipos de animaciones */
.animate__fadeInUp,
.animate__fadeInDown,
.animate__fadeInLeft,
.animate__fadeInRight {
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Delays escalonados para elementos dentro de secciones */
.animate__animated.animate__delay-1s {
  animation-delay: 0.1s;
}

.animate__animated.animate__delay-2s {
  animation-delay: 0.2s;
}

.animate__animated.animate__delay-3s {
  animation-delay: 0.3s;
}

/* Container de Tailwind con max-width */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto-gris-oscuro);
  overflow-x: hidden;

}

/* Padding unificado para todas las secciones */
section {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Títulos globales H1 y H2 */
h1, .h1 {
  font-family: "DM Sans";
  font-size: 58px;
  font-style: normal;
  font-weight: 800;
  line-height: 120%; /* 69.6px */
  letter-spacing: 0.2px;
}

h2, .h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 48px */
  letter-spacing: 0.2px;
}

.title-accent {
  color: var(--azul-3);
}

.text-white{
  color: var(--texto-blanco);
}

/* Site Header */
.site-header {
position: fixed;
width: 100%;
  /*position: sticky;*/
  top: 0;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.site-header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .top-bar {
  padding: 5px 0;
}

.site-header.scrolled .main-menu {
  padding: 30px 0;
}

@media (min-width: 1024px) {
  .site-header.scrolled .main-menu {
      padding: 20px 0;
  }
}


/* Top Bar */
.top-bar {
  background: linear-gradient(to bottom, var(--azul-2), var(--azul-1));
  padding: 10px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 100px;
  overflow: visible;
}


.icon-user {
  width: 19px;
  height: 18px;
}

.top-bar-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.1px;
  color: var(--texto-blanco);
}


.btn-primary-top {
  background: #6c90ab;
  color: var(--texto-blanco);
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.2px;
  display: inline-flex;
  gap: 15px;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-primary-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 144, 171, 0.4);
  background: #5a7d9a;
}

.btn-primary-top:hover::before {
  left: 100%;
}

.btn-primary-top:hover .icon-arrow {
  transform: translateX(4px);
}

.btn-primary-top .icon-arrow {
  transition: transform 0.3s ease;
}

.btn-secondary-top {
  background: var(--texto-blanco);
  color: var(--azul-2);
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-block;
  padding: 6px 20px;
  border-radius: 5px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary-top::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--azul-2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.btn-secondary-top:hover {
  color: var(--texto-blanco);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 56, 92, 0.3);
}

.btn-secondary-top:hover::before {
  width: 300px;
  height: 300px;
}

.icon-arrow {
  width: 12px;
  height: 10px;
}

.pdf-btn {
  color: var(--azul-2);
  text-decoration: none;
  display: flex;
  padding: 20px 40px;
  border-radius: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  justify-content: center;
  align-items: center;
  border: 1px solid var(--Azul-2, #05385C);
  background: #FFF;
  gap: 20px;
  max-width: 100%;
  margin: 10px 0;
}

.pdf-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 0;
  background: var(--azul-2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.pdf-btn:hover {
  color: var(--texto-blanco);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 56, 92, 0.3);
}

.pdf-btn:hover::before {
  width: 100%;
  height: 100%;
}

@media (min-width: 1024px) {
  .pdf-btn {
     max-width: 310px;
    margin-top: 10px
  }
}

.title-blue .title-accent{
  color: #05385C;
}

/* Main Menu */
.main-menu {
  background: var(--texto-blanco);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link {
  text-decoration: none;
  color: var(--azul-2);
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-link:hover .logo-img {
  filter: drop-shadow(0 4px 8px rgba(5, 56, 92, 0.2));
}

.logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--azul-2);
}

.navbar-nav {
  display: flex;
  gap: 21px;
  align-items: center;
}

.navbar-nav a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/*
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--azul-1), var(--secundario-1));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}*/

.navbar-nav a:hover {
  color: var(--azul-2);
}

/*
.navbar-nav a:hover::after {
  width: 100%;
}*/

/* Submenú Desktop */
.menu-item-with-submenu {
  position: relative;
}

.menu-link-submenu {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

/*
.menu-link-submenu::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--azul-1), var(--secundario-1));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}*/

.menu-link-submenu:hover {
  color: var(--azul-2);
}

/*
.menu-link-submenu:hover::after {
  width: 100%;
}*/

.submenu-desktop {
  position: absolute;
  top: 100%;
  left: 0;
  /* background: var(--texto-blanco);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  background-color: transparent;
  padding: 15px 0 0 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  /*transform: translateY(-10px);*/
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  margin-top: 10px;

  /*opacity: 1;
  visibility: visible;*/
}

.menu-item-with-submenu:hover .submenu-desktop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-desktop a {
  display: block;
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  background: var(--Degradado-2b, linear-gradient(0deg, var(--Secundario-2, #D2D8E4) 0%, #FFF 50%));
  margin-bottom: 2px;
}

.submenu-desktop a:hover {
  color: var(--azul-2);
}

/* Submenú de Industrias con gradiente */
.submenu-industrias {
  background: linear-gradient(to top, var(--secundario-2), rgba(255, 255, 255, 0.5));
}

.submenu-industrias a {
  color: var(--azul-3);
  font-weight: 600;
  text-align: center;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-search {
  width: 20px;
  height: 20px;
}

.mobile-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 34px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  padding: 5px;
  border-radius: 4px;
}

.mobile-btn:hover {
  transform: scale(1.1) rotate(5deg);
  background: rgba(5, 56, 92, 0.1);
}

.mobile-btn:active {
  transform: scale(0.95);
}

.mobile-icons {
  gap: 20px;
  align-items: center;
}

.search-btn-mobile {
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.search-btn-mobile:hover {
  transform: scale(1.1);
}

.mobile-btn .show,
.mobile-btn .close {
  width: 24px;
  height: 13.714px;
}

.icon-menu {
  width: 34px;
  height: auto;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 84px;
  left: 0;
  width: 100%;
  background: var(--texto-blanco);
  padding: 0 30px 40px;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu:not(.hidden) {
  transform: translateX(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 40px;
}

.mobile-menu-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  text-align: left;
}

.mobile-menu-link:hover {
  color: var(--azul-2);
  transform: translateX(8px);
}

/* Industrias activo cuando submenú está abierto */
.mobile-menu-link-industrias.active {
  color: var(--azul-1);
}

.mobile-menu-link-industrias.active,
.mobile-menu-link-industrias:hover {
  color: var(--azul-1);
}

.mobile-menu-item-with-submenu {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu-link-with-submenu {
  cursor: pointer;
  position: relative;
}

.mobile-submenu {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-submenu:not(.hidden) {
  max-height: 300px;
  padding-top: 0;
  padding-bottom: 0;
}

.mobile-submenu-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--azul-3);
  text-decoration: none;
  padding: 12px 20px;
  position: relative;
  transition: color 0.3s ease;
  display: block;
  border-bottom: 1px solid var(--secundario-2);
  text-align: left;
}

.mobile-submenu-link:hover {
  color: var(--azul-1);
}

/* Submenú de Industrias con bordes */
.mobile-submenu-industrias .mobile-submenu-link {
  border-bottom: 1px solid var(--secundario-2);
}

.mobile-menu-team {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  justify-content: center;
}

.icon-user-mobile {
  width: 24px;
  height: 23px;
}

.mobile-menu-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
}


.mobile-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.btn-primary-mobile {
  background: var(--azul-2);
  color: var(--texto-blanco);
  border: none;
  padding: 3.5px 22.5px;
  border-radius: 4.5px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12.6px;
  line-height: 25.2px;
  letter-spacing: 0.18px;
  display: flex;
  gap: 13.5px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 40px;
  text-decoration: none;
}

.btn-primary-mobile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary-mobile:hover {
  background: var(--azul-1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 56, 92, 0.4);
}

.btn-primary-mobile:hover::before {
  left: 100%;
}

.btn-primary-mobile:hover .icon-arrow-mobile {
  transform: translateX(3px);
}

.btn-primary-mobile .icon-arrow-mobile {
  transition: transform 0.3s ease;
}

.btn-secondary-mobile {
  background: var(--texto-blanco);
  color: var(--azul-2);
  border: 1px solid var(--azul-2);
  text-decoration: none;
  display: inline-block;
  padding: 3.5px 22.5px;
  border-radius: 4.5px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12.6px;
  line-height: 30px;
  letter-spacing: 0.18px;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 40px;
  text-align: center;
}

.btn-secondary-mobile::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--azul-2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.btn-secondary-mobile:hover {
  color: var(--texto-blanco);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 56, 92, 0.3);
}

.btn-secondary-mobile:hover::before {
  width: 300px;
  height: 300px;
}

.icon-arrow-mobile {
  width: 10.8px;
  height: 9px;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 670px;
  overflow: hidden;
  padding: 0;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-swiper .swiper-slide img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  z-index: 1;
  margin: 0 auto;
}

.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  text-align: center;
}

.hero-swiper .swiper-slide h2.hero-title {
  font-weight: 800;
}

/* Swiper Navigation Buttons */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: var(--texto-blanco);
  background: rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: 700;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hero-swiper .swiper-button-next:focus,
.hero-swiper .swiper-button-prev:focus {
  outline: 2px solid var(--secundario-1);
  outline-offset: 2px;
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination {
  bottom: 30px;
}

.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--texto-blanco);
  width: 32px;
  border-radius: 6px;
}

.hero-swiper .swiper-pagination-bullet:hover {
  background: var(--secundario-1);
  transform: scale(1.2);
}

/* Lazy Loading */
.hero-swiper .swiper-lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-swiper .swiper-lazy-loaded {
  opacity: 1;
}

.hero-swiper .swiper-lazy-preloader {
  border-color: var(--secundario-1);
  border-top-color: transparent;
}

.hero-description {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  text-align: center;
  max-width: 890px;
}

.btn-hero {
  background: var(--texto-blanco);
  color: var(--azul-2);
  border: 2px solid var(--azul-2);
  text-decoration: none;
  display: inline-block;
  padding: 17px 39px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.btn-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.btn-hero > * {
  position: relative;
  z-index: 1;
}

.btn-hero:hover {
  background: var(--azul-2);
  color: var(--texto-blanco);
  border-color: var(--azul-2);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(5, 56, 92, 0.5);
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero:hover::after {
  width: 400px;
  height: 400px;
}

/* SubHeader Section */
.subheader-section {
  background: linear-gradient(to bottom, var(--secundario-2), var(--texto-blanco));
  display: flex;
  justify-content: center;
  align-items: center;
}

.subheader-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2px;
  /*color: var(--texto-gris-oscuro);*/
  color: var(--azul-1);
  text-align: center;
margin-bottom: 1rem;
}

.subheader-title .accent{
display: block;
color: var(--azul-3);
}

.subheader-section p{
font-family: 'DM Sans', sans-serif;
font-weight: 500;
font-size: 16px;
line-height: 24px;
letter-spacing: 0.2px;
color: var(--texto-gris-medio);
text-align: center;
}

/* Pilares Section */
.pilares-section {
  background: var(--texto-blanco);
}

.pilares-section p{
color: #737373;
}


.pilares-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
}

.pilares-title-accent {
  color: var(--azul-3);
}

.heading-pilares{
  display: flex;
  padding: 40px 60px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  background: #D2D8E4;
  
  color: #212322;
  font-family: "DM Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 28.8px */
  letter-spacing: 0.1px;
  margin-bottom: 20px;
  text-align: left;
}

@media(max-width: 768px) {
  .heading-pilares{
    text-align: center;
  }
}



.pilares-description {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
}

.btn-primary {
  background: var(--azul-2);
  color: var(--texto-blanco);
  border: none;
  text-decoration: none;
  display: inline-block;
  padding: 15px 40px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.1px;
  cursor: pointer;
  width: fit-content;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(32, 100, 172, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(5, 56, 92, 0.5);
  background: var(--azul-1);
  
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover::after {
  width: 400px;
  height: 400px;
}


.pilar-item {
  border-left: 3px solid var(--azul-1);
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}

.pilar-item::after{
  content: '';
  position: absolute;
  top: 45px;
  left: 0;

 
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid var(--azul-1);
}

.pilar-header {
  display: flex;
  gap: 15px;
  align-items: center;
}

.pilar-icon {
  width: 48px;
  height: auto;
}

.pilar-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.1px;
  color: var(--texto-gris-oscuro);
}

.pilar-title.blue {
  color: #6C90AB;
}

.pilar-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
}

/* Servicios Section */
.servicios-section {
  background: var(--secundario-2);
}


.servicios-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
}

.servicios-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
}



.servicios-header.izq{
  text-align: left;
}

.servicios-header.center{
  text-align: center;
}

.servicios-grid {
  display: flex;
  gap: 23px;
  justify-content: center;
  flex-wrap: wrap;
}

.servicio-card {
  /*flex: 1;*/
  background: var(--azul-1);
  height: 544px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-radius: 0;
  width: 390px;
}

.servicio-card-white {
  background: var(--texto-blanco);
}

.servicio-card-blue .servicio-info {
  background: var(--secundario-2);
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 56, 92, 0.05) 0%, rgba(18, 94, 150, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  pointer-events: none;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.servicio-card:hover::before {
  opacity: 1;
}

.servicio-info {
  background: var(--texto-blanco);
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
overflow: hidden;
}

@media(min-width: 1024px) {
.servicio-info {
  max-height: 300px;
}
}

@media(min-width: 1366px) {
.servicio-info {
  max-height: 272px;
}
}

.servicio-card:hover .servicio-info {
  padding-bottom: 45px;
}

.servicio-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.1px;
  color: var(--azul-1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.servicio-card:hover .servicio-card-title {
  color: var(--azul-2);
  transform: translateX(4px);
}

.servicio-card-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--azul-2), var(--secundario-1));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-card:hover .servicio-card-title::after {
  width: 60px;
}

.servicio-card-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-card:hover .servicio-card-text {
  color: var(--texto-gris-oscuro);
}

.servicio-image {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.servicio-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-card:hover .servicio-image img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.servicio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 56, 92, 0.7) 0%, rgba(5, 56, 92, 0) 50%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  pointer-events: none;
}

.servicio-card:hover .servicio-overlay {
  opacity: 1;
}

.servicio-icon {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--secundario-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(138, 188, 73, 0.4);
}

.servicio-icon i {
  color: var(--azul-2);
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-card:hover .servicio-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.servicio-card:hover .servicio-icon i {
  transform: translateX(2px);
}

.servicios-v2{
background: var(--white);
border-bottom: 2px solid var(--Azul-3, #6C90AB);
}

.servicios-v2 .servicios-subtitle{
color: var(--texto-gris-medio);
}

.servicios-v2 .servicio-card-text{
color: var(--texto-gris-oscuro);
}

/* Certificaciones Section */
.certificaciones-section {
  background: linear-gradient(to bottom, var(--azul-2), var(--azul-1));
}

.certificaciones-container {
  gap: 20px;
}


.certificaciones-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  text-align: center;
margin-bottom: 1rem;
}

.certificaciones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Grid Desktop - Visible solo en desktop */
.certificaciones-grid-desktop {
  display: flex;
}

.certificaciones-grid-desktop.for4{
width: 900px;
margin: 0 auto;
}

/* Carrusel Mobile - Oculto en desktop */
.certificaciones-grid-mobile {
  display: none;
}

.certificacion-card {
  background: var(--texto-blanco);
  border-bottom: 6px solid var(--azul-3);
  width: 380px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.certificacion-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Futuro Section */
.futuro-section {
  background: var(--texto-blanco);
}


.futuro-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
}

.futuro-title-accent {
  color: var(--azul-3);
}

.futuro-description {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
}

.futuro-cifras {
  border-top: 3px solid var(--azul-1);
  border-bottom: 3px solid var(--azul-1);
  padding: 30px 0;
  display: flex;
  gap: 40px;
}

.cifra-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cifra-number {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: 60px;
  line-height: 1;
  color: var(--azul-3);
}

.cifra-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto-gris-medio);
}

.futuro-nota {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  color: var(--texto-gris-medio);
  max-width: 300px;
}


.futuro-content-2 img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* Seguridad Section */
.seguridad-section {
  background: var(--secundario-2);
}


.seguridad-content-1 img {
  width: 100%;
  height: 454px;
  object-fit: cover;
}


.seguridad-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
}

.seguridad-title-accent {
  color: var(--azul-1);
}

.seguridad-description {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
}

.seguridad-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullet-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0;
}

.bullet-arrow {
  width: 15.02px;
  height: 20.7px;
  flex-shrink: 0;
}

.bullet-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--azul-2);
  flex: 1;
  text-align: left;
}

.bullet-divider {
  height: 1px;
  background: var(--azul-1);
  margin: 0 30px;
}

/* Trayectoria Section */
.trayectoria-section {
  background: var(--texto-blanco);
}

.trayectoria-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
}

.trayectoria-title.left{
  text-align: left;
}

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

.trayectoria-grid {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.trayectoria-card {
  background: linear-gradient(to right, var(--secundario-2), rgba(255, 255, 255, 0));
  border-left: 3px solid var(--azul-1);
  padding: 40px;
  height: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  width: 400px;
  margin-bottom: 10px;
}

.trayectoria-icon {
  width: auto;
  height: auto;
  max-width: 74px;
  max-height: 52px;
}

.trayectoria-number {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: 60px;
  line-height: 1;
  letter-spacing: 0.2px;
  color: var(--azul-3);
  text-align: center;
}

.trayectoria-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--texto-gris-medio);
  text-align: center;
  text-transform: uppercase;
}

/* Cobertura Section */
.cobertura-section {
  background: linear-gradient(to bottom, var(--azul-2), var(--azul-1));
}


.cobertura-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  text-align: center;
  max-width: 572px;
}

.cobertura-title-accent {
  color: var(--azul-3);
}

.cobertura-description {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  text-align: center;
  max-width: 680px;
}

.cobertura-tabs-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Desktop: Tabs horizontales, contenidos al final */
.cobertura-tabs {
  display: flex;
  width: 100%;
}

.cobertura-content-wrapper {
  order: 10; /* Todos los contenidos al final en desktop */
}

.cobertura-tabs {
  display: flex;
  width: 100%;
}

.tab {
  flex: 1;
  background: var(--azul-3);
  border-bottom: 2px solid var(--azul-2);
  border-left: 2px solid var(--azul-2);
  padding: 20px 30px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.1px;
  color: var(--secundario-2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab:first-child {
  border-left: none;
}

.tab span {
  display: block;
  width: 100%;
}

.tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.tab:hover:not(.active) {
  background: var(--azul-1);
}

.tab:hover::before {
  left: 100%;
}

.tab.active {
  background: linear-gradient(to bottom, var(--secundario-2), var(--texto-blanco));
  color: var(--azul-2);
  border-left: 2px solid var(--azul-2);
  border-bottom: 0;
}

.tab.active:first-child {
  border-left: none;
}

.cobertura-content {
  display: none;
  background: transparent;
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: fadeIn 0.3s ease;
}

.cobertura-content.active {
  display: block;
  opacity: 1;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

.cobertura-map-container {
  position: relative;
  width: 100%;
}

.cobertura-info {
  display: flex;
  gap: 20px;
  padding: 50px 80px;
  background: var(--texto-blanco);
}

.cobertura-info-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
  width: 400px;
  text-align: center;
}

.cobertura-info-title-accent {
  color: var(--azul-3);
}

.cobertura-info-text {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
}

.cobertura-map {
  border-top: 2px solid var(--azul-2);
  height: 800px;
  margin-bottom: -20px;
  overflow: hidden;
  position: relative;
}

.cobertura-map img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.cobertura-locations {
  background: var(--texto-blanco);
  border-top: 3px solid var(--azul-2);
  padding: 50px 80px;
  margin-top: -20px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.location-arrow {
  color: var(--azul-2);
}

/* Estilos específicos para Rutas Intermodales */
.cobertura-locations-intermodales {
  border-top: 3px solid var(--secundario-1);
}

.cobertura-locations-grid-intermodales {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.cobertura-mobile-locations-grid-intermodales {
  padding: 0 !important;
}

.location-column-intermodal-1 {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.location-column-intermodal-2 {
  flex: 1;
  min-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.location-line-decoration {
  height: 0;
  position: relative;
  width: 100%;
  margin: -8px 0;
}

.location-line-decoration img {
  height: auto;
  display: block;
}

.location-subcolumns {
  display: flex;
  gap: 0px;
  width: 100%;
flex-direction: column;
}

.location-subcolumn {
  flex: 1;
  min-width: 0;
  
}

@media(min-width: 1024px) {
.location-subcolumns {
  flex-direction: row;
  gap: 20px;
}
}

.location-arrow-green {
  color: var(--secundario-1);
}

.location-arrow-blue {
  color: var(--azul-3);
}

/* Cobertura Mobile Section */
.cobertura-mobile-section {
  display: none; /* Oculto por defecto (solo visible en mobile) */
  background: linear-gradient(to bottom, var(--azul-2), var(--azul-1));
}

@media (min-width: 769px) {
  /* Ocultar sección mobile en desktop */
  .cobertura-mobile-section {
      display: none !important;
  }
  
  /* Mostrar sección desktop en desktop */
  .cobertura-section {
      display: block !important;
  }
}

.cobertura-mobile-container {
  padding: 0 20px;
  gap: 0;
}

.cobertura-mobile-header {
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.cobertura-mobile-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  width: 100%;
}

.cobertura-mobile-title .cobertura-title-accent {
  color: var(--azul-3);
}

.cobertura-mobile-description {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  width: 100%;
  text-align: center;
}

.cobertura-mobile-tab {
  width: 100%;
  background: var(--azul-3);
  border-top: 2px solid var(--azul-2);
  padding: 20px 30px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.1px;
  color: var(--secundario-2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cobertura-mobile-tab span {
  display: block;
  width: 100%;
}

.cobertura-mobile-tab.active {
  background: linear-gradient(to bottom, var(--secundario-2), var(--texto-blanco));
  color: var(--azul-2);
}

.cobertura-mobile-content {
  display: none;
  background: var(--texto-blanco);
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cobertura-mobile-content.active {
  display: block;
  opacity: 1;
}

.cobertura-mobile-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.cobertura-mobile-info-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
  width: 100%;
  text-align: center;
}

.cobertura-mobile-info-title-accent {
  color: var(--azul-3);
}

.cobertura-mobile-info-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
  text-align: center;
  padding: 0 30px;
}

.cobertura-mobile-map-container {
  position: relative;
  width: 100%;
}

.cobertura-mobile-map {
  border-top: 2px solid var(--azul-2);
  height: 223px;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
}

.cobertura-mobile-map img {
  width: 100%;
  height: 100%;
  
}

.cobertura-mobile-locations {
  background: var(--texto-blanco);
  border-top: 2px solid var(--azul-2);
  padding: 30px 40px;
  margin-top: 0;
  width: 100%;
}

.cobertura-mobile-locations-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.1px;
  color: var(--texto-gris-oscuro);
  text-align: center;
  margin-bottom: 20px;
}

.cobertura-mobile-locations-title p {
  margin: 0;
}

.cobertura-mobile-locations-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  justify-content: center;
  padding-left: 70px;
}

.cobertura-mobile-locations-grid .location-column {
  margin-bottom: 0;
}

.cobertura-mobile-locations-grid .location-column p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
  margin: 0;
}

/* Estilos específicos para Rutas Intermodales Mobile */
.cobertura-mobile-locations-intermodales {
  border-top: 3px solid var(--secundario-1);
}

.cobertura-mobile-locations-grid-intermodales {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.location-column-mobile-intermodal-1,
.location-column-mobile-intermodal-2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
}

.location-column-mobile-intermodal-1 .location-line-decoration,
.location-column-mobile-intermodal-2 .location-line-decoration {
  height: 0;
  position: relative;
  width: 100%;
  margin: -8px 0;
  padding: 13px 0;
}

.location-column-mobile-intermodal-1 .location-line-decoration img,
.location-column-mobile-intermodal-2 .location-line-decoration img {
  height: auto;
  display: block;
  width: 100%;

}

.location-column-mobile-intermodal-1 .location-line-decoration,
.location-column-mobile-intermodal-2 .location-line-decoration {
 margin-bottom: 20px;

}

.location-column-mobile-intermodal-1 p,
.location-column-mobile-intermodal-2 p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
  margin: 0;
  width: 100%;
}

.cobertura-locations-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.1px;
  color: var(--texto-gris-oscuro);
  text-align: center;
  margin-bottom: 20px;
}

.cobertura-locations-grid {
  display: flex;
  gap: 20px;
}

.location-column {
  flex: 1;
}

.location-column p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 30px;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
}

.location-column p span {
  color: var(--azul-2);
}

/* Empresas Section */
.empresas-section {
  background: var(--texto-blanco);
  border-bottom: 2px solid var(--azul-3);
  position: relative;
}

.empresas-section.top-border{
  border-top: 2px solid var(--azul-3);
}

.empresas-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
  text-align: center;
}

.empresas-grid {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.empresas-grid img {
  width: 380px;
  height: 160px;
  object-fit: contain;
}

/* Swiper de Empresas */
.empresas-swiper-container {
  position: relative;
  width: 100%;
}

.empresas-swiper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

.empresas-swiper .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear;
}

.empresas-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.empresa-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 10px;
}

.empresas-swiper .empresa-slide img {
  width: 100%;
  max-width: 380px;
  height: 160px;
  object-fit: contain;
  display: block;
}

/* Navegación con botones (solo mobile) */
.empresas-navigation {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

.empresas-button-prev,
.empresas-button-next {
  width: 37px;
  height: 37px;
  background: #6C90AB;
  border: 1px solid #6C90AB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  margin: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.3s ease;
}

.empresas-button-prev::after,
.empresas-button-next::after {
  content: none;
}

.empresas-button-prev i,
.empresas-button-next i {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.empresas-button-prev:hover,
.empresas-button-next:hover {
  background: rgba(108, 144, 171, 0.3);
  transform: scale(1.1);
}

.empresas-button-prev:active,
.empresas-button-next:active {
  transform: scale(0.95);
}

.empresas-button-prev.swiper-button-disabled,
.empresas-button-next.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Efecto fade a los lados (solo mobile) */
.empresas-fade-gradient {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 375px;
  height: 206px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 19.712%, rgba(255, 255, 255, 0) 79.808%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Lazy Loading para imágenes */
.empresas-swiper .swiper-lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.empresas-swiper .swiper-lazy-loaded {
  opacity: 1;
}

/* Aliados Section */
.aliados-section {
  background: linear-gradient(to bottom, var(--secundario-2), var(--texto-blanco));
  border-bottom: 2px solid var(--azul-3);
}

.aliados-title {
  background: var(--azul-2);
  color: var(--texto-blanco);
  padding: 40px 0;
  width: 680px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.aliados-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  width: 100%;
}

.aliado-card {
  background: var(--texto-blanco);
  border-top: 3px solid var(--azul-2);
  width: 480px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Desktop: Aliados 1 y 2 tienen border-top, Aliados 3 y 4 tienen border-bottom */
.aliado-card:nth-child(1),
.aliado-card:nth-child(2) {
  border-top: 3px solid var(--azul-2);
  border-bottom: none;
}

.aliado-card:nth-child(3),
.aliado-card:nth-child(4) {
  border-top: none;
  border-bottom: 3px solid var(--azul-2);
}

.aliado-card img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 380 / 160;
  object-fit: contain;
}

.aliado-card:nth-child(1){
  border-bottom: 2px dashed var(--azul-2);
  border-right: 2px dashed var(--azul-2);
}

.aliado-card:nth-child(2){
  border-bottom: 2px dashed var(--azul-2);
}

.aliado-card:nth-child(3){
  border-right: 2px dashed var(--azul-2);
}

/* Contacto Section */
.contacto-section {
  background: var(--texto-blanco);
}

.contacto-header {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0.1px;
  color: var(--texto-gris-medio);
}


.contacto-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
}

.contacto-title-accent {
  color: var(--azul-3);
}

.contacto-description {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-input,
.form-textarea {
  border: 1px solid var(--azul-1);
  padding: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-claro);
}

.form-textarea {
  height: 180px;
  resize: none;
}

.form-checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 16px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid var(--azul-1);
  background: var(--texto-blanco);
}

.form-checkbox label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
}


.contacto-content-2 img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: linear-gradient(to bottom, var(--azul-2), var(--azul-1));
  padding: 100px 0;
}

.footer-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-column-fixed {
  width: 220px;
  flex-shrink: 0;
}

/*
@media (max-width: 1200px){
 .footer-column-fixed {
   width: 48%;
 }
}*/

.footer-column-flex {
  flex: 1;
  /*min-width: 0;*/
  gap: 10px;
}

.footer-column-contact {
  width: 400px;
  flex-shrink: 0;
  gap: 24px;
}

.footer-section-header {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 2px solid var(--azul-3);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.footer-section-header:hover {
  opacity: 0.8;
  transform: translateX(3px);
}

.footer-icon {
  font-size: 24px;
}

.footer-icon-img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer-section-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-link::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secundario-1);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
  color: var(--secundario-1);
  transform: translateX(5px);
}

.footer-link:hover::before {
  width: 100%;
}


.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-text,
.footer-contact-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
}

.footer-contact-link {
  text-decoration: underline;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-contact-link:hover {
  color: var(--secundario-1);
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(138, 188, 73, 0.3);
}

.btn-footer {
  background: var(--secundario-1);
  color: var(--azul-2);
  border: none;
  padding: 15px 25px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  display: flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(5, 56, 92, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-footer::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(5, 56, 92, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.btn-footer > * {
  position: relative;
  z-index: 1;
}

.btn-footer:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(138, 188, 73, 0.4);
  background: #7aa639;
}

.btn-footer:hover::before {
  left: 100%;
}

.btn-footer:hover::after {
  width: 300px;
  height: 300px;
}

.footer-bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--texto-blanco);
  padding-top: 32px;
}

@media (max-width: 768px) {
  .footer-bottom {
      flex-direction: column;
  }
}

.footer-logo-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--texto-blanco);
}

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

.social-link {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-blanco);
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.social-link i {
  font-size: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.social-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.social-link:hover {
  transform: translateY(-4px) scale(1.15);
  color: var(--secundario-1);
}

.social-link:hover i {
  transform: rotate(5deg) scale(1.1);
}

.social-link:hover::before {
  width: 48px;
  height: 48px;
}

.social-link:hover::after {
  left: 100%;
}

.footer-credits {
  display: flex;
  gap: 24px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  align-items: center;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  h1, .h1 {
    font-size: 38px;
  }
  h2, .h2 {
    font-size: 30px;
  }
  
  .subheader-title {
    font-size: 30px;
  }

  .top-bar {
      padding: 10px 0;
      display: none;
  }

  .main-menu {
      padding: 30px 0;
  }

  .logo-img {
      width: 168px;
      height: auto;
  }

  .logo-text {
      font-size: 18px;
  }

  .menu-items {
      display: none;
  }

  .mobile-menu-toggle {
      display: block;
  }

  .hero-section {
      height: 575px;
  }

  .hero-swiper .swiper-slide {
      padding: 60px 0;
  }

  .hero-title {
      line-height: 1;
  }

  .hero-description {
      font-size: 14px;
      line-height: 1.4;
  }

  .btn-hero {
      padding: 12px 30px;
      font-size: 18px;
      line-height: 28px;
  }

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
      width: 40px;
      height: 40px;
  }

  .hero-swiper .swiper-button-next::after,
  .hero-swiper .swiper-button-prev::after {
      font-size: 16px;
  }

  .hero-swiper .swiper-pagination {
      bottom: 20px;
  }

  .pilares-description {
      font-size: 14px;
      line-height: 1.4;
    text-align: left;
  }

  .btn-primary {
      font-size: 18px;
      line-height: 28px;
  }

  .pilar-item {
      padding: 40px 30px;
  }

  .pilar-header {
      flex-direction: column;
      align-items: flex-start;
  }

  .pilar-text {
      font-size: 14px;
      line-height: 1.4;
  }


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

  .servicios-subtitle {
      font-size: 14px;
      line-height: 1.4;
  }

  .servicios-grid {
      flex-direction: column;
      gap: 10px;
  }

  .servicio-card {
      width: 100%;
  }

  .servicio-card:hover {
      transform: translateY(-4px);
  }

  .servicio-info {
      padding: 40px;
  }

  .servicio-card:hover .servicio-info {
      padding-bottom: 40px;
  }

  .servicio-icon {
      bottom: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
  }

  .servicio-icon i {
      font-size: 16px;
  }


  .certificaciones-title {
      line-height: 1.2;
      font-weight: 700;
  }

  .certificaciones-container {
      gap: 20px;
  }

  /* Ocultar grid desktop en mobile */
  .certificaciones-grid-desktop {
      display: none;
  }

  /* Mostrar carrusel en mobile */
  .certificaciones-grid-mobile {
      display: block;
  }

  .certificaciones-swiper {
      width: 100%;
      padding-bottom: 0;
      overflow: hidden;
      position: relative;
  }

  .certificaciones-swiper .swiper-wrapper {
      display: flex;
      align-items: center;
  }

  .certificaciones-swiper .swiper-slide {
      width: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      height: auto;
  }

  .certificaciones-swiper .certificacion-card {
      width: 304px;
      height: 228px;
      margin: 0;
      flex-shrink: 0;
  }

  /* Navegación con botones */
  .certificaciones-navigation {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      margin-top: 20px;
      width: 100%;
    padding-bottom: 5px;
  }

  .certificaciones-button-prev,
  .certificaciones-button-next {
      width: 37px;
      height: 37px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: relative;
      margin: 0;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .certificaciones-button-prev::after,
  .certificaciones-button-next::after {
      content: none;
  }

  .certificaciones-button-prev i,
  .certificaciones-button-next i {
      color: var(--texto-blanco);
      font-size: 16px;
      font-weight: 700;
  }

  .certificaciones-button-prev:hover,
  .certificaciones-button-next:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: scale(1.1);
  }

  .certificaciones-button-prev:active,
  .certificaciones-button-next:active {
      transform: scale(0.95);
  }

  .certificaciones-button-prev.swiper-button-disabled,
  .certificaciones-button-next.swiper-button-disabled {
      opacity: 0.5;
      cursor: not-allowed;
  }


  .futuro-container {
      flex-direction: column;
      gap: 40px;
  }

  .futuro-content-1 {
      max-width: 100%;
      align-items: center;
      text-align: center;
  }

  .futuro-title {
    text-align: left;
  }

  .futuro-description {
      font-size: 14px;
      line-height: 1.4;
    text-align: left;
  }

  .futuro-cifras {
      flex-direction: column;
      gap: 40px;
      padding: 40px;
  }

  .futuro-content-2 img {
      height: auto;
      aspect-ratio: 335/297.33;
  }


  .seguridad-container {
      flex-direction: column;
      gap: 40px;
  }

  .seguridad-content-1 img {
      height: 220px;
  }

  .seguridad-content-2 {
      max-width: 100%;
      align-items: center;
      text-align: center;
  }


  .seguridad-description {
      font-size: 14px;
      line-height: 1.4;
    text-align: left;
  }

  .bullet-text {
      font-size: 20px;
  }


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

  .trayectoria-grid {
      flex-direction: column;
      gap: 10px;
  }

  .trayectoria-card {
      padding: 50px 30px;
      height: auto;
  }

  .trayectoria-text {
      font-size: 18px;
  }

  /* Mostrar cobertura-mobile-section solo en mobile */
  .cobertura-section {
      display: none !important; /* Ocultar sección desktop en mobile */
  }

  .cobertura-mobile-section {
      display: block !important; /* Mostrar sección mobile */
  }

  .cobertura-description {
      font-size: 14px;
      line-height: 1.4;
    text-align: left;
  }

  @media (max-width: 768px) {
      .cobertura-container {
          padding-left: 20px;
          padding-right: 20px;
      }
  }

  .cobertura-container {
      gap: 40px;
      padding-left: 20px;
      padding-right: 20px;
  }

  .cobertura-header {
      gap: 40px;
  }

  .cobertura-description {
      font-size: 14px;
      line-height: 1.4;
  }

  .cobertura-tabs-container {
      display: flex;
      flex-direction: column;
      gap: 0;
  }

  .cobertura-tabs {
      flex-direction: column;
      width: 100%;
  }

  .tab {
      width: 100%;
      height: 100px;
      border-left: none;
      border-top: 2px solid var(--azul-2);
      padding: 20px 30px;
      font-size: 20px;
      order: 0; /* Reset order en mobile */
  }

  /* Tab 1 - Nacional */
  .tab[data-tab="nacional"] {
      order: 1;
  }

  /* Content 1 - Nacional */
  .cobertura-content-wrapper[data-content="nacional"] {
      order: 2;
  }

  /* Tab 2 - Internacional USA */
  .tab[data-tab="internacional-usa"] {
      order: 3;
  }

  /* Content 2 - Internacional USA */
  .cobertura-content-wrapper[data-content="internacional-usa"] {
      order: 4;
  }

  /* Tab 3 - Internacional Centroamérica */
  .tab[data-tab="internacional-centroamerica"] {
      order: 5;
  }

  /* Content 3 - Internacional Centroamérica */
  .cobertura-content-wrapper[data-content="internacional-centroamerica"] {
      order: 6;
  }

  /* Tab 4 - Rutas Intermodales */
  .tab[data-tab="rutas-intermodales"] {
      order: 7;
  }

  /* Content 4 - Rutas Intermodales */
  .cobertura-content-wrapper[data-content="rutas-intermodales"] {
      order: 8;
  }

  .tab:first-child {
      border-top: 2px solid var(--azul-2);
  }

  .tab.active {
      border-left: none;
      border-top: 2px solid var(--azul-2);
  }

  /* En mobile, solo mostrar el contenido del tab activo */
  .cobertura-content-wrapper:not(.active) {
      display: none !important;
  }

  .cobertura-content {
      padding: 30px 40px;
  }

  .cobertura-info {
      flex-direction: column;
      gap: 20px;
      margin-bottom: 20px;
  }

  .cobertura-info-title {
      width: 100%;
      text-align: center;
  }

  .cobertura-info-text {
      font-size: 14px;
      line-height: 1.4;
      text-align: center;
  }

  .cobertura-map {
      height: 223px;
  }

  .cobertura-map img {
      object-fit: contain;
  }

  .cobertura-locations {
      padding: 30px 40px;
      border-top: 2px solid var(--azul-2);
      margin-top: 0;
      max-width: 100%;
  }

  .cobertura-locations-grid {
      flex-direction: column;
      gap: 0;
  }

  .location-column {
      margin-bottom: 0;
  }


  .empresas-container {
      gap: 20px;
  }

  @media (max-width: 768px) {
      .empresas-container {
          padding-left: 20px;
          padding-right: 20px;
      }
  }

  .empresas-title {
      line-height: 1.2;
      font-weight: 700;
  }

  .empresas-swiper-container {
      position: relative;
  }

  .empresas-swiper {
      padding: 0;
  }

  .empresas-swiper .swiper-wrapper {
      align-items: center;
  }

  .empresas-swiper .swiper-slide {
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .empresa-slide {
      padding: 0;
      width: 180px;
  }

  .empresas-swiper .empresa-slide img {
      width: 180px;
      height: 76px;
      max-width: none;
  }

  /* Mostrar navegación en mobile */
  .empresas-navigation {
      display: flex;
    padding-bottom: 5px;
  }

  /* Mostrar fade gradient en mobile */
  .empresas-fade-gradient {
      display: block;
  }


  .aliados-title {
      width: 100%;
      padding: 20px 0;
  }

  .aliados-grid {
      flex-direction: column;
      width: 100%;
  }

  .aliado-card {
      width: 100%;
      border-top: none;
      padding: 30px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  /* Mobile: Aliados 1, 2, 3 tienen border-bottom dashed, Aliado 4 no tiene borde */
  .aliado-card:nth-child(1),
  .aliado-card:nth-child(2),
  .aliado-card:nth-child(3) {
      border-top: none;
      border-bottom: 2px dashed var(--azul-2);
      border-right: none;
  }

 

  .aliado-card:nth-child(4) {
      border-top: none;
      border-bottom: none;
  }

  .aliado-card img {
      width: 100%;
      max-width: 380px;
      aspect-ratio: 380 / 160;
      object-fit: contain;
  }


  .contacto-container {
      flex-direction: column;
      gap: 40px;
  }

  .contacto-content-1 {
      align-items: center;
      text-align: center;
  }


  .contacto-description {
      font-size: 14px;
      line-height: 1.4;
    text-align: left;
  }

  .contacto-content-2 img {
      height: 374px;
  }

  .footer {
      padding: 60px 0;
  }

  .footer-content {
      flex-direction: column;
      gap: 40px;
  }

  .footer-column {
      width: 100%;
      align-items: center;
  }

  .footer-column-fixed,
  .footer-column-contact {
      width: 100%;
  }

  .footer-section-header {
      justify-content: center;
      width: 100%;
  }

  .footer-links {
      align-items: center;
  }

  .footer-contact-text,
  .footer-contact-link {
      text-align: center;
  }

  .footer-logo-social {
      flex-direction: column;
      gap: 20px;
  }

  .footer-credits {
      flex-direction: row;
      gap: 0;
      text-align: center;
      justify-content: space-between;

  }
}

.block{
display: block;
}

main{
margin-top: 84px;
}

@media(min-width: 1024px) {
main{
  margin-top: 144px;
}
}

/* Botón whatsapp */
.whatsapp-container{
position: fixed;
bottom: 50px;
right: 0;
z-index: 100;
}

.pulse-icon-green{
  border-radius: 50%;
  box-shadow: 0px 0px 2px 2px #09ce2d;
  transition: 0.3s ease all;
  animation: pulse-animation-green 1.5s infinite;
}

.pulse-icon-green:hover {
  box-shadow: none;
  animation: none;
  
  transform: translateY(-5px) scale(1.03);
}

@keyframes pulse-animation-green {
0% {
  box-shadow: 0 0 0 0px rgba(6, 226, 50, 0.2);
}
100% {
  box-shadow: 0 0 0 40px rgba(6, 226, 50, 0);
}
}


/* Servicios logísticos integrales - Banner hero */
.servicios-logisticos-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.servicios-logisticos-banner-bg {
  position: absolute;
  inset: 0;
}

.servicios-logisticos-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

.servicios-logisticos-banner-img-mobile {
  display: none;
}

.servicios-logisticos-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5, 56, 92, 0.92) 0%, rgba(5, 56, 92, 0.75) 45%, rgba(5, 56, 92, 0) 70%);
  pointer-events: none;
}

.servicios-logisticos-banner-inner {
  position: relative;
  z-index: 1;
}

.servicios-logisticos-banner-content {
  max-width: 620px;
}

.servicios-logisticos-banner-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  margin: 0 0 24px 0;
}

.servicios-logisticos-banner-title-main {
  color: var(--texto-blanco);
}

.servicios-logisticos-banner-title-sub {
  color: #6C90AB;
  font-weight: 700;
}

.servicios-logisticos-banner-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: var(--texto-blanco);
  margin: 0 0 32px 0;
}

.servicios-logisticos-banner-btn {
  display: inline-block;
  background: var(--texto-blanco);
  color: var(--azul-2);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicios-logisticos-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.servicios-logisticos-banner .btn-secondary-top{
font-size: 18px;
font-weight: 700;
line-height: 22px;
letter-spacing: 0.1px;
padding: 15px 40px;
gap: 10px;
  border-radius: 0;
}

@media (max-width: 768px) {
  .servicios-logisticos-banner-img-desktop {
      display: none;
  }

  .servicios-logisticos-banner-img-mobile {
      display: block;
  }

  .servicios-logisticos-banner {
      align-items: flex-start;
      padding-top: 48px;
    min-height: 900px;
  }

  .servicios-logisticos-banner-overlay {
      background: linear-gradient(to bottom, rgba(5, 56, 92, 0.92) 0%, rgba(5, 56, 92, 0.85) 60%, rgba(5, 56, 92, 0.4) 100%);
  }

  .servicios-logisticos-banner-content {
      max-width: none;
      text-align: center;
  }

  .servicios-logisticos-banner-title {
      margin-bottom: 20px;
  }

  .servicios-logisticos-banner-title-sub {
      display: block;
      margin-top: 4px;
  }

  .servicios-logisticos-banner-text {
      font-size: 15px;
      line-height: 1.5;
      margin-bottom: 28px;
      text-align: center;
  }

  .servicios-logisticos-banner-btn {
      display: block;
      text-align: center;
      max-width: 280px;
      margin: 0 auto;
  }
}

@media (max-width: 568px) {
  .servicios-logisticos-banner {
      min-height: 560px;
  }
}

.servicios-logisticos-banner .white-style h1, .servicios-logisticos-banner .white-style h2{
font-family: DM Sans, sans-serif;
font-weight: 700;
letter-spacing: .2px;
line-height: 1.2;
margin: 0 0 24px;
color: var(--texto-blanco);
}

.servicios-logisticos-banner .white-style h1 .accent, .servicios-logisticos-banner .white-style h2 .accent{
color: #6c90ab;
}

.servicios-logisticos-banner .white-style p{
color: var(--texto-blanco);
font-family: DM Sans, sans-serif;
font-size: 16px;
font-weight: 500;
letter-spacing: .2px;
line-height: 1.6;
margin: 0 0 32px;
}


.servicios-logisticos-banner .blue-style h1, .servicios-logisticos-banner .blue-style h2{
font-family: DM Sans, sans-serif;
font-weight: 700;
letter-spacing: .2px;
line-height: 1.2;
margin: 0 0 24px;
color: #05385C;
}

.servicios-logisticos-banner .blue-style h1 .accent, .servicios-logisticos-banner .blue-style h2 .accent{
color: #6c90ab;
}

.servicios-logisticos-banner .blue-style p{
color: #212322;
font-family: DM Sans, sans-serif;
font-size: 16px;
font-weight: 500;
letter-spacing: .2px;
line-height: 1.6;
margin: 0 0 32px;
}



.servicios-logisticos-banner.v2 .servicios-logisticos-banner-content{
  max-width: 750px;
  margin-left: 40%;
}

@media (max-width: 768px) {
  .servicios-logisticos-banner.v2 .servicios-logisticos-banner-content{
    max-width: 100%;
    margin-left: 0%;
  }
}

/* Servicios detalle: 3 bloques (Figma 4996-1529 desktop, 5010-408 mobile) */
.servicios-detalle {
  background: var(--texto-blanco);
  padding: 96px 24px 120px;
}

.servicios-detalle .description{
color: var(--texto-gris-medio);
}

.servicios-detalle-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.servicios-detalle-block {
  display: grid;
  grid-template-columns: minmax(0, 480px) 1fr;
  gap: 64px;
  align-items: center;
}



/* Bloque 2: imagen izq, texto der → columna imagen flexible, contenido max 480px */
.servicios-detalle-block--text-right {
  grid-template-columns: 1fr minmax(0, 480px);
}

/*
.servicios-detalle-block--text-right {
  direction: rtl;
}*/

.servicios-detalle-block--text-right > * {
  direction: ltr;
}

.servicios-detalle-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.servicios-detalle-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
  margin: 0;
}

h3.servicios-detalle-title {
font-size: 24px;
line-height: 1.2;
}

.servicios-detalle-title-main {
  color: var(--texto-gris-oscuro);
}

.servicios-detalle-title-sub {
  color: var(--azul-3);
}

.servicios-detalle-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
  margin: 0;
}

.servicios-detalle-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .servicios-detalle-bullets {
      margin: 0;
  }
}


.servicios-detalle-bullets li {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1px;
  color: var(--azul-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.servicios-detalle-arrow {
  color: var(--azul-3);
  font-weight: 700;
}

.servicios-detalle-btn {
  margin-top: 4px;
}

.servicios-detalle-media {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.servicios-detalle-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Mobile: bloques apilados (texto arriba, imagen abajo) */
@media (max-width: 1023px) {
  .servicios-detalle {
      padding: 48px 20px 64px;
  }

  .servicios-detalle-inner {
      gap: 48px;
  }

  .servicios-detalle-block {
      grid-template-columns: 1fr;
      gap: 24px;
      direction: ltr;
  }

  .servicios-detalle-block--text-right {
      direction: ltr;
  }

  .servicios-detalle-block--text-right .servicios-detalle-media--first {
      order: 2;
  }

  .servicios-detalle-block--text-right .servicios-detalle-content {
      order: 1;
  }

  .servicios-detalle-title {
      margin: 0 auto;
      text-align: center;
  }

  .servicios-detalle-text {
      font-size: 15px;
  }

  .servicios-detalle-bullets li {
      font-size: 20px;
  }

  .servicios-detalle-media img {
      max-height: 280px;
      object-fit: cover;
  }
  .servicios-detalle-btn {
      margin: 0 auto;
  }
}

/* Ventajas competitivas (Figma 4996-1645 desktop, 5017-1446 mobile) */
.ventajas-section {
  background: var(--secundario-2);

  border-bottom: 2px solid var(--Azul-3, #6C90AB);
background: var(--Degradado-2b, linear-gradient(0deg, var(--Secundario-2, #D2D8E4) 0%, #FFF 50%));
}

.ventajas-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.ventajas-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
  margin: 0 0 48px 0;
  line-height: 1.2;
}

.ventajas-title-main {
  display: block;
  color: var(--texto-gris-oscuro);
}

.ventajas-title-accent {
  display: block;
  color: var(--azul-3);
  margin-top: 4px;
}

/* Desktop: dos columnas con líneas verticales */
.ventajas-desktop {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  align-items: start;
}

.ventajas-column {
  position: relative;
  display: flex;
  flex-direction: column;
}



.ventajas-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--azul-1);
  border-radius: 2px;
}

.ventajas-line-left {
  left: 0;
}

.ventajas-line-right {
  right: 0;
}

.ventaja-item {
  position: relative;


  border-left: 3px solid var(--azul-1);
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}

.ventaja-item::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 0;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid var(--azul-1);
}

.ventaja-header {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
align-items: center;
}

.ventaja-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.ventaja-item-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.1px;
  color: var(--texto-gris-oscuro);
  margin: 0;
}

.ventaja-item-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
}

.ventajas-cta {
  text-align: center;
  margin-top: 48px;
}

/* Mobile: una columna con línea vertical a la izquierda */
.ventajas-mobile {
  position: relative;
}

.ventajas-line-mobile {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--azul-1);
  border-radius: 2px;
}

.ventajas-timeline .ventaja-item {
  margin-bottom: 0;
}

.ventajas-timeline .ventaja-item:last-child {
  margin-bottom: 0;
}

.ventajas-timeline .ventaja-item-text {
  margin-left: 0;
  margin-top: 8px;
}

@media (min-width: 1024px) {

  .ventajas-desktop {
      display: grid;
      gap: 48px 80px;
  }
}

@media (max-width: 1023px) {
  .ventaja-header {
      flex-direction: column;
      align-items: flex-start;
  }

  .ventajas-title {
      margin-bottom: 36px;
  }




  .ventaja-item{
      padding: 30px 40px;
  }

  .ventaja-item-title {
      font-size: 24px;
  }

  .ventaja-item-text {
      font-size: 15px;
      margin-left: 0;
  }

  .ventajas-cta {
      margin-top: 40px;
  }
}

.background-gradient-blue{
border-bottom: 2px solid var(--Azul-3, #6C90AB);
background: var(--Degradado-3, linear-gradient(180deg, var(--Secundario-2, #D2D8E4) 0%, #FFF 25%, #FFF 75.48%, var(--Secundario-2, #D2D8E4) 100%));
}

/* Nuestros Servicios de Transporte Ferroviario (Figma 5107-2378 desktop, 5107-2460 mobile) - index */
.sint-servicios {
  padding: 80px 24px 96px;
  background: var(--texto-blanco);
  border-bottom: 3px solid var(--Azul-3, #6C90AB);
}

.sint-servicios-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 56px 0;
}

.sint-servicios-title-main {
  display: block;
  color: var(--texto-gris-oscuro);
}

.sint-servicios-title-accent {
  display: block;
  color: var(--azul-3);
}

.sint-servicios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
  margin-bottom: 40px;
}

.sint-servicio-card {
  flex: 0 0 calc((100% - 80px) / 3);
  text-align: center;
}

.sint-servicio-card--4 {
  flex: 0 0 calc((100% - 80px) / 2);
  text-align: center;
}

.sint-servicio-icon{
  margin: 0 auto;
  display: block; 
}

.sint-servicio-card:nth-child(4) {
  margin-left: auto;
}

.sint-servicio-card:nth-child(5) {
  margin-right: auto;
}

.sint-servicio-icon {
  font-size: 40px;
  color: var(--azul-1);
  margin-bottom: 20px;
  display: block;
}

.sint-servicio-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--texto-gris-oscuro);
  margin: 0 0 12px 0;
}

.sint-servicio-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  color: var(--texto-gris-medio);
  margin: 0;
}

.sint-servicios-nota {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  color: var(--texto-gris-claro);
  text-align: center;
  margin-top: 80px;
}

/* Variante 4 ítems: 2x2 con flex, contenido alineado a la izquierda (Figma 5135-3365) */
.sint-servicios--4 .sint-servicios-grid {
  display: flex;
  flex-wrap: wrap;
width: 900px;
  margin: 0 auto;
}

.sint-servicios--4 .sint-servicio-card {
  flex: 0 0 calc(50% - 20px);
  text-align: center;
}

.sint-servicios--4 .sint-servicio-card:nth-child(4),
.sint-servicios--4 .sint-servicio-card:nth-child(5) {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1023px) {
  .sint-servicios {
      padding: 48px 20px 64px;
  }

  .sint-servicio-card {
      flex: 0 0 100%;
  }

  .sint-servicio-card:nth-child(4),
  .sint-servicio-card:nth-child(5) {
      margin-left: 0;
      margin-right: 0;
  }

  .sint-servicios-grid {
      gap: 40px;
      margin-bottom: 32px;
  }

.sint-servicios-nota {
  margin-top: 40px;
}

.sint-servicios--4 .sint-servicios-grid {
  width: auto;
  flex-direction: column;
}

}

@media (min-width: 768px) and (max-width: 1023px) {
  .sint-servicios-title {
      text-align: center;
  }

  .sint-servicio-card {
      text-align: center;
  }

  .sint-servicios-nota {
      text-align: center;
  }

  .sint-servicio-card {
      flex: 0 0 calc(50% - 20px);
  }

  .sint-servicios--4 .sint-servicio-card {
      text-align: center;
  }
}


/* Compromiso Sostenibilidad + Seguridad de Carga (Figma 5114-3254 desktop, 5114-3288 mobile) */
.sosten-segur-section {
  background: #D2D8E4;
}

.sosten-segur-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.sosten-segur-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px 48px;
  margin-bottom: 48px;
}

/* 2 o 3 articles en la misma fila; reparten espacio por igual */
.sosten-segur-card {
  flex: 1 1 0;
  min-width: 0;
}

.sosten-segur-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px 0;
}

.sosten-segur-title-main {
  display: block;
  color: var(--texto-gris-oscuro);
}

.sosten-segur-title-accent {
  display: block;
  color: var(--azul-3);
}

.sosten-segur-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto-gris-oscuro);
  margin: 0 0 24px 0;
}

.info-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--azul-1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.info-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.info-link:hover {
  color: var(--azul-2);
}

.info-link:hover i.fa-chevron-right {
  transform: translateX(4px);
}

.infor i {
  font-size: 12px;
}

.sosten-segur-nota {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  color: var(--texto-gris-claro);
  text-align: center;
  margin: 0;
}

@media (max-width: 1023px) {

  .sosten-segur-grid {
      flex-direction: column;
      gap: 40px;
      margin-bottom: 40px;
  }

  .sosten-segur-card {
      flex: 1 1 100%;
    text-align: center;
  }

  .sosten-segur-title {
    text-align: center;
  }

  .sosten-segur-nota {
      text-align: center;
  }

.sosten-segur-text {
  text-align: center;
}
}


/* Cobertura Logística entre México y EE. UU. (Figma 5118-1183 desktop, 5118-1212 mobile) */
.cobertura-logistica-section {
  background: var(--texto-blanco);
}

.cobertura-logistica-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.cobertura-logistica-header {
  text-align: center;
  margin-bottom: 48px;
}

.cobertura-logistica-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
  margin: 0 0 24px 0;
}

.cobertura-logistica-title-accent {
  color: var(--azul-3);
}

.cobertura-logistica-intro {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--texto-gris-medio);
  margin: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cobertura-logistica-map-wrapper {
  width: 100%;
}

.cobertura-logistica-map {
  width: 100%;
  border-top: 2px solid var(--azul-2);
  overflow: hidden;
  background: #002047;
}

.cobertura-logistica-map img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.cobertura-logistica-rutas {
  display: flex;
  align-items: flex-start;
  margin-top: 30px;
  /*gap: 48px;
  padding: 48px 56px;
  background: #E8EDF1;
  margin-top: -2px;*/
}

.cobertura-logistica-rutas-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: var(--texto-gris-oscuro);
  margin: 0;
  flex-shrink: 0;
  width: 480px;
  background-color: #D2D8E4;
  padding: 20px;
  text-align: center;
  margin-right: 20px;
}

.cobertura-logistica-rutas-title-accent {
  color: var(--azul-3);
}

.cobertura-logistica-rutas-text {
  flex: 1;
  min-width: 0;
}

.cobertura-logistica-rutas-text p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto-gris-medio);
  margin: 0 0 16px 0;
}

.cobertura-logistica-rutas-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1023px) {

  .cobertura-logistica-header {
      margin-bottom: 32px;
  }


  .cobertura-logistica-intro {
      font-size: 16px;
  }

  .cobertura-logistica-rutas {
      flex-direction: column;
      gap: 24px;
      padding: 0px 0px 32px 0;
  }

  .cobertura-logistica-rutas-title {
      width: 100%;
      font-size: 20px;
  }

  .cobertura-logistica-rutas-text p {
      font-size: 15px;
  }
}


/* Modalidades de Transporte Ferroviario (Figma 5110-2823 desktop, 5110-2841 mobile) */
.modalidades-section {
  background: var(--white);
}

.modalidades-section.gradient{
border-bottom: 2px solid var(--Azul-3, #6C90AB);
  background: var(--Degradado-3, linear-gradient(180deg, var(--Secundario-2, #D2D8E4) 0%, #FFF 25%, #FFF 75.48%, var(--Secundario-2, #D2D8E4) 100%));
}

.one-modalidad-section{
  border-bottom: 2px solid var(--Azul-3, #6C90AB);
  background: #FFF;
}

.one-modalidad-section .modalidades-media {
  flex: 0 0 60%;
}

 .one-modalidad-section .modalidades-body {
  flex: 1 1 40%;
}

.modalidades-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.modalidades-header {
  text-align: center;
  margin-bottom: 56px;
}

.modalidades-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.2px;
  color: var(--texto-gris-oscuro);
  margin: 0 0 24px 0;
}

.modalidades-title-main {
  display: block;
  color: var(--texto-gris-oscuro);
}

.modalidades-title-accent {
  display: block;
  color: var(--azul-3);
}

.modalidades-intro {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--texto-gris-medio);
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.modalidades-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.modalidades-card {
  display: flex;
  align-items: stretch;
  gap: 40px;
  min-width: 0;
}

.modalidades-card--image-left {
  flex-direction: row;
}

.modalidades-card--image-right {
  flex-direction: row-reverse;
}

.modalidades-media {
  flex: 0 0 40%;
  min-width: 0;
  border-radius: 0;
  overflow: hidden;
}

.modalidades-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modalidades-body {
  flex: 1 1 60%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.modalidades-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  color: var(--texto-gris-oscuro);
  margin: 0;
}

.modalidades-card-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto-gris-medio);
  margin: 0;
}

.modalidades-btn {
  align-self: flex-start;
}

@media (max-width: 1023px) {

  .modalidades-header {
      margin-bottom: 40px;
  }


  .modalidades-intro {
      font-size: 16px;
  }

  .modalidades-grid {
      gap: 48px;
  }

  .modalidades-card,
  .modalidades-card--image-left,
  .modalidades-card--image-right {
      flex-direction: column;
  }

  .modalidades-media {
      flex: 0 0 auto;
      width: 100%;
  }

  .modalidades-media img {
      height: auto;
      min-height: 220px;
  }

  .modalidades-body {
      flex: 1 1 auto;
  }

  .modalidades-card-title {
      font-size: 24px;
      text-align: center;
  }

  .modalidades-card-text {
      font-size: 15px;
  }

  .modalidades-btn {
      align-self: stretch;
      text-align: center;
  }

  .modalidades-card .btn-primary{
      margin: 0 auto;
  }
}


/* Quiénes Somos */
.quienes-somos-section {
    background: var(--azul-2);
    padding-bottom: 0;
}

.quienes-somos-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.quienes-somos-content {
    background: var(--azul-2);
    padding: 0px 24px 0;
    max-width: 900px;
    margin: 0 auto;
}

.quienes-somos-sub {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.quienes-somos-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.25;
    letter-spacing: 0.2px;
    color: var(--texto-blanco);
    margin: 0;
}

.quienes-somos-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.6;
    color: var(--texto-blanco);
    margin: 0;
}

.quienes-somos-btn {
    display: inline-block;
    background: var(--texto-blanco);
    color: var(--azul-2);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quienes-somos-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.quienes-somos-image {
    width: 100%;
    overflow: hidden;
}

.quienes-somos-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

@media (max-width: 1023px) {
    .quienes-somos-content {
        padding: 0px 20px 0;
    }

    .quienes-somos-sub {
        font-size: 16px;
    }

    .quienes-somos-title {
        font-size: 28px;
    }

    .quienes-somos-text {
        font-size: 16px;
    }

    .quienes-somos-btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .quienes-somos-image img {
        max-height: 360px;
    }
}

/* Nuestra Misión y Visión (Figma desktop 5050-1572, mobile 5052-1607) */
.mision-vision-section {
    border-bottom: 2px solid var(--Azul-3, #6C90AB);
background: var(--Degradado-4, linear-gradient(180deg, #FFF 0%, var(--Secundario-2, #D2D8E4) 39.9%, var(--Secundario-2, #D2D8E4) 59.62%, #FFF 100%));
}

.mision-vision-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.25;
    letter-spacing: 0.2px;
    color: var(--texto-gris-oscuro);
    margin: 0;
}

.mision-vision-title-accent {
    color: var(--azul-3);
}

.mision-vision-video {
    width: 100%;
}

.mision-vision-video-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
    overflow: hidden;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
    min-height: 675px;
}

.mision-vision-thumb {
    position: relative;
    width: 100%;
}

.mision-vision-thumb.hidden {
    display: none;
}

.mision-vision-video-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px;
}

.mision-vision-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mision-vision-play:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.mision-vision-play i {
    color: var(--azul-2);
    font-size: 37px;
    margin-left: 4px;
}

.mision-vision-video-container {
    position: absolute;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mision-vision-video-container.hidden {
    display: none;
}

.mision-vision-video-container video,
.mision-vision-embed iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mision-vision-embed {
    width: 100%;
    height: 100%;
    position: relative;
}

.mision-vision-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s ease;
}

.mision-vision-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.mision-vision-close i {
    font-size: 18px;
}

.mision-vision-grid {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.mision-vision-card {
    flex: 1 1 0;
    min-width: 0;
}

.mision-vision-card-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: var(--texto-gris-oscuro);
    margin: 0 0 16px 0;
}

.mision-vision-card-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: var(--texto-gris-medio);
    margin: 0;
}

.mision-vision-card-text--accent {
    color: var(--azul-3);
}

@media (max-width: 1023px) {
  .mision-vision-video-wrapper {
    min-height: 230px;
  }
    .mision-vision-title {
        font-size: 28px;
    }

    .mision-vision-grid {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .mision-vision-card-title,
    .mision-vision-card-text {
        text-align: center;
    }

    .mision-vision-play {
        width: 64px;
        height: 64px;
    }

    .mision-vision-play i {
        font-size: 22px;
    }
}


/* Nuestra Historia (Figma desktop 5053-1619, mobile 5054-1697) */
.historia-section {
    border-bottom: 2px solid var(--Azul-3, #6C90AB);
    background: #FFF;
}

.historia-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.25;
    letter-spacing: 0.2px;
    color: var(--texto-gris-oscuro);
    margin: 0;
}

.historia-title-accent {
    color: var(--azul-3);
}

.historia-intro {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: var(--texto-gris-medio);
    margin: 0;
    max-width: 900px;
}

.historia-timeline {
    position: relative;
    gap: 0;
}

.historia-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--azul-1);
    transform: translateX(-50%);
}

.historia-item {
    position: relative;
    gap: 60px;
    align-items: center;
    padding: 48px 0;
    max-width: 100%;
}

.historia-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 32%;
    transform: translate(-50%, -32%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--azul-1);
    z-index: 1;
}

.historia-item--right::before {
    left: calc(50% - 7px);
    border-left: none;
    border-right: 12px solid var(--azul-1);
}

.historia-item--left::before {
    left: calc(50% + 7px);
}

.historia-content {
    flex: 1;
    min-width: 0;
}

.historia-item--right .historia-content {
    order: 1;
    text-align: right;
    padding-right: 60px;
}

.historia-item--right .historia-image {
    order: 2;
    padding-left: 0px;
}

.historia-item--left .historia-content {
    order: 2;
    text-align: left;
    padding-left: 60px;
}

.historia-item--left .historia-image {
    order: 1;
}

.historia-year {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 70px;
    line-height: 120%;
    letter-spacing: 0.1px;
    color: var(--azul-3);
    margin: 0;
}

.historia-year.last{
    font-size: 60px;
}

.historia-item-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.1px;
    color: var(--texto-gris-oscuro);
    margin: 0;
    margin-bottom: 10px;
}

.historia-item-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: var(--texto-gris-medio);
    margin: 0;
}

.historia-image {
    flex: 0 0 45%;
    min-width: 280px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.historia-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 280px;
}

@media (max-width: 1023px) {
    .historia-timeline::before {
        left: 12px;
        transform: none;
    }

    .historia-item {
        flex-direction: column;
        gap: 24px;
        padding: 32px 0 32px 48px;
        text-align: left;
    }

    .historia-item::before {
        left: 0;
        top: 58%;
        transform: translate(0, -58%);
        border-left: none;
        border-right: 10px solid var(--azul-3);
    }

    .historia-item--right::before,
    .historia-item--left::before {
        left: 14px;
        border-right: none;
        border-left: 10px solid var(--azul-1);
    }

    .historia-item--right .historia-content,
    .historia-item--left .historia-content {
        order: 2;
        text-align: left;
        padding: 0;
    }

    .historia-item--right .historia-image,
    .historia-item--left .historia-image {
        order: 1;
        padding: 0;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
    }

    .historia-title {
        font-size: 28px;
    }

    .historia-intro {
        font-size: 15px;
    }


    .historia-item-text {
        font-size: 15px;
    }
}

/* Política de diversidad (Figma 5054-1743) */
.politica-diversidad-section {
    border-bottom: 3px solid var(--Azul-3, #6C90AB);
    background: #FFF;
}

.politica-diversidad-header {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.politica-diversidad-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    color: var(--texto-gris-oscuro, #212322);
    line-height: 1.2;
}

.politica-diversidad-title-accent {
    font-weight: 700;
    color: #7B4EAE;
}

.politica-diversidad-intro {
    color: var(--texto-gris-medio);
}

.politica-diversidad-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.politica-diversidad-card {
    flex: 0 1 380px;
    max-width: 380px;
    padding: 30px;
    text-align: center;
   
}

.politica-diversidad-icon img{
    text-align: center;
    display: block;
    margin: 0 auto;|
}


.politica-diversidad-card-title {
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.1px;
    font-weight: 700;
    color: var(--texto-gris-oscuro, #212322);
    margin: 10px 0;
}

.politica-diversidad-card-text {
    color: var(--texto-gris-medio);
    margin: 0;
}

@media (max-width: 767px) {
    .politica-diversidad-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .politica-diversidad-card {
        flex: 1 1 100%;
        max-width: none;
    }
}


/* Diversidad e Inclusión (Figma 5057-1041 / 5057-1108) */
.diversidad-section {
    padding-bottom: 0;
    background: var(--Degradado-3, linear-gradient(180deg, var(--Secundario-2, #D2D8E4) 0%, #FFF 25%, #FFF 75.48%, var(--Secundario-2, #D2D8E4) 100%));
}

.diversidad-header {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    text-align: center;
}

.diversidad-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    color: var(--texto-gris-oscuro, #2d2d2d);
    line-height: 1.2;
}

.diversidad-title-accent {
    font-weight: 700;
    color: #34ACBF;
}

.diversidad-intro {
    color: var(--texto-gris-medio);
}

.diversidad-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    column-gap: 1.5rem;
    row-gap: 2.5rem;
}

.diversidad-card {
    flex: 0 1 380px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    border-radius: 0px;
    overflow: hidden;
    background: #fff;
}

.diversidad-card-header {
    padding: 1rem 1.25rem;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.1px;
    font-weight: 700;
    color: var(--texto-gris-oscuro);
    text-align: left;
    
}

.diversidad-card--pink .diversidad-card-header { border-left: 3px solid #EB89BB; background: rgba(235, 137, 187, 0.10); color: #EB89BB; }
.diversidad-card--purple .diversidad-card-header { border-left: 3px solid #6345A7; background: rgba(99, 69, 167, 0.10); color: #6345A7; }
.diversidad-card--green .diversidad-card-header { border-left: 3px solid #0B9152; background: rgba(11, 145, 82, 0.10); color: #0B9152; }
.diversidad-card--orange .diversidad-card-header { border-left: 3px solid #FF9511; background: rgba(255, 149, 17, 0.10); color: #FF9511; }
.diversidad-card--yellow .diversidad-card-header { border-left: 3px solid #BCAC33; background: rgba(188, 172, 51, 0.10); color: #BCAC33; }

.diversidad-card-text {
    font-weight: 500;
    color: var(--texto-gris-medio);
    padding: 20px;
}

.diversidad-image {
    width: 100%;
    margin-top: 2.5rem;
    overflow: hidden;
}

.diversidad-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .diversidad-card-header {
        text-align: center;
    }
    .diversidad-grid {
        flex-direction: column;
        align-items: stretch;
        row-gap: 1.5rem;
    }
    .diversidad-card {
        flex: 1 1 100%;
        max-width: none;
    }
}

/* Nuestras Oficinas y Operaciones*/
.nuestras-oficinas-section {
    border-bottom: 2px solid var(--Azul-3, #6C90AB);
    background: var(--Degradado-2b, linear-gradient(0deg, var(--Secundario-2, #D2D8E4) 0%, #FFF 50%));
}

.nuestras-oficinas-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    align-self: stretch;
    flex-direction: row;
}



.nuestras-oficinas-section .map img{
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.nuestras-oficinas-header-content {
    display: flex;
    width: 540px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

.nuestras-oficinas-header-contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex: 1 0 0;
    align-self: stretch;
}

.nuestras-oficinas-header-contact-item{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    align-self: stretch;
    color: var(--texto-gris-medio);
    border-bottom: 2px solid var(--Azul-3, #6C90AB);
}

.nuestras-oficinas-header-contact-item strong{
    color: var(--azul-3);
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.1px;
}

.nuestras-oficinas-header-contact-item p{
    color: var(--texto-gris-medio);
    font-weight: 500;
    line-height: 150%; /* 24px */
    letter-spacing: 0.2px;
}

.nuestras-oficinas-header-contact-item img{
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .nuestras-oficinas-section h2{
        text-align: center;
    }
    .nuestras-oficinas-header-content{
        width: 100%;
        align-items: center;
    }

    .nuestras-oficinas-header {
        flex-direction: column;
        gap: 20px;
    }

    .nuestras-oficinas-header-contact-item{
        flex-direction: column;
    }
}

/* Alianzas clave */
.alianzas-clave-section {
  border-bottom: 2px solid var(--Azul-3, #6C90AB);
background: #FFF;
}

.alianzas-clave-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--texto-gris-oscuro, #212322);
    line-height: 1.2;
}

.alianzas-clave-logo {
    flex-shrink: 0;
    width: 400px;
}

.alianzas-clave-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.alianzas-clave-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--texto-gris-oscuro, #212322);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.alianzas-clave-item-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--texto-gris, #555);
    margin: 0;
}

@media (max-width: 767px) {
    .alianzas-clave-item-text {
        text-align: center;
    }
    .alianzas-clave-item-title {
        text-align: center;
    }
}

/* Aliados beneficios */
.aliados-beneficios-section {
    border-bottom: 2px solid var(--Azul-3, #6C90AB);
background: #FFF;
}

.aliados-beneficios-title {
    font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    font-weight: 700;
    color: var(--texto-gris-oscuro, #212322);
    line-height: 1.3;
    margin: 0;
}

.aliados-beneficios-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.aliados-beneficios-item {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.aliados-beneficios-marker {
    flex-shrink: 0;
    width: 2px;
    min-height: 60px;
    height: 100%;
    background: var(--azul-1);
    position: relative;
}

.aliados-beneficios-marker::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 33px;
    border: 8px solid transparent;
    border-left-color: var(--azul-1);
    transform: translateX(-100%);
}

.aliados-beneficios-content {
    flex: 1;
    padding: 30px;
}

.aliados-beneficios-item-title {
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.1px;
    font-weight: 700;
    color: var(--texto-gris-oscuro, #212322);
    margin-bottom: 10px;
}

.aliados-beneficios-item-text {
    color: var(--texto-gris-medio, #555);
    margin: 0;
}

@media (max-width: 767px) {
    .aliados-beneficios-grid {
        gap: 0;
    }
    .aliados-beneficios-marker{
        min-height: 230px;
    }
}

/* Beneficios que transforman tu logística (Figma 4977-1571 desktop, 4993-402 mobile) */
.beneficios-transforman-section {
    border-bottom: 2px solid var(--Azul-3, #6C90AB);
background: linear-gradient(0deg, var(--Secundario-2, #D2D8E4) 0%, #FFF 59.13%);
}

.beneficios-transforman-header {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.beneficios-transforman-title {
    font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    font-weight: 700;
    color: var(--texto-gris-oscuro, #212322);
    line-height: 1.3;
    margin: 0;
}

.beneficios-transforman-intro {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--texto-gris, #555);
    margin: 0;
}

.beneficios-transforman-list {
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.beneficios-transforman-item {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: var(--blanco, #fff);
    padding: 0;
}

.beneficios-transforman-item--reverse {
    flex-direction: row-reverse;
}


.beneficios-transforman-item--reverse .beneficios-transforman-content {
    text-align: left;
}

.b-transforman-icon {
    width: 291px;
    height: 250px;
}

/* Una imagen en desktop, otra en mobile */
.b-transforman-icon-img--desktop {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b-transforman-icon-img--mobile {
    display: none;
    width: 126px;
    height: 146px;
}

.beneficios-transforman-content {
    flex: 1;
    background: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.beneficios-transforman-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--texto-gris-oscuro, #212322);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.beneficios-transforman-item-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--texto-gris, #555);
    margin: 0;
}

.beneficios-transforman-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--azul-2, #05385C);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.beneficios-transforman-btn:hover {
    background: var(--azul-1, #125E96);
    color: #fff;
}

@media (max-width: 767px) {
    .beneficios-transforman-item--reverse {
        flex-direction: column;
    }
    
    .beneficios-transforman-item--reverse .beneficios-transforman-content {
        text-align: center;
    }
    .beneficios-transforman-icon,
    .b-transforman-icon {
        width: 100%;
        min-height: auto;
        height: auto;
        margin-top: 30px;
    }
    .beneficios-transforman-content {
        text-align: center;
    }
    .b-transforman-icon-img--desktop {
        display: none;
    }
    .b-transforman-icon-img--mobile {
        display: block;
    }
}

/* Casos de Éxito - Carrusel (Figma 4977-1887 desktop, 4993-468 mobile) */
.casos-exito-section {
    border-bottom: 2px solid var(--Azul-3, #6C90AB);
background: var(--Degradado-2a, linear-gradient(180deg, var(--Secundario-2, #D2D8E4) 0%, #FFF 100%));
}

.casos-exito-title {
    font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    font-weight: 700;
    color: var(--texto-gris-oscuro, #212322);
    line-height: 1.3;
    margin: 0;
}

.casos-exito-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--texto-gris, #555);
    margin: 0;
}

.casos-exito-swiper-container {
    position: relative;
    width: 100%;
}

.casos-exito-swiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 4rem;
}

.casos-exito-swiper .swiper-wrapper {
    align-items: stretch;
}

.casos-exito-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.casos-exito-swiper .swiper-slide > * {
    width: 100%;
}

.casos-exito-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-bottom: 6px solid var(--Azul-1, #125E96);
    background: #FFF;
}

.casos-exito-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.casos-exito-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.casos-exito-card-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.casos-exito-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--texto-gris-oscuro, #212322);
    margin: 20px 0 10px 0;
    line-height: 120%; /* 28.8px */
    letter-spacing: 0.1px;
}

.casos-exito-tag {
    display: inline-block;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--Azul-3, #6C90AB);


    display: flex;
    padding: 0 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--Secundario-2, #D2D8E4);
    margin-right: 6px;
    margin-bottom: 6px;
    padding: 3px 10px;
}

.casos-exito-card-text {
    color: var(--texto-gris-medio);
    margin: 10px 0 20px 0;
    font-weight: 500;
    flex: 1;
}

.casos-exito-card-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--azul-3, #6C90AB);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.casos-exito-card-link:hover {
    color: var(--azul-2, #05385C);
}

.casos-exito-navigation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.casos-exito-button-prev,
.casos-exito-button-next {
    width: 36px;
    height: 36px;
    background: var(--azul-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.casos-exito-button-prev::after,
.casos-exito-button-next::after {
    content: none;
}

.casos-exito-button-prev i,
.casos-exito-button-next i {
    color: var(--texto-blanco);
    font-size: 14px;
}

.casos-exito-button-prev:hover,
.casos-exito-button-next:hover {
    background: rgba(108, 144, 171, 0.35);
}

.casos-exito-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(108, 144, 171, 0.4);
    opacity: 1;
}

.casos-exito-pagination .swiper-pagination-bullet-active {
    background: var(--azul-3, #6C90AB);
}

.swiper-button-next.casos-exito-button-next{
    top: -15px;
}

.swiper-button-prev.casos-exito-button-prev{
    top: -15px;
}


/* Estilos Generales de la Sección */
.ods-carousel-section {
  padding: 60px 0; /* Eliminamos padding lateral aquí */
  background: linear-gradient(180deg, #05385C 0%, #125E96 100% );
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden; /* Evita scroll horizontal */
}

/* Encabezado alineado al centro */
.ods-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.ods-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.ods-title-accent {
  opacity: 0.6;
  font-weight: 400;
}

.ods-description {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  opacity: 0.9;
}

/* Carrusel con efecto de corte a la derecha */
.ods-carousel-wrapper {
  position: relative;
  padding-left: calc((100% - 1200px) / 2); /* Alinea el inicio con el contenedor de 1200px */
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 1240px) {
  .ods-carousel-wrapper {
    padding-left: 20px;
  }
}

.ods-swiper {
  overflow: visible !important; /* Permite que las tarjetas se vean fuera del contenedor */
}

.ods-card {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #eee;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ods-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Controles Inferiores (Alineados al centro de la pantalla) */
.ods-controls-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-right: calc((100% - 1200px) / 2); /* Compensa el padding-left del carrusel */
  
  justify-content: space-between;
  max-width: 1280px;
  width: 100%;
}

@media (max-width: 1240px) {
  .ods-controls-container {
    padding-right: 20px;
  }
}

.ods-nav-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.ods-nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.ods-nav-btn svg {
  width: 10px;
  height: 16px;
}

.ods-pagination {
  position: static !important;
  width: auto !important;
}

.ods-pagination .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.3;
  margin: 0 5px !important;
}

.ods-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Ajustes Responsive */
@media (max-width: 768px) {
  .ods-title { font-size: 28px; }
  .ods-description { font-size: 14px; }
}

/* ===== Green Projects Section (HubSpot module) ===== */
/* Incluir estos estilos en el theme o en styles.css global. Depende de variables :root (--texto-blanco, --azul-1, --azul-2, --secundario-2, --texto-gris-oscuro, --texto-gris-medio). */

.green-projects-section {
    background-color: var(--texto-blanco);
}

.green-projects-container {
    max-width: 1280px;
}

.green-projects-header {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.green-projects-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: var(--texto-gris-oscuro);
}

.green-projects-cta {
    background-color: var(--azul-2);
    color: var(--texto-blanco);
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.green-projects-cta:hover {
    background-color: var(--azul-1);
}

.green-projects-grid {
    width: 100%;
    gap: 20px;
}

.green-projects-card {
    flex: 1 1 370px;
    max-width: 370px;
    padding: 40px 30px;
    gap: 0;
    text-align: center;
    background-color: var(--texto-blanco);
}

.green-projects-card--alt {
    background: linear-gradient(to bottom, var(--secundario-2), var(--texto-blanco));
}

.green-projects-card-img {
    display: block;
    max-width: 100%;
    height: auto;
}

.green-projects-card-title {
    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1px;
    color: var(--azul-1);
    margin-top: 20px;
    margin-bottom: 15px;
}

.green-projects-card-description {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: var(--texto-gris-medio);
    margin: 0;
}


@media (max-width: 768px) {
    .green-projects-card {
        flex: 1 1 300px;
        max-width: 300px;
    }
}

@media (max-width: 568px) {
    .green-projects-title {
        font-size: 30px;
    }

    .green-projects-intro {
        font-size: 14px;
        line-height: 1.4;
    }

    .green-projects-cta {
        font-size: 18px;
        padding: 12px 32px;
    }

    .green-projects-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 40px 24px;
    }

    .green-projects-card-title {
        margin-top: 16px;
        margin-bottom: 12px;
    }

    .green-projects-card-description {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* ===== Sustainability Goals ===== */
.sustainability-goals-section {
    background-color: var(--texto-blanco);
    border-bottom: 2px solid var(--azul-3);
}

.sustainability-goals-header {
    max-width: 680px;
    text-align: center;
    margin: 0 auto;
}

.sustainability-goals-container {
    max-width: 1280px;
}

.sustainability-goals-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: var(--texto-gris-oscuro);
}

.sustainability-goals-intro {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.2px;
  color: var(--texto-gris-medio);
}

.sustainability-goals-list {
    max-width: 900px;
}

.sustainability-goals-item {
    width: 100%;
    border-bottom: 3px solid var(--azul-3);
    padding: 30px;
}

.sustainability-goals-item--last {
    padding-top: 30px;
    border-bottom: none !important;
}

.sustainability-goals-icon-wrapper {
    width: 100px;
    height: 100px;
    color: var(--azul-3);
}

.sustainability-goals-item-text {
    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1px;
    color: var(--texto-gris-medio);
    margin: 0;
    max-width: 480px;
    text-align: center;
}

.sustainability-goals-item-text sup {
    font-size: 0.65em;
    vertical-align: super;
    line-height: 0;
}

@media (max-width: 1023px) {
    .sustainability-goals-title {
        font-size: 30px;
    }

    .sustainability-goals-intro {
        font-size: 14px;
        line-height: 1.4;
    }

    .sustainability-goals-item {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .sustainability-goals-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .sustainability-goals-icon-wrapper img {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

    .sustainability-goals-item-text {
        font-size: 20px;
        max-width: 100%;
    }
}


/* ===== ESG Reports Section ===== */
.esg-reports-section {
    background: linear-gradient(to top, var(--secundario-2), var(--texto-blanco) 50%);
    border-bottom: 2px solid var(--azul-3);
    border-top: 2px solid var(--azul-3);
}

.esg-reports-container {
    max-width: 1280px;
}

.esg-reports-header-2 {
    flex-wrap: wrap;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.esg-reports-header-2 .esg-reports-intro{
    width: 100%;
}

@media (min-width: 1024px) {
    .esg-reports-header {
        flex-direction: row;
        text-align: left;
    }
}

.esg-reports-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: var(--texto-gris-oscuro);
}

.esg-reports-intro {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.2px;
    width: 500px;
}


.esg-reports-downloads {
    width: 100%;
    gap: 20px;
}

.esg-reports-download-card {
    flex: 1 1 480px;
    max-width: 480px;
    min-width: 0;
    padding: 20px 80px;
    background-color: var(--texto-blanco);
    border: 1px solid var(--azul-2);
    text-decoration: none;
    color: var(--azul-2);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0.1px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.esg-reports-download-card:hover {
    background-color: var(--azul-2);
    color: var(--texto-blanco);
}

.esg-reports-download-card:hover .esg-reports-download-icon {
    color: var(--texto-blanco);
}

.esg-reports-download-card-2 {
    min-width: 0;
    padding: 20px 80px;
    background-color: var(--texto-blanco);
    border: 1px solid var(--azul-2);
    text-decoration: none;
    color: var(--azul-2);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0.1px;
    gap: 10px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.esg-reports-download-card-2:hover {
    background-color: var(--azul-2);
    color: var(--texto-blanco);
}

.esg-reports-download-card-2:hover .esg-reports-download-icon {
    color: var(--texto-blanco);
}

.esg-reports-download-icon {
    font-size: 32px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--azul-2);
    transition: color 0.2s ease;
}

.esg-reports-download-label {
    text-align: center;
}

.esg-reports-download-label-2 {
    color: var(--texto-gris-medio);
}

@media (max-width: 1023px) {
    .esg-reports-title {
        font-size: 30px;
    }

    .esg-reports-intro {
        font-size: 14px;
        line-height: 1.4;
        width: 100%;
    }

    .esg-reports-downloads {
        flex-direction: column;
        gap: 20px;
    }

    .esg-reports-download-card {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
        padding: 20px;
        gap: 10px;
    }

    .esg-reports-download-icon {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .esg-reports-download-label, .esg-reports-download-label-2 {
        font-size: 20px;
    }
}

.intro {
    color: var(--texto-gris-medio);
}

/* ===== Blog Section (HubSpot module) ===== */
/* Requiere variables :root: --texto-gris-oscuro, --texto-gris-medio, --azul-3, --Secundario-2, --Degradado-2b */

.blog-section {
    border-bottom: 2px solid var(--Azul-3, #6C90AB);
    background: var(--Degradado-2b, linear-gradient(0deg, var(--Secundario-2, #D2D8E4) 0%, #FFF 50%));
}

.blog-header { max-width: 100%; }

.blog-title {
    font-family: "DM Sans", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: var(--texto-gris-oscuro);
    margin: 0;
}

.blog-intro {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: var(--texto-gris-medio);
    margin: 0;
}

.blog-subtitle {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1px;
    color: var(--azul-3);
    margin: 0;
}

.blog-featured-info { gap: 15px; margin-top: 30px; }

.blog-featured-image-wrapper,
.blog-card-image-wrapper {
    overflow: hidden;
    flex-shrink: 0;
}

.blog-featured-image,
.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-featured-image-wrapper {
    aspect-ratio: 16/9;
    max-height: 400px;
    width: 100%;
}

.blog-card-image-wrapper {
    width: 100%;
    min-width: 100%;
    height: 220px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.blog-card-link { display: block; width: 100%; text-decoration: none; color: inherit; transition: 0.5s all;}

.blog-card-link:hover h4{
  color: var(--secundario-1);
  transition: 0.5s all;
}

.blog-category {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: var(--azul-3);
  margin-top: 10px;
}

.blog-featured-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1px;
    color: var(--texto-gris-oscuro);
    margin: 0;
}

.blog-card-info { min-width: 0; flex: 1; gap: 15px; }

.blog-card-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--texto-gris-oscuro);
    margin: 0;
}

.blog-featured-excerpt {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--texto-gris-medio);
    margin: 0;
}

.blog-meta {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--texto-gris-medio);
}

.blog-grid { flex-direction: column; gap: 2.5rem; }

@media (min-width: 1024px) {
    .blog-card-image-wrapper {
        width: 320px;
        min-width: 320px;
        height: 180px;
    }
    .blog-grid {
        flex-direction: row;
        gap: 2.5rem;
        align-items: stretch;
    }
    .blog-featured { flex: 1 1 0; min-width: 0; }
    .blog-list { flex: 0 0 320px; max-width: 320px; }
}

.blog-cta-wrapper { margin-top: 2rem; }

.blog-cta-button {
    padding: 15px 40px;
    font-size: 24px;
    border-radius: 4px;
}

/* ===== Events Section ===== */
.events-section {
    background: var(--texto-blanco);
    border-bottom: 2px solid var(--azul-3);
}

.events-title {
    font-family: "DM Sans", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: var(--texto-gris-oscuro);
    margin: 0;
}

.events-title-accent {
    color: var(--azul-3);
}

.events-intro {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--texto-gris-medio);
    margin: 0;
}

.events-filters{
    gap: 40px
}

.events-filter-btn {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.2px;
    color: var(--azul-3);
    background: transparent;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.events-filter-btn:hover {
    color: var(--azul-3);
}

.events-filter-btn--active {
    background: var(--azul-3);
    color: var(--texto-blanco);
}

.events-filter-btn--active:hover {
    color: var(--texto-blanco);
}

.event-card-media {
    min-height: 200px;
}

@media (min-width: 1024px) {
    .event-card-media {
        min-height: 288px;
        width: 280px;
        max-width: 280px;
        margin-right: 20px;
    }
}

.event-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-card-content {
    padding: 2rem;
    background-color: pink;
    gap: 15px;
    border: 3px solid var(--Azul-3, #6C90AB);
    background: #FFF;
}

@media (min-width: 1024px) {
    .event-card-content {
        padding: 2.5rem 3.75rem;
        max-width: 500px;
    }
}

.events-list{
    align-items: center;
}
.event-card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1px;
    color: var(--texto-gris-oscuro);
    margin: 0;
    margin-bottom: 10px;
}

.event-card-date {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--azul-1);
    margin: 0;
}

.event-card-description {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--texto-gris-medio);
    margin: 0;
}

.event-link {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #D2D8E4;
    margin-right: 20px;
}

.event-link:hover{
    text-decoration:  none;
}

.event-link-arrow {
    margin-left: 2px;
}

.event-badge {
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
    color: var(--azul-1);
    background: transparent;
    border: 1px solid var(--azul-1);
}

.event-badge--soldout {
    display: flex;
    padding: 10px 15px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--Azul-1, #125E96);
    color: var(--Azul-1, #125E96);
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.2px;
}

.event-card {
    flex-direction: column;
}

@media (min-width: 1024px) {
    .event-card {
        flex-direction: row;
    }
}

/* ===== Success Cases Section ===== */
.success-cases-section {
    background: var(--Degradado-2a, linear-gradient(180deg, var(--Secundario-2, #D2D8E4) 0%, #FFF 100%));
}

.success-cases-inner {
    display: flex;
    flex-direction: column;
}

.success-cases-header {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.success-cases-title {
    font-family: "DM Sans", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: var(--texto-gris-oscuro);
    margin: 0;
}

.success-cases-title-accent {
    color: var(--azul-3);
}

.success-cases-intro {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--texto-gris-oscuro);
    margin: 0;
}

.success-cases-list {
    display: flex;
    flex-direction: column;
}

.success-case-card {
    display: flex;
    flex-direction: column;
    background: var(--texto-blanco);
    padding: 30px;
    align-items: stretch;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .success-case-card {
        flex-direction: row;
        align-items: stretch;
        padding: 40px;
    }
}

.success-case-content {
    padding: 20px 0px;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .success-case-content {
        padding: 50px;
        max-width: 620px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.success-case-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1px;
    color: var(--texto-gris-oscuro);
    margin: 0;
    padding-bottom: 10px;
}

.success-case-tags {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 15px;
}

.success-case-tag {
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.2px;
    color: var(--azul-3);
    background: var(--Secundario-2, #D2D8E4);
    padding: 6px 12px;
    display: inline-block;
}

.success-case-description {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--texto-gris-oscuro);
    margin: 0;
}

.success-case-cta {
    margin-top: 15px;
}

.success-case-media {
    min-height: 240px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .success-case-media {
        flex: 1 1 0;
        min-width: 0;
        min-height: 380px;
    }
}

.success-case-image {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
}

@media (min-width: 1024px) {
    .success-case-image {
        min-height: 380px;
    }
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: var(--azul-3);
}

.newsletter-title {
    font-family: "DM Sans", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--texto-blanco);
    margin: 0;
}

.newsletter-description {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--texto-blanco);
    margin: 0;
}

.newsletter-disclaimer {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--texto-blanco);
    margin: 0;
}

.newsletter-inner {
    flex-direction: column;
}

.newsletter-content{
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .newsletter-inner {
        flex-direction: row;
        gap: 80px;
    }
}

.newsletter-form-row {
    flex-direction: column;
}

@media (min-width: 640px) {
    .newsletter-form-row {
        flex-direction: row;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive: new sections */
@media (max-width: 1023px) {
    .news-banner-section .news-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .news-banner-content {
        max-width: 100%;
    }

    .blog-grid {
        flex-direction: column;
    }

    .blog-list {
        max-width: 100%;
    }

    .event-card {
        flex-direction: column;
    }

    .event-card-media {
        min-height: 200px;
    }

    .event-card-content {
        max-width: 100%;
    }

    .success-case-card {
        flex-direction: column;
    }

    .success-case-media {
        max-width: 100%;
    }

    .success-case-content {
        max-width: 100%;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content {
        max-width: 100%;
    }

    .newsletter-form-wrapper {
        max-width: 100%;
    }
}