/* ==========================================================================
   BUG OUT — Design tokens
   ========================================================================== */
:root {
  --orange: #FF780C;
  --orange-dark: #E0680A;
  --cream: #EEE8CE;
  --cream-dim: #ddd6b8;
  --navy: #243C58;
  --navy-deep: #172938;
  --navy-darker: #0f1c27;
  --ink: #14212e;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;

  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow--dark { color: var(--orange); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--solid {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(255,120,12,.6);
}
.btn--solid:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(255,120,12,.7); }

.btn--outline {
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid var(--navy-deep);
}
.btn--outline:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255,255,255,.08);
  color: var(--cream);
  padding: 10px;
  border-radius: 50%;
  position: relative;
}
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--ghost span {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.btn--lg { padding: 17px 34px; font-size: 15px; }

/* ==========================================================================
   Progress bar
   ========================================================================== */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--orange);
  width: 0%;
  z-index: 1000;
  transition: width .1s linear;
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(15, 28, 39, .85);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.4);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.nav__logo-mark { width: 42px; height: auto; }
.nav__links {
  display: flex;
  gap: 36px;
}
.nav__links a {
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  opacity: .85;
  position: relative;
  transition: opacity .2s;
}
.nav__links a:hover { opacity: 1; }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__burger span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy-darker);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,120,12,.16), transparent 60%),
    repeating-linear-gradient(100deg, rgba(238,232,206,.035) 0px, rgba(238,232,206,.035) 1px, transparent 1px, transparent 90px),
    linear-gradient(180deg, #0f1c27 0%, #14212e 45%, #0a1319 100%);
  animation: bgshift 22s ease-in-out infinite alternate;
}
@keyframes bgshift {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.08); }
}
.hero__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -160px 160px -80px rgba(0,0,0,.6), inset 0 160px 160px -100px rgba(0,0,0,.4);
  pointer-events: none;
}
.hero__logo {
  position: absolute;
  width: 640px;
  max-width: 90vw;
  opacity: .05;
  bottom: -140px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
  margin-top: 40px;
}
.hero__title {
  color: var(--cream);
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.02;
  margin-bottom: 26px;
}
.hero__title span { color: var(--orange); }
.hero__sub {
  color: rgba(238,232,206,.75);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 500;
}
.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn--outline { color: var(--cream); border-color: rgba(238,232,206,.4); }
.hero .btn--outline:hover { background: var(--cream); color: var(--navy-deep); border-color: var(--cream); }

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(238,232,206,.4);
  border-radius: 20px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrolldot 1.8s ease-in-out infinite;
}
@keyframes scrolldot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 8px; }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust {
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  transform: translateY(-1px);
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  z-index: 3;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 24px;
  border-right: 1px solid rgba(238,232,206,.1);
}
.trust__item:last-child { border-right: none; }
.trust__item svg { width: 30px; height: 30px; color: var(--orange); flex-shrink: 0; }
.trust__item div { display: flex; flex-direction: column; }
.trust__item strong { color: var(--cream); font-size: 14px; font-weight: 700; }
.trust__item span { color: rgba(238,232,206,.55); font-size: 12.5px; margin-top: 2px; }

/* ==========================================================================
   Section head
   ========================================================================== */
