@charset "UTF-8";
/* Base */ /* Reset and base styles  */
@import url("https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */
a, a:link, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside, nav, footer, header, section, main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}

ul, ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img, svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button, input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

:root {
  --container-width: 1200px;
  --container-padding: 15px;
  --font-main: "PT Sans", sans-serif;
  --page-bg: #fff;
  --accent: #3ab54a;
  --text-color: #222;
  --bg-color: #f3f3f3;
  --border-color: #e5e5e5;
  --laptop-size: 1199px;
  --tablet-size: 959px;
  --mobile-size: 599px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--page-bg);
  color: var(--text-color);
  font-family: var(--font-main);
}
body p {
  line-height: 130%;
}

.accent {
  color: var(--accent);
}

.bg {
  background-color: var(--bg-color);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
}

.section {
  padding: 50px 0;
}

.none {
  display: none !important;
}

.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;
}

.no-scroll {
  overflow-y: hidden;
}

.container {
  padding: 0 var(--container-padding);
  max-width: var(--container-width);
  margin: 0 auto;
}

.container-right {
  /* overflow-x: hidden; */
  padding-left: calc((100% - var(--container-width)) / 2 + var(--container-padding));
}
@media (max-width: var(--laptop-size)) {
  .container-right {
    padding-left: var(--container-padding);
  }
}

.container-left {
  /* overflow-x: hidden; */
  padding-right: calc((100% - var(--container-width)) / 2 + var(--container-padding));
}
@media (max-width: var(--laptop-size)) {
  .container-left {
    padding-right: var(--container-padding);
  }
}

/* Blocks */
.site-footer {
  background: #222;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ===== Общие ===== */
body {
  padding-top: 130px;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== Шапка ===== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--bg-color);
  z-index: 999;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-top,
.header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  font-weight: 900;
  font-size: 32px;
}

.nav ul {
  display: flex;
  gap: 24px;
}

.nav a {
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--accent);
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 16px;
  gap: 4px;
}

.phone {
  font-weight: 600;
  color: var(--accent);
}

.email {
  color: #666;
}

/* ===== Нижняя часть ===== */
.header-bottom {
  border-top: 1px solid var(--border-color);
  padding: 10px 0;
}

.description {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.buttons {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  text-align: center;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: #2c963a;
}

.btn.outline {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn.outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ===== Бургер ===== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Мобильное меню ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background: var(--bg-color);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
  transition: right 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mobile-inner {
  position: relative;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-logo {
  font-size: 22px;
  font-weight: 700;
}

.mobile-nav li {
  margin-bottom: 16px;
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 500;
}

.mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Кнопка закрытия */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--accent);
  transition: transform 0.2s;
}

.close-btn:hover {
  transform: rotate(90deg);
}

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .nav,
  .header-bottom {
    display: none;
  }
  .burger {
    display: flex;
  }
}
@media (max-width: 770px) {
  .header-contacts {
    display: none;
  }
}
.hero {
  padding: 50px 0 80px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 700;
}
.hero ul {
  max-width: 760px;
  margin-top: 14px;
  line-height: 130%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 18px;
}

.hero-wrap {
  display: flex;
  align-items: center;
}

.hero-wrap-left {
  max-width: 700px;
}

.hero-img {
  text-align: center;
  flex-grow: 1;
}

.hero-advantages {
  display: flex;
  margin-top: 80px;
  gap: 20px;
}

.hero-advantages-contact {
  flex: 1 1 calc(25% - 20px);
}

.hero-advantages-item {
  flex: 1 1 calc(25% - 20px);
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid #444;
}
.hero-advantages-item div {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.hero-advantages-item h2 {
  font-size: 18px;
  line-height: 130%;
  font-weight: 700;
}

.hero-advantages-contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 0;
  gap: 20px;
  text-align: center;
}
.hero-advantages-contact h2,
.hero-advantages-contact span {
  font-weight: 700;
}
.hero-advantages-contact a {
  width: 100%;
  text-align: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid #444;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.hero-advantages-contact a:hover {
  background-color: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.portfolio {
  background: #f9f9f9;
}

.portfolio__title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--accent);
}

.portfolio .swiper {
  overflow: hidden;
}

.portfolio .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  transition: transform 0.3s;
}

.portfolio .swiper-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

/* --- Контейнер стрелок и пагинации --- */
.portfolio-controls {
  display: flex;
  gap: 20px;
  margin: 35px 25px 25px;
  position: relative;
}

/* --- Пагинация --- */
.swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  transition: background 0.3s;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
}

