/* =========================
   style.css - Estilo Minimalista Globavi
   Versión: 4.5 - Menú IDÉNTICO al de proyectos.html
   + Hero con Video de Fondo
   ========================= */

/* Importar fuente Poppins de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset y variables - ACTUALIZADO CON VARIABLES DE PROYECTOS */
:root {
  --primary: #434c88;
  --primary-light: rgba(67, 76, 136, 0.1);
  --primary-dark: #363d6c;
  --primary-lighter: #6c8cff;
  --primary-lightest: rgba(67, 76, 136, 0.05);
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #888888;
  --bg-light: #ffffff;
  --bg-gray: #f8f9fa;
  --bg-dark: #1a1a1a;
  --border: #eaeaea;
  --transition: 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 5px 15px rgba(67, 76, 136, 0.2);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-gray);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================
   HEADER/MENÚ - ACTUALIZADO PARA SER IDÉNTICO A PROYECTOS.HTML
   ========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 1000;
  transition: all var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 70px;
}

/* Logo - ACTUALIZADO CON EFECTOS DE PROYECTOS */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 50px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 12px rgba(67, 76, 136, 0.15));
}

.site-logo img:hover {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 8px 25px rgba(67, 76, 136, 0.3));
}

/* Quitamos el texto del logo para mantener consistencia con proyectos.html */
.logo-text {
  display: none;
}

/* NAVEGACIÓN PRINCIPAL - IDÉNTICA A PROYECTOS.HTML */
.nav-main {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
  font-family: 'Poppins', sans-serif;
}

/* LÍNEA ANIMADA QUE CRUZA DEBAJO DEL BOTÓN - IGUAL QUE PROYECTOS */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lighter));
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  transform: translateY(-1px);
}

/* BOTÓN DE LLAMADA/CTA - ESTILO IDÉNTICO A PROYECTOS */
.cta-button {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  /*display: inline-flex;*/
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  border: 2px solid var(--primary);
  font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* BOTÓN MENÚ MÓVIL - ACTUALIZADO */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transition: all var(--transition);
  border-radius: 3px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================
   Hero Section - Estilo Globavi (MANTENIDO)
   ========================= */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, 
    rgba(67, 76, 136, 0.05) 0%,
    rgba(67, 76, 136, 0.02) 100%);
  padding: 8rem 0 6rem;
  overflow: hidden;
  width: 100%;
  margin-top: 70px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 0 2rem;
}

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

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

.hero-title strong {
  font-weight: 700;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 90%;
  font-family: 'Poppins', sans-serif;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* =========================
   HERO CON VIDEO - TEXTO CENTRADO Y ANCHO COMPLETO
   ========================= */


.video-hero {
  position: relative;
  display: flex;
  align-items: center;           /* Centrado vertical */
  min-height: 100vh;              /* Ocupa toda la pantalla */
  background-color: #1a1a1a;      /* fallback */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Overlay oscuro */
  z-index: 2;
}

.video-hero .hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;              /* Ancho máximo grande para que el texto se extienda */
  margin: 0 auto;
  padding: 0 2rem;                 /* Padding lateral para no pegar a los bordes */
  display: flex;
  flex-direction: column;
  align-items: center;             /* Centra el contenido horizontalmente */
  justify-content: center;
  text-align:center;              /* Texto centrado */
}

.video-hero .hero-content {
  width: 100%;
  max-width: 1100px;               /* Ancho del bloque de texto (amplio) */
  margin: 0 auto;
}

.video-hero .hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
  text-transform: uppercase;        /* Mayúsculas como en el boceto */
  letter-spacing: 2px;
}

.video-hero .hero-title strong {
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.video-hero .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  text-align: center;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.video-hero .hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;          /* Botones centrados */
  flex-wrap: wrap;
}

/* Estilos de botones (se mantienen) */
.video-hero .btn-primary {
  background: #fff;
  color: #333;
  border: none;
  padding: 1rem 2rem;
  justify-content: center;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.video-hero .btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.video-hero .btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.video-hero .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .video-hero .hero-title {
    font-size: 2.5rem;
  }
  .video-hero .hero-subtitle {
    font-size: 1rem;
    text-align: center;
  }
  .video-hero .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .video-hero .btn-primary,
  .video-hero .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .video-hero .hero-title {
    font-size: 2rem;
  }
}
/* =========================
   Secciones Comunes - MODIFICADO PARA MEJOR CENTRADO
   ========================= */
.section {
  padding: 6rem 0;
  width: 100%;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

.section-title strong {
  font-weight: 700;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 3px;
  font-family: 'Poppins', sans-serif;
}

/* =========================
   Sección: What We Do - GRID DE 3 COLUMNAS MEJORADO
   ========================= */
.services-section {
  background: var(--bg-light);
  width: 100%;
}

.services-section .section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas fijas */
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2.5rem 1.5rem; /* Ajustado padding interno */
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 320px; /* Altura mínima consistente */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.4rem; /* Tamaño ligeramente reducido */
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
  word-wrap: break-word;
  line-height: 1.3;
  font-family: 'Poppins', sans-serif;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
  word-wrap: break-word;
  flex-grow: 1; /* Hace que el párrafo ocupe el espacio disponible */
  font-family: 'Poppins', sans-serif;
}

