:root {
  --orange: #ec6320;
  --blue: #0f1d2e;
  --turquoise: #038f9d;
  --gray: #d6d6d6;
  --nude: #f8f5f2;
  --white: #ffffff;
  --ink-soft: rgba(15, 29, 46, 0.72);
  --panel: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(15, 29, 46, 0.18);
  --display: "Hyperspace Race Variable", "Montserrat", sans-serif;
  --body: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--blue);
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--blue);
  background: var(--nude);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(15, 29, 46, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 29, 46, 0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

/* ─── Header ─── */

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1120px, calc(100% - 32px));
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(248, 245, 242, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(15, 29, 46, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.brand img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a { opacity: 0.78; transition: color .2s ease, opacity .2s ease; }
.nav-links a:hover { color: var(--orange); opacity: 1; }

/* ─── Buttons ─── */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  color: var(--white);
  background: var(--orange);
  font-weight: 900;
  font-size: .85rem;
  letter-spacing: 0.04em;
  transition: transform .2s ease, background .2s ease;
}

.cta:hover {
  background: #ff7130;
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  font-size: .85rem;
  color: var(--white);
  background: var(--blue);
  transition: transform .2s ease, background .2s ease;
}

.ghost:hover { background: #2a4058; }

.cta,
.ghost {
  line-height: 1;
}

/* ─── Hero ─── */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 24px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 86% 18%, rgba(3, 143, 157, 0.35), transparent 28%),
    radial-gradient(circle at 8% 82%, rgba(236, 99, 32, 0.24), transparent 26%),
    linear-gradient(135deg, var(--nude) 0%, var(--nude) 48%, #e6eeee 48%, #e6eeee 72%, var(--nude) 72%);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  transform: skewX(-28deg);
  opacity: 0.92;
}

.hero::before {
  width: 34vw;
  height: 120vh;
  right: -10vw;
  top: -10vh;
  background: rgba(3, 143, 157, 0.13);
}

.hero::after {
  width: 16vw;
  height: 54vh;
  left: -6vw;
  bottom: 3vh;
  background: rgba(236, 99, 32, 0.13);
}

.hero-grid {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 5px;
  background: var(--orange);
  border-radius: 99px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 0.95;
  letter-spacing: 0.015em;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  color: var(--blue);
  text-transform: uppercase;
}

.accent { color: var(--orange); }
.turquoise { color: var(--turquoise); }

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.8;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

/* ─── Sections ─── */

section { padding: clamp(48px, 8vw, 96px) 24px; }

.container { width: min(1120px, 100%); margin: 0 auto; }

.section-head {
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  text-transform: uppercase;
  color: var(--blue);
}

.section-head p,
.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.85;
}

/* ─── About ─── */

.about { background: var(--nude); }

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

.feature {
  position: relative;
  padding: 28px;
  min-height: 280px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: var(--orange);
}

.feature .number {
  color: rgba(15, 29, 46, 0.12);
  font-size: 4.6rem;
  font-weight: 900;
  line-height: 1;
}

.feature h3 {
  margin-top: 28px;
  font-size: 1.9rem;
  color: var(--blue);
  text-transform: uppercase;
}

.feature p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
  font-weight: 600;
}

/* ─── Shelf / Estantería ─── */

.shelf-section {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(15, 29, 46, .97), rgba(15, 29, 46, .93)),
    radial-gradient(circle at 30% 10%, rgba(3, 143, 157, .3), transparent 40%);
  padding: 150px 24px 96px;
}

.shelf-section h2 { color: var(--white); }
.shelf-section .section-head p { color: rgba(255,255,255,.7); }

.shelf-scene {
  position: relative;
}

.shelf {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 14px;
}

.shelf-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 28px 8px 8px;
  position: relative;
  z-index: 1;
}

.shelf-board {
  position: relative;
  height: 22px;
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(180deg, #d4b88a, #c4a47a 40%, #b8945f);
  box-shadow:
    0 10px 30px rgba(0,0,0,.35),
    0 2px 0 rgba(255,255,255,.12) inset;
  z-index: 2;
}

.shelf-board::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #a07850, #8a6840);
}

.shelf-board::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 5%;
  width: 90%;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,.18);
  filter: blur(6px);
}

.shelf-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(6px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  cursor: default;
}

.shelf-item:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 99, 32, .4);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}