/* --- Стрелки --- */
.swiper-button-prev,
.swiper-button-next {
  position: static;
  min-width: 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid #444;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
}

/* --- Адаптив --- */
@media (max-width: 992px) {
  .portfolio__title {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .portfolio-controls {
    gap: 10px;
  }
}
.contacts__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contacts__col {
  flex: 1 1 30%;
  min-width: 260px;
}

.contacts__col h3,
.contacts__col h2 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
}

.contacts__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contacts__list li {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  gap: 10px;
  color: #333;
}

.contacts__list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.contacts__list a:hover {
  color: var(--accent);
}

.contacts__list svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* --- Соцсети --- */
.contacts__socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contacts__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.contacts__icon img {
  width: 42px;
  height: 42px;
  filter: grayscale(100%) brightness(0) invert(0);
  transition: filter 0.3s;
}

.contacts__icon:hover {
  transform: scale(1.1);
}

.contacts__icon:hover img {
  filter: brightness(10) invert(1);
}

/* --- Индивидуальные цвета для сетей --- */
.contacts__icon.tg img {
  filter: invert(48%) sepia(100%) saturate(748%) hue-rotate(169deg) brightness(96%) contrast(97%);
}

.contacts__icon.wa img {
  filter: invert(63%) sepia(97%) saturate(510%) hue-rotate(96deg) brightness(92%) contrast(94%);
}

.contacts__icon.tt img {
  filter: invert(14%) sepia(100%) saturate(5642%) hue-rotate(341deg) brightness(90%) contrast(114%);
}

.contacts__icon.pt img {
  filter: invert(21%) sepia(100%) saturate(1500%) hue-rotate(350deg) brightness(95%) contrast(92%);
}

.about {
  background-color: #fff;
}
.about h1 {
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--accent);
}

.about-top h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 14px;
}
.about-top p {
  max-width: 700px;
}

.breadcrumbs {
  margin-bottom: 24px;
}

.about-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  row-gap: 40px;
  margin-top: 60px;
}

.about-item {
  flex: 1 1 calc(50% - 60px);
}
.about-item h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}
.about-item img {
  max-width: 48px;
}

.about-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  max-width: 940px;
  padding: 24px;
  border-radius: 20px;
  margin: 60px auto 0 auto;
  font-size: 16px;
  font-weight: 700;
}
.about-bottom .btn {
  font-size: 20px;
  flex-shrink: 0;
  padding: 24px 40px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 20px;
  font-size: 24px;
  font-weight: 500;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--accent, #3ab54a);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--accent, #3ab54a);
  transition: all 0.3s ease;
}

.faq-icon::before {
  width: 2px;
  height: 100%;
  left: 9px;
  top: 0;
}

.faq-icon::after {
  width: 100%;
  height: 2px;
  left: 0;
  top: 9px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 4000px;
  padding: 15px 20px 25px;
}

.faq-answer {
  font-size: 16px;
  line-height: 130%;
  color: #333;
}

.faq-answer p {
  margin-bottom: 15px;
}

.faq-answer a {
  color: var(--accent, #3ab54a);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Общие стили списков */
.list {
  list-style: none;
  margin: 10px 0 20px;
  padding: 0;
}

.list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

/* ✅ Зелёные галочки — гарантия */
.list--positive li::before {
  content: "✔";
  color: var(--accent, #3ab54a);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
}

/* ❌ Красные крестики — что не покрывается */
.list--negative li::before {
  content: "✖";
  color: #d94b4b;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
}

/* 🔹 Нейтральные шаги */
.list--steps li::before {
  content: "➜";
  color: #3ab54a;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
}

.faq-bottom {
  display: block;
  margin: 60px auto 0 auto;
  text-align: center;
  padding: 24px;
  border-radius: 20px;
  max-width: 340px;
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
  transition: all 0.2s ease;
}
.faq-bottom:hover {
  background-color: #e9e9e9 !important;
}

.price-table-block {
  margin-bottom: 50px;
}
.price-table__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}
.price-table__desc {
  margin-bottom: 20px;
  color: #777;
}

.price-table__content table {
  width: 100%;
  border-collapse: collapse;
}

.price-table__content table th,
.price-table__content table td {
  border: 1px solid #ddd;
  padding: 10px 15px;
  text-align: left;
}

.price-table__content table th {
  background: #f5f5f5;
  font-weight: 600;
}

.modal-form {
    max-width: 500px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.modal-form h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}
.modal-form p {
    margin-bottom: 20px;
    font-size: 15px;
    color: #444;
}
.modal-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.modal-form input[type="text"],
.modal-form input[type="tel"],
.modal-form textarea,
.modal-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color .2s ease;
}
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
    border-color: var(--accent);
    outline: none;
}
.modal-form input[type="submit"] {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}
.modal-form input[type="submit"]:hover {
    background: #31973f;
}

