:root {
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #181818;
  --red: #e10600;
  --red-dark: #a50500;
  --white: #f7f7f5;
  --muted: #a8a8a6;
  --line: rgba(255, 255, 255, 0.11);
  --display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
  --max: 1180px;
  --radius: 20px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  position: relative;
  padding: 112px 0;
}

.section-tight {
  padding: 72px 0;
}

.surface {
  background: var(--black-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.75rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.section-title {
  max-width: 760px;
}

.section-intro {
  max-width: 650px;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 1.08rem;
}

.lead {
  color: #d3d3d0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.red {
  color: var(--red);
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 13px 24px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: 180ms ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(225, 6, 0, 0.22);
}

.btn-primary:hover {
  background: #ff1008;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--line);
  background: rgba(10, 10, 10, 0.45);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.text-link {
  color: var(--white);
  font-weight: 700;
}

.text-link:hover {
  color: var(--red);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--line);
  background: var(--black);
  backdrop-filter: blur(16px);
  transition: 200ms ease;
}

.site-header.is-scrolled,
.site-header.subpage-header {
  border-color: var(--line);
  background: var(--black);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--red);
  font-size: 1.45rem;
  transform: skew(-8deg);
}

.brand-mark span {
  transform: skew(8deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a:not(.btn) {
  position: relative;
  padding: 8px 0;
  color: #d5d5d2;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #161616;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: rgba(225, 6, 0, 0.75);
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--red);
  background: var(--red);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: 180ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: grid;
  min-height: 860px;
  align-items: center;
  padding: 150px 0 96px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.99) 0%, rgba(10, 10, 10, 0.86) 36%, rgba(10, 10, 10, 0.22) 74%, rgba(10, 10, 10, 0.55) 100%),
    linear-gradient(0deg, var(--black) 0%, transparent 24%),
    url("../images/xhub-hero.jpg") center / cover no-repeat;
}

.hero-content {
  max-width: 760px;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero h1 {
  max-width: none;
  font-size: clamp(2.25rem, 4.6vw, 4.2rem);
}

.hero .hero-line {
  display: block;
  white-space: nowrap;
}

.hero .hero-line-white {
  color: var(--white);
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 34px;
  color: #c9c9c6;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.proof-bar {
  position: relative;
  z-index: 2;
  margin-top: 0;
  background: var(--red);
}

.proof-inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1.5fr;
  min-height: 126px;
  align-items: center;
  border-left: 0;
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.proof-item {
  padding: 24px 42px;
}

.proof-value {
  display: block;
  font-family: var(--display);
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

.proof-item:last-child .proof-value {
  white-space: nowrap;
}

.proof-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-divider {
  width: 1px;
  height: 56px;
  background: rgba(10, 10, 10, 0.28);
}

.stars {
  color: var(--black);
  letter-spacing: 0.08em;
}

.proof-bar .proof-label {
  color: rgba(10, 10, 10, 0.72);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.about-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.12), rgba(10, 10, 10, 0.56)),
    url("../images/xhub-hero.jpg") 60% center / cover no-repeat;
  box-shadow: var(--shadow);
}

.about-panel::before,
.about-panel::after {
  display: none;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}

.feature {
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.feature strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.feature span {
  color: var(--muted);
  font-size: 0.92rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.games-section {
  background: var(--black);
}

.service-card {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  background: #121212;
  transition: 220ms ease;
}

.service-card::after {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(225, 6, 0, 0.22);
  border-radius: 50%;
  content: "";
}

.service-card:hover {
  border-color: rgba(225, 6, 0, 0.7);
  background: #161616;
  transform: translateY(-5px);
}

.service-icon {
  display: grid;
  width: 55px;
  height: 55px;
  margin-bottom: 32px;
  place-items: center;
  border: 1px solid rgba(225, 6, 0, 0.5);
  border-radius: 10px;
  background: rgba(225, 6, 0, 0.08);
  color: var(--red);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.trade-note {
  display: flex;
  margin-top: 22px;
  margin-bottom: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 30px;
  background: linear-gradient(90deg, rgba(225, 6, 0, 0.13), #121212 58%);
}

.trade-note p {
  margin: 0;
  color: #d4d4d1;
}

.retail-strip {
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
  background: var(--red);
  color: white;
}

.retail-strip .red {
  color: var(--black);
}

.retail-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
}

.retail-title {
  padding: 45px 60px 45px 0;
}

.retail-title h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
}

.retail-copy {
  position: relative;
  padding: 48px 0 48px 70px;
  color: #fff;
}

.retail-copy::before {
  position: absolute;
  top: -80px;
  bottom: -80px;
  left: 0;
  width: 1px;
  background: rgba(10, 10, 10, 0.34);
  content: "";
  transform: rotate(12deg);
}

.retail-copy p {
  max-width: 650px;
  margin: 0;
  font-size: 1.05rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
}

.contact-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #121212;
}

.contact-card {
  padding: 44px;
}

.contact-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:first-of-type {
  padding-top: 0;
}

.contact-row:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-label {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.map-wrap {
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #151515;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 510px;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(1.1);
}

.site-footer {
  padding: 74px 0 28px;
  border-top: 1px solid var(--line);
  background: #070707;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr 0.8fr;
  gap: 54px;
  padding-bottom: 54px;
}

.footer-brand p {
  max-width: 340px;
  margin: 22px 0 0;
  color: var(--muted);
}

.footer-title {
  margin-bottom: 20px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a,
.footer-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--red);
}

.socials {
  display: flex;
  gap: 10px;
}

.social-link {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 800;
  transition: 180ms ease;
}

.social-link:hover {
  border-color: var(--red);
  background: var(--red);
}

.brand-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.whatsapp-float .brand-icon {
  width: 29px;
  height: 29px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  color: #737371;
  font-size: 0.82rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 800;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #25d366;
  color: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.36);
  font-size: 1.35rem;
  font-weight: 900;
  transition: 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 590px;
  align-items: end;
  overflow: hidden;
  padding: 180px 0 85px;
  background:
    radial-gradient(circle at 75% 40%, rgba(225, 6, 0, 0.23), transparent 22%),
    linear-gradient(135deg, #101010 0%, #080808 65%);
}

.page-hero::after {
  position: absolute;
  top: 0;
  right: 8%;
  width: 320px;
  height: 100%;
  border-right: 1px solid rgba(225, 6, 0, 0.35);
  border-left: 1px solid rgba(225, 6, 0, 0.12);
  content: "";
  transform: skew(-13deg);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 18px;
}

.subpage .page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
}

