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

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

  /* Base Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-overlay: rgba(0, 0, 0, 0.6);

  /* 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-dark-3: #060606;
  --color-blue-corporate: #002f6c;
  --color-blue-testimonial: #004777;
  --color-blue-accent: #0095ff;
  --color-blue-light-accent: #33b4ff;
  --color-blue-support: #003452;
  --color-blue-border: #014776;

  /* Gray Palette */
  --color-gray-light: #f8f9fa;
  --color-gray-medium: #6b7280;
  --color-gray-dark: #374151;
  --color-gray-text: #444;
  --color-gray-dark-text: #111;
  --color-gray-medium-text: #555;
  --color-gray-very-dark: #1a202c;

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

  /* Semantic Colors */
  --color-text-title: #00263b;
  --color-bg-services: #f9fafb;

  /* ====================================================================
     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-whatsapp: 23px;
  --font-size-part2: 54px;
  --font-size-services-main: 48px;
  --font-size-services-desc: 26px;
  --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 */

  --spacing-section: 4rem; /* 64px */
  --spacing-section-mobile: 1rem; /* 16px */
  --spacing-hero-bottom: 42px; /* 67.2px */
  --spacing-text-negative: -30px; /* -48px */
  --spacing-metric-top: 14%; /* 22.4px */

  /* Gaps */
  --gap-part1: 2rem; /* 32px */
  --gap-part3: 1rem; /* 16px */
  --gap-solutions: 30px; /* 48px */
  --gap-location: 40px; /* 64px */
  --gap-metrics: 1rem; /* 16px */

  /* Margins */
  --margin-section: 4rem 0; /* 64px */
  --margin-section-sm: 2rem; /* 32px */
  --margin-testimonial: 15px 0; /* 24px */
  --margin-solution: 30px 0; /* 48px */

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

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

  /* Element Widths */
  --width-video: 50%; /* 50% */
  --width-text: 30%; /* 30% */
  --width-solution-item: 260px; /* 260px */
  --width-testimonial: 30%; /* 50% */

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

  /* Element Sizes */
  --size-nav-logo: 80px;
  --size-btn-icon: 20px;
  --size-whatsapp-icon: 30px;
  --size-check-icon-width: 60px;
  --size-check-icon-height: 48px;
  --size-service-icon-sm: 64px;
  --size-service-icon-lg: 120px;
  --size-testimonial-img: 400px;
  --size-logo-max: 150px;

  /* Carousel Variables */
  --carousel-speed-desktop: 8s;
  --carousel-speed-tablet: 6s;
  --carousel-speed-mobile: 40s;
  --logo-size-desktop: 150px;
  --logo-size-tablet: 120px;
  --logo-size-mobile: 100px;
  --carousel-gap: 2rem;

  /* Solutions Carousel Variables */
  --solutions-carousel-speed-mobile: 35s;
  --solutions-item-width-mobile: 280px;

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

  /* Grid Values */
  --grid-min-width-card: 280px;

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

  /* Border Radius */
  --border-radius-50px: 50px;
  --border-radius-lg: 1rem;
  --border-radius-card: 16px;
  --border-radius-map: 8px;
  --border-radius-testimonial: 50%;

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

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

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

  /* Transforms */
  --transform-hover-up: translateY(-2px);
  --transform-hover-card: translateY(-8px);
  --transform-animation-start: translateY(30px);

  /* 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;
  -webkit-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;
}

/* BUTTONS
   ========================================================================== */
.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;
}

.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);
  transform: var(--transform-hover-up);
  box-shadow: var(--box-shadow-lg);
}

.btn--whatsapp {
  position: relative;
}

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

/* HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  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-img {
  width: var(--size-nav-logo);
  height: var(--size-nav-logo);
}

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

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

/* HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

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

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--color-overlay) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: -1;
}

.hero__content {
  position: relative;
  width: 100%;
  z-index: 1;
  color: var(--color-white);
  text-align: left;
  padding: var(--spacing-2xl) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero__title {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  margin-left: var(--spacing-lg);
  font-style: italic;
  letter-spacing: var(--letter-spacing-tight);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.pillar {
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--transition-normal);
}

/* 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);
}

.hero__cta {
  text-align: center;
  margin-right: var(--spacing-2xl);
}

/* Whatsapp Section */
.whatsapp {
  width: 100%;
  height: var(--height-whatsapp-section);
  background-color: var(--color-green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

.whatsapp__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.whatsapp__icon {
  width: var(--size-whatsapp-icon);
  height: var(--size-whatsapp-icon);
}

.whatsapp__text {
  color: var(--color-white);
  font-size: var(--font-size-whatsapp);
  font-weight: 700;
  font-style: bold;
  line-height: var(--line-height-compact);
  letter-spacing: var(--letter-spacing-tight);
  text-align: center;
}

/* 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;
}

.text-content {
  flex: var(--flex-basis-video);
  width: var(--width-text);
}

.text-content h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-style: Bold;
  font-size: var(--font-size-text-content);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  text-align: left;
  color: var(--color-black);
  margin-bottom: var(--spacing-hero-bottom);
  margin-top: 40px;
}

.text-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-text-negative);
}

.text-content li {
  font-family: var(--font-primary);
  font-weight: 400;
  font-style: Regular;
  letter-spacing: var(--letter-spacing-wide);
  text-align: left;
  color: var(--color-black);
}

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

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

/* LAYOUT BASE - Web/Desktop: 4 logos estáticos */
.part3 {
  position: relative;
  margin-bottom: var(--margin-section-sm);
}

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

/* Track del carrusel - Por defecto: grid estático */
.carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: var(--carousel-gap);
  padding: 2rem 0;
}

/* Logos base */
.carousel-track .logo {
  max-width: var(--logo-size-desktop);
  max-height: var(--logo-size-desktop);
  opacity: 0.8;
  transition: opacity var(--transition-normal);
}

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

/* Ocultar duplicados por defecto (solo mobile los necesita) */
.carousel-duplicate {
  display: none;
}

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



.logo {
  max-width: var(--size-logo-max);
  max-height: var(--size-logo-max);
  /* height: auto; */
  opacity: var(--opacity-logo);
}


/* services section */

/* ==== General ==== */
.services {
  padding: var(--spacing-section) var(--spacing-section-mobile);
  background-color: var(--color-bg-services);
}

.services__header {
  text-align: center;
  max-width: 95%;
  margin: 0 auto 3rem;
}

.services__title {
  color: var(--color-blue-corporate);
  font-weight: 900;
  font-style: italic;
  font-size: var(--font-size-services-main);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  text-align: center;
}

.services__description {
  font-family: var(--font-primary);
  margin-top: 1rem;
  font-size: var(--font-size-services-desc);
  line-height: var(--line-height-compact);
  letter-spacing: var(--letter-spacing-tight);
  text-align: center;
  font-weight: 400;
  font-style: italic;
}

/* ==== Grid Layout ==== */
.services__grid {
  display: grid;
  gap: var(--gap-part1);
  grid-template-columns: repeat(
    auto-fit,
    minmax(var(--grid-min-width-card), 1fr)
  );
}

/* ==== Service Card ==== */
.service-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-card);
  box-shadow: var(--box-shadow-card);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card__icon img {
  width: var(--size-service-icon-lg);
  height: var(--size-service-icon-lg);
  margin-bottom: 1rem;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Estilos específicos para SVGs para mantener calidad vectorial */
.service-card__icon img[src$=".svg"] {
  image-rendering: auto;
  -webkit-filter: none;
  filter: none;
}

/* Mejora para imágenes PNG pequeñas */
.service-card__icon img[src$=".png"] {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-filter: contrast(1.1);
  filter: contrast(1.1);
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-blue-corporate);
  margin-bottom: 1.5rem;
}