.shelf-item .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(236, 99, 32, .18), rgba(236, 99, 32, .04));
  border: 1px solid rgba(236, 99, 32, .12);
  color: var(--orange);
}

.shelf-item .icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.shelf-item h4 {
  margin: 0;
  font-family: var(--display);
  font-size: .88rem;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  line-height: 1.1;
}

/* ─── Brands ─── */

/* ─── Brands ─── */

.brands {
  background: linear-gradient(180deg, var(--nude), #eef4f4);
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 12px;
}

.brand-tile {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  color: var(--blue);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 14px 36px rgba(15, 29, 46, 0.09);
  transition: transform .22s ease, color .22s ease;
}

.brand-tile:hover { transform: translateY(-5px); color: var(--orange); }

/* ─── Location ─── */

.location { background: var(--white); }

.location-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}

.address-card {
  padding: 34px;
  border-radius: 30px;
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow);
}

.address-card h3 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  text-transform: uppercase;
}

.address-card p {
  margin: 20px 0 0;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  font-weight: 600;
}

.address-line {
  display: block;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: var(--turquoise);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.35;
}

.map {
  min-height: 420px;
  border: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  filter: saturate(.8) contrast(1.08);
  box-shadow: var(--shadow);
}

/* ─── Contact ─── */

.contact {
  position: relative;
  color: var(--white);
  background: var(--blue);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
}

.contact .container { position: relative; }

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 38px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
}

.contact h2 { color: var(--white); }

.contact p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.74);
  line-height: 1.75;
  font-weight: 600;
}

.contact-links {
  display: grid;
  gap: 12px;
  min-width: 270px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.contact-link:hover { background: rgba(255,255,255,.13); }

.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-label svg {
  width: 22px;
  height: 22px;
  display: block;
  color: var(--turquoise);
}

/* ─── Footer ─── */

footer {
  padding: 28px 24px;
  color: rgba(255,255,255,.65);
  background: #0b1725;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}

/* ─── Animations ─── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: reveal .78s ease forwards;
}

.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .22s; }
.delay-3 { animation-delay: .32s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─── */

@media (max-width: 960px) {
  .nav-links { display: none; }
  .section-head,
  .location-grid,
  .contact-box { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .shelf-products { grid-template-columns: repeat(3, 1fr); }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .brand-tile:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-header { top: 10px; width: calc(100% - 20px); }
  .brand span { display: none; }
  .hero { padding-top: 118px; }
  h1 { font-size: clamp(2.2rem, 12vw, 3.6rem); }
  .shelf-products { grid-template-columns: repeat(2, 1fr); }
  .shelf-item { padding: 16px 10px 14px; }
  .shelf-item h4 { font-size: .78rem; }
  .contact-links { min-width: 0; }
  .map { min-height: 330px; }
}

/* ─── Modal ─── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 29, 46, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: relative;
  display: flex;
  gap: clamp(24px, 4vw, 40px);
  align-items: flex-start;
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 32px;
  background: var(--nude);
  box-shadow: 0 40px 100px rgba(15, 29, 46, 0.42);
  transform: translateY(24px) scale(0.96);
  transition: transform .32s ease;
}

.modal-overlay.visible .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 99px;
  background: rgba(15, 29, 46, 0.08);
  color: var(--ink-soft);
  font-size: 1.02rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  z-index: 1;
}

.modal-close:hover {
  background: var(--orange);
  color: var(--white);
}

.modal-icon {
  flex-shrink: 0;
  width: clamp(100px, 18vw, 140px);
  height: clamp(100px, 18vw, 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ff8b57);
}

.modal-icon svg {
  width: clamp(48px, 8vw, 64px);
  height: clamp(48px, 8vw, 64px);
}

.modal-body {
  flex: 1;
  min-width: 0;
}

.modal-body h3 {
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  color: var(--blue);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.modal-desc {
  color: var(--ink-soft);
  line-height: 1.75;
  font-weight: 600;
  font-size: .95rem;
}

.modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.spec-chip {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(15, 29, 46, 0.14);
  border-radius: 99px;
  background: var(--white);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
}

.modal-wa {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
}

.modal-footnote {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  opacity: .64;
}

@media (max-width: 620px) {
  .modal {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
  }
  .modal-icon {
    width: 88px;
    height: 88px;
  }
  .modal-icon svg {
    width: 42px;
    height: 42px;
  }
  .modal-specs { justify-content: center; }
}
