/* Nuevos estilos para el logo */
.logo-container {
  display: flex;
  align-items: center;
  height: 60px; /* Ajusta según el tamaño de tu logo */
}
/* Estilos para el equipo con fotos destacadas */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  perspective: 1000px;
  height: 380px;
}

.team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-card:hover .team-card-inner {
  transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
}

/* Estilo para la parte frontal */
.team-card-front {
  display: flex;
  flex-direction: column;
  background: var(--gris-profesional);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-photo {
  height: 220px;
  overflow: hidden;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.member-info {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(30, 30, 30, 0.8), var(--gris-profesional));
}

.team-card h5 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--blanco);
}

.team-card .role {
  font-size: 0.9rem;
  color: var(--amarillo-sinergia);
  margin-bottom: 1rem;
  font-weight: 500;
}

.team-icon {
  font-size: 1.8rem;
  color: var(--blanco);
  opacity: 0.8;
}

/* Estilo para la parte trasera */
.team-card-back {
  background: linear-gradient(135deg, var(--azul-profundo), var(--gris-claro));
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.back-content {
  flex-grow: 1;
}

.team-card-back h5 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
  color: var(--blanco);
}

.team-card-back .role {
  font-size: 0.9rem;
  color: var(--amarillo-sinergia);
  margin-bottom: 1rem;
  display: block;
}

.team-card-back p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.team-skills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.team-skills li {
  background: rgba(255, 255, 255, 0.1);
  color: var(--blanco);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 209, 102, 0.3);
}

.member-contact {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: auto;
}

.member-contact a {
  color: var(--blanco);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.member-contact a:hover {
  background: var(--amarillo-sinergia);
  color: var(--gris-profesional);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .team-card {
    height: 360px;
  }
  
  .member-photo {
    height: 200px;
  }
}
.logo-img {
  height: 100%;
  width: auto;
  transition: var(--transicion);
}

header.scrolled .logo-img {
  height: 50px; /* Tamaño reducido al hacer scroll */
}

/* Ajustamos el espacio del nav para el logo */
header nav {
  margin-left: auto; /* Empuja el nav a la derecha */
}
/* Estilos adicionales para la sección de equipo */
.team-member h5 {
  font-size: 1.4rem;
  margin-top: 1rem;
  color: var(--blanco);
}

.team-member .role {
  color: var(--amarillo-sinergia);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.team-member p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
:root {
  /* Colores base mejorados */
  --azul-profundo: #0a2463;
  --azul-energetico: #3e92cc;
  --verde-vibrante: #4CB944;
  --verde-fluorescente: #2ecc71;
  --naranja-energia: #FF6B35;
  --amarillo-sinergia: #FFD166;
  --magenta-dinamico: #D8315B;
  --gris-profesional: #1e1e1e;
  --gris-claro: #3a3a3a;
  --blanco: #fff;
  --whatsapp: #25D366;
  
  /* Degradados sinérgicos */
  --degradado-hero: linear-gradient(135deg, var(--azul-profundo) 0%, var(--magenta-dinamico) 100%);
  --degradado-servicios: linear-gradient(135deg, var(--azul-energetico) 0%, var(--verde-fluorescente) 100%);
  --degradado-equipo: linear-gradient(135deg, var(--naranja-energia) 0%, var(--amarillo-sinergia) 100%);
  
  /* Efectos */
  --sombra: 0 10px 30px rgba(0, 0, 0, 0.3);
  --transicion: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --brillo: 0 0 15px rgba(255, 255, 255, 0.7);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--gris-profesional);
  color: var(--blanco);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Animación de fondo */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 30%, var(--gris-claro) 0%, var(--gris-profesional) 100%);
  z-index: -2;
  opacity: 0.7;
}

/* Partículas animadas */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

@keyframes floatAlternate {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(-100px);
    opacity: 0;
  }
}

/* Header animado */
header {
  background: rgba(30, 30, 30, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transicion);
}

header.scrolled {
  background: rgba(10, 36, 99, 0.95);
  padding: 0.5rem 2rem;
  box-shadow: 0 5px 30px rgba(62, 146, 204, 0.3);
  border-bottom: 1px solid var(--azul-energetico);
}

