/* Reset y estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: Sans_Pro;
  src: url("../fonts/SourceSansPro-Regular.otf");
}

@font-face {
  font-family: Sans_Pro_Light;
  src: url("../fonts/SourceSansPro-Light.otf");
}

body {
  background-color: #fff;
  color: #000;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #4685f4;
  transition: all 0.3s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.container.header-content img {
  width: 200px;
}

/* Header mejorado */
header {
  background-image: linear-gradient(to right, #fff 80%, #f8f9fa 20%);
  color: #000;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-bottom: 2px solid #0061a1;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 28px;
  position: relative;
}

nav ul li a {
  color: #000;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 2px;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #4685f4;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #4685f4;
}

/* Hero Section */
.hero {
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero::before {
  display: none;
}

.hero .color-overlay {
  min-height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
  margin-bottom: 10px;
  position: relative;
  z-index: 3;
}

.hero-images {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-images-stack {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* Más separación entre imágenes */
}

.hero-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image-large {
  width: 100%;
  max-width: 480px;
  /* Más grande que antes */
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-large:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 97, 161, 0.2);
}

/* Texto alineado a la izquierda */
.hero-text-aligned {
  flex: 0.9;
  text-align: right;
}

/* Título más grande con inclinación hacia la derecha */
.hero-title-directional {
  font-size: 3.2rem;
  /* Más grande */
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 600;
  color: #fff;
  transform: skewX(-5deg);
  /* Inclinación sutil hacia la derecha */
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

/* Efecto de "dirección" adicional - línea decorativa diagonal */
.hero-title-directional::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4685f4, transparent);
  margin-top: 15px;
  transform: skewX(-5deg);
}

/* Párrafo más grande y alineado a la izquierda */
.hero-description-directional {
  font-size: 1.3rem;
  /* Más grande */
  line-height: 1.6;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.95);
  text-align: right;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  /* Elige una de estas tres opciones: */
  border-radius: 0px;
  /* Opción A: completamente cuadrado */
  /* border-radius: 4px; */
  /* Opción B: ligeramente redondeado (recomendado) */
  /* border-radius: 3px; */
  /* Opción C: como tenías originalmente */
}

/* Botón primario - Contáctanos */
.btn-primary {
  background-color: #4685f4;
  color: white;
  border: 2px solid #0061a1;
  box-shadow: 0 0 12px rgba(70, 133, 244, 0.5);
  /* Glow azul */
}

.btn-primary:hover {
  background-color: #0061a1;
  border-color: #0186ca;
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(70, 133, 244, 0.7);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Botón secundario - Conoce más (outline) */
.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateY(-3px);
  border-color: white;
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Services Section */
.services-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.parallax-bg>.container {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.4rem;
  color: #323232;
  position: relative;
  font-weight: 500;
}

.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 5px;
  background-color: #0061a1;
  margin: 18px auto;
  border-radius: 3px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-item {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #f0f0f0;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: #0061a1;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.service-content h3 {
  color: #323232;
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.service-content p,
.service-content p * {
  font-family: 'Sans_Pro_Light';
}

.service-content p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.services-cta {
  text-align: center;
  margin-top: 40px;
  padding: 25px;
  background-color: rgba(70, 133, 244, 0.08);
  border-radius: 12px;
}

.cta-text {
  font-size: 1.2rem;
  margin: 0;
  color: #000;
  font-weight: 500;
}

.cta-text a {
  color: #4685f4;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cta-text a:hover {
  color: #000;
}

/* Sección de dashboards más potentes */
.features-section,
.features-section * {
  font-family: 'Sans_Pro_Light', sans-serif !important;
}

.features-section {
  padding: 80px 0;
  background-color: #f7f8fa;
}

.features-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-text {
  flex: 1;
}

.features-title,
.features-title * {
  font-family: 'Raleway', sans-serif !important;
}

.features-title {
  margin-bottom: 15px;
  color: #323232;
  font-size: 2.188rem;
  line-height: 3.125rem;
  font-weight: 500;
}

.title-underline {
  width: 60px;
  height: 3px;
  background-color: #4685f4;
  margin-bottom: 20px;
}

.features-intro {
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #727272;
  line-height: 1.6;
}

.feature-item {
  display: flex;
  margin-bottom: 40px;
}

.feature-icon {
  margin-right: 15px;
  font-size: 2rem;
  min-width: 50px;
  display: flex;
  justify-content: center;
}

.features-section .service-icon,
.features-section .service-icon * {
  font-family: "Font Awesome 6 Free" !important;
}

.features-section .service-icon {
  background: #0061A1;
  border-radius: 3px;
  width: 32px;
  height: 32px;
  margin-top: 8px;
}

.features-section .service-icon i {
  font-size: 1.2rem;
}

.feature-content {
  flex: 1;
}

.feature-subtitle,
.feature-subtitle * {
  font-family: 'Raleway', sans-serif !important;
}

.feature-subtitle {
  margin-bottom: 12px;
  color: #333;
  font-size: 16px;
  line-height: 25px;
  font-weight: 700;
}

.feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

.features-image {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.features-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Blog Section con Carrusel */
.blog-section {
  padding: 90px 0;
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 15px;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  flex: 0 0 calc(33.333% - 30px);
  margin: 0 15px;
  min-width: 300px;
  box-sizing: border-box;
}

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

.post-image {
  height: 200px;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.post-card:hover .post-image {
  transform: scale(1.05);
}

.post-content {
  padding: 25px;
}

.post-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #000;
  font-weight: 600;
  line-height: 1.4;
}

.post-excerpt {
  color: #666;
  margin-bottom: 18px;
  line-height: 1.6;
}

.read-more {
  font-weight: 600;
  font-size: 0.95rem;
  color: #4685f4;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(4px);
}

/* Controles del carrusel */
.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.carousel-control {
  background-color: #4685f4;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 20px;
}

.carousel-control:hover {
  background-color: #000;
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #4685f4;
}

/* Modal para imágenes mejorado */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.modal-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  max-width: 90%;
  max-height: 90%;
}

.modal-content {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: modalZoom 0.3s ease;
  object-fit: contain;
}

@keyframes modalZoom {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-caption {
  color: #fff;
  text-align: center;
  margin-top: 20px;
  font-size: 1.2rem;
  max-width: 80%;
}

.close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2001;
}

.close:hover {
  color: #4685f4;
}

/* Efecto de hover en las imágenes del carrusel */
.post-image {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.post-image:hover {
  transform: scale(1.03);
}

/* Video Gallery Section */
.video-gallery-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.video-gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0061a1, transparent);
}

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

.video-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 97, 161, 0.1);
}

