/* Klugora — shared base styles (fonts, reset, form controls, responsive rules) */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #FBFCFD;
  color: #0A2233;
  font-family: 'Mulish', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  /* Safety net: prevent any element from causing horizontal scroll */
  overflow-x: hidden;
}

/* Buttons and form fields do not inherit the page font by default; use the site font */
button,
input,
select,
textarea {
  font-family: inherit;
}

/* Global image safety net */
img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

::selection {
  background: rgba(27, 110, 150, 0.2);
}

input.kg-in,
textarea.kg-in {
  font-family: 'Mulish', system-ui, sans-serif;
}

input.kg-in::placeholder,
textarea.kg-in::placeholder {
  color: #8A97A2;
}

input.kg-in:focus,
textarea.kg-in:focus {
  outline: none;
  border-color: #1B6E96 !important;
}


input[type=range].kg-range {
  -webkit-appearance: none;
  appearance: none;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, #002233, #1B6E96);
  outline: none;
}

#actions-notresolved {
  display: flex !important;
}

#actions-resolved {
  margin-top: 4px !important;
  display: flex !important;
}

input[type=range].kg-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #002233;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 34, 51, 0.2);
}

input[type=range].kg-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #002233;
  cursor: pointer;
}

@keyframes kg-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

@keyframes kg-shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

@keyframes kg-blink {

  0%,
  60% {
    opacity: 1;
  }

  61%,
  100% {
    opacity: 0.2;
  }
}

.kg-heroviz {
  display: none;
}

@media (min-width: 1180px) {
  .kg-heroviz {
    display: block;
  }
}

.kg-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
}

.kg-hamburger:focus-visible {
  outline: 2px solid #7FB4CC;
  outline-offset: 2px;
  border-radius: 4px;
}

[role="button"]:focus-visible {
  outline: 2px solid #1B6E96;
  outline-offset: 2px;
}

.kg-mobile-panel {
  display: none;
  flex-direction: column;
  background: #0A2233;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-height: calc(100vh - 75px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.kg-mobile-panel.kg-open {
  display: flex;
}

.kg-mobile-panel a {
  padding: 15px 24px;
  color: #AEBEC9;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kg-mobile-panel a:hover,
.kg-mobile-panel a:focus-visible {
  color: #fff;
}

.kg-dropdown {
  position: relative;
}

.kg-dropdown-trigger {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.kg-dropdown-trigger svg {
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.kg-dropdown-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.kg-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  width: 560px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 56px rgba(0, 34, 51, 0.22);
  padding: 22px;
  z-index: 60;
}

.kg-dropdown-panel.kg-open {
  display: block;
}

.kg-dropdown-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.kg-dropdown-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8A97A2;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.kg-dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  color: #243B4A;
  font-weight: 600;
  font-size: 14.5px;
}

.kg-dropdown-link:hover,
.kg-dropdown-link:focus-visible {
  background: #F3F7F9;
  color: #0A2233;
}

.kg-dropdown-viewall {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #E5EAEE;
  font-size: 13.5px;
  font-weight: 800;
  color: #1B6E96;
}

.kg-ai-badge {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1B6E96, #4FA6D1);
  padding: 2px 7px;
  border-radius: 99px;
  flex-shrink: 0;
  line-height: 1.5;
}

.kg-footer-group-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #5D7382;
  text-transform: uppercase;
  margin: 6px 0 -2px;
}

.kg-footer-links {
  display: flex;
}

.mobile-icon-hide {
  display: flex;
  gap: 15px;
  flex-direction: row-reverse;
}

/* Header CTA: icon hidden by default (desktop = text only) */
.kg-cta-icon {
  display: none;
}

/* Footer social icons — each carries its own brand-color background inline */
.kg-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kg-social-icon svg {
  width: 16px;
  height: 16px;
}

.kg-social-icon:hover,
.kg-social-icon:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* MAX chat floating action button (site-wide, bottom right) */
.kg-chat-fab {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2E8CFF 0%, #7A3CF0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(80, 100, 245, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kg-chat-fab:hover,
.kg-chat-fab:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(80, 100, 245, 0.55), 0 2px 8px rgba(0, 0, 0, 0.18);
}

.kg-chat-fab svg {
  position: relative;
  z-index: 1;
}

