/* ========================================
   JR-SOFTWARE - STYLES.CSS
   Mobile-First Responsive Design
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  /* Colores principales */
  --primary: #102E4A;
  --accent: #FEF7E5;
  --primary-dark: #0a1f31;
  --primary-light: #1a4d7a;
  
  /* Colores secundarios */
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-light: #999999;
  --background: #ffffff;
  --background-alt: #f8f9fa;
  --border: #e0e0e0;
  
  /* Transparencias */
  --primary-alpha-10: rgba(16, 46, 74, 0.1);
  --primary-alpha-08: rgba(16, 46, 74, 0.08);
  --primary-alpha-05: rgba(16, 46, 74, 0.05);
  --accent-alpha-50: rgba(254, 247, 229, 0.5);
  
  /* Tipografía */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Espaciado */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Tamaños de fuente */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;
  
  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  
  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Container */
  --container-width: 1200px;
}

/* ========================================
   RESET Y BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Ocultar skip-link en desktop */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: -1;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: #102E4A;
  color: #FEF7E5;
  padding: 1rem;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  text-align: center;
  justify-content: center;
}

.implementacion-descripcion{
  font-size: medium;
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
  text-align: center;
}

.contacto-title{
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
  text-align: center;
}

.section-app{
  color: white;
}

.section-description {
  font-size: var(--text-lg);
  color: white;
  line-height: 1.7;
}

.decription-app{
  color: white;
}

.section-sistemas-title{
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
  text-align: center;
  
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--background-alt);
  color: var(--primary-light);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: #00bfff;
  border-color: var(--primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--background);
  color: var(--primary);
}

.btn-outline {
  background-color: var(--primary);
  color: var(--background);
  border-color: var(--primary);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--background);
  color: var(--primary);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
}

.btn-block {
  width: 100%;
}


/* Botón CTA en el Hero */
.btn-hero{
  padding-top: 2%;
}

.hero-cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: rgba(16, 46, 74, 0.8); 
  color: #FEF7E5;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(254, 247, 229, 0.5);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(16, 46, 74, 0.3);
  
    
  /* Animación de entrada desde abajo */
  animation: slideUpFade 1s ease 1s backwards;
}

.hero-cta-button:hover {
  background: rgba(16, 46, 74, 0.95);
  border-color: #FEF7E5;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(16, 46, 74, 0.4);
}

/* Animación desde abajo */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Versión alternativa: desde la derecha */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Versión alternativa: desde la izquierda */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .hero-cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}


  

   /* ========================================
   SKIP LINK - ACCESIBILIDAD
   ======================================== */
.skip-link {
  position: absolute;
  top: -100px; /* Oculto por defecto */
  left: 0;
  background: var(--primary);
  color: var(--accent);
  padding: var(--spacing-sm) var(--spacing-md);
  text-decoration: none;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) 0;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0; /* Solo aparece al hacer Tab */
}
 
.header {
  position: sticky;
  top: 0;
  background-color: var(--primary);
  box-shadow: var(--shadow-sm);
  z-index: 50;
  padding: var(--spacing-md) 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}



.logo-container{
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo a {
  display: block;
  transition: opacity var(--transition-base);
}

.logo a:hover {
  opacity: 0.8;
}

.img-logo{
  width: 50px;
  height: 50px;
  border-radius: 70%;
  object-fit: cover; 
  flex-shrink: 0; 
}

.logo-text{
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--background-alt);
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}



/* Menu Toggle (Hamburger) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--spacing-xs);
  z-index: 60;
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: var(--background-alt);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--primary);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-3xl) var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  transition: right var(--transition-base);
  overflow-y: auto;
}

.nav-menu.active {
  right: 0;
}

/* Forzar posicionamiento correcto del dropdown */
.nav-menu .nav-item-dropdown {
  position: relative !important;
}

.nav-menu .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
}

/* Si el dropdown sigue mal posicionado, prueba esto: */
@media (min-width: 1024px) {
  .nav-item-dropdown {
    position: relative !important;
  }
  
  .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 0.5rem) !important;
    left: 0 !important;
    transform: translateX(0) !important;
  }
  
  .nav-item-dropdown:hover .dropdown-menu {
    display: block !important;
  }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--background-alt);
  padding: var(--spacing-sm) 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-base);
}

.nav-link:hover,
.nav-link:focus {
  color: #00bfff;
  border-bottom-color: var(--primary);
}

.header-cta {
  display: none;
}

/* ========================================
   DROPDOWN MENU - VERSIÓN CORREGIDA
   ======================================== */

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-arrow {
 
  display: none !important;

}

/* Menu desplegable - OCULTO por defecto */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  list-style: none;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* Mostrar dropdown al hover en desktop */
@media (min-width: 1024px) {
  .nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
  }

  /* IMPORTANTE: Ocultar la flecha en desktop si no quieres que se vea */

  .dropdown-arrow {
    display: inline-block; /* O cambia a 'none' si no quieres que se vea */
  }

}

