/* ==========================================================================
   FLEXI EXPRESS - ESTILOS GLOBALES
   ========================================================================== */

/* --- Variables y Tokens de Diseño --- */
:root {
  /* Paleta de Colores Oficial */
  --color-primary: #00A9CE;
  --color-secondary: #004C97;
  --color-text: #1D1D1B;
  --color-text-muted: #4A5568;
  --color-accent: #AAE2EF;
  --color-bg-light: #F5F5F5;
  --color-white: #FFFFFF;
  --color-dark-btn: #1F2124;
  --color-dark-btn-hover: #000000;
  --color-border: #E2E8F0;
  --color-whatsapp: #25D366;

  /* Tipografías */
  --font-primary: 'Philosopher', sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Dimensiones y Espaciados */
  --container-max-width: 1140px;
  --header-height: 85px;
  --topbar-height: 38px;
  --transition-speed: 0.3s;
  --border-radius-sm: 6px;
  --border-radius-md: 8px;
  --border-radius-pill: 50px;
  --box-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --box-shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* --- Reseteo Moderno & Normalización --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* Accesibilidad */
.screen-reader-text,
.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 99999;
}

.skip-link:focus {
  top: 10px;
  left: 10px;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 4px;
}

/* Contenedor Global */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   HEADER & NAVEGACIÓN
   ========================================================================== */
.main-header {
  width: 100%;
  position: relative;
  z-index: 1000;
  background-color: var(--color-white);
}

/* Barra Superior (Top Bar) */
.top-bar {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  min-height: var(--topbar-height);
}

.top-left-menu ul,
.top-right-menu ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar a {
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  transition: opacity var(--transition-speed);
}

.top-bar a:hover {
  opacity: 0.85;
}

/* Navegación Principal */
.main-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  max-width: 1300px;
  margin: 0 auto;
  min-height: var(--header-height);
}

.logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.main-menu {
  margin-left: auto;
  margin-right: 32px;
}

.main-menu ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-menu a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 0;
  position: relative;
}

.main-menu a:hover,
.main-menu a.active,
.main-menu li.active a {
  color: var(--color-primary);
}

/* ==========================================================================
   BOTONES GLOBALES (CTA)
   ========================================================================== */
.btn-primary,
a.btn-primary,
.header-cta .btn-primary,
.btn-trust-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 13px 28px !important;
  border-radius: var(--border-radius-pill) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 169, 206, 0.35);
  transition: all var(--transition-speed) ease;
  border: none !important;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary:hover,
a.btn-primary:hover,
.header-cta .btn-primary:hover,
.btn-trust-cta:hover {
  background-color: var(--color-secondary) !important;
  color: var(--color-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 76, 151, 0.45);
}

/* Botón Hamburguesa Móvil */
.mobile-menu-toggle {
  display: none;
  color: var(--color-text);
  padding: 6px;
}

/* ==========================================================================
   SECCIÓN HERO / CONTACTO
   ========================================================================== */