.kg-chat-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #2E8CFF 0%, #7A3CF0 100%);
  animation: kgChatPulse 2.4s ease-out infinite;
}

@keyframes kgChatPulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kg-chat-ring {
    animation: none;
    display: none;
  }
}

@media (max-width: 700px) {
  .kg-chat-fab {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .kg-chat-fab svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 900px) {
  .kg-nav {
    display: none !important;
  }

  .kg-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .kg-two,
  .kg-three,
  .kg-four,
  .kg-wo,
  .kg-industries,
  .kg-footer-grid {
    grid-template-columns: 1fr !important;
  }

  .kg-five,
  .kg-six {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .kg-h1 {
    font-size: 38px !important;
  }

  .kg-footer-toggle {
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .kg-footer-toggle::after {
    content: '+';
    font-size: 16px;
    font-weight: 400;
  }

  .kg-footer-toggle.kg-open::after {
    content: '\2212';
  }

  .kg-footer-links {
    display: none;
  }

  .kg-footer-links.kg-open {
    display: flex;
  }

  .contact-form-wrp {
    display: flex !important;
    flex-direction: column;
  }

  .contact-form {
    padding: 25px !important;
  }

  #lead-form-wrap .wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
  }

  /* --- Turnstile / CAPTCHA overflow fix --- */
  #lead-form-wrap .cf-turnstile,
  #lead-form-wrap .cf-turnstile iframe,
  #lead-form-wrap [data-sitekey],
  #lead-form-wrap [data-sitekey] iframe {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  #lead-form-wrap {
    overflow: hidden;
    max-width: 100%;
  }

  #lead-form-wrap .wpcf7,
  #lead-form-wrap .wpcf7-form,
  #lead-form-wrap .wpcf7-form-control-wrap {
    max-width: 100% !important;
    overflow: hidden;
  }

  /* CTA dark banner inner div — reduce excessive 56px padding */
  [style*="border-radius:20px"][style*="padding:56px"] {
    padding: 36px 28px !important;
  }

  /* Hero floating badge — clip inside hero so it never causes overflow */
  section[style*="overflow:hidden"] {
    overflow: hidden !important;
  }

  /* Hero grid: reduce gap on tablet */
  .kg-two[style*="gap:40px"],
  .kg-two[style*="gap:48px"] {
    gap: 28px !important;
  }

  /* Contact page form — collapse to single column */
  #contact-form-wrap .wpcf7-form {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }

  /* Contact form wrapper — consistent padding */
  #contact-form-wrap {
    overflow: hidden;
    max-width: 100%;
  }

  /* All CAPTCHA / Turnstile widgets sitewide */
  .cf-turnstile,
  .cf-turnstile iframe,
  [data-sitekey],
  [data-sitekey] iframe {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Proof / stat cards that use flex justify-content:space-between —
     allow wrapping so numbers don't overflow on narrow columns */
  [style*="justify-content:space-between"][style*="align-items:baseline"] {
    flex-wrap: wrap;
    gap: 8px;
  }

  .character-home-left {
    margin: 0 auto !important;
  }

  .control-div {
    flex-direction: column;
  }

  .control-div-txt {
    text-align: center;
  }

  .flash-card-main-img {
    max-width: 100% !important;
    width: 100% !important;
  }

  .housekeepins-sec img {
    height: 800px !important;
  }
}

