
:root {
  --bg: #090909;
  --bg-soft: #111214;
  --bg-card: #17181b;
  --bg-card-hover: #1f2024;
  --text: #f4f4f4;
  --text-soft: #b9bcc2;
  --text-muted: #8d9198;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --red: #c81f2b;
  --red-dark: #8f111a;
  --red-bright: #ef2635;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(0,0,0,.34);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.22);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.grid {
  display: grid;
  gap: 28px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0)),
    var(--bg-soft);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--red-bright);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 18px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 780px;
  margin: 0 0 42px;
  color: var(--text-soft);
  font-size: 1.06rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: var(--white);
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(200,31,43,.25);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff3646, var(--red-bright));
  box-shadow: 0 14px 30px rgba(200,31,43,.34);
}

.btn:focus-visible {
  outline: 3px solid rgba(239,38,53,.35);
  outline-offset: 3px;
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255,255,255,.42);
  box-shadow: none;
}

.btn.ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.07);
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(8,8,8,.78);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.brand b {
  color: var(--red-bright);
  font-size: 1.2em;
}

.brand span {
  color: var(--text-soft);
  font-size: .58em;
  letter-spacing: .12em;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 26px;
}

.navlinks a:not(.btn) {
  color: var(--text-soft);
  font-weight: 700;
  font-size: .94rem;
  transition: color var(--transition);
}

.navlinks a:not(.btn):hover {
  color: var(--white);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: var(--white);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.65) 44%, rgba(0,0,0,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.6)),
    url("../img/header-verkstad_x.png") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  padding-bottom: 90px;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: .96;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-shadow: 0 8px 30px rgba(0,0,0,.55);
}

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

.hero p {
  max-width: 720px;
  margin: 0;
  color: #e0e2e5;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  color: #d8dadd;
  font-size: .96rem;
}

.hero-badges i {
  margin-right: 7px;
  color: var(--red-bright);
}

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

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(239,38,53,.38);
  background-color: var(--bg-card-hover);
}

.card-img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.card-body {
  padding: 24px;
}

.icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(239,38,53,.35);
  border-radius: 12px;
  background: rgba(239,38,53,.08);
  color: var(--red-bright);
  font-size: 1.2rem;
}

.card h3,
.step h3,
.benefit h3,
.footer h3 {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
  text-transform: uppercase;
}

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

.about {
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}

.about-copy ul {
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.about-copy li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
  color: var(--text-soft);
}

.about-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red-bright);
  font-weight: 900;
}

.about-visual {
  position: relative;
}

.about-visual img {
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-stat {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(9,9,9,.85);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  line-height: 1.15;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.process {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 36px;
}

.step {
  position: relative;
  padding: 28px 22px;
  border-top: 2px solid rgba(255,255,255,.12);
}

.step::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 34%;
  height: 2px;
  background: var(--red-bright);
}

.step-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--red);
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(200,31,43,.3);
}

.brands {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 54px;
}

.brandbox {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  color: #d8d9dc;
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  letter-spacing: .04em;
}

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

.benefit {
  padding: 26px;
  border-left: 1px solid var(--line);
}

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

.review {
  padding: 28px;
}

.stars {
  margin-bottom: 14px;
  color: var(--red-bright);
  letter-spacing: .16em;
}

.review q {
  display: block;
  margin-bottom: 20px;
  color: #eceef0;
  font-size: 1.03rem;
}

.review strong,
.review span {
  display: block;
}

.review span {
  color: var(--text-muted);
  font-size: .92rem;
}

.cta {
  padding: 52px 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    linear-gradient(135deg, var(--red-dark), var(--red));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-transform: uppercase;
}

.contact-wrap {
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
}

.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-list > div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-soft);
}

.contact-list i {
  width: 22px;
  color: var(--red-bright);
}

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

.form label {
  display: grid;
  gap: 8px;
  color: #e6e7e9;
  font-weight: 700;
  font-size: .94rem;
}

.form .full,
.form .btn,
.form .form-note {
  grid-column: 1 / -1;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  background: #0f1012;
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(239,38,53,.12);
  background: #121316;
}

.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: .84rem;
}

.footer {
  padding: 66px 0 24px;
  background: #050505;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 40px;
}

.footer p,
.footer a {
  color: var(--text-soft);
}

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

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: .9rem;
}

@media (max-width: 1100px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 900px) {
  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .navlinks {
    position: fixed;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(10,10,10,.97);
    box-shadow: var(--shadow);
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks a {
    padding: 12px 10px;
  }

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

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

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

  .hero {
    min-height: 88vh;
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 130px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .services,
  .process,
  .benefits,
  .brands,
  .form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.82)),
      url("../img/header-verkstad_x.png") 62% center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 15vw, 4.8rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badges {
    display: grid;
    gap: 8px;
  }

  .card-body,
  .contact-card {
    padding: 22px;
  }

  .about-visual img {
    min-height: 320px;
  }

  .about-stat {
    right: 12px;
    bottom: 12px;
    font-size: 1.1rem;
  }

  .benefit {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .copyright {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
