@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Unbounded:wght@600;700&display=swap");

:root {
  --bg: #0b0b0b;
  --bg-alt: #151515;
  --accent: #e53935;
  --accent-2: #b71c1c;
  --text: #f3f3f3;
  --muted: #b6b6b6;
  --card: rgba(20, 20, 20, 0.85);
  --glow: rgba(229, 57, 53, 0.35);
  --road-y: calc(360px + 29vh);
  --road-h: 86px;
  --car-w: 300px;
  --car-h: 150px;
  --car-right: -320px;
  --car-drop: 8px;
  --car-offset: -78px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #232323, var(--bg) 55%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 120px);
  pointer-events: none;
  z-index: -3;
}

.road {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--road-y);
  height: var(--road-h);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 12px 20px rgba(0, 0, 0, 0.35);
  z-index: -2;
  pointer-events: none;
}

.road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.35) 0 32px,
    transparent 32px 70px
  );
  transform: translateY(-50%);
  opacity: 0.5;
}

.car {
  position: fixed;
  width: var(--car-w);
  height: var(--car-h);
  top: calc(var(--road-y) + var(--car-offset) + var(--car-drop));
  right: var(--car-right);
  background-image: url("furgonetka.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: drive 18s linear infinite;
  opacity: 0.28;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.35));
  z-index: -1;
  pointer-events: none;
}

@keyframes drive {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100vw - 480px));
  }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6vw 0;
  gap: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.logo {
  font-family: "Unbounded", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  height: 124px;
}

.logo img {
  display: block;
  height: 100%;
  width: auto;
  max-height: none;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.cta {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #111;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 80px 6vw 60px;
}

.hero-content h1 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.05;
  margin: 14px 0 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.primary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
}

.primary {
  background: var(--accent);
  color: #111;
  box-shadow: 0 10px 30px var(--glow);
}

.ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.hero-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-card h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.hero-card-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
  color: var(--muted);
}

.hero-card-list li {
  position: relative;
  padding-left: 16px;
}

.hero-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-card-note {
  margin-top: 6px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.card-call {
  margin-top: 22px;
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.section {
  padding: 70px 6vw;
}

.section h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.grid article {
  background: rgba(255, 255, 255, 0.04);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.grid p {
  color: var(--muted);
  margin-top: 12px;
}

.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.split {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.note {
  background: rgba(229, 57, 53, 0.1);
  border: 1px solid rgba(229, 57, 53, 0.35);
  padding: 22px;
  border-radius: 18px;
}


.process-gallery {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gallery-head h2 {
  margin: 0;
}

.gallery-head p {
  color: var(--muted);
  margin-top: 8px;
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

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

@media (max-width: 640px) {
  .gallery-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contact {
  padding-bottom: 90px;
}

.contact-card {
  background: linear-gradient(130deg, rgba(229, 57, 53, 0.28), rgba(20, 20, 20, 0.78));
  border-radius: 28px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.contact-main {
  background: rgba(229, 57, 53, 0.12);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(229, 57, 53, 0.35);
  display: grid;
  gap: 10px;
  grid-template-rows: auto 1fr;
  text-align: left;
  align-content: start;
  justify-items: start;
}

.contact-main-body {
  display: grid;
  gap: 10px;
  align-content: center;
}

.contact-hours {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.contact-hours strong {
  color: var(--text);
}

.contact-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-meta {
  display: flex;
  gap: 12px 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
}

.info-card strong {
  display: block;
  color: var(--text);
}

.socials {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.socials-inline {
  margin-top: 8px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  text-decoration: none;
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.social-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.site-footer {
  text-align: center;
  padding: 30px 6vw 40px;
  color: var(--muted);
  font-size: 0.9rem;
}


.company-info {
  padding-top: 40px;
}

.info-card-single {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 6px;
  max-width: 560px;
}

.info-card-single strong {
  color: var(--text);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 6vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .site-header {
    justify-content: space-between;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --road-y: calc(420px + 29vh);
    --road-h: 72px;
    --car-w: 260px;
    --car-h: 130px;
    --car-right: -280px;
  }
  .hero {
    padding-top: 60px;
  }
  .hero-meta {
    gap: 8px 12px;
  }
  .car {
    opacity: 0.22;
  }
}

@media (max-height: 1100px) {
  :root {
    --road-y: calc(360px + 33vh);
    --road-h: 74px;
    --car-w: 270px;
    --car-h: 135px;
    --car-right: -290px;
  }
}

@media (min-width: 1400px) {
  :root {
    --road-y: calc(360px + 30vh);
  }
}

#oferta {
  margin-top: 2vh;
}