@media (max-width: 700px) {

  .kg-five,
  .kg-six {
    grid-template-columns: 1fr !important;
  }

  /* Even less padding on small phones */
  .contact-form {
    padding: 20px !important;
  }

  #lead-form-wrap .wpcf7-form {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* --- Turnstile / CAPTCHA overflow fix (narrow phones) --- */
  #lead-form-wrap .cf-turnstile,
  #lead-form-wrap .cf-turnstile iframe,
  #lead-form-wrap [data-sitekey],
  #lead-form-wrap [data-sitekey] iframe,
  .cf-turnstile,
  .cf-turnstile iframe,
  [data-sitekey],
  [data-sitekey] iframe {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    transform-origin: left center;
  }

  .kg-industry-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .kg-studio-mob,
  .kg-strip,
  .ai-fashion-model-mob,
  .ai-story-book-mob,
  .attendence-cloud-mob,
  .time-track-mob,
  .support-desk-mob {
    display: flex !important;
    flex-direction: column !important;
  }

  #flows-active>div {
    display: flex !important;
    flex-direction: column !important;
  }

  /* CTA dark banner — even tighter on phone */
  [style*="border-radius:20px"][style*="padding:56px"] {
    padding: 28px 20px !important;
  }

  /* H1 text size on tiny screens */
  .kg-h1 {
    font-size: 30px !important;
    line-height: 37px !important;
  }

  /* Standard mobile side spacing (15px) for sections, headers, and footers */

  header>div,
  .kg-footer-grid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  section {
    padding: 40px 15px !important;
  }

  /* Large hero h2 text */
  h2[style*="font-size:36px"],
  h2[style*="font-size:38px"],
  h2[style*="font-size:34px"] {
    font-size: 26px !important;
  }

  /* Section inner containers — prevent overflow */
  section>div {
    max-width: 100%;
  }

  /* Gaps between grid/flex children — reduce on phone */
  .kg-two,
  .kg-three,
  .kg-four {
    gap: 16px !important;
  }

  /* Header CTA button — icon-only on very small phones */
  .kg-header-cta {
    padding: 8px 10px !important;
    border-radius: 5px !important;
  }

  .kg-header-cta .kg-cta-text {
    display: none !important;
  }

  .kg-header-cta .kg-cta-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Contact page form full-column */
  #contact-form-wrap .wpcf7-form {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .Complexity-contact {
    padding: 20px !important;
  }

  #contact-form-wrap .wpcf7-submit {
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  .flash-card-main-wrp,
  .erp-system-counter-wrp,
  .attendence-main-wrp {
    gap: 15px !important;
  }

  .flash-card-main-img {
    max-width: 100% !important;
    width: 100% !important;
  }

  .industry-box-txt {
    margin-top: 0px !important;
  }

  .flash-card-main-txt,
  .erp-system-counter-wrp-txt,
  .attendence-main-txt {
    font-size: 20px !important;
  }

  .attendecne-cloud-push-mock .attendecne-flex-div {
    flex-direction: column;
  }

  .main-home-sec .main-home-counter {
    margin-top: 20px !important;
    gap: 20px !important;
  }


  .service-sec-card a,
  .pad-15-mob {
    padding: 15px !important;
  }

  .home-agent-build-sec,
  .chatboat-inget-sec {
    padding-top: 0px !important;
  }

  .home-agent-build-sec h2,
  .chatboat-inget-sec h2 {
    font-size: 26px !important;
  }

  .home-process-sec .kg-four {
    margin-top: 18px !important;
  }

  .main-home-sec .kg-h1 {
    font-size: 30px !important;
  }

  .main-home-sec p {
    font-size: 16px !important;
  }

  .main-home-sec .main-home-buttons {
    margin-top: 15px !important
  }

  .home-process-sec .kg-four>div {
    padding: 15px !important;
  }

  .featured-cost-sec h2 {
    font-size: 26px !important;
  }

  .featured-cost-sec .featured-counter-text {
    font-size: 20px !important;
  }

  .featured-cost-sec .kg-three a,
  .home-tech-sec .home-tech-card,
  .home-industries-sec .kg-three a,
  .home-team-sec .team-home-card {
    padding: 15px !important;
  }

  .home-industries-sec .home-industries-card {
    margin-top: 0px !important;
  }

  .guardrails-sec {
    padding-top: 0px !important;
  }

  .kg-footer-grid {
    padding: 30px 15px !important;
    gap: 15px !important;
  }

  .Complexity-contact,
  .contact-form {
    width: 100% !important;
  }


  #tasks-done,
  #tests-passed {
    font-size: 20px !important;
  }

  .main-home-counter-txt {
    font-size: 20px !important;
  }

  .home-contact-form-main h2 {
    font-size: 26px !important;
  }

  header img,
  .kg-footer-grid img {
    width: 30px !important;
    height: 30px !important;
  }

  header .logo-text,
  .footer-logo-text {
    font-size: 20px !important;
  }

  #lead-form-wrap .wpcf7-form-control {
    font-size: 14px !important;
    padding: 11px !important;
  }

  .chatboat-home-txt {
    font-size: 20px !important;
  }

  .img-gen-btn-wrp {
    margin-top: 20px !important;
  }

  .img-gen-stats {
    gap: 15px !important;
  }

  .stage-tab-sub {
    margin-top: 8px !important;
  }

  .img-gen-stats-txt {
    font-size: 20px !important;
  }

  .character-home-row {
    gap: 15px !important;
  }

  .character-home-row .character-home-txt {
    font-size: 20px !important;
  }

  #chat-messages {
    min-height: 170px !important;
  }

  .ai-fashion-main-dec {
    font-size: 16px !important;
  }

  .ai-feat-wrp {
    gap: 15px !important;
  }

  .ai-feat-txt {
    font-size: 20px !important;
  }

  .ai-fashion-model-txt {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .fashion-day-txt {
    flex-direction: column;
    gap: 5px !important;
  }

  .milo-story-txt {
    flex-direction: column;
    gap: 10px !important;
  }

  .milo-slider-btn #prev-btn,
  .milo-slider-btn #next-btn {
    padding: 3px 6px !important;
  }

  .story-book-main-wrp {
    gap: 15px !important;
  }

  .story-book-main-txt {
    font-size: 20px !important;
  }

  .story-book-main-sub-txt {
    font-size: 13px !important;
  }

  .garmet-box-txt,
  .storys-box-text {
    margin-top: 0px !important;
  }

  #spread-box {
    justify-content: end !important;
  }

  .two-way-box-txt {
    text-align: center !important;
  }

  .character-preview {
    flex-direction: column;
    gap: 10px;
  }

  .attendence-location-text,
  .team-day-div,
  .work-order-title,
  .inbox-title {
    justify-content: center !important;
  }

  .attendence-location-device-txt,
  .team-day-txt,
  .work-order-badge,
  .inobox-text {
    margin: 0 auto !important;
  }

  .service-detail-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .service-detail-sec h2,
  .process-steps-sec h2 {
    font-size: 18px !important;
  }

  .compare-sec-case-txt {
    flex-direction: column !important;
    gap: 5px !important;
    text-align: center;
  }

  .case-study-review-text {
    font-size: 16px !important;
  }

  .case-study-detail-wrp {
    gap: 25px !important;
  }

  .process-step-pa {
    padding-bottom: 15px !important;
  }

  .interactive-case-sec {
    padding: 0px 15px !important;
  }

  .pricing-title {
    font-size: 24px !important;
    margin: 6px 0 4px !important;
  }

  .choice-pricing-title {
    font-size: 24px !important;
  }

  .pricing-point-lable {
    font-size: 13px !important;
    font-weight: 500 !important;
  }

  .pricing-last-sec {
    margin-top: 20px !important;
  }

  .pricing-point-box-title {
    font-size: 22px !important;
    margin: 4px 0 2px !important;
  }

  .pricing-card-label {
    font-size: 14px !important;
  }

  .industry-box-sec h2 {
    font-size: 18px !important;
  }

  .industry-box-txt-btn-wrp {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .about-started-txt {
    font-size: 16px !important;
  }

  .value-box-wrp {
    margin-top: 20px !important;
  }

  .shot-tab {
    padding: 4px 10px !important;
    font-size: 11px !important;
  }

  .erp-industry-box-div {
    padding: 10px 0px 0px !important;
  }

  .free-try-boxes {
    gap: 15px !important;
  }

  .single-blog-main-sec h1 {
    font-size: 34px !important;
  }

  .faq-main-sec h1 {
    font-size: 34px !important;
  }

  .every-business-sec-grid {
    display: flex !important;
    flex-direction: column !important;
    margin-top: 20px !important;
  }

  .module-faq-sec {
    padding: 40px 15px 0px !important;
  }

  .hospilaty-how-work {
    padding: 15px 0 !important;
  }

  #crm-estimate-options>div,
  #cmms-estimate-options>div,
  #car-rental-estimate-options>div,
  #construction-estimate-options>div,
  #helpdesk-estimate-options>div,
  #home-service-booking-estimate-options>div,
  #manufacturing-estimate-options>div,
  #pm-estimate-options>div,
  .estimate-sec-div,
  .common-build-own>div,
  #rest-estimate-options>div,
  #delta-options>div {
    flex-direction: column !important;
    text-align: center !important;
  }

  .housekeepins-sec img {
    height: 900px !important;
  }

  .housekeepins-sec {
    padding: 0px !important;
  }

  .constru-box-text {
    text-align: center !important;
  }

  .build-txt {
    margin-top: 8px !important;
  }

  .kg-pricing-steps {
    margin-bottom: 20px !important;
  }

  .estimate-sec-desc {
    margin-top: 10px !important;
  }

  .ecosystem-sec a,
  .eco-sec-title {
    flex-direction: column !important;
  }

  .zigzag-box-main .zigzag-box {
    width: 100% !important;
    text-align: left !important;
  }

  .zigzag-box-main .zigzag-title {
    justify-self: start !important;
  }

  .sales-order-box {
    padding: 0px 15px !important;
  }

  .faq-panel {
    padding: 0px 15px !important;
  }

  .faq-erp-sec .efq-c-tab,
  #industry-filters span {
    font-size: 12px !important;
    padding: 6px 10px !important;
  }

  .faq-erp-sec {
    padding: 40px 15px 0px !important;
  }

  .case-num-sec {
    padding: 40px 15px 0px !important;
  }

  .case-interactive-tabs button {
    font-size: 12px !important;
    padding: 4px 8px !important;
  }

  .mvp-discovery-call-sec {
    padding: 0px 15px !important;
  }

  .mvp-faq-sec {
    padding: 40px 15px 0px !important;
  }

  .ai-character-more-buttons {
    padding: 8px !important;
    font-size: 12px !important;
  }

  #crm-in-action .kg-action-tab,
  #cmms-action-tabs .kg-action-tab,
  #car-rental-action-tabs .kg-action-tab,
  #construction-action-tabs .kg-action-tab,
  #helpdesk-action-tabs .kg-action-tab,
  #home-service-booking-action-tabs .kg-action-tab,
  #hospitality-action-tabs .kg-action-tab,
  #hr-management-action-tabs .kg-action-tab,
  #logistics-action-tabs .kg-action-tab,
  #manufacturing-action-tabs .kg-action-tab {
    padding: 4px 10px !important;
    border-radius: 10px !important;
  }

  .customer-messaging-sec {
    padding: 40px 15px 0px !important;
  }

  .payslip-head {
    padding: 15px 15px 0 !important;
  }

  .hrm-counter {
    font-size: 20px !important;
  }

  .make-it-new-sec .make-it-svg {
    display: none !important;
  }

  h2 {
    font-size: 26px !important;
    line-height: 35px !important;
  }

  .sec-pad-0-mob {
    padding-top: 0px !important;
  }

  .dflex-mob {
    display: flex !important;
    flex-direction: column !important;
  }

  .gap-10-mob {
    gap: 10px !important;
  }

  .text-center-mob {
    text-align: center !important;
  }

  .flex-col-mob {
    flex-direction: column;
  }

  .btn-mob-15 {
    margin-top: 20px !important;
  }

  .sec-title {
    margin-bottom: 18px !important;
  }

  .pad-15-mob {
    padding: 15px !important;
  }

  .mob-text-16 {
    font-size: 16px !important;
  }

  .button-mob {
    font-size: 14px !important;
    padding: 11px !important;
  }

  .mt-15-mob {
    margin-top: 15px !important;
  }

  .mt-20-mob {
    margin-top: 15px !important;
  }

  .mt-25-mob {
    margin-top: 15px !important;
  }

  .mt-0-mob {
    margin-top: 0px !important;
  }

  .mb-0-mob {
    margin-bottom: 0px !important;
  }

  .gap-15-mob {
    gap: 15px !important;
  }

  .mob-text-20 {
    font-size: 20px !important;
  }

  .d-none-mob {
    display: none !important;
  }

  .mb-15-mob {
    margin-bottom: 15px !important;
  }

  .mb-20-mob {
    margin-bottom: 20px !important;
  }

  .gap-0-mob {
    gap: 0px !important;
  }

  .pt-mob-0 {
    padding-top: 0px !important;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================= Legal documents (Privacy Policy, consents) ================= */
.kg-legal {
  max-width: 860px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.75;
  color: #44515C;
}

.kg-legal h2 {
  font-family: 'Poppins';
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: #0A2233;
  margin: 36px 0 12px;
  scroll-margin-top: var(--kg-header-offset, 84px);
}

.kg-legal h3 {
  font-family: 'Poppins';
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: #0A2233;
  margin: 22px 0 8px;
}

.kg-legal p {
  margin: 0 0 12px;
}

.kg-legal ul,
.kg-legal ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.kg-legal li {
  margin: 0 0 6px;
}

.kg-legal a {
  color: #1B6E96;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.kg-legal a:hover {
  color: #0A3A52;
}

.kg-legal__toc {
  background: #F7F9FA;
  border: 1px solid #E5EAEE;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 0 8px;
}

.kg-legal__toc-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #607080;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.kg-legal__toc ol {
  margin: 0;
}

