* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
body {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: currentColor;
}

button {
  font-family: inherit;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

input,
textarea {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  width: 24px;
  height: 24px;
  display: block;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

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

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  color: #333;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

.header {
  background: #ffffff;
}
.header__top {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__phone-icon {
  width: 20px;
  height: 20px;
  fill: #0056b3;
}
.header__phone-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}
.header__bottom {
  padding: 15px 0;
  position: relative;
}
.header__logo-img {
  height: 60px;
}
.header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transition: 0.4s;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__nav.is-open {
  right: 0;
}
.header__nav-list {
  list-style: none;
  text-align: center;
}
.header__nav-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #333;
  font-size: 24px;
}
.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
}
.header__burger-line {
  width: 30px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}
@media (min-width: 1024px) {
  .header__burger {
    display: none;
  }
  .header__nav {
    position: static;
    width: auto;
    height: auto;
    display: block;
  }
  .header__nav-list {
    display: flex;
    gap: 20px;
  }
  .header__nav-link {
    font-size: 18px;
    padding: 0;
  }
}

.btn {
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
}

.btn--primary {
  background: #0056b3;
  color: #fff;
}

.btn--primary:hover {
  background: rgb(0, 61.4972067039, 128);
}

.hero {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero__label {
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.hero__title {
  font-size: 32px;
  margin-bottom: 30px;
  line-height: 1.2;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.hero__link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.hero__link-icon {
  width: 24px;
  height: 24px;
  fill: #fff;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 48px;
  }
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.services {
  padding: 60px 0;
  background: #f9f9f9;
}
.services__grid {
  display: grid;
  gap: 30px;
}
.services__item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}
.services__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}
.services__item-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.services__item-icon {
  width: 40px;
  height: 40px;
  fill: #0056b3;
}
.services__item-title {
  font-size: 22px;
  color: #0056b3;
}
.services__item-text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}
@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.care {
  padding: 60px 0;
}
.care__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.care__img {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}
.care__title {
  font-size: 28px;
  margin-bottom: 10px;
  color: #0056b3;
}
.care__subtitle {
  font-size: 32px;
  margin-bottom: 20px;
}
.care__subtitle--highlight {
  color: #0056b3;
}
.care__text {
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 18px;
}
.care__list {
  list-style: none;
  display: grid;
  gap: 15px;
}
.care__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
}
.care__item-icon-wrapper {
  width: 30px;
  height: 30px;
  background: #ffc107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.care__item-icon {
  width: 16px;
  height: 16px;
  fill: #fff;
}
@media (min-width: 768px) {
  .care__grid {
    grid-template-columns: 1fr 1fr;
  }
  .care__img {
    min-height: 450px;
  }
}

.advantages {
  padding: 60px 0;
  background: #f4f4f4;
}
.advantages__head {
  margin-bottom: 40px;
}
.advantages__head--center {
  text-align: center;
}
.advantages__title {
  font-size: 28px;
  margin-bottom: 10px;
  color: #0056b3;
}
.advantages__subtitle {
  font-size: 32px;
  margin-bottom: 20px;
}
.advantages__subtitle--highlight {
  color: #0056b3;
}
.advantages__grid {
  display: grid;
  gap: 30px;
}
.advantages__content {
  display: grid;
  gap: 30px;
}
.advantages__content-item {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #0056b3;
}
.advantages__content-title {
  font-size: 22px;
  margin-bottom: 10px;
}
.advantages__content-text {
  line-height: 1.6;
  color: #555;
}
.advantages__img {
  display: none;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}
@media (min-width: 768px) {
  .advantages__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .advantages__grid {
    grid-template-columns: 1fr 350px 1fr;
    align-items: center;
  }
  .advantages__img {
    display: block;
    height: 400px;
  }
}

.requirements {
  padding: 80px 0;
}
.requirements__head {
  text-align: center;
  margin-bottom: 50px;
}
.requirements__title {
  font-size: 32px;
  color: #0056b3;
  margin-bottom: 15px;
}
.requirements__text {
  font-size: 18px;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}
