/* ========== TYPOGRAPHY BASE ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.6;
}

/* Enlaces, listas y pequeños ajustes */
a { text-decoration: none; color: var(--text-dark); }
a:hover { color: var(--yellow); }
ul, ol { margin: 0 0 1rem 1.5rem; }




.sobre-nosotros-intro {
  position: relative;
  margin-top: var(--header-height, 4rem);
  background: var(--white);
  padding: 6rem 1.5rem;
  text-align: center;
  z-index: 1;
}

/* Intro decorative bar */
.sobre-nosotros-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.375rem;
  background: linear-gradient(90deg, var(--yellow), var(--red));
}

.intro-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.subtitle {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}


.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.history-hero {
  position: relative;
  background: var(--white);
  padding: 8rem 1rem;
  text-align: center;
  overflow: hidden;
}
.history-hero::before {
  content: "";
  position: absolute;
  inset: 0;
 background: linear-gradient(135deg, var(--yellow) 0%, var(--red) 100%);
  z-index: 0;
}
.history-hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.history-hero-container h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white); 
}
.history-hero-container p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--overlay-light); /* párrafo claro sobre overlay */
}
@media (max-width: 768px) {
  .history-hero {
    padding: 6rem 1rem;
  }
  .history-hero-container h2 {
    font-size: 2rem;
  }
  .history-hero-container p {
    font-size: 1rem;
  }
}
/* === MISION CREATIVA RECONSTRUCCIÓN === */
.mision-creative {
  position: relative;
  background: var(--white);
  padding: 6rem 1.5rem;
  color: var(--text-dark);
  overflow: hidden;
}

.mision-creative .decor-shape-primary {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--yellow);
  border-radius: 50%;
  top: -50px;
  left: -50px;
  opacity: 0.1;
}

.mision-creative .mision-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .mision-creative .mision-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mision-creative .subtitle.mision {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--red);
  margin-bottom: 1rem;
}



.text-primary {
  color: var(--yellow);
}

.text-secondary {
  color: var(--red);
}

.mision-creative p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
}
/* Contenedor de imagen en Misión */
.video-wrapper {
  position: relative;
  overflow: visible;            /* permitimos que la imagen no se corte */
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  margin-top: 2rem;
}

/* Imagen completa */
.mision-video {
  width: 100%;                  /* ocupa todo el ancho del contenedor */
  height: auto;                 /* altura proporcional */
  object-fit: contain;          /* se ajusta dentro sin recortar */
  display: block;
  border-radius: 1rem;
}
/* ========== NUESTRA VISIÓN – Moderno y Minimalista ========== */
.vision-modern {
  padding: 6rem 1.5rem;
  background: var(--white);
}
.vision-modern .vision-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}
.vision-modern .subtitle {
  display: block;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.vision-modern .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: auto;
  line-height: 1.6;
}

.vision-modern .vision-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start; 
}
@media (max-width: 768px) {
  .vision-modern .vision-body {
    grid-template-columns: 1fr;
  }
}

/* Vídeo o imagen */
.img-vision {
  position: relative;
  overflow: visible;            /* permitimos que la imagen no se corte */
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  margin-top: 1rem;
}
.vision-img{
 width: 100%;                  
  height: auto;                
  object-fit: contain;          
  display: block;
  border-radius: 1rem;
}

/* Puntos clave estilo lista */
.vision-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
}
.vision-points li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.vision-modern .vision-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vision-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
}
.vision-points h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0 0 0.25rem;
}
.vision-points p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}


/* ================= VALORES VIBRANTES CON GRADIENTE ================= */
.sobre-nosotros-values {
  background: linear-gradient(135deg, rgba(245,167,0,0.1), rgba(227,86,86,0.1));
  padding: 8rem 1.5rem;
  color: var(--text-dark);
}

.sobre-nosotros-values .values-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.sobre-nosotros-values .values-label {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}


.sobre-nosotros-values p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

/* Grid de 4 en desktop, 2 en tablet, 1 en móvil */
.sobre-nosotros-values .values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) {
  .sobre-nosotros-values .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .sobre-nosotros-values .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Tarjetas */
.sobre-nosotros-values .value-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Icono decorativo arriba */
.sobre-nosotros-values .value-item::before {
  content: '';
  display: block;
  width: 40px; height: 40px;
  margin: 0 auto 1rem;
  background-image: url('img/icon-flame.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

/* Borde inferior de color */
.sobre-nosotros-values .value-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(to right, var(--yellow), var(--red));
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}


/* Hover ligero */
.sobre-nosotros-values .value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
/* ========== NUESTRO COMPROMISO ========== */
.compromiso-section {
  background: var(--white);
  padding: 6rem 1.5rem;
  color: var(--text-dark);
}
.compromiso-section .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.compromiso-section .subtitle {
  display: block;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.compromiso-section .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Grid de 4 columnas, adaptativo */
.compromiso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2rem;
}

/* Tarjeta de compromiso */
.compromiso-card {
  background: var(--secondary);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.compromiso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* Icono circular */
.compromiso-card .icon {
  background: var(--red);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.compromiso-card .icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
}

/* Título y descripción */
.compromiso-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.compromiso-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Responsive móvil */
@media (max-width: 600px) {
  .compromiso-grid {
    grid-template-columns: 1fr;
  }
  .compromiso-section {
    padding: 4rem 1rem;
  }
}
/* === CTA FINAL DINÁMICO === */
.sobre-nosotros-cta {
  position: relative;
  background: linear-gradient(135deg, var(--yellow), var(--red));
  color: var(--white);
  padding: 8rem 1.5rem;
  overflow: hidden;
  text-align: center;
  transition: background var(--transition);
}

/* Ondas blancas arriba y abajo */
.sobre-nosotros-cta::before,
.sobre-nosotros-cta::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120px;
  background: var(--white);
  left: -10%;
  z-index: 0;
}
.sobre-nosotros-cta::before {
  top: -60px;
  clip-path: ellipse(60% 100% at 50% 0%);
}
.sobre-nosotros-cta::after {
  bottom: -60px;
  clip-path: ellipse(60% 100% at 50% 100%);
}

/* Contenido por encima de las ondas */
.sobre-nosotros-cta .cta-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

/* Título */
.sobre-nosotros-cta h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

/* Descripción */
.sobre-nosotros-cta p {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  color: var(--white);
}

/* Botón dentro de CTA */
.sobre-nosotros-cta .btn {
  background: var(--white);
  color: var(--red);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  transition: transform var(--transition), background var(--transition);
}
.sobre-nosotros-cta .btn:hover {
  background: var(--overlay-light);
  transform: translateY(-3px);
}
