:root {
  --color-text: #1f2430;
  --color-primary: #2f43ed;
  --color-primary-hover: #2338df;
  --color-primary-soft: #f2f5ff;
  --color-border: #e4e8f4;
  --container-width: 1240px;
  --container-padding: 16px;
}

.vpodolske-legacy {
  display: contents;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--color-text);
}

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

.faq-answer a,
.faq-answer a span {
  color: #5b4cff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover,
.faq-answer a:hover span {
  color: #3f3ad1;
}

.container {
  width: min(100% - 2 * var(--container-padding), var(--container-width));
  margin-inline: auto;
}

.btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

.btn-primary { color: #fff; background: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-light { background: var(--color-primary-soft); color: var(--color-primary) !important; }
.btn-outline { background: #f4f6ff; color: var(--color-primary); }

.site-header { background: #fff; border-bottom: 1px solid var(--color-border); }

.header-top {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-nav-row {
  min-height: 46px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--color-border);
}

.logo { display: inline-flex; align-items: center; gap: 10px; min-width: 214px; }

.logo-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text { display: grid; line-height: 1.05; }
.logo-small { font-size: 9px; color: #93a0bf; letter-spacing: 0.05em; }
.logo-main { font-size: 20px; color: var(--color-primary); font-weight: 700; }

.header-meta {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: #565f75;
}

.meta-address {
  max-width: 420px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-hours {
  min-width: 160px;
  white-space: nowrap;
}
.meta-phone { color: #1d2230; font-weight: 600; min-width: 116px; }
.mobile-nav li a:before{
  content: '›';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 18px;
}
.mobile-nav li a{
  position: relative;
}
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.section-full{
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}


















/* Шапка: ступенчатая адаптация при сужении экрана
   1) адрес → 2 строки
   2) график → 2 строки
   3) телефон → только синяя иконка
   4) скрываем график
   5) скрываем адрес
*/
@media (max-width: 1120px) {
  .meta-address {
    max-width: 360px;
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 980px) {
  .meta-hours {
    min-width: 140px;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

}

@media (max-width: 900px) {
  .meta-phone .meta-phone-text { /*display: none;*/ }
}

@media (max-width: 820px) {
  .meta-hours { display: none; }
}

@media (max-width: 740px) {
  .meta-address { display: none; }
}

.meta-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  object-fit: contain;
  display: block;
}

.header-book-desktop { font-size: 14px; min-height: 34px; padding: 0 16px; border-radius: 6px; }

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.main-nav { width: 100%; }
.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-nav a { font-size: 14px; line-height: 1.1; font-weight: 600; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

.menu-toggle { display: none; }

.section { padding: 38px 0 40px; }
.hero {
  background: linear-gradient(100deg, #3f4ee6 0%, #4658ef 52%, #6275ff 100%);
}
.hero-variant + .hero-variant { margin-top: 18px; }
.hero-variant-b { background: #3f53ec; text-align: center; }

.hero h1 {
  margin: 0;
  color: #fff;
  text-align: left;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 700;
}

.hero h1 .hero-title-break-mobile {
  display: none;
}

.hero p {
  margin: 14px 0 24px;
  max-width: 520px;
  color: #e0e6ff;
  text-align: left;
  font-size: 16px;
  line-height: 1.35;
}

.hero-form {
  width: 100%;
  max-width: 520px;
  margin: 0;
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px 16px;
}

.hero-form h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

.hero-form input[type="text"],
.hero-form input[type="tel"] {
  width: 100%;
  height: 50px;
  border: 1px solid #dce3f3;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0 16px;
  font-size: 16px;
  color: #3a4258;
}

.hero-form input::placeholder { color: #c4cad9; }

.hero-consent {
  --hc-check: 15px;
  --hc-gap: 5px;
  position: relative;
  display: block;
  margin-bottom: 14px;
  margin-top: 12px;
  padding-top: 2px;
  padding-left: calc(var(--hc-check) + var(--hc-gap));
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.hero-consent .wpcf7-form-control-wrap {
  display: contents;
  position: static;
}

.hero-consent .wpcf7-checkbox,
.hero-consent .wpcf7-list-item,
.hero-consent label {
  display: inline;
  margin: 0;
}

.hero-consent input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 2px;
  width: var(--hc-check);
  height: var(--hc-check);
  min-width: var(--hc-check);
  min-height: var(--hc-check);
  margin: 0 !important;
  -webkit-appearance: auto !important;
  appearance: auto !important;
}

.hero-consent .policy-link {
  display: contents;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.hero-consent .policy-link__text {
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.policy-link {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.hero-submit {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  border-radius: 8px;
}

.hero-form .wpcf7-spinner {
  display: none !important;
}

.hero-form .hero-consent {
  margin-top: 12px;
}

.hero-form .hero-note {
  margin: 11px 0 0;
  text-align: center;
  color: #6e7179;
  font-size: 13px;
}

.hero-a-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 34px;
}

.hero-points,
.hero-points ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  list-style: none;
}


.hero-points li {
  position: relative;
  padding-left: 30px;
  color: #e6ebff;
  font-size: 18px;
  font-weight: 500;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  background: url("/wp-content/themes/podolsk_theme/img/check-circle.png") center / contain no-repeat;
}

.hero-variant-b h1 {
  text-align: center;
  max-width: none;
}

.hero-variant-b p {
  text-align: center;
  max-width: none;
  margin-inline: auto;
}

.hero-b-badge {
  width: fit-content;
  margin: 0 auto 16px;
  padding: 8px 14px;
  background: #ffffff;
  color: #1e2b57;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-b-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
}

.hero-b-metrics ul{
  margin: 0 auto 16px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
}

.hero-b-metrics li {
  min-height: 46px;
  border-radius: 10px;
  background: #ffffff;
  color: #1f2a4a;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-b-metrics li img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 20px;
}

.hero-form-inline {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px 14px;
}

.hero-form-inline .hero-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.hero-form-inline .hero-form-row input {
  margin-bottom: 0;
  height: 50px;
}

.hero-form-inline .hero-submit {
  min-height: 50px;
  height: 50px;
  width: 190px;
  margin: 0;
}

.hero-form-inline .hero-consent {
  margin-top: 10px;
  margin-bottom: 0;
}

.hero-variant-b .hero-note {
  text-align: center;
  color: #dbe3ff;
  margin-top: 14px;
}

.site-footer {
  border-top: 1px solid #e2e7f0;
  background: #f0f4ff;
  padding: 22px 0 20px;
  color: #5c6478;
}

.block-title {
  margin: 0 0 40px;
  font-size: 32px;
  line-height: 1.15;
  color: #1f2431;
}

.block-title:has(+ p),
.block-title:has(+ .prices-subtitle),
.services-subtitle > h2,
.services-title,
.process-section .container > h2,
.why-section .container > h2,
.prices-section .container > h2,
.partners-section .container > h2,
.faq-section .container > h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  color: #1f2431;
}

.services-subtitle > p,
.prices-section .container > h2 + p,
.prices-subtitle,
.faq-section .container > h2 + p,
.block-title + p,
.block-title + .prices-subtitle {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.4;
  color: #737c92;
}

.process-section .container > h2:not(:has(+ p)),
.why-section .container > h2,
.partners-section .container > h2:not(:has(+ p)),
.faq-section .container > h2:not(:has(+ p)),
.block-title:not(:has(+ p)):not(:has(+ .prices-subtitle)) {
  margin-bottom: 40px;
}

.section-white {
  background: #fff;
  padding: 64px 0 48px;
}

.services-title {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  color: #202636;
}

.services-title,
.block-title,
.help-banner-content h2,
.cta-wide h2 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
}

.services-subtitle {
  margin: 0;
  font-size: 16px;
  color: #737c92;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  border: 1px solid #e2e7f2;
  border-radius: 12px;
  background: #fff;
  padding: 18px 16px 20px;
  text-align: center;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 8px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: #2f3441;
  font-size: 16px;
  line-height: 1.35;
}

.services-tags ul{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 16px;
  color: #2d3343;
  font-weight: 600;
}

.services-tags li:before{
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  background: url("/wp-content/themes/podolsk_theme/img/plus-circle.png") center no-repeat;
  background-size: contain;
  width: 22px;
  height: 22px;
}
.services-tags li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-left: 30px;
}

.services-tags img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}

.help-banner-section {
  background: #fff;
  padding: 8px 0 34px;
}

.help-banner {
  min-height: 162px;
  border-radius: 14px;
  background: linear-gradient(79deg, #ede2ff 0%, #e6e7ff 50%, #deeaff 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 24px 30px;
  gap: 20px;
  overflow: visible;
}

.help-banner-content h2 {
  margin: 0 0 8px;
  color: #1e2432;
}

.help-banner-content p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #6f778d;
}

.help-banner-content {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.help-banner-content .btn {
  width: auto;
  max-width: 100%;
  min-height: 42px;
  padding: 12px 22px;
  font-size: 14px;
  border-radius: 7px;
  box-sizing: border-box;
  justify-content: center;
}

.help-banner img {
  width: 214px;
  height: auto;
  object-fit: contain;
  flex: 0 0 214px;
  position: absolute;
  right: 30px;
  bottom: 0;
  pointer-events: none;
}

.process-section,
.why-section,
.prices-section,
.partners-section,
.faq-section,
.contacts-section {
  padding: 44px 0 48px;
  background: #fff;
}

.process-section {
  background: #f6f8fc;
}

.mini-cards,
.price-grid {
  display: grid;
  gap: 12px;
}
.mini-cards span.mini-arrow:last-child {
    display: none;
}

.mini-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr) 18px) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.mini-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 10px 15px;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mini-card strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 16px;
}

.mini-card strong img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.mini-card h3 {
  margin: 8px 0 10px;
  font-size: 18px;
  line-height: 1.2;
  color: #1f2431;
}

.mini-card p {
  margin: 0;
  font-size: 13px;
  color: #6b7388;
  line-height: 1.35;
  margin-top: auto;
}

.mini-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mini-arrow--desktop {
  width: 27px;
  height: 27px;
  object-fit: contain;
  display: block;
}

.mini-arrow--mobile {
  display: none;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.why-swiper {
  width: 100%;
  padding-bottom: 8px;
}

.why-swiper .swiper-slide {
  height: auto;
}

.why-swiper-pagination.swiper-pagination {
  position: relative;
  margin-top: 14px;
  display: none !important;
}

.services-bar-pagination {
  display: none;
}

@media (min-width: 769px) {
  .why-swiper {
    padding-bottom: 0;
    overflow: visible;
  }

  .why-swiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row !important;
    justify-content: stretch !important;
    gap: 12px;
    transform: none !important;
  }

  .why-swiper .swiper-slide {
    width: auto !important;
    margin: 0 !important;
    display: block !important;
    grid-template-columns: none !important;
  }
}

.why-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 14px 12px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  height: 100%;
}

.why-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 10px;
}

.why-card h3 {
  margin: 0 0 15px;
  font-size: 18px;
  line-height: 1.25;
}

.why-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #5f6a82;
  padding-bottom: 10px;
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prices-section {
  background: #f2f5fa;
}

.prices-subtitle {
  margin: 0 0 40px;
  color: #6f778d;
  font-size: 16px;
  line-height: 1.4;
}

.price-card {
  border: 1px solid #e8ecf3;
  border-radius: 24px;
  padding: 22px 20px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(31, 36, 48, 0.06);
}

.price-card h3 {
  margin: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid #e5e8ef;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #2f3546;
  text-align: left;
}

.price-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #2f3546;
}

.price-list li b {
  color: #3b4ecc;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.prices-note {
  margin: 22px 0 0;
}

.prices-note-lead {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #2a3040;
}

.prices-note-follow {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #2a3040;
}

.prices-note-link {
  color: #3b4ecc;
  text-decoration: underline;
}

button.prices-note-link {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.cta-wide {
  background: #3f51b5;
  color: #fff;
  text-align: center;
  padding: 42px 0 36px;
}

.cta-wide h2 {
  margin: 0 0 10px;
  color: #fff;
}

.cta-wide .container > h2 + p,
.cta-wide-subtitle {
  margin: 0 0 8px;
  color: #dce4ff;
  font-size: 17px;
  line-height: 1.35;
}

.cta-wide .container > div:has(.wpcf7),
.cta-wide .wpcf7 {
  margin-top: 0;
}

.cta-wide-form {
  max-width: 620px;
  margin: 0 auto 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.cta-wide-form input {
  height: 40px;
  border: 1px solid #d8e0ff;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 16px;
  width: 100%;
}

.cta-wide-form .btn {
  min-height: 40px;
  background: #fff;
  color: #2b3fcf;
  white-space: nowrap;
  padding-inline: 18px;
}

.cta-wide-consent {
  display: block;
  width: 100%;
  font-size: 14px;
  color: #e9eeff;
  line-height: 1.35;
  text-wrap: balance;
}

.cta-wide-consent .wpcf7-form-control-wrap {
  display: contents;
}

.cta-wide-consent .wpcf7-checkbox,
.cta-wide-consent .wpcf7-list-item,
.cta-wide-consent label {
  display: inline;
  margin: 0;
}

.cta-wide-consent input[type="checkbox"] {
  margin: 0 6px 0 0;
  vertical-align: -2px;
  width: 14px;
  height: 14px;
}

.cta-wide-consent .policy-link {
  color: #ffffff;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.partner-logo {
  min-height: 62px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a1b8;
  font-size: 13px;
}

.services-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.services-slider-head .block-title {
  margin-bottom: 0;
}

.services-slider-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.services-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid #dbe2f3;
  border-radius: 50%;
  background: #fff;
  color: #1e2537;
  cursor: pointer;
}

.services-swiper {
  width: 100%;
  padding-bottom: 2px;
}

.services-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.service-tile {
  width: 100%;
  max-width: none;
  min-height: 190px;
  border: 1px solid #dfe5f5;
  border-radius: 10px;
  background: #fff;
  padding: 10px 10px 12px;
  display: grid;
  grid-template-rows: 116px auto;
  align-items: center;
  justify-items: center;
  text-align: center;
  color: #1f2431;
  box-sizing: border-box;
}

.service-tile img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.service-tile span {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
}

.faq-box {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 20px 22px;
}

.faq-item {
  border-top: 1px solid var(--color-border);
}

.faq-item:first-of-type {
  border-top: 0;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  color: var(--color-primary);
}

.faq-icon::before {
  content: "+";
}

.faq-item.is-open .faq-icon::before {
  content: "−";
}

.faq-question-text {
  flex: 1;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 0 14px 40px;
  font-size: 14px;
  color: #5f6a82;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contacts-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contacts-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.4;
  color: #2a3142;
}

.contacts-list img {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-top: 2px;
}

.contacts-list a {
  color: inherit;
  font-weight: 600;
}

.contacts-note {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #6f778d;
}

.btn-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.btn-route:hover {
  background: #e6ebff;
}

.map-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: #e8ecf4;
  aspect-ratio: 973 / 604;
  min-height: 220px;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px 36px;
}

.footer-divider {
  display: none;
}

.site-footer .footer-logo {
  min-width: 0;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #1f2431;
}

.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #2a3142;
}

.footer-contacts img {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-top: 2px;
}

.footer-contacts a { color: inherit; font-weight: 600; }

.footer-cta {
  font-weight: 700;
  border-radius: 12px;
  min-height: 48px;
  padding-inline: 20px;
  align-self: start;
  margin-left: auto;
}

.footer-legal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid #dde3f0;
}

@media (min-width: 769px) {
  .footer-inner {
    display: grid;
    grid-template-columns: auto 320px 160px auto;
    align-items: start;
    justify-content: space-between;
    column-gap: 48px;
    row-gap: 18px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-contacts {
    justify-items: start;
  }

  .footer-cta {
    justify-self: end;
    margin-left: 0;
  }

  .footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .footer-policy {
    justify-self: auto;
    margin-inline: auto;
  }
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
  justify-self: start;
}

.footer-policy {
  font-size: 12px;
  color: #6b7280;
  text-decoration: underline;
  justify-self: center;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.policy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 39, 0.5);
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 12px;
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 39, 0.5);
}

.booking-modal-dialog {
  position: relative;
  width: min(520px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: 0;
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  overflow: auto;
  z-index: 1;
}

.booking-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.booking-modal-dialog h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  color: #1f2431;
}

.booking-form {
  margin-top: 0;
}

.booking-form input {
  margin-bottom: 10px;
}

.booking-form .hero-submit {
  margin-top: 6px;
}

.cf7-success-modal__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #4b5565;
}