.contact-hero-section {
  position: relative;
  background-color: var(--color-white);
  background-image: url("../img/logistica-internacional.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0 96px 0;
}

@media (min-width: 1025px) {
  .contact-hero-section {
    background-attachment: fixed;
  }
}

.contact-hero-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.hero-description {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
}

/* Columnas de Contacto */
.contact-columns {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* Tarjeta de Formulario (Columna Izquierda) */
.contact-form-card {
  flex: 0 0 calc(50% - 20px);
  max-width: calc(50% - 20px);
  background-color: var(--color-primary);
  border-radius: var(--border-radius-md);
  padding: 32px 30px;
  box-shadow: var(--box-shadow-card);
}

.form-title {
  font-family: var(--font-primary);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 24px;
}

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

.form-group {
  position: relative;
  width: 100%;
}

.form-input,
.form-textarea {
  width: 100%;
  background-color: var(--color-white);
  color: var(--color-text);
  border-radius: var(--border-radius-md);
  padding: 14px 18px;
  font-size: 15px;
  border: 1px solid transparent;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9CA3AF;
  font-size: 14px;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 76, 151, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  width: 100%;
  background-color: var(--color-dark-btn);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: var(--border-radius-pill);
  transition: all var(--transition-speed) ease;
  margin-top: 4px;
}

.btn-submit:hover {
  background-color: var(--color-dark-btn-hover);
  transform: translateY(-1px);
}

.form-status-message {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  text-align: center;
  background-color: #DEF7EC;
  color: #03543F;
}

.form-status-message.error {
  background-color: #FDE8E8;
  color: #9B1C1C;
}

/* Sección de Preguntas Frecuentes (Columna Derecha) */
.contact-faq-wrapper {
  flex: 0 0 calc(50% - 20px);
  max-width: calc(50% - 20px);
}

.faq-title {
  font-family: var(--font-primary);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 24px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--box-shadow-subtle);
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.accordion-item[open] {
  border-color: var(--color-accent);
}

.accordion-header {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  list-style: none;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-title-text {
  flex: 1;
}

.accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform var(--transition-speed) ease;
}

.accordion-item[open] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 20px 18px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.accordion-content p+p {
  margin-top: 10px;
}

/* ==========================================================================
   SECCIÓN DE MAPA GOOGLE
   ========================================================================== */
.contact-map-section {
  width: 100%;
  line-height: 0;
}

.map-container iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* ==========================================================================
   FOOTER (PIE DE PÁGINA)
   ========================================================================== */
.main-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 45px 20px;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

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

.footer-contact .contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact .icon svg {
  fill: var(--color-white);
}

.footer-social .social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-white);
  transition: transform var(--transition-speed), background-color var(--transition-speed);
}

.footer-social a svg {
  fill: var(--color-white);
}

.footer-social a:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: var(--color-white);
}

/* ==========================================================================
   PÁGINA: HOME / INICIO
   ========================================================================== */

/* 1. Hero Inicio */
.home-hero-section {
  position: relative;
  background-image: url("../img/fondo-hero.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0 120px 0;
}

.home-hero-content {
  max-width: 600px;
}

.home-hero-content .hero-title {
  font-family: var(--font-primary);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.home-hero-content .hero-description {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 32px;
}

/* 2. Sección Problemas (Incertidumbre con video de fondo) */
.home-problems-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px 0;
  background-color: var(--color-white);
  min-height: 560px;
  display: flex;
  align-items: center;
}

.problems-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.home-problems-section .container {
  position: relative;
  z-index: 2;
}

.problems-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.problems-spacer {
  flex: 0 0 38%;
  max-width: 38%;
}

.problems-content {
  flex: 0 0 62%;
  max-width: 62%;
}

.problems-title {
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 28px;
}

.problems-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.problem-icon {
  flex: 0 0 65px;
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.problem-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text);
}

/* 3. Cinta / Separador Decorativo */
.home-ribbon-divider {
  width: 100%;
  height: 44px;
  background: linear-gradient(90deg, #00A9CE 0%, #004C97 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-ribbon-divider .ribbon-pattern {
  width: 100%;
  display: flex;
  justify-content: space-around;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 4. Sección Futuro de tu Negocio */
.home-future-section {
  background: linear-gradient(180deg, #FCFCFB 0%, var(--color-accent) 100%);
  padding: 90px 0 70px 0;
}

.future-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.future-content {
  flex: 0 0 50%;
  max-width: 50%;
}

.future-title {
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

.future-image {
  flex: 0 0 50%;
  max-width: 50%;
  text-align: center;
}

.future-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 5. Sección Confianza & 3 Tarjetas */
.home-trust-section {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary) 70%, #FFFFFF 70%, #FFFFFF 100%);
  padding: 80px 0 60px 0;
  text-align: center;
}

.trust-title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 45px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 45px;
}

.trust-card {
  background-color: var(--color-white);
  border-radius: 40px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--color-accent);
  box-shadow: var(--box-shadow-card);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.trust-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 18px auto;
  object-fit: contain;
}

.trust-card-title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.trust-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

.btn-trust-cta {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 14px 34px;
  border-radius: var(--border-radius-btn);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 169, 206, 0.35);
  transition: all var(--transition-speed) ease;
}

.btn-trust-cta:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 76, 151, 0.4);
}

