/* ===========================
   SECCIÓN NOSOTROS / ABOUT
   Mobile-first. Foto arriba, texto debajo.
   En desktop: foto izquierda, texto derecha.
   =========================== */

#nosotros {
  background: #fff;
  padding: 0 0 72px;
}

.nosotros-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ---- Lado visual (mobile: edge-to-edge, hace de separador) ---- */
.nosotros-media {
  width: 100%;
}

.nosotros-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Lado contenido ---- */
.nosotros-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 22px;
}

/* Eyebrow: línea corta + label uppercase */
.nosotros-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F65F01;
  line-height: 1;
}

.nosotros-eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #F65F01;
}

/* Título mixto: peso 800 + parte en itálica roja */
.nosotros-title {
  margin: 0;
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1F252C;
  text-wrap: balance;
}

.nosotros-title em {
  font-style: italic;
  font-weight: 800;
  color: #F65F01;
}

/* Párrafo */
.nosotros-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4A5560;
  font-weight: 400;
}

.nosotros-text strong {
  color: #1F252C;
  font-weight: 700;
}

/* Link "Conocer más" con flecha y underline tenue */
.nosotros-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-bottom: 6px;
  width: fit-content;
  font-size: 15px;
  font-weight: 700;
  color: #F65F01;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 95, 1, 0.30);
  transition: gap 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nosotros-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nosotros-link:hover,
.nosotros-link:focus-visible {
  gap: 14px;
  border-bottom-color: #F65F01;
  color: #D14E00;
}

.nosotros-link:hover svg,
.nosotros-link:focus-visible svg {
  transform: translateX(2px);
}

/* ---- Tablet (>= 768px): foto izquierda, texto derecha ---- */
@media (min-width: 768px) {
  #nosotros {
    padding: 96px 32px 104px;
  }

  .nosotros-inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .nosotros-media,
  .nosotros-body {
    flex: 1;
    min-width: 0;
  }

  .nosotros-body {
    padding: 0;
  }

  .nosotros-img {
    border-radius: 4px;
  }

  .nosotros-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
  }

  .nosotros-text {
    font-size: 17px;
  }
}

/* ---- Desktop (>= 1024px) ---- */
@media (min-width: 1024px) {
  #nosotros {
    padding: 120px 40px 132px;
  }

  .nosotros-inner {
    gap: 72px;
  }

  .nosotros-title {
    font-size: 3rem;
  }
}

/* ---- Reveal heredado del IntersectionObserver ---- */
#nosotros .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#nosotros .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.nosotros-media.reveal {
  transition-delay: 0.05s;
}

.nosotros-body.reveal {
  transition-delay: 0.15s;
}

/* ---- Reduce motion ---- */
@media (prefers-reduced-motion: reduce) {
  #nosotros .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .nosotros-link,
  .nosotros-link svg {
    transition: none;
  }
}