.wpcf7-form.is-submitting {
  pointer-events: none;
}

.wpcf7-form.is-submitting .wpcf7-submit,
.wpcf7-form.is-submitting input[type="submit"] {
  opacity: 0.65;
  cursor: wait;
}

.wpcf7 form.sent .wpcf7-response-output {
  display: none !important;
}

.policy-modal-dialog {
  position: relative;
  width: min(860px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  overflow: auto;
}

.policy-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.policy-content p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #3f4758;
  line-height: 1.5;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 20, 34, 0.42);
  display: none;
}
.mobile-menu.is-open { display: block; }

.mobile-menu-inner {
  margin-left: auto;
  width: min(100%, 392px);
  height: 100%;
  background: #fff;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow: auto;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.menu-close {
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu-actions { display: grid; gap: 10px; }
.mobile-menu-actions .btn { min-height: 44px; font-size: 18px; border-radius: 10px; }

.mobile-nav ul { margin: 16px 0 0; padding: 0; list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--color-border); }
.mobile-nav a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--color-primary);
  background: #f7f8ff;
}

.mobile-menu-contact {
  margin-top: 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.mobile-menu-contact .header-meta { font-size: 11px; line-height: 1.25; color: #737d95; }

.mobile-menu-contact .meta-icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

@media (max-width: 992px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .map-frame {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }
  .hero h1{
    font-size: 34px;
  }
  .service-card h3{
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 12px;
  }

  .why-swiper {
    overflow: hidden;
    padding-bottom: 0;
  }

  .why-swiper .why-swiper-pagination.swiper-pagination {
    position: relative;
    bottom: auto !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    width: auto;
    transform: none !important;
  }

  .why-swiper-pagination.swiper-pagination,
  .services-bar-pagination {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
  }

  .why-swiper-pagination .swiper-pagination-bullet,
  .services-bar-pill {
    width: 14px;
    height: 5px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 10px;
    opacity: 1 !important;
    background: #d1d5e0;
    cursor: pointer;
    flex-shrink: 0;
    transition: width 0.28s ease, background-color 0.28s ease;
  }

  .why-swiper-pagination .swiper-pagination-bullet-active,
  .services-bar-pill.is-active {
    width: 32px;
    background: #3b4ecc;
  }

  .services-bar-pill:focus-visible {
    outline: 2px solid #3b4ecc;
    outline-offset: 2px;
  }

  .header-top {
    min-height: 52px;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .header-actions {
    margin-left: auto;
    gap: 10px;
  }

  .header-top .logo {
    min-width: 24px;
    gap: 0;
  }

  .header-top .logo-mark {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .header-top .logo-text,
  .header-nav-row {
    display: none;
  }

  .meta-phone {
    font-size: 12px;
    min-width: 0;
    flex: 0 0 auto;
    line-height: 1.25;
  }

  .meta-phone .meta-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .header-book-desktop {
    font-size: 12px;
    min-height: 28px;
    padding: 0 10px;
    margin-left: 0;
    flex-shrink: 0;
  }

  .menu-toggle {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #2d3346;
  }

  .section {
    padding: 20px 0 18px;
  }

  .hero h1 {
    font-size: clamp(22px, 5.5vw, 28px);
    text-align: left;
    max-width: 100%;
    line-height: 1.12;
  }

  .hero h1 .hero-title-break-mobile {
    display: block;
  }

  .hero p {
    font-size: 14px;
    text-align: left;
    margin: 10px 0 14px;
    max-width: 100%;
    line-height: 1.45;
  }

  .hero-a-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-points {
    gap: 6px;
    margin-bottom: 2px;
  }

  .hero-points li {
    font-size: 13px;
    padding-left: 26px;
    line-height: 1.45;
  }

  .hero-points li::before {
    width: 20px;
    height: 20px;
    top: 1px;
  }

  .hero-form {
    max-width: 100%;
    border-radius: 14px;
    padding: 12px 12px 10px;
  }

  .hero-form h2 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .hero-form input[type="text"],
  .hero-form input[type="tel"] {
    height: 44px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 16px;
    padding: 0 12px;
  }

  .hero-consent {
    --hc-check: 13px;
    --hc-gap: 5px;
    font-size: 10px;
    margin-bottom: 12px;
    gap: 0;
  }

  .hero-submit {
    min-height: 44px;
    font-size: 15px;
  }

  .hero-note {
    font-size: 10px;
    margin-top: 5px;
  }

  .hero-variant + .hero-variant {
    margin-top: 10px;
  }

  .hero-b-badge {
    font-size: 11px;
    padding: 6px 10px;
    margin-bottom: 10px;
  }

  .hero-b-badge img {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .hero-variant-b h1 {
    text-align: center;
    max-width: none;
  }

  .hero-variant-b p {
    text-align: center;
    max-width: 100%;
  }

  .hero-b-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 100%;
    margin-bottom: 10px;
  }

  .hero-b-metrics li {
    min-height: 34px;
    font-size: 12px;
    border-radius: 8px;
  }

  .hero-b-metrics li img {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .hero-form-inline {
    padding: 15px;
  }

  .hero-form-inline .hero-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-form-inline .hero-submit {
    width: 100%;
    min-height: 36px;
  }

  .hero-form-inline .hero-consent {
    margin-top: 8px;
    margin-bottom: 0;
  }

  .hero-variant-b .hero-note {
    margin-top: 8px;
  }

  .section-white {
    padding: 22px 0 18px;
  }

  .services-title {
    font-size: 18px;
    line-height: 1.22;
  }

  .services-subtitle {
    font-size: 12px;
    margin: 0;
  }

  .services-subtitle > p,
  .prices-section .container > h2 + p,
  .prices-subtitle,
  .faq-section .container > h2 + p,
  .block-title + p,
  .block-title + .prices-subtitle {
    margin-bottom: 24px;
    font-size: 12px;
  }

  .process-section .container > h2:not(:has(+ p)),
  .why-section .container > h2,
  .partners-section .container > h2:not(:has(+ p)),
  .faq-section .container > h2:not(:has(+ p)),
  .block-title:not(:has(+ p)):not(:has(+ .prices-subtitle)) {
    margin-bottom: 24px;
  }

  .services-subtitle > h2,
  .services-title,
  .process-section .container > h2,
  .why-section .container > h2,
  .prices-section .container > h2,
  .block-title:has(+ p),
  .block-title:has(+ .prices-subtitle) {
    margin-bottom: 8px;
    font-size: 18px;
  }

  #services .services-title,
  #services .services-subtitle {
    text-align: left;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-card {
    padding: 10px 10px 12px;
    text-align: left;
  }

  .service-card img {
    height: 118px;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card p {
    font-size: 12px;
  }

  .services-tags ul{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    font-size: 11px;
    margin-top: 10px;
    text-align: left;
  }

  .services-tags li {
    width: 100%;
  }

  .help-banner-section {
    padding: 2px 0 16px;
  }

  .help-banner {
    min-height: auto;
    padding: 18px 16px;
    border-radius: 12px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
  }

  .help-banner-content {
    text-align: left;
  }

  .help-banner-content h2 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .help-banner-content p {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .help-banner-content .btn {
    min-height: 48px;
    font-size: 13px;
    padding: 14px 22px;
    width: 100%;
    align-self: stretch;
  }

  .help-banner img {
    display: none;
  }

  .mini-cards {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .mini-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1px 0 2px;
    flex-shrink: 0;
    min-height: 0;
  }

  .mini-arrow--desktop {
    display: none;
  }

  .mini-arrow--mobile {
    display: block;
    width: 30px;
    height: 30px;
  }

  .mini-card {
    width: 100%;
    min-width: 0;
    flex: none;
    height: auto;
    min-height: 0;
  }

  .price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .price-card {
    width: 100%;
    min-width: 0;
  }

  .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .partner-logo {
    min-height: 52px;
    font-size: 11px;
  }

  .price-list li b {
    white-space: normal;
    text-align: right;
  }

  .prices-subtitle {
    font-size: 13px;
    margin: 0 0 12px;
  }

  .prices-note-lead {
    font-size: 15px;
  }

  .prices-note-follow {
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
  }

  .process-section,
  .why-section,
  .prices-section,
  .partners-section,
  .faq-section,
  .contacts-section {
    padding: 28px 0 32px;
  }

  .site-footer {
    padding: 28px 0 max(24px, env(safe-area-inset-bottom));
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    text-align: center;
  }

  .footer-divider {
    display: block;
    width: 100%;
    height: 0;
    margin: 18px 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #dde3f0;
  }

  .footer-logo {
    align-self: center;
  }

  .footer-logo .logo-small {
    color: #93a0bf;
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .footer-logo .logo-main {
    font-size: 20px;
    letter-spacing: 0;
  }

  .footer-nav {
    justify-content: space-between;
    width: 100%;
    gap: 6px;
    padding: 0 2px;
  }
  .footer-nav li,
  .footer-nav a {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #1f2431;
  }

  .footer-contacts {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    gap: 16px;
  }

  .footer-contacts li {
    align-items: flex-start;
  }

  .footer-contacts a,
  .footer-contacts span {
    font-size: 16px;
    font-weight: 400;
    color: #2a3142;
  }

  .footer-contacts a { font-weight: 600; }

  .footer-cta {
    width: 100%;
    max-width: none;
    margin: 0;
    justify-content: center;
    border-radius: 14px;
    min-height: 52px;
    font-size: 16px;
  }

  .footer-legal {
    flex: 0 0 auto;
    margin: 0;
    padding-top: 0;
    border-top: none;
    gap: 10px;
  }

  .policy-modal-dialog {
    width: min(860px, calc(100% - max(24px, env(safe-area-inset-left) + env(safe-area-inset-right))));
    max-height: calc(100dvh - max(24px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
    margin: max(12px, env(safe-area-inset-top)) auto max(12px, env(safe-area-inset-bottom));
  }

  .block-title {
    font-size: 20px;
  }

  .faq-box {
    padding: 14px;
    border-radius: 12px;
  }

  .faq-question {
    font-size: 13px;
    padding: 12px 0;
  }

  .faq-answer {
    font-size: 12px;
    padding-left: 36px;
  }

  .faq-icon {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    font-size: 18px;
  }

  .cta-wide h2 {
    font-size: 16px;
  }

  .cta-wide {
    padding: 26px 0 20px;
  }

  .cta-wide-subtitle,
  .cta-wide .container > h2 + p {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .cta-wide-form {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 10px;
  }

  .cta-wide-form input,
  .cta-wide-form .btn {
    min-height: 44px;
    height: auto;
    font-size: 16px;
  }

  .cta-wide-consent {
    font-size: 11px;
  }

  .services-slider-head {
    margin-bottom: 10px;
    justify-content: flex-start;
  }

  .services-slider-nav {
    display: none;
  }

  .service-tile {
    min-height: 156px;
    grid-template-rows: 86px auto;
    padding: 8px 8px 10px;
  }

  .service-tile span {
    font-size: 12px;
  }
}

@media (max-width: 540px) {
  .header-top .meta-phone-text {
    display: none;
  }

  .header-top .meta-phone {
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 4px;
    margin: -4px;
  }

  .header-top .meta-phone .meta-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 26px;
    max-width: 100%;
  }

  .hero p {
    max-width: 100%;
    font-size: 13px;
  }

  .services-title {
    font-size: 24px;
  }

  .service-card img {
    height: 100px;
  }

  .block-title {
    font-size: 24px;
  }
}
