/* ==========================================================================
   Nosotros - formato inspirado en implowcost.com/about
   ========================================================================== */

.nosotrosPage,
.pageHeader {
  --m-primary: var(--primary, #ff6123);
  --m-ink: #1b1d21;
  --m-muted: #6b7280;
  --m-border: #ebedf0;
  --m-bg: #f6f7f9;
  --m-card-radius: 16px;
  font-family: 'Roboto', 'Poppins', Arial, sans-serif;
}

.nosotrosPage h2,
.nosotrosPage h3,
.nosotrosPage h4,
.pageHeader h2 {
  font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
}

.pageHeader {
  background: #fff;
  border-bottom: 1px solid var(--m-border);
}

.pageHeader .page-title h2 {
  font-weight: 800;
  color: var(--m-ink);
  letter-spacing: -0.02em;
  margin: 0;
}

.pageHeader .breadcrumb {
  background: transparent;
  padding: 8px 0 0;
  margin: 0;
  font-size: 13px;
}

.pageHeader .breadcrumb li a {
  color: var(--m-muted);
}

.pageHeader .breadcrumb li a:hover {
  color: var(--m-primary);
}

.pageHeader .breadcrumb li.active {
  color: var(--m-ink);
  font-weight: 600;
}

.nosotrosPage {
  background: #fff;
  padding: 0 0 72px;
}

/* Intro */
.nosotrosPage .nosotros-intro {
  padding: 48px 0 36px;
}

.nosotrosPage .nosotros-intro p {
  font-size: 20px;
  line-height: 1.55;
  color: var(--m-ink);
  font-weight: 500;
  margin: 0 0 22px;
  max-width: 920px;
}

.nosotrosPage .nosotros-intro p:last-child {
  margin-bottom: 0;
  color: #3a3f47;
  font-weight: 400;
  font-size: 18px;
}

.nosotrosPage .nosotros-intro strong {
  color: var(--m-primary);
  font-weight: 700;
}

/* Hero deposito */
.nosotrosPage .nosotros-hero {
  margin: 0 0 56px;
  border-radius: var(--m-card-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.1);
}

.nosotrosPage .nosotros-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

/* Secciones */
.nosotrosPage .nosotros-block {
  padding: 40px 0;
  border-top: 1px solid var(--m-border);
}

.nosotrosPage .nosotros-block:first-of-type {
  border-top: none;
}

.nosotrosPage .nosotros-block-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--m-ink);
  margin: 0 0 18px;
  text-transform: lowercase;
}

.nosotrosPage .nosotros-block-title::first-letter {
  text-transform: uppercase;
}

.nosotrosPage .nosotros-block-title span {
  color: var(--m-primary);
}

.nosotrosPage .nosotros-block p {
  font-size: 16px;
  line-height: 1.6;
  color: #3a3f47;
  margin: 0 0 14px;
}

.nosotrosPage .nosotros-block p:last-child {
  margin-bottom: 0;
}

/* Layout texto + grilla */
.nosotrosPage .nosotros-grid-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 0;
}

.nosotrosPage .nosotros-copy {
  padding-right: 24px;
}

.nosotrosPage .nosotros-copy.is-right {
  padding-right: 0;
  padding-left: 24px;
}

/* Grilla de productos */
.nosotrosPage .nosotros-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.nosotrosPage .nosotros-gallery.gallery-3 {
  grid-template-columns: repeat(3, 1fr);
}

.nosotrosPage .nosotros-gallery figure {
  margin: 0;
  background: var(--m-bg);
  border: 1px solid var(--m-border);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nosotrosPage .nosotros-gallery figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.1);
}

.nosotrosPage .nosotros-gallery img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 991px) {
  .nosotrosPage .nosotros-copy,
  .nosotrosPage .nosotros-copy.is-right {
    padding: 0;
    margin-bottom: 8px;
  }

  .nosotrosPage .nosotros-block-title {
    font-size: 24px;
  }

  .nosotrosPage .nosotros-intro p {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .nosotrosPage .nosotros-gallery.gallery-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nosotrosPage .nosotros-hero img {
    max-height: 260px;
  }
}