/* 6. Sección Socio Logístico */
.home-partner-section {
  padding: 90px 0;
  background-color: var(--color-white);
}

.partner-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

.partner-image {
  flex: 0 0 50%;
  max-width: 50%;
}

.partner-image img {
  width: 100%;
  border-radius: 24px;
  /* box-shadow: var(--box-shadow-card); */
  object-fit: cover;
}

.partner-content {
  flex: 0 0 50%;
  max-width: 50%;
}

.partner-title {
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.partner-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 30px;
}

/* 7. Barra de Estadísticas */
.home-stats-bar {
  background-color: var(--color-primary);
  padding: 35px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-white);
}

.stat-icon {
  flex: 0 0 55px;
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.95;
}

/* 8. Sección 3 Pasos */
.home-steps-section {
  position: relative;
  background-image: url("../img/logistica-internacional.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 90px 0;
}

.steps-header {
  max-width: 600px;
  margin-bottom: 36px;
}

.steps-title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 580px;
  margin-bottom: 36px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 169, 206, 0.35);
}

.step-content .step-item-title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.step-content .step-item-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

/* 9. Sección Quédate Tranquilo */
.home-peace-section {
  background-image: url("../img/fondo-naviero.png");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 90px 0 100px 0;
}

.peace-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.peace-title {
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 26px;
}

.peace-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text);
  text-align: justify;
  margin-bottom: 35px;
}

.peace-body p {
  margin-bottom: 16px;
}

.peace-body strong {
  font-weight: 700;
}

/* ==========================================================================
   PÁGINA: NOSOTROS
   ========================================================================== */

/* 1. Hero & Team Photo */
.nosotros-hero-section {
  padding: 80px 0 0 0;
  background-color: var(--color-white);
  position: relative;
}

.nosotros-hero-header {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 50px;
}

.nosotros-hero-title-box {
  flex: 0 0 45%;
  max-width: 45%;
}

.nosotros-hero-title {
  font-family: var(--font-primary);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

.nosotros-hero-desc-box {
  flex: 0 0 55%;
  max-width: 55%;
}

.nosotros-hero-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
}

.nosotros-team-photo-wrap {
  width: 100%;
  text-align: center;
  margin-bottom: -180px;
  position: relative;
  z-index: 10;
}

.nosotros-team-photo-wrap img {
  width: 100%;
  max-width: 960px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* 2. Barra de Clientes (+15 Años & Logos) */
.nosotros-clients-bar {
  background-color: var(--color-primary);
  padding: 240px 0 80px 0;
  position: relative;
}

.nosotros-clients-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nosotros-clients-stat {
  flex: 0 0 32%;
  max-width: 320px;
  color: var(--color-white);
}

.nosotros-clients-stat .stat-number {
  font-family: var(--font-primary);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--color-white);
}

.nosotros-clients-stat .stat-label {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-white);
  opacity: 0.95;
}

.nosotros-clients-logos {
  flex: 0 0 65%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.client-logo-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.client-logo-card img {
  /* max-width: 88%;
  max-height: 64px; */
  object-fit: contain;
  width: auto;
  height: auto;
  display: block;
}

/* 3. Visión y Misión */
.nosotros-vision-mision-section {
  padding: 90px 0;
  background-color: var(--color-white);
}

.vision-mision-grid {
  display: flex;
  gap: 60px;
}

.vision-box,
.mision-box {
  flex: 0 0 calc(50% - 30px);
  max-width: calc(50% - 30px);
}

.vision-title,
.mision-title {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.vision-desc,
.mision-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

/* 4. Valores & Excelencia Operacional */
.nosotros-values-section {
  background-color: var(--color-primary);
  padding: 80px 0;
  color: var(--color-white);
}

.values-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px auto;
}

.values-title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.values-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.95;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.value-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  background-color: var(--color-white);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.value-icon svg {
  width: 14px;
  height: 14px;
}

.value-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
}

.value-text strong {
  font-weight: 700;
}

/* 5. Equipo / Los Expertos Detrás del Éxito */
.nosotros-team-section {
  padding: 90px 0 100px 0;
  background-color: var(--color-white);
}

.team-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px auto;
}

.team-section-title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.team-section-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
}

