*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg-navbar);
  border-bottom: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(0.75rem, 3vw, 2rem);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.15);
  transition: background var(--transition);
}

.navbar-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ctrl-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 2.5rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.ctrl-btn:hover {
  background: var(--nav-active-bg);
  color: var(--nav-active-text);
  border-color: var(--nav-active-bg);
}

[data-theme="dark"] .ctrl-btn {
  background: #252525;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo {
  height: 44px;
  width: auto;
}

.navbar-logo-full {
  height: 52px;
  width: auto;
  max-width: min(300px, 58vw);
  object-fit: contain;
}

.navbar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--dark);
}

.navbar-title span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: var(--text-primary);
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--nav-active-bg);
  color: var(--nav-active-text);
}

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-trigger {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-trigger:hover,
.nav-dropdown-wrap.is-open .nav-dropdown-trigger {
  background: var(--nav-active-bg);
  color: var(--nav-active-text);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 12rem;
  padding: 0.4rem;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 120;
}

.nav-dropdown-wrap.is-open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-primary);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: var(--nav-active-bg);
  color: var(--nav-active-text);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: var(--nav-height);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video:not(.is-active) {
  opacity: 0;
  pointer-events: none;
}

.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #2a2418 0%, #1a1a1a 50%, #3d3020 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.45) 45%, rgba(26, 26, 26, 0.25) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}

.hero-card {
  background: var(--yellow);
  border-left: 6px solid var(--red);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 640px;
  box-shadow: var(--shadow);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  background: rgba(26, 26, 26, 0.08);
  border: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.85rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.hero-headline em {
  display: block;
  font-style: normal;
  color: var(--red);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 6.5rem;
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--dark);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-arrow::after {
  content: "→";
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-poster-fallback {
    display: none;
  }
}

/* ── SECTIONS ── */
.section {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-yellow {
  background: var(--bg-accent);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.65rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.trust-strip {
  background: var(--dark);
  color: var(--white);
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 3px solid var(--red);
}

.trust-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.trust-strip-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.trust-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}

.stock-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.product-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.product-intro a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  list-style: none;
}

.brand-chip-grid li {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.catalog-cta {
  background: var(--dark);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.catalog-cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.catalog-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.catalog-cta p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.reveal {
  opacity: 1;
  transform: none;
}

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), background var(--transition);
}

.wa-float:hover {
  transform: translateY(-3px);
  background: #1da851;
}

.wa-float svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark .section-title {
  color: var(--yellow);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* ── FEATURE CARDS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--yellow);
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── GEARBOX STRIP ── */
.gearbox-strip {
  background: var(--dark);
  color: var(--white);
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.gearbox-strip p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.gearbox-strip a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gearbox-strip a:hover {
  color: var(--white);
}

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--bg-accent);
  border-top: 4px solid var(--red);
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem);
}

.contact-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.contact-strip h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.contact-strip a {
  color: var(--red);
  font-weight: 600;
}

.contact-strip a:hover {
  text-decoration: underline;
}

.contact-strip p {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-image {
  aspect-ratio: 16 / 10;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image svg {
  width: 60%;
  height: 60%;
  opacity: 0.9;
}

.product-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.product-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
  line-height: 1.65;
}

/* ── PAGE BANNER ── */
.page-banner {
  margin-top: var(--nav-height);
  background: var(--bg-accent);
  border-bottom: 4px solid var(--red);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.page-banner p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204, 64, 64, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-block {
  background: var(--dark);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 6px solid var(--red);
}

.contact-info-block h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: var(--yellow);
  margin-bottom: 1.5rem;
}

.contact-info-block p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.contact-info-block a {
  color: var(--yellow);
  font-weight: 600;
}

.contact-info-block a:hover {
  text-decoration: underline;
}

.contact-info-block .btn {
  margin-top: 1.25rem;
  width: 100%;
}

.hours-note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.map-section {
  margin-top: 3rem;
}

.map-section h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.map-embed {
  width: 100%;
  height: 400px;
  border: 3px solid var(--border-color);
  border-radius: var(--radius);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  font-size: 0.9rem;
}

[data-theme="dark"] .hero-card {
  background: var(--yellow);
}

[data-theme="dark"] .hero-badge,
[data-theme="dark"] .hero-headline,
[data-theme="dark"] .hero-stat strong,
[data-theme="dark"] .hero-stat span {
  color: var(--dark);
}

[data-theme="dark"] .hero-sub {
  color: var(--red);
}

[data-theme="dark"] .hero-card .btn-outline {
  color: var(--dark);
  border-color: var(--dark);
}

[data-theme="dark"] .hero-card .btn-outline:hover {
  background: var(--dark);
  color: var(--yellow);
}

[data-theme="dark"] .section-yellow .section-title,
[data-theme="dark"] .section-yellow .section-subtitle {
  color: var(--text-primary);
}

[data-theme="dark"] .page-banner p {
  color: var(--red);
}

.site-footer a {
  color: var(--yellow);
}

.site-footer strong {
  color: var(--yellow);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .navbar-end {
    gap: 0.35rem;
  }

  .ctrl-btn {
    min-width: 2.25rem;
    height: 2rem;
    font-size: 0.72rem;
    padding: 0 0.35rem;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-navbar);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 3px solid var(--red);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a,
  .nav-dropdown-trigger {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
  }

  .nav-dropdown-wrap {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
  }

  .nav-dropdown-wrap.is-open .nav-dropdown {
    display: block;
  }

  .navbar-title {
    font-size: 1.15rem;
  }

  .navbar-title span {
    font-size: 0.55rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .navbar-logo {
    height: 40px;
  }

  .navbar-logo-full {
    max-width: 50vw;
  }
}
