body {
  background: #000;
  color: #fff;
}

.hero-nosotros {
  padding: 120px 0 80px;
  text-align: center;
  background: #000;
}

.hero-nosotros h2 {
  font-weight: 700;
  letter-spacing: 2px;
}

.divider-line {
  width: 80%;
  height: 1px;
  background: #4a4a4a;
  margin: 25px auto;
}

.scroll-down {
  font-size: 35px;
  cursor: pointer;
  margin-top: 15px;
}

.section-img {
  width: 100%;
  border-radius: 5px;
}

.team-member img {
  width: 180px;
  height: auto;
  border-radius: 50%;
  opacity: 0.8;
}

.team-member p {
  margin-top: 5px;
  font-size: 14px;
}

.mission-box {
  background: #111;
  padding: 25px;
  border-radius: 10px;
  margin-top: 20px;
}

.icon-card {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.icon-card img {
  width: 100%;
  opacity: .8;
}

/* Footer */
.social-icons a {
  color: white;
  font-size: 22px;
  margin: 0 10px;
}

.social-icons a:hover {
  color: #ccc;
}


/* VIDEO DE FONDO */
.hero-nosotros {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

/* Video ocupando el fondo completo */
.hero-nosotros .hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Capa negra semi transparente */
.hero-nosotros .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Texto del hero */
.hero-nosotros h2 {
  font-size: 2.4rem;
  font-weight: bold;
  z-index: 3;
}

.hero-nosotros p {
  max-width: 600px;
  font-size: 1.1rem;
  z-index: 4;
}

/* Flecha */
.scroll-down {
  font-size: 2rem;
  margin-top: 25px;
  animation: bounce 1.5s infinite;
  cursor: pointer;
  z-index: 5;
}

/* Animación de rebote */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}


.hero-nosotros h2 {
  font-size: 50px;
  font-weight: 600;
  z-index: 3;
}

.hero-nosotros p {
  max-width: 950px;
  font-size: 23px;
  z-index: 4;
}

.hero-nosotros p span {
  font-weight: 600;
}

.grid-historia p {
  text-align: justify;
  font-size: 22px;
}

.grid-historia .section-img {
  filter: grayscale(100%);
}

.section-equipo .fw-bold.mb-4 {
  font-size: 50px;
  margin: 0px !important;
  padding-bottom: 70px;
}

.section-equipo {
  padding: 35vh 0px !important;
}

.section-mision {
  padding-top: 0px !important;
  padding-bottom: 35vh !important;
}

.section-mision h3.fw-bold {
  font-size: 50px;
  margin: 0px !important;
  padding-bottom: 70px;
}

.section-mision .text-white-50 {
  font-size: 22px;
}

.section-mision .mission-box {
  width: 100%;
  max-width: 400px;
  padding: 25px;
  margin-top: 0px;
  background: #000;
  transition: background 0.3s ease, color 0.3s ease;
}

.section-mision .mission-box:hover {
  background: #fff;
}

.section-mision .mission-box p {
  font-size: 22px;
  margin-bottom: 0px;
  transition: color 0.3s ease;
}

.section-mision .mission-box:hover p {
  color: #000;
}

.col-mision-center .mission-box {
  margin: auto;
}

.col-mision-der .mission-box {
  margin-left: auto;
}

.section-mision .mission-box p span {
  font-weight: 600;
}









/* ================================
   RESPONSIVE: NOSOTROS (Mobile/Tablet)
   Pegar al FINAL de /assets/css/nosotros.css
================================ */

/* iOS/Android: mejor altura real del hero (sin saltos por la barra del navegador) */
.hero-nosotros {
  min-height: 100svh;
  height: 100svh;
}

/* Tablet */
@media (max-width: 992px) {

  .hero-nosotros h2 {
    font-size: 40px;
    letter-spacing: 1px;
  }

  .hero-nosotros p {
    font-size: 18px;
    max-width: 820px;
  }

  .grid-historia p {
    font-size: 18px;
  }

  /* Evitar espacios gigantes en secciones */
  .section-equipo {
    padding: 18vh 0 !important;
  }

  .section-equipo .fw-bold.mb-4 {
    font-size: 40px;
    padding-bottom: 40px;
  }

  .section-mision {
    padding-bottom: 18vh !important;
  }

  .section-mision h3.fw-bold {
    font-size: 40px;
    padding-bottom: 40px;
  }

  .section-mision .text-white-50 {
    font-size: 18px;
  }

  .section-mision .mission-box p {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .hero-nosotros {
    padding: 100px 0 60px;
  }

  .hero-nosotros h2 {
    font-size: 30px;
    letter-spacing: .5px;
    padding: 0 14px;
  }

  .hero-nosotros p {
    font-size: 16px;
    max-width: 92%;
  }

  .scroll-down {
    font-size: 28px;
    margin-top: 16px;
  }

  .divider-line {
    width: 92%;
  }

  /* Historia: imagen con buen tamaño y aire */
  .grid-historia .section-img {
    border-radius: 8px;
  }

  .grid-historia p {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Equipo */
  .section-equipo {
    padding: 12vh 0 !important;
  }

  .section-equipo .fw-bold.mb-4 {
    font-size: 32px;
    padding-bottom: 26px;
  }

  .team-member img {
    width: 120px;
  }

  .team-member p {
    font-size: 12px;
  }

  /* Misión */
  .section-mision {
    padding-bottom: 12vh !important;
  }

  .section-mision h3.fw-bold {
    font-size: 32px;
    padding-bottom: 26px;
  }

  .section-mision .text-white-50 {
    font-size: 16px;
  }

  /* Las 3 cajas en móvil: que queden centradas y con buen ancho */
  .col-mision-izq .mission-box,
  .col-mision-center .mission-box,
  .col-mision-der .mission-box {
    margin: 0 auto;
    max-width: 520px;
  }

  .section-mision .mission-box {
    padding: 18px;
  }

  .section-mision .mission-box p {
    font-size: 16px;
  }
}

/* Mobile pequeño */
@media (max-width: 576px) {

  .hero-nosotros h2 {
    font-size: 26px;
  }

  .hero-nosotros p {
    font-size: 15px;
  }

  .section-equipo .fw-bold.mb-4,
  .section-mision h3.fw-bold {
    font-size: 28px;
  }

  .team-member img {
    width: 105px;
  }
}

@media (max-width: 768px) {
  .scroll-down {
    animation: none;
  }
}


/* HERO (Nosotros): chevron abajo + movimiento visible */
.hero-nosotros .scroll-down {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  margin-top: 0 !important;
  z-index: 6;
  font-size: 34px;
  cursor: pointer;
  animation: vsqChevronNos 1.15s ease-in-out infinite;
}

@keyframes vsqChevronNos {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: .95;
  }

  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 1;
  }
}

/* Mobile: un poco más arriba */
@media (max-width: 768px) {
  .hero-nosotros .scroll-down {
    bottom: 18px;
    font-size: 30px;
  }
}


/* Nuestro equipo: tipografía un poco más grande */
.section-equipo .team-member p {
  font-size: 20px;
}

.section-equipo .team-member p small {
  font-size: 16px;
  opacity: .85;
}

/* Mobile: mantenerlo legible sin verse enorme */
@media (max-width: 768px) {
  .section-equipo .team-member p {
    font-size: 14px;
  }

  .section-equipo .team-member p small {
    font-size: 12px;
  }
}


/* Mission: desplegable al click */
.section-mision .mission-item {
  cursor: pointer;
  user-select: none;
}

.section-mision .mission-item:focus {
  outline: 2px solid rgba(255, 255, 255, .35);
  outline-offset: 3px;
}

/* Cabecera: texto + icono */
.section-mision .mission-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Ícono */
.section-mision .mission-icon {
  font-size: 18px;
  opacity: .9;
  transition: transform .25s ease, opacity .25s ease;
}

/* Cuerpo oculto/visible */
.section-mision .mission-body {
  margin-top: 14px;
  text-align: left;
  opacity: .92;
}

.section-mision .mission-body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

/* Estado abierto: fondo blanco + texto negro (como pediste en flip services) */
.section-mision .mission-item.is-open {
  background: #fff !important;
}

.section-mision .mission-item.is-open p {
  color: #000 !important;
}

.section-mision .mission-item.is-open .mission-icon {
  transform: rotate(180deg);
  opacity: 1;
}

/* Importante: desactivar hover como disparador (para que no interfiera) */
.section-mision .mission-box:hover {
  background: #000 !important;
}

.section-mision .mission-box:hover p {
  color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
  .section-mision .mission-body p {
    font-size: 16px;
  }
}

/* ===== Mission: transición suave al abrir/cerrar ===== */

/* contenedor del texto: animable */
.section-mision .mission-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease !important;
  margin-top: 0;
  /* lo controlamos con el estado abierto */
}

