﻿:root {
  --main-color: #1A6DB1;
  --secondary-color: #34B3F1;
  --bg-color: #FFFFFF;
  --secondary-bg-color: #F5F9FC;
  --accent-color: #FF7E36;
  --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;
}


.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(26, 109, 177, 0.15);
  background: linear-gradient(135deg, var(--main-color) 0%, var(--secondary-color) 100%);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  height: 80px;
  margin: 0 auto;
  padding: 0 2rem;
}


.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}

.header__logo i {
  color: var(--accent-color);
  font-size: 2rem;
  transition: transform 0.3s ease;
  transform: rotate(-15deg);
}

.header__logo:hover i {
  transform: rotate(0deg) scale(1.1);
}

.header__logo-text {
  letter-spacing: -0.5px;
}

.header__logo-accent {
  color: var(--accent-color);
}


.header__nav {
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__nav-link {
  position: relative;
  padding: 0.5rem 0;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.header__nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.header__nav-link:hover::before,
.header__nav-link:focus::before {
  width: 100%;
}

.header__nav-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}


.header__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 15px rgba(255, 126, 54, 0.3);
  color: white;
  font-weight: 600;
  background: var(--accent-color);
  transition: all 0.3s ease;
}

.header__btn:hover {
  box-shadow: 0 6px 20px rgba(255, 126, 54, 0.4);
  background: #e6672a;
  transform: translateY(-2px);
}

.header__btn i {
  font-size: 0.9rem;
}


.header__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  padding: 0.5rem;
  background: none;
  cursor: pointer;
}

.header__burger-line {
  width: 25px;
  height: 3px;
  border-radius: 2px;
  background: white;
  transition: all 0.3s ease;
}

.header__burger.active .header__burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.header__burger.active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger.active .header__burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


.header__mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  width: 100%;
  height: 100vh;
  opacity: 0;
  background: rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.header__mobile-overlay.active {
  visibility: visible;
  opacity: 1;
}

.header__mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 90vw);
  height: 100vh;
  padding: 2rem;
  overflow-y: auto;
  background: linear-gradient(135deg, var(--main-color) 0%, var(--secondary-color) 100%);
  transition: transform 0.3s ease;
  transform: translateX(100%);
}

.header__mobile-overlay.active .header__mobile-menu {
  transform: translateX(0);
}

.header__mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1rem;
}

.header__close {
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  color: white;
  font-size: 1.5rem;
  background: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.header__close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.header__mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.header__mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 12px;
  padding: 1rem;
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.header__mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.header__mobile-nav-link i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.header__mobile-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: 2rem;
  border-radius: 12px;
  padding: 1rem;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  background: var(--accent-color);
  transition: all 0.3s ease;
}

.header__mobile-btn:hover {
  background: #e6672a;
  transform: translateY(-2px);
}


.footer {
  position: relative;
  margin-top: auto;
  color: white;
  background: linear-gradient(135deg, var(--main-color) 0%, #0f4c7a 100%);
}

.footer__waves {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer__wave {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  fill: var(--bg-color);
  rotate: 180deg;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__column--main {
  max-width: 350px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.5rem;
}

.footer__logo i {
  color: var(--accent-color);
  font-size: 2rem;
  transform: rotate(-15deg);
}

.footer__logo-accent {
  color: var(--accent-color);
}

.footer__description {
  margin-bottom: 2rem;
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer__social-link i {
  font-size: 1.2rem;
}

.footer__column-title {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer__link:hover {
  color: white;
  transform: translateX(5px);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer__contact-item i {
  width: 20px;
  color: var(--accent-color);
  text-align: center;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.9);
  transition: all .3s ease;
}

.footer__contact-item:hover a {
  color: var(--accent-color);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.footer__bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer__trademark {
  color: var(--accent-color);
  font-weight: 600;
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

.footer__legal-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer__legal-link:hover {
  color: white;
}




@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__column--main {
    grid-column: 1 / -1;
    max-width: none;
  }
}


@media (max-width: 768px) {
  .header__container {
    height: 70px;
    padding: 0 1rem;
  }

  .header__logo {
    font-size: 1.25rem;
  }

  .header__logo i {
    font-size: 1.5rem;
  }

  .header__btn {
    display: none;
  }

  .footer__container {
    padding: 3rem 1rem 1.5rem;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__column--main {
    grid-column: auto;
    max-width: none;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header__container {
    height: 60px;
  }

  .header__logo {
    font-size: 1.1rem;
  }

  .header__mobile-menu {
    width: 100vw;
  }

  .footer__wave {
    height: 40px;
  }

  .footer__container {
    padding: 2rem 1rem 1rem;
  }

  .footer__legal {
    gap: 1rem;
  }

  .footer__legal-link {
    font-size: 0.8rem;
  }
}


.header.scrolled {
  box-shadow: 0 8px 32px rgba(26, 109, 177, 0.2);
  background: rgba(26, 109, 177, 0.95);
  backdrop-filter: blur(15px);
}

@media (max-width: 768px) {
  .footer__contact-item {
    justify-content: center;
    text-align: center;
  }
}