:root {
  --hm-bg: #070707;
  --hm-text: #f6f6f6;
  --hm-muted: rgba(246, 246, 246, 0.88);
  --hm-red: #ef1313;
  --hm-red-soft: rgba(239, 19, 19, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--hm-text);
  font-family: "Montserrat", sans-serif;
  background:
    linear-gradient(rgba(6, 6, 6, 0.9), rgba(6, 6, 6, 0.96)),
    radial-gradient(
      circle at 75% 20%,
      rgba(239, 19, 19, 0.14),
      transparent 36%
    ),
    url("../img/backgorund-jovenes.jpg") center / cover no-repeat;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      130deg,
      transparent 28%,
      rgba(239, 19, 19, 0.16) 34%,
      transparent 40%
    ),
    linear-gradient(
      130deg,
      transparent 42%,
      rgba(239, 19, 19, 0.1) 48%,
      transparent 54%
    ),
    linear-gradient(
      130deg,
      transparent 58%,
      rgba(239, 19, 19, 0.14) 63%,
      transparent 68%
    );
  mix-blend-mode: screen;
  opacity: 0.85;
}

.hm-page {
  position: relative;
  min-height: 100vh;
  padding: clamp(2rem, 4vw, 3.1rem) clamp(1.1rem, 5vw, 4.8rem);
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.54fr);
  gap: clamp(1.25rem, 2.2vw, 2.5rem);
  align-items: end;
}

.hm-home-btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(246, 246, 246, 0.24);
  border-radius: 999px;
  color: var(--hm-text);
  background: rgba(8, 8, 8, 0.7);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hm-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding-bottom: 0.6rem;
}

.hm-kicker {
  margin: 0;
  font-size: clamp(0.7rem, 1.1vw, 1rem);
  letter-spacing: 0.52em;
  color: rgba(246, 246, 246, 0.82);
}

.hm-content h1 {
  margin: 1.7rem 0 0.2rem;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(4.2rem, 11vw, 11rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hm-content h1 span {
  color: var(--hm-red);
}

.hm-content h2 {
  margin: 0.35rem 0 1.9rem;
  font-size: clamp(1.35rem, 2.3vw, 3rem);
  letter-spacing: 0.24em;
  line-height: 1.12;
  font-weight: 700;
}

.hm-content p {
  margin: 0 0 0.95rem;
  max-width: 860px;
  color: var(--hm-muted);
  font-size: clamp(1.05rem, 1.56vw, 2rem);
  line-height: 1.36;
}

.hm-contact {
  margin-top: 1.45rem;
}

.hm-contact h3 {
  display: inline-block;
  margin: 0;
  padding-right: 1rem;
  font-size: clamp(1.1rem, 1.5vw, 1.55rem);
  letter-spacing: 0.35em;
  border-bottom: 2px solid var(--hm-red);
}

.hm-contact-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.72rem;
}

.hm-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--hm-text);
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.9rem);
}

.hm-contact-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(246, 246, 246, 0.4);
}

.hm-contact-icon svg {
  width: 15px;
  height: 15px;
}

.hm-closing {
  margin-top: 1.3rem;
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.4rem, 2.2vw, 2.7rem);
  color: var(--hm-red);
}

.hm-photo {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 280px;
  z-index: 1;
  align-self: end;
}

.hm-photo img {
  width: 100%;
  height: min(48vh, 440px);
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1) brightness(0.48) contrast(1.14);
  border-radius: 22px;
}

.hm-right-line,
.hm-bottom-line {
  position: absolute;
  background: var(--hm-red);
  box-shadow: 0 0 22px var(--hm-red-soft);
  z-index: 1;
}

.hm-right-line {
  top: clamp(7rem, 15vh, 8.8rem);
  right: clamp(1rem, 3vw, 2.6rem);
  width: 18px;
  height: clamp(54vh, 68vh, 82vh);
}

.hm-bottom-line {
  left: clamp(22rem, 39vw, 31rem);
  right: clamp(2rem, 3.5vw, 3.2rem);
  bottom: clamp(7.4rem, 11vh, 9rem);
  height: 4px;
}

@media (max-width: 1120px) {
  .hm-page {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.15rem;
    padding-top: 3.8rem;
  }

  .hm-content {
    max-width: none;
  }

  .hm-content h1 {
    font-size: clamp(3.5rem, 15vw, 7.5rem);
  }

  .hm-content h2 {
    font-size: clamp(1.1rem, 4vw, 2rem);
  }

  .hm-photo img {
    height: min(36vh, 340px);
  }

  .hm-right-line {
    top: 7.2rem;
    width: 12px;
    height: clamp(38vh, 48vh, 60vh);
  }

  .hm-bottom-line {
    left: 1.1rem;
    right: 1.1rem;
    bottom: clamp(6.2rem, 8vh, 7.4rem);
  }
}

@media (max-width: 720px) {
  .hm-page {
    padding: 3.8rem 0.9rem 1.2rem;
  }

  .hm-home-btn {
    top: 0.72rem;
    left: 0.72rem;
    min-width: 76px;
    padding: 0.56rem 0.76rem;
    font-size: 0.78rem;
  }

  .hm-kicker {
    letter-spacing: 0.28em;
    font-size: 0.72rem;
  }

  .hm-content h2 {
    letter-spacing: 0.16em;
    margin-bottom: 1.25rem;
  }

  .hm-content p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .hm-contact h3 {
    letter-spacing: 0.18em;
  }

  .hm-contact-item {
    font-size: 0.96rem;
  }

  .hm-contact-icon {
    width: 24px;
    height: 24px;
  }

  .hm-closing {
    font-size: 1.7rem;
  }

  .hm-right-line {
    top: 6.4rem;
    right: 0.85rem;
    width: 10px;
  }

  .hm-bottom-line {
    bottom: 4.9rem;
    height: 3px;
  }
}
