:root {
  --bg: #0d1013;
  --bg-2: #13171b;
  --surface: #181d22;
  --line: #262d34;
  --line-strong: #39424b;
  --text: #ece9e3;
  --muted: #9aa1a8;
  --accent: #e9a23b;
  --accent-ink: #1a1206;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: min(1200px, 100% - 2.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(13, 16, 19, 0.88);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand img {
  width: 3rem;
  height: 3rem;
  filter: invert(1);
}

.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--muted);
  line-height: 1;
  margin-top: 0.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.btn) {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9c6c0;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.nav-links .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(100svh, 62rem);
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 0;
  background: url("../images/hero.jpg") center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 16, 19, 0.96) 0%, rgba(13, 16, 19, 0.82) 38%, rgba(13, 16, 19, 0.25) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(13, 16, 19, 0) 35%);
}

.hero-content {
  padding-bottom: 4rem;
}

.hero-content > * {
  max-width: 44rem;
}

.hero h1 {
  font-size: clamp(3rem, min(7.5vw, 10.5vh), 6.5rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: 1.2rem;
  color: #c9c6c0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.hero-strip {
  border-top: 1px solid var(--line);
  background: rgba(13, 16, 19, 0.7);
  backdrop-filter: blur(8px);
}

.hero-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.hero-strip li {
  padding: 1.4rem 1.5rem;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-strip li:last-child {
  border-right: 1px solid var(--line);
}

.hero-strip strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.hero-col {
  position: relative;
  z-index: 1;
  width: 100%;
}

.road {
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 3rem, transparent 3rem 5rem);
  background-size: 5rem 100%;
  opacity: 0.85;
  animation: drive 1.6s linear infinite;
}

@keyframes drive {
  to {
    background-position: -5rem 0;
  }
}

.section {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-head h2,
.split h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}

.section-head p {
  color: var(--muted);
  max-width: 30rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.split p + p {
  margin-top: 1.2rem;
}

.split .lead {
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 1.75rem;
}

.split .body {
  color: var(--muted);
}

.frame {
  position: relative;
}

.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.frame-wrap {
  position: relative;
  isolation: isolate;
}

.why {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.why-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: 0.85fr 2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.why-image img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  border-radius: 2px;
}

.why-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.why-group {
  padding: 2rem 1.75rem 0 0;
}

.why-group + .why-group {
  padding-left: 1.75rem;
  border-left: 1px solid var(--line);
}

.why-group h3 {
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}


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

.checks li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.6rem;
  color: #c9c6c0;
  line-height: 1.45;
  border-bottom: 1px dashed var(--line);
}

.checks li:last-child {
  border-bottom: 0;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.trailers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.trailer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 11rem;
  padding: 1.6rem 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background 0.35s var(--ease);
}

.trailer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.trailer:hover {
  background: var(--surface);
}

.trailer:hover::after {
  transform: scaleX(1);
}

.trailer-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.trailer h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.trailer:hover h3 {
  color: var(--accent);
}

.trailer h3 small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.contact {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.contact h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}

.contact-phone {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent);
  transition: color 0.2s;
}

.contact-phone:hover {
  color: #f4b75a;
}

.contact-note {
  margin-top: 0.75rem;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
}

.contact-list a:hover {
  color: var(--accent);
}

.map {
  position: relative;
  min-height: 26rem;
  border: 1px solid var(--line);
  overflow: hidden;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) grayscale(0.6) contrast(0.95);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero .reveal {
  animation: rise 0.9s var(--ease) var(--d, 0s) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.5rem;
    background: rgba(13, 16, 19, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav.is-open {
    background: rgba(13, 16, 19, 0.97);
  }

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

  .nav-links li a:not(.btn) {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .btn {
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
  }

  .hero-strip ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-strip li:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .hero-strip li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-head,
  .split,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-image img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .why-groups {
    grid-template-columns: 1fr;
  }

  .why-group,
  .why-group + .why-group {
    padding: 1.75rem 0;
    border-left: 0;
  }

  .why-group + .why-group {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 560px) {
  .hero {
    background-position: 70% center;
  }

  .hero::before {
    background:
      linear-gradient(0deg, var(--bg) 5%, rgba(13, 16, 19, 0.85) 55%, rgba(13, 16, 19, 0.55) 100%);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .hero-strip li {
    padding: 1.1rem 1rem;
  }

  .trailers {
    grid-template-columns: 1fr;
  }

  .trailer {
    min-height: 0;
    gap: 1.25rem;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .road {
    animation: none;
  }

  .reveal,
  .hero .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
