@font-face {
  font-family: "Seat BCN";
  src:
    url("fonts/seat-bcn-regular.woff2") format("woff2"),
    url("fonts/seat-bcn-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Seat BCN";
  src:
    url("fonts/seat-bcn-bold.woff2") format("woff2"),
    url("fonts/seat-bcn-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-width: 320px;
  background: #ffffff;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  color: #ffffff;
  font-family: "Seat BCN", sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.page {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  width: calc(100% - 100px);
  margin: 0 auto;
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 32px;
  padding-bottom: 50px;
}

.site-header {
  display: flex;
  align-items: center;
  height: 74px;
  width: min(100% - 48px, 1280px);
  flex-shrink: 0;
  margin: 0 auto;
  color: #101010;
}

.header-divider {
  width: 1px;
  height: 40px;
  margin: 0 18px;
  background: #d5d5d5;
}

.seat-logo {
  font-family: "Seat BCN", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1;
  text-decoration: none;
}

.hero {
  position: relative;
  flex: 1;
  min-height: 220px;
  background: url("hero.png") center / cover;
  border-radius: 20px;
}

.hero-content {
  position: relative;
  width: min(100% - 48px, 1280px);
  height: 80vh;
  margin: 0 auto;
}

.hero-content__wrapper {
  position: absolute;
  top: 50%;
  
  left: 0;
  transform: translateY(-50%);

  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 38px 0 44px;
  
  border-radius: 20px;
}

.hero h1 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
}

.hero-description {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.35;
  max-width: 590px;
}

.hero-description > a {
  text-decoration: none;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: #ffffff;
  color: #ea5d1b;
  font-size: 16px;
  line-height: 1.375;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 150ms ease;
}

.hero-button:hover {
  background: #e9e9e9;
}

.hero-button:focus-visible,
.seat-logo:focus-visible,
.hero-description a:focus-visible {
  outline: 2px solid #1688d4;
  outline-offset: 4px;
}
@media (max-width: 1600px) {
  .hero {
    background: url("hero.png") 80% 0 / cover;
  }
}
 

@media (max-width: 640px) {
  :root {
    --mobile-content-gutter: 20px;
  }

  .page {
    width: calc(100% - 30px);
    height: 100dvh;
    min-height: 100dvh;
  }

  main {
    min-height: 0;
    padding: 0;
    padding-top:20px;
    padding-bottom: 20px;
  }

  .site-header {
    width: 100%;
    padding-right: var(--mobile-content-gutter);
    padding-left: var(--mobile-content-gutter);
  }

  .header-divider {
    height: 34px;
  }

  .seat-logo {
    font-size: 18px;
  }

  .hero {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    background: none;
    border-radius: 20px;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    height: 100%;
    background: url("hero-mobile.png") center / cover;
    border-radius: inherit;
  }

  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0 var(--mobile-content-gutter) 88px;
  }

  .hero-content__wrapper {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    transform: none;
    border-radius: 10px;
  }
}
