/* =========================================================
   LANDING GENTE CONVERGENTE
   ========================================================= */

.gc-hero,
.gc-hero *,
.gc-hero *::before,
.gc-hero *::after {
  box-sizing: border-box;
}

/*
 * Hero principal.
 *
 * La técnica width: 100vw + margin permite que el bloque
 * salga del contenedor limitado del tema de Drupal.
 */
.gc-hero {
  position: relative;
  width: 100vw;
  min-height: 650px;
  aspect-ratio: 1200 / 691;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;

  background-color: #000;
  background-image: url("/sites/default/files/2026-07/bk_c1.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;

  color: #fff;
  font-family:
    "Montserrat",
    "Century Gothic",
    "Trebuchet MS",
    Arial,
    sans-serif;
}

/*
 * Degradado muy suave para conservar la lectura del texto.
 */
.gc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 42%,
      rgba(0, 0, 0, 0.08) 55%,
      rgba(0, 0, 0, 0.35) 100%
    );
}

/* Contenedor de los dos párrafos */
.gc-hero__content {
  position: absolute;
  z-index: 2;
  top: 55.5%;
  left: 14.7%;
  right: 13%;
  max-width: 1280px;
}

/* Texto principal */
.gc-hero__content p {
  margin: 0;
  padding: 0;

  color: #fff;
  font-size: clamp(1.25rem, 1.95vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

/* Espacio entre los dos párrafos */
.gc-hero__content p + p {
  margin-top: 1.1em;
}

/* Cursiva del nombre */
.gc-hero__content em {
  font-style: italic;
  font-weight: 400;
}

/* Frase resaltada */
.gc-hero__content strong {
  color: #fff;
  font-weight: 700;
}

/* Flecha inferior */
.gc-hero__arrow {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 5.5%;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 48px;
  padding: 0;

  border: 0;
  background: transparent;
  text-decoration: none;
  transform: translateX(-50%);
  cursor: pointer;
}

/* Triángulo verde */
.gc-hero__arrow::before {
  content: "";
  display: block;

  width: 0;
  height: 0;

  border-left: 19px solid transparent;
  border-right: 19px solid transparent;
  border-top: 20px solid #c7ff2e;

  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.gc-hero__arrow:hover::before {
  transform: translateY(5px);
  filter: brightness(1.12);
}

.gc-hero__arrow:focus-visible {
  outline: 3px solid #ec3ca7;
  outline-offset: 3px;
  border-radius: 4px;
}

/* H1 disponible para lectores de pantalla */
.gc-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {
  .gc-hero {
    min-height: 720px;
    aspect-ratio: auto;
    background-position: center top;
    background-size: cover;
  }

  .gc-hero::before {
    background:
      linear-gradient(
        to bottom,
        transparent 0%,
        transparent 38%,
        rgba(0, 0, 0, 0.28) 52%,
        rgba(0, 0, 0, 0.88) 100%
      );
  }

  .gc-hero__content {
    top: auto;
    right: 7%;
    bottom: 105px;
    left: 7%;
    max-width: none;
  }

  .gc-hero__content p {
    font-size: clamp(1.25rem, 2.9vw, 1.65rem);
    line-height: 1.22;
  }

  .gc-hero__arrow {
    bottom: 28px;
  }
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {
  .gc-hero {
    min-height: 760px;
    background-position: center top;
    background-size: auto 100%;
  }

  .gc-hero::before {
    background:
      linear-gradient(
        to bottom,
        transparent 0%,
        transparent 36%,
        rgba(0, 0, 0, 0.55) 49%,
        rgba(0, 0, 0, 0.96) 72%,
        #000 100%
      );
  }

  .gc-hero__content {
    right: 24px;
    bottom: 88px;
    left: 24px;
  }

  .gc-hero__content p {
    font-size: clamp(1.05rem, 4.7vw, 1.25rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .gc-hero__content p + p {
    margin-top: 1em;
  }

  .gc-hero__arrow {
    bottom: 19px;
    width: 54px;
    height: 44px;
  }

  .gc-hero__arrow::before {
    border-left-width: 16px;
    border-right-width: 16px;
    border-top-width: 17px;
  }
}

/* Móviles de poca altura */
@media (max-width: 600px) and (max-height: 700px) {
  .gc-hero {
    min-height: 720px;
  }

  .gc-hero__content p {
    font-size: 1rem;
  }
}