/* Константа: правки 20.10. Главный баннер и Slider Revolution не изменяются. */
:root{--konstanta-ink:#294957;--konstanta-gradient:linear-gradient(90deg,rgba(162,227,206,.85),rgba(154,193,255,.85) 55%,#ffe2f0)}
.konstanta-header .konstanta-phones a{font-size:24px;line-height:1.25;font-weight:500;letter-spacing:.35px}
.konstanta-header .konstanta-social{gap:22px}
.konstanta-header .konstanta-social a{min-width:36px;min-height:40px}
.konstanta-header .konstanta-social img{width:36px;height:36px}
.konstanta-header .konstanta-social .konstanta-access{padding-left:24px}
.konstanta-top .konstanta-map-link{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;min-width:0}
.konstanta-top .konstanta-map-link:hover{text-decoration:underline}
.konstanta-top img{width:18px;height:18px;object-fit:contain;flex:0 0 18px}
.konstanta-top span:last-child img{width:18px;height:18px;flex-basis:18px}
/* Отзывы остаются в потоке документа с полноценным отступом до следующей секции. */
.home .comments{height:auto!important;min-height:0!important;overflow:visible;display:flow-root;padding-bottom:75px!important;margin-bottom:0!important;position:relative}
.home .comments>.container{height:auto!important}
.home .comments .col-md-9>div[style*="height:800px"]{width:100%;min-width:0!important;margin:0 auto}
.home .comments iframe{display:block;max-width:100%}
.home .comments+.konstanta-questions{clear:both;margin-top:0}
.question.konstanta-questions .konstanta-contact{background:rgba(255,255,255,.88);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.konstanta-contact-address{color:inherit;text-decoration:none}.konstanta-contact-address:hover{text-decoration:underline}
/* Одинаковая форма на главной и во всплывающем окне. */
.konstanta-form-fields{color:var(--konstanta-ink);text-align:left}
.konstanta-form-fields .konstanta-honeypot{display:none!important}
.konstanta-form-fields h3{font-size:30px;line-height:1.18;color:var(--konstanta-ink);font-weight:700;margin:0 0 26px;text-align:center}
.konstanta-form-fields .konstanta-field{display:block;margin:0 0 18px;font-size:15px;font-weight:600;line-height:1.4;color:#405e6b}
.konstanta-form-fields .wpcf7-form-control-wrap{display:block;margin-top:9px}
.konstanta-form-fields input[type=text],.konstanta-form-fields input[type=tel]{display:block;box-sizing:border-box;width:100%;height:50px;background:#f7fafb;color:#294957;font:400 16px/1.4 Arial,sans-serif;border:1px solid #cbd8dd;border-radius:13px;margin:0;padding:10px 14px}
.konstanta-form-fields input:focus-visible{outline:2px solid #2e92b8;outline-offset:3px}
.konstanta-form-fields .konstanta-form-submit{margin-top:25px}
.konstanta-form-fields input[type=submit],.question.konstanta-questions .konstanta-form-fields input[type=submit]{display:block;box-sizing:border-box;width:100%;height:auto;min-height:54px;padding:13px 20px;margin:0;border:0;border-radius:13px;background:var(--konstanta-gradient)!important;color:#fff!important;text-transform:none;font-size:18px;font-weight:700;cursor:pointer}
.konstanta-form-fields input[type=submit]:disabled{cursor:not-allowed;opacity:.7}
.konstanta-form-fields .konstanta-form-consent{margin-top:18px;font-size:13px;line-height:1.4;color:#7291a0}
.konstanta-form-fields .konstanta-form-consent .wpcf7-form-control-wrap{margin:0}
.konstanta-form-fields .wpcf7-list-item{margin:0}
.konstanta-form-fields .wpcf7-acceptance label{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.4;font-weight:400;margin:0}
.konstanta-form-fields input[type=checkbox]{width:19px;height:19px;flex:0 0 19px;margin:2px 0 0;accent-color:#2e92b8}
.konstanta-form-fields .konstanta-form-consent a,.question.konstanta-questions .konstanta-form-fields .konstanta-form-consent a{color:#7291a0!important;font-size:inherit;text-decoration:underline!important;text-underline-offset:2px}
.konstanta-form-fields p{margin:0}
.konstanta-form-fields label br,.konstanta-form-submit br{display:none}
.konstanta-callback{box-sizing:border-box}
#record .modal-title{display:none}
#record .modal-dialog{max-width:440px;margin:30px auto}
#record .modal-content{border:1px solid #e2edf0;border-radius:25px;box-shadow:0 20px 60px #18374930}
#record .modal-header{padding:0;border:0;position:relative;height:0;z-index:2}
#record .modal-header .close{position:absolute;right:14px;top:12px;float:none;padding:2px 8px;margin:0;font-size:30px;background:#fff;color:#36535f;opacity:1;border-radius:8px}
#record .modal-body{padding:46px 30px 30px}
#record .konstanta-form-fields h3{font-size:28px;padding:0 8px}
#record .modal-body .wpcf7-response-output{margin:20px 0 0;color:#294957}
/* Контакты: отдельная семантическая страница, действующая карта остаётся ниже. */
.konstanta-contacts-page{background:linear-gradient(105deg,#3ab2de 3%,#62b5d2 26%,#83c4d9 47%,#fff 96%);padding:70px 24px 65px;color:#fff}
.konstanta-contacts-wrap{max-width:1140px;margin:0 auto}
.konstanta-contacts-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;max-width:1010px}
.konstanta-contacts-heading h1{font-size:64px;line-height:1.1;font-weight:700;color:#fff;margin:0 0 24px;position:relative;padding-bottom:20px}
.konstanta-contacts-heading h1:after{content:'';position:absolute;left:0;bottom:0;width:64px;height:4px;background:#f37bb7;border-radius:5px}
.konstanta-contacts-heading h2{font-size:26px;line-height:1.25;font-weight:700;color:#fff;margin:0}
.konstanta-hours{flex:0 0 400px;box-sizing:border-box;padding:18px 42px 16px;background:rgba(255,255,255,.76);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);border-radius:24px;color:#315b70}
.konstanta-hours strong{display:block;font-size:26px;color:#2698ab;line-height:1.3}.konstanta-hours b{display:block;font-size:39px;line-height:1.3;letter-spacing:1px}.konstanta-hours span{display:block;font-size:17px;margin-top:4px;color:#7898a6}
.konstanta-contacts-intro{font-size:17px;line-height:1.3;margin:10px 0 40px;max-width:730px}
.konstanta-contacts-cards{display:grid;grid-template-columns:1.12fr .85fr 1fr;gap:62px;align-items:stretch}
.konstanta-info-card{position:relative;background:#fff;color:#304f60;border-radius:24px;padding:26px;min-width:0;min-height:210px;box-sizing:border-box}
.konstanta-info-card img{width:36px;height:36px;object-fit:contain;display:block;margin-bottom:20px}
.konstanta-info-card h3{font-size:24px;line-height:1.2;font-weight:700;margin:0 0 20px;color:#304f60}
.konstanta-info-card:first-child img{position:absolute;top:26px;left:26px;width:30px;height:34px}
.konstanta-info-card:first-child h3{padding-left:44px}
.konstanta-info-card p{font-size:14px;line-height:1.35;color:#7b99ab;margin:16px 0 0}
.konstanta-card-phones a{display:block;white-space:nowrap;font-size:20px;line-height:1.3;color:#2099bc;font-weight:600}
.konstanta-info-card h3 a{color:inherit;text-decoration:underline;text-underline-offset:4px}
.konstanta-card-address{font-size:13px;color:#668b9f;display:block;margin-top:12px}
.konstanta-extract{display:block;box-sizing:border-box;max-width:920px;margin:35px auto 0;padding:18px 28px;text-align:center;border-radius:18px;background:var(--konstanta-gradient);color:#294957;font-size:24px;line-height:1.25;font-weight:700;text-transform:uppercase;text-decoration:none}
.konstanta-extract:hover{color:#294957;filter:brightness(.98);text-decoration:none}
.konstanta-contacts-page a:focus-visible{outline:3px solid #294957;outline-offset:4px}
@media(min-width:992px){.question.konstanta-questions h2{font-size:40px}.question.konstanta-questions .konstanta-callback{width:82%;padding:40px 30px}.konstanta-form-fields h3{font-size:30px}}
@media(max-width:1399px){.konstanta-header .konstanta-phones a{font-size:22px}.konstanta-header .konstanta-social{gap:16px}.konstanta-header .konstanta-social .konstanta-access{padding-left:18px}.konstanta-contacts-cards{gap:35px}.konstanta-info-card h3{font-size:22px}.konstanta-card-phones a{font-size:19px}}
@media(min-width:768px) and (max-width:1100px){.konstanta-contacts-heading h1{font-size:56px}.konstanta-hours{flex-basis:340px;padding:18px 28px}.konstanta-hours strong{font-size:22px}.konstanta-hours b{font-size:34px}.konstanta-contacts-cards{gap:22px}.konstanta-info-card{padding:22px 18px}.konstanta-info-card:first-child img{left:18px}.konstanta-info-card h3{font-size:20px}.konstanta-card-phones a{font-size:16px}}
@media(max-width:767px){
 .konstanta-header .konstanta-main{gap:14px 12px;align-items:center;padding-top:16px;padding-bottom:16px}
 .konstanta-header .konstanta-top .konstanta-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding-top:8px;padding-bottom:8px}
 .konstanta-header .konstanta-map-link{gap:7px;font-size:11px;line-height:1.4}
 .konstanta-header .konstanta-top span:last-child{font-size:11px;gap:7px}
 .konstanta-header .konstanta-top img,.konstanta-header .konstanta-top span:last-child img{width:16px;height:16px;flex-basis:16px}
 .konstanta-header .konstanta-phones a{font-size:clamp(15px,4.1vw,20px);line-height:1.3;font-weight:500;letter-spacing:0}
 .konstanta-header .konstanta-social{gap:10px}.konstanta-header .konstanta-social img{width:28px;height:28px}.konstanta-header .konstanta-social a{min-width:28px;min-height:34px}.konstanta-header .konstanta-social .konstanta-access{padding-left:10px}
 .konstanta-header .navbar-toggler{display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0}.konstanta-header .navbar-toggler-icon{width:30px;height:30px}
 .home .comments{padding-bottom:48px!important}.home .comments .col-md-9{padding-left:15px;padding-right:15px}
 .question.konstanta-questions h2{font-size:32px!important;line-height:1.2;margin-bottom:32px}
 .question.konstanta-questions .konstanta-contact{padding:26px}.question.konstanta-questions .konstanta-callback{width:100%;padding:32px 24px}
 .konstanta-form-fields h3{font-size:27px;margin-bottom:26px}.konstanta-form-fields .konstanta-field{font-size:14px}
 .konstanta-form-fields input[type=text],.konstanta-form-fields input[type=tel]{height:48px}
 #record .modal-dialog{margin:20px 16px;max-width:440px;width:auto}#record .modal-body{padding:45px 24px 28px}#record .konstanta-form-fields h3{font-size:27px}
 .konstanta-contacts-page{padding:42px 24px 45px}.konstanta-contacts-heading{display:flex;flex-direction:column;gap:22px}.konstanta-contacts-heading h1{font-size:52px;padding-bottom:17px;margin-bottom:20px}.konstanta-contacts-heading h1:after{width:82px;height:4px}.konstanta-contacts-heading h2{font-size:21px}
 .konstanta-hours{flex:none;width:100%;max-width:330px;padding:14px 22px;border-radius:22px}.konstanta-hours strong{font-size:20px}.konstanta-hours b{font-size:29px}.konstanta-hours span{font-size:13px}
 .konstanta-contacts-intro{font-size:15px;line-height:1.35;margin:24px 0 28px;max-width:330px}
 .konstanta-contacts-cards{display:flex;flex-direction:column;gap:18px;max-width:360px;margin:auto}.konstanta-info-card{min-height:0;padding:22px 24px;border-radius:22px}.konstanta-info-card h3{font-size:20px;line-height:1.2;margin-bottom:16px}.konstanta-info-card img{width:32px;height:32px;float:left;margin-right:16px;margin-bottom:0}.konstanta-info-card:first-child img{left:24px;top:23px;width:27px;height:30px}.konstanta-info-card:first-child h3{padding-left:40px;font-size:18px}.konstanta-card-phones{padding-left:40px}.konstanta-card-phones a{font-size:18px}.konstanta-info-card p{font-size:13px;clear:both}.konstanta-card-address{font-size:13px}.konstanta-extract{font-size:20px;line-height:1.3;margin-top:30px;padding:18px 20px;border-radius:18px;max-width:360px}
}
@media(max-width:359px){.konstanta-header .konstanta-main{gap:12px 6px}.konstanta-header .konstanta-social{gap:6px}.konstanta-header .konstanta-social img{width:25px;height:25px}.konstanta-header .konstanta-social a{min-width:25px}.konstanta-header .konstanta-social .konstanta-access{padding-left:6px}.konstanta-contacts-page{padding-left:18px;padding-right:18px}.konstanta-contacts-heading h1{font-size:46px}.konstanta-card-phones{padding-left:0}.konstanta-card-phones a{font-size:18px}.question.konstanta-questions h2{font-size:29px!important}}
@media(max-width:767px){.konstanta-question-grid{grid-template-columns:minmax(0,1fr)}.konstanta-contact{min-width:0;box-sizing:border-box}}
@media(max-width:359px){.question.konstanta-questions .konstanta-contact{padding:24px 20px}.konstanta-contact-phones a{font-size:20px}.question.konstanta-questions .konstanta-callback{padding:30px 20px}.konstanta-form-fields h3{font-size:24px}}
@media(min-width:1101px){.konstanta-hours{padding-left:30px;padding-right:30px}.konstanta-hours strong{font-size:24px;white-space:nowrap}}
.konstanta-extract,.konstanta-extract:hover{color:#fff}

/* 21.10, уточнения по скриншотам: мягкие края подложек, мобильное меню и форма. */
.konstanta-mobile-contacts,.konstanta-consent-mobile{display:none}
.question.konstanta-questions .konstanta-contact,.konstanta-hours,.konstanta-info-card{position:relative;isolation:isolate;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border:0;box-shadow:none}
.question.konstanta-questions .konstanta-contact:before,.konstanta-hours:before,.konstanta-info-card:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:rgba(255,255,255,.9);filter:blur(3px)}
.question.konstanta-questions .konstanta-contact:before{background:rgba(255,255,255,.9);filter:blur(4px)}
.konstanta-hours:before{background:rgba(255,255,255,.76)}
.konstanta-info-card:before{background:rgba(255,255,255,.96)}
.konstanta-contacts-page+.maps{margin:0!important;padding:0!important;border:0;line-height:0}
/* Сброс старого правила .order .modal-body .wpcf7-submit из custom.css. */
#record .modal-content{width:100%;max-width:none}
#record .modal-body .wpcf7-submit{position:static;inset:auto;float:none;display:block;width:100%;max-width:none;box-sizing:border-box;margin:0;padding:13px 20px}
#record .konstanta-form-fields .konstanta-form-submit{position:static;width:100%;clear:both}
#record .konstanta-form-consent{position:static;clear:both;margin-top:16px}
@media(max-width:767px){
 .konstanta-header .konstanta-top span:last-child{display:none}
 .konstanta-header .konstanta-top .konstanta-wrap{min-height:0;gap:0;padding-top:8px;padding-bottom:8px}
 .konstanta-header .konstanta-main{grid-template-columns:minmax(0,1fr) 48px;column-gap:12px;row-gap:0;padding-top:12px;padding-bottom:12px}
 .konstanta-header .konstanta-logo img{width:147px;max-width:100%;height:auto}
 .konstanta-header .konstanta-main>.konstanta-phones,.konstanta-header .konstanta-main>.konstanta-social{display:none}
 .konstanta-header .konstanta-access{display:none!important}
 .konstanta-header nav.konstanta-nav{justify-self:end}
 .konstanta-header .navbar-toggler{width:48px;height:48px;margin-right:-8px;padding:0;display:flex;align-items:center;justify-content:center}
 .konstanta-header .navbar-toggler-icon{width:32px;height:28px;background:linear-gradient(#36535f,#36535f) left top/100% 2px no-repeat,linear-gradient(#36535f,#36535f) left center/100% 2px no-repeat,linear-gradient(#36535f,#36535f) left bottom/100% 2px no-repeat}
 .konstanta-header #navbar-content{max-height:calc(100dvh - 105px);overflow-y:auto;overscroll-behavior:contain}
 .konstanta-mobile-contacts{display:block;margin:10px 0 0;padding:20px 0 8px;border-top:1px solid #e4edf1}
 .konstanta-mobile-contacts-title{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.4;color:#6b8793;margin:0 0 10px;white-space:nowrap}
 .konstanta-mobile-contacts-title img{display:block;width:16px;height:16px;flex:0 0 16px;object-fit:contain}
 .konstanta-mobile-contacts .konstanta-phones{display:flex;margin:0;gap:7px}
 .konstanta-header .konstanta-mobile-contacts .konstanta-phones a{font-size:21px;font-weight:500;color:#294957;line-height:1.3;white-space:nowrap}
 .konstanta-mobile-social{display:flex;align-items:center;gap:12px;margin-top:18px}
 .konstanta-mobile-social a{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #e0eaf0;border-radius:10px;color:#405e6b;font-size:14px;line-height:1.3;text-decoration:none}
 .konstanta-mobile-social img{width:28px;height:28px;display:block}
 .konstanta-form-fields .konstanta-form-consent{margin-top:14px}
 .konstanta-consent-desktop{display:none}
 .konstanta-consent-mobile{display:block;white-space:nowrap}
 .konstanta-form-fields .konstanta-form-consent a,.question.konstanta-questions .konstanta-form-fields .konstanta-form-consent a{display:block;font-size:10px!important;line-height:1.25;white-space:nowrap}
 .konstanta-form-fields .wpcf7-acceptance label,.question.konstanta-questions .konstanta-form-fields .wpcf7-acceptance label{gap:8px;font-size:10px;line-height:1.25;align-items:flex-start}
 .konstanta-form-fields .wpcf7-list-item-label{min-width:0}
 .konstanta-form-fields input[type=checkbox],.question.konstanta-questions .konstanta-form-fields input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;margin:3px 0 0;padding:0}
 #record .modal-body .wpcf7-submit{min-height:50px}
}

/* 22.10: только усиление размытия выбранных подложек и две строки заголовка на мобильных. */
.question.konstanta-questions .konstanta-contact:before{filter:blur(30px)}
.konstanta-info-card:before{filter:blur(30px)}
@media(max-width:767px){
 .question.konstanta-questions .konstanta-form-fields h3,#record .konstanta-form-fields h3{font-size:clamp(14px,4.3vw,18px);line-height:1.3;white-space:nowrap;padding-left:0;padding-right:0}
}


/* Animate the mobile menu icon using Bootstrap's existing expanded state. */
@media (max-width: 767px) {
  .konstanta-header .navbar-toggler .navbar-toggler-icon {
    position: relative;
    background: linear-gradient(#36535f, #36535f) center / 100% 2px no-repeat;
    transition: background-size 180ms ease;
  }

  .konstanta-header .navbar-toggler .navbar-toggler-icon::before,
  .konstanta-header .navbar-toggler .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #36535f;
    transform-origin: center;
    transition: transform 220ms ease;
  }

  .konstanta-header .navbar-toggler .navbar-toggler-icon::before {
    top: 0;
  }

  .konstanta-header .navbar-toggler .navbar-toggler-icon::after {
    bottom: 0;
  }

  .konstanta-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-size: 0 2px;
  }

  .konstanta-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: translateY(13px) rotate(45deg);
  }

  .konstanta-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: translateY(-13px) rotate(-45deg);
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .konstanta-header .navbar-toggler .navbar-toggler-icon,
  .konstanta-header .navbar-toggler .navbar-toggler-icon::before,
  .konstanta-header .navbar-toggler .navbar-toggler-icon::after {
    transition: none;
  }
}
