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

body {
  font-family: "Montserrat", sans-serif;
  background: #f9fafb;
  color: #0f172a;
  line-height: 1.6;
}
body a {
  text-decoration: none;
  color: #1a4c8b;
}
body ul {
  margin-left: 30px;
}
body p {
  margin-bottom: 10px;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 90px;
}

body.no-scroll {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 90px auto 0;
  padding: 0 1.5rem;
}
@media (max-width: 768px) {
  .container {
    margin: 90px auto 0;
  }
}

.lang-icon {
  width: 25px;
}

header {
  z-index: 999;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  background-image: linear-gradient(rgb(3, 24, 55), rgb(0, 13, 30));
  width: 100%;
  color: #fff;
}
header .header-block {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header img {
  max-height: 70px;
}
header nav {
  position: relative;
  display: flex;
  gap: 1em;
}
header nav a {
  display: flex;
  align-items: center;
}
header nav .nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
header nav .nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}
header nav .nav-links a:hover {
  color: #fbb800;
}
header nav .burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 10000;
}
header nav .burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
header nav .burger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
header nav .burger.toggle span:nth-child(2) {
  opacity: 0;
}
header nav .burger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
header nav .prom-link {
  color: #fff;
  font-weight: bold;
  padding: 10px;
  background-image: linear-gradient(to bottom, #7B04DF, #5f02ad);
  border-radius: 5px;
}
header nav .prom-link:hover {
  background-image: linear-gradient(to bottom, #fbb800, #c08d00);
}
@media (max-width: 1170px) {
  header:lang(en) nav .nav-links {
    z-index: 9999;
    margin: 0;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: rgba(0, 9, 21, 0.9411764706);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    display: none;
  }
  header:lang(en) nav .burger {
    display: flex;
    justify-content: center;
  }
  header:lang(en) nav .nav-active {
    display: flex;
    animation: slideDown 0.3s forwards;
  }
}
@media (max-width: 768px) {
  header .header-block {
    padding: 0 15px;
  }
  header img {
    max-height: 65px;
  }
  header .nav-links {
    z-index: 9999;
    margin: 0;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: rgba(0, 9, 21, 0.9411764706);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    display: none;
  }
  header .nav-links .burger {
    display: flex;
    justify-content: center;
  }
  header .nav-links .nav-active {
    display: flex;
    animation: slideDown 0.3s forwards;
  }
  header .nav-links .prom-link {
    font-size: 14px;
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.47), rgba(0, 0, 0, 0.97)), url(../images/hero-img.png) center/cover no-repeat;
  color: white;
  margin-top: 90px;
  overflow: hidden;
}
.hero .hero-content {
  position: relative;
  color: #fff;
  text-align: center;
  z-index: 2;
}
.hero .hero-content h1 {
  color: #fbb800;
  text-shadow: 0px 0px 20px black;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeDown 1s forwards 0.5s;
}
.hero .hero-content p {
  max-width: 80%;
  font-size: 1.3rem;
  font-weight: 600;
  margin: auto;
  text-shadow: 0px 0px 20px black;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 1s;
}
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    margin-bottom: -50px;
  }
  .hero .hero-content {
    padding: 0 20px;
  }
  .hero .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero .hero-content p {
    font-size: 1.2rem;
  }
}
.hero .overlayBottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #111827;
}
.section p, .section ul {
  color: #454c5a;
}

