/* ============================================
   SOBRE NOSOTROS - SOLVEX GROUP
   Estilos específicos de la página sobre nosotros
   ============================================ */

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-blue);
  background: none;
  border: none;
  padding: 0.5rem;
  transition: var(--transition);
}

.hamburger:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

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

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(135deg, var(--bg-light) 0%, #f0f7ff 100%);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 119, 182, 0.2), transparent);
}

.section-alt::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 119, 182, 0.2), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--primary-blue));
  border-radius: 2px;
}


.lead {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: linear-gradient(45deg, rgba(0, 119, 182, 0.03) 0%, rgba(0, 200, 150, 0.05) 100%);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;         /* Posicionado en la parte inferior */
  left: 0;
  right: 0;
  height: 1px;       /* Línea fina de 1px */
  background: linear-gradient(90deg, transparent, rgba(0, 119, 182, 0.2), transparent);
  z-index: 3;        /* Para que esté por encima del contenido */
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* GRIDS */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--white) 0%, #f8fffe 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 51, 102, 0.06);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(0, 200, 150, 0.08);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 51, 102, 0.12);
  border-color: rgba(0, 200, 150, 0.2);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--white);
  font-size: 2rem;
}

.value-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.value-description {
  color: var(--text-dark);
  line-height: 1.6;
}

.vision-grid {
   display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.vision-card {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--white) 0%, #f8fffe 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 51, 102, 0.06);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(0, 200, 150, 0.08);
}

.vision-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 51, 102, 0.12);
  border-color: rgba(0, 200, 150, 0.2);
}

.vision-icon {
    width: 100px;
  height: 100px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--white);
  font-size: 2.5rem;
  box-shadow: var(--shadow-medium);
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.vision-title {
 font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-solvex);
  margin-bottom: 1rem;
}

.vision-description {
  color: var(--secondary-solvex) !important;
  line-height: 1.6;
  font-size: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, var(--white) 0%, #fafbff 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--primary-blue));
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number.counting {
  color: var(--accent-green);
  transition: color 0.3s ease;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-green), #00a076);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 200, 150, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #00a076, var(--accent-green));
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 200, 150, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  .footer-container {
    flex-direction: column;
    gap: 2.5rem;
  }

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

  .values-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .hero { 
    padding: 5rem 1rem; 
  }

  h1 { 
    font-size: 2rem; 
    margin-bottom: .8rem; 
  }

  h2 { 
    font-size: 1.4rem; 
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

html {
  scroll-behavior: smooth;
}

/* BANNER DE COOKIES */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  max-width: 360px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 9999;
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  border-radius: 8px;
}

#cookie-banner button {
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

#accept-cookies {
  background: var(--primary-blue);
  color: white;
  border: none;
}

#reject-cookies {
  background: #f1f1f1;
  border: 1px solid #ccc;
  margin-left: 10px;
}

#cookie-settings-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-dark);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: none;
}

/* ICON STYLES */
.fas {
  display: inline-block;
  vertical-align: middle;
}

.footer-contact i {
  width: 20px;
  color: var(--white);
  margin-right: 8px;
}