/* =========================
   Sección: Focus on What Matters
   ========================= */
.focus-section {
  background: linear-gradient(135deg, 
    rgba(67, 76, 136, 0.03) 0%,
    rgba(107, 170, 249, 0.03) 100%);
  width: 100%;
}

.focus-section .section-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

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

.focus-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
  font-family: 'Poppins', sans-serif;
}

/* =========================
   Sección: Our Commitment - MEJOR CENTRADO
   ========================= */
.commitment-section {
  background: var(--bg-light);
  width: 100%;
}

.commitment-section .section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas también */
  gap: 2.5rem;
  margin-top: 3rem;
}

.commitment-item {
  text-align: center;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.commitment-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: var(--text);
  word-wrap: break-word;
  line-height: 1.3;
  font-family: 'Poppins', sans-serif;
}

.commitment-item p {
  color: var(--text-light);
  line-height: 1.6;
  word-wrap: break-word;
  flex-grow: 1;
  font-family: 'Poppins', sans-serif;
}

/* =========================
   Sección: Why Choose Us - MEJOR CENTRADO
   ========================= */
.why-section {
  background: linear-gradient(135deg, 
    rgba(67, 76, 136, 0.05) 0%,
    rgba(67, 76, 136, 0.02) 100%);
  width: 100%;
}

.why-section .section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas también */
  gap: 2.5rem;
  margin-top: 3rem;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: var(--transition);
  min-height: 320px;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary);
  text-align: center;
}

.benefit-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text);
  word-wrap: break-word;
  line-height: 1.3;
  font-family: 'Poppins', sans-serif;
}

.benefit-content p {
  color: var(--text-light);
  line-height: 1.6;
  text-align: center;
  word-wrap: break-word;
  flex-grow: 1;
  font-family: 'Poppins', sans-serif;
}

/* =========================
   Carrusel de Logos Infinito - MODIFICADO: COLOR ORIGINAL SIEMPRE
   ========================= */
.clients-section {
  width: 100%;
}

.clients-section .section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Contenedor del carrusel - MODIFICADO */
.clients-carousel-fullwidth {
  position: relative;
  width: 100%;
  padding: 3rem 0;
  margin: 2rem 0;
  overflow: hidden;
  background: linear-gradient(90deg, 
    rgba(255,255,255,1) 0%, 
    rgba(255,255,255,0) 10%,
    rgba(255,255,255,0) 90%,
    rgba(255,255,255,1) 100%);
}

.clients-carousel-track {
  display: flex;
  align-items: center;
  animation: scroll-horizontal 40s linear infinite;
  width: max-content;
  gap: 3rem;
}

.clients-carousel-track:hover {
  animation-play-state: paused;
}

.client-logo {
  flex: 0 0 auto;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.client-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

/* MODIFICACIÓN PRINCIPAL: Quitar filter grayscale y opacity */
.client-logo img {
  max-width: 100%;
  max-height: 60px;
  /* ELIMINADO: filter: grayscale(100%); */
  /* ELIMINADO: opacity: 0.8; */
  filter: none; /* Asegura que no haya filtros */
  opacity: 1; /* Logos completamente visibles */
  transition: all 0.3s ease;
}

.client-logo:hover img {
  /* Eliminado el cambio de grayscale y opacity */
  /* SOLO mantenemos el scale para el efecto hover */
  transform: scale(1.1);
  /* Opcional: agregar un pequeño brillo en hover */
  filter: brightness(1.1);
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-180px * 11 - 3rem * 11));
  }
}

/* =========================
   Sección: Contact - MEJOR CENTRADO
   ========================= */
.contact-section {
  background: linear-gradient(135deg, 
    rgba(67, 76, 136, 0.08) 0%,
    rgba(67, 76, 136, 0.03) 100%);
  width: 100%;
}

.contact-section .section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas fijas */
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.contact-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
}

.contact-item p {
  color: var(--text-light);
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition);
  background: white;
  font-family: 'Poppins', sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 76, 136, 0.1);
}

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

/* =========================
   Sección: CTA Final - MEJOR CENTRADO
   ========================= */
.cta-section {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 5rem 0;
  width: 100%;
}

.cta-section .section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-section .section-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-family: 'Poppins', sans-serif;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
}

.cta-buttons .btn-primary:hover {
  background: var(--bg-gray);
}