.subpage main h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
}

.location-title {
  font-size: clamp(1.85rem, 3.6vw, 3.35rem);
}

.page-hero p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.story-block {
  border-top: 3px solid var(--red);
  padding-top: 26px;
}

.story-block p {
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  background: #121212;
}

.value-index {
  display: block;
  margin-bottom: 50px;
  color: var(--red);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 900;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.form-card {
  padding: 44px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0b0b0b;
  color: var(--white);
  padding: 14px 16px;
  outline: 0;
  transition: 180ms ease;
}

.field input {
  min-height: 54px;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}

.form-note,
#form-status {
  color: var(--muted);
  font-size: 0.83rem;
}

#form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
}

@media (max-width: 980px) {
  .section {
    padding: 88px 0;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .about-panel {
    order: 2;
    min-height: 420px;
  }

  .proof-inner {
    grid-template-columns: 1fr 1px 1fr;
  }

  .proof-item:last-child {
    display: block;
    grid-column: 1 / -1;
    border-top: 1px solid rgba(10, 10, 10, 0.24);
    text-align: center;
  }

  .proof-divider:nth-of-type(2) {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .story-grid {
    gap: 44px;
  }
}

@media (max-width: 760px) {
  .container {
    width: auto;
    margin-inline: 15px;
  }

  .section {
    padding: 72px 0;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 36px 24px;
    background: rgba(7, 7, 7, 0.98);
    opacity: 0;
    transform: translateY(-12px);
    transition: 180ms ease;
  }

  body.menu-open .site-header {
    border-color: var(--line);
    background: #0a0a0a;
  }

  .nav-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu a:not(.btn) {
    display: block;
    padding: 14px 4px;
    font-family: var(--display);
    font-size: 1.5rem;
  }

  .nav-menu .btn {
    margin-top: 12px;
  }

  .hero {
    min-height: 760px;
    padding-top: 130px;
    background:
      linear-gradient(90deg, rgba(10, 10, 10, 0.97), rgba(10, 10, 10, 0.55)),
      linear-gradient(0deg, var(--black), transparent 40%),
      url("../images/xhub-hero.jpg") 64% center / cover no-repeat;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.45rem);
  }

  .hero .hero-line-white {
    max-width: 100%;
    white-space: normal;
  }

  .hero .container,
  .hero-content {
    min-width: 0;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .eyebrow::before {
    width: 20px;
  }

  .proof-bar {
    margin-top: 0;
  }

  .proof-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 10px 0;
  }

  .proof-item {
    padding: 18px 20px;
    text-align: center;
  }

  .proof-value {
    font-size: 2rem;
  }

  .proof-item:last-child {
    grid-column: auto;
    border-top: 0;
  }

  .proof-item:last-child .proof-value {
    font-size: clamp(1.05rem, 5.5vw, 1.5rem);
  }

  .proof-divider,
  .proof-divider:nth-of-type(2) {
    display: block;
    width: calc(100% - 40px);
    height: 1px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.24);
  }

  .services-grid,
  .value-grid,
  .story-grid,
  .feature-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
  }

  .trade-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .retail-inner {
    grid-template-columns: 1fr;
  }

  .retail-title {
    padding: 38px 0 14px;
  }

  .retail-copy {
    padding: 0 0 38px;
  }

  .retail-copy::before {
    display: none;
  }

  .contact-card,
  .form-card {
    padding: 30px 24px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 410px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    min-height: 520px;
    padding: 150px 0 65px;
  }

  .subpage .page-hero h1 {
    font-size: min(8.5vw, 3rem);
  }

  .subpage main h2 {
    font-size: clamp(1.75rem, 7.5vw, 2.6rem);
  }

  .location-title {
    font-size: clamp(1.7rem, 7.2vw, 2.5rem);
  }

  .field-full {
    grid-column: auto;
  }
}

@media (max-width: 440px) {
  .brand-text {
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .proof-item {
    padding: 18px 14px;
  }

  .proof-label {
    letter-spacing: 0.06em;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 54px;
    height: 54px;
  }
}

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