:root {
  --bg: #00180d;
  --surface: #002415;
  --text: #f5f7f5;
  --muted: #d0d7d2;
  --accent: #79ff00;
  --line: rgba(255, 255, 255, 0.72);
  --max-width: 1440px;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 15, 8, .70) 0%, rgba(0, 15, 8, .30) 40%, rgba(0, 15, 8, .02) 75%),
    url("assets/bg-hero-desktop.webp") center right / cover no-repeat;
}


.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 13, 7, .10), rgba(0, 13, 7, .25)),
    radial-gradient(circle at 14% 45%, rgba(0, 0, 0, .10), rgba(0, 0, 0, 0) 52%);
}

.hero__header,
.hero__content {
  width: min(calc(100% - 96px), var(--max-width));
  margin-inline: auto;
}

.hero__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(30px, 5vh, 62px);
}

.brand {
  width: clamp(178px, 15vw, 270px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0px 4px 12px rgba(255, 255, 255, 0.5));
}

.brand-line {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(10px, .78vw, 13px);
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__content {
  padding-top: clamp(82px, 12vh, 150px);
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 25px;
  color: var(--accent);
  font-size: clamp(12px, .9vw, 16px);
  font-weight: 700;
  letter-spacing: .35em;
  text-transform: uppercase;
}

h1 {
  max-width: 790px;
  margin: 0;
  color: var(--text);
  font-size: clamp(46px, 4.2vw, 78px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: .99;
  text-wrap: balance;
}

h1 span {
  color: var(--accent);
}

.hero__copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.28vw, 22px);
  font-weight: 400;
  line-height: 1.52;
}

.divider {
  width: 110px;
  height: 1px;
  margin: 38px 0 26px;
  background: var(--line);
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 520;
  transition: opacity .18s ease, transform .18s ease;
}

.contact:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.contact:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 4px;
}

.contact img {
  width: 34px;
  height: 34px;
}

@media (max-width: 1000px) {
  .hero__header,
  .hero__content {
    width: min(calc(100% - 56px), var(--max-width));
  }

  .brand-line {
    letter-spacing: .28em;
  }

  .hero__content {
    padding-top: 100px;
  }

  h1 {
    max-width: 690px;
  }

  .hero__copy {
    max-width: 570px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    background:
      linear-gradient(180deg, rgba(0, 17, 10, .82) 0%, rgba(0, 17, 10, .67) 48%, rgba(0, 17, 10, .27) 100%),
      url("assets/bg-hero-mobile.webp") center / cover no-repeat;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    top: -190px;
    left: -105px;
  }

  .hero::after {
    width: 430px;
    height: 430px;
    left: -270px;
    bottom: -310px;
  }

  .hero__header,
  .hero__content {
    width: min(calc(100% - 40px), 640px);
  }

  .hero__header {
    padding-top: 28px;
  }

  .brand {
    width: 170px;
  }

  .brand-line {
    display: none;
  }

  .hero__content {
    padding-top: 96px;
    padding-bottom: 52px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: .28em;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(43px, 12vw, 62px);
    line-height: 1.01;
  }

  .desktop-break {
    display: none;
  }

  .hero__copy {
    max-width: 510px;
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.55;
  }

  .divider {
    margin-top: 34px;
  }
}

@media (max-width: 420px) {
  .hero__header,
  .hero__content {
    width: calc(100% - 32px);
  }

  .brand {
    width: 150px;
  }

  .hero__content {
    padding-top: 78px;
  }

  h1 {
    font-size: clamp(40px, 12.4vw, 52px);
  }

  .hero__copy {
    font-size: 16px;
  }

  .contact {
    gap: 14px;
    font-size: 16px;
  }

  .contact img {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact {
    transition: none;
  }
}

.texto-principal {
  color: #ffffff;
  /* El primer valor es horizontal, el segundo vertical, el tercero el difuminado (blur) y luego el color */
  text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.9), 0px 2px 4px rgba(0, 0, 0, 0.7);
}
