@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/rubik-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg: #f2f2f0;
  --surface: #e6e6e2;
  --surface-strong: #d8d8d3;
  --text: #171719;
  --muted: #59595f;
  --line: rgba(23, 23, 25, 0.16);
  --nav: rgba(242, 242, 240, 0.9);
  --accent: #c80d18;
  --accent-hover: #ac0913;
  --on-accent: #fdfdfb;
  --hero-shade: linear-gradient(90deg, rgba(242, 242, 240, 0.04) 0%, rgba(242, 242, 240, 0.44) 43%, rgba(242, 242, 240, 0.98) 74%);
  --radius: 6px;
  --max-width: 1240px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --surface: #141416;
    --surface-strong: #202023;
    --text: #f3f3f0;
    --muted: #b7b7bc;
    --line: rgba(255, 255, 255, 0.15);
    --nav: rgba(11, 11, 12, 0.88);
    --accent: #e01824;
    --accent-hover: #c80d18;
    --on-accent: #fdfdfb;
    --hero-shade: linear-gradient(90deg, rgba(11, 11, 12, 0.04) 0%, rgba(11, 11, 12, 0.52) 43%, rgba(11, 11, 12, 0.98) 74%);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Rubik", "Segoe UI", Arial, sans-serif;
  font-size-adjust: 0.52;
  -webkit-font-smoothing: antialiased;
}

body,
a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

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

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset: 10px auto auto 10px;
  z-index: 20;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: var(--nav);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.header-inner {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 40px), var(--max-width));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: block;
  width: 150px;
}

.brand img {
  width: 100%;
  aspect-ratio: 1247 / 462;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 600;
}

nav a,
.text-link,
.contact-details a {
  transition: color 180ms ease;
}

nav a:hover,
.text-link:hover,
.contact-details a:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100dvh - 72px);
  isolation: isolate;
  overflow: hidden;
  align-items: center;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
  object-fit: cover;
  object-position: left center;
  animation: hero-settle 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-shade {
  z-index: -1;
  background: var(--hero-shade);
}

.hero-content {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
  padding-block: 52px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6.3vw, 5.9rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 span {
  display: block;
  white-space: nowrap;
}

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

.hero-copy {
  max-width: 610px;
  min-height: 3.3em;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.text-link {
  padding-block: 12px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.brand-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 52px;
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.brand-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.marques {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  text-align: center;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.services {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(50px, 8vw, 112px);
  align-items: center;
  padding-block: clamp(84px, 11vw, 150px);
}

.services h2,
.vehicles h2,
.contact h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.services-copy > p,
.vehicles > div > p,
.contact-lead > p {
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 700;
}

.service-list {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: minmax(190px, 0.95fr) 1.05fr;
  gap: 30px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.service-list h3,
.service-list p {
  margin-bottom: 0;
}

.service-list h3 {
  font-size: 1.12rem;
}

.service-list p {
  color: var(--muted);
  line-height: 1.55;
}

.engine-figure {
  position: relative;
  margin: 0;
}

.engine-figure::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.engine-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
}

.vehicles {
  padding-block: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
}

.vehicles > div {
  max-width: 720px;
}

.vehicles ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 46px 0 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.vehicles li {
  min-height: 170px;
  padding: 28px;
  background: var(--surface);
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  font-weight: 800;
}

.vehicles li:nth-child(2),
.vehicles li:nth-child(4) {
  background: var(--surface-strong);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(54px, 10vw, 150px);
  align-items: end;
  padding-block: clamp(88px, 12vw, 160px);
  border-top: 1px solid var(--line);
}

.contact-lead h2 {
  max-width: 760px;
}

.contact-lead .button {
  margin-top: 18px;
}

.contact-details {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
  font-style: normal;
}

.contact-details div {
  display: grid;
  gap: 8px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-details span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-details a {
  width: fit-content;
  font-size: 1.08rem;
  font-weight: 700;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
  padding-block: 32px 100px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

footer img {
  width: 180px;
  aspect-ratio: 1247 / 462;
}

@media (prefers-color-scheme: dark) {
  .brand img,
  footer img {
    padding: 4px 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(253, 253, 251, 0.92);
  }
}

footer p {
  margin: 0;
}

.mobile-call {
  display: none;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1), transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from {
    opacity: 0.65;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 150px 1fr;
  }

  nav {
    justify-self: end;
  }

  .header-inner > .button {
    display: none;
  }

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

  .engine-figure {
    width: min(100%, 640px);
    margin-inline: auto;
  }

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

@media (max-width: 640px) {
  html {
    scroll-padding-top: 66px;
  }

  .site-header {
    height: 64px;
  }

  .header-inner {
    display: flex;
    width: min(calc(100% - 28px), var(--max-width));
  }

  .brand {
    width: 136px;
  }

  nav {
    margin-inline-start: auto;
    gap: 16px;
    font-size: 0.83rem;
  }

  nav a:nth-child(2),
  nav a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: calc(100dvh - 64px);
  }

  .hero-media {
    object-position: 28% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 72%, transparent) 0%, color-mix(in srgb, var(--bg) 94%, transparent) 58%, var(--bg) 100%);
  }

  .hero-content {
    width: min(calc(100% - 32px), var(--max-width));
    align-self: end;
    padding-block: 44px 72px;
  }

  h1 {
    font-size: clamp(2rem, 9.5vw, 2.65rem);
    line-height: 1.02;
  }

  .hero-copy {
    max-width: 36ch;
    min-height: 3.3em;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 18px;
  }

  .button {
    min-height: 50px;
    padding-inline: 20px;
  }

  .brand-strip,
  .section-shell,
  footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .brand-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 28px;
  }

  .marques {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    text-align: start;
  }

  .services {
    gap: 64px;
    padding-block: 76px 96px;
  }

  .services h2,
  .vehicles h2,
  .contact h2 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .engine-figure::before {
    inset: 14px -12px -14px 12px;
  }

  .vehicles ul {
    grid-template-columns: 1fr 1fr;
  }

  .vehicles li {
    min-height: 125px;
    padding: 20px;
  }

  .contact {
    gap: 58px;
    padding-bottom: 110px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 112px;
  }

  .mobile-call {
    position: fixed;
    inset: auto 16px 14px;
    z-index: 9;
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    background: var(--accent);
    box-shadow: 0 14px 32px rgba(80, 0, 8, 0.28);
    color: var(--on-accent);
    font-weight: 800;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
