/* Site contact form only. Native iframe controls remain configured in Kommo. */
html[data-color-theme] body.subpage.contact-page .kommo-site-panel {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #bfdad7;
  border-radius: 28px;
  background: #fff;
  color: #173b3c;
  box-shadow: 0 20px 55px #00474812;
  scroll-margin-top: 110px;
}
body.contact-page .kommo-site-panel:focus-visible { outline: 3px solid #f78104; outline-offset: 5px; }
body.contact-page .kommo-site-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #dcefed;
  color: #005f60;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
html[data-color-theme] body.subpage.contact-page .kommo-site-panel h2 {
  margin: 0;
  color: #173b3c;
  font: 600 clamp(26px, 2.5vw, 32px)/1.3 Manrope, Arial, sans-serif;
  letter-spacing: -.035em;
}
html[data-color-theme] body.subpage.contact-page .kommo-site-panel > p {
  margin: 14px 0 22px;
  color: #4d6464;
  font-size: 16px;
  line-height: 1.7;
}
body.contact-page .kommo-site-host { position: relative; min-width: 0; width: 100%; min-height: 390px; }
body.contact-page .kommo-site-host.is-ready,
body.contact-page .kommo-site-host.is-slow { min-height: 0; }
/* Kommo manages height. Avoid cropping, scaling or fixing the iframe height. */
body.contact-page .kommo-site-host iframe { display: block; width: 100%; max-width: 100%; margin: 0 auto; border: 0; background: transparent; }
body.contact-page .kommo-site-loading,
body.contact-page .kommo-site-unavailable { color: #4d6464; font-size: 15px; line-height: 1.6; padding: 12px 0; }
body.contact-page .kommo-site-footer { margin-top: 20px; padding-top: 20px; border-top: 1px solid #dcefed; }
body.contact-page .kommo-site-footer p { margin: 0; color: #4d6464; font-size: 14px; }
body.contact-page .kommo-site-footer a { display: table; margin-top: 6px; color: #005f60; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
body.contact-page .kommo-site-footer .kommo-site-privacy { margin-top: 16px; color: #4d6464; font-size: 14px; font-weight: 400; }
body.contact-page .kommo-site-footer a:focus-visible { outline: 2px solid #008083; outline-offset: 5px; border-radius: 3px; }
body.contact-page .kommo-site-panel [hidden] { display: none !important; }
@media (max-width: 600px) {
  html[data-color-theme] body.subpage.contact-page .kommo-site-panel { padding: 24px 18px; border-radius: 24px; scroll-margin-top: 90px; }
}
