/* ==========================================================================
   C4 LOGÍSTICA Y TRANSPORTE - STYLES
   ========================================================================== */

/* CSS CUSTOM PROPERTIES (VARIABLES)
   ========================================================================== */
:root {
  /* ====================================================================
     COLOR SYSTEM
     ==================================================================== */

  /* Base Colors */
  --color-white: #fff;
  --color-black: #000;

  /* Brand Colors */
  --color-green-primary: #00b04a;
  --color-green-dark: #009940;

  /* Blue Palette */
  --color-blue-primary: #1e3a8a;
  --color-blue-light: #3b82f6;
  --color-blue-dark: #252758;
  --color-blue-dark-2: #00263f;
  --color-blue-testimonial: #004777;
  --color-blue-accent: #0095ff;
  --color-blue-light-accent: #33b4ff;
  --color-blue-support: #003452;
  --color-blue-border: #014776;
  --color-blue-hero-subtitle: #2D7CC0;

  /* Gray Palette */
  --color-gray-dark: #374151;
  --color-gray-text: #444;
  --color-gray-dark-text: #111;
  --color-gray-medium-text: #555;

  /* Accent Colors */
  --color-cyan-light: #1fc4f4;
  --color-cyan-bright: #00d6f3;


  /* ====================================================================
     TYPOGRAPHY SYSTEM
     ==================================================================== */

  /* Font Family */
  --font-primary:
    'Inter', -apple-system, blinkmacsystemfont, 'Segoe UI', sans-serif;

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Base Font Sizes */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-lg-2: 1.5rem; /* 24px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-5xl: 3rem; /* 48px */
  --font-size-6xl: 3.75rem; /* 60px */
  --font-size-7xl: 4.5rem; /* 72px */
  --font-size-8xl: 5.25rem; /* 84px */


  /* Component Font Sizes */
  --font-size-hero: 80px;
  --font-size-pillar: 42px;
  --font-size-service-title: 30px;
  --font-size-metric: 24px;
  --font-size-part2: 54px;
  --font-size-text-content: 64px;

  /* Line Heights */
  --line-height-tight: 80%;
  --line-height-compact: 94%;
  --line-height-very-tight: 60%;

  /* Letter Spacing */
  --letter-spacing-tight: -4%;
  --letter-spacing-wide: 4%;

  /* ====================================================================
     SPACING SYSTEM
     ==================================================================== */

  /* Base Spacing Scale */
  --spacing-sm: 0.5rem; /* 8px */
  --spacing-md: 1rem; /* 16px */
  --spacing-lg: 1.5rem; /* 24px */
  --spacing-xl: 2rem; /* 32px */
  --spacing-2xl: 3rem; /* 48px */

  /* Component Spacing */

  /* Gaps */
  --gap-part1: 2rem; /* 32px */
  --gap-location: 40px; /* 64px */

  /* Margins */
  --margin-section-sm: 2rem; /* 32px */

  /* ====================================================================
     LAYOUT SYSTEM
     ==================================================================== */

  /* Container */
  --container-width: 1200px;
  --container-padding: 1rem; /* 16px */

  /* Element Widths */
  --width-video: 50%; /* 50% */
  --width-text: 30%; /* 30% */
  --width-testimonial: 30%; /* 50% */

  /* Element Heights */
  --height-btn: 45px; /* 50px */
  --height-nav: 70px; /* 70px */
  --height-location-map: 350px; /* 350px */

  /* Element Sizes */
  --size-nav-logo: 80px;
  --size-btn-icon: 28px;
  --size-testimonial-img: 400px;
  --size-logo-max: 150px;

  /* Carousel Variables */
  --carousel-speed-desktop: 16s;
  --carousel-speed-tablet: 12s;
  --carousel-speed-mobile: 80s;
  --logo-size-desktop: 150px;
  --logo-size-tablet: 120px;
  --logo-size-mobile: 100px;
  --carousel-gap: 5rem;


  /* Flex Basis */
  --flex-basis-video: 1 1 300px;
  --flex-basis-location: 1 1 400px;


  /* ====================================================================
     VISUAL EFFECTS SYSTEM
     ==================================================================== */

  /* Border Radius */
  --border-radius-50px: 50px;
  --border-radius-map: 8px;
  --border-radius-testimonial: 50%;

  /* Box Shadows */
  --box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%);
  --box-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%);
  --box-shadow-card: 0px 6px 18.4px 2px #0000004d;

  /* Borders */
  --border-testimonial: 4px solid var(--color-blue-border);

  /* Opacity */
  --opacity-logo: 0.8;

  /* Transforms */
  --transform-hover-up: translateY(-2px);

  /* Transitions */
  --transition-normal: 0.3s ease;

  /* Z-Index */
  --z-sticky: 1020;

  /* ====================================================================
     RESPONSIVE BREAKPOINTS
     ==================================================================== */

  --breakpoint-mobile-small: 320px;
  --breakpoint-mobile-middle: 375px;
  --breakpoint-mobile-large: 425px;
  --breakpoint-tablet: 768px;
  --breakpoint-laptop: 1024px;
  --breakpoint-desktop: 1200px;
}

/* RESET AND BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  width: 100vw;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--color-gray-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* UTILITY CLASSES
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.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;
}

/* HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--height-nav);
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--box-shadow);
  z-index: var(--z-sticky);
  transition: all var(--transition-normal);
  box-sizing: border-box;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 5%;
  min-height: var(--height-nav);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav__logo-text {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
}

.nav__logo-img {
  width: var(--size-nav-logo);
  height: var(--size-nav-logo);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  border-radius: var(--border-radius-50px);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  width: 140px;
}

.btn--primary {
  background-color: var(--color-green-primary);
  color: var(--color-white);
  box-shadow: var(--box-shadow);
  height: var(--height-btn);
}

.btn--primary:hover,
.btn--primary:focus {
  background-color: var(--color-green-dark);
  box-shadow: var(--box-shadow-lg);
}

.btn__icon {
  width: var(--size-btn-icon);
  height: var(--size-btn-icon);
}

/* MAIN CONTAINER
   ========================================================================== */
.main {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HERO SECTION
   ========================================================================== */
.hero {
  max-height: 81vh;
  margin-top: var(--height-nav);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__content {
  width: 50%;
  padding: var(--spacing-2xl);
  z-index: 1;
  color: var(--color-black);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #F6F5F5;
}

/* Solo aplicar height: 100vh en desktop (mayor a 768px) */
@media (width > 768px) {
  .hero__content {
    height: 100vh;
  }
}

.hero__background {
  width: 50%;
  height: 100vh;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__title {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  font-style: italic;
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-blue-dark-2);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  font-style: italic;
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-blue-hero-subtitle);
  margin-top: 20px;
}

/* ====================================================================
   PILLARS SECTION - LAYOUT RESPONSIVO
   ==================================================================== */

/* Desktop (>= 1200px): Grid estático */
@media (width >= 1200px) {
.pillars {
    display: block;
  }
  
  .pillars-carousel-container {
    display: block;
  }
  
  .pillars-carousel-track {
  display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  
  /* Ocultar duplicados en desktop */
  .pillars-duplicate {
    display: none;
  }
}

/* Menor a Desktop (< 1200px): Carrusel infinito */
@media (width < 1200px) {
  .pillars {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  
  .pillars-carousel-container {
    width: 100%;
    overflow: hidden;
  }
  
  .pillars-carousel-track {
    display: flex;
    align-items: center;
    gap: 0;
    animation: pillars-carousel 12s linear infinite;
    width: max-content;
  }
  
  /* Mostrar duplicados para efecto infinito */
  .pillars-duplicate {
    display: block;
  }
}

.pillar {
  height: 78px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

/* Pillars con fondos alternados */
.pillar:nth-child(odd) {
  background-color: var(--color-blue-light);
}

.pillar:nth-child(even) {
  background-color: var(--color-blue-dark-2);
}

.pillar__text {
  color: var(--color-white);
  font-size: var(--font-size-pillar);
  font-weight: 900;
  font-style: italic;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}



/* Why Choose Us Section */

.section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.part1 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-part1);
  justify-content: center;
  align-items: flex-start;
}

.video-container {
  flex: var(--flex-basis-video);
  width: var(--width-video);
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-normal);
}

.video-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.part2 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-black);
  font-style: italic;
  font-size: var(--font-size-5xl);
  line-height: var(--line-height-very-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-blue-dark-2);
  text-align: center;
  margin: 60px;
}

/* ====================================================================
   CARRUSEL UNIVERSAL - PART3
   ==================================================================== */

/* LAYOUT BASE - Carrusel para todos los dispositivos */
.part3 {
  position: relative;
  margin-bottom: var(--margin-section-sm);
  overflow: hidden;
  width: 100%;
}

/* Contenedor del carrusel */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Track del carrusel - Carrusel infinito por defecto */
.carousel-track {
  display: flex;
  align-items: center;
  gap: var(--carousel-gap);
  animation: carousel-desktop var(--carousel-speed-tablet) linear infinite;
  width: max-content;
  padding: 2rem 0;
}

