:root {
  --surface: #131313;
  --surface-lowest: #0e0e0e;
  --surface-low: #1c1b1b;
  --surface-container: #201f1f;
  --surface-high: #2a2a2a;
  --surface-highest: #353534;
  --text: #e5e2e1;
  --text-muted: #e1bfb3;
  --outline: #a88a7f;
  --outline-muted: #594138;
  --primary: #ffb599;
  --primary-strong: #f26522;
  --primary-text: #4f1800;
  --secondary: #c7c6c6;
  --container: 1280px;
  --gutter: 24px;
  --side: 64px;
  --side-mobile: 16px;
  --radius: 4px;
  --font-main: "Sora", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
}

::selection {
  background: var(--primary-strong);
  color: var(--primary-text);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface-lowest);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-highest);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-strong);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.container {
  width: min(100% - calc(var(--side) * 2), var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid var(--outline-muted);
  background: rgba(19, 19, 19, 0.95);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(19, 19, 19, 0.99);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 190px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.footer-brand {
  color: var(--primary);
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 700;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  border-color: var(--primary);
  color: var(--primary);
}

.icon-link {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--outline-muted);
  background: var(--surface-container);
  color: var(--text);
  width: 44px;
  height: 44px;
  place-items: center;
}

main {
  padding-top: 76px;
}

.section-base,
.section-muted,
.section-deep {
  padding: 96px 0;
}

.section-base {
  background: var(--surface);
}

.section-muted {
  border-block: 1px solid var(--outline-muted);
  background: var(--surface-low);
}

.section-deep {
  background: var(--surface-lowest);
}

.hero {
  min-height: calc(85vh - 76px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-overlay,
.workshop-bg {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("images/hero-transmission.png");
  background-position: center;
  background-size: cover;
  filter: brightness(0.48);
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.08);
  will-change: transform;
}

.hero-overlay {
  background: linear-gradient(90deg, var(--surface) 0%, rgba(19, 19, 19, 0.82) 42%, rgba(19, 19, 19, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
}

.hero-content h1,
.cta-panel h2 {
  max-width: 760px;
  margin: 0 0 24px;
  font-family: var(--font-main);
  font-size: 48px;
  line-height: 1.16;
  font-weight: 700;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-copy,
.section-heading p,
.split-grid p,
.cta-panel p,
.site-footer p {
  color: var(--text-muted);
  font-size: 18px;
}

.hero-copy {
  max-width: 600px;
  margin: 0 0 40px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary-strong);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  background: var(--primary-strong);
  color: var(--primary-text);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 32px rgba(242, 101, 34, 0.22);
}

.btn-secondary {
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-secondary:hover {
  background: rgba(199, 198, 198, 0.1);
}

.btn-tertiary {
  border-color: var(--outline-muted);
  background: var(--surface-high);
}

.btn-small {
  min-height: 42px;
  padding: 9px 18px;
}

.btn-small .material-symbols-outlined {
  font-size: 20px;
}

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.stat-card {
  width: fit-content;
  margin-bottom: 24px;
  border: 1px solid var(--outline-muted);
  background: var(--surface-container);
  padding: 18px;
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-main);
  font-size: 48px;
  line-height: 1;
}

.stat-card span,
.contact-item h3,
.site-footer h2,
.tag-grid span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h2,
h3 {
  font-family: var(--font-main);
}

h2 {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.25;
}

h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.32;
}

.image-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.workshop-image {
  min-height: 220px;
  border: 1px solid var(--outline-muted);
  background-position: center;
  background-size: cover;
  transition: transform 350ms ease, border-color 220ms ease, filter 220ms ease;
}

.workshop-image:hover {
  border-color: var(--primary-strong);
  filter: brightness(1.08);
  transform: translateY(-6px) scale(1.02);
}

.image-tools {
  margin-top: 32px;
}

.image-gears {
  background-image: url("images/gears.png");
}

.image-tools {
  background-image: url("images/tools.png");
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

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

.parts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.part-card,
.benefit-card {
  min-height: 232px;
  border: 1px solid var(--outline-muted);
  background: var(--surface);
  padding: 28px;
  transition: border-color 180ms ease, transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.part-card {
  background: var(--surface-low);
}

.part-card:hover,
.benefit-card:hover {
  border-color: var(--primary-strong);
  background: var(--surface-container);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  transform: translateY(-8px);
}

.part-card .material-symbols-outlined,
.benefit-card .material-symbols-outlined,
.contact-item > .material-symbols-outlined {
  margin-bottom: 20px;
  color: var(--primary-strong);
  font-size: 40px;
}

.part-card p,
.benefit-card p {
  margin: 0;
  color: var(--text-muted);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.brand-grid span {
  min-height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid var(--outline-muted);
  background: var(--surface-low);
  color: var(--secondary);
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.brand-grid img {
  width: min(150px, 72%);
  max-height: 70px;
  object-fit: contain;
}

.brand-grid span:hover {
  border-color: var(--primary-strong);
  color: var(--primary);
  transform: translateY(-4px);
}

.workshop-cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.workshop-bg {
  background-image: linear-gradient(90deg, rgba(19, 19, 19, 0.95), rgba(19, 19, 19, 0.62)), url("images/workbench.png");
  background-position: center;
  background-size: cover;
  filter: brightness(0.72);
  transform: translate3d(0, var(--workshop-parallax, 0px), 0) scale(1.08);
  will-change: transform;
}

.cta-panel {
  position: relative;
  max-width: 840px;
  border-left: 4px solid var(--primary-strong);
  padding: 48px 0 48px 48px;
}

.contact-list {
  display: grid;
  gap: 28px;
  margin: 32px 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item > .material-symbols-outlined {
  margin: 0;
  color: var(--primary);
}

.contact-item h3 {
  margin: 0 0 4px;
  color: var(--primary);
}

.contact-item p {
  margin: 0;
}

.contact-actions {
  max-width: 360px;
  flex-direction: column;
}

.map-card {
  min-height: 420px;
  border: 1px solid var(--outline-muted);
  background-color: var(--surface-container);
  overflow: hidden;
  filter: grayscale(0.55) brightness(0.9);
  transition: filter 300ms ease, border-color 180ms ease, transform 220ms ease;
}

.map-card:hover {
  border-color: var(--primary-strong);
  filter: grayscale(0) brightness(1);
  transform: translateY(-4px);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--outline-muted);
  background: var(--surface-lowest);
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 4fr;
  gap: 24px;
}

.site-footer p {
  max-width: 380px;
  margin: 18px 0;
  font-size: 16px;
}

.site-footer small {
  color: rgba(229, 226, 225, 0.62);
  font-family: var(--font-mono);
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 14px;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--outline-muted);
  background: var(--surface-container);
  color: var(--text);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-footer .social-link:hover {
  border-color: var(--primary-strong);
  color: var(--primary);
  text-decoration: none;
  transform: translateY(-2px);
}

.social-link svg {
  fill: currentColor;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tag-grid span {
  border: 1px solid var(--outline-muted);
  background: var(--surface-container);
  padding: 9px;
}

.whatsapp-fab {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: #25d366;
  color: white;
  padding: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease;
  animation: float-fab 3s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.05);
}

.whatsapp-fab span {
  display: none;
  padding-left: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.whatsapp-fab:hover span {
  display: inline;
}

.reveal {
  opacity: 0;
}

.reveal.is-visible {
  opacity: 1;
}

.animate__animated {
  --animate-duration: 850ms;
}

.parts-grid .reveal:nth-child(2),
.benefits-grid .reveal:nth-child(2),
.brand-grid .reveal:nth-child(2) {
  animation-delay: 90ms;
}

.parts-grid .reveal:nth-child(3),
.benefits-grid .reveal:nth-child(3),
.brand-grid .reveal:nth-child(3) {
  animation-delay: 180ms;
}

.parts-grid .reveal:nth-child(4),
.benefits-grid .reveal:nth-child(4),
.brand-grid .reveal:nth-child(4) {
  animation-delay: 270ms;
}

.benefits-grid .reveal:nth-child(5),
.brand-grid .reveal:nth-child(5) {
  animation-delay: 360ms;
}

.benefits-grid .reveal:nth-child(6) {
  animation-delay: 450ms;
}

@keyframes float-fab {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -6px;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(100% - calc(var(--side-mobile) * 2), var(--container));
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 76px var(--side-mobile) auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--outline-muted);
    background: var(--surface-container);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    padding: 18px;
    border-bottom: 1px solid var(--outline-muted);
  }

  .nav-link.active {
    border-color: var(--outline-muted);
    color: var(--primary);
  }

  .nav-actions .icon-link {
    display: none;
  }

  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .parts-grid,
  .benefits-grid,
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .section-base,
  .section-muted,
  .section-deep,
  .workshop-cta {
    padding: 72px 0;
  }

  .navbar {
    gap: 12px;
  }

  .nav-actions .btn-small {
    width: 44px;
    padding: 0;
  }

  .nav-actions .btn-small:not(.material-symbols-outlined) {
    font-size: 0;
  }

  .nav-actions .btn-small .material-symbols-outlined {
    font-size: 22px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(19, 19, 19, 0.9) 0%, rgba(19, 19, 19, 0.72) 100%);
  }

  .hero-content h1,
  .cta-panel h2 {
    font-size: 34px;
    line-height: 1.18;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-copy,
  .section-heading p,
  .split-grid p,
  .cta-panel p {
    font-size: 16px;
  }

  .button-row,
  .button-row .btn,
  .contact-actions,
  .contact-actions .btn {
    width: 100%;
  }

  .parts-grid,
  .benefits-grid,
  .brand-grid,
  .image-stack,
  .tag-grid {
    grid-template-columns: 1fr;
  }

  .image-tools {
    margin-top: 0;
  }

  .cta-panel {
    padding: 36px 0 36px 24px;
  }

  .map-card {
    min-height: 320px;
  }

  .map-card iframe {
    min-height: 320px;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
  }
}

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

  .reveal {
    opacity: 1;
  }
}
