.hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: calc(100vh - var(--nav-height));
}

.hero__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  gap: 1.8rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 25%,
    rgba(255, 255, 255, 0.10),
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

.hero__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -120px 160px rgba(0, 0, 0, 0.55),
              inset 0 80px 140px rgba(0, 0, 0, 0.40),
              inset 90px 0 140px rgba(0, 0, 0, 0.25),
              inset -90px 0 140px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: -1;
}

.hero__panel--glaciar {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(91, 184, 196, 0.20), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--blanco-glaciar) 100%);
  color: var(--marino);
}

.hero__panel--glaciar::after {
  box-shadow: inset 0 -120px 160px rgba(13, 27, 46, 0.35),
              inset 0 80px 140px rgba(13, 27, 46, 0.18),
              inset 90px 0 140px rgba(13, 27, 46, 0.15),
              inset -90px 0 140px rgba(13, 27, 46, 0.15);
}

.hero__panel--marino {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(91, 184, 196, 0.15), transparent 55%),
    linear-gradient(180deg, #0f2138 0%, var(--marino) 100%);
  color: var(--blanco-glaciar);
}

.hero__panel--marino::before {
  background: radial-gradient(
    ellipse 60% 45% at 50% 25%,
    rgba(91, 184, 196, 0.14),
    transparent 70%
  );
}

.hero__panel--teal {
  background:
    radial-gradient(ellipse at 40% 25%, rgba(240, 250, 250, 0.18), transparent 55%),
    linear-gradient(180deg, #65bfca 0%, var(--celeste-teal) 100%);
  color: var(--marino);
}

.hero__panel--teal::after {
  box-shadow: inset 0 -120px 160px rgba(13, 27, 46, 0.50),
              inset 0 80px 140px rgba(13, 27, 46, 0.30),
              inset 90px 0 140px rgba(13, 27, 46, 0.22),
              inset -90px 0 140px rgba(13, 27, 46, 0.22);
}

.hero__question {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 22ch;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
  position: relative;
  z-index: 1;
}

.hero__panel--glaciar .hero__question {
  text-shadow: 0 2px 14px rgba(13, 27, 46, 0.22);
}

.hero__panel--marino .hero__question {
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.70);
}

.hero__panel--teal .hero__question {
  text-shadow: 0 3px 18px rgba(13, 27, 46, 0.45);
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 2px solid currentColor;
  border-radius: 2px;
  background-color: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: background-color var(--transition-mid),
              color var(--transition-mid),
              transform var(--transition-fast),
              box-shadow var(--transition-mid);
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(13, 27, 46, 0.18);
}

.hero__btn:hover,
.hero__btn:focus-visible {
  transform: translateY(-2px);
}

.hero__panel--glaciar .hero__btn:hover,
.hero__panel--glaciar .hero__btn:focus-visible {
  background-color: var(--marino);
  color: var(--blanco-glaciar);
  box-shadow: var(--shadow-lg);
}

.hero__panel--marino .hero__btn:hover,
.hero__panel--marino .hero__btn:focus-visible {
  background-color: var(--blanco-glaciar);
  color: var(--marino);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.hero__panel--teal .hero__btn:hover,
.hero__panel--teal .hero__btn:focus-visible {
  background-color: var(--marino);
  color: var(--celeste-teal);
  box-shadow: var(--shadow-lg);
}

.hero__btn--wide {
  padding-left: 2.2rem;
  padding-right: 2.2rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__panel {
    min-height: 60vh;
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero__panel {
    min-height: 52vh;
    padding: 2.5rem 1.25rem;
    gap: 1.4rem;
  }
  .hero__btn {
    white-space: normal;
    line-height: 1.3;
    padding: 0.85rem 1.2rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }
  .hero__btn--wide {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }
}
