@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #050505;
  color: white;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4 {
  letter-spacing: -0.045em;
}

.header {
  width: 100%;
  height: 80px; 
  padding: 0 40px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(5, 5, 5, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: white;
  transition: width 0.25s ease;
}

.nav a:hover {
  color: white;
}

.nav a:hover::after {
  width: 100%;
}

.contact-btn {
  text-decoration: none;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-btn:hover {
  background: white;
  color: black;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 40px 80px 40px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.58) 38%, rgba(0,0,0,0.28) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.72)),
    url('images/hero3.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  left: -180px;
  top: 120px;
  background: radial-gradient(circle, rgba(40, 90, 180, 0.18) 0%, rgba(40, 90, 180, 0) 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 220px;
  background: linear-gradient(to bottom, transparent, #050505 85%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;

  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 25px;
  max-width: 900px;
}

.hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 700px;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary,
.btn-secondary {
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: white;
  color: black;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.18);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.services,
.catalog,
.contact {
  padding: 100px 40px;
}

.section-tag {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
}

.section-text h3 {
  font-size: 42px;
  margin-bottom: 20px;
  max-width: 700px;
}

.section-text p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
}

.cards {
  margin-top: 50px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 30px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card h4 {
  font-size: 22px;
  margin-bottom: 15px;
}

.card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.brands {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.brands button {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.brands button:hover {
  border-color: white;
}

@media (max-width: 900px) {
  .header {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 180px 20px 80px 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 16px;
  }

  .services,
  .catalog,
  .contact {
    padding: 80px 20px;
  }

  .section-text h3 {
    font-size: 32px;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog-page {
  min-height: 100vh;
  padding: 160px 40px 100px 40px;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.88), rgba(0,0,0,0.96)),
    url('images/hero3.jpg');
  background-size: cover;
  background-position: center;
}

.catalog-hero {
  max-width: 850px;
}

.catalog-hero h1 {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 25px;
}

.catalog-hero p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 35px;
  max-width: 650px;
}

.catalog-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.catalog-card {
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.catalog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.catalog-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.catalog-card:hover .catalog-image {
  transform: scale(1.06);
}

.catalog-info {
  padding: 28px;
}

.catalog-info h3 {
  font-size: 28px;
  margin-bottom: 14px;
}

.catalog-info p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* TEMPORARY IMAGES */

.bmw-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)),
    url('images/bmw.avif');
}

.mercedes-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)),
    url('images/mercedes.avif');
}

.audi-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)),
    url('images/audi.jpg');
}

.step-number {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 28px;
  font-weight: 700;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.logo-wrap {
  text-decoration: none;
}

.services,
.contact {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services {
  position: relative;
}

.services::before,
.contact::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent);
}

.contact {
  position: relative;
}

.contact-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 28px;
}

.contact-card span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}

.contact-card a,
.contact-card p {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.map-placeholder {
  margin-top: 30px;
  height: 260px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services,
  .contact {
    min-height: auto;
  }
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
}

.vito-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)),
    url('images/vito2.jpg');
}

.footer {
  min-height: 130px;
  padding: 28px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #030303;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 10px;
}

.footer-left p,
.footer-right p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-right {
  text-align: right;
}

@media (max-width: 900px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-right {
    text-align: center;
  }
}

.contact {
  background:
    radial-gradient(circle at 20% 20%, rgba(40, 90, 180, 0.12), transparent 32%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.06), transparent 28%),
    #050505;
  overflow: hidden;
}

.contact-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.045);
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card span,
.contact-card a,
.contact-card p {
  position: relative;
  z-index: 2;
}

.map-placeholder,
.map-placeholder iframe {
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

.services {
  position: relative;
  background:
    linear-gradient(to right, rgba(0,0,0,0.88), rgba(0,0,0,0.72)),
    linear-gradient(to bottom, #050505 0%, rgba(5,5,5,0.78) 20%, rgba(5,5,5,0.95) 100%),
    url('images/background2.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.services::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(40, 90, 180, 0.12), transparent 30%),
    linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
  pointer-events: none;
  z-index: 0;
}

.services .section-text,
.services .cards {
  position: relative;
  z-index: 2;
}

.process-cards {
  position: relative;
}

.process-cards::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.16),
    transparent
  );
  z-index: 0;
}