/* Logos base */
.logo {
  max-width: var(--logo-size-desktop);
  max-height: var(--logo-size-desktop);
  opacity: var(--opacity-logo);
  transition: opacity var(--transition-normal);
  flex-shrink: 0;
}

.carousel-track .logo:hover {
  opacity: 1;
}

/* Mostrar duplicados para efecto infinito en todos los dispositivos */
.carousel-duplicate {
  display: block;
}

/* Indicadores - Ocultos en todos los dispositivos */
.carousel-indicators {
  display: none;
}



/* ====================================================================
   SUPPORT BANNER RESPONSIVE
   ==================================================================== */

/* Layout base - Web/Tablet: 1 fila con 3 columnas (33% cada div) */
.support-banner {
  position: relative;
  width: 100%;
  font-family: var(--font-primary);
  font-weight: bold;
  font-size: 1rem;
  color: white;
}

/* Contenedor del carrusel - Por defecto oculto */
.support-banner-carousel-container {
  display: none;
  width: 100%;
  overflow: hidden;
}

/* Track del carrusel */
.support-banner-carousel-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: support-banner-carousel 8s linear infinite;
  width: max-content;
}

/* Layout tablet y desktop - Grid estático */
@media (width > 425px) {
  .support-banner {
  display: flex;
    flex-direction: row;
    justify-content: center;
  align-items: center;
  text-align: center;
    position: static;
  }
  
  .support-banner-carousel-container {
    display: flex !important;
    position: static;
    overflow: visible;
    width: 100%;
  }
  
  .support-banner-carousel-track {
    display: flex;
    animation: none;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  
  /* Ocultar duplicados en tablet y desktop */
  .support-banner-duplicate {
    display: none !important;
  }
  
  /* Estilos para tablet */
  @media (width <= 768px) and (width > 425px) {
    .support-banner__item {
      font-size: 1.1rem; /* 17.6px - Accesible para tablet */
      padding: 1.2rem;
    }
  }
  
  /* Estilos para desktop */
  @media (width > 768px) {
    .support-banner__item {
      font-size: 40px; /* 20px - Óptimo para desktop */
      padding: 1.5rem;
    }
  }
}

.support-banner__item {
  padding: 1rem;
  flex: 1; /* Cada div ocupa exactamente 33.33% */
  min-width: 0; /* Evita overflow */
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-banner__text {
  background-color: var(--color-blue-support);
}

.support-banner__brand {
  background-color: var(--color-blue-support);
}

.support-banner__brand--blue {
  background-color: var(--color-blue-light-accent);
}

/* Testimonial Section */
.testimonial {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  background-color: var(--color-blue-testimonial);
  padding: var(--spacing-section);
}

/* Client Image */
.testimonial-image img {
  width: var(--size-testimonial-img);
  height: var(--size-testimonial-img);
  object-fit: cover;
  border-radius: var(--border-radius-testimonial);
  border: var(--border-testimonial);
}

/* Textual Content */
.testimonial-content {
  max-width: var(--width-testimonial);
  width: 100%;
}

.testimonial-content__title {
  font-size: var(--font-size-7xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-white);
}

.testimonial-content .quote {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-white);
  margin-bottom: 25px;
}

.author p {
  font-size: 1.1rem;
  color: var(--color-cyan-light);
  line-height: 1.4;
}

.author .company {
  color: var(--color-cyan-bright);
  font-weight: bold;
}

/* Responsive */


/* Ubicación */
.location {
  display: flex;
  flex-wrap: wrap;
  padding: 60px var(--gap-location);
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-location);
}

.location-info {
  flex: var(--flex-basis-location);
  max-width: 600px;
}

.location-info h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-black);
}

.location-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--color-gray-text);
}

.location-address p {
  font-size: 1rem;
  color: var(--color-gray-dark-text);
}

.location-map {
  flex: var(--flex-basis-location);
  max-width: 600px;
}

.location-map iframe {
  width: 100%;
  height: var(--height-location-map);
  border: none;
  border-radius: var(--border-radius-map);
}



/* ====================================================================
   MOBILE RESPONSIVE - HEADER ADJUSTMENTS (320px - 425px)
   ==================================================================== */

