* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding: 100px;
}
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7fb;
    color: #1c1c1e;
    line-height: 1.6;
}

.header {
    background-color: #f8fbff;
    border-bottom: 1px solid #dbe9f4;
    padding: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__brand {
    font-size: 24px;
    font-weight: 600;
    color: #144a77;
    letter-spacing: 0.5px;
}

.header__menu .menu__list {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.menu__item a {
    text-decoration: none;
    font-size: 16px;
    color: #144a77;
    transition: color 0.3s ease;
    position: relative;
}

.menu__item a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #2878b9;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -4px;
    left: 0;
}

.menu__item a:hover {
    color: #2878b9;
}

.menu__item a:hover::after {
    width: 100%;
}

.main-hero {
    background: linear-gradient(135deg, #e9f3fa 0%, #f5faff 100%);
    padding: 100px 0;
    text-align: center;
    color: #144a77;
}

.main-hero__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.main-hero__text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.main-hero__title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 800px;
}

.main-hero__subtitle {
    font-size: 18px;
    width: 100%;
    color: #3a5d7d;
    margin-top: 10px;
}

.main-hero__btn {
    display: inline-block;
    margin: 30px auto 0 auto;
    padding: 14px 32px;
    background-color: #2878b9;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.main-hero__btn:hover {
    background-color: #1f5f8f;
}
@media (max-width: 800px) {
    .header__menu {
        display: none;
    }
}

.section-about {
    background-color: #ffffff;
    padding: 80px 0;
}

.section-about__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.section-about__img {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.section-about__img img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.section-about__content {
    flex: 1 1 45%;
    min-width: 300px;
}

.section-about__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #144a77;
}

.section-about__text {
    font-size: 18px;
    line-height: 1.6;
    color: #3a5d7d;
}

@media (max-width: 768px) {
    .section-about__wrap {
        flex-direction: column;
        text-align: center;
    }

    .section-about__title {
        font-size: 26px;
    }

    .section-about__text {
        font-size: 16px;
    }
}

.section-services {
    background-color: #f7fbff;
    padding: 80px 0;
}

.section-services__title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #144a77;
}

.section-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card__icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d6e99;
}

.service-card__text {
    font-size: 16px;
    color: #3a5d7d;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .section-services__title {
        font-size: 26px;
    }

    .service-card__title {
        font-size: 18px;
    }

    .service-card__text {
        font-size: 15px;
    }
}
.reviews-section {
    background-color: #f4f8ff;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
}

.reviews-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
    color: #1f2a48;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

.review-item {
    background-color: #ffffff;
    border: 1px solid #d9e2f3;
    border-radius: 18px;
    padding: 25px 28px;
    box-shadow: 0 6px 20px rgba(0, 28, 78, 0.06);
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-6px);
}

.review-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-stars {
    display: flex;
    gap: 6px;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #374760;
    margin: 0;
    font-weight: 400;
}

.review-author {
    font-size: 15px;
    font-weight: 500;
    color: #677389;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .reviews-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .review-text {
        font-size: 15px;
    }

    .review-author {
        font-size: 14px;
    }
}

.faq-section {
    background-color: #eef4fb;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
}

.faq-title {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    color: #1f2a48;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #d6e0f0;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item.open {
    box-shadow: 0 8px 20px rgba(0, 24, 60, 0.06);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    padding: 20px 24px;
    font-size: 17px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #2b3a59;
    cursor: pointer;
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.faq-item.open .faq-arrow {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #43526e;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 26px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px 18px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 0 18px 16px;
    }
}

.contact-section {
    background-color: #f5f9ff;
    padding: 70px 20px;
    font-family: 'Inter', sans-serif;
}

.contact-title {
    font-size: 32px;
    font-weight: 600;
    color: #1e2a47;
    text-align: center;
    margin-bottom: 12px;
}

.contact-description {
    max-width: 480px;
    margin: 0 auto 36px auto;
    font-size: 17px;
    color: #556680;
    text-align: center;
    line-height: 1.5;
}

.contact-form {
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    font-size: 15px;
    color: #324060;
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    padding: 12px 14px;
    border: 1.8px solid #cbd6e4;
    border-radius: 10px;
    font-size: 16px;
    color: #2b3a59;
    background-color: #fff;
    transition: border-color 0.3s ease;
    outline-offset: 2px;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 6px rgba(74, 144, 226, 0.4);
}

.form-textarea {
    resize: vertical;
    min-height: 96px;
}

.btn-submit {
    background-color: #3b6be0;
    color: #fff;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #2e56c3;
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 26px;
    }

    .contact-description {
        font-size: 15px;
        max-width: 90%;
    }

    .form-input,
    .form-textarea {
        font-size: 15px;
        padding: 10px 12px;
    }

    .btn-submit {
        font-size: 16px;
        padding: 12px 0;
    }
}
.site-footer {
    background-color: #1e2a47;
    padding: 28px 20px;
    color: #aab8d3;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    text-align: center;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
}

.footer-contact p {
    margin: 8px 0;
}

.footer-contact a {
    color: #7ea0f7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: #a5c1ff;
    outline: none;
}

@media (max-width: 480px) {
    .site-footer {
        font-size: 14px;
        padding: 20px 12px;
    }

    .footer-contact p {
        margin: 6px 0;
    }
}


/* Современный блок "Кто мы" */
.about--layout {
  padding: 60px 0;
}

.about__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.about__image {
  flex: 1 1 40%;
  max-width: 500px;
}

.about__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.about__content {
  flex: 1 1 55%;
}

.about__content p {
  line-height: 1.6;
  margin-bottom: 16px;
}

.about__content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.about__content li {
  margin-bottom: 10px;
  line-height: 1.5;
}


@media (min-width: 1024px) {
  .about__wrapper {
    flex-wrap: nowrap;
  }

  .about__image {
    flex: 0 1 45%;
  }

  .about__content {
    flex: 0 1 50%;
  }
}


@media (min-width: 1280px) {
  .about__wrapper {
    flex-wrap: nowrap;
    gap: 32px;
  }

  .about__image,
  .about__content {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
  }
}


@media (min-width: 1024px) {
  .about__wrapper {
    flex-wrap: nowrap;
    gap: 40px;
  }

  .about__image,
  .about__content {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
  }

  .about__image img {
    height: auto;
    object-fit: cover;
    max-width: 100%;
  }
}


@media (min-width: 1024px) {
  .about__wrapper {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 48px;
  }

  .about__image {
    flex: 0 0 35%;
    max-width: 35%;
  }

  .about__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  .about__content {
    flex: 0 0 65%;
    max-width: 65%;
  }

  .about__content p,
  .about__content ul {
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .about__content ul {
    padding-left: 20px;
  }

  .about__content li {
    margin-bottom: 12px;
  }
}


.about--layout {
  background-color: #f5f9ff;
  padding: 80px 0;
}

.about__content .title {
  font-size: 28px;
  color: #114b8c;
  font-weight: 700;
  margin-bottom: 24px;
}

.about__content p {
  color: #2e2e2e;
}


.services__item img {
  max-width: 72px;
  height: auto;
  margin-bottom: 20px;
}


.site-footer {
  background-color: #0a2540;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  font-family: "Segoe UI", Roboto, sans-serif;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #aad1ff;
}

.footer-note {
  font-size: 0.9rem;
  color: #ddd;
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
}
