/* =========================
   Hero de Nosotros (hereda de .hero)
========================= */
.hero-nosotros {
  --hero-img: url('../imgs/nosotros/fondo-nosotros.jpg'); /* imagen exclusiva */
}

/* Si quieres overlay más oscuro solo para esta página */
.hero-nosotros .hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.65) 100%);
}

/* =========================
   Contenido Nosotros
========================= */
.nosotros-section {
  padding: 4rem 1rem;
  background: #fff;
  color: #222;
}

.nosotros-section .nosotros-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.nosotros-section .nosotros-text {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

.nosotros-section .nosotros-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* =========================
   Responsive
========================= */
@media (max-width: 960px) {
  .nosotros-section .nosotros-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nosotros-section .nosotros-text {
    text-align: center;
  }

  .nosotros-section .nosotros-image img {
    max-width: 90%;
    margin: 0 auto;
  }
}

/* =========================
   Abourt Riker
========================= */

.about-riker {
  position: relative;
  padding: 6rem 1rem; /* espacio blanco arriba y abajo */
  background: url('../imgs/nosotros/que\ es\ riker.jpeg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  margin-top: 4rem; /* separa de la sección anterior */
}

/* Overlay negro */
.about-riker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Contenido centrado sobre el overlay */
.about-riker-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.about-riker h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-riker h2 span {
  color: var(--clr-brand);
}

.about-riker p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-riker-logo {
  max-width: 280px;
  height: auto;
}

/* Responsive */
@media (max-width: 960px) {
  .about-riker {
    padding: 4rem 1rem;
  }
  .about-riker h2 {
    font-size: 2rem;
  }
  .about-riker p {
    font-size: 0.95rem;
  }
  .about-riker-logo {
    max-width: 200px;
  }
}

/* =========================
   Lo que nos define
========================= */
.define-section {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center;
}

.define-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.define-section h2 span {
  color: var(--clr-brand);
}

.define-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Tarjetas */
.define-card {
  background: var(--clr-brand);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.define-card:hover {
  transform: translateY(-5px);
}

.define-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Texto */
.define-card-body {
  padding: 1.5rem;
}

.define-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.define-card-body p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Grid */
.define-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Responsive móvil */
@media (max-width: 768px) {
  .define-card img {
    height: 180px;
  }
}