header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(to right, var(--amarillo-sinergia), var(--verde-fluorescente), var(--azul-energetico));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transition: var(--transicion);
}

header.scrolled h1 {
  text-shadow: 0 0 10px rgba(62, 146, 204, 0.5);
}

/* Redes sociales en header */
.social-header {
  display: flex;
  gap: 1rem;
  margin-left: 2rem;
}

.social-header a {
  color: var(--blanco);
  font-size: 1.2rem;
  transition: var(--transicion);
}

.social-header a:hover {
  color: var(--amarillo-sinergia);
  transform: translateY(-3px);
  text-shadow: 0 0 10px currentColor;
}

header nav {
  display: flex;
  gap: 2rem;
}

header nav a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: var(--transicion);
}

header nav a:hover,
header nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--blanco);
  text-shadow: 0 0 10px currentColor;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--amarillo-sinergia);
  transition: var(--transicion);
  border-radius: 3px;
}

header nav a:hover::after,
header nav a.active::after {
  width: 60%;
}

/* Botón de WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp);
  color: var(--blanco);
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Animación para el logo */
@keyframes rotateLogo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.logo-spin:hover {
  animation: rotateLogo 1s ease-out;
}

/* Hero Section con animación */
.hero {
  background: var(--degradado-hero);
  animation: gradientShift 15s ease infinite;
  background-size: 200% 200%;
  padding: 10rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--amarillo-sinergia), var(--verde-fluorescente));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.7), 
                 0 0 30px var(--verde-fluorescente);
  }
}

.hero p {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--amarillo-sinergia);
  margin: 1rem 0 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
  display: inline-block;
  background-color: var(--naranja-energia);
  color: var(--blanco);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transicion);
  box-shadow: 0 4px 15px rgba(239, 107, 53, 0.4);
  animation: pulse 2s infinite, fadeInUp 1s ease-out 0.6s both;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background-color: var(--magenta-dinamico);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(239, 107, 53, 0.6);
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.cta-button:hover::after {
  left: 100%;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Container para contenido */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
}

/* Section titles */
.section-title {
  color: var(--amarillo-sinergia);
  font-weight: 700;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--naranja-energia), var(--verde-vibrante));
  border-radius: 2px;
}

/* Quienes somos */
.quienes-somos {
  position: relative;
}

.team-image {
  width: 100%;
  max-width: 900px;
  border-radius: 15px;
  box-shadow: var(--sombra);
  margin: 0 auto 3rem;
  display: block;
  transition: var(--transicion);
  transform: perspective(1000px) rotateX(5deg);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.team-image:hover {
  transform: perspective(1000px) rotateX(0);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(255, 209, 102, 0.3);
  border-color: var(--amarillo-sinergia);
}

.quienes-somos p {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  background: rgba(30, 30, 30, 0.7);
  padding: 1.5rem 1.5rem 2rem;
  border-radius: 15px;
  box-shadow: var(--sombra);
  transition: var(--transicion);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member:hover {
  transform: translateY(-10px);
  border: 1px solid var(--amarillo-sinergia);
  box-shadow: 0 10px 30px rgba(255, 209, 102, 0.3);
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
}

.team-member:hover::before {
  left: 100%;
}

.member-image-container {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--amarillo-sinergia);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transicion);
}

.team-member:hover .member-image-container {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 209, 102, 0.4);
  border-color: var(--verde-fluorescente);
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transicion);
}

.team-member:hover .member-image {
  transform: scale(1.1);
}

.team-member h5 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.team-member .role {
  font-style: italic;
  color: var(--amarillo-sinergia);
  margin-bottom: 1rem;
  display: block;
  font-weight: 500;
  position: relative;
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.3);
}

.team-member p {
  text-align: center;
  font-size: 0.95rem;
  position: relative;
}

/* Servicios grid */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.servicio-card {
  background: var(--degradado-servicios);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--sombra);
  text-align: center;
  color: var(--blanco);
  transition: var(--transicion);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 75% 30%,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  z-index: 0;
}