.process-cards .card {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(12px);
}

.process-cards .card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.process-cards .card:hover::after {
  opacity: 1;
}

.process-cards .card:hover .step-number {
  color: rgba(255,255,255,0.75);
}

.step-number {
  transition: color 0.3s ease;
}

.section-text,
.contact-card,
.map-placeholder,
.catalog-card {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-text.show,
.card.show,
.contact-card.show,
.map-placeholder.show,
.catalog-card.show {
  opacity: 1;
  transform: translateY(0);
}

.hero,
.services,
.contact {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.volkswagen-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/volkswagen.avif'); }
.toyota-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/toyota.jpg'); }
.ford-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/ford.jpg'); }
.volvo-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/volvo.jpg'); }
.opel-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/opel.jpg'); }
.peugeot-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/peugeot.jpg'); }
.renault-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/renault.jpg'); }
.skoda-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/skoda.jpg'); }
.seat-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/seat.avif'); }
.mazda-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/mazda.jpg'); }
.honda-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/honda.jpg'); }
.nissan-bg { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), url('images/nissan.jpg'); }

.grain {
  position: fixed;
  inset: -200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  animation: grainMove 8s steps(10) infinite;
  mix-blend-mode: soft-light;
}

@keyframes grainMove {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
  100% { transform: translate(0, 0); }
}

.loader {
  position: fixed;
  inset: 0;
  background: #030303;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderFade 1.1s ease forwards;
  animation-delay: 0.9s;
}

.loader-logo {
  height: 80px;
  width: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  animation: logoIntro 0.8s ease forwards;
}

@keyframes logoIntro {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loaderFade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* Responsive and accessibility refinements; original visual design retained. */
html {scroll-snap-type:none;scroll-padding-top:100px}
section[id] {scroll-margin-top:80px}
.skip-link {position:fixed;top:8px;left:8px;transform:translateY(-150%);z-index:11000;background:white;color:black;padding:12px 20px;border-radius:8px}
.skip-link:focus {transform:none}
a:focus-visible,button:focus-visible {outline:3px solid #92baff;outline-offset:5px}
.menu-toggle {display:none}
.nav a[aria-current=page] {color:white}
.contact-card {min-width:0;overflow-wrap:anywhere}
.contact-card::before {pointer-events:none}
.grain {inset:0;animation:none}
.card,.section-text,.contact-card,.map-placeholder,.catalog-card {opacity:1;transform:none}
@media (min-width:901px) and (max-width:1200px) {.contact-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px) {
.header {height:80px;flex-direction:row;gap:12px;padding:0 20px}
.logo-img{height:48px;max-width:140px;object-fit:contain}
.menu-toggle{display:flex;align-items:center;gap:8px;background:transparent;border:1px solid #ffffff40;border-radius:999px;color:white;padding:10px 14px;font:inherit;font-size:14px;cursor:pointer;margin-left:auto;min-height:44px}
.header>.contact-btn{display:none}
.nav{display:none;position:absolute;top:79px;left:0;right:0;background:#090909;border-bottom:1px solid #ffffff26;padding:20px;flex-direction:column;gap:0;align-items:stretch}
.nav.open{display:flex}
.nav a{padding:16px;font-size:16px;min-height:48px}
.nav a::after{display:none}
.hero{padding:140px 20px 70px;min-height:100svh}
.hero h1{font-size:clamp(34px,6vw,52px);line-height:1.08}
.hero-tag{line-height:1.7;letter-spacing:2px}
.catalog-page{padding:130px 20px 70px}
.catalog-hero h1{font-size:clamp(36px,7vw,54px);line-height:1.08}
.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:40px}
.catalog-info{padding:22px}.catalog-info h3{font-size:24px}
.catalog-image{height:220px}
.services::before,.contact::before{left:20px;right:20px}
}
@media(max-width:560px){
.catalog-grid{grid-template-columns:minmax(0,1fr)}
.hero-buttons{flex-wrap:wrap;gap:12px}
.hero-buttons a{padding:14px 20px;min-height:48px}
.card{min-width:0;flex-basis:100%;padding:26px}
.contact-card{padding:24px}.footer{padding:30px 20px;gap:26px}
}
@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}
.loader{display:none}.hero-content{opacity:1;transform:none}
}