.video-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 40px rgba(0, 97, 161, 0.2);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.77%;
  /* Proporción 9:16 para videos verticales */
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  /* Ocultar cualquier control nativo que pueda aparecer */
  pointer-events: none;
  /* Esto hace que el video no reciba eventos de clic */
}

/* Importante: Permitir que el wrapper reciba los eventos */
.video-wrapper {
  pointer-events: auto;
}

.video-card:hover .video-player {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: all 0.3s ease;
  pointer-events: none;
  /* El overlay no bloquea los clics */
}

.video-play-btn {
  width: 70px;
  height: 70px;
  background: #0061a1;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 97, 161, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.8);
  pointer-events: auto;
  /* El botón sí recibe clics */
  position: relative;
  z-index: 15;
}

.video-play-btn i {
  margin-left: 5px;
}

.video-play-btn:hover {
  transform: scale(1.2);
  background: #0186ca;
  box-shadow: 0 10px 25px rgba(1, 134, 202, 0.6);
}

.video-card.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-info {
  padding: 25px 20px;
  text-align: center;
}

.video-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #0061a1;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.video-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #0061a1;
  border-radius: 2px;
}

.video-description {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-top: 15px;
}

/* Modal para video expandido */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.video-modal.show {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 400px;
  background: transparent;
}

.video-modal-content video {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.close-video-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  z-index: 10000;
}

.close-video-modal:hover {
  color: #0061a1;
  background: rgba(255, 255, 255, 0.3);
}

/* Botón de pantalla completa */
.view-fullscreen-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: auto;
}

.video-card:hover .view-fullscreen-btn {
  opacity: 1;
  transform: scale(1);
}

.view-fullscreen-btn:hover {
  background: #0061a1;
  border-color: white;
  transform: scale(1.1);
}

/* Cuando el video está reproduciendo */
.video-card.playing .view-fullscreen-btn {
  opacity: 0.8;
  background: rgba(0, 97, 161, 0.9);
  pointer-events: auto;
}

.video-card.playing .view-fullscreen-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Eliminar cualquier estilo de controles nativos */
video::-webkit-media-controls {
  display: none !important;
}

video::-webkit-media-controls-enclosure {
  display: none !important;
}

video::-webkit-media-controls-panel {
  display: none !important;
}

video::-webkit-media-controls-play-button {
  display: none !important;
}

video::-webkit-media-controls-timeline {
  display: none !important;
}

video::-webkit-media-controls-current-time-display {
  display: none !important;
}

video::-webkit-media-controls-time-remaining-display {
  display: none !important;
}

video::-webkit-media-controls-mute-button {
  display: none !important;
}

video::-webkit-media-controls-volume-slider {
  display: none !important;
}

video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

/* Para Firefox */
video::-moz-range-track {
  display: none;
}

video::-moz-range-thumb {
  display: none;
}

/* Para IE/Edge */
video::-ms-track {
  display: none;
}

video::-ms-fill-lower {
  display: none;
}

video::-ms-fill-upper {
  display: none;
}

video::-ms-tooltip {
  display: none;
}

/* Estilos del WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(20px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  animation: none;
}

.whatsapp-float.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.whatsapp-float i {
  color: white;
  font-size: 38px;
  transition: all 0.3s ease;
}

/* Efecto pulse mejorado */
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #25d366;
  border-radius: 50%;
  z-index: -1;
  animation: pulse 2s ease-out infinite;
}