.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
  padding: 0 24px;
}
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; color: var(--navy-deep); }
.section-head p { color: #55647a; font-size: 17px; }
.section-head--light h2 { color: var(--cream); }
.section-head--light p { color: rgba(238,232,206,.65); }

/* ==========================================================================
   Kits
   ========================================================================== */
.kits {
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 32px 120px;
}
.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.kit-card {
  background: #fff;
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(20,33,46,.06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
}
.kit-card:hover { transform: translateY(-10px); box-shadow: 0 30px 50px -20px rgba(20,33,46,.25); }
.kit-card--featured { transform: scale(1.045); z-index: 2; }
.kit-card--featured:hover { transform: scale(1.045) translateY(-10px); }
.kit-card__ribbon {
  position: absolute;
  top: 20px; right: -34px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 40px;
  transform: rotate(40deg);
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.kit-card__media {
  height: 210px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.kit-card__media--urban { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.kit-card__media--trail { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.kit-card__media--apex { background: linear-gradient(135deg, var(--navy-deep), #0a1319); }
.kit-card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 40px);
}
.kit-card__badge {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0,0,0,.2);
  padding: 6px 14px;
  border-radius: 999px;
}
.kit-card__body {
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.kit-card__body h3 {
  font-size: 24px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: var(--navy-deep);
}
.kit-card__body > p {
  color: #5b6b80;
  font-size: 14.5px;
  margin-bottom: 20px;
}
.kit-card__list {
  margin-bottom: 26px;
  flex: 1;
}
.kit-card__list li {
  font-size: 14px;
  color: var(--navy-deep);
  padding: 9px 0;
  border-top: 1px solid #eee6cc;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kit-card__list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.kit-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
}
.price { font-size: 26px; font-weight: 800; color: var(--navy-deep); }

/* ==========================================================================
   Interior (what's inside)
   ========================================================================== */
.interior {
  background: var(--navy-deep);
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.interior::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,120,12,.12), transparent 70%);
}
.interior-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(238,232,206,.08);
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
}
.interior-item {
  background: var(--navy-deep);
  padding: 44px 36px;
  transition: background .3s;
}
.interior-item:hover { background: #1b2e40; }
.interior-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,120,12,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.interior-icon svg { width: 26px; height: 26px; color: var(--orange); }
.interior-item h4 { color: var(--cream); font-size: 17px; margin-bottom: 8px; }
.interior-item p { color: rgba(238,232,206,.55); font-size: 13.5px; }

/* ==========================================================================
   Marca / brand story
   ========================================================================== */
.marca {
  padding: 130px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.marca__row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.marca__text h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 24px;
  color: var(--navy-deep);
}
.marca__text > p {
  color: #55647a;
  font-size: 16.5px;
  margin-bottom: 44px;
}
.marca__stats {
  display: flex;
  gap: 44px;
}
.marca__stats strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--orange);
}
.marca__stats span {
  font-size: 13px;
  color: #55647a;
  font-weight: 600;
}
.marca__swatches {
  display: flex;
  gap: 18px;
  height: 380px;
}
.swatch {
  flex: 1;
  border-radius: 200px 200px 24px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 26px;
  transition: transform .4s var(--ease);
}
.swatch:hover { transform: translateY(-14px); }
.swatch--orange { background: var(--orange); margin-top: 40px; }
.swatch--cream { background: var(--cream-dim); border: 1px solid #ddd2a8; }
.swatch--navy { background: var(--navy); margin-top: 40px; }
.swatch__hex {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
}
.swatch--cream .swatch__hex { background: rgba(36,60,88,.12); color: var(--navy-deep); }

/* ==========================================================================
   Opinions
   ========================================================================== */
.opinions {
  background: var(--cream-dim);
  padding: 120px 32px;
}
.opinions-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.opinion {
  background: #fff;
  border-radius: var(--radius-m);
  padding: 34px 30px;
  margin: 0;
}
.opinion p {
  font-size: 15.5px;
  color: var(--navy-deep);
  margin-bottom: 22px;
  font-weight: 500;
}
.opinion footer {
  font-size: 13px;
  color: var(--orange);
  font-weight: 700;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-final {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%);
  padding: 140px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final__inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-final__logo { width: 90px; margin: 0 auto 28px; }
.cta-final h2 {
  color: var(--cream);
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 18px;
}
.cta-final p {
  color: rgba(238,232,206,.65);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-darker);
  padding: 80px 32px 0;
}
.footer__top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(238,232,206,.1);
}
.footer__brand img { width: 60px; margin-bottom: 18px; }
.footer__brand p { color: rgba(238,232,206,.5); font-size: 14px; max-width: 220px; }
.footer__col h5 {
  color: var(--cream);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  color: rgba(238,232,206,.55);
  font-size: 14px;
  padding: 6px 0;
  transition: color .2s;
}
.footer__col a:hover { color: var(--orange); }
.newsletter { display: flex; gap: 8px; margin-top: 4px; }
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(238,232,206,.2);
  background: rgba(238,232,206,.06);
  color: var(--cream);
  font-family: inherit;
  font-size: 13.5px;
}
.newsletter input::placeholder { color: rgba(238,232,206,.4); }
.newsletter input:focus { outline: none; border-color: var(--orange); }
.newsletter .btn { padding: 12px 20px; font-size: 13px; }
.newsletter__msg { margin-top: 10px; font-size: 13px; color: var(--orange); min-height: 18px; }
.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(238,232,206,.4);
  font-size: 12.5px;
}

/* ==========================================================================
   Cart toast
   ========================================================================== */
.cart-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 16px 22px;
  border-radius: var(--radius-s);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.4);
  transform: translateY(20px) scale(.95);
  opacity: 0;
  pointer-events: none;
  transition: all .35s var(--ease);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-toast.show { transform: translateY(0) scale(1); opacity: 1; }
.cart-toast::before { content: '✓'; color: var(--orange); font-weight: 800; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .kit-grid { grid-template-columns: 1fr; }
  .kit-card--featured { transform: none; }
  .kit-card--featured:hover { transform: translateY(-10px); }
  .interior-grid { grid-template-columns: 1fr 1fr; }
  .marca__row { grid-template-columns: 1fr; gap: 50px; }
  .marca__swatches { height: 260px; }
  .opinions-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(2) { border-right: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .interior-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust__item { border-right: none; border-bottom: 1px solid rgba(238,232,206,.1); }
  .footer__top { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .nav__actions .btn--solid { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