/* ==== Metrics ==== */
.service-card__metrics {
  display: flex;
  flex-direction: column;
  gap: var(--gap-metrics);
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric__number {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-very-dark);
}

.metric__label,
.metric__label-2 {
  font-size: 0.95rem;
  color: var(--color-gray-medium-text);
  line-height: 1.4;
}

/* ==== Responsive ==== */

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

/* Layout base - Web/Tablet: 1 fila con 3 columnas (33% cada div) */
.support-banner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: bold;
  font-size: var(--font-size-services-desc);
  color: white;
  width: 100%;
}

.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 */

/* ====================================================================
   SOLUTIONS CAROUSEL UNIVERSAL
   ==================================================================== */

/* Layout base - Web/Desktop: 4 items estáticos */
.solutions {
  text-align: center;
}

.container-title-solutions {
  text-align: center;
  margin: var(--margin-testimonial);
}

.solutions h2 {
  font-size: 2.5rem;
  color: var(--color-text-title);
  font-weight: 800;
}

/* Contenedor del carrusel de solutions */
.solutions-carousel-container {
  position: relative;
  width: 100%;
  background-color: var(--color-blue-accent);
}

/* Track del carrusel - Por defecto: grid estático */
.solutions-carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: var(--gap-solutions);
  width: 100%;
}

/* Ocultar duplicados por defecto (solo mobile los necesita) */
.solutions-duplicate {
  display: none;
}

.solution-item {
  max-width: var(--width-solution-item);
  text-align: center;
  color: white;
  margin: var(--margin-solution);
  justify-content: center;
}

.solution-item .check {
  display: block;
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.check-icon {
  width: var(--size-check-icon-width);
  height: var(--size-check-icon-height);
  display: block;
  margin: 0 auto;
}

.solution-item p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  width: 70%;
  margin: 0 auto;
}

/* Responsive */

/* Ubicación */
.location {
  display: flex;
  flex-wrap: wrap;
  padding: 60px var(--gap-location) 0;
  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: var(--font-size-services-desc);
  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);
}

/* Footer CTA */
.footer-call {
  text-align: center;
  padding: 20px;
}

.footer-call h2 {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--color-gray-dark-text);
}


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

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

/* ====================================================================
     HERO SECTION MOBILE RESPONSIVE
   ==================================================================== */

  /* Cambiar layout del hero content a columna */
  .hero__content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  /* Ajustar título del hero para mobile */
  .hero__title {
    font-size: 3rem; /* 48px - más pequeño para mobile */
    text-align: center;
    margin-left: 0; /* Resetear margin left */
    margin-bottom: 0;
    line-height: 1.1;
  }
  
  /* Centrar CTA del hero */
  .hero__cta {
    margin-right: 0; /* Resetear margin right */
    text-align: center;
  }