/* Items del dropdown */
.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.dropdown-item:hover {
  background-color: rgba(16, 46, 74, 0.08);
  color: #102E4A;
  padding-left: 1.75rem;
}

/* Mobile */
@media (max-width: 1023px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(16, 46, 74, 0.1);
    border: none;
    border-radius: 4px;
    padding: 0.5rem 0;
    margin: 0.5rem 0 0 1rem;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .nav-item-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    pointer-events: auto;
  }
  
  .nav-item-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }
  
  .dropdown-item {
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
  }
  
  .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1.25rem;
  }
}



/* ============================================
 HERO SECTION - ESTILO BRITHERS
 ============================================ */
        
.hero-brithers {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* Slider de imágenes de fondo */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay oscuro sobre la imagen */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 46, 74, 0.6);
  z-index: 2;
}

/* Contenido del hero */
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #FEF7E5;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 6rem;
    font-weight: 1000;
    color: #FEF7E5;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.3s backwards;
}



.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #FEF7E5;
  max-width: 700px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.6s backwards;
}

 /* Flechas de navegación del slider */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(254, 247, 229, 0.1);
  border: 2px solid rgba(254, 247, 229, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-nav:hover {
  background: rgba(254, 247, 229, 0.2);
  border-color: rgba(254, 247, 229, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev {
  left: 30px;
}

.hero-nav-next {
  right: 30px
}

.hero-nav svg {
  width: 24px;
  height: 24px;
  fill: #FEF7E5;
}

/* Indicadores del slider */
.hero-indicators {
position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 12px;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(254, 247, 229, 0.3);
  border: 2px solid rgba(254, 247, 229, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active {
  background: #FEF7E5;
  width: 40px;
  border-radius: 6px;
}

.hero-indicator:hover {
  background: rgba(254, 247, 229, 0.6);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title {
      font-size: 2.5rem;
    }

    .hero-subtitle {
      font-size: 1.2rem;
    }

  .hero-nav {
      width: 40px;
      height: 40px;
  }

  .hero-nav-prev {
      left: 15px;
   }

  .hero-nav-next {
      right: 15px;
    }
}
@media (max-width: 640px) {
    .hero-title {
      font-size: 2rem;
    }

    .hero-subtitle {
      font-size: 1rem;
    }

    .hero-nav {
      display: none;
    }
}

/* ========================================
   PRODUCTOS SECTION - ESTILO PORTFOLIO SOFTCOM
   ======================================== */
.productos-section {
  background-color: var(--background);
  padding: var(--spacing-3xl) 0;
}

.productos-portfolio {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.portfolio-item.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

/* Contenedor de imagen con número */
.portfolio-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--background-alt);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

/* Número superpuesto en la imagen */
.portfolio-numero {
  position: absolute;
  top: var(--spacing-lg);
  left: var(--spacing-lg);
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Contenido de texto */
.portfolio-texto {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Tablet y Desktop: imagen y texto lado a lado */
@media (min-width: 768px) {
  .portfolio-item {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
  }
  
  .portfolio-image {
    aspect-ratio: 4 / 3;
  }
  
  .portfolio-numero {
    font-size: 5rem;
    top: var(--spacing-xl);
    left: var(--spacing-xl);
  }
  
  .portfolio-title {
    font-size: var(--text-2xl);
  }
  
  .portfolio-description {
    font-size: var(--text-lg);
  }
  
  /* Alternar posición de imagen */
  .portfolio-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
  }
  
  .portfolio-item:nth-child(even) .portfolio-image {
    order: 2;
  }
  
  .portfolio-item:nth-child(even) .portfolio-texto {
    order: 1;
  }
}

/* Desktop grande */
@media (min-width: 1024px) {
  .portfolio-item {
    gap: var(--spacing-3xl);
  }
  
  .portfolio-numero {
    font-size: 6rem;
  }
}

/* Fondo con imagen para la tarjeta de Clubes */
.club-card {
  background-image: url('./assets/club2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.pasajes-card {
  background-image: url('./assets/pasajes.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}



.agua-card {
  background-image: url('./assets/agua2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.parking-card {
  background-image: url('./assets/parking2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay oscuro para mejorar legibilidad del texto */
.back-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(16, 46, 74, 0.616); /* Overlay azul oscuro semi-transparente */
  border-radius: var(--radius-lg);
  z-index: 0;
}

/* Asegurar que el contenido esté por encima del overlay */
.back-card > * {
  position: relative;
  z-index: 1;
}

/* Opcional: Cambiar colores del texto para que contrasten bien */
.back-card .producto-title,
.back-card .producto-description,
.back-card .producto-features li {
  color: #ffffff;
}

.back-card .producto-features li::before {
  color: #00d4ff; /* Cyan para los checks */
}

.backrd .btn-outline {
  color: #ffffff;
  border-color: #ffffff;
}

.back-card .btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary);
}

.btn-portfolio{
  width: auto;
}





/* ========================================
   BENEFICIOS SECTION
   ======================================== */
.beneficios-grid {
  display: grid;
  gap: var(--spacing-xl);
}

.beneficio-item {
  text-align: center;
  padding: var(--spacing-lg);
}

.beneficio-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.beneficio-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.beneficio-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   CLIENTES SECTION
   ======================================== */
.clientes-section {
  background-color: var(--background-alt);
}

.author-avatar {
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}



.logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  align-items: center;
  justify-items: center;
}

.logo-placeholder {
  width: 100%;
  max-width: 140px;
  transition: all var(--transition-base);
}

.logo-placeholder:hover {
  transform: scale(1.05);
}

/* ========================================
   PRECIOS SECTION
   ======================================== */
.precios-grid {
  display: grid;
  gap: var(--spacing-xl);
}

.precio-card {
  position: relative;
  background-color: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border);
  transition: all var(--transition-base);
}

.precio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.precio-destacado {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.precio-badge {
  position: absolute;
  top: -12px;
  right: var(--spacing-lg);
  background-color: var(--primary);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-heading);
}

.precio-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.precio-plan {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.precio-descripcion {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.precio-valor {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border);
}

.precio-simbolo {
  font-size: var(--text-xl);
  color: var(--primary);
  font-weight: 600;
  vertical-align: super;
}

.precio-numero {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--primary);
}

.precio-periodo {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.precio-features {
  margin-bottom: var(--spacing-xl);
}

.precio-features li {
  position: relative;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-lg);
}

.precio-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: var(--text-lg);
}

/* ========================================
   CONTACTO SECTION
   ======================================== */
.contacto-section {
  background-color: var(--background-alt);
}

.contacto-content {
  display: grid;
  gap: var(--spacing-2xl);
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contacto-form {
  grid-column: 1 / -1; /* Ocupa todas las columnas */
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--background);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Para los campos en 2 columnas */
  gap: var(--spacing-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.form-input {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #102E4A;
  box-shadow: 0 0 0 3px rgba(16, 46, 74, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-input.error {
  border-color: #dc3545;
}

.form-error {
  color: #dc3545;
  font-size: var(--text-sm);
  display: none;
}

.form-error.active {
  display: block;
}

.form-message {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.btn-loading {
  display: none;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  background: rgba(140, 146, 170, 0.349);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.info-text {
  flex: 1;
  color: white;
}

.info-label {
  font-size: 0.875rem;
  color:white;
  margin-bottom: 0.25rem
}

.info-value {
  font-weight: 600;
  color:white;
  font-size: 1rem;
}

/* Tablet */
@media (max-width: 968px) {
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contacto-form {
        padding: 1.5rem;
    }
    
    .form-input {
        padding: 0.75rem;
        font-size: 16px; /* Evita zoom en iOS */
    }
}

/* Mobile */
@media (max-width: 640px) {
    .sistema-cta {
        padding: 3rem 0;
    }
    
    .contacto-content {
        gap: 1.5rem;
    }
    
    .contacto-form {
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-input {
        padding: 0.75rem;
        font-size: 16px; /* IMPORTANTE: Evita zoom automático en iOS */
        border-radius: 6px;
    }
    
    textarea.form-input {
        min-height: 100px;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }

    .contacto-title{
     font-size: 1.75rem;

    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .info-item {
        padding: 1.25rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
    }
    
    .info-label {
        font-size: 0.8rem;
    }
    
    .info-value {
        font-size: 0.95rem;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .contacto-form {
        padding: 1rem;
    }
    
    .form-input {
        padding: 0.65rem;
    }
    
    .btn-large {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--primary);
  color: var(--accent);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-logo {
  margin-bottom: var(--spacing-sm);
}

.footer-description {
  color: var(--accent);
  opacity: 0.9;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-alpha-10);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.social-link:hover,
.social-link:focus {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.social-link:hover svg path,
.social-link:focus svg path {
  fill: var(--primary);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links a {
  color: var(--accent);
  opacity: 0.9;
  transition: opacity var(--transition-base);
  font-size: var(--text-base);
}

.footer-links a:hover,
.footer-links a:focus {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(254, 247, 229, 0.2);
}

.footer-copyright {
  color: var(--accent);
  opacity: 0.8;
  font-size: var(--text-sm);
}


/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: #102E4A;
    color: #FEF7E5;
    padding: 8px 15px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: #102E4A;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Animación de pulso */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ========================================
   RESPONSIVE - TABLET (768px+)
   ======================================== */
@media (min-width: 768px) {
  /* Typography */
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .section-title {
    font-size: var(--text-4xl);
  }

  .contacto-title{
    font-size: var(--text-4xl);
  }
  
  /* Hero */
  .hero-cta {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .hero-cta .btn{
    width: auto;
  }
  
  .hero-image {
    display: block;
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
  
    
  /* Beneficios */
  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Testimonios */
  .testimonios-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Logos */
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .producto-item {
    grid-template-columns: 60px 1fr;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
  }
  
  .producto-numero {
    font-size: 2rem;
  }
  
  .producto-title {
    font-size: var(--text-lg);
  }
  
  .producto-description {
    font-size: var(--text-sm);
  }



  
  
  /* Precios */
  .precios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Contacto */
  .contacto-form {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-group-full {
    grid-column: 1 / -1;
  }
  
  .contacto-content {
    grid-template-columns: 2fr 1fr;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   RESPONSIVE - DESKTOP (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  /* Typography */
  .hero-title {
    font-size: var(--text-5xl);
  }
  
  /* Header */
  .menu-toggle {
    display: none;
  }
  
  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
    max-width: none;
    background: none;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    gap: var(--spacing-lg);
  }
  
  .nav-menu li {
    position: static;
  }
  
  .nav-menu .nav-item-dropdown {
    position: relative;
  }


  .nav-link {
    font-size: var(--text-base);
    padding: 0;
  }
  
  .header-cta {
    display: inline-flex;
  }
  
   
  /* Beneficios */
  .beneficios-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Testimonios */
  .testimonios-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Logos */
  .logos-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  animation: fadeIn 0.6s ease forwards;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .header,
  .menu-toggle,
  .nav-menu,
  .hero-cta,
  .btn,
  .contacto-form,
  .footer-social {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .section {
    page-break-inside: avoid;
  }
}

@media (min-width: 1200px) {
  .producto-card {
    width: 70%;
    max-width: 1000px;
  }
}

/* ========================================
   PÁGINA NOSOTROS - ESTILOS ADICIONALES
   ======================================== */

/* Hero Nosotros */
.nosotros-hero {
  background: linear-gradient(135deg, #0a1f31 0%, #102E4A 50%, #1a4d7a 100%);
  width: 100%;
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: center;
  color: white;
}

.nosotros-hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 auto;
  text-align: left
}

.nosotros-hero-title .highlight {
  color: #00d4ff;
}

.nosotros-hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}




/* Quiénes Somos */
.nosotros-quienes {
  background-color: var(--background);
}

.nosotros-contenido {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: stretch;
}

.nosotros-texto {
  display: flex;
  flex-direction: column;
}

/* Contenedor de imagen con altura automática igual al texto */
.nosotros-imagen {
  position: relative;
  min-height: 400px;   
}

/* Stats con imagen de fondo y bordes fundidos */
.nosotros-stats {
  position: relative;  
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  height: 100%; /* Ocupa toda la altura del contenedor */
  overflow: hidden;
}
 
.nosotros-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* IMAGEN DE FONDO AQUÍ */
  background-image: url('assets/nosotros.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  /* GRADIENT POR ENCIMA para oscurecer */
  background-blend-mode: darken;
  background-color: rgba(143, 161, 179, 0.315); /* Ajusta opacidad aquí */
  
  border-radius: var(--radius-lg);
  z-index: 0;
}


/* Contenido de stats por encima del overlay */
.nosotros-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  background: 
    linear-gradient(
      135deg, 
      rgba(16, 46, 74, 0.88) 0%, 
      rgba(26, 77, 122, 0.82) 100%
    ),
    url('assets/nosotros.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  border-radius: var(--radius-lg);
  z-index: 0;
}

.stat-item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stat-numero {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: #00d4ff;
  line-height: 1;
  margin-bottom: var(--spacing-xs);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.stat-label {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.section-title-left {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.nosotros-parrafo {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.nosotros-parrafo strong {
  color: var(--primary);
  font-weight: 600;
}

/* Stats */
.nosotros-stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
}

.stat-numero {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: #00d4ff;
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}


/* ========================================
   EQUIPO FUNDADORES (2 personas)
   ======================================== */
.nosotros-equipo-fundadores {
  background-color: var(--background-alt);
}

.equipo-fundadores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  max-width: 1000px;
  margin: 0 auto;
}

.fundador-card {
  background-color: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 4px solid var(--primary);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.fundador-card.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.fundador-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Foto del fundador */
.fundador-foto {
  width: 180px;
  height: 180px;
  margin-bottom: var(--spacing-lg);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.fundador-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.fundador-card:hover .fundador-foto img {
  transform: scale(1.1);
}

/* Efecto de borde animado */
.fundador-foto::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid #00d4ff;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.fundador-card:hover .fundador-foto::after {
  opacity: 1;
}

/* Info del fundador */
.fundador-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.fundador-nombre {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
}

.fundador-cargo {
  font-size: var(--text-lg);
  color: #00d4ff;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.fundador-descripcion {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
}

/* Delays para animación escalonada */
.fundador-card:nth-child(1) {
  transition-delay: 0.1s;
}

.fundador-card:nth-child(2) {
  transition-delay: 0.2s;
}



/* Valores */
.nosotros-valores {
  background-color: var(--background);
  padding: var(--spacing-3xl) 0;
}

.valores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.valor-item {
  background-color: var(--background);
  border-radius: var(--radius-md);
  padding: var(--spacing-2xl);
  border-left: 4px solid var(--primary);
  transition: all var(--transition-base);
  box-shadow: none;
  opacity: 0;
  transform: translateY(30px);
}

.valor-item.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.valor-item:hover {
  border-left-width: 6px;
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.valor-titulo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.valor-texto {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Equipo */
.nosotros-equipo {
  background-color: var(--background-alt);
}

.equipo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.equipo-card {
  background-color: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-base);
}

.equipo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.equipo-foto {
  width: 150px;
  height: 150px;
  margin: 0 auto var(--spacing-lg);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.equipo-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.equipo-card:hover .equipo-foto img {
  transform: scale(1.1);
}

.equipo-nombre {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.equipo-cargo {
  font-size: var(--text-base);
  color: #00d4ff;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.equipo-descripcion {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Final */
.nosotros-cta {
  background: linear-gradient(135deg, #0a1f31 0%, #102E4A 50%, #1a4d7a 100%);
  color: white;
  text-align: center;
}

.cta-contenido {
  max-width: 800px;
  margin: 0 auto;
}

.cta-titulo {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.cta-texto {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
}

.cta-botones {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

/* Nav Link Active State */
.nav-link.active {
  color: var(--background);
  border-bottom-color: var(--primary);
}

/* ========================================
   RESPONSIVE - TABLET Y DESKTOP
   ======================================== */

@media (min-width: 768px) {
  /* Hero */
  .nosotros-hero {
    padding: var(--spacing-3xl) 0;
  }

  .container-nosotros {
    text-align: left;
    max-width: var(--container-width);
    margin: 0 auto;
  }

  .container-sistema{
    text-align: left;
    max-width: var(--container-width);
    margin: 0 auto;
  }
  
  .nosotros-hero-title {
    text-align: left;
    margin: 0;
    font-size: var(--text-4xl);
  }

  .sistema-hero{
    padding: var(--spacing-3xl) 0;
  }

  .sistema-hero-title{
    text-align: left;
    margin: 0;
    font-size: var(--text-4xl);
  }
  
  /* Mismo padding para alineación exacta */
  .nosotros-hero .container-nosotros,
  .nosotros-quienes .container  {
    padding-left: var(--spacing-2xl);
    padding-right: var(--spacing-2xl);
  }
  
  .nosotros-hero-title {
    font-size: var(--text-4xl);
  }
  
  /* Quiénes Somos */
  .nosotros-contenido {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: stretch;
  }

  .nosotros-imagen {
    min-height: unset; /* Deja que tome la altura del texto */
  }

  .nosotros-stats {
    /* Stats en una fila vertical en desktop */
    grid-template-columns: 1fr;
    justify-content: center;
    align-content: center;
  }
  
  .stat-numero {
    font-size: 3.5rem;
  }
  
  .section-title-left {
    font-size: var(--text-4xl);
  }
  
  /* Stats en una fila */
  .nosotros-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .equipo-fundadores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-3xl);
  }
  
  .fundador-foto {
    width: 200px;
    height: 200px;
  }
  
  .fundador-nombre {
    font-size: var(--text-3xl);
  }
  
  .fundador-descripcion {
    font-size: var(--text-lg);
  }
  
  /* Valores en 2 columnas */
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }

   /* El último item (Nuestro Compromiso) ocupa las 2 columnas */
  .valor-item:last-child {
    grid-column: 1 / -1;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
  }

  .valor-titulo {
    font-size: var(--text-2xl);
  }

    .valor-texto {
    font-size: var(--text-lg);
  }

  .valor-item:nth-child(1) { transition-delay: 0.1s; }
  .valor-item:nth-child(2) { transition-delay: 0.15s; }
  .valor-item:nth-child(3) { transition-delay: 0.2s; }
  .valor-item:nth-child(4) { transition-delay: 0.25s; }
  
  /* Equipo en 2 columnas */
  .equipo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* CTA botones en fila */
  .cta-botones {
    flex-direction: row;
    justify-content: center;
  }
  
  .cta-titulo {
    font-size: var(--text-4xl);
  }
}

@media (min-width: 1024px) {
   
  /* Equipo en 4 columnas */
  .equipo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
  }
  
  /* Valores en 3 columnas */
  .valores-grid {
    grid-template-columns: repeat(3, 1fr);
  }

 .nosotros-hero-title{
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 auto;
  text-align: left;
 }

 .nosotros-hero{
  justify-content: left;
  text-align: left;  
 }

 .container-nosotros{
  text-align: left;
  justify-content: left;
 }

 .stat-numero {
    font-size: 4rem;
  }
}

/* Alternativa: Si quieres bordes más fundidos (sin border-radius) */
.nosotros-stats.sin-bordes {
  border-radius: 0;
}

.nosotros-stats.sin-bordes::before {
  border-radius: 0;



}

/* ========================================
   ANIMACIONES ESPECÍFICAS
   ======================================== */

/* Fade in desde abajo para cards */
.mision-card,
.equipo-card,
.valor-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.mision-card.animate-on-scroll,
.equipo-card.animate-on-scroll,
.valor-item.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados para equipo */
.equipo-card:nth-child(1) { transition-delay: 0.1s; }
.equipo-card:nth-child(2) { transition-delay: 0.2s; }
.equipo-card:nth-child(3) { transition-delay: 0.3s; }
.equipo-card:nth-child(4) { transition-delay: 0.4s; }

/* Delays para valores */
.valor-item:nth-child(1) { transition-delay: 0.1s; }
.valor-item:nth-child(2) { transition-delay: 0.15s; }
.valor-item:nth-child(3) { transition-delay: 0.2s; }
.valor-item:nth-child(4) { transition-delay: 0.25s; }
.valor-item:nth-child(5) { transition-delay: 0.3s; }
.valor-item:nth-child(6) { transition-delay: 0.35s; }


/* ========================================
   PÁGINAS DE SISTEMAS INDIVIDUALES
   ======================================== */

/* Hero Sistema */
.sistema-hero {
  background: linear-gradient(135deg, #0a1f31 0%, #102E4A 50%, #1a4d7a 100%);
  width: 100%;
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: left;
  color: white;
}

.sistema-hero-title {
   font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 auto;
  text-align: left;
}

.sistema-hero-subtitle {
  font-size: var(--text-2xl);
  color: #ffffff;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  text-align: left;
  
}

.sistema-subtitle{
  font-size: var(--text-xl);
  color: #ffffff;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}


/* Descripción Principal */
.sistema-descripcion {
  background-color: var(--background);
}

.descripcion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.descripcion-texto .section-title-left {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-lg);
}

.sistema-parrafo {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.sistema-parrafo strong {
  color: var(--primary);
  font-weight: 600;
}

.descripcion-imagen {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.descripcion-imagen img {
  width: 100%;
  height: auto;
  display: block;
}


/* ========================================
   PLATAFORMAS (DESKTOP Y APP) - ALTURA IGUAL
   ======================================== */
.sistema-plataformas {
  background-color: var(--background);
}

.plataformas-intro {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  text-align: center;
  margin: var(--spacing-md) auto var(--spacing-2xl);
  max-width: 700px;
}

.plataformas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  max-width: 1200px;
  margin: 0 auto;
}

.plataforma-card {
  background-color: var(--background-alt);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.plataforma-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Badge */
.plataforma-badge {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  z-index: 10;
}

.plataforma-badge-app {
  background: linear-gradient(135deg, #00d4ff 0%, #0096c7 100%);
}

/* Imágenes - ALTURA FIJA IGUAL PARA AMBOS */
.plataforma-imagenes {
  margin-bottom: var(--spacing-xl);
  border-radius: var(--radius-lg);
}

.imagen-principal {
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 350px; /* ALTURA FIJA */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}

.imagen-principal img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Mantiene proporciones sin recortar */
  display: block;
  transition: transform var(--transition-base);
}

.plataforma-card:hover .imagen-principal img {
  transform: scale(1.03);
}

.imagenes-secundarias {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.imagenes-secundarias img {
  width: 100%;
  height: 150px; /* ALTURA FIJA PARA SECUNDARIAS */
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.imagenes-secundarias img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Imágenes móviles - CENTRADAS Y MISMO ALTO */
.plataforma-imagenes-mobile .imagen-principal {
  height: 350px; /* MISMA ALTURA QUE DESKTOP */
  background-color: #e9ecef;
  padding: var(--spacing-lg);
}

.plataforma-imagenes-mobile .imagen-principal img {
  width: auto;
  max-width: 250px; /* Ancho máximo para screenshots móviles */
  height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.plataforma-imagenes-mobile .imagenes-secundarias {
  justify-items: center;
}

.plataforma-imagenes-mobile .imagenes-secundarias img {
  width: auto;
  max-width: 120px; /* Más estrechas para móvil */
  height: 150px;
  object-fit: contain;
  background-color: #f5f5f5;
  padding: var(--spacing-sm);
}

/* Info */
.plataforma-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--spacing-md);
}

.plataforma-titulo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.plataforma-descripcion {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.plataforma-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xs);
  flex-grow: 1;
}

.plataforma-features li {
  position: relative;
  padding-left: var(--spacing-lg);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  justify-content: center;
}

.plataforma-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: var(--text-base);
}

/* Botón */
.plataforma-info .btn {
  margin-top: auto;
}

/* Responsive: Desktop lado a lado */
@media (min-width: 1024px) {
  .plataformas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
  }
}

/* Animación al scroll */
.plataforma-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.plataforma-card.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.plataforma-card:nth-child(1) {
  transition-delay: 0.1s;
}

.plataforma-card:nth-child(2) {
  transition-delay: 0.2s;
}


/* ========================================
   APP DESCRIPCIÓN CON CAROUSEL
   ======================================== */
.app-descripcion {
  background-color: var(--background);
}

.app-descripcion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.app-texto {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.caracteristicas-titulo {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--primary);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.app-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.app-features-list li {
  position: relative;
  padding-left: var(--spacing-lg);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.app-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: var(--text-lg);
}

/* Carousel de la App */
.app-carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-carousel {
  position: relative;
  max-width: 350px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: #e9ecef;
}

.app-carousel-wrapper {
  overflow: hidden;
}

.app-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.app-carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xl);
}

.app-carousel-slide img {
  max-width: 100%;
  max-height: 550px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Botones del carousel */
.app-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.app-carousel-btn:hover {
  background-color: var(--primary);
  color: white;
}

.app-carousel-btn-prev {
  left: 10px;
}

.app-carousel-btn-next {
  right: 10px;
}

/* Indicadores */
.app-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: var(--spacing-md);
}

.app-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.app-indicator.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* Desktop: lado a lado */
@media (min-width: 1024px) {
  .app-descripcion-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
/* ========================================
   CAROUSEL ADMIN ENCOMIENDA
   ======================================== */

   /* Carousel Admin - Sistema Encomiendas */
.admin-carousel-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.admin-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #f5f5f5;
}

.admin-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 550px; /* Altura fija */
}

.admin-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.admin-carousel-slide {
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.admin-carousel-slide img {
    width: 100%;
    height: 100%;
    max-height: 490px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Botones del carousel */
.admin-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16, 46, 74, 0.85);
    color: #FEF7E5;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.admin-carousel-btn:hover {
    background: rgba(16, 46, 74, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.admin-carousel-btn-prev {
    left: 20px;
}

.admin-carousel-btn-next {
    right: 20px;
}

.admin-carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Indicadores */
.admin-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    background: transparent;
}

.admin-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(16, 46, 74, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-indicator.active {
    background: #102E4A;
    width: 30px;
    border-radius: 6px;
}

.admin-indicator:hover {
    background: rgba(16, 46, 74, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .admin-carousel-container {
        max-width: 100%;
    }
    
    .admin-carousel-wrapper {
        height: 450px;
    }
    
    .admin-carousel-slide {
        padding: 20px;
    }
    
    .admin-carousel-slide img {
        max-height: 390px;
    }
    
    .admin-carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .admin-carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .admin-carousel-btn-prev {
        left: 15px;
    }
    
    .admin-carousel-btn-next {
        right: 15px;
    }
}

@media (max-width: 640px) {
    .admin-carousel-wrapper {
        height: 350px;
    }
    
    .admin-carousel-slide {
        padding: 15px;
    }
    
    .admin-carousel-slide img {
        max-height: 290px;
    }
    
    .admin-carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .admin-carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .admin-carousel-btn-prev {
        left: 10px;
    }
    
    .admin-carousel-btn-next {
        right: 10px;
    }
    
    .admin-carousel-indicators {
        gap: 8px;
        padding: 15px 0;
    }
    
    .admin-indicator {
        width: 10px;
        height: 10px;
    }
    
    .admin-indicator.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .admin-carousel-wrapper {
        height: 280px;
    }
    
    .admin-carousel-slide img {
        max-height: 220px;
    }
}

/* ========================================
   CARACTERÍSTICAS DEL SISTEMA
   ======================================== */
.sistema-caracteristicas {
  background-color: var(--background-alt);
}

.caracteristicas-intro {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  text-align: center;
  margin: var(--spacing-md) auto var(--spacing-2xl);
  max-width: 600px;
}

.caracteristicas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.caracteristica-item {
  background-color: var(--background);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.caracteristica-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-width: 6px;
}

.caracteristica-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
}

.caracteristica-titulo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
  margin: 0;
}

.caracteristica-texto {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Responsive: 2 columnas en tablet */
@media (min-width: 768px) {
  .caracteristicas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
  }
  
  .caracteristica-item {
    padding: var(--spacing-2xl);
  }
  
  .caracteristica-titulo {
    font-size: var(--text-xl);
  }
}

/* Responsive: 3 columnas en desktop */
@media (min-width: 1024px) {
  .caracteristicas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .caracteristica-icono {
    width: 70px;
    height: 70px;
  }
  
  .caracteristica-titulo {
    font-size: var(--text-xl);
  }
}

/* Animación al hacer scroll */
.caracteristica-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.caracteristica-item.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados */
.caracteristica-item:nth-child(1) { transition-delay: 0.1s; }
.caracteristica-item:nth-child(2) { transition-delay: 0.15s; }
.caracteristica-item:nth-child(3) { transition-delay: 0.2s; }
.caracteristica-item:nth-child(4) { transition-delay: 0.25s; }
.caracteristica-item:nth-child(5) { transition-delay: 0.3s; }
.caracteristica-item:nth-child(6) { transition-delay: 0.35s; }

/* ========================================
   CAROUSEL DE IMÁGENES
   ======================================== */
.sistema-galeria {
  background-color: var(--background);
  padding-top: 2%;
}

.galeria-descripcion {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: var(--spacing-md) auto var(--spacing-2xl);
  line-height: 1.7;
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  background-color: #000;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: white;
  padding: var(--spacing-lg) var(--spacing-xl);
  font-size: var(--text-lg);
  font-weight: 500;
}

/* Botones de navegación */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(16, 46, 74, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: var(--spacing-md);
}

.carousel-btn-next {
  right: var(--spacing-md);
}

/* Indicadores */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.indicator:hover {
  background-color: var(--primary-light);
  transform: scale(1.2);
}

.indicator.active {
  background-color: var(--primary);
  width: 30px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 767px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-btn-prev {
    left: var(--spacing-xs);
  }
  
  .carousel-btn-next {
    right: var(--spacing-xs);
  }
  
  .carousel-caption {
    font-size: var(--text-base);
    padding: var(--spacing-md);
  }
}

/* Sistema 360 */
.sistema-360 {
  background-color: var(--background);
}

.sistema-360-content {
  max-width: 900px;
  margin: 0 auto;
}

.sistema-360-intro {
  font-size: var(--text-xl);
  color: var(--text-primary);
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.sistema-360-texto {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.sistema-360-puntos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.punto-item {
  background-color: var(--background-alt);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

.punto-item h4 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.punto-item p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.sistema-360-usuarios {
  background-color: var(--background-alt);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  margin-top: var(--spacing-2xl);
}

.sistema-360-usuarios h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.sistema-360-usuarios ul {
  list-style: none;
  padding: 0;
}

.sistema-360-usuarios ul li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-xs);
  position: relative;
}

.sistema-360-usuarios ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: var(--text-xl);
}

/* Beneficios Sistema */
.sistema-beneficios {
  background-color: var(--background-alt);
}

.beneficios-grid-sistema {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  max-width: 1100px;
  margin: 0 auto;
}

.beneficio-sistema-card {
  background-color: var(--background);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: all var(--transition-base);
}

.beneficio-sistema-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-left-width: 6px;
}

.beneficio-sistema-titulo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.beneficio-sistema-texto {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA Sistema */
.sistema-cta {
  background: linear-gradient(135deg, #0a1f31 0%, #102E4A 50%, #1a4d7a 100%);
  color: white;
  text-align: center;
}

.cta-info {
  margin-top: var(--spacing-lg);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

/* ========================================
   RESPONSIVE - TABLET Y DESKTOP
   ======================================== */

@media (min-width: 768px) {
  .sistema-hero-title {
    font-size: var(--text-5xl);
  }
  
  .descripcion-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
  }
  
  .trabajos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .funciones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sistema-360-puntos {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .beneficios-grid-sistema {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .beneficios-grid-sistema {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   SERVICIOS 
   ======================================== */
/* ==========================================
   PÁGINA DE SERVICIOS
   ========================================== */

/* Hero Simple */
.hero-simple {
    background: linear-gradient(135deg, #102E4A 0%, #1a5080 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: #FEF7E5;
}

.hero-simple-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #FEF7E5;
}

.hero-simple-subtitle {
    font-size: 1.3rem;
    color: #FEF7E5;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de Servicios */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.servicio-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 46, 74, 0.15);
    border-color: rgba(16, 46, 74, 0.1);
}

.servicio-destacado {
    border: 2px solid #102E4A;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.servicio-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #102E4A 0%, #1a5080 100%);
    color: #FEF7E5;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 46, 74, 0.3);
}

.servicio-icono {
    margin-bottom: 1.5rem;
}

.servicio-titulo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #102E4A;
    margin-bottom: 1rem;
}

.servicio-descripcion {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.servicio-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.servicio-lista li {
    padding: 0.6rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.servicio-lista li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #102E4A;
    font-weight: bold;
}

.servicio-lista li:last-child {
    border-bottom: none;
}

/* Proceso de Trabajo */
.proceso-trabajo {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.proceso-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.proceso-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #102E4A 0%, #1a5080 100%);
}

.proceso-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.proceso-numero {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #102E4A 0%, #1a5080 100%);
    color: #FEF7E5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 46, 74, 0.3);
    z-index: 1;
}

.proceso-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.proceso-titulo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #102E4A;
    margin-bottom: 0.5rem;
}

.proceso-descripcion {
    color: #666;
    line-height: 1.6;
}

/* Tecnologías */
.tecnologias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(16, 46, 74, 0.15);
}

.tech-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #102E4A;
    margin-bottom: 1rem;
}

.tech-item p {
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-simple-title {
        font-size: 2.5rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .proceso-timeline::before {
        left: 20px;
    }
    
    .proceso-numero {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .hero-simple {
        padding: 100px 0 60px;
    }
    
    .hero-simple-title {
        font-size: 2rem;
    }
    
    .hero-simple-subtitle {
        font-size: 1.1rem;
    }
    
    .servicio-card {
        padding: 2rem;
    }
}
