/* Kayra Patent V12 — focused visual and component repair.
 * The existing header/menu interaction code is intentionally untouched.
 */

/* --------------------------------------------------------------------------
   Home slider: one proportional type/CTA system for TR + seven translations
   -------------------------------------------------------------------------- */
html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero {
  isolation: isolate !important;
  overflow: hidden !important;
}

html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .hero-copy,
html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .container {
  box-sizing: border-box !important;
}

@media (min-width: 761px) {
  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .hero-copy,
  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .container {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    width: min(1616px, calc(100% - 144px)) !important;
    max-width: 1616px !important;
    height: 100% !important;
    margin-inline: auto !important;
    padding: 34px 0 112px !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  html[dir="rtl"] body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .hero-copy,
  html[dir="rtl"] body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .container {
    text-align: right !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article .overline,
  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .container > span:first-child {
    display: block !important;
    max-width: 1040px !important;
    font-size: clamp(15px, 1.15vw, 19px) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: .075em !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article h1 {
    max-width: 1120px !important;
    margin: 16px 0 20px !important;
    font-family: var(--font-open-sans), "Open Sans", Arial, sans-serif !important;
    font-size: clamp(44px, 3.55vw, 66px) !important;
    font-weight: 500 !important;
    line-height: 1.075 !important;
    letter-spacing: -.025em !important;
    text-align: inherit !important;
    text-wrap: balance !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article h1 em {
    display: inline !important;
    white-space: normal !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article p {
    max-width: 980px !important;
    margin: 0 !important;
    font-family: var(--font-open-sans), "Open Sans", Arial, sans-serif !important;
    font-size: clamp(16px, 1.12vw, 20px) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: inherit !important;
    text-wrap: pretty !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero .hero-actions {
    position: absolute !important;
    right: auto !important;
    bottom: 12px !important;
    left: 50% !important;
    z-index: 4 !important;
    display: flex !important;
    width: min(1616px, calc(100% - 144px)) !important;
    max-width: 1616px !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    direction: ltr !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero .hero-actions .button {
    box-sizing: border-box !important;
    display: inline-flex !important;
    width: clamp(210px, 17vw, 240px) !important;
    min-width: 0 !important;
    min-height: 58px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 0 22px !important;
    font-family: var(--font-oswald), Oswald, Arial, sans-serif !important;
    font-size: clamp(16px, 1.2vw, 19px) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero .hero-actions .button svg {
    flex: 0 0 17px !important;
    width: 17px !important;
    height: 17px !important;
  }
}

@media (min-width: 761px) and (max-width: 1000px) {
  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .hero-copy,
  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .container,
  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero .hero-actions {
    width: calc(100% - 80px) !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article h1 {
    font-size: clamp(38px, 5.2vw, 50px) !important;
  }
}

@media (max-width: 760px) {
  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero {
    height: clamp(520px, 72svh, 610px) !important;
    min-height: 520px !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .hero-copy,
  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .container {
    position: absolute !important;
    inset: 0 18px !important;
    z-index: 2 !important;
    display: block !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 22px 0 136px !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  html[dir="rtl"] body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .hero-copy,
  html[dir="rtl"] body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .container {
    text-align: right !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article .overline,
  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article > .container > span:first-child {
    display: block !important;
    max-width: 100% !important;
    font-size: clamp(11px, 3vw, 13px) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: .06em !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article h1 {
    display: block !important;
    max-width: 100% !important;
    margin: 10px 0 12px !important;
    font-family: var(--font-open-sans), "Open Sans", Arial, sans-serif !important;
    font-size: clamp(26px, 7.2vw, 34px) !important;
    font-weight: 500 !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em !important;
    text-align: inherit !important;
    text-wrap: balance !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article h1 br {
    display: none !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article h1 em {
    display: inline !important;
    white-space: normal !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > article p {
    display: -webkit-box !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    font-family: var(--font-open-sans), "Open Sans", Arial, sans-serif !important;
    font-size: clamp(13px, 3.65vw, 15px) !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    text-align: inherit !important;
    text-wrap: pretty !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero .hero-actions {
    position: absolute !important;
    right: 18px !important;
    bottom: 40px !important;
    left: 18px !important;
    z-index: 4 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 !important;
    direction: ltr !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero .hero-actions .button {
    box-sizing: border-box !important;
    display: inline-flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 7px !important;
    padding: 9px 11px !important;
    font-family: var(--font-oswald), Oswald, Arial, sans-serif !important;
    font-size: clamp(11px, 3.1vw, 13.5px) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    text-align: start !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero .hero-actions .button svg {
    flex: 0 0 15px !important;
    width: 15px !important;
    height: 15px !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > .slide-dots {
    bottom: 13px !important;
  }

  html body :is(main.home-page, main.localized-home-complete[data-kayra-v11-home]) > .home-first-screen > .hero > .slide-arrow {
    width: 36px !important;
    height: 54px !important;
  }
}

/* --------------------------------------------------------------------------
   Compact language selector and correctly proportioned white-backed flags
   -------------------------------------------------------------------------- */
html body .language-switcher > .language-menu,
html body .localized-language-menu > div,
html body .kayra-header-language-panel-v6,
html body .kayra-header-language-panel-v11 {
  box-sizing: border-box !important;
  width: min(300px, calc(100vw - 24px)) !important;
  max-height: min(408px, calc(100vh - 64px)) !important;
  padding: 6px 10px !important;
  overflow-y: auto !important;
  border: 1px solid #737a7f !important;
  background: #101315 !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3) !important;
}

html body .language-switcher > .language-menu > a,
html body .localized-language-menu > div > a,
html body .kayra-header-language-panel-v6 > a,
html body .kayra-header-language-panel-v11 > a {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: 34px 36px minmax(0, 1fr) !important;
  min-height: 46px !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-bottom: 1px solid #555d62 !important;
  color: #fff !important;
  background: transparent !important;
  text-align: left !important;
  text-decoration: none !important;
  direction: ltr !important;
}

html body .language-switcher > .language-menu > a:last-child,
html body .localized-language-menu > div > a:last-child,
html body .kayra-header-language-panel-v6 > a:last-child,
html body .kayra-header-language-panel-v11 > a:last-child {
  border-bottom: 0 !important;
}

html body :is(.language-switcher, .localized-language-menu, .desktop-header-language, .mobile-header-language, .drawer-current-language) img,
html body :is(.language-switcher, .localized-language-menu, .desktop-header-language, .mobile-header-language, .drawer-current-language) .tr-flag,
html body img.kayra-v12-flag {
  box-sizing: border-box !important;
  display: block !important;
  width: 30px !important;
  height: 21px !important;
  object-fit: cover !important;
  padding: 2px !important;
  overflow: hidden !important;
  border: 1px solid #fff !important;
  border-radius: 3px !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2) !important;
}

html body :is(.language-switcher, .localized-language-menu, .kayra-header-language-panel-v6, .kayra-header-language-panel-v11) a > b {
  min-width: 0 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

html body :is(.language-switcher, .localized-language-menu, .kayra-header-language-panel-v6, .kayra-header-language-panel-v11) a > small {
  min-width: 0 !important;
  color: #aab0b4 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

@media (max-width: 760px) {
  html body .language-switcher > .language-menu,
  html body .localized-language-menu > div,
  html body .kayra-header-language-panel-v6,
  html body .kayra-header-language-panel-v11 {
    width: min(286px, calc(100vw - 20px)) !important;
    max-height: calc(100vh - 78px) !important;
  }

  html body .language-switcher > .language-menu > a,
  html body .localized-language-menu > div > a,
  html body .kayra-header-language-panel-v6 > a,
  html body .kayra-header-language-panel-v11 > a {
    min-height: 44px !important;
  }
}

/* --------------------------------------------------------------------------
   Foreign mega menus: wrapping only; open/close behaviour remains untouched
   -------------------------------------------------------------------------- */
html body :is(.localized-header, .site-header) .localized-mega,
html body :is(.localized-header, .site-header) .localized-mega * {
  box-sizing: border-box !important;
  min-width: 0;
}

html body :is(.localized-header, .site-header) .localized-mega a,
html body :is(.localized-header, .site-header) .mobile-nav-label,
html body :is(.localized-header, .site-header) .certification-category-label {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

@media (min-width: 1001px) {
  html body :is(.localized-header, .site-header) .certification-hub-body {
    grid-template-columns: clamp(310px, 23vw, 390px) minmax(0, 1fr) !important;
  }

  html body :is(.localized-header, .site-header) .certification-category {
    grid-template-columns: 48px minmax(0, 1fr) 18px !important;
    height: auto !important;
    min-height: 94px !important;
  }

  html body :is(.localized-header, .site-header) .certification-category-label {
    display: -webkit-box !important;
    max-width: 100% !important;
    overflow: hidden !important;
    line-height: 1.25 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  html body :is(.localized-header, .site-header) .certification-panel-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 28px !important;
  }

  html body :is(.localized-header, .site-header) .certification-panel-links > a {
    min-width: 0 !important;
    min-height: 48px !important;
    line-height: 1.32 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body :is(.localized-header, .site-header) .localized-card-mega {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body :is(.localized-header, .site-header) .localized-card-mega > section > a {
    display: -webkit-box !important;
    overflow: hidden !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }
}

/* --------------------------------------------------------------------------
   Missing related-guide styling on the 63 parent guide pages
   -------------------------------------------------------------------------- */
.kayra-seo-cluster {
  padding: clamp(58px, 7vw, 92px) 0;
  color: #15191e;
  background: #f5f6f7;
  border-top: 1px solid #e0e3e6;
  border-bottom: 1px solid #e0e3e6;
}

.kayra-seo-cluster__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.kayra-seo-cluster__head span {
  color: #c90015;
  font-weight: 700;
  letter-spacing: .12em;
}

.kayra-seo-cluster__head h2 {
  max-width: 820px;
  margin: 8px 0 0;
  font: 700 clamp(31px, 4vw, 54px)/1.02 var(--font-oswald), Oswald, sans-serif;
}

.kayra-seo-cluster__head p {
  max-width: 520px;
  margin: 0;
  color: #4a535d;
  line-height: 1.7;
}

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

.kayra-seo-cluster__card {
  display: flex;
  min-width: 0;
  min-height: 178px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  color: #15191e;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dde1e4;
  border-top: 4px solid #e40017;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.kayra-seo-cluster__card:hover,
.kayra-seo-cluster__card:focus-visible {
  transform: translateY(-3px);
  border-color: #e40017;
  box-shadow: 0 16px 35px rgba(8, 12, 16, .1);
}

.kayra-seo-cluster__card strong {
  font: 700 23px/1.1 var(--font-oswald), Oswald, sans-serif;
}

.kayra-seo-cluster__card small {
  color: #56616b;
  line-height: 1.55;
}

.kayra-seo-cluster__card b {
  color: #b00012;
}

@media (max-width: 760px) {
  .kayra-seo-cluster__head { display: block; }
  .kayra-seo-cluster__head p { margin-top: 14px; }
  .kayra-seo-cluster__grid { grid-template-columns: 1fr; }
  .kayra-seo-cluster__card { min-height: 142px; }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .kayra-seo-cluster__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   The 280 static translated guide pages now use the established site form and
   footer structure. These scoped rules keep them visually identical even when
   an older compiled stylesheet remains cached on the server.
   -------------------------------------------------------------------------- */
body.kp-l10n-page .localized-form-section {
  padding: 66px 0 !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 18% 25%, rgba(205, 0, 20, .28), transparent 38%),
    linear-gradient(118deg, #0b0d0f 0%, #17090c 52%, #8d000c 100%) !important;
  border-top: 3px solid #d60016 !important;
}

body.kp-l10n-page .localized-form-section > .container,
body.kp-l10n-page .localized-footer > .container,
body.kp-l10n-page .localized-footer-bottom > .container {
  width: min(1180px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
}

body.kp-l10n-page .service-contact-grid {
  display: grid !important;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr) !important;
  gap: 52px !important;
  align-items: start !important;
}

body.kp-l10n-page .service-contact-copy .overline {
  color: #ff5d6b !important;
  font: 700 13px/1.2 var(--font-oswald), Oswald, sans-serif !important;
  letter-spacing: .1em !important;
}

body.kp-l10n-page .service-contact-copy h2 {
  max-width: 470px !important;
  margin: 12px 0 18px !important;
  color: #fff !important;
  font: 700 clamp(34px, 4vw, 48px)/1.08 var(--font-oswald), Oswald, sans-serif !important;
}

body.kp-l10n-page .service-contact-copy > p {
  max-width: 470px !important;
  color: #e5e7e9 !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
}

body.kp-l10n-page .contact-quick-actions {
  display: grid !important;
  gap: 10px !important;
  margin-top: 26px !important;
}

body.kp-l10n-page .contact-quick-actions > a {
  display: flex !important;
  min-height: 66px !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 12px 18px !important;
  color: #fff !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, .055) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-left: 3px solid #e00017 !important;
}

body.kp-l10n-page .contact-quick-actions span {
  display: grid !important;
}

body.kp-l10n-page .contact-quick-actions small {
  color: #ff8590 !important;
  font: 600 13px var(--font-oswald), Oswald, sans-serif !important;
}

body.kp-l10n-page .contact-quick-actions b {
  color: #fff !important;
  font-size: 15px !important;
}

body.kp-l10n-page .lead-form {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 28px !important;
  color: #171a1d !important;
  background: #fff !important;
  box-shadow: 0 20px 52px rgba(40, 0, 5, .36) !important;
}

body.kp-l10n-page .lead-form-heading {
  margin-bottom: 20px !important;
}

body.kp-l10n-page .lead-form-heading > span {
  color: #c70015 !important;
  font: 700 12px var(--font-oswald), Oswald, sans-serif !important;
  letter-spacing: .09em !important;
}

body.kp-l10n-page .lead-form-heading h3 {
  margin: 6px 0 8px !important;
  color: #15191d !important;
  font: 700 clamp(25px, 2.5vw, 34px)/1.12 var(--font-oswald), Oswald, sans-serif !important;
}

body.kp-l10n-page .lead-form-heading p {
  margin: 0 !important;
  color: #626a72 !important;
  font-size: 13px !important;
}

body.kp-l10n-page .lead-form-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.kp-l10n-page .lead-form-fields label {
  display: grid !important;
  min-width: 0 !important;
  gap: 6px !important;
  color: #252a2f !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.kp-l10n-page .lead-form-fields label.wide {
  grid-column: 1 / -1 !important;
}

body.kp-l10n-page .lead-form-fields input,
body.kp-l10n-page .lead-form-fields select,
body.kp-l10n-page .lead-form-fields textarea {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 11px 12px !important;
  color: #15191d !important;
  background: #f8f9fa !important;
  border: 1px solid #cfd4d8 !important;
  border-radius: 0 !important;
  font: 400 14px/1.4 var(--font-open-sans), "Open Sans", Arial, sans-serif !important;
}

body.kp-l10n-page .lead-form-fields textarea {
  min-height: 112px !important;
  resize: vertical !important;
}

body.kp-l10n-page .form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.kp-l10n-page .lead-submit {
  box-sizing: border-box !important;
  display: flex !important;
  width: 100% !important;
  min-height: 52px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-top: 16px !important;
  padding: 0 20px !important;
  color: #fff !important;
  background: #d80016 !important;
  border: 0 !important;
  font: 600 15px var(--font-oswald), Oswald, sans-serif !important;
  letter-spacing: .03em !important;
  cursor: pointer !important;
}

body.kp-l10n-page .lead-submit:disabled {
  opacity: .65 !important;
  cursor: wait !important;
}

body.kp-l10n-page .form-privacy-summary {
  margin: 9px 0 0 !important;
  color: #7a8187 !important;
  font-size: 11px !important;
  text-align: center !important;
}

body.kp-l10n-page .form-privacy-summary a {
  color: #bd0013 !important;
}

body.kp-l10n-page .localized-footer {
  color: #d8dcdf !important;
  background: #0b0d0f !important;
  border-top: 3px solid #d80016 !important;
}

body.kp-l10n-page .localized-footer-grid {
  display: grid !important;
  grid-template-columns: 1.22fr .85fr 1.08fr 1.22fr .92fr !important;
  gap: 30px !important;
  padding-top: 52px !important;
  padding-bottom: 42px !important;
}

body.kp-l10n-page .localized-footer a {
  color: inherit !important;
  text-decoration: none !important;
}

body.kp-l10n-page .localized-footer h3 {
  margin: 0 0 18px !important;
  color: #fff !important;
  font: 700 20px var(--font-oswald), Oswald, sans-serif !important;
}

body.kp-l10n-page .localized-footer-brand .brand {
  display: inline-flex !important;
  margin-bottom: 14px !important;
}

body.kp-l10n-page .localized-footer-brand .brand-lockup {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.kp-l10n-page .localized-footer-brand img {
  width: 62px !important;
  height: 58px !important;
  object-fit: contain !important;
  padding: 4px !important;
  background: #fff !important;
  border-radius: 3px !important;
}

body.kp-l10n-page .localized-footer-brand .brand-name {
  display: flex !important;
  gap: 6px !important;
  color: #fff !important;
  font: 700 24px var(--font-oswald), Oswald, sans-serif !important;
}

body.kp-l10n-page .localized-footer-brand .brand-name strong {
  color: #d80016 !important;
}

body.kp-l10n-page .localized-footer-brand p,
body.kp-l10n-page .localized-footer-brand small,
body.kp-l10n-page .localized-footer-contact p {
  color: #aeb4b8 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

body.kp-l10n-page .footer-nav-column,
body.kp-l10n-page .localized-footer-contact {
  display: flex !important;
  min-width: 0 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 9px !important;
}

body.kp-l10n-page .footer-nav-column a,
body.kp-l10n-page .localized-footer-contact a {
  max-width: 100% !important;
  color: #bdc2c6 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
}

body.kp-l10n-page .localized-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
}

body.kp-l10n-page .localized-footer-bottom > .container {
  display: flex !important;
  min-height: 58px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  color: #8f969b !important;
  font-size: 12px !important;
}

body.kp-l10n-page .localized-footer-bottom span:last-child {
  display: flex !important;
  gap: 18px !important;
}

@media (max-width: 1080px) {
  body.kp-l10n-page .localized-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  body.kp-l10n-page .service-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 640px) {
  body.kp-l10n-page .localized-form-section {
    padding: 46px 0 !important;
  }

  body.kp-l10n-page .localized-form-section > .container,
  body.kp-l10n-page .localized-footer > .container,
  body.kp-l10n-page .localized-footer-bottom > .container {
    width: min(100% - 28px, 1180px) !important;
  }

  body.kp-l10n-page .lead-form {
    padding: 20px !important;
  }

  body.kp-l10n-page .lead-form-fields,
  body.kp-l10n-page .localized-footer-grid {
    grid-template-columns: 1fr !important;
  }

  body.kp-l10n-page .lead-form-fields label.wide {
    grid-column: auto !important;
  }

  body.kp-l10n-page .localized-footer-bottom > .container,
  body.kp-l10n-page .localized-footer-bottom span:last-child {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body.kp-l10n-page .localized-footer-bottom > .container {
    padding: 16px 0 !important;
  }
}

/* Form feedback and the missing back-to-top control. */
.kayra-v12-form-status {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 10px 12px !important;
  color: #5c646b !important;
  background: #f4f5f6 !important;
  border-left: 3px solid #899198 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.kayra-v12-form-status[data-state="success"] {
  color: #086d2a !important;
  background: #effaf3 !important;
  border-left-color: #0a8b38 !important;
}

.kayra-v12-form-status[data-state="error"] {
  color: #92000d !important;
  background: #fff1f2 !important;
  border-left-color: #d60016 !important;
}

.kayra-v12-back-to-top {
  position: fixed !important;
  right: 22px !important;
  bottom: 24px !important;
  z-index: 96 !important;
  display: grid !important;
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  place-items: center !important;
  padding: 0 !important;
  color: #fff !important;
  background: #121518 !important;
  border: 1px solid rgba(255, 255, 255, .38) !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease !important;
  cursor: pointer !important;
}

.kayra-v12-back-to-top.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (max-width: 760px) {
  .kayra-v12-back-to-top {
    right: 14px !important;
    bottom: 82px !important;
    width: 42px !important;
    height: 42px !important;
  }
}
