/* ==========================================================================
   FOMEX - PÁGINA NOSOTROS
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. HERO
   -------------------------------------------------------------------------- */
.nosotros-hero {
  background-image: url('https://fomexdyc.com/wp-content/uploads/2022/04/IMG_8228-768x576.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  position: relative;
  text-align: center;
}

.nosotros-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.nosotros-hero > * {
  position: relative;
  z-index: 2;
}

.nosotros-hero .hero-eyebrow {
  color: var(--fomex-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.nosotros-hero .hero-title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

.nosotros-hero .hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}


/* --------------------------------------------------------------------------
   2. INTRO PRINCIPAL
   -------------------------------------------------------------------------- */
.nosotros-intro {
  padding: 90px 20px;
}

.intro-paragraph {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 22px;
}

.intro-lead {
  font-size: 1.25rem !important;
  line-height: 1.7;
  color: #1a1a1a;
  font-weight: 500;
  margin-bottom: 28px;
}


/* --------------------------------------------------------------------------
   3. CITA DESTACADA
   -------------------------------------------------------------------------- */
.nosotros-quote {
  background-color: #f7f7f7;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 0.8;
  color: var(--fomex-accent);
  opacity: 0.25;
  text-align: center;
  margin-bottom: 0;
  user-select: none;
}

.quote-text {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 auto 20px;
  max-width: 800px;
}

.quote-author {
  color: var(--fomex-accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}


/* --------------------------------------------------------------------------
   4. PILARES
   -------------------------------------------------------------------------- */
.nosotros-pilares {
  padding: 90px 20px;
  text-align: center;
}

.pilares-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 50px;
  text-align: center;
}

.pilar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}

.pilar-icon {
  color: var(--fomex-accent);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(0, 171, 207, 0.08);
}

.pilar h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: #1a1a1a;
  letter-spacing: 0.3px;
}

.pilar p {
  font-size: 1rem;
  line-height: 1.65;
  color: #555;
  margin: 0;
  max-width: 320px;
}


/* --------------------------------------------------------------------------
   5. BANNER FIRMA DIGITAL
   -------------------------------------------------------------------------- */
.firma-digital {
  background-color: var(--fomex-accent);
  padding: 80px 20px;
  color: #fff;
}

.firma-digital-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 50px;
  align-items: center;
}

.firma-digital-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.firma-digital-content {
  color: #fff;
}

.firma-digital-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.85);
}

.firma-digital-content h2 {
  font-size: 2.1rem;
  font-weight: 600;
  margin: 0 0 20px;
  color: #fff;
  line-height: 1.2;
}

.firma-digital-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.95);
}

.firma-digital-text:last-child {
  margin-bottom: 0;
}

.firma-digital-text strong {
  color: #fff;
  font-weight: 700;
}


/* --------------------------------------------------------------------------
   6. CTA CONTACTO FINAL
   -------------------------------------------------------------------------- */
.nosotros-cta-final {
  padding: 90px 20px;
  text-align: center;
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .pilares-row {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .firma-digital-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .firma-digital-icon {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .nosotros-hero {
    min-height: 50vh;
    padding: 60px 20px;
  }
  .nosotros-intro,
  .nosotros-quote,
  .nosotros-pilares,
  .nosotros-cta-final {
    padding: 60px 20px;
  }
  .firma-digital {
    padding: 60px 20px;
  }
  .firma-digital-content h2 {
    font-size: 1.6rem;
  }
  .intro-lead {
    font-size: 1.1rem !important;
  }
  .quote-mark {
    font-size: 5rem;
  }
}