/* =============================================================================
   Turbo Tires NL — styles
   Palette (locked):
     bg charcoal   #15171a   |  graphite cards  #1f2227
     flame orange  #ff6a00   |  hot red  #e8261c  |  golden yellow #ffb800
     white #ffffff (headings) |  light grey #c8ccd2 (body)
   ============================================================================= */

:root {
  --bg: #15171a;
  --panel: #1f2227;
  --panel-2: #24272d;
  --orange: #ff6a00;
  --red: #e8261c;
  --yellow: #ffb800;
  --white: #ffffff;
  --grey: #c8ccd2;
  --grey-dim: #8a8f98;
  --line: rgba(255, 255, 255, 0.08);
  --flame: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 45%, var(--red) 100%);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --container: 1160px;
  --head: "Barlow Condensed", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Headings ------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--white);
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--orange);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
}

.section__intro {
  max-width: 60ch;
  margin: 16px 0 0;
  color: var(--grey);
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  --btn-pad-y: 0.7em;
  --btn-pad-x: 1.25em;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn__icon { font-size: 1.1em; line-height: 1; }

.btn--call {
  color: #fff;
  background: var(--flame);
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.35);
}
.btn--call:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 106, 0, 0.5);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn--lg {
  --btn-pad-y: 0.95em;
  --btn-pad-x: 1.7em;
  font-size: 1.12rem;
}

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 23, 26, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(18, 20, 22, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand__logo { height: 52px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav > a:not(.btn) {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.02rem;
  color: var(--grey);
  transition: color 0.18s ease;
  position: relative;
}
.nav > a:not(.btn):hover { color: var(--white); }
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--flame);
  transition: width 0.2s ease;
}
.nav > a:not(.btn):hover::after { width: 100%; }
.nav__call { font-size: 0.95rem; padding: 0.55em 1.1em; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
}

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 50% -8%, rgba(255, 106, 0, 0.16), transparent 60%),
    radial-gradient(800px 420px at 80% 10%, rgba(232, 38, 28, 0.12), transparent 60%),
    var(--bg);
}
.hero__glow {
  position: absolute;
  inset: auto 0 -40% 0;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(255, 106, 0, 0.12), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__logo {
  width: min(440px, 78vw);
  margin: 0 auto 8px;
  filter: drop-shadow(0 12px 30px rgba(255, 106, 0, 0.25));
}
.hero__title {
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  max-width: 16ch;
  margin: 8px auto 0;
}
.hero__tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--white);
  font-weight: 500;
  max-width: 34ch;
  margin: 18px auto 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}
.hero__sub {
  margin-top: 22px;
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
  color: var(--grey-dim);
}

/* ---- Sections ------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%),
    var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head .section__intro { margin-inline: auto; }

/* ---- About ---------------------------------------------------------------- */
.about__lead {
  font-size: 1.12rem;
  max-width: 70ch;
  margin: 18px 0 0;
}
.about .section__title { max-width: 18ch; }

.features {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  font-size: 1.7rem;
  border-radius: 14px;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.25);
  margin-bottom: 16px;
}
.feature__title { font-size: 1.45rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.feature p { margin: 0; font-size: 0.98rem; }

/* ---- Services grid -------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 106, 0, 0.4);
  box-shadow: var(--shadow);
}
.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #20242a, #15171a);
  overflow: hidden;
}
.card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card__img { transform: scale(1.06); }
/* graceful fallback if an image is missing */
.card__img.is-missing { opacity: 0; }
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21, 23, 26, 0.55));
  pointer-events: none;
}
.card__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--flame);
  box-shadow: 0 6px 14px rgba(232, 38, 28, 0.4);
}
.card__body { padding: 22px 24px 26px; }
.card__title { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
.card__desc { margin: 10px 0 0; font-size: 0.98rem; }

.services__cta {
  margin-top: 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.services__cta p { margin: 0; font-size: 1.1rem; color: var(--white); }

/* ---- Service area --------------------------------------------------------- */
.area__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.area__list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 16px 18px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.area__note {
  margin: 28px 0 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.28);
  color: var(--white);
}
.area__note strong { color: var(--yellow); }

/* ---- Contact -------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.contact__main .btn { margin-top: 24px; }
.contact__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  flex: none;
  font-size: 1.4rem;
  border-radius: 12px;
  background: var(--flame);
  color: #fff;
}
.contact-card__label {
  display: block;
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--grey-dim);
}
.contact-card__value {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--white);
  word-break: break-word;
}
a.contact-card__value:hover { color: var(--orange); }
.contact-card__value--plain { font-weight: 500; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer {
  background: #101214;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 40px;
  padding-bottom: 40px;
}
.site-footer__logo { height: 64px; width: auto; margin-bottom: 14px; }
.site-footer__tag { margin: 0; max-width: 34ch; }
.site-footer__col h4 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: var(--white);
}
.site-footer__col p { margin: 0 0 8px; font-size: 0.98rem; }
.site-footer__col a:hover { color: var(--orange); }
.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  text-align: center;
}
.site-footer__bottom p { margin: 0; font-size: 0.9rem; color: var(--grey-dim); }

/* ---- Floating call button (mobile only) ----------------------------------- */
.fab-call {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 60;
  width: 60px; height: 60px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 10px 26px rgba(255, 106, 0, 0.5);
}

/* ============================== RESPONSIVE ============================== */
@media (max-width: 960px) {
  .features { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .area__list { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 24px 22px;
    background: rgba(16, 18, 20, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav > a:not(.btn) { padding: 10px 4px; }
  .nav__call { justify-content: center; margin-top: 10px; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .features { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .area__list { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 28px; }

  .fab-call { display: flex; }
}

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