.requirements__grid {
  display: grid;
  gap: 40px;
}
.requirements__item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.requirements__item-img-wrapper {
  position: relative;
  height: 250px;
}
.requirements__item-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.requirements__item-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
}
.requirements__item-content {
  padding: 30px;
}
.requirements__item-title {
  font-size: 24px;
  margin-bottom: 20px;
}
.requirements__item-title--highlight {
  color: #0056b3;
}
.requirements__item-list {
  padding-left: 20px;
  display: grid;
  gap: 10px;
}
.requirements__item-list-item {
  list-style: square;
  font-size: 18px;
  color: #444;
}
.requirements__item-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .requirements__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.reviews {
  padding: 80px 0;
  background: #f4f4f4;
}
.reviews__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.reviews__img {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}
.reviews__title {
  font-size: 28px;
  color: #0056b3;
  margin-bottom: 10px;
}
.reviews__subtitle {
  font-size: 32px;
  margin-bottom: 30px;
}
.reviews__subtitle--highlight {
  color: #0056b3;
}
.reviews__list {
  list-style: none;
  display: grid;
  gap: 25px;
}
.reviews__item {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
}
.reviews__item-text {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 15px;
  color: #333;
}
.reviews__item-author {
  font-weight: bold;
  font-size: 16px;
  color: #0056b3;
}
.reviews__item-stars {
  margin-top: 5px;
}
@media (min-width: 768px) {
  .reviews__grid {
    grid-template-columns: 400px 1fr;
  }
  .reviews__img {
    min-height: 500px;
  }
}

.contact {
  padding: 80px 0;
}
.contact__wrapper {
  display: grid;
  gap: 50px;
}
.contact__list {
  list-style: none;
  display: grid;
  gap: 20px;
  margin-top: 30px;
}
.contact__item-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}
.contact__item-icon-wrapper {
  width: 50px;
  height: 50px;
  background: #ffc107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__item-icon {
  width: 24px;
  height: 24px;
  fill: #fff;
}
.contact__item-label {
  display: block;
  font-size: 14px;
  color: #888;
}
.contact__form {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}
.contact__form-wrapper {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr;
}
.contact__form-input, .contact__form-textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
}
.contact__form-textarea {
  height: 120px;
  resize: vertical;
}
@media (min-width: 768px) {
  .contact__wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup.is-visible {
  display: flex;
}
.popup__content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}
.popup__title {
  color: #0056b3;
  margin-bottom: 15px;
}
.popup__text {
  font-size: 18px;
  margin-bottom: 30px;
}

.footer {
  background: #222;
  color: #fff;
  padding: 60px 0 20px;
}
.footer__grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__logo-img {
  height: 50px;
  filter: invert(1) brightness(2);
  margin-bottom: 20px;
}
.footer__text {
  line-height: 1.6;
  color: #bbb;
  margin-bottom: 20px;
}
.footer__title {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffc107;
}
.footer__nav-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer__nav-link {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}
.footer__nav-link:hover {
  color: #fff;
}
.footer__contact {
  display: grid;
  gap: 15px;
}
.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  text-decoration: none;
}
.footer__contact-icon-wrapper {
  width: 30px;
  height: 30px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__contact-icon {
  width: 14px;
  height: 14px;
  fill: #fff;
}
.footer__bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #777;
  font-size: 14px;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal.is-visible {
  display: flex;
}
.modal__content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: none;
  font-size: 30px;
  cursor: pointer;
}
.modal__form {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}
.modal__input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}

.page-hero {
  padding: 100px 0 60px;
  background: #f4f4f4;
  text-align: center;
}
.page-hero__title {
  font-size: 42px;
  color: #0056b3;
  margin-bottom: 20px;
}

.policy {
  padding: 60px 0 100px;
}
.policy__content {
  max-width: 900px;
  margin: 0 auto;
}
.policy__section {
  margin-bottom: 40px;
}
.policy__heading {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0056b3;
}
.policy__text {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}
.policy__list {
  padding-left: 25px;
  margin-bottom: 15px;
}
.policy__item {
  list-style: disc;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 8px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #333;
  color: #fff;
  padding: 20px 0;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
}
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}
.cookie-banner__text {
  font-size: 14px;
  text-align: center;
}
.cookie-banner__link {
  color: #ffc107;
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
}
@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    justify-content: space-between;
  }
  .cookie-banner__text {
    text-align: left;
  }
}

.btn--secondary {
  background: #555;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.btn--secondary:hover {
  background: #666;
}

.error-page {
  padding: 100px 0;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-page__title {
  font-size: 120px;
  color: #0056b3;
  margin-bottom: 10px;
  line-height: 1;
}
.error-page__subtitle {
  font-size: 32px;
  margin-bottom: 20px;
}
.error-page__text {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}