/* Segundo anillo de pulse (opcional para más efecto) */
.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(37, 211, 102, 0.4);
  border-radius: 50%;
  z-index: -2;
  animation: pulse2 2s ease-out infinite;
  animation-delay: 0.5s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.4);
    opacity: 0;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes pulse2 {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  70% {
    transform: scale(1.6);
    opacity: 0;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Efecto hover */
.whatsapp-float:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover i {
  transform: rotate(5deg);
}

/* Versión para móviles */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .video-gallery-section {
    padding: 60px 0;
  }

  .video-play-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .video-title {
    font-size: 1.2rem;
  }

  .whatsapp-float i {
    font-size: 32px;
  }
}

/* Footer */
footer {
  background-color: #000;
  color: white;
  padding: 60px 0 25px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
  margin-bottom: 35px;
}

.footer-section h3 {
  font-size: 1.35rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
  color: #fff;
  font-weight: 600;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #4685f4;
  border-radius: 2px;
}

.footer-about p {
  margin-bottom: 22px;
  color: #ccc;
  line-height: 1.7;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #ccc;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.footer-links ul li a i {
  margin-right: 8px;
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: #4685f4;
  transform: translateX(5px);
}

.footer-contact a {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: #ccc;
}

.footer-contact i {
  margin-right: 12px;
  color: #4685f4;
  width: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
  font-size: 0.95rem;
}

/* ===== CARRUSEL DE LOGOS ===== */
.logos-carousel-section {
  padding: 60px 0 40px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(0, 97, 161, 0.08);
}

.logos-header {
  text-align: center;
  margin-bottom: 35px;
}

.logos-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: #323232;
  font-family: 'Raleway', sans-serif;
}

.logos-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #0061a1;
  margin: 12px auto 0;
  border-radius: 2px;
}

.logos-subtitle {
  color: #666;
  font-size: 1rem;
  margin-top: 10px;
  font-family: 'Sans_Pro_Light', sans-serif;
}

.logos-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.logos-track {
  display: flex;
  gap: 50px;
  animation: scrollLogos 30s linear infinite;
  width: max-content;
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  transition: all 0.4s ease;
  cursor: default;
}

.logo-item img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.logo-item:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.logo-item:hover img {
  transform: scale(1.08);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pausa al hacer hover */
.logos-carousel-wrapper:hover .logos-track {
  animation-play-state: paused;
}


/* Responsive */
@media (max-width: 1200px) {
  .pricing-plans-horizontal {
    gap: 20px;
  }

  .pricing-plans-horizontal .plan-card {
    min-width: 250px;
  }
}

@media (max-width: 992px) {
  .footer-contact a {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

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

  .hero-images-stack {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-image-large {
    max-width: 280px;
  }

  .hero-title-directional {
    font-size: 2.5rem;
    transform: skewX(-3deg);
    text-align: center;
  }

  .hero-title-directional::after {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-description-directional {
    font-size: 1.1rem;
    text-align: center;
    max-width: 100%;
  }

  .btn-container-left {
    justify-content: center;
    display: flex;
  }

  nav ul li {
    margin-left: 20px;
  }

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

  .video-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  header {
    background: #fff;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    margin-bottom: 10px;
  }

  nav ul {
    margin-top: 15px;
    justify-content: center;
    flex-wrap: nowrap;
  }

  nav ul li {
    margin: 5px 12px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-images {
    display: flex;
    justify-content: center;
  }

  .hero-image-stack {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero-img-top,
  .hero-img-bottom {
    max-width: 45%;
  }

  .hero-image-large {
    max-width: 220px;
  }

  .hero-title-directional {
    font-size: 2rem;
    transform: none;
    /* Quitar inclinación en móvil para legibilidad */
  }

  .hero-description-directional {
    font-size: 1rem;
  }

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

  .service-item {
    padding: 25px 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

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

  .features-image {
    order: -1;
  }

  .feature-item {
    margin-bottom: 30px;
    text-align: center;
    display: block;
  }

  .feature-icon {
    justify-content: center;
  }

  .pricing-plans-horizontal {
    flex-direction: column;
    align-items: center;
  }

  .pricing-plans-horizontal .plan-card {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .carousel-container {
    padding: 0 10px;
  }

  .post-card {
    flex: 0 0 calc(100% - 20px);
    min-width: 250px;
  }

  .post-image {
    height: 160px;
  }

  .blog-section {
    padding: 50px 0;
  }

  .contact-form {
    padding: 25px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .modal-content {
    max-width: 95%;
  }

  .close {
    top: 15px;
    right: 20px;
    font-size: 35px;
  }

  .footer-contact a {
    justify-content: center;
  }

  /*Carrusel*/

  .logos-carousel-section {
    padding: 40px 0 25px;
  }

  .logos-title {
    font-size: 1.4rem;
  }

  .logos-track {
    gap: 30px;
  }

  .logo-item {
    height: 50px;
  }

  .logo-item img {
    max-height: 40px;
    max-width: 100px;
  }

  @keyframes scrollLogos {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }
}

@media (max-width: 480px) {
  .video-modal-content {
    width: 95%;
  }

  /*Carrusel*/
  .logos-track {
    gap: 20px;
  }

  .logo-item img {
    max-height: 32px;
    max-width: 80px;
  }
}