.fancybox__content {
  background: none !important;
}

span.wpcf7-form-control-wrap {
  display: block;
  margin-top: 4px;
  margin-bottom: 14px !important;
}
.wpcf7-textarea {
  resize: none;
  max-height: 150px;
}
.wpcf7-response-output {
  max-width: 500px;
  color: #fff;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0 !important;
}
.wpcf7-acceptance .wpcf7-list-item-label {
  font-weight: 500;
  margin-left: 4px;
}
.wpcf7-acceptance a {
  text-decoration: underline;
}
/* --- Адаптив --- */
@media (max-width: 768px) {
  .contacts__inner {
    flex-direction: column;
    gap: 30px;
  }
  .contacts__col {
    text-align: center;
  }
  .contacts__list li {
    justify-content: center;
  }
  .contacts__socials {
    justify-content: center;
  }
  .fancybox__content {
    padding: 15px !important;
  }
  .is-compact .fancybox__content>.f-button.is-close-btn {
    top: 20px !important;
    right: 22px !important;
  }
  .modal-form {
    padding: 15px;
  }
}
@media (max-width: 1100px) {
  .container {
    max-width: 768px;
  }
  .hero-wrap {
    gap: 40px;
    flex-wrap: wrap;
  }
  .hero-advantages {
    flex-wrap: wrap;
  }
  .hero-advantages-item,
  .hero-advantages-contact {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 900px) {
  body {
    padding-top: 70px;
  }
}
@media (max-width: 770px) {
  .container {
    max-width: 600px;
  }
  .hero {
    padding-bottom: 30px;
  }
  .hero ul {
    font-size: 16px;
  }
  .hero-advantages-item,
  .hero-advantages-contact {
    flex: 1 1 100%;
  }
  .hero-advantages {
    gap: 14px;
    margin-top: 40px;
  }
  .section-title {
    font-size: 24px;
  }
  .section {
    padding: 30px 0;
  }
  .about-item {
    flex: 1 1 100%;
  }
  .about h1 {
    font-size: 18px;
    font-weight: 700;
  }
  .about-top h2 {
    font-size: 24px;
  }
  .about-item h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .about-item h2 svg {
    max-width: 30px;
  }
  .about-wrap {
    margin-top: 24px;
    row-gap: 24px;
  }
  .about-bottom {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    font-size: 18px;
    gap: 14px;
  }
  .about-bottom .btn {
    padding: 14px 30px;
  }
}
@media (max-width: 420px) {
  .hero h1 {
    font-size: 32px;
  }
}
body.admin-bar .site-header {
  top: 32px;
}

.text-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
  font-size: 1rem;
  color: #333;
}

.text-page h1,
.text-page h2,
.text-page h3,
.text-page h4 {
  font-weight: 600;
  color: #111;
  margin: 40px 0 20px;
  line-height: 1.3;
}

.text-page h1 {
  font-size: 2rem;
  margin-top: 0;
  color: var(--accent);
}

.text-page h2 {
  font-size: 1.5rem;
}

.text-page h3 {
  font-size: 1.25rem;
}

.text-page p {
  margin-bottom: 1em;
}

.text-page a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.3s;
}

.text-page a:hover {
  color: #000;
}

.text-page ul,
.text-page ol {
  margin: 1em 0 1em 1.5em;
  padding: 0;
}

.text-page li {
  margin-bottom: 0.5em;
}

.text-page strong {
  font-weight: 600;
}

.text-page blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  font-style: italic;
  color: #555;
  margin: 1.5em 0;
}

.text-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.text-page th,
.text-page td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
}

.text-page th {
  background-color: #f7f7f7;
}

.text-page img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
  border-radius: 6px;
}

.text-page hr {
  border: none;
  height: 1px;
  background-color: #e0e0e0;
  margin: 2em 0;
}

@media (max-width: 768px) {
  .text-page {
    padding: 40px 16px;
    font-size: 0.95rem;
  }

  .text-page h1 {
    font-size: 1.6rem;
  }

  .text-page h2 {
    font-size: 1.3rem;
  }

  .text-page h3 {
    font-size: 1.1rem;
  }

  .text-page table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
