:root {
  --orange: #f28b00;
  --orange-light: #ffab2e;
  --ink: #151515;
  --paper: #fff;
  --muted: #d8d8d8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(100deg, rgba(8, 8, 8, .94) 0%, rgba(8, 8, 8, .82) 48%, rgba(8, 8, 8, .43) 100%),
    url("../images/jed-fondo.png") center / cover no-repeat;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: grid;
  grid-template-rows: 1fr auto;
}

.site-shell {
  display: grid;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px);
}

.content {
  width: min(640px, 100%);
}

.logo {
  display: block;
  width: clamp(150px, 22vw, 230px);
  height: auto;
  margin: 0 0 clamp(28px, 5vh, 52px);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .2);
}

.message {
  position: relative;
  padding-left: clamp(18px, 2.4vw, 28px);
  border-left: 5px solid var(--orange);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange-light);
  font-size: clamp(.73rem, 1.1vw, .86rem);
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 6.4vw, 5rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}

.intro {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 5vh, 42px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--paper);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.button svg {
  width: 19px;
  height: 19px;
  margin-right: 9px;
  fill: currentColor;
}

.button-primary {
  background: var(--orange);
}

.button-secondary {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(5px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d97800;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--paper);
  background: rgba(255, 255, 255, .16);
}

a:focus-visible {
  outline: 3px solid var(--orange-light);
  outline-offset: 4px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
  font-style: normal;
}

.contact-details a {
  color: var(--paper);
  font-size: .95rem;
  font-weight: 650;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 4px;
}

.contact-details span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

footer {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 clamp(28px, 5vw, 72px) 24px;
  color: rgba(255, 255, 255, .58);
  font-size: .78rem;
  letter-spacing: .03em;
}

footer p {
  margin: 0;
}

@media (max-width: 640px) {
  body {
    background:
      linear-gradient(rgba(8, 8, 8, .82), rgba(8, 8, 8, .88)),
      url("../images/jed-fondo.png") 62% center / cover no-repeat;
  }

  .site-shell {
    align-items: start;
    padding-top: 34px;
  }

  .logo {
    width: 142px;
    margin-bottom: 34px;
    border-radius: 13px;
  }

  .message {
    border-left-width: 4px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .contact-details {
    gap: 10px 12px;
  }

  .contact-details .email {
    flex-basis: 100%;
    overflow-wrap: anywhere;
  }

  .contact-details span:last-of-type {
    display: none;
  }
}

@media (max-height: 720px) and (min-width: 641px) {
  .site-shell {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .logo {
    width: 145px;
    margin-bottom: 24px;
  }

  .actions {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
