@font-face {
  font-family: "Friz Quadrata";
  src: url("assets/fonts/friz-quadrata-std-medium-5870338ec7ef8.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

:root {
  --stripe-height: clamp(110px, 20vh, 210px);
  --stripe-center-offset: -8vh;
  --text-color: rgb(241, 193, 118);
  --shadow-color: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Friz Quadrata", serif;
  color: var(--text-color);
  background: #1d1712 url("assets/img/web_fondo.jpg") center center / cover no-repeat fixed;
}

.landing {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0 0 clamp(28px, 6vh, 52px);
}

.brand-zone {
  position: relative;
  width: 100%;
  height: var(--stripe-height);
  margin-top: calc(50dvh - (var(--stripe-height) / 2) + var(--stripe-center-offset));
}

.brand-stripe {
  position: absolute;
  inset: 0;
  background-image: url("assets/logos/MolgrabiaV2_fondo.svg");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  opacity: 0.98;
}

.brand-name {
  position: absolute;
  inset: 0;
  height: 100%;
  width: auto;
  max-width: min(100vw, 1200px);
  margin: auto;
  display: block;
}

.subtitle {
  margin: clamp(10px, 1.8vh, 20px) 0 0;
  padding: 0 clamp(16px, 4vw, 48px);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px var(--shadow-color);
}

.reopen {
  margin-top: auto;
  margin-bottom: clamp(22px, 4vh, 40px);
  padding: 0 clamp(16px, 4vw, 48px);
  font-size: clamp(1.22rem, 2.4vw, 1.95rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px var(--shadow-color);
}

@media (max-width: 640px) {
  :root {
    --stripe-height: clamp(125px, 24vh, 210px);
    --stripe-center-offset: -6vh;
  }

  .subtitle {
    font-size: clamp(1.55rem, 4.8vw, 2rem);
  }

  .reopen {
    font-size: clamp(1.55rem, 4.6vw, 2rem);
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .subtitle {
    font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  }

  .reopen {
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  }
}