.cta-buttons .btn-secondary {
  color: white;
  border-color: white;
  font-family: 'Poppins', sans-serif;
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* =========================
   Footer Cards - MEJOR CENTRADO
   ========================= */
.site-footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 0;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas fijas */
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.footer-card:hover {
  background: #f8f9fa;
  border-color: #bdbdbd;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #eee;
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
}

.footer-card-title i {
  color: var(--primary);
}

/* Card para redes sociales */
.social-card p,
.social-card .social-description,
.social-card .social-text {
  color: #666 !important;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
}

.social-card .social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-card .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
  flex-shrink: 0;
}

.social-card .social-icon:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(67, 76, 136, 0.4);
}

/* Card para enlaces */
.links-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.links-card a {
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
}

.links-card a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.links-card a i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* Card para contacto */
.contact-card .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-card .contact-item i {
  color: var(--primary);
  margin-top: 0.25rem;
  font-size: 1rem;
}

.contact-card .contact-info h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #333;
  font-size: 0.9rem;
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
}

.contact-card .contact-info p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
}

/* Card para descripción */
.about-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
}

.about-card .footer-logo {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.about-card .footer-logo img {
  height: 45px;
  width: auto;
  margin-bottom: 0.8rem;
  filter: none;
}

/* Footer bottom */
.footer-bottom-modern {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer-bottom-modern p {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
}

.footer-brand {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.footer-brand:hover {
  color: var(--primary);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  word-wrap: break-word;
  font-family: 'Poppins', sans-serif;
}

.footer-legal a:hover {
  color: white;
}

/* =========================
   RESPONSIVE DESIGN - ACTUALIZADO CON MENÚ MÓVIL DE PROYECTOS
   ========================= */
@media (max-width: 1200px) {
  /* Header */
  .header-container {
    padding: 0 1.5rem;
  }
  
  /* Hero ajuste */
  .hero-container {
    gap: 3rem;
  }
  
  /* Footer Cards: 4 columnas en pantallas grandes, 2 en tablet grande */
  .footer-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Grid de 3 columnas en pantallas medianas */
  .services-grid,
  .commitment-grid,
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .service-card,
  .commitment-item,
  .benefit-card {
    min-height: 300px;
    padding: 2rem 1.25rem;
  }
  
  .contact-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  /* Grid de 2 columnas en tablets grandes */
  .services-grid,
  .commitment-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .service-card,
  .commitment-item,
  .benefit-card {
    min-height: 280px;
    padding: 1.75rem 1.25rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info,
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Header - ACTUALIZADO PARA SER IDÉNTICO A PROYECTOS */
  .header-container {
    padding: 0 1rem;
  }
  
  .nav-main {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 999;
  }
  
  .nav-main.active {
    display: flex;
  }
  
  .nav-main a {
    padding: 1rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-family: 'Poppins', sans-serif;
  }
  
  .nav-main a:last-child {
    border-bottom: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  /* Hero */
  .hero-section {
    padding: 6rem 0 4rem;
    min-height: 60vh;
    margin-top: 60px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding: 0 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    max-width: 100%;
    font-size: 1.125rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  /* Sections */
  .section {
    padding: 4rem 0;
  }
  
  .section-content {
    padding: 0 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  /* Grid de 1 columna en móvil */
  .services-grid,
  .commitment-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .service-card,
  .commitment-item,
  .benefit-card {
    min-height: auto;
    padding: 2rem 1.5rem;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Carrusel Responsive */
  .clients-carousel-fullwidth {
    padding: 2rem 0;
    background: linear-gradient(90deg, 
      rgba(255,255,255,1) 0%, 
      rgba(255,255,255,0) 5%,
      rgba(255,255,255,0) 95%,
      rgba(255,255,255,1) 100%);
  }
  
  .client-logo {
    width: 150px;
    height: 85px;
    padding: 1rem;
  }
  
  @keyframes scroll-horizontal {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 11 - 3rem * 11));
    }
  }
  
  /* CTA */
  .cta-section {
    padding: 4rem 0;
  }
  
  .cta-section .section-title {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }
  
  /* Footer Cards: 1 columna en móvil */
  .footer-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-card {
    padding: 1.5rem;
  }
  
  .site-footer {
    padding: 3rem 0 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }
  
  /* Carrusel para móviles pequeños */
  .client-logo {
    width: 130px;
    height: 75px;
    padding: 0.75rem;
  }
  
  .clients-carousel-track {
    gap: 2rem;
  }
  
  @keyframes scroll-horizontal {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-130px * 11 - 2rem * 11));
    }
  }
  
  /* Ajustes para móviles muy pequeños */
  .service-card,
  .commitment-item,
  .benefit-card {
    padding: 1.5rem 1rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
}

/* =========================
   Animaciones
   ========================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* =========================
   Utilidades
   ========================= */
.text-center {
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.hidden {
  display: none;
}

/* Asegurar compatibilidad con JS existente */
[data-animate] {
  opacity: 0;
}

[data-animate].animate-in {
  opacity: 1;
  animation: fadeIn 0.8s ease-out;
}

.video-hero .hero-title.hide,
.video-hero .hero-subtitle.hide {
  opacity: 0;
  transition: opacity 1s ease;
}