/* ============================================================
   EQUIPAMIENTO VISUAL — nosotros.css
   ============================================================ */

/* ── Hero ── */
.nos-hero {
  position: relative;
  background: var(--color-teal);
  padding: 2.3rem 0 7.8rem;
  text-align: center;
  overflow: hidden;
}

.nos-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nos-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 58, 60, 0.86);
}

.nos-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}

.nos-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.45rem);
  font-weight: 700;
  color: var(--color-lime);
  line-height: 1;
  margin-bottom: 1rem;
}

.nos-hero__text {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  max-width: 62ch;
  margin: 0 auto 0.35rem;
}

.nos-hero__text--accent {
  color: var(--color-lime);
  font-weight: 700;
}

.nos-hero__cta {
  display: inline-block;
  margin-top: 1.45rem;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  font-weight: 700;
  color: var(--color-lime);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nos-hero__cta:hover {
  opacity: 0.8;
}

/* ── Pilares ── */
.nos-pillars {
  margin-top: -4.6rem;
  position: relative;
  z-index: 2;
  padding: 0;
}

.nos-pillars .container {
  max-width: 1120px;
}

.nos-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  min-height: 220px;
}

.nos-pillar {
  padding: 2rem 1.45rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid #dce8e6;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: default;
}

.nos-pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 36px rgba(0, 55, 61, 0.14);
  background: #f2faf6;
  z-index: 1;
}

.nos-pillar:hover .nos-pillar__icon img {
  animation: pillar-bounce 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.nos-pillar__icon img {
  transition: transform 0.3s ease;
}

@keyframes pillar-bounce {
  0%   { transform: translateY(0)    rotate(0deg)   scale(1); }
  20%  { transform: translateY(-10px) rotate(-8deg)  scale(1.1); }
  40%  { transform: translateY(4px)  rotate(5deg)   scale(0.97); }
  60%  { transform: translateY(-6px) rotate(-4deg)  scale(1.06); }
  80%  { transform: translateY(2px)  rotate(2deg)   scale(0.99); }
  100% { transform: translateY(0)    rotate(0deg)   scale(1); }
}

.nos-pillar:last-child {
  border-right: none;
}

.nos-pillar__icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.65rem;
}

.nos-pillar__img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.nos-pillar__title {
  font-size: clamp(1.45rem, 2.3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.nos-pillar__text {
  font-size: 0.74rem;
  font-weight: 500;
  color: #1e1e1e;
  line-height: 1.15;
  text-align: left;
  max-width: 210px;
}

/* ── Presencia ── */
.nos-presencia {
  background: #fff;
  background-image: url('../img/Logos/fondo.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 2.2rem 0 2.9rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nos-presencia__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
}

.nos-presencia__title {
  font-size: clamp(2.35rem, 5vw, 3.45rem);
  font-weight: 700;
  color: var(--color-lime);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.nos-presencia__text {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 500;
  color: #101010;
  line-height: 1.25;
  max-width: 820px;
  margin: 0 auto 0.3rem;
}

.nos-presencia__text:last-child {
  margin-bottom: 0;
}

/* ── Logos de clientes ── */
.nos-logos {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--color-border);
}

.nos-logos__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
}

.nos-logos__img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}

.nos-logos__img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .nos-hero {
    padding-bottom: 6.5rem;
  }

  .nos-pillars {
    margin-top: -3.8rem;
  }

  .nos-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nos-pillar:nth-child(2) {
    border-right: none;
  }

  .nos-pillar:nth-child(3) {
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
  }

  .nos-pillar:nth-child(4) {
    border-top: 1px solid var(--color-border);
    border-right: none;
  }
}

@media (max-width: 480px) {
  .nos-hero {
    padding: 2rem 1rem 5.8rem;
  }

  .nos-pillars {
    margin-top: -3rem;
  }

  .nos-pillars__grid {
    grid-template-columns: 1fr;
  }

  .nos-pillar {
    border-right: none;
    border-top: 1px solid var(--color-border);
    align-items: flex-start;
  }

  .nos-pillar:first-child {
    border-top: none;
  }

  .nos-pillar__text {
    max-width: 100%;
  }

  .nos-presencia {
    padding: 2.3rem 1rem;
  }
}

/* Animación */
.nos-pillar:nth-child(1) { --anim-delay: 0.05s; }
.nos-pillar:nth-child(2) { --anim-delay: 0.15s; }
.nos-pillar:nth-child(3) { --anim-delay: 0.25s; }
.nos-pillar:nth-child(4) { --anim-delay: 0.35s; }