@layer components {
  .hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: #fff;
    background:
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
      url("../../img/capa.jpg") center / cover no-repeat;
  }

  .navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 20;
    width: min(calc(100% - 32px), 1100px);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(22, 12, 8, 0.66);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .menu {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    list-style: none;
  }

  .menu a {
    color: #fff;
    text-decoration: none;
  }

  .menu a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .menu-toggle {
    display: none;
    border: none;
    background: none;
    color: #fff;
    font-size: 1.8rem;
  }

  .hero-divisor {
    --hero-art-width: min(100%, 640px);
    --hero-art-height: clamp(220px, 28vw, 400px);
    flex: 1;
    max-width: 1300px;
    padding: 112px 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .hero-left,
  .hero-content,
  .hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    margin: 1em 0;
    font-size: 1.17em;
    font-weight: 700;
    font-family: inherit;
    color: inherit;
    text-shadow:
      0 0 8px rgba(235, 212, 65, 0.55),
      0 2px 6px rgba(235, 212, 65, 0.35);
  }

  .hero-content h2 {
    margin: 1.67em 0;
    font-size: 0.83em;
    font-weight: 700;
    font-family: inherit;
    color: inherit;
    letter-spacing: normal;
    text-transform: none;
  }

  .carousel {
    width: calc(var(--hero-art-width) * 0.672);
    height: calc(var(--hero-art-height) * 0.672);
    overflow: hidden;
  }

  .logo-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.8vw, 18px);
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
  }

  .logo-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hero-main-logo {
    width: var(--hero-art-width);
    height: var(--hero-art-height);
  }

  .hero-main-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
