/* ==========================================================
   HERRAMIENTAS
   ========================================================== */

.tools-page {
  background: #f4f1eb;
}


/* HERO */

.tools-hero {
  min-height: min(760px, 86vh);
}


/* INTRO */

.tools-intro {
  max-width: 1160px;
  margin: 0 auto;
  padding:
    clamp(90px, 11vw, 160px)
    clamp(24px, 5vw, 72px);
}

.tools-intro h2 {
  max-width: 900px;
  margin:
    18px 0
    28px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.tools-intro > p:last-child {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}


/* CATÁLOGO */

.tools-catalog {
  max-width: 1160px;
  margin: 0 auto;
  padding:
    0
    clamp(24px, 5vw, 72px)
    clamp(110px, 12vw, 180px);
}

.tools-catalog__heading {
  padding-bottom: clamp(42px, 5vw, 68px);
  border-bottom: 1px solid rgba(0, 0, 0, .18);
}

.tools-catalog__heading h2 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 88px);
  padding-top: clamp(48px, 5vw, 70px);
}


/* PRODUCTO */

.tools-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 28px;
}

.tools-product__image {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.tools-product__image img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform .35s ease,
    opacity .35s ease;
}

.tools-product__image:hover img {
  transform: scale(1.015);
  opacity: .94;
}

.tools-product__copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.tools-product__copy h3 {
  margin:
    14px 0
    20px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.tools-product__copy > p:not(.eyebrow) {
  max-width: 520px;
  margin:
    0 0
    30px;
  line-height: 1.65;
}

.tools-product__button {
  margin-top: auto;
  align-self: flex-start;
}


/* CIERRE */

.tools-closing {
  padding:
    clamp(90px, 11vw, 160px)
    clamp(24px, 6vw, 90px);
  background: #171717;
  color: #f5f2ec;
}

.tools-closing > * {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.tools-closing h2 {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: .96;
  letter-spacing: -.045em;
}


/* RESPONSIVE */

@media (max-width: 740px) {

  .tools-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .tools-intro h2,
  .tools-closing h2 {
    line-height: 1;
  }

}