/* Ocultar texto del logo en mobile */
@media (width <= 425px) {
  .nav__logo-text {
    display: none;
  }
  
  /* Ocultar ícono de WhatsApp en el botón del header */

  /* .nav .btn__icon {
    display: none;
  } */

  /* ====================================================================
     BUTTON MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Resetear ancho del botón en mobile para que se ajuste al contenido */
  .btn {
    width: auto;
  }

  /* ====================================================================
     RAZONES SECTION MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Layout de una sola columna para todas las filas */
  .razones__row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* Fila 1: Text primero, imagen debajo - Ancho completo del row padre */
  .razones__row--1 {
    width: 100%;
    max-width: 100%;
  }
  
  .razones__row--1 .razones__col--text {
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
  }
  
  .razones__row--1 .razones__col--image {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .razones__row--1 .razones__image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
  }
  
  /* Fila 2: Text primero, video debajo - Ancho completo del row padre */
  .razones__row--2 {
    width: 100%;
    max-width: 100%;
  }
  
  .razones__row--2 .razones__col--text {
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
  }
  
  .razones__row--2 .razones__col--video {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
  
  .razones__video-container {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
  }
  
  .razones__video {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
  }
  
  /* Fila 3: Una sola columna con dos filas - Mobile */
  .razones__row--3 {
    display: flex;
    flex-direction: column;
    min-height: auto;
    width: 100%;
    max-width: 100%;
  }
  
  /* FILA 1: Métricas - Ancho completo del padre */
  .razones__col--metrics {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
  }
  
  /* FILA 2: Imágenes - Ancho completo del padre */
  .razones__col--images {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
  }
  
  /* Métricas individuales */
  .razones__metric--1,
  .razones__metric--2,
  .razones__metric--3 {
    width: 100%;
    min-height: 150px;
    padding: 1.5rem;
    box-sizing: border-box;
  }
  
  /* Imágenes individuales */
  .razones__image-top,
  .razones__image-bottom {
    width: 100%;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .razones__infrastructure-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  /* Tipografía optimizada para mobile - Adaptada a ancho completo */
  .razones__title {
    font-size: 2.25rem; /* 36px - Escalado para ancho completo mobile */
    font-weight: 700;
    text-align: center;
    margin: 2.5rem auto 1.75rem;
    line-height: 1.25;
    max-width: 100%;
    color: var(--color-blue-dark);
    padding: 0 1rem;
    letter-spacing: -0.01em;
  }
  
  .quienes-somos__title {
    font-size: 2.25rem; /* 36px - Escalado para ancho completo mobile */
    font-weight: 700;
    text-align: center;
    margin: 2.5rem auto 1.75rem;
    line-height: 1.25;
    max-width: 100%;
    color: var(--color-blue-dark);
    padding: 0 1rem;
    letter-spacing: -0.01em;
  }
  
  .razones__description {
    font-size: 1.15rem; /* 18.4px - Escalado para mejor legibilidad mobile */
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
    margin: 2rem auto;
    max-width: 100%;
    color: var(--color-text-primary);
    letter-spacing: 0.005em;
  }
  
  .razones__list {
    text-align: left;
    max-width: 100%;
    margin: 2.5rem auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .razones__list-item {
    font-size: 1.05rem; /* 16.8px - Escalado para mobile ancho completo */
    font-weight: 400;
    line-height: 1.85;
    margin-bottom: 0; /* Usando gap en lugar de margin */
    display: flex;
    align-items: flex-start;
    width: 100%;
    color: var(--color-text-primary);
    padding: 0.5rem 0;
    letter-spacing: 0.005em;
  }
  
  .razones__list-item span {
    margin-left: 0.25rem;
    margin-top: 0.075rem;
  }
  
  .razones__check-icon {
    width: 20px;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
  }
  
  /* Tipografía de métricas optimizada para mobile */
  .razones__metric-number {
    font-size: 2.75rem; /* 44px - Escalado para mobile ancho completo */
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: white;
    text-align: center;
    letter-spacing: -0.015em;
  }
  
  .razones__metric-number-2 {
    font-size: 2.25rem; /* 36px - Escalado para mobile */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
    letter-spacing: -0.01em;
  }
  
  .razones__metric-number-3 {
    font-size: 2.5rem; /* 40px - Escalado para mobile */
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: white;
    text-align: center;
    letter-spacing: -0.015em;
  }
  
  .razones__metric-title-3 {
    font-size: 2rem; /* 32px - Escalado para mobile */
    font-weight: 700;
    line-height: 1.25;
    color: white;
    text-align: center;
    letter-spacing: -0.01em;
  }
  
  .razones__metric-sub-text-1 {
    font-size: 1rem; /* 16px - Accesible para mobile */
    font-weight: 500;
    line-height: 1.5;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.005em;
  }

/* ====================================================================
     LOCATION SECTION MOBILE RESPONSIVE
     ==================================================================== */
  
  .location-info h2 {
    font-size: 1.8rem; /* Tamaño accesible para mobile */
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
  }
  
  /* ====================================================================
     HERO SECTION MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Cambiar layout del hero a columnas apiladas para mobile */
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: calc(100vh - var(--height-nav)); /* Restar altura del header */
    margin-top: var(--height-nav); /* Agregar margen para el header fijo */
  }
  
  .hero__content {
    width: 100%;
    order: 1; /* Columna 1 arriba */
    padding: 2rem 1rem;
    text-align: center;
    background-color: #F6F5F5; /* Fondo claro para mobile */
    color: var(--color-black);
  }
  
  .hero__background {
    width: 100%;
    order: 2; /* Columna 2 abajo */
    height: 50vh; /* Altura reducida para mobile */
  }
  
  /* Ajustar título del hero para mobile */
  .hero__title {
    font-size: 3rem; /* 48px - más pequeño para mobile */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--color-blue-dark-2);
  }
  
  /* Ajustar subtítulo del hero para mobile */
  .hero__subtitle {
    font-size: 3rem; /* 48px - mismo tamaño que título */
    text-align: center;
    margin-top: 20px;
    line-height: 1.1;
    color: var(--color-blue-hero-subtitle);
  }

  
  /* ====================================================================
     PART2 SECTION MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Ajustar part2 para mobile con accesibilidad */
  .part2 {
    font-size: 1.5rem; /* 24px - tamaño accesible para mobile */
    line-height: 1.4; /* Mejor legibilidad */
    padding: 2rem 1rem; /* Márgenes horizontales y verticales */
    margin: 1.5rem auto; /* Centrado con márgenes verticales */
    max-width: 95%; /* Márgenes horizontales */
    text-align: center;
    color: var(--color-blue-dark-2);
  }
  
  /* ====================================================================
     PART3 CAROUSEL MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Configurar carrusel infinito para part3 en mobile */
  .part3 {
    overflow: hidden;
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .carousel-container {
    width: 100%;
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    align-items: center;
    gap: var(--carousel-gap);
    animation: carousel-mobile var(--carousel-speed-mobile) linear infinite;
    width: max-content;
    padding: 2rem 0;
  }
  
  /* Mostrar logos duplicados para efecto infinito */
  .carousel-duplicate {
    display: block;
  }
  
  /* Ajustar tamaño de logos para mobile */
  .carousel-track .logo {
    max-width: var(--logo-size-mobile);
    max-height: var(--logo-size-mobile);
    opacity: 0.8;
    flex-shrink: 0;
  }
  
  /* ====================================================================
     SUPPORT BANNER MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Activar carrusel en mobile */
  .support-banner {
    display: block;
    overflow: hidden;
  }
  
  .support-banner-carousel-container {
    display: block !important;
  }
  
  .support-banner-carousel-track {
    display: flex;
    align-items: center;
    gap: 0;
    animation: support-banner-carousel 8s linear infinite;
    width: max-content;
  }
  
  /* Mostrar duplicados para efecto infinito */
  .support-banner-duplicate {
    display: flex;
  }
  
  /* Ajustar items para mobile */
  .support-banner__item {
    flex-shrink: 0;
    min-width: 200px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem; /* 15.2px - Mínimo accesible para mobile */
    line-height: 1.6; /* Mejor legibilidad en mobile */
  }
  
  /* ====================================================================
     TESTIMONIAL SECTION MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Ajustar layout de testimonial para mobile */
  .testimonial {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    text-align: center;
  }
  
  /* Imagen redonda optimizada para mobile */
  .testimonial-image {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .testimonial-image img {
    width: 180px; /* Tamaño accesible para mobile */
    height: 180px; /* Mantener aspecto cuadrado */
    object-fit: cover;
    border-radius: 50%; /* Imagen redonda */
    border: 2px solid var(--color-blue-border); /* Borde más delgado para mobile */
  }
  
  /* Contenido centrado para mobile */
  .testimonial-content {
    order: 2;
    max-width: 95%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Título del testimonial para mobile con accesibilidad */
  .testimonial-content__title {
    font-size: 1.8rem; /* 28.8px - tamaño accesible para mobile */
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-align: center;
  }
  
  /* Quote para mobile con accesibilidad */
  .testimonial-content .quote {
    font-size: 0.95rem; /* 15.2px - tamaño mínimo accesible */
    line-height: 1.7; /* Excelente legibilidad para mobile */
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
  }
  
  /* Author info para mobile */
  .author p {
    font-size: 0.9rem; /* 14.4px - tamaño legible para mobile */
    color: var(--color-cyan-light);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  .author .company {
    color: var(--color-cyan-bright);
    font-weight: bold;
    font-size: 0.95rem; /* Destacar ligeramente la empresa */
  }
  
  
  /* ====================================================================
     LOCATION SECTION MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Ajustar location para mobile con accesibilidad */
  .location {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 1.5rem;
    text-align: center;
  }
  
  /* Info de ubicación centrada para mobile */
  .location-info {
    flex: none;
    max-width: 95%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 0 0.5rem;
  }
  

  
  /* Párrafo de descripción para mobile */
  .location-info p {
    font-size: 0.95rem; /* Tamaño accesible para mobile */
    line-height: 1.7; /* Excelente legibilidad para mobile */
    margin-bottom: 1.5rem;
    color: var(--color-gray-text);
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Dirección para mobile */
  .location-address p {
    font-size: 1rem; /* Destacar la dirección en mobile */
    color: var(--color-gray-dark-text);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 600; /* Hacer más visible en mobile */
  }
  
  /* Mapa centrado para mobile */
  .location-map {
    flex: none;
    max-width: 95%;
    width: 100%;
    margin: 0 auto;
  }
  
  .location-map iframe {
    width: 100%;
    height: 250px; /* Altura reducida para mobile */
    border: none;
    border-radius: var(--border-radius-map);
  }
}

/* ====================================================================
   TABLET RESPONSIVE - PILLARS ADJUSTMENTS (768px)
   ==================================================================== */

/* Pillars en tablet: layout 2x2 */
@media (width <= 768px) and (width >= 426px) {
  /* ====================================================================
     PART3 CAROUSEL TABLET RESPONSIVE
     ==================================================================== */
  
  /* Configurar carrusel infinito para part3 en tablet */
  .part3 {
    overflow: hidden;
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .carousel-container {
    width: 100%;
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    align-items: center;
    gap: var(--carousel-gap);
    animation: carousel-mobile var(--carousel-speed-tablet) linear infinite;
    width: max-content;
    padding: 2rem 0;
  }
  
  /* Mostrar logos duplicados para efecto infinito */
  .carousel-duplicate {
    display: block;
  }
  
  /* Ajustar tamaño de logos para tablet */
  .carousel-track .logo {
    max-width: var(--logo-size-tablet);
    max-height: var(--logo-size-tablet);
    opacity: 0.8;
    flex-shrink: 0;
  }
  
  /* ====================================================================
     RAZONES SECTION TABLET RESPONSIVE
     ==================================================================== */
  
  /* Layout de una sola columna para todas las filas */
  .razones__row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* Fila 1: Text primero, imagen debajo - Ancho completo del row padre */
  .razones__row--1 {
    width: 100%;
    max-width: 100%;
  }
  
  .razones__row--1 .razones__col--text {
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
  }
  
  .razones__row--1 .razones__col--image {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .razones__row--1 .razones__image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
  }
  
  /* Fila 2: Text primero, video debajo - Ancho completo del row padre */
  .razones__row--2 {
    width: 100%;
    max-width: 100%;
  }
  
  .razones__row--2 .razones__col--text {
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
  }
  
  .razones__row--2 .razones__col--video {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
  
  .razones__video-container {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
  }
  
  .razones__video {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
  }
  
  /* Fila 3: Una sola columna - Tablet (mismo orden que mobile) */
  .razones__row--3 {
    display: flex;
    flex-direction: column;
    min-height: auto;
    width: 100%;
    max-width: 100%;
  }
  
  /* Las columnas pierden sentido, ahora solo importan los hijos */
  .razones__col--images,
  .razones__col--metrics {
    display: contents;

    /* Deja que los hijos se organicen solos */
    height: auto;
  }
  
  /* Reordenamos los elementos - MISMO ORDEN QUE MOBILE */
  .razones__image-top {
    order: 1;
  }
  
  .razones__metric--1 {
    order: 2;
  }
  
  .razones__metric--2 {
    order: 3;
  }
  
  .razones__metric--3 {
    order: 4;
  }
  
  .razones__image-bottom {
    order: 5;
  }
  
  /* Ajuste de tamaños en tablet */
  .razones__image-top,
  .razones__image-bottom {
    width: 100%;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 2rem;
  }
  
  .razones__metric--1,
  .razones__metric--2,
  .razones__metric--3 {
    width: 100%;
    min-height: 180px;
    padding: 2rem;
    box-sizing: border-box;
  }
  
  .razones__infrastructure-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  /* Tipografía optimizada para tablet - Adaptada a ancho completo */
  .razones__title {
    font-size: 3rem; /* 48px - Escalado para ancho completo tablet */
    font-weight: 700;
    text-align: center;
    margin: 3rem auto 2rem;
    line-height: 1.2;
    max-width: 100%;
    color: var(--color-blue-dark);
    letter-spacing: -0.02em;
  }
  
  .quienes-somos__title {
    font-size: 3rem; /* 48px - Escalado para ancho completo tablet */
    font-weight: 700;
    text-align: center;
    margin: 3rem auto 2rem;
    line-height: 1.2;
    max-width: 100%;
    color: var(--color-blue-dark);
    letter-spacing: -0.02em;
  }
  
  .razones__description {
    font-size: 1.4rem; /* 22.4px - Escalado para mejor legibilidad */
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
    margin: 2.5rem auto;
    max-width: 100%;
    color: var(--color-text-primary);
    padding: 0 2rem;
    letter-spacing: 0.01em;
  }
  
  .razones__list {
    text-align: left;
    max-width: 100%;
    margin: 3rem auto;
    padding: 0 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .razones__list-item {
    font-size: 1.25rem; /* 20px - Escalado para tablet ancho completo */
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 0; /* Usando gap en lugar de margin */
    display: flex;
    align-items: flex-start;
    width: 100%;
    color: var(--color-text-primary);
    padding: 0.75rem 0;
    letter-spacing: 0.01em;
  }
  
  .razones__list-item span {
    margin-left: 0.25rem;
    margin-top: 0.1rem;
  }
  
  .razones__check-icon {
    width: 24px;
    margin-right: 1.25rem;
    flex-shrink: 0;
    margin-top: 8px;
  }
  
  /* Tipografía de métricas optimizada para tablet */
  .razones__metric-number {
    font-size: 3.5rem; /* 56px - Escalado para tablet */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: white;
    text-align: center;
    letter-spacing: -0.02em;
  }
  
  .razones__metric-number-2 {
    font-size: 2.75rem; /* 44px - Escalado para tablet */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
    letter-spacing: -0.01em;
  }
  
  .razones__metric-number-3 {
    font-size: 3.25rem; /* 52px - Escalado para tablet */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: white;
    text-align: center;
    letter-spacing: -0.02em;
  }
  
  .razones__metric-title-3 {
    font-size: 2.5rem; /* 40px - Escalado para tablet */
    font-weight: 700;
    line-height: 1.2;
    color: white;
    text-align: center;
    letter-spacing: -0.01em;
  }
  
  .razones__metric-sub-text-1 {
    font-size: 1.25rem; /* 20px - Accesible para tablet */
    font-weight: 500;
    line-height: 1.4;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.005em;
  }

  /* ====================================================================
     HERO SECTION TABLET RESPONSIVE
     ==================================================================== */
  
  /* Cambiar layout del hero a columnas apiladas para tablet */
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: calc(100vh - var(--height-nav)); /* Restar altura del header */
    margin-top: var(--height-nav); /* Agregar margen para el header fijo */
  }
  
  .hero__content {
    width: 100%;
    order: 1; /* Columna 1 arriba */
    padding: 3rem 2rem;
    text-align: center;
    background-color: #F6F5F5; /* Fondo claro para tablet */
    color: var(--color-black);
  }
  
  .hero__background {
    width: 100%;
    order: 2; /* Columna 2 abajo */
    height: 60vh; /* Altura para tablet */
  }
  
  /* Ajustar título del hero para tablet */
  .hero__title {
    font-size: 4rem; /* Tamaño intermedio para tablet */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--color-blue-dark-2);
  }
  
  /* Ajustar subtítulo del hero para tablet */
  .hero__subtitle {
    font-size: 4rem; /* Tamaño intermedio para tablet */
    text-align: center;
    margin-top: 20px;
    line-height: 1.1;
    color: var(--color-blue-hero-subtitle);
  }

  
  /* ====================================================================
     TESTIMONIAL SECTION TABLET RESPONSIVE
     ==================================================================== */
  
  /* Cambiar layout de testimonial a columna */
  .testimonial {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 2rem;
    text-align: center;
  }
  
  /* Fila 1: Imagen redonda ajustada para tablet */
  .testimonial-image {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .testimonial-image img {
    width: 250px; /* Tamaño más pequeño para tablet */
    height: 250px; /* Mantener aspecto cuadrado */
    object-fit: cover;
    border-radius: 50%; /* Imagen redonda */
    border: 3px solid var(--color-blue-border); /* Borde más delgado */
  }
  
  /* Fila 2: Contenido centrado con accesibilidad */
  .testimonial-content {
    order: 2;
    max-width: 90%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  
  /* Título del testimonial para tablet */
  .testimonial-content__title {
    font-size: 2.5rem; /* Reducir de 72px para tablet */
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-align: center;
  }
  
  /* Quote para tablet con accesibilidad */
  .testimonial-content .quote {
    font-size: 1.1rem; /* Tamaño accesible para tablet */
    line-height: 1.6; /* Mejor legibilidad */
    color: var(--color-white);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Author info para tablet */
  .author p {
    font-size: 1rem;
    color: var(--color-cyan-light);
    line-height: 1.5;
    text-align: center;
  }
  
  .author .company {
    color: var(--color-cyan-bright);
    font-weight: bold;
  }
  
  /* ====================================================================
     LOCATION SECTION TABLET RESPONSIVE
     ==================================================================== */
  
  /* Ajustar location para tablet con accesibilidad */
  .location {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    gap: 2rem;
    text-align: center;
  }
  
  /* Info de ubicación centrada para tablet */
  .location-info {
    flex: none;
    max-width: 90%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  

  
  /* Párrafo de descripción para tablet */
  .location-info p {
    font-size: 1.1rem; /* Tamaño accesible para tablet */
    line-height: 1.6; /* Excelente legibilidad */
    margin-bottom: 1.5rem;
    color: var(--color-gray-text);
    text-align: center;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Dirección para tablet */
  .location-address p {
    font-size: 1.2rem; /* Destacar la dirección */
    color: var(--color-gray-dark-text);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  
  /* Mapa centrado para tablet */
  .location-map {
    flex: none;
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
  }
  
  .location-map iframe {
    width: 100%;
    height: 300px; /* Altura reducida para tablet */
    border: none;
    border-radius: var(--border-radius-map);
  }
}

/* ====================================================================
   CAROUSEL ANIMATIONS
   ==================================================================== */

/* Animación para mobile - scroll continuo infinito */
@keyframes carousel-mobile {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Animación para desktop - scroll continuo infinito */
@keyframes carousel-desktop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Animación para pillars carousel */
@keyframes pillars-carousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Animación para support-banner carousel */
@keyframes support-banner-carousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ====================================================================
   RAZONES SECTION
   ==================================================================== */

/* Razones Section - Layout base */
.razones {
  background-color: var(--color-white);
}

.razones__row {
  display: flex;
  align-items: stretch;
}

.razones__col {
  flex: 1;
}

/* Fila 1 - Razones para elegirnos */
.razones__row--1 {
  width: 100%;
}

.razones__row--1 .razones__col--text {
  width: 50%;
}

.razones__row--1 .razones__col--image {
  width: 50%;
  display: flex;
  align-items: stretch;
}

.razones__title {
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-black);
  color: var(--color-blue-dark-2);
  line-height: 1.2;
  margin: var(--spacing-2xl);
}

.razones__description {
  font-size: var(--font-size-lg-2);
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin: var(--spacing-2xl);
}

.quienes-somos__title{
  font-size: var(--font-size-text-content);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  font-style: italic;
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-blue-dark-2);
  margin: var(--spacing-2xl) 0;
  text-align: center;
}

  .answer {
    text-align: end;
  }

/* ====================================================================
   PART3 CAROUSEL DESKTOP RESPONSIVE
   ==================================================================== */

/* Configurar carrusel infinito para part3 en desktop */
@media (width > 768px) {
  .part3 {
    overflow: hidden;
    width: 100%;
    margin-bottom: var(--margin-section-sm);
  }
  
  .carousel-container {
    width: 100%;
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    align-items: center;
    gap: var(--carousel-gap);
    animation: carousel-desktop var(--carousel-speed-desktop) linear infinite;
    width: max-content;
    padding: 2rem 0;
  }
  
  /* Mostrar logos duplicados para efecto infinito */
  .carousel-duplicate {
    display: block;
  }
  
  /* Ajustar tamaño de logos para desktop */
  .carousel-track .logo {
    max-width: var(--logo-size-desktop);
    max-height: var(--logo-size-desktop);
    opacity: 0.8;
    flex-shrink: 0;
    transition: opacity var(--transition-normal);
  }
  
  .carousel-track .logo:hover {
    opacity: 1;
  }
}

.razones__list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin: var(--spacing-2xl);
}

.razones__list-item {
  display: flex;
  align-items: flex-start;
  font-size: var(--font-size-metric);
  line-height: 2;
  color: var(--color-gray-dark);
}

.razones__check-icon {
  width: 20px;
  margin-right: var(--spacing-md);
  flex-shrink: 0;
  margin-top: 16px;
}

.razones__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fila 2 - ¿Quiénes somos? */

.razones__video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

.razones__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ====================================================================
   Fila 3 - Infraestructura y métricas
   ==================================================================== */

 /* Contenedor principal con GRID en desktop SOLAMENTE */
 @media (width >= 769px) {
  .razones__row--3 {
    display: grid;
    grid-template-columns: 1fr 1fr;

    /* 2 columnas iguales */
    min-height: 70vh;
    
  }
}

/* Columnas como flex contenedores - SOLO DESKTOP */
@media (width >= 769px) {
  .razones__col--images,
  .razones__col--metrics {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  /* Hijos de imágenes (desktop: mitad cada uno) */
  .razones__image-top,
  .razones__image-bottom {
    flex: 1;
    display: flex;
    align-items: stretch;
  }

  /* Hijos de métricas (desktop: 1/3 cada uno) */
  .razones__metric {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
    color: white;
  }
}

/* Imágenes responsive - aplican a todos los breakpoints */
.razones__infrastructure-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Colores de métricas - aplican a todos los breakpoints */
.razones__metric--1 {
  background-color: #267DC0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -33px;
}

.razones__metric--2 {
  background-color: #00334C;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.razones__metric--3 {
  background-color: #00335D;
  color: #009FE2;
}

.razones__metric-number{
  font-size: var(--font-size-text-content);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: #00263F;
}

.razones__metric-sub-text-1{
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight:100;
  line-height: var(--line-height-tight);
  color: white;
  margin-top: 10px;
}

.razones__metric-number-2{
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: white;
  margin-top: 15px;
}

.razones__metric-number-3{
  font-size: var(--font-size-text-content);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: white;
}

.razones__metric-title-3{
  font-size: var(--font-size-7xl);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: #009FE2;
}

/* 📱 Mobile responsive: 425px o menos */
@media (width <= 425px) {
  .razones__row--3 {
    display: flex;

    /* Se vuelve una sola columna */
    flex-direction: column;
    min-height: auto;

    /* Altura según contenido */
  }

  /* Las columnas pierden sentido, ahora solo importan los hijos */
  .razones__col--images,
  .razones__col--metrics {
    display: contents;

    /* Deja que los hijos se organicen solos */
    height: auto;
  }

  /* Reordenamos los elementos */
  .razones__image-top {
    order: 1;
  }

  .razones__metric--1 {
    order: 2;
  }

  .razones__metric--2 {
    order: 3;
  }

  .razones__metric--3 {
    order: 4;
  }

  .razones__image-bottom {
    order: 5;
  }

  /* Ajuste de tamaños en mobile */
  .razones__image-top,
  .razones__image-bottom,
  .razones__metric {
    flex: none;

    /* Ocupan solo su contenido */
    min-height: 120px;

    /* Altura mínima para legibilidad */
  }

}



/* ====================================================================
   PILLARS-2 SECTION - CARRUSEL SIEMPRE ACTIVO
   ==================================================================== */

/* Pillars-2: Carrusel infinito en todos los dispositivos */
.pillars-2 {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: var(--margin-section-sm);
}

.pillars-2 .pillars-carousel-container {
  width: 100%;
  overflow: hidden;
}

.pillars-2 .pillars-carousel-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: pillars-carousel 24s linear infinite;
  width: max-content;
}

/* Mostrar duplicados siempre para efecto infinito */
.pillars-2 .pillars-duplicate {
  display: block;
}

/* Estilos específicos para pillars-2 */
.pillars-2 .pillar {
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  min-width: 300px; /* Ancho mínimo para mejor visualización */
}

/* Pillars-2 con fondos alternados */
.pillars-2 .pillar:nth-child(odd) {
  background-color: var(--color-blue-light);
}

.pillars-2 .pillar:nth-child(even) {
  background-color: var(--color-blue-dark-2);
}

.pillars-2 .pillar__text {
  color: var(--color-white);
  font-size: var(--font-size-pillar);
  font-weight: 900;
  font-style: italic;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

/* ====================================================================
   SAFARI-SPECIFIC STYLES - COMPATIBILITY FIXES
   ==================================================================== */

/* Detectar Safari usando media query específica */
@media screen and (resolution >= 0.001dpcm) {
  /* ====================================================================
     SAFARI BASE FIXES
     ==================================================================== */
  
  /* Fix para font rendering en Safari */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizelegibility;
  }
  
  /* Fix para box-sizing en Safari */
  *, *::before, *::after {
    box-sizing: border-box;
  }
  
  /* Fix para overflow en Safari */
  html, body {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
  }
  
  /* ====================================================================
     SAFARI RESPONSIVE BREAKPOINTS - STANDARDIZED SYNTAX
     ==================================================================== */
  
  /* Mobile Safari (320px - 425px) */
  @media screen and (width <= 425px) {
    /* Header fixes para Safari mobile */
    .nav__logo-text {
      display: none;
    }
    
    .btn {
      width: auto;
      appearance: none;
      border-radius: var(--border-radius-50px);
    }
    
    /* Hero section Safari mobile */
    .hero {
      flex-direction: column;
      min-height: calc(100vh - var(--height-nav));
    }
    
    .hero__content {
      width: 100%;
      order: 1;
      padding: 2rem 1rem;
      text-align: center;
    }
    
    .hero__background {
      width: 100%;
      order: 2;
      height: 50vh;
    }
    
    .hero__title {
      font-size: 3rem;
      text-align: center;
      line-height: 1.1;
    }
    
    .hero__subtitle {
      font-size: 3rem;
      text-align: center;
      line-height: 1.1;
    }
    
    /* Razones section Safari mobile */
    .razones__row {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    
    .razones__row--1 .razones__col--text {
      order: 1;
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }
    
    .razones__row--1 .razones__col--image {
      order: 2;
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }
    
    .razones__row--1 .razones__image {
      width: 100%;
      height: auto;
      max-height: 300px;
      object-fit: cover;
      object-position: center;
      object-position: bottom;
    }
    
    /* Razones row 2 Safari mobile */
    .razones__row--2 .razones__col--text {
      order: 1;
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }
    
    .razones__row--2 .razones__col--video {
      order: 2;
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .razones__video-container {
      width: 100%;
      max-width: 100%;
      aspect-ratio: 16/9;
      position: relative;
      overflow: hidden;
    }
    
    .razones__video {
      width: 100%;
      height: 100%;
      border: none;
      object-fit: cover;
    }
    
    /* Razones row 3 Safari mobile */
    .razones__row--3 {
      display: flex;
      flex-direction: column;
      min-height: auto;
      width: 100%;
      max-width: 100%;
    }
    
    .razones__col--images,
    .razones__col--metrics {
      display: contents;
      height: auto;
    }
    
    .razones__image-top {
      order: 1;
    }
    
    .razones__metric--1 {
      order: 2;
    }
    
    .razones__metric--2 {
      order: 3;
    }
    
    .razones__metric--3 {
      order: 4;
    }
    
    .razones__image-bottom {
      order: 5;
    }
    
    .razones__image-top,
    .razones__image-bottom {
      width: 100%;
      min-height: 200px;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }
    
    .razones__metric--1,
    .razones__metric--2,
    .razones__metric--3 {
      width: 100%;
      min-height: 150px;
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    
    .razones__infrastructure-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
    
    /* Typography Safari mobile - WCAG 2.1 AA Compliant */
    .razones__title {
      font-size: 2rem; /* 32px - Mínimo accesible para títulos móvil */
      font-weight: 700;
      text-align: center;
      margin: 2.5rem auto 1.75rem;
      line-height: 1.3; /* Mejorado para legibilidad */
      max-width: 100%;
      color: var(--color-blue-dark);
      padding: 0 1rem;
      letter-spacing: -0.01em; /* Mejor kerning en Safari */
    }
    
    .quienes-somos__title {
      font-size: 2rem; /* 32px - Consistente con razones__title */
      font-weight: 700;
      text-align: center;
      margin: 2.5rem auto 1.75rem;
      line-height: 1.3; /* Mejorado para legibilidad */
      max-width: 100%;
      color: var(--color-blue-dark);
      padding: 0 1rem;
      letter-spacing: -0.01em; /* Mejor kerning en Safari */
    }
    
    .razones__description {
      font-size: 1.125rem; /* 18px - Mínimo accesible para texto cuerpo */
      font-weight: 400;
      line-height: 1.7; /* Optimizado para Safari mobile */
      text-align: center;
      margin: 2rem auto;
      max-width: 100%;
      color: var(--color-text-primary);
      letter-spacing: 0.005em; /* Mejor legibilidad */
    }
    
    .razones__list {
      text-align: left;
      max-width: 100%;
      margin: 2.5rem auto;
      padding: 0 2rem;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    
    .razones__list-item {
      font-size: 1rem; /* 16px - Mínimo accesible para texto móvil */
      font-weight: 400;
      line-height: 1.6; /* Optimizado para Safari mobile */
      margin-bottom: 0;
      display: flex;
      align-items: flex-start;
      width: 100%;
      color: var(--color-text-primary);
      padding: 0.5rem 0;
      letter-spacing: 0.005em; /* Mejor legibilidad */
    }
    
    .razones__check-icon {
      width: 20px;
      margin-right: 1rem;
      flex-shrink: 0;
      margin-top: 0.15rem;
    }
    
    /* Metrics typography Safari mobile - WCAG 2.1 AA Compliant */
    .razones__metric-number {
      font-size: 2.5rem; /* 40px - Accesible para métricas móvil */
      font-weight: 900;
      line-height: 1.2; /* Mejorado para Safari */
      margin-bottom: 0.75rem;
      color: white;
      text-align: center;
      letter-spacing: -0.02em; /* Mejor kerning */
    }
    
    .razones__metric-number-2 {
      font-size: 2rem; /* 32px - Accesible para métricas móvil */
      font-weight: 700;
      line-height: 1.25; /* Mejorado para Safari */
      margin-bottom: 0.5rem;
      color: white;
      text-align: center;
      letter-spacing: -0.01em; /* Mejor kerning */
    }
    
    .razones__metric-number-3 {
      font-size: 2.25rem; /* 36px - Accesible para métricas móvil */
      font-weight: 900;
      line-height: 1.2; /* Mejorado para Safari */
      margin-bottom: 0.75rem;
      color: white;
      text-align: center;
      letter-spacing: -0.02em; /* Mejor kerning */
    }
    
    .razones__metric-title-3 {
      font-size: 1.75rem; /* 28px - Accesible para títulos móvil */
      font-weight: 700;
      line-height: 1.3; /* Mejorado para Safari */
      color: white;
      text-align: center;
      letter-spacing: -0.01em; /* Mejor kerning */
    }
    
    .razones__metric-sub-text-1 {
      font-size: 0.875rem; /* 14px - Mínimo accesible para texto secundario */
      font-weight: 500;
      line-height: 1.5; /* Optimizado para Safari mobile */
      color: white;
      text-align: center;
      margin-bottom: 0.5rem;
      letter-spacing: 0.005em; /* Mejor legibilidad */
    }
    
    /* Part2 Safari mobile - WCAG 2.1 AA Compliant */
    .part2 {
      font-size: 1.25rem; /* 20px - Accesible para texto destacado móvil */
      line-height: 1.5; /* Optimizado para Safari mobile */
      padding: 2rem 1rem;
      margin: 1.5rem auto;
      max-width: 95%;
      text-align: center;
      color: var(--color-blue-dark-2);
      letter-spacing: 0.005em; /* Mejor legibilidad */
    }
    
    /* Testimonial Safari mobile - WCAG 2.1 AA Compliant */
    .testimonial {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      padding: 2rem 1rem;
      text-align: center;
    }
    
    .testimonial-image {
      order: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 1rem;
    }
    
    .testimonial-image img {
      width: 180px;
      height: 180px;
      object-fit: cover;
      border-radius: 50%;
      border: 2px solid var(--color-blue-border);
    }
    
    .testimonial-content {
      order: 2;
      max-width: 95%;
      width: 100%;
      text-align: center;
      margin: 0 auto;
      padding: 0 1rem;
    }
    
    .testimonial-content__title {
      font-size: 1.5rem; /* 24px - Accesible para títulos móvil */
      font-weight: 800;
      line-height: 1.4; /* Mejorado para Safari */
      margin-bottom: 1.5rem;
      color: var(--color-white);
      text-align: center;
      letter-spacing: -0.01em; /* Mejor kerning */
    }
    
    .testimonial-content .quote {
      font-size: 1rem; /* 16px - Mínimo accesible para texto móvil */
      line-height: 1.6; /* Optimizado para Safari mobile */
      color: var(--color-white);
      margin-bottom: 1.5rem;
      text-align: center;
      max-width: 90%;
      margin-left: auto;
      margin-right: auto;
      padding: 0 0.5rem;
      letter-spacing: 0.005em; /* Mejor legibilidad */
    }
    
    .author p {
      font-size: 0.875rem; /* 14px - Mínimo accesible para texto secundario */
      color: var(--color-cyan-light);
      line-height: 1.5; /* Optimizado para Safari mobile */
      text-align: center;
      margin-bottom: 0.5rem;
      letter-spacing: 0.005em; /* Mejor legibilidad */
    }
    
    .author .company {
      color: var(--color-cyan-bright);
      font-weight: bold;
      font-size: 0.875rem; /* 14px - Consistente con author p */
    }
    
    /* Location Safari mobile */
    .location {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem 1rem;
      gap: 1.5rem;
      text-align: center;
    }
    
    .location-info {
      flex: none;
      max-width: 95%;
      width: 100%;
      text-align: center;
      margin: 0 auto;
      padding: 0 0.5rem;
    }
    
    .location-info h2 {
      font-size: 1.5rem; /* 24px - Accesible para títulos móvil */
      margin-bottom: 1.5rem;
      text-align: center;
      line-height: 1.4; /* Mejorado para Safari */
      letter-spacing: -0.01em; /* Mejor kerning */
    }
    
    .location-info p {
      font-size: 1rem; /* 16px - Mínimo accesible para texto móvil */
      line-height: 1.6; /* Optimizado para Safari mobile */
      margin-bottom: 1.5rem;
      color: var(--color-gray-text);
      text-align: center;
      max-width: 90%;
      margin-left: auto;
      margin-right: auto;
      letter-spacing: 0.005em; /* Mejor legibilidad */
    }
    
    .location-address p {
      font-size: 1rem; /* 16px - Mínimo accesible para texto móvil */
      color: var(--color-gray-dark-text);
      text-align: center;
      line-height: 1.6; /* Optimizado para Safari mobile */
      margin-bottom: 1rem;
      font-weight: 600;
      letter-spacing: 0.005em; /* Mejor legibilidad */
    }
    
    .location-map {
      flex: none;
      max-width: 95%;
      width: 100%;
      margin: 0 auto;
    }
    
    .location-map iframe {
      width: 100%;
      height: 250px;
      border: none;
      border-radius: var(--border-radius-map);
    }
  }
  
  /* Tablet Safari (426px - 768px) */
  @media screen and (width >= 426px) and (width <= 768px) {
    /* Hero section Safari tablet */
    .hero {
      flex-direction: column;
      align-items: stretch;
      min-height: calc(100vh - var(--height-nav));
    }
    
    .hero__content {
      width: 100%;
      order: 1;
      padding: 3rem 2rem;
      text-align: center;
      background-color: #F6F5F5;
      color: var(--color-black);
    }
    
    .hero__background {
      width: 100%;
      order: 2;
      height: 60vh;
    }
    
    .hero__title {
      font-size: 4rem;
      text-align: center;
      margin-bottom: 20px;
      line-height: 1.1;
      color: var(--color-blue-dark-2);
    }
    
    .hero__subtitle {
      font-size: 4rem;
      text-align: center;
      margin-top: 20px;
      line-height: 1.1;
      color: var(--color-blue-hero-subtitle);
    }
    
    /* Razones section Safari tablet */
    .razones__row {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    
    .razones__row--1 .razones__col--text {
      order: 1;
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }
    
    .razones__row--1 .razones__col--image {
      order: 2;
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }
    
    .razones__row--1 .razones__image {
      width: 100%;
      height: auto;
      max-height: 400px;
      object-fit: cover;
      object-position: center;
    }
    
    /* Razones row 2 Safari tablet */
    .razones__row--2 .razones__col--text {
      order: 1;
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }
    
    .razones__row--2 .razones__col--video {
      order: 2;
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .razones__video-container {
      width: 100%;
      max-width: 100%;
      aspect-ratio: 16/9;
      position: relative;
      overflow: hidden;
    }
    
    .razones__video {
      width: 100%;
      height: 100%;
      border: none;
      object-fit: cover;
    }
    
    /* Razones row 3 Safari tablet */
    .razones__row--3 {
      display: flex;
      flex-direction: column;
      min-height: auto;
      width: 100%;
      max-width: 100%;
    }
    
    .razones__col--images,
    .razones__col--metrics {
      display: contents;
      height: auto;
    }
    
    .razones__image-top {
      order: 1;
    }
    
    .razones__metric--1 {
      order: 2;
    }
    
    .razones__metric--2 {
      order: 3;
    }
    
    .razones__metric--3 {
      order: 4;
    }
    
    .razones__image-bottom {
      order: 5;
    }
    
    .razones__image-top,
    .razones__image-bottom {
      width: 100%;
      min-height: 250px;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      margin-bottom: 2rem;
    }
    
    .razones__metric--1,
    .razones__metric--2,
    .razones__metric--3 {
      width: 100%;
      min-height: 180px;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    
    .razones__infrastructure-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
    
    /* Typography Safari tablet - WCAG 2.1 AA Compliant */
    .razones__title {
      font-size: 2.5rem; /* 40px - Accesible para títulos tablet */
      font-weight: 700;
      text-align: center;
      margin: 3rem auto 2rem;
      line-height: 1.3; /* Mejorado para Safari tablet */
      max-width: 100%;
      color: var(--color-blue-dark);
      letter-spacing: -0.02em; /* Mejor kerning */
    }
    
    .quienes-somos__title {
      font-size: 2.5rem; /* 40px - Consistente con razones__title */
      font-weight: 700;
      text-align: center;
      margin: 3rem auto 2rem;
      line-height: 1.3; /* Mejorado para Safari tablet */
      max-width: 100%;
      color: var(--color-blue-dark);
      letter-spacing: -0.02em; /* Mejor kerning */
    }
    
    .razones__description {
      font-size: 1.25rem; /* 20px - Accesible para texto cuerpo tablet */
      font-weight: 400;
      line-height: 1.6; /* Optimizado para Safari tablet */
      text-align: center;
      margin: 2.5rem auto;
      max-width: 100%;
      color: var(--color-text-primary);
      padding: 0 2rem;
      letter-spacing: 0.01em; /* Mejor legibilidad */
    }
    
    .razones__list {
      text-align: left;
      max-width: 100%;
      margin: 3rem auto;
      padding: 0 3rem;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    
    .razones__list-item {
      font-size: 1.125rem; /* 18px - Accesible para texto tablet */
      font-weight: 400;
      line-height: 1.6; /* Optimizado para Safari tablet */
      margin-bottom: 0;
      display: flex;
      align-items: flex-start;
      width: 100%;
      color: var(--color-text-primary);
      padding: 0.75rem 0;
      letter-spacing: 0.01em; /* Mejor legibilidad */
    }
    
    .razones__check-icon {
      width: 24px;
      margin-right: 1.25rem;
      flex-shrink: 0;
      margin-top: 0.125rem;
    }
    
    /* Metrics typography Safari tablet - WCAG 2.1 AA Compliant */
    .razones__metric-number {
      font-size: 3rem; /* 48px - Accesible para métricas tablet */
      font-weight: 900;
      line-height: 1.2; /* Mejorado para Safari */
      margin-bottom: 0.75rem;
      color: white;
      text-align: center;
      letter-spacing: -0.02em; /* Mejor kerning */
    }
    
    .razones__metric-number-2 {
      font-size: 2.5rem; /* 40px - Accesible para métricas tablet */
      font-weight: 700;
      line-height: 1.25; /* Mejorado para Safari */
      margin-bottom: 0.5rem;
      color: white;
      text-align: center;
      letter-spacing: -0.01em; /* Mejor kerning */
    }
    
    .razones__metric-number-3 {
      font-size: 2.75rem; /* 44px - Accesible para métricas tablet */
      font-weight: 900;
      line-height: 1.2; /* Mejorado para Safari */
      margin-bottom: 0.75rem;
      color: white;
      text-align: center;
      letter-spacing: -0.02em; /* Mejor kerning */
    }
    
    .razones__metric-title-3 {
      font-size: 2rem; /* 32px - Accesible para títulos tablet */
      font-weight: 700;
      line-height: 1.3; /* Mejorado para Safari */
      color: white;
      text-align: center;
      letter-spacing: -0.01em; /* Mejor kerning */
    }
    
    .razones__metric-sub-text-1 {
      font-size: 1rem; /* 16px - Mínimo accesible para texto secundario */
      font-weight: 500;
      line-height: 1.5; /* Optimizado para Safari tablet */
      color: white;
      text-align: center;
      margin-bottom: 0.5rem;
      letter-spacing: 0.005em; /* Mejor legibilidad */
    }
    
    /* Testimonial Safari tablet */
    .testimonial {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      padding: 3rem 2rem;
      text-align: center;
    }
    
    .testimonial-image {
      order: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .testimonial-image img {
      width: 250px;
      height: 250px;
      object-fit: cover;
      border-radius: 50%;
      border: 3px solid var(--color-blue-border);
    }
    
    .testimonial-content {
      order: 2;
      max-width: 90%;
      width: 100%;
      text-align: center;
      margin: 0 auto;
    }
    
    .testimonial-content__title {
      font-size: 2rem; /* 32px - Accesible para títulos tablet */
      font-weight: 800;
      line-height: 1.4; /* Mejorado para Safari */
      margin-bottom: 1.5rem;
      color: var(--color-white);
      text-align: center;
      letter-spacing: -0.01em; /* Mejor kerning */
    }
    
    .testimonial-content .quote {
      font-size: 1.125rem; /* 18px - Accesible para texto tablet */
      line-height: 1.6; /* Optimizado para Safari tablet */
      color: var(--color-white);
      margin-bottom: 2rem;
      text-align: center;
      max-width: 85%;
      margin-left: auto;
      margin-right: auto;
      letter-spacing: 0.01em; /* Mejor legibilidad */
    }
    
    .author p {
      font-size: 1rem; /* 16px - Mínimo accesible para texto tablet */
      color: var(--color-cyan-light);
      line-height: 1.5; /* Optimizado para Safari tablet */
      text-align: center;
      letter-spacing: 0.005em; /* Mejor legibilidad */
    }
    
    .author .company {
      color: var(--color-cyan-bright);
      font-weight: bold;
    }
    
    /* Location Safari tablet - WCAG 2.1 AA Compliant */
    .location {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 3rem 2rem;
      gap: 2rem;
      text-align: center;
    }
    
    .location-info {
      flex: none;
      max-width: 90%;
      width: 100%;
      text-align: center;
      margin: 0 auto;
    }
    
    .location-info h2 {
      font-size: 2rem; /* 32px - Accesible para títulos tablet */
      margin-bottom: 1.5rem;
      text-align: center;
      line-height: 1.4; /* Mejorado para Safari */
      letter-spacing: -0.01em; /* Mejor kerning */
    }
    
    .location-info p {
      font-size: 1.125rem; /* 18px - Accesible para texto tablet */
      line-height: 1.6; /* Optimizado para Safari tablet */
      margin-bottom: 1.5rem;
      color: var(--color-gray-text);
      text-align: center;
      max-width: 85%;
      margin-left: auto;
      margin-right: auto;
      letter-spacing: 0.01em; /* Mejor legibilidad */
    }
    
    .location-address p {
      font-size: 1.125rem; /* 18px - Accesible para texto tablet */
      color: var(--color-gray-dark-text);
      text-align: center;
      line-height: 1.6; /* Optimizado para Safari tablet */
      margin-bottom: 1rem;
      letter-spacing: 0.01em; /* Mejor legibilidad */
    }
    
    .location-map {
      flex: none;
      max-width: 90%;
      width: 100%;
      margin: 0 auto;
    }
    
    .location-map iframe {
      width: 100%;
      height: 300px;
      border: none;
      border-radius: var(--border-radius-map);
    }
  }
  
  /* Desktop Safari (769px+) */
  @media screen and (width >= 769px) {
    /* Hero section Safari desktop */
    .hero {
      display: flex;
      align-items: center;
      overflow: hidden;
    }
    
    .hero__content {
      width: 50%;
      padding: var(--spacing-2xl);
      z-index: 1;
      color: var(--color-black);
      text-align: left;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background-color: #F6F5F5;
      height: 100vh;
    }
    
    .hero__background {
      width: 50%;
      height: 100vh;
      overflow: hidden;
    }
    
    .hero__image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
    
    .hero__title {
      font-size: 4.5rem; /* 72px - Accesible para títulos desktop */
      font-weight: var(--font-weight-black);
      line-height: 1.1; /* Mejorado para Safari desktop */
      font-style: italic;
      letter-spacing: -0.02em; /* Mejor kerning para Safari */
      color: var(--color-blue-dark-2);
      margin-bottom: 20px;
    }
    
    .hero__subtitle {
      font-size: 4.5rem; /* 72px - Consistente con hero__title */
      font-weight: var(--font-weight-black);
      line-height: 1.1; /* Mejorado para Safari desktop */
      font-style: italic;
      letter-spacing: -0.02em; /* Mejor kerning para Safari */
      color: var(--color-blue-hero-subtitle);
      margin-top: 20px;
    }
    
    /* Razones section Safari desktop */
    .razones__row--3 {
      display: -webkit-grid;
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 70vh;
    }
    
    .razones__col--images,
    .razones__col--metrics {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    
    .razones__image-top,
    .razones__image-bottom {
      flex: 1;
      display: flex;
      align-items: stretch;
    }
    
    .razones__metric {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-size: 1.5rem;
      color: white;
    }
    
    .razones__infrastructure-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
    
    /* Pillars Safari desktop */
    .pillars {
      display: block;
    }
    
    .pillars-carousel-container {
      display: block;
    }
    
    .pillars-carousel-track {
      display: -webkit-grid;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }
    
    .pillars-duplicate {
      display: none;
    }
    
    /* Carousel Safari desktop */
    .carousel-track {
      display: flex;
      align-items: center;
      gap: var(--carousel-gap);
      animation: carousel-desktop var(--carousel-speed-desktop) linear infinite;
      width: max-content;
      padding: 2rem 0;
    }
    
    .carousel-track .logo {
      max-width: var(--logo-size-desktop);
      max-height: var(--logo-size-desktop);
      opacity: 0.8;
      flex-shrink: 0;
      transition: opacity var(--transition-normal);
    }
    
    .carousel-track .logo:hover {
      opacity: 1;
    }
    
    /* Support banner Safari desktop */
    .support-banner {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      text-align: center;
      position: static;
    }
    
    .support-banner-carousel-container {
      display: flex !important;
      position: static;
      overflow: visible;
      width: 100%;
    }
    
    .support-banner-carousel-track {
      display: flex;
      animation: none;
      width: 100%;
      justify-content: center;
      align-items: center;
    }
    
    .support-banner-duplicate {
      display: none !important;
    }
    
    .support-banner__item {
      font-size: 1.25rem;
      padding: 1.5rem;
      flex: 1;
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* Testimonial Safari desktop */
    .testimonial {
      display: flex;
      align-items: center;
      justify-content: space-evenly;
      flex-wrap: wrap;
      background-color: var(--color-blue-testimonial);
      padding: var(--spacing-section);
    }
    
    .testimonial-image img {
      width: var(--size-testimonial-img);
      height: var(--size-testimonial-img);
      object-fit: cover;
      border-radius: var(--border-radius-testimonial);
      border: var(--border-testimonial);
    }
    
    .testimonial-content {
      max-width: var(--width-testimonial);
      width: 100%;
    }
    
    .testimonial-content__title {
      font-size: 3.5rem; /* 56px - Accesible para títulos desktop */
      font-weight: 800;
      line-height: 1.2; /* Optimizado para Safari desktop */
      margin-bottom: 20px;
      color: var(--color-white);
      letter-spacing: -0.02em; /* Mejor kerning para Safari */
    }
    
    .testimonial-content .quote {
      font-size: 1.125rem; /* 18px - Accesible para texto desktop */
      line-height: 1.6; /* Optimizado para Safari desktop */
      color: var(--color-white);
      margin-bottom: 25px;
      letter-spacing: 0.01em; /* Mejor legibilidad */
    }
    
    .author p {
      font-size: 1.125rem; /* 18px - Accesible para texto desktop */
      color: var(--color-cyan-light);
      line-height: 1.5; /* Optimizado para Safari desktop */
      letter-spacing: 0.01em; /* Mejor legibilidad */
    }
    
    .author .company {
      color: var(--color-cyan-bright);
      font-weight: bold;
    }
    
    /* Location Safari desktop - WCAG 2.1 AA Compliant */
    .location {
      display: flex;
      flex-wrap: wrap;
      padding: 60px var(--gap-location);
      align-items: center;
      justify-content: space-between;
      gap: var(--gap-location);
    }
    
    .location-info {
      flex: var(--flex-basis-location);
      max-width: 600px;
    }
    
    .location-info h2 {
      font-size: 2.25rem; /* 36px - Accesible para títulos desktop */
      font-weight: bold;
      margin-bottom: 20px;
      color: var(--color-black);
      line-height: 1.3; /* Mejorado para Safari */
      letter-spacing: -0.01em; /* Mejor kerning */
    }
    
    .location-info p {
      font-size: 1.125rem; /* 18px - Accesible para texto desktop */
      line-height: 1.6; /* Optimizado para Safari desktop */
      margin-bottom: 20px;
      color: var(--color-gray-text);
      letter-spacing: 0.01em; /* Mejor legibilidad */
    }
    
    .location-address p {
      font-size: 1.125rem; /* 18px - Accesible para texto desktop */
      color: var(--color-gray-dark-text);
      letter-spacing: 0.01em; /* Mejor legibilidad */
    }
    
    .location-map {
      flex: var(--flex-basis-location);
      max-width: 600px;
    }
    
    .location-map iframe {
      width: 100%;
      height: var(--height-location-map);
      border: none;
      border-radius: var(--border-radius-map);
    }
  }
}

/* ====================================================================
   LOCATION MAP OVERLAY - CLICKABLE MAP TO GOOGLE MAPS
   ==================================================================== */

/* Wrapper container for map and overlay */
.location-map-wrapper {
  position: relative;
  flex: var(--flex-basis-location);
  max-width: 600px;
  width: 100%;
}

/* Map container - reset flex properties since wrapper handles them now */
.location-map-wrapper .location-map {
  flex: none;
  max-width: 100%;
  width: 100%;
}

/* Overlay link - covers entire map */
.location-map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgb(0 0 0 / 0%);
  transition: background-color var(--transition-normal);
  cursor: pointer;
  z-index: 10;
  border-radius: var(--border-radius-map);
  text-decoration: none;
}

/* Overlay hover state - darken background */
.location-map-overlay:hover,
.location-map-overlay:focus {
  background-color: rgb(0 176 74 / 15%);
  outline: none;
}

/* Icon container - initially hidden */
.location-map-overlay__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-green-primary);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
}

/* Icon SVG styling */
.location-map-overlay__icon svg {
  color: var(--color-white);
  width: 24px;
  height: 24px;
}

/* Show icon on hover */
.location-map-overlay:hover .location-map-overlay__icon,
.location-map-overlay:focus .location-map-overlay__icon {
  opacity: 1;
  transform: scale(1);
}

/* Text label - initially hidden */
.location-map-overlay__text {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  background-color: var(--color-green-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-50px);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
  white-space: nowrap;
}

/* Show text on hover */
.location-map-overlay:hover .location-map-overlay__text,
.location-map-overlay:focus .location-map-overlay__text {
  opacity: 1;
  transform: translateY(0);
}

/* Focus state for accessibility */
.location-map-overlay:focus {
  outline: 3px solid var(--color-green-primary);
  outline-offset: 2px;
}

/* ====================================================================
   LOCATION MAP OVERLAY - MOBILE RESPONSIVE (425px and below)
   ==================================================================== */
@media (width <= 425px) {
  .location-map-wrapper {
    flex: none;
    max-width: 95%;
    width: 100%;
    margin: 0 auto;
  }
  
  .location-map-wrapper .location-map {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  
  .location-map-overlay__icon {
    width: 40px;
    height: 40px;
  }
  
  .location-map-overlay__icon svg {
    width: 20px;
    height: 20px;
  }
  
  .location-map-overlay__text {
    font-size: 0.875rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ====================================================================
   LOCATION MAP OVERLAY - TABLET RESPONSIVE (426px - 768px)
   ==================================================================== */
@media (width >= 426px) and (width <= 768px) {
  .location-map-wrapper {
    flex: none;
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
  }
  
  .location-map-wrapper .location-map {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  
  .location-map-overlay__icon {
    width: 44px;
    height: 44px;
  }
  
  .location-map-overlay__icon svg {
    width: 22px;
    height: 22px;
  }
  
  .location-map-overlay__text {
    font-size: 0.95rem;
    padding: 0.45rem 0.9rem;
  }
}

/* ====================================================================
   LOCATION MAP OVERLAY - SAFARI COMPATIBILITY
   ==================================================================== */
@media screen and (resolution >= 0.001dpcm) {
  /* Mobile Safari */
  @media screen and (width <= 425px) {
    .location-map-wrapper {
      flex: none;
      max-width: 95%;
      width: 100%;
      margin: 0 auto;
    }
    
    .location-map-wrapper .location-map {
      flex: none;
      max-width: 100%;
      width: 100%;
    }
    
    /* Ensure overlay works on touch devices */
    .location-map-overlay {
      -webkit-tap-highlight-color: rgb(0 176 74 / 20%);
    }
  }
  
  /* Tablet Safari */
  @media screen and (width >= 426px) and (width <= 768px) {
    .location-map-wrapper {
      flex: none;
      max-width: 90%;
      width: 100%;
      margin: 0 auto;
    }
    
    .location-map-wrapper .location-map {
      flex: none;
      max-width: 100%;
      width: 100%;
    }
    
    .location-map-overlay {
      -webkit-tap-highlight-color: rgb(0 176 74 / 20%);
    }
  }
  
  /* Desktop Safari */
  @media screen and (width >= 769px) {
    .location-map-wrapper {
      flex: var(--flex-basis-location);
      max-width: 600px;
    }
    
    .location-map-wrapper .location-map {
      flex: none;
      max-width: 100%;
    }
  }
}

