:root {
  --black: #05070a;
  --black-2: #0c1016;
  --white: #ffffff;
  --muted: #cfd3da;
  --red: #e10812;
  --red-dark: #98040a;
  --yellow: #f6d318;
  --green: #0aa53b;
  --line: rgba(255,255,255,.16);
  --shadow: 0 24px 70px rgba(0,0,0,.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--black);
  color: var(--white);
}

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

.site-header {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 35%, rgba(0, 102, 255, .22), transparent 34%),
    radial-gradient(circle at 22% 42%, rgba(225, 8, 18, .16), transparent 28%),
    linear-gradient(180deg, #05070a 0%, #090d12 58%, #05070a 100%);
}

/* Topbar */
.topbar {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  color: var(--muted);
}

.topbar__info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar__info a:hover {
  color: var(--white);
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 12px 32px rgba(225, 8, 18, .35);
}

/* Navbar */
.navbar {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  width: 150px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.7));
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  margin-left: auto;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .05em;
}

.menu a {
  color: rgba(255,255,255,.82);
  position: relative;
  padding: 12px 0;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
  transition: width .22s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--white);
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
}

/* Hero */
.hero {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  align-items: center;
  gap: 20px;
  position: relative;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: -120px -16vw 0 -16vw;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5,7,10,.97) 0%, rgba(5,7,10,.78) 38%, rgba(5,7,10,.34) 62%, rgba(5,7,10,.92) 100%),
    url("assets/header-referencia.png") center / cover no-repeat;
  opacity: .48;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(110deg, transparent 0 12px, rgba(255,255,255,.018) 12px 13px),
    linear-gradient(180deg, transparent 0%, rgba(5,7,10,.55) 78%, #05070a 100%);
}

.hero__overlay {
  position: absolute;
  inset: 18% auto auto -12%;
  width: 430px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.025);
  box-shadow: inset 0 0 0 22px rgba(255,255,255,.016);
  z-index: -2;
}

.hero__content {
  padding: 34px 0 64px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Bebas Neue", Impact, sans-serif;
  line-height: .86;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(0,0,0,.75);
}

h1 span {
  display: block;
  font-size: clamp(5rem, 13vw, 10.8rem);
  color: var(--white);
}

h1 strong {
  display: inline-block;
  font-size: clamp(2rem, 5.2vw, 4.4rem);
  color: var(--yellow);
  font-style: normal;
  margin-right: .18em;
  position: relative;
}

h1 strong::before,
h1 strong::after {
  content: "";
  display: inline-block;
  width: clamp(36px, 8vw, 92px);
  height: 7px;
  margin: 0 18px 12px 0;
  background: linear-gradient(90deg, transparent, var(--red));
  vertical-align: middle;
}

h1 strong::after {
  margin: 0 0 12px 18px;
  background: linear-gradient(90deg, var(--red), transparent);
}

h1 em {
  display: block;
  font-size: clamp(4.6rem, 12vw, 9rem);
  font-style: normal;
  color: var(--white);
}

h1 em::first-letter {
  color: var(--green);
}

h1 em {
  background: linear-gradient(90deg, var(--green) 0 21%, var(--white) 21% 76%, var(--red) 76% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  max-width: 590px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}

.benefits article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  align-items: center;
}

.benefits span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: rgba(0,0,0,.3);
  box-shadow: 0 0 22px rgba(225,8,18,.18);
}

.benefits b {
  align-self: end;
  text-transform: uppercase;
  font-size: .9rem;
}

.benefits small {
  align-self: start;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 44px rgba(225, 8, 18, .28);
}

.btn--ghost {
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.28);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.08);
}

.hero__logo-card {
  justify-self: center;
  width: min(560px, 100%);
  transform: rotate(-1deg);
  filter: drop-shadow(var(--shadow));
}

.hero__logo-card img {
  width: 100%;
  display: block;
}

/* Services strip */
.services-strip {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 34px;
}

.services-strip article {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.services-strip article:last-child {
  border-right: 0;
}

.services-strip span {
  font-size: 2rem;
  filter: saturate(1.5);
}

.services-strip p {
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
  font-size: .86rem;
  line-height: 1.35;
  color: rgba(255,255,255,.86);
}

@media (max-width: 980px) {
  .topbar {
    justify-content: center;
  }

  .topbar__cta {
    display: none;
  }

  .navbar {
    min-height: 76px;
  }

  .brand {
    width: 118px;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(5,7,10,.96);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    display: block;
    padding: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 34px;
  }

  .hero__content {
    padding-top: 18px;
    text-align: center;
  }

  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__logo-card {
    order: -1;
    width: min(390px, 88vw);
  }

  .services-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-strip article {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .topbar {
    font-size: .78rem;
    padding: 10px 0;
  }

  .topbar__info {
    justify-content: center;
    gap: 9px 14px;
  }

  .hero {
    width: min(100% - 22px, 1200px);
  }

  h1 strong::before,
  h1 strong::after {
    display: none;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
  }

  .btn {
    width: 100%;
    padding: 0 18px;
    font-size: .86rem;
  }

  .services-strip {
    width: 100%;
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  .services-strip article {
    justify-content: flex-start;
  }
}