/* cuando está abierta */
.section-mision .mission-item.is-open .mission-body {
  max-height: 260px;
  /* ajusta si algún texto crece */
  opacity: 1;
  transform: translateY(0);
  margin-top: 14px;
}

/* si en mobile el texto se hace más largo, dale un poco más */
@media (max-width: 768px) {
  .section-mision .mission-item.is-open .mission-body {
    max-height: 320px;
  }
}


/* ================================
   Nosotros – Valores: hover effect
================================ */

/* Estado base (por si hereda algo raro) */
.section-valores .icon-card {
  transition: background-color .3s ease, transform .25s ease;
}

/* Texto base */
.section-valores .icon-card p {
  transition: color .25s ease;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  padding-top: 25px;
  padding-bottom: 5px;
}

/* HOVER */
.section-valores .icon-card:hover {
  background-color: #fff;
  transform: translateY(-2px);
  /* micro lift sutil */
}

/* Texto negro en hover */
.section-valores .icon-card:hover p {
  color: #000;
}

/* Icono mantiene contraste */
.section-valores .icon-card:hover i {
  color: #000;
}


.section-valores .icon-card:active {
  background-color: #fff;
}

.section-valores .icon-card:active p,
.section-valores .icon-card:active i {
  color: #000;
}

.grid-historia {
  padding: 20vh 0px;
}