.kg-legal__toc a {
  text-decoration: none;
}

.kg-legal__toc a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .kg-legal {
    font-size: 15px;
  }

  .kg-legal h2 {
    font-size: 19px;
  }

  .kg-legal__toc {
    padding: 16px 18px;
  }
}

/* ================= Footer: legal links ================= */
.kg-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  max-width: 900px;
  margin: 0 auto 10px;
}

.kg-legal-links a,
.kg-legal-links__btn {
  color: #AEBEC9;
  font-size: 12.5px;
  text-decoration: underline;
}

.kg-legal-links a:hover,
.kg-legal-links__btn:hover {
  color: #fff;
}

.kg-legal-links__btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

/* ================= Cookie notice ================= */
.kg-cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 520px;
  background: #fff;
  border: 1px solid #E5EAEE;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 34, 51, 0.18);
  padding: 18px 20px;
}

.kg-cookie-banner[hidden] {
  display: none;
}

.kg-cookie-banner__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #44515C;
}

.kg-cookie-banner__text a {
  color: #1B6E96;
  text-decoration: underline;
}

.kg-cookie-banner__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.kg-cookie-banner__btn {
  cursor: pointer;
  font-family: 'Mulish', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 9px;
  border: 1.5px solid #002233;
}

.kg-cookie-banner__btn--accept {
  background: #002233;
  color: #fff;
}

