/* EMPRESAS */

.active-link {
  opacity: .6;
}

/* HERO */

.em-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: url("img/53.png") center center / cover no-repeat;
}

.em-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,.64) 45%,
    rgba(0,0,0,.18) 100%
  );
}

.em-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
}

.em-hero-content > span,
.em-label,
.em-branding-content > span,
.em-cta-content > span {
  display: inline-block;
  margin-bottom: 18px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.em-hero h1 {
  max-width: 1000px;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: .86;
  letter-spacing: -.06em;
}

.em-hero p {
  max-width: 650px;
  margin: 30px 0;
  color: rgba(255,255,255,.8);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.em-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* INTRO */

.em-intro {
  padding: 110px 0;
}

.em-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 90px;
  align-items: end;
}

.em-intro h2,
.em-branding-content h2 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.em-intro-copy {
  display: grid;
  gap: 18px;
}

.em-intro-copy p,
.em-branding-content > p {
  color: #6b6b72;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* SOLUCIONES */

.em-solutions {
  background: #f5f5f2;
}

.em-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.em-solution-card {
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(0,0,0,.06);
}

.em-solution-card img {
  width: 100%;
  aspect-ratio: 330 / 450;
  object-fit: cover;
  display: block;
}

.em-solution-content {
  padding: 26px;
}

.em-solution-content > span {
  display: block;
  margin-bottom: 22px;
  color: #9a9aa0;
  font-size: .75rem;
}

.em-solution-content h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.em-solution-content p {
  color: #6b6b72;
  line-height: 1.6;
}

/* BRANDING */

.em-branding {
  padding: 110px 0;
  background: #0b0b0d;
  color: #fff;
}

.em-branding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.em-branding-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.em-branding-image img {
  width: 220px;
  max-width: 70%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.em-branding-content > p {
  margin-top: 24px;
  color: rgba(255,255,255,.68);
}

.em-branding-list {
  margin-top: 38px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.em-branding-list div {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.em-branding-list strong,
.em-branding-list span {
  display: block;
}

.em-branding-list strong {
  margin-bottom: 4px;
}

.em-branding-list span {
  color: rgba(255,255,255,.58);
}

/* CANTIDADES */

.em-quantities {
  background: #fff;
}

.em-quantity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.em-quantity-grid article {
  min-height: 280px;
  padding: 30px;
  background: #f5f5f2;
  border-radius: 22px;
}

.em-quantity-grid article > span {
  display: block;
  margin-bottom: 70px;
  color: #929298;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.em-quantity-grid h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.em-quantity-grid p {
  color: #6b6b72;
  line-height: 1.6;
}

/* TRABAJOS */

.em-work {
  background: #f5f5f2;
}

.em-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.em-work-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

/* PROCESO */

.em-process {
  padding: 110px 0;
  background: #111113;
  color: #fff;
}

.em-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.em-process-grid article {
  min-height: 280px;
  padding: 28px;
  background: #19191c;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
}

.em-number {
  margin-bottom: 70px;
  color: rgba(255,255,255,.4);
  font-size: .78rem;
}

.em-process-grid h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.em-process-grid p {
  color: rgba(255,255,255,.62);
  line-height: 1.6;
}

/* CTA */

.em-cta {
  padding: 110px 0;
  background: #151518;
  color: #fff;
  text-align: center;
}

.em-cta-content {
  max-width: 900px;
}

.em-cta h2 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.06em;
}

.em-cta p {
  max-width: 680px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
}

.em-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.em-light-btn {
  background: #fff;
  color: #111;
  border-color: #fff;
}

/* RESPONSIVE */

@media (max-width: 1050px) {

  .em-solutions-grid,
  .em-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

}

@media (max-width: 980px) {

  .em-intro-grid,
  .em-branding-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .em-quantity-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {

  .em-hero {
    min-height: 86vh;
  }

  .em-hero-overlay {
    background: rgba(0,0,0,.66);
  }

  .em-intro,
  .em-branding,
  .em-process,
  .em-cta {
    padding: 75px 0;
  }

  .em-solutions-grid,
  .em-work-grid,
  .em-process-grid {
    grid-template-columns: 1fr;
  }

  .em-quantity-grid article {
    min-height: 220px;
  }

  .em-quantity-grid article > span,
  .em-number {
    margin-bottom: 40px;
  }

}
