﻿:root {
  --main-color: #2F4F4F;
  --secondary-color: #D3D3D3;
  --bg-color: #FFFFFF;
  --secondary-bg-color: #E0F7FA;
  --accent-color: #FFA500;
  --text-color: #333333;

  --font-text: "Open Sans", sans-serif;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-color);
  font-family: var(--font-text);
  line-height: 1.2;
  background-color: var(--bg-color);
}

h1 {
  margin: 0;
  padding: 0;
}

h2 {
  margin: 0;
  padding: 0;
}

h3 {
  margin: 0;
  padding: 0;
}

h4 {
  margin: 0;
  padding: 0;
}

h5 {
  margin: 0;
  padding: 0;
}

h6 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  font-family: inherit;
  font-size: inherit;
  background: none;
  cursor: pointer;
}

input {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--secondary-color);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  height: 80px;
  margin: 0 auto;
  padding: 0 20px;
}


.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--main-color);
  font-weight: 700;
  font-size: 24px;
  transition: all 0.3s ease;
}

.logo:hover {
  color: var(--accent-color);
}

.logo i {
  font-size: 28px;
}

.logo__text {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.5px;
}

.nav__list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
}

.nav__link {
  position: relative;
  padding: 8px 0;
  color: var(--text-color);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--accent-color);
}

.nav__link:hover::after {
  width: 100%;
}


.header__actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--main-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.header__phone:hover {
  color: var(--accent-color);
}

.header__phone i {
  font-size: 16px;
}


.btn {
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 12px 24px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--primary {
  border-color: var(--accent-color);
  color: white;
  background: var(--accent-color);
}

.btn--primary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: transparent;
  transform: translateY(-2px);
}


.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

.burger__line {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--main-color);
  transition: all 0.3s ease;
}

.burger.active .burger__line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger.active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}


.footer {
  position: relative;
  padding: 60px 0 20px;
  color: white;
  background: var(--main-color);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--main-color) 50%, var(--accent-color) 100%);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__col--brand {
  padding-right: 20px;
}

.footer__logo {
  margin-bottom: 20px;
}

.footer__logo .logo {
  color: white;
}

.footer__description {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.footer__title {
  margin-bottom: 20px;
  color: white;
  font-weight: 800;
  font-size: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer__link:hover {
  padding-left: 5px;
  color: var(--accent-color);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: max-content;
  color: rgba(255, 255, 255, 0.8);
  transition: all .3s ease;
}

.contact-item i {
  width: 16px;
  margin-top: 2px;
  color: var(--accent-color);
}

.contact-item:hover {
  color: var(--accent-color);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer__legal-links {
  display: flex;
  gap: 20px;
}

.footer__legal-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer__legal-link:hover {
  color: var(--accent-color);
}

.footer__payments {
  display: flex;
  align-items: center;
  gap: 15px;
}

.payments-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.payment-icons {
  display: flex;
  gap: 10px;
}

.payment-icons i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  transition: color 0.3s ease;
}

.payment-icons i:hover {
  color: var(--accent-color);
}


.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(30px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


.img-bg {
  position: relative;
  min-height: 40vh;
  padding: 40px 0;
  padding-top: 150px;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/mb.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.img-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.3;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sports-grid" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,165,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23sports-grid)"/></svg>');
}

.img-bg .header__container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.img-bg p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.img-bg .hero__btn-primary {
  position: relative;
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  padding: 16px 40px;
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c00 100%);
  transition: all 0.3s ease;
}

.img-bg .hero__btn-primary:hover {
  box-shadow: 0 12px 35px rgba(255, 165, 0, 0.6);
  background: linear-gradient(135deg, #ff8c00 0%, var(--accent-color) 100%);
  transform: translateY(-3px) scale(1.05);
}

.img-bg .hero__btn-primary i {
  margin-left: 8px;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.img-bg .hero__btn-primary:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .img-bg {
    padding: 30px 0;
  }

  .img-bg p {
    margin-bottom: 16px;
    font-size: 1.1rem;
  }

  .img-bg .hero__btn-primary {
    padding: 14px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .img-bg {
    padding: 25px 0;
  }

  .img-bg p {
    font-size: 1rem;
  }

  .img-bg .hero__btn-primary {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}

@media (max-width: 1024px) {
  .header__nav {
    margin: 0 20px;
  }

  .nav__list {
    gap: 25px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .header__container {
    height: 70px;
  }

  .header__nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    visibility: hidden;
    margin: 0;
    border-top: 1px solid var(--secondary-color);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    background: white;
    transition: all 0.3s ease;
    transform: translateY(-100%);
  }

  .header__nav.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
  }

  .header__actions {
    gap: 15px;
  }

  .header__phone span {
    display: none;
  }

  .burger {
    display: flex;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__col--brand {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__legal {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .header__container {
    padding: 0 15px;
  }

  .container {
    padding: 0 15px;
  }

  .footer__container {
    padding: 0 15px;
  }

  .logo__text {
    font-size: 22px;

  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .footer {
    padding: 40px 0 15px;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__legal-links {
    flex-direction: column;
    gap: 10px;
  }

  .payment-icons {
    justify-content: center;
  }
}