/* =========================================================
   GAIATECH — BLOQUE DE APLICACIONES EN LA PORTADA
   Reemplaza el espacio que ocupaban las demos: explica cómo
   se lleva una aplicación propia a la operación.
   ========================================================= */

.apps-method {
  background: var(--pro-paper, #fff);
  border-top: 1px solid var(--g-line, #dce3dd);
}

.apps-method-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.8rem, 3.4vw, 2.6rem);
}

.apps-method-head > span {
  display: block;
  margin-bottom: .55rem;
  color: var(--g-green, #365c3c);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.apps-method-head h2 {
  max-width: 22ch;
  margin: 0;
  color: var(--g-ink, #1d2e25) !important;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem) !important;
  font-weight: 600 !important;
  line-height: 1.1;
  letter-spacing: -.04em !important;
}

.apps-method-head p {
  max-width: 58ch;
  margin: 0;
  color: var(--g-copy, #58675e) !important;
  font-size: .95rem;
  line-height: 1.7;
}

.apps-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--g-line, #dce3dd);
  background: var(--g-line, #dce3dd);
}

.apps-method-grid article {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 1.6rem;
  background: #fff;
}

.apps-method-grid article > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(54, 92, 60, .3);
  color: var(--g-green, #365c3c);
  font-size: .9rem;
}

.apps-method-grid strong {
  color: var(--g-ink, #1d2e25);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.apps-method-grid p {
  margin: .55rem 0 0;
  color: var(--g-copy, #58675e) !important;
  font-size: .86rem;
  line-height: 1.65;
}

.apps-method-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.6rem;
}

.apps-method-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 44px;
  padding: 0 1.35rem;
  border: 1px solid var(--g-green, #365c3c);
  background: var(--g-green, #365c3c);
  color: #fff !important;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.apps-method-actions a + a {
  border-color: var(--g-line, #dce3dd);
  background: transparent;
  color: var(--g-green, #365c3c) !important;
}

.apps-method-actions a:hover {
  background: var(--g-forest, #203b2c);
  border-color: var(--g-forest, #203b2c);
  color: #fff !important;
}

.apps-method-actions a + a:hover {
  background: var(--g-green, #365c3c);
  border-color: var(--g-green, #365c3c);
}

@media (max-width: 900px) {
  .apps-method-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .apps-method-grid {
    grid-template-columns: 1fr;
  }

  .apps-method-grid article {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .apps-method-actions a {
    width: 100%;
  }
}
