@font-face {
  font-family: "Albert Sans";
  src: url("./assets/fonts/used/albert-sans-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Albert Sans";
  src: url("./assets/fonts/used/albert-sans-variable-italic.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-background: #020202;
  --color-background-soft: rgba(7, 7, 10, 0.68);
  --color-surface-line: rgba(255, 255, 255, 0.18);
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 1);
  --color-text-soft: rgba(246, 241, 235, 0.76);
  --color-highlight: rgba(255, 255, 255, 0.24);
  --page-max-width: 62rem;
  --font-primary: "Jost", "Albert Sans", sans-serif;
  --font-body: "Albert Sans", sans-serif;
  --font-footer-future: "Albert Sans", sans-serif;

  --page-background-image: url("./assets/images/backgrounds/fondo.png");
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-background);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 0, 0, 0) 18%,
      rgba(0, 0, 0, 0.14) 48%,
      rgba(0, 0, 0, 0.56) 100%
    ),
    var(--page-background-image);
  background-color: var(--color-background);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 18%, transparent 62%, rgba(0, 0, 0, 0.18) 100%);
  opacity: 0.82;
}

body::after {
  background:
    radial-gradient(circle at 8% 78%, rgba(214, 172, 123, 0.12), transparent 14%),
    radial-gradient(circle at 51% 67%, rgba(197, 230, 255, 0.08), transparent 14%),
    linear-gradient(180deg, transparent 0%, transparent 58%, rgba(0, 0, 0, 0.36) 78%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 0.78;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.landing-page {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(2rem, 4vw, 3rem);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.25rem, 3vw, 2.8rem);
  width: min(100%, var(--page-max-width));
  text-align: center;
  text-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.65);
}

.hero__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.hero__title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(3.8rem, 5vw, 7rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__subtitle {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
  width: min(100%, 42rem);
  font-family: var(--font-footer-future);
}

.hero__supporting-copy {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.1rem, 0.95vw, 1.16rem);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0.72rem;
  color: var(--color-text);
}

.contact-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  row-gap: 0.45rem;
  width: auto;
  color: var(--color-text-muted);
}

.contact-link,
.hero__address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: clamp(1rem, 1vw, 1.22rem);
  font-style: normal;
  line-height: 1.45;
}

.contact-link img,
.hero__address img {
  flex: none;
  width: auto;
  height: 1.1rem;
}

.contact-link img {
  max-width: 1.25rem;
}

.hero__address img {
  width: 0.76rem;
  height: 0.96rem;
  max-width: none;
  margin-top: 0.18rem;
}

.contact-separator {
  color: var(--color-text-soft);
}

.hero__address {
  display: grid;
  grid-template-columns: 0.76rem auto;
  align-items: start;
  justify-content: center;
  column-gap: 0.3rem;
  width: fit-content;
  max-width: min(100%, 40rem);
  color: var(--color-text-muted);
}

.address-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.address-line {
  display: block;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    box-shadow 180ms ease;
}

.social-link img {
  width: 2rem;
  height: 2rem;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-0.12rem);
  opacity: 0.9;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.28);
}

.social-link:focus-visible,
.contact-link:focus-visible {
  outline: 0.14rem solid rgba(255, 255, 255, 0.9);
  outline-offset: 0.22rem;
}

@media (max-width: 900px) {
  body::before {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.032) 0,
        rgba(255, 255, 255, 0.032) 3.4rem,
        transparent 3.4rem,
        transparent 16%,
        rgba(255, 255, 255, 0.03) 16%,
        rgba(255, 255, 255, 0.03) calc(16% + 0.16rem),
        transparent calc(16% + 0.16rem),
        transparent 50%,
        rgba(255, 255, 255, 0.032) 50%,
        rgba(255, 255, 255, 0.032) calc(50% + 0.14rem),
        transparent calc(50% + 0.14rem),
        transparent 84%,
        rgba(255, 255, 255, 0.028) 84%,
        rgba(255, 255, 255, 0.028) calc(84% + 0.14rem),
        transparent calc(84% + 0.14rem),
        transparent 100%
      );
  }

  .hero__content {
    width: min(100%, 35rem);
    gap: 2rem;
  }

  .hero__footer {
    width: min(100%, 32rem);
  }

  .contact-group {
    gap: 0.85rem;
  }

  .contact-separator {
    display: none;
  }

  .contact-group {
    gap: 0.72rem;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 2rem 1.5rem;
  }

  .hero__content {
    width: min(100%, 31rem);
    gap: 1.7rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 9.2vw, 4.65rem);
    line-height: 0.98;
  }

  .hero__subtitle {
    font-size: clamp(1.7rem, 6vw, 2.3rem);
    letter-spacing: 0.055em;
  }

  .hero__supporting-copy {
    max-width: 20rem;
    font-size: 1.1rem;
    line-height: 1.42;
  }

  .contact-link,
  .hero__address {
    font-size: clamp(1.1rem, 3.8vw, 1.14rem);
  }

  .hero__address {
    max-width: 23rem;
  }

  .address-line {
    display: block;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-inline: 1.2rem;
  }

  .hero__content {
    gap: 1.45rem;
  }

  .hero__title {
    letter-spacing: 0.035em;
  }

  .hero__subtitle {
    font-size: 1.4rem;
  }

  .contact-link {
    gap: 0.6rem;
  }

  .social-links {
    gap: 0.85rem;
  }
}