.servicio-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 40px rgba(62, 146, 204, 0.5),
              0 0 30px rgba(76, 185, 68, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Asignar colores únicos a cada servicio */
.servicio-card:nth-child(1) {
  --card-color: var(--verde-vibrante);
}
.servicio-card:nth-child(2) {
  --card-color: var(--azul-energetico);
}
.servicio-card:nth-child(3) {
  --card-color: var(--naranja-energia);
}
.servicio-card:nth-child(4) {
  --card-color: var(--magenta-dinamico);
}

/* Iconos animados */
.icono {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--card-color);
  display: inline-block;
  animation: bounce 2.5s infinite;
  filter: drop-shadow(0 0 5px currentColor);
}

.servicio-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.servicio-card p {
  font-size: 1rem;
}

/* Animacion bounce */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Contacto */
.contacto-container {
  background: linear-gradient(135deg, var(--gris-claro), var(--gris-profesional));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sombra);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contacto-info {
  padding: 3rem;
  background: linear-gradient(135deg, var(--azul-profundo), var(--azul-energetico));
  color: var(--blanco);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contacto-info h4 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.contacto-info h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--amarillo-sinergia);
  border-radius: 3px;
}

.contacto-details {
  margin-bottom: 2rem;
}

.contacto-details p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contacto-details i {
  color: var(--amarillo-sinergia);
  width: 20px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--blanco);
  transition: var(--transicion);
}

.social-links a:hover {
  background: var(--amarillo-sinergia);
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 209, 102, 0.5);
}

form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

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

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--amarillo-sinergia);
}

form input,
form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--blanco);
  font-family: 'Poppins', sans-serif;
  transition: var(--transicion);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--amarillo-sinergia);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.2);
}

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

form button {
  background-color: var(--naranja-energia);
  color: var(--blanco);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transicion);
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(239, 107, 53, 0.4);
  position: relative;
  overflow: hidden;
}

form button:hover {
  background-color: var(--magenta-dinamico);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(239, 107, 53, 0.6);
}

form button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

form button:hover::after {
  left: 100%;
}

/* Conexiones de sinergia */
.sinergy-connections {
  position: relative;
  height: 200px;
  width: 100%;
  margin: 5rem 0;
  overflow: hidden;
}

.connection-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: connectDots 2s ease-out forwards;
  animation-delay: calc(var(--order) * 0.3s);
  opacity: 0.7;
}

.connection-line:hover {
  stroke-width: 3px;
  opacity: 1;
  animation: pulseGlow 1.5s infinite;
}

@keyframes connectDots {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0% {
    stroke-width: 3px;
    opacity: 0.7;
  }
  50% {
    stroke-width: 5px;
    opacity: 1;
    filter: drop-shadow(0 0 5px currentColor);
  }
  100% {
    stroke-width: 3px;
    opacity: 0.7;
  }
}

/* Footer */
footer {
  background: linear-gradient(to right, var(--gris-profesional), var(--gris-claro));
  color: #ccc;
  padding: 3rem 1rem;
  font-size: 0.9rem;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-column h5 {
  color: var(--blanco);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--amarillo-sinergia);
}

.footer-column p {
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transicion);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--amarillo-sinergia);
  transform: translateX(5px);
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.3);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive design */
@media (max-width: 992px) {
  .contacto-container {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 2.8rem;
  }
  
  .hero p {
    font-size: 1.3rem;
  }

  .social-header {
    margin-left: 1rem;
    gap: 0.8rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
  }
  
  header nav {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .social-header {
    display: none;
  }
  
  .hero {
    padding: 8rem 1rem 4rem;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .container {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .team-grid,
  .servicios-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .cta-button {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }

  .member-image-container {
    width: 120px;
    height: 120px;
  }
}
/* Sobrescribir estilos para centrar títulos */
.section-title {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: 0 !important;
    transform: none !important;
    position: relative !important;
}

/* Asegurar que el contenedor no afecte el centrado */
.container {
    text-align: center !important;
}

/* Eliminar transformaciones que puedan mover el título */
.reveal.active {
    transform: none !important;
}