/* ====================================================================
     PILLARS SECTION MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Ocultar pillars en mobile */
  .pillars {
    display: none;
  }
  
  /* ====================================================================
     SECTION CLIENTS MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Ajustar section-clients para mobile */
  .section-clients {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }
  
  /* Video container para mobile */
  .section-clients .video-container {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  
  /* Text content ajustado para mobile */
  .section-clients .text-content {
    width: 100%;
    max-width: 95%; /* Márgenes horizontales */
    flex: none;
    margin: 0 auto; /* Centrar horizontalmente */
    padding: 0 1rem; /* Márgenes horizontales internos */
    text-align: center; /* Centrar todo el contenido */
  }
  
  /* Título ajustado para mobile con accesibilidad */
  .section-clients .text-content h2 {
    font-size: 1.8rem; /* 28.8px - tamaño accesible para mobile */
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--color-black);
  }
  
  /* Lista ajustada para mobile */
  .section-clients .text-content ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0;
    align-items: center;
    max-width: 100%;
  }
  
  .section-clients .text-content li {
    font-size: 0.95rem; /* 15.2px - tamaño legible para mobile */
    text-align: center;
    line-height: 1.6; /* Mayor line-height para accesibilidad */
    max-width: 95%;
    margin: 0 auto;
    padding: 0.5rem 0; /* Espaciado vertical para touch targets */
  }
  
  /* ====================================================================
     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: 2rem;
    animation: carousel-mobile var(--carousel-speed-mobile) linear infinite;
    width: max-content;
  }
  
  /* 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
     ==================================================================== */
  
  /* Ocultar support-banner en mobile */
  .support-banner {
    display: none;
  }
  
  /* ====================================================================
     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 */
  }
  
  /* ====================================================================
     SOLUTIONS CAROUSEL MOBILE RESPONSIVE
     ==================================================================== */
  
  /* Configurar carrusel infinito para solutions en mobile */
  .solutions {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .container-title-solutions {
    text-align: center;
    margin: 1rem 0;
  }
  
  .solutions h2 {
    font-size: 1.8rem; /* Tamaño accesible para mobile */
    color: var(--color-text-title);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  .solutions-carousel-container {
    overflow: hidden;
    width: 100%;
    background-color: var(--color-blue-accent);
    padding: 2rem 0;
  }
  
  .solutions-carousel-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: solutions-carousel-mobile var(--solutions-carousel-speed-mobile) linear infinite;
    width: max-content;
  }
  
  /* Mostrar elementos duplicados para efecto infinito */
  .solutions-duplicate {
    display: block;
  }
  
  /* Ajustar solution items para mobile */
  .solution-item {
    max-width: var(--solutions-item-width-mobile);
    min-width: var(--solutions-item-width-mobile);
    text-align: center;
    color: white;
    margin: 0;
    justify-content: center;
    flex-shrink: 0;
    padding: 1rem;
  }
  
  .solution-item .check {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .check-icon {
    width: 50px; /* Tamaño reducido para mobile */
    height: 40px;
    display: block;
    margin: 0 auto;
  }
  
  .solution-item p {
    text-align: center;
    font-size: 0.9rem; /* Tamaño legible para mobile */
    line-height: 1.5;
    width: 100%;
    margin: 0 auto;
  }
  
  /* ====================================================================
     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;
  }
  
  /* Título de ubicación para mobile */
  .location-info h2 {
    font-size: 1.8rem; /* Tamaño accesible para mobile */
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    text-align: center;
    line-height: 1.3;
  }
  
  /* 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 (max-width: 768px) and (min-width: 426px) {
  .pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  
  /* ====================================================================
     SECTION CLIENTS TABLET RESPONSIVE
     ==================================================================== */
  
  /* Cambiar layout de clients section a columna */
  .section-clients {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  /* Video container maximizado para tablet */
  .section-clients .video-container {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  
  /* Text content ajustado para tablet */
  .section-clients .text-content {
    width: 100%;
    max-width: 90%; /* Limitar ancho para márgenes horizontales */
    flex: none;
    margin: 0 auto; /* Centrar horizontalmente */
    padding: 0 1.5rem; /* Márgenes horizontales internos */
    text-align: center; /* Centrar todo el contenido */
  }
  
  /* Ajustar título para tablet */
  .section-clients .text-content h2 {
    font-size: 2.5rem; /* Reducir de 64px para tablet */
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  /* Ajustar lista para tablet */
  .section-clients .text-content ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0;
    align-items: center; /* Centrar elementos de la lista */
    max-width: 100%;
  }
  
  .section-clients .text-content li {
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.5;
    max-width: 90%; /* Limitar ancho de cada elemento */
    margin: 0 auto; /* Centrar cada elemento */
  }
  
  /* ====================================================================
     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;
  }
  
  /* Título de ubicación para tablet */
  .location-info h2 {
    font-size: 2.2rem; /* Tamaño accesible para tablet */
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    text-align: center;
    line-height: 1.3;
  }
  
  /* 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 solutions carousel mobile */
@keyframes solutions-carousel-mobile {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