.separator {
  height: 2px;
  background: #454c5a;
  opacity: 0.2;
  margin: 2rem 0 0;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #454c5a;
}
footer .meta {
  margin-top: 10px;
  font-weight: 800;
}
footer .map {
  margin: 1em 0 0;
}
footer nav {
  display: flex;
  gap: 1.5rem;
}
footer nav a {
  color: #454c5a;
  font-weight: 800;
  font-size: 1.2em;
  text-decoration: none;
  transition: color 0.3s;
}
footer nav a:hover {
  color: #1a73e8;
}
footer .contacts {
  margin: 2em 0 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-around;
}
@media (max-width: 768px) {
  footer .contacts {
    flex-direction: column;
    gap: 15px;
  }
  footer nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.tires__content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tires-block {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.tire-card {
  display: flex;
  max-width: 270px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f8f8f8;
  padding: 10px;
  flex-direction: column;
  align-items: center;
}
.tire-card a {
  font-weight: 800;
  padding: 5px 0;
  color: #0062de;
}
.tire-card .tire-code {
  font-size: 17px;
  font-weight: 800;
  color: #1a4c8b;
}
.tire-card .row {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
}
.tire-card .row:last-child {
  border-bottom: none;
}
.tire-card .label {
  color: #555;
  font-size: 14px;
}
.tire-card .value {
  font-weight: bold;
  color: #1a4c8b;
}

.tire-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .tire-card {
    max-width: 320px;
  }
}
.mosaic {
  column-count: 3;
  column-gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.mosaic img {
  width: 100%;
  display: block;
  margin: 0 0 12px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 2px solid #ccc;
}
.mosaic img:nth-child(3n+1) {
  break-inside: avoid;
  height: 220px;
}
.mosaic img:nth-child(3n+2) {
  break-inside: avoid;
  height: 320px;
}
.mosaic img:nth-child(3n+3) {
  break-inside: avoid;
  height: 180px;
}
.mosaic img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75);
}

@media (max-width: 1000px) {
  .mosaic {
    column-count: 3;
  }
}
@media (max-width: 700px) {
  .mosaic {
    column-count: 2;
  }
}
@media (max-width: 420px) {
  .mosaic {
    column-count: 1;
  }
}
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  pointer-events: none;
}
.lightbox.visible {
  display: flex;
  z-index: 9999;
  pointer-events: auto;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.lb-slider {
  display: flex;
  width: 100%;
  height: 75vh;
  transition: transform 0.35s ease;
  transform: translateX(0);
}

.lb-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.lb-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2020;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.08);
  color: #1a73e8;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2020;
  background: transparent;
  border: none;
  font-size: 42px;
  color: #1a73e8;
  padding: 8px 12px;
  cursor: pointer;
  user-select: none;
}

.lb-prev {
  left: 12px;
}

.lb-next {
  right: 12px;
}

@media (max-width: 600px) {
  .lb-nav {
    font-size: 30px;
  }
  .lb-nav .lb-close {
    font-size: 16px;
  }
  .lb-nav .lb-slider {
    height: 70vh;
  }
}
.tech-specs {
  margin: 2rem auto;
  max-width: 1000px;
  font-family: Arial, sans-serif;
  color: #1a1a1a;
}
.tech-specs h2 {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2a3d8f;
  margin-bottom: 1rem;
  border-bottom: 2px solid #2a3d8f;
  display: inline-block;
  padding-bottom: 4px;
}

#product h1, #tires h1 {
  margin: 40px auto 20px;
}
#product .tire-details, #tires .tire-details {
  display: flex;
  gap: 20px;
}
#product .tire-card, #tires .tire-card {
  max-width: 300px;
  height: max-content;
}
@media (max-width: 768px) {
  #product h1, #tires h1 {
    text-align: center;
    margin-bottom: 0;
    max-width: 90%;
  }
  #product .tire-details, #tires .tire-details {
    flex-direction: column-reverse;
  }
  #product .tire-card, #tires .tire-card {
    margin: 0 auto 20px;
  }
  #product .specs-grid, #tires .specs-grid {
    gap: 0;
  }
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}
.specs-grid table {
  width: 100%;
  font-size: 0.95rem;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f8f8f8;
  margin-bottom: 20px;
}
.specs-grid td {
  padding: 8px 10px;
  border-bottom: 1px solid #e0e4f0;
}
.specs-grid tr:last-child td {
  border-bottom: none;
}
.specs-grid td:first-child {
  font-weight: 600;
  color: #333;
  width: 65%;
}
.specs-grid td:last-child {
  text-align: right;
  color: #444;
}

@media (max-width: 600px) {
  .tech-specs h2 {
    font-size: 1rem;
  }
  .specs-grid td {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .header-block nav ul {
    gap: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    gap: 1rem;
  }
}

/*# sourceMappingURL=styles.css.map */