.kg-cookie-banner__btn--accept:hover {
  background: #0A3A52;
}

.kg-cookie-banner__btn--decline {
  background: #fff;
  color: #002233;
}

.kg-cookie-banner__btn--decline:hover {
  background: #F3F7F9;
}

@media (max-width: 700px) {

  /* Sits above the floating chat button on phones. */
  .kg-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 84px;
    width: auto;
    max-width: none;
    padding: 16px;
  }

  .kg-cookie-banner__btn {
    flex: 1;
  }
}

/* ================= Consent checkboxes (Contact Form 7 acceptance) ================= */
/* Full width in the two-column form grids, whatever the field order. */
.wpcf7-form>p:has(.wpcf7-acceptance),
.wpcf7-form>p:has(.wpcf7-submit) {
  grid-column: 1 / -1 !important;
}

/* The forms style every .wpcf7-form-control as a text box — not the checkbox group. */
.wpcf7 .wpcf7-form-control.wpcf7-acceptance {
  display: block;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  cursor: default !important;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.wpcf7 .wpcf7-acceptance label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  cursor: pointer;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  accent-color: #1B6E96;
  cursor: pointer;
}

.wpcf7 .wpcf7-acceptance a {
  color: inherit;
  text-decoration: underline;
}

/* Russian menu labels are longer than the English ones: tighten the desktop
   header between the full width and the 900px switch to the mobile menu. */
@media (max-width: 1180px) and (min-width: 901px) {
  .kg-nav {
    gap: 18px !important;
    font-size: 13.5px !important;
  }

  .kg-header-cta {
    padding: 10px 14px !important;
    font-size: 13.5px !important;
  }
}

@media (max-width: 1020px) and (min-width: 901px) {
  .kg-nav {
    gap: 14px !important;
    font-size: 13px !important;
  }

  .kg-header-cta {
    padding: 9px 12px !important;
    font-size: 13px !important;
  }
}

/* Logo: round mark + "klugora" drawn as one image (identical to klugora.com).
   Same visible sizes as the old mark + text: header 38px mark / 23px text,
   footer 34px / 21px, phones 30px / 20px. The image includes the thin ring,
   so the -1.5px margin keeps the layout box exactly as before. */
.kg-logo-img {
  display: block;
  width: auto;
  max-width: none;
  margin: -1.5px;
}

header .kg-logo-img {
  height: 41px;
}

.kg-footer-grid .kg-logo-img {
  height: 37px;
}

@media (max-width: 700px) {

  header img.kg-logo-img,
  .kg-footer-grid img.kg-logo-img {
    width: auto !important;
    height: 33px !important;
  }
}