/* Fila del Líder (Gerente General) con líneas a los lados */
.leader-section-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  width: 100%;
}

.leader-line {
  flex: 1;
  height: 1px;
  background-color: #DDE5EC;
}

.leader-card {
  flex: 0 0 250px;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.leader-card-photo {
  width: 240px;
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #F8FAFC;
}

.leader-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.leader-card-info {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: 20px;
  margin-top: -24px;
  z-index: 2;
  text-align: center;
  width: 210px;
  box-shadow: 0 4px 12px rgba(0, 169, 206, 0.35);
}

.leader-card-info .team-card-name {
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.leader-card-info .team-card-role {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 13px;
  opacity: 0.95;
}

/* Grilla de 12 Miembros */
.team-grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 20px;
  width: 100%;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  width: 100%;
}

.team-card-photo {
  width: 100%;
  max-width: 260px;
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #F8FAFC;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-card-info {
  background-color: #BAECF5;
  padding: 10px 16px;
  border-radius: 18px;
  width: calc(100% - 24px);
  max-width: 230px;
  margin-top: -24px;
  z-index: 2;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.team-card-name {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: #002B49;
  margin-bottom: 2px;
  line-height: 1.2;
}

.team-card-role {
  font-family: var(--font-body);
  font-size: 13px;
  color: #333333;
  font-weight: 500;
  line-height: 1.3;
}

/* ==========================================================================
   PÁGINA: SERVICIOS
   ========================================================================== */

/* 1. Hero Servicios con Video */
.servicios-hero-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px 0;
  background-color: var(--color-white);
  min-height: 480px;
  display: flex;
  align-items: center;
}

.servicios-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.servicios-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.servicios-hero-title {
  font-family: var(--font-primary);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.servicios-hero-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
}

/* 2. Secciones de Servicios (Fondos Diagonales de Ancho Completo) */
.servicios-sections-wrapper {
  width: 100%;
}

.service-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding: 96px 0;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.service-section-1 {
  background-image: url("../img/1-carga-maritima.png");
}

.service-section-2 {
  background-image: url("../img/2-carga-aerea.png");
}

.service-section-3 {
  background-image: url("../img/3-carga-courier.png");
}

.service-section-4 {
  background-image: url("../img/4-almacenaje-de-carga.png");
}

.service-section-5 {
  background-image: url("../img/5-carga-refrigerada-o-biologica.png");
}

.service-section-6 {
  background-image: url("../img/6-asesoria-personalizada.png");
}

.service-section .container {
  display: flex;
  align-items: center;
  width: 100%;
}

/* Filas 1, 3, 5: Contenido a la izquierda */
.service-section-1 .service-content,
.service-section-3 .service-content,
.service-section-5 .service-content {
  max-width: 520px;
  margin-right: auto;
  margin-left: 0;
}

/* Filas 2, 4, 6: Contenido a la derecha */
.service-section-2 .service-content,
.service-section-4 .service-content,
.service-section-6 .service-content {
  max-width: 520px;
  margin-left: auto;
  margin-right: 0;
}

.service-mobile-img {
  display: none;
}

.service-category {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.service-title {
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 18px;
}

.service-desc a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.service-addons-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.service-addons-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 28px;
}

.service-addons-list li {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 4px;
}

.service-cta-wrapper {
  margin-top: 20px;
}

/* ==========================================================================
   RESPONSIVE / MEDIA QUERIES
   ========================================================================== */

/* Tablets y Móviles (1024px o menos) */
@media (max-width: 1024px) {
  .top-bar {
    padding: 6px 16px;
    font-size: 13px;
  }

  .main-nav-container {
    padding: 10px 20px;
  }

  .main-menu ul {
    gap: 20px;
  }

  .hero-title {
    font-size: 36px;
  }

  .home-hero-content .hero-title {
    font-size: 38px;
  }

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

  .problems-spacer {
    display: none;
  }

  .problems-content {
    flex: 0 0 100%;
    max-width: 100%;
    background-color: rgba(255, 255, 255, 0.94);
    padding: 36px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  .future-grid {
    flex-direction: column;
    gap: 30px;
  }

  .future-content,
  .future-image {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .partner-grid {
    flex-direction: column;
    gap: 36px;
  }

  .partner-image,
  .partner-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nosotros-hero-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nosotros-hero-title-box,
  .nosotros-hero-desc-box {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .nosotros-clients-grid {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .nosotros-clients-stat,
  .nosotros-clients-logos {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .vision-mision-grid {
    flex-direction: column;
    gap: 36px;
  }

  .vision-box,
  .mision-box {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-grid-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
  }

  .service-row-grid,
  .service-row.reverse .service-row-grid {
    flex-direction: column;
    gap: 36px;
  }

  .service-content-col,
  .service-image-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-columns {
    flex-direction: column;
    gap: 36px;
  }

  .contact-form-card,
  .contact-faq-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .form-title,
  .faq-title {
    font-size: 28px;
  }

  .footer-container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 25px;
  }

  .footer-contact .contact-list {
    align-items: center;
  }
}

/* Móviles (767px o menos) */
@media (max-width: 767px) {
  .top-bar {
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px;
    text-align: center;
  }

  .top-left-menu ul,
  .top-right-menu ul {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 12px;
  }

  .main-nav-container {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .main-menu {
    display: none;
  }

  .header-cta {
    display: block;
    margin-left: auto;
    margin-right: 12px;
  }

  .header-cta .btn-primary {
    padding: 7px 14px;
    font-size: 11px;
    letter-spacing: 0.3px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
  }

  /* Menú desplegable móvil */
  .main-menu.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1001;
    margin: 0;
  }

  .main-menu.is-open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .main-menu.is-open a {
    font-size: 18px;
    display: block;
    width: 100%;
  }

  .home-hero-section {
    padding: 50px 0 60px 0;
  }

  .home-hero-content {
    text-align: left;
  }

  .home-hero-content .hero-title,
  .nosotros-hero-title {
    font-size: 30px;
  }

  .home-hero-content .btn-primary {
    display: table;
    margin: 0 auto;
  }

  /* Sección Problemas Móvil */
  .home-problems-section {
    padding: 50px 0 40px 0;
  }

  .problems-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 24px;
  }

  .problems-list {
    gap: 28px;
    margin-bottom: 24px;
  }

  .problem-item {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .problem-text {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }

  .problems-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
  }

  /* Sección Futuro Móvil */
  .home-future-section {
    padding: 60px 0;
  }

  .future-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 24px;
  }

  .future-image img {
    max-width: 100%;
  }

  /* Sección Confianza Móvil */
  .home-trust-section {
    background: var(--color-primary);
    padding: 60px 0;
  }

  .trust-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 30px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }

  .trust-card {
    border-radius: 30px;
    padding: 30px 20px;
  }

  .trust-icon {
    width: 90px;
    height: 90px;
  }

  .trust-cta-wrapper {
    text-align: center;
  }

  .trust-cta-wrapper .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  .trust-cta-wrapper .btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
  }

  /* Sección Socio Logístico Móvil */
  .home-partner-section {
    padding: 60px 0;
  }

  .partner-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 16px;
  }

  .partner-text {
    font-size: 14px;
    line-height: 1.65;
    text-align: justify;
    margin-bottom: 24px;
  }

  .partner-content .btn-primary {
    display: table;
    margin: 0 auto;
  }

  /* Sección Estadísticas Móvil */
  .home-stats-bar {
    padding: 50px 0;
  }

  .stats-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .stat-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .stat-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto;
  }

  .stat-number {
    font-size: 32px;
    margin-bottom: 6px;
  }

  .stat-label {
    font-size: 14px;
    max-width: 260px;
    margin: 0 auto;
  }

  /* Sección 3 Pasos Móvil */
  .home-steps-section {
    padding: 60px 0;
  }

  .steps-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 36px;
  }

  .steps-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-bottom: 36px;
  }

  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .step-number {
    margin: 0 auto;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .step-content {
    text-align: center;
  }

  .home-steps-section .btn-primary {
    display: table;
    margin: 0 auto;
  }

  /* Sección Quédate Tranquilo Móvil */
  .home-peace-section {
    padding: 60px 0 160px 0;
    background-position: center bottom;
  }

  .peace-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 24px;
  }

  .peace-body {
    text-align: left;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 35px;
  }

  .home-peace-section .btn-primary {
    display: table;
    margin: 0 auto;
  }

  /* Servicios Móvil */
  .servicios-hero-section {
    padding: 30px 0 100px 0;
    min-height: 480px;
    background-color: var(--color-white);
    overflow: hidden;
  }

  .servicios-video-bg {
    /* left: 25%; */
    width: 130%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
  }

  .servicios-hero-content {
    max-width: 58%;
    position: relative;
    z-index: 2;
  }

  .servicios-hero-title {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .servicios-hero-desc {
    font-size: 13px;
    line-height: 1.5;
    max-width: 100%;
  }

  .service-section {
    background-image: none !important;
    min-height: auto;
    padding: 24px 0 32px 0;
  }

  .service-section .container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Filas Impares (1, 3, 5): Gráfico pegado al borde DERECHO */
  .service-section-1 .service-mobile-img,
  .service-section-3 .service-mobile-img,
  .service-section-5 .service-mobile-img {
    display: block;
    width: calc(100% + 280px);
    margin-right: auto;
    margin-left: -220px;
    text-align: right;
    margin-bottom: 20px;
  }

  .service-section-1 .service-mobile-img img,
  .service-section-3 .service-mobile-img img,
  .service-section-5 .service-mobile-img img {
    /* width: 82%;
    max-width: 320px; */
    height: 310px;
    display: inline-block;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Filas Pares (2, 4, 6): Gráfico pegado al borde IZQUIERDO */
  .service-section-2 .service-mobile-img,
  .service-section-4 .service-mobile-img,
  .service-section-6 .service-mobile-img {
    display: block;
    width: calc(100% + 280px);
    margin-left: -20px;
    margin-right: auto;
    text-align: left;
    margin-bottom: 20px;
  }

  .service-section-2 .service-mobile-img img,
  .service-section-4 .service-mobile-img img,
  .service-section-6 .service-mobile-img img {
    /* width: 82%;
    max-width: 320px; */
    height: 310px;
    display: inline-block;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .service-content,
  .service-section-1 .service-content,
  .service-section-2 .service-content,
  .service-section-3 .service-content,
  .service-section-4 .service-content,
  .service-section-5 .service-content,
  .service-section-6 .service-content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: left;
  }

  .service-category {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
  }

  .service-title {
    font-size: 24px;
    margin-bottom: 14px;
    line-height: 1.25;
  }

  .service-desc {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 14px;
  }

  .service-addons-title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .service-addons-list {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .service-cta-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
  }

  .service-cta-wrapper .btn-primary {
    display: table;
    margin: 0 auto;
  }

  /* Nosotros Móvil */
  .nosotros-hero-section {
    padding: 40px 0 0 0;
  }

  .nosotros-hero-header {
    gap: 16px;
    margin-bottom: 24px;
  }

  .nosotros-hero-title {
    font-size: 28px;
  }

  .nosotros-hero-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .nosotros-team-photo-wrap {
    margin-bottom: -70px;
  }

  .nosotros-team-photo-wrap img {
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }

  .nosotros-clients-bar {
    padding: 110px 0 50px 0;
  }

  .nosotros-clients-grid {
    gap: 24px;
  }

  .nosotros-clients-stat .stat-number {
    font-size: 32px;
  }

  .nosotros-clients-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 80% !important;
  }

  .client-logo-card {
    height: 75px;
    min-height: 75px;
    padding: 12px 16px;
  }

  .client-logo-card img {
    max-height: 44px;
    max-width: 85%;
  }

  .leader-section-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 36px;
  }

  .leader-line {
    display: none;
  }

  .leader-card {
    width: 100%;
    max-width: 260px;
  }

  .team-grid-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-card {
    max-width: 260px;
    margin: 0 auto;
  }

  .contact-hero-section {
    padding: 48px 0 60px 0;
    background-attachment: scroll;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-description {
    font-size: 15px;
  }

  .contact-columns {
    flex-direction: column;
    gap: 36px;
  }

  .contact-form-card,
  .contact-faq-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  .form-title,
  .faq-title {
    font-size: 26px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-contact li {
    justify-content: center;
    text-align: center;
  }

  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   ANIMACIONES Y MICRO-INTERACCIONES LIGERAS
   ========================================================================== */

/* 1. Scroll Reveal (Aparición Progresiva) */
.reveal-element {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-element.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Retraso escalonado para elementos continuos */
.team-grid-cards .team-card:nth-child(2) { transition-delay: 0.08s; }
.team-grid-cards .team-card:nth-child(3) { transition-delay: 0.16s; }
.team-grid-cards .team-card:nth-child(4) { transition-delay: 0.24s; }

.nosotros-clients-logos .client-logo-card:nth-child(2) { transition-delay: 0.06s; }
.nosotros-clients-logos .client-logo-card:nth-child(3) { transition-delay: 0.12s; }
.nosotros-clients-logos .client-logo-card:nth-child(4) { transition-delay: 0.18s; }
.nosotros-clients-logos .client-logo-card:nth-child(5) { transition-delay: 0.24s; }

.values-grid .value-item:nth-child(even) { transition-delay: 0.1s; }

.problems-list .problem-item:nth-child(2) { transition-delay: 0.1s; }
.problems-list .problem-item:nth-child(3) { transition-delay: 0.2s; }

.trust-grid .trust-card:nth-child(2) { transition-delay: 0.12s; }
.trust-grid .trust-card:nth-child(3) { transition-delay: 0.24s; }

.steps-list .step-item:nth-child(2) { transition-delay: 0.12s; }
.steps-list .step-item:nth-child(3) { transition-delay: 0.24s; }

.stats-grid .stat-item:nth-child(2) { transition-delay: 0.1s; }
.stats-grid .stat-item:nth-child(3) { transition-delay: 0.2s; }

/* 2. Micro-interacciones de Hover */
.btn-primary {
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 169, 206, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 169, 206, 0.25);
}

.client-logo-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.client-logo-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
}

.team-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card:hover .team-card-info {
  box-shadow: 0 8px 20px rgba(0, 169, 206, 0.2);
}

.team-card-photo img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-photo img {
  transform: scale(1.04);
}

.leader-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.leader-card:hover {
  transform: translateY(-6px);
}

.leader-card-photo img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.leader-card:hover .leader-card-photo img {
  transform: scale(1.04);
}

/* Hover en Elementos del Home */
.problem-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-item:hover {
  transform: translateX(6px);
}

.problem-item .problem-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.trust-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

.trust-card .trust-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-card:hover .trust-icon {
  transform: scale(1.08);
}

.step-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-item:hover {
  transform: translateX(6px);
}

.step-item .step-number {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.step-item:hover .step-number {
  transform: scale(1.1);
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.stat-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-item .stat-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover .stat-icon {
  transform: scale(1.12);
}

/* 3. Pulso Sutil para Botón WhatsApp */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.15);
  }
  100% {
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  }
}

.floating-whatsapp {
  animation: whatsappPulse 4.5s infinite ease-in-out;
  transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
}

/* 4. Respeto a Preferencias de Accesibilidad (Movimiento Reducido) */
@media (prefers-reduced-motion: reduce) {
  .reveal-element {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .floating-whatsapp {
    animation: none !important;
  }
}

/* ==========================================================================
   PÁGINA: ERROR 404
   ========================================================================== */
.error-404-section {
  min-height: calc(100vh - 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FAFC 100%);
  text-align: center;
}

.error-404-content {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-code-badge {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-primary);
  background-color: var(--color-accent);
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.error-code {
  font-family: var(--font-primary);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 169, 206, 0.2);
}

.error-title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.error-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 36px;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  background-color: transparent;
  border: 2px solid var(--color-primary);
  padding: 12px 28px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 169, 206, 0.3);
}

@media (max-width: 767px) {
  .error-404-section {
    padding: 60px 0;
    min-height: auto;
  }

  .error-code {
    font-size: 80px;
  }

  .error-title {
    font-size: 26px;
  }

  .error-desc {
    font-size: 14px;
  }

  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-actions .btn-primary,
  .error-actions .btn-secondary-outline {
    width: 100%;
    max-width: 280px;
  }
}