/* Agent-Key Home Hero v1.1.4 — embedded compact lead form */
.akh-hero,
.akh-hero * { box-sizing: border-box; }

.akh-hero {
    --akh-orange: #ff5a1f;
    --akh-orange-2: #ff7a3d;
    --akh-graphite: #202632;
    --akh-muted: #667085;
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: clamp(560px, 64vh, 780px);
    color: #fff;
    overflow: hidden;
    background: #151923;
    border-radius: 0;
}
.akh-hero--has-bg { background-image: var(--akh-hero-bg); background-size: cover; background-position: center; background-repeat: no-repeat; }
.akh-hero--no-bg {
    background:
        radial-gradient(circle at 82% 28%, rgba(255,90,31,.42), transparent 26%),
        radial-gradient(circle at 65% 85%, rgba(255,255,255,.08), transparent 24%),
        linear-gradient(135deg, #121722 0%, #202632 58%, #11151d 100%);
}
.akh-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(13,18,27,.94) 0%, rgba(13,18,27,.78) 45%, rgba(13,18,27,.42) 100%),
        linear-gradient(180deg, rgba(13,18,27,.18) 0%, rgba(13,18,27,.72) 100%);
}

.akh-hero__inner {
    width: min(1320px, calc(100% - 40px));
    min-height: inherit;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
    padding: clamp(52px, 7vw, 92px) 0;
}
.akh-hero__content { max-width: 820px; }
.akh-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 90, 31, .38);
    border-radius: 999px;
    background: rgba(255,90,31,.10);
    color: #ffd9c9;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
}
.akh-hero__eyebrow:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--akh-orange);
    box-shadow: 0 0 0 5px rgba(255,90,31,.18);
}
.akh-hero__title {
    margin: 0;
    max-width: 880px;
    font-size: clamp(34px, 4.4vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.032em;
    font-weight: 850;
    color: #fff;
    text-wrap: balance;
}
.akh-hero__subtitle {
    margin: 22px 0 0;
    max-width: 720px;
    color: rgba(255,255,255,.84);
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.55;
    font-weight: 450;
}
.akh-hero__badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}
.akh-hero__badge {
    min-height: 96px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.akh-hero__badge-icon {
    display: block;
    width: 30px;
    height: 4px;
    border-radius: 999px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--akh-orange), var(--akh-orange-2));
}
.akh-hero__badge b,
.akh-hero__badge small { display: block; }
.akh-hero__badge b { font-size: 14px; line-height: 1.25; color: #fff; }
.akh-hero__badge small { margin-top: 5px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.3; }
.akh-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }

.akh-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.akh-btn:hover { transform: translateY(-1px); text-decoration: none !important; }
.akh-btn--phone { color: #202632 !important; background: #fff; border-color: rgba(255,255,255,.85); box-shadow: 0 16px 38px rgba(255,255,255,.16); }
.akh-btn--phone:hover { color: #fff !important; background: var(--akh-orange); border-color: var(--akh-orange); }
.akh-btn__phone-icon { width: 14px; height: 14px; border-radius: 4px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.6 10.8c1.6 3.1 3.5 5 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.6 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.7 21 3 13.3 3 3.8c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.4 0 .8-.3 1.1l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.6 10.8c1.6 3.1 3.5 5 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.6 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.7 21 3 13.3 3 3.8c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.4 0 .8-.3 1.1l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.akh-btn--ghost { color: #fff !important; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); }
.akh-btn--ghost:hover { color: #fff !important; background: rgba(255,255,255,.18); }
.akh-btn--request { width: 100%; color: #fff !important; background: linear-gradient(135deg, var(--akh-orange), #f04416); box-shadow: 0 16px 38px rgba(255,90,31,.32); }
.akh-btn--request:hover { color: #fff !important; box-shadow: 0 20px 46px rgba(255,90,31,.42); }
.akh-btn--request[disabled] { opacity: .75; cursor: wait; transform: none; }

.akh-hero__form-card {
    position: relative;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    color: var(--akh-graphite);
    box-shadow: 0 28px 70px rgba(0,0,0,.34);
    border: 1px solid rgba(255,255,255,.72);
    overflow: hidden;
}
.akh-hero__form-card:before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; border-radius: 24px 0 0 24px; background: linear-gradient(180deg, var(--akh-orange), var(--akh-orange-2)); }
.akh-hero__form-head { margin-bottom: 14px; }
.akh-hero__form-kicker { display: inline-flex; margin-bottom: 9px; padding: 6px 10px; border-radius: 999px; background: rgba(255,90,31,.10); color: #c83a0a; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.akh-hero__form-head h2 { margin: 0; font-size: 24px; line-height: 1.15; color: var(--akh-graphite); font-weight: 850; }
.akh-hero__form-head p { margin: 9px 0 0; color: var(--akh-muted); font-size: 14px; line-height: 1.42; }

.akh-hero-form { display: grid; gap: 11px; }
.akh-hero-form__row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.akh-hero-field { display: grid; gap: 5px; margin: 0; }
.akh-hero-field span { color: #344054; font-size: 12px; font-weight: 750; line-height: 1.2; }
.akh-hero-field input,
.akh-hero-field textarea {
    width: 100%;
    border: 1px solid #e8ebef;
    border-radius: 13px;
    background: #fff;
    color: #202632;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.akh-hero-field input { min-height: 42px; padding: 9px 11px; }
.akh-hero-field textarea { min-height: 70px; resize: vertical; padding: 10px 11px; }
.akh-hero-field input:focus,
.akh-hero-field textarea:focus { border-color: rgba(255,90,31,.58); box-shadow: 0 0 0 4px rgba(255,90,31,.10); }

.akh-hero-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px; border-radius: 15px; background: #f2f4f7; }
.akh-hero-mode label { margin: 0; cursor: pointer; }
.akh-hero-mode input { position: absolute; opacity: 0; pointer-events: none; }
.akh-hero-mode span { display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 12px; color: #667085; font-size: 14px; font-weight: 850; transition: background .16s ease, color .16s ease, box-shadow .16s ease; }
.akh-hero-mode label.is-active span { color: #fff; background: #202632; box-shadow: 0 10px 22px rgba(32,38,50,.18); }

.akh-hero-voice { display: grid; gap: 9px; padding: 12px; border: 1px solid rgba(255,90,31,.18); border-radius: 16px; background: rgba(255,90,31,.06); }
.akh-hero-voice__text b { display: block; color: #202632; font-size: 14px; line-height: 1.2; }
.akh-hero-voice__text small { display: block; margin-top: 3px; color: #667085; font-size: 12px; line-height: 1.35; }
.akh-hero-voice__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.akh-voice-btn { min-height: 34px; padding: 8px 12px; border: 0; border-radius: 11px; background: #202632; color: #fff; font-size: 13px; font-weight: 850; cursor: pointer; }
.akh-voice-btn--stop { background: #ff5a1f; }
.akh-hero-voice audio { width: 100%; height: 36px; }
.akh-hero-voice__status { min-height: 16px; color: #667085; font-size: 12px; line-height: 1.35; }

.akh-hero-consent { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: #667085; font-size: 12px; line-height: 1.35; }
.akh-hero-consent input { margin-top: 2px; accent-color: var(--akh-orange); }
.akh-hero-consent a { color: #c83a0a; text-decoration: underline; }
.akh-hero-submit { min-height: 46px; margin-top: 1px; }
.akh-hero-form__message { min-height: 18px; font-size: 13px; line-height: 1.35; }
.akh-hero-form__message.is-success { color: #067647; }
.akh-hero-form__message.is-error { color: #b42318; }

@media (max-width: 1199px) {
    .akh-hero__badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .akh-hero__inner { grid-template-columns: 1fr; }
    .akh-hero__content { max-width: none; }
    .akh-hero__form-card { max-width: 560px; }
}
@media (max-width: 575px) {
    .akh-hero { min-height: auto; }
    .akh-hero__inner { width: min(100% - 24px, 1320px); padding: 42px 0; }
    .akh-hero__badges { grid-template-columns: 1fr; }
    .akh-hero__badge { min-height: 0; }
    .akh-hero-form__row--two { grid-template-columns: 1fr; }
    .akh-hero__form-card { padding: 18px; border-radius: 20px; }
    .akh-hero__title { font-size: 32px; }
}

/* v1.1.4 photo upload */
.akh-hero-photo {
  margin-top: 10px;
}
.akh-hero-photo__drop {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed rgba(255, 90, 31, 0.30);
  border-radius: 14px;
  background: rgba(255, 90, 31, 0.055);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.akh-hero-photo__drop:hover {
  border-color: rgba(255, 90, 31, 0.75);
  background: rgba(255, 90, 31, 0.10);
}
.akh-hero-photo__drop input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.akh-hero-photo__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 90, 31, .16);
  position: relative;
}
.akh-hero-photo__icon:before {
  content: '';
  position: absolute;
  left: 9px;
  top: 11px;
  width: 20px;
  height: 16px;
  border: 2px solid #ff7a3d;
  border-radius: 5px;
}
.akh-hero-photo__icon:after {
  content: '';
  position: absolute;
  left: 16px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff7a3d;
}
.akh-hero-photo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.akh-hero-photo__text b {
  font-size: 13px;
  line-height: 1.2;
  color: #202632;
}
.akh-hero-photo__text small {
  font-size: 11px;
  line-height: 1.25;
  color: #667085;
}
.akh-hero-photo__preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.akh-hero-photo__preview[hidden] { display: none !important; }
.akh-hero-photo__preview img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(232,235,239,.95);
}
.akh-hero-photo__preview button {
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  background: #f2f4f7;
  color: #344054;
  cursor: pointer;
  font-size: 12px;
}
.akh-hero-photo__preview button:hover {
  background: rgba(255, 90, 31, .22);
  color: #202632;
}

/* v1.1.9: anti-spam honeypot */
.akh-hero-hp {
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.akh-hero-form__message .akh-hero-success-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ff5a1f;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
}

/* v1.2.0: success popup */
.akh-success-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}
.akh-success-popup.is-visible {
  opacity: 1;
  visibility: visible;
}
.akh-success-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 20, 31, .58);
  backdrop-filter: blur(5px);
}
.akh-success-popup__card {
  position: relative;
  width: min(460px, 100%);
  padding: 30px 28px 26px;
  border-radius: 26px;
  background: linear-gradient(135deg, #12b76a 0%, #079455 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 80px rgba(7, 148, 85, .36), 0 18px 50px rgba(0, 0, 0, .20);
  transform: translateY(10px) scale(.98);
  transition: transform .18s ease;
  overflow: hidden;
}
.akh-success-popup.is-visible .akh-success-popup__card {
  transform: translateY(0) scale(1);
}
.akh-success-popup__card:before {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  right: -90px;
  top: -110px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.akh-success-popup__card:after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  left: -70px;
  bottom: -90px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
}
.akh-success-popup__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.akh-success-popup__x:hover { background: rgba(255,255,255,.28); }
.akh-success-popup__icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #079455;
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(0,0,0,.14);
}
.akh-success-popup h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.16;
  font-weight: 900;
}
.akh-success-popup p {
  position: relative;
  z-index: 1;
  margin: 10px auto 0;
  max-width: 360px;
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.45;
}
.akh-success-popup__actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.akh-success-popup__close,
.akh-success-popup__call {
  min-height: 42px;
  padding: 11px 17px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.48);
  font-weight: 850;
  cursor: pointer;
  text-decoration: none !important;
}
.akh-success-popup__close {
  background: #fff;
  color: #067647;
}
.akh-success-popup__call {
  background: rgba(255,255,255,.15);
  color: #fff !important;
}
.akh-success-popup__call:hover,
.akh-success-popup__close:hover {
  transform: translateY(-1px);
}
@media (max-width: 575px) {
  .akh-success-popup__card { padding: 26px 20px 22px; border-radius: 22px; }
  .akh-success-popup h3 { font-size: 24px; }
}


/* v1.2.3 — compact square hero advantages without orange stripe */
.akh-hero__badges {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 560px;
    margin-top: 24px;
    overflow: visible;
}
.akh-hero__badge {
    position: relative;
    overflow: hidden;
    min-width: 0;
    width: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    padding: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.16);
    background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.065));
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    box-shadow: 0 12px 28px rgba(0,0,0,.15);
    transform: translateY(0);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.akh-hero__badge:before {
    content: none !important;
    display: none !important;
}
.akh-hero__badge:after {
    content: "";
    position: absolute;
    inset: auto -28% -34% auto;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,90,31,.30), rgba(255,90,31,0) 68%);
    opacity: 0;
    transform: translate(12px, 12px);
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: none;
}
.akh-hero__badge:hover {
    transform: translateY(-3px);
    border-color: rgba(255,90,31,.48);
    background: linear-gradient(180deg, rgba(255,90,31,.15), rgba(255,255,255,.08));
    box-shadow: 0 18px 38px rgba(0,0,0,.22), 0 0 26px rgba(255,90,31,.16);
}
.akh-hero__badge:hover:after {
    opacity: 1;
    transform: translate(0, 0);
}
.akh-hero__badge-icon {
    display: block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 12px;
    margin: 0 0 8px;
    background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,.44), rgba(255,255,255,0) 36%),
        linear-gradient(135deg, var(--akh-orange), var(--akh-orange-2));
    box-shadow: 0 9px 20px rgba(255,90,31,.22);
}
.akh-hero__badge b,
.akh-hero__badge small {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}
.akh-hero__badge b {
    color: #fff;
    font-size: 13px;
    line-height: 1.16;
    font-weight: 850;
}
.akh-hero__badge small {
    margin-top: 5px;
    color: rgba(255,255,255,.70);
    font-size: 11px;
    line-height: 1.25;
}
@media (max-width: 1199px) {
    .akh-hero__badges {
        max-width: 520px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 991px) {
    .akh-hero__badges {
        max-width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .akh-hero__badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-top: 20px;
    }
    .akh-hero__badge {
        padding: 10px;
        border-radius: 16px;
    }
    .akh-hero__badge-icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        border-radius: 10px;
        margin-bottom: 7px;
    }
    .akh-hero__badge b { font-size: 12.5px; }
    .akh-hero__badge small { font-size: 10.5px; }
}
@media (max-width: 390px) {
    .akh-hero__badges { gap: 8px; }
    .akh-hero__badge { padding: 9px; }
    .akh-hero__badge small { display: none; }
}

/* v1.2.6 — compact meaningful advantage icons, no orange ball */
.akh-hero__badge-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    border-radius: 12px !important;
    margin: 0 0 8px !important;
    background: rgba(255,255,255,.12) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    box-shadow: none !important;
}
.akh-hero__badge-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: #ff7a1a;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.akh-hero__badge:hover .akh-hero__badge-icon {
    background: rgba(255,90,31,.16) !important;
    border-color: rgba(255,90,31,.38) !important;
    box-shadow: 0 0 18px rgba(255,90,31,.12) !important;
}
@media (max-width: 640px) {
    .akh-hero__badges {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
        max-width: 100%;
        margin-top: 18px;
    }
    .akh-hero__badge {
        width: 98px !important;
        height: 98px !important;
        flex: 0 0 98px !important;
        aspect-ratio: auto !important;
        padding: 9px !important;
        border-radius: 15px !important;
    }
    .akh-hero__badge-icon {
        width: 24px !important;
        height: 24px !important;
        flex-basis: 24px !important;
        border-radius: 10px !important;
        margin-bottom: 6px !important;
    }
    .akh-hero__badge-icon svg {
        width: 15px;
        height: 15px;
    }
    .akh-hero__badge b {
        font-size: 11.5px !important;
        line-height: 1.12 !important;
    }
    .akh-hero__badge small {
        display: none !important;
    }
}
@media (max-width: 380px) {
    .akh-hero__badge {
        width: 92px !important;
        height: 92px !important;
        flex-basis: 92px !important;
    }
}


/* v1.2.6 — consistent alignment for compact hero advantage tiles */
.akh-hero__badge {
    text-align: center !important;
    justify-items: center !important;
    align-items: start !important;
    justify-content: initial !important;
    display: grid !important;
    grid-template-rows: 34px minmax(34px, auto) minmax(0, 1fr) !important;
    row-gap: 6px !important;
}
.akh-hero__badge-icon {
    margin: 0 auto !important;
    align-self: start !important;
}
.akh-hero__badge b {
    min-height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}
.akh-hero__badge small {
    margin-top: 0 !important;
    min-height: 28px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}
@media (max-width: 640px) {
    .akh-hero__badge {
        display: grid !important;
        grid-template-rows: 26px 1fr !important;
        row-gap: 6px !important;
        align-items: start !important;
        justify-items: center !important;
    }
    .akh-hero__badge-icon {
        margin: 0 auto !important;
        align-self: start !important;
    }
    .akh-hero__badge b {
        min-height: 0 !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .akh-hero__badge small {
        display: none !important;
    }
}

/* v1.2.6 — larger icon library, admin list selection for mini-advantages */
.akh-hero__badge-icon svg {
    fill: none !important;
    stroke: #ff7a1a !important;
}

/* v1.2.13 — messenger app icons with optional custom image upload from admin. */
.akh-hero__messenger-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    max-width: 560px;
}

.akh-msg-icon-btn {
    width: var(--akh-msg-tile, 64px) !important;
    height: var(--akh-msg-tile, 64px) !important;
    min-width: var(--akh-msg-tile, 64px) !important;
    min-height: var(--akh-msg-tile, 64px) !important;
    flex: 0 0 var(--akh-msg-tile, 64px);
    aspect-ratio: 1 / 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0;
    border: 0;
    border-radius: 14px;
    line-height: 0;
    text-decoration: none !important;
    overflow: hidden;
    background: transparent !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.10);
    transform: translateZ(0);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.akh-msg-icon-btn__icon {
    width: var(--akh-msg-icon, 62px) !important;
    height: var(--akh-msg-icon, 62px) !important;
    flex: 0 0 var(--akh-msg-icon, 62px);
    display: block;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.akh-msg-icon-btn__icon svg,
.akh-msg-svg,
.akh-msg-custom-icon {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 14px;
    overflow: hidden;
}

.akh-msg-custom-icon {
    object-fit: cover;
}

.akh-msg-icon-btn:hover,
.akh-msg-icon-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 15px 32px rgba(0,0,0,.20), 0 0 24px rgba(255,90,31,.10);
    filter: saturate(1.06);
    outline: none;
}

.akh-msg-icon-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 0 0 6px rgba(255,90,31,.55);
}

@media (max-width: 640px) {
    .akh-hero__messenger-row {
        gap: 8px;
        margin-top: 10px;
        max-width: 100%;
    }

    .akh-msg-icon-btn {
        width: min(var(--akh-msg-tile, 64px), 62px) !important;
        height: min(var(--akh-msg-tile, 64px), 62px) !important;
        min-width: min(var(--akh-msg-tile, 64px), 62px) !important;
        min-height: min(var(--akh-msg-tile, 64px), 62px) !important;
        flex-basis: min(var(--akh-msg-tile, 64px), 62px);
        border-radius: 14px;
    }

    .akh-msg-icon-btn__icon {
        width: min(var(--akh-msg-icon, 62px), 62px) !important;
        height: min(var(--akh-msg-icon, 62px), 62px) !important;
        flex-basis: min(var(--akh-msg-icon, 62px), 62px);
    }
}

@media (max-width: 380px) {
    .akh-msg-icon-btn {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        flex-basis: 58px;
    }

    .akh-msg-icon-btn__icon {
        width: 56px !important;
        height: 56px !important;
        flex-basis: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .akh-msg-icon-btn {
        transition: none;
    }
}


/* v1.2.15 — clean layout controls rebuilt from v1.2.13.
   Fix: mini-advantages are moved by margins, not only justify-content inside a full-width grid. */
.akh-align--left {
    justify-content: flex-start;
    justify-items: start;
    text-align: left;
}

.akh-align--center {
    justify-content: center;
    justify-items: center;
    text-align: center;
}

.akh-align--right {
    justify-content: flex-end;
    justify-items: end;
    text-align: right;
}

/* Mini-advantages block itself */
.akh-hero__badges.akh-align--left {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.akh-hero__badges.akh-align--center {
    margin-left: auto !important;
    margin-right: auto !important;
}

.akh-hero__badges.akh-align--right {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.akh-hero__badges.akh-align--center .akh-hero__badge {
    align-items: center;
}

.akh-hero__badges.akh-align--right .akh-hero__badge {
    align-items: flex-end;
}

/* Button rows */
.akh-hero__actions.akh-align--left,
.akh-hero__messenger-row.akh-align--left {
    justify-content: flex-start;
}

.akh-hero__actions.akh-align--center,
.akh-hero__messenger-row.akh-align--center {
    justify-content: center;
}

.akh-hero__actions.akh-align--right,
.akh-hero__messenger-row.akh-align--right {
    justify-content: flex-end;
}

/* Desktop/mobile visibility */
.akh-visible--hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .akh-visible--mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .akh-visible--desktop {
        display: none !important;
    }
}


/* v1.2.16 — per-device alignment and visibility controls */
@media (min-width: 768px) {
    .akh-align-d--left {
        justify-content: flex-start;
        justify-items: start;
        text-align: left;
    }

    .akh-align-d--center {
        justify-content: center;
        justify-items: center;
        text-align: center;
    }

    .akh-align-d--right {
        justify-content: flex-end;
        justify-items: end;
        text-align: right;
    }

    .akh-hero__badges.akh-align-d--left {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .akh-hero__badges.akh-align-d--center {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .akh-hero__badges.akh-align-d--right {
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    .akh-hero__actions.akh-align-d--left,
    .akh-hero__messenger-row.akh-align-d--left {
        justify-content: flex-start;
    }

    .akh-hero__actions.akh-align-d--center,
    .akh-hero__messenger-row.akh-align-d--center {
        justify-content: center;
    }

    .akh-hero__actions.akh-align-d--right,
    .akh-hero__messenger-row.akh-align-d--right {
        justify-content: flex-end;
    }

    .akh-show-d--0 {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .akh-align-m--left {
        justify-content: flex-start;
        justify-items: start;
        text-align: left;
    }

    .akh-align-m--center {
        justify-content: center;
        justify-items: center;
        text-align: center;
    }

    .akh-align-m--right {
        justify-content: flex-end;
        justify-items: end;
        text-align: right;
    }

    .akh-hero__badges.akh-align-m--left {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .akh-hero__badges.akh-align-m--center {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .akh-hero__badges.akh-align-m--right {
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    .akh-hero__actions.akh-align-m--left,
    .akh-hero__messenger-row.akh-align-m--left {
        justify-content: flex-start;
    }

    .akh-hero__actions.akh-align-m--center,
    .akh-hero__messenger-row.akh-align-m--center {
        justify-content: center;
    }

    .akh-hero__actions.akh-align-m--right,
    .akh-hero__messenger-row.akh-align-m--right {
        justify-content: flex-end;
    }

    .akh-show-m--0 {
        display: none !important;
    }
}


/* v1.2.18 — real mobile columns for mini-advantages.
   Root fix: old mobile CSS changed badges to flex with fixed 98px tiles.
   Here we deliberately switch it back to grid only when this setting is active. */
@media (max-width: 767px) {
    .akh-hero__badges.akh-badges-mobile--2,
    .akh-hero__badges.akh-badges-mobile--4 {
        display: grid !important;
        width: auto !important;
        gap: 8px !important;
        margin-top: 18px;
    }

    .akh-hero__badges.akh-badges-mobile--2 {
        grid-template-columns: repeat(2, 98px) !important;
        max-width: calc(98px * 2 + 8px) !important;
    }

    .akh-hero__badges.akh-badges-mobile--4 {
        --akh-mobile-badge-size: min(98px, calc((100vw - 42px) / 4));
        grid-template-columns: repeat(4, var(--akh-mobile-badge-size)) !important;
        max-width: calc(var(--akh-mobile-badge-size) * 4 + 24px) !important;
        gap: 6px !important;
    }

    .akh-hero__badges.akh-badges-mobile--2.akh-align-m--left,
    .akh-hero__badges.akh-badges-mobile--4.akh-align-m--left {
        margin-left: 0 !important;
        margin-right: auto !important;
        justify-content: start !important;
    }

    .akh-hero__badges.akh-badges-mobile--2.akh-align-m--center,
    .akh-hero__badges.akh-badges-mobile--4.akh-align-m--center {
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
    }

    .akh-hero__badges.akh-badges-mobile--2.akh-align-m--right,
    .akh-hero__badges.akh-badges-mobile--4.akh-align-m--right {
        margin-left: auto !important;
        margin-right: 0 !important;
        justify-content: end !important;
    }

    .akh-hero__badges.akh-badges-mobile--2 .akh-hero__badge {
        width: 98px !important;
        height: 98px !important;
        min-width: 0 !important;
        flex: none !important;
        aspect-ratio: auto !important;
        padding: 9px !important;
    }

    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge {
        width: var(--akh-mobile-badge-size) !important;
        height: var(--akh-mobile-badge-size) !important;
        min-width: 0 !important;
        flex: none !important;
        aspect-ratio: auto !important;
        padding: 7px 4px !important;
        border-radius: 13px !important;
    }

    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-icon {
        width: 23px !important;
        height: 23px !important;
        flex: 0 0 23px !important;
        min-width: 23px !important;
        border-radius: 9px !important;
        margin-bottom: 5px !important;
    }

    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge b,
    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge strong,
    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-title {
        font-size: clamp(9px, 2.55vw, 10.5px) !important;
        line-height: 1.08 !important;
        overflow-wrap: anywhere;
    }

    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge small,
    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-text {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .akh-hero__badges.akh-badges-mobile--2 {
        grid-template-columns: repeat(2, 92px) !important;
        max-width: calc(92px * 2 + 8px) !important;
    }

    .akh-hero__badges.akh-badges-mobile--2 .akh-hero__badge {
        width: 92px !important;
        height: 92px !important;
    }

    .akh-hero__badges.akh-badges-mobile--4 {
        --akh-mobile-badge-size: min(92px, calc((100vw - 40px) / 4));
        gap: 5px !important;
        max-width: calc(var(--akh-mobile-badge-size) * 4 + 15px) !important;
    }

    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge {
        padding: 6px 3px !important;
    }

    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-icon {
        width: 22px !important;
        height: 22px !important;
        flex-basis: 22px !important;
        min-width: 22px !important;
    }

    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge b,
    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge strong,
    .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-title {
        font-size: 9px !important;
    }
}


/* v1.2.19 — compact modern mobile Hero mode */
.akh-mobile-primary-cta {
    display: none;
}

.akh-mobile-contact-bar {
    display: none;
}

@media (max-width: 767px) {
    .akh-hero--mobile-compact {
        min-height: auto !important;
    }

    .akh-hero--mobile-compact .akh-hero__inner {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .akh-hero--mobile-compact .akh-hero__content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .akh-hero--mobile-compact .akh-hero__eyebrow {
        align-self: flex-start;
        max-width: calc(100vw - 34px);
        padding: 10px 14px;
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
    }

    .akh-hero--mobile-compact .akh-hero__title {
        margin-top: 22px;
        font-size: clamp(33px, 9.3vw, 46px) !important;
        line-height: .98 !important;
        letter-spacing: -.045em;
        max-width: 100%;
    }

    .akh-hero--mobile-compact .akh-hero__subtitle {
        margin-top: 18px;
        font-size: clamp(17px, 4.4vw, 21px) !important;
        line-height: 1.45 !important;
        max-width: 100%;
        color: rgba(255,255,255,.82);
    }

    .akh-hero--mobile-compact .akh-mobile-primary-cta {
        display: block;
        margin-top: 22px;
        order: 10;
    }

    .akh-hero--mobile-compact .akh-mobile-primary-cta__btn {
        width: 100%;
        min-height: 58px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 18px;
        border-radius: 18px;
        background: linear-gradient(135deg, #ff5a1f, #ff7a1a);
        color: #fff !important;
        text-decoration: none !important;
        font-size: 18px;
        font-weight: 850;
        letter-spacing: .01em;
        box-shadow: 0 18px 34px rgba(255,90,31,.30);
    }

    /* On mobile: primary CTA first, quick contacts second, trust chips third */
    .akh-hero--mobile-compact .akh-hero__actions {
        order: 20;
        margin-top: 12px !important;
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 10px !important;
        justify-content: stretch !important;
    }

    .akh-hero--mobile-compact .akh-hero__actions .akh-btn--phone {
        width: 100%;
        min-height: 54px;
        border-radius: 17px;
    }

    .akh-hero--mobile-compact .akh-hero__actions .akh-btn--ghost {
        display: none !important;
    }

    .akh-hero--mobile-compact .akh-hero__messenger-row {
        order: 30;
        margin-top: 12px !important;
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, 54px) !important;
        justify-content: center !important;
        gap: 12px !important;
        --akh-msg-tile: 54px !important;
        --akh-msg-icon: 54px !important;
    }

    .akh-hero--mobile-compact .akh-msg-icon-btn {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        flex-basis: 54px !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 22px rgba(0,0,0,.16);
    }

    .akh-hero--mobile-compact .akh-msg-icon-btn__icon {
        width: 54px !important;
        height: 54px !important;
        flex-basis: 54px !important;
    }

    .akh-hero--mobile-compact .akh-msg-icon-btn__icon svg,
    .akh-hero--mobile-compact .akh-msg-svg,
    .akh-hero--mobile-compact .akh-msg-custom-icon {
        border-radius: 14px !important;
    }

    /* Advantages become light mobile trust chips after contacts */
    .akh-hero--mobile-compact .akh-hero__badges {
        order: 40;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 18px !important;
        gap: 7px !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge {
        width: auto !important;
        height: auto !important;
        min-height: 58px !important;
        aspect-ratio: auto !important;
        flex: none !important;
        padding: 8px 4px !important;
        border-radius: 15px !important;
        justify-content: center;
        align-items: center !important;
        text-align: center;
        background: rgba(255,255,255,.075);
        border-color: rgba(255,255,255,.13);
        box-shadow: 0 8px 18px rgba(0,0,0,.12);
    }

    .akh-hero--mobile-compact .akh-hero__badge-icon {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        flex: 0 0 22px !important;
        border-radius: 9px !important;
        margin: 0 0 5px !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge-icon svg {
        width: 13px !important;
        height: 13px !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge b,
    .akh-hero--mobile-compact .akh-hero__badge strong {
        font-size: clamp(9px, 2.55vw, 11px) !important;
        line-height: 1.06 !important;
        font-weight: 800 !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge small {
        display: none !important;
    }

    .akh-hero--mobile-compact .akh-hero__form-card {
        margin-top: 26px !important;
        border-radius: 24px !important;
    }

    .akh-hero--mobile-compact .akh-hero__form-head h2 {
        font-size: 24px;
        line-height: 1.1;
    }
}

@media (max-width: 380px) {
    .akh-hero--mobile-compact .akh-hero__title {
        font-size: 32px !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges {
        gap: 5px !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge {
        min-height: 54px !important;
        padding: 7px 3px !important;
        border-radius: 13px !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge b,
    .akh-hero--mobile-compact .akh-hero__badge strong {
        font-size: 9px !important;
    }
}

/* Optional sticky contact bar for mobile, disabled by default in settings */
@media (max-width: 767px) {
    .akh-mobile-contact-bar {
        position: fixed;
        z-index: 9997;
        left: 12px;
        right: 12px;
        bottom: 12px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        border-radius: 20px;
        background: rgba(15, 23, 42, .84);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 18px 44px rgba(0,0,0,.26);
    }

    .akh-mobile-contact-bar__item {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        text-decoration: none !important;
        color: #fff !important;
        font-size: 13px;
        font-weight: 800;
    }

    .akh-mobile-contact-bar__item--phone {
        background: #ffffff;
        color: #101828 !important;
    }

    .akh-mobile-contact-bar__item--whatsapp {
        background: #25d366;
    }

    .akh-mobile-contact-bar__item--telegram {
        background: #229ed9;
    }
}


/* v1.2.20 — phone/catalog button polish: readability + cleaner icon + unified hover */
.akh-btn--phone {
    font-size: clamp(18px, 1.55vw, 22px) !important;
    font-weight: 850 !important;
    letter-spacing: .015em;
    font-variant-numeric: tabular-nums;
    text-rendering: geometricPrecision;
}

.akh-btn__phone-icon {
    position: relative;
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    display: inline-block;
    margin-right: 10px;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.akh-btn__phone-icon::before {
    content: "";
    position: absolute;
    inset: 2px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Keep the mobile compact phone button same size, only improve readable number */
@media (max-width: 767px) {
    .akh-hero--mobile-compact .akh-hero__actions .akh-btn--phone {
        font-size: clamp(20px, 5.5vw, 25px) !important;
        font-weight: 850 !important;
        letter-spacing: .018em;
    }

    .akh-hero--mobile-compact .akh-btn__phone-icon {
        width: 23px !important;
        height: 23px !important;
        flex-basis: 23px !important;
        margin-right: 10px;
    }
}

/* Catalog button hover/focus now matches the warm Agent-Key highlight style */
.akh-btn--ghost {
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        color .2s ease,
        filter .2s ease;
}

.akh-btn--ghost:hover,
.akh-btn--ghost:focus-visible {
    color: #fff !important;
    border-color: rgba(255,90,31,.62) !important;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.16), rgba(255,255,255,0) 38%),
        linear-gradient(135deg, rgba(255,90,31,.26), rgba(255,122,26,.14)) !important;
    box-shadow:
        0 18px 38px rgba(0,0,0,.22),
        0 0 28px rgba(255,90,31,.18) !important;
    transform: translateY(-2px);
}

.akh-btn--ghost:active {
    transform: translateY(0);
    filter: saturate(.98);
}


/* v1.2.21 — phone button: centered content, smaller icon gap, clearer phone icon */
.akh-btn--phone {
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
}

.akh-btn__phone-icon {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    margin-right: 0 !important;
}

.akh-btn__phone-icon::before {
    inset: 0 !important;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm0 2v16h8V4H8zm3 13.5h2v1.4h-2v-1.4z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm0 2v16h8V4H8zm3 13.5h2v1.4h-2v-1.4z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

@media (max-width: 767px) {
    .akh-hero--mobile-compact .akh-hero__actions .akh-btn--phone {
        justify-content: center !important;
        text-align: center !important;
        gap: 6px !important;
    }

    .akh-hero--mobile-compact .akh-btn__phone-icon {
        width: 21px !important;
        height: 21px !important;
        flex-basis: 21px !important;
        margin-right: 0 !important;
    }
}


/* v1.2.22 — phone button rewritten: real inline SVG, no CSS mask clipping */
.akh-btn--phone {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 5px !important;
}

.akh-btn__phone-icon {
    width: 21px !important;
    height: 21px !important;
    flex: 0 0 21px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 5px 0 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: currentColor !important;
}

.akh-btn__phone-icon::before,
.akh-btn__phone-icon::after {
    content: none !important;
    display: none !important;
}

.akh-btn__phone-svg {
    width: 21px !important;
    height: 21px !important;
    display: block !important;
    flex: 0 0 21px !important;
    fill: currentColor !important;
    stroke: none !important;
    overflow: visible !important;
}

@media (max-width: 767px) {
    .akh-hero--mobile-compact .akh-hero__actions .akh-btn--phone {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 5px !important;
    }

    .akh-hero--mobile-compact .akh-btn__phone-icon {
        width: 22px !important;
        height: 22px !important;
        flex-basis: 22px !important;
        margin-right: 5px !important;
    }

    .akh-hero--mobile-compact .akh-btn__phone-svg {
        width: 22px !important;
        height: 22px !important;
        flex-basis: 22px !important;
    }
}


/* v1.2.23 — mobile compact order: mini-advantages before WhatsApp/Telegram */
@media (max-width: 767px) {
    .akh-hero--mobile-compact .akh-hero__badges {
        order: 30 !important;
        margin-top: 16px !important;
    }

    .akh-hero--mobile-compact .akh-hero__messenger-row {
        order: 40 !important;
        margin-top: 14px !important;
    }
}


/* v1.2.26 — configurable mobile mini-advantages.
   Admin can hide mobile badges or tune their mobile design without touching desktop. */
@media (max-width: 767px) {
    .akh-hero--mobile-compact .akh-hero__badges {
        order: 40;
        display: grid !important;
        width: 100% !important;
        margin-top: 14px !important;
        gap: var(--akh-badge-m-gap, 10px) !important;
        align-items: stretch !important;
        justify-items: stretch !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile-full--1 {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile-full--0 {
        width: auto !important;
        max-width: 100% !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile--1 {
        grid-template-columns: 1fr !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: var(--akh-badge-m-h, 104px) !important;
        aspect-ratio: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: calc(var(--akh-badge-m-gap, 10px) * .72) !important;
        padding: var(--akh-badge-m-py, 12px) var(--akh-badge-m-px, 10px) !important;
        text-align: center !important;
        border-radius: var(--akh-badge-m-radius, 18px) !important;
        overflow: hidden !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge::before,
    .akh-hero--mobile-compact .akh-hero__badge::after {
        display: none !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge-icon {
        width: var(--akh-badge-m-icon, 24px) !important;
        height: var(--akh-badge-m-icon, 24px) !important;
        min-width: var(--akh-badge-m-icon, 24px) !important;
        min-height: var(--akh-badge-m-icon, 24px) !important;
        flex: 0 0 var(--akh-badge-m-icon, 24px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        border-radius: max(7px, calc(var(--akh-badge-m-radius, 18px) * .48)) !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge-icon svg {
        width: var(--akh-badge-m-svg, 13px) !important;
        height: var(--akh-badge-m-svg, 13px) !important;
        display: block !important;
    }

    .akh-hero--mobile-compact .akh-hero__badge b,
    .akh-hero--mobile-compact .akh-hero__badge strong,
    .akh-hero--mobile-compact .akh-hero__badge-title {
        display: -webkit-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
        color: #fff !important;
        font-size: var(--akh-badge-m-font, 12.5px) !important;
        line-height: 1.14 !important;
        font-weight: 820 !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis;
        overflow-wrap: anywhere;
        word-break: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: var(--akh-badge-m-lines, 3);
    }

    .akh-hero--mobile-compact .akh-hero__badge small,
    .akh-hero--mobile-compact .akh-hero__badge-text {
        display: none !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile-textonly--1 .akh-hero__badge-icon {
        display: none !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile-textonly--1 .akh-hero__badge {
        gap: 0 !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge {
        min-height: min(var(--akh-badge-m-h, 72px), 86px) !important;
        padding: min(var(--akh-badge-m-py, 9px), 10px) min(var(--akh-badge-m-px, 4px), 7px) !important;
        gap: min(calc(var(--akh-badge-m-gap, 7px) * .7), 6px) !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-icon {
        width: min(var(--akh-badge-m-icon, 18px), 22px) !important;
        height: min(var(--akh-badge-m-icon, 18px), 22px) !important;
        min-width: min(var(--akh-badge-m-icon, 18px), 22px) !important;
        min-height: min(var(--akh-badge-m-icon, 18px), 22px) !important;
        flex-basis: min(var(--akh-badge-m-icon, 18px), 22px) !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-icon svg {
        width: min(var(--akh-badge-m-svg, 11px), 13px) !important;
        height: min(var(--akh-badge-m-svg, 11px), 13px) !important;
    }

    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge b,
    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge strong,
    .akh-hero--mobile-compact .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-title {
        font-size: min(var(--akh-badge-m-font, 9.2px), 10px) !important;
        line-height: 1.08 !important;
    }
}


/* v1.2.27 — messenger size settings fixed.
   These rules intentionally come last and override old mobile hardcoded 54/58/62px values. */
.akh-hero .akh-hero__messenger-row {
    --akh-msg-radius: 14px;
}

.akh-hero .akh-msg-icon-btn {
    width: var(--akh-msg-tile, 64px) !important;
    height: var(--akh-msg-tile, 64px) !important;
    min-width: var(--akh-msg-tile, 64px) !important;
    min-height: var(--akh-msg-tile, 64px) !important;
    max-width: var(--akh-msg-tile, 64px) !important;
    max-height: var(--akh-msg-tile, 64px) !important;
    flex: 0 0 var(--akh-msg-tile, 64px) !important;
    border-radius: var(--akh-msg-radius, 14px) !important;
}

.akh-hero .akh-msg-icon-btn__icon {
    width: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    height: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    min-width: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    min-height: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    max-width: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    max-height: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    flex: 0 0 var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
}

.akh-hero .akh-msg-icon-btn__icon svg,
.akh-hero .akh-msg-svg,
.akh-hero .akh-msg-custom-icon {
    border-radius: var(--akh-msg-radius, 14px) !important;
}

@media (max-width: 767px) {
    .akh-hero--mobile-compact .akh-msg-icon-btn,
    .akh-hero .akh-msg-icon-btn {
        width: var(--akh-msg-tile, 64px) !important;
        height: var(--akh-msg-tile, 64px) !important;
        min-width: var(--akh-msg-tile, 64px) !important;
        min-height: var(--akh-msg-tile, 64px) !important;
        max-width: var(--akh-msg-tile, 64px) !important;
        max-height: var(--akh-msg-tile, 64px) !important;
        flex-basis: var(--akh-msg-tile, 64px) !important;
        border-radius: var(--akh-msg-radius, 14px) !important;
    }

    .akh-hero--mobile-compact .akh-msg-icon-btn__icon,
    .akh-hero .akh-msg-icon-btn__icon {
        width: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
        height: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
        min-width: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
        min-height: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
        max-width: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
        max-height: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
        flex-basis: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    }
}


/* v1.2.28 — final messenger mobile size fix.
   Desktop uses --akh-msg-tile / --akh-msg-icon.
   Mobile uses --akh-msg-tile-mobile / --akh-msg-icon-mobile.
   This block must stay last to beat old mobile hardcoded values. */
.akh-hero .akh-hero__messenger-row {
    --akh-msg-radius: 14px;
}

.akh-hero .akh-msg-icon-btn {
    width: var(--akh-msg-tile, 64px) !important;
    height: var(--akh-msg-tile, 64px) !important;
    min-width: var(--akh-msg-tile, 64px) !important;
    min-height: var(--akh-msg-tile, 64px) !important;
    max-width: var(--akh-msg-tile, 64px) !important;
    max-height: var(--akh-msg-tile, 64px) !important;
    flex: 0 0 var(--akh-msg-tile, 64px) !important;
    flex-basis: var(--akh-msg-tile, 64px) !important;
    border-radius: var(--akh-msg-radius, 14px) !important;
}

.akh-hero .akh-msg-icon-btn__icon {
    width: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    height: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    min-width: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    min-height: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    max-width: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    max-height: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    flex: 0 0 var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
    flex-basis: var(--akh-msg-icon, var(--akh-msg-tile, 64px)) !important;
}

.akh-hero .akh-msg-icon-btn__icon svg,
.akh-hero .akh-msg-svg,
.akh-hero .akh-msg-custom-icon {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: var(--akh-msg-radius, 14px) !important;
}

@media (max-width: 767px) {
    .akh-hero .akh-msg-icon-btn,
    .akh-hero--mobile-compact .akh-msg-icon-btn,
    .akh-hero--mobile-standard .akh-msg-icon-btn {
        width: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        min-width: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        min-height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        max-width: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        max-height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        flex: 0 0 var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        flex-basis: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        border-radius: var(--akh-msg-radius, 14px) !important;
    }

    .akh-hero .akh-msg-icon-btn__icon,
    .akh-hero--mobile-compact .akh-msg-icon-btn__icon,
    .akh-hero--mobile-standard .akh-msg-icon-btn__icon {
        width: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        min-width: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        min-height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        max-width: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        max-height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        flex: 0 0 var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        flex-basis: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
    }
}


/* v1.2.29 — FINAL mobile admin settings enforcement layer.
   Root cause fixed here: old mobile CSS blocks used !important and overrode admin-controlled classes/variables.
   This layer is intentionally last and maps every mobile admin setting to visible frontend behavior. */

/* Desktop visibility must also stay predictable */
@media (min-width: 768px) {
    .akh-hero .akh-show-d--0 {
        display: none !important;
    }

    .akh-hero .akh-show-d--1.akh-hero__badges {
        display: grid !important;
    }

    .akh-hero .akh-show-d--1.akh-hero__actions,
    .akh-hero .akh-show-d--1.akh-hero__messenger-row {
        display: flex !important;
    }

    .akh-hero .akh-show-d--1.akh-btn,
    .akh-hero .akh-show-d--1.akh-msg-icon-btn {
        display: inline-flex !important;
    }
}

@media (max-width: 767px) {
    /* 1) Visibility settings: these must win over all old compact/mobile rules. */
    .akh-hero .akh-show-m--0,
    .akh-hero .akh-hero__badges.akh-show-m--0,
    .akh-hero .akh-hero__actions.akh-show-m--0,
    .akh-hero .akh-hero__messenger-row.akh-show-m--0,
    .akh-hero .akh-btn.akh-show-m--0,
    .akh-hero .akh-msg-icon-btn.akh-show-m--0 {
        display: none !important;
    }

    .akh-hero .akh-mobile-primary-cta {
        display: block !important;
    }

    .akh-hero .akh-hero__badges.akh-show-m--1 {
        display: grid !important;
    }

    .akh-hero .akh-hero__actions.akh-show-m--1 {
        display: flex !important;
    }

    .akh-hero .akh-hero__messenger-row.akh-show-m--1 {
        display: flex !important;
    }

    .akh-hero .akh-btn.akh-show-m--1 {
        display: inline-flex !important;
    }

    .akh-hero .akh-msg-icon-btn.akh-show-m--1 {
        display: inline-flex !important;
    }

    /* 2) Mobile alignment settings. */
    .akh-hero .akh-align-m--left {
        justify-content: flex-start !important;
        justify-items: start !important;
        text-align: left !important;
    }

    .akh-hero .akh-align-m--center {
        justify-content: center !important;
        justify-items: center !important;
        text-align: center !important;
    }

    .akh-hero .akh-align-m--right {
        justify-content: flex-end !important;
        justify-items: end !important;
        text-align: right !important;
    }

    .akh-hero .akh-hero__actions.akh-align-m--left,
    .akh-hero .akh-hero__messenger-row.akh-align-m--left {
        justify-content: flex-start !important;
    }

    .akh-hero .akh-hero__actions.akh-align-m--center,
    .akh-hero .akh-hero__messenger-row.akh-align-m--center {
        justify-content: center !important;
    }

    .akh-hero .akh-hero__actions.akh-align-m--right,
    .akh-hero .akh-hero__messenger-row.akh-align-m--right {
        justify-content: flex-end !important;
    }

    /* 3) Mobile actions: phone/catalog settings must work.
          Old compact mode forcibly hid catalog; now admin controls it. */
    .akh-hero .akh-hero__actions {
        order: 20 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 12px !important;
    }

    .akh-hero .akh-hero__actions .akh-btn {
        width: auto !important;
        max-width: 100% !important;
        min-height: 52px !important;
        flex: 0 1 auto !important;
    }

    .akh-hero .akh-hero__actions .akh-btn--phone {
        min-width: min(100%, 260px) !important;
    }

    .akh-hero .akh-hero__actions .akh-btn--ghost {
        min-width: min(100%, 210px) !important;
    }

    .akh-hero .akh-hero__actions.akh-align-m--left .akh-btn,
    .akh-hero .akh-hero__actions.akh-align-m--center .akh-btn,
    .akh-hero .akh-hero__actions.akh-align-m--right .akh-btn {
        justify-self: auto !important;
    }

    /* 4) Mobile badges: every admin variable is mapped here.
          Applies to compact and standard mobile modes, not only compact. */
    .akh-hero .akh-hero__badges {
        order: 30 !important;
        width: 100% !important;
        margin-top: 14px !important;
        gap: var(--akh-badge-m-gap, 10px) !important;
        align-items: stretch !important;
        justify-items: stretch !important;
        --akh-badge-scale: 1;
        --akh-badge-font-scale: 1;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile-preset--compact {
        --akh-badge-scale: .86;
        --akh-badge-font-scale: .94;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile-preset--balanced {
        --akh-badge-scale: 1;
        --akh-badge-font-scale: 1;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile-preset--large {
        --akh-badge-scale: 1.12;
        --akh-badge-font-scale: 1.06;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile-full--1 {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile-full--0 {
        width: auto !important;
        max-width: 100% !important;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile--1 {
        grid-template-columns: 1fr !important;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .akh-hero .akh-hero__badges.akh-align-m--left {
        margin-left: 0 !important;
        margin-right: auto !important;
        justify-content: start !important;
        justify-items: stretch !important;
    }

    .akh-hero .akh-hero__badges.akh-align-m--center {
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
        justify-items: stretch !important;
    }

    .akh-hero .akh-hero__badges.akh-align-m--right {
        margin-left: auto !important;
        margin-right: 0 !important;
        justify-content: end !important;
        justify-items: stretch !important;
    }

    .akh-hero .akh-hero__badge {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: calc(var(--akh-badge-m-h, 104px) * var(--akh-badge-scale, 1)) !important;
        aspect-ratio: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: calc(var(--akh-badge-m-gap, 10px) * .72 * var(--akh-badge-scale, 1)) !important;
        padding: calc(var(--akh-badge-m-py, 12px) * var(--akh-badge-scale, 1)) var(--akh-badge-m-px, 10px) !important;
        text-align: center !important;
        border-radius: var(--akh-badge-m-radius, 18px) !important;
        overflow: hidden !important;
    }

    .akh-hero .akh-hero__badge::before,
    .akh-hero .akh-hero__badge::after {
        display: none !important;
    }

    .akh-hero .akh-hero__badge-icon {
        width: calc(var(--akh-badge-m-icon, 24px) * var(--akh-badge-scale, 1)) !important;
        height: calc(var(--akh-badge-m-icon, 24px) * var(--akh-badge-scale, 1)) !important;
        min-width: calc(var(--akh-badge-m-icon, 24px) * var(--akh-badge-scale, 1)) !important;
        min-height: calc(var(--akh-badge-m-icon, 24px) * var(--akh-badge-scale, 1)) !important;
        flex: 0 0 calc(var(--akh-badge-m-icon, 24px) * var(--akh-badge-scale, 1)) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        border-radius: max(7px, calc(var(--akh-badge-m-radius, 18px) * .48)) !important;
    }

    .akh-hero .akh-hero__badge-icon svg {
        width: calc(var(--akh-badge-m-svg, 13px) * var(--akh-badge-scale, 1)) !important;
        height: calc(var(--akh-badge-m-svg, 13px) * var(--akh-badge-scale, 1)) !important;
        display: block !important;
    }

    .akh-hero .akh-hero__badge b,
    .akh-hero .akh-hero__badge strong,
    .akh-hero .akh-hero__badge-title {
        display: -webkit-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
        color: #fff !important;
        font-size: calc(var(--akh-badge-m-font, 12.5px) * var(--akh-badge-font-scale, 1)) !important;
        line-height: 1.14 !important;
        font-weight: 820 !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis;
        overflow-wrap: anywhere;
        word-break: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: var(--akh-badge-m-lines, 3);
    }

    .akh-hero .akh-hero__badge small,
    .akh-hero .akh-hero__badge-text {
        display: none !important;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile-textonly--1 .akh-hero__badge-icon {
        display: none !important;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile-textonly--1 .akh-hero__badge {
        gap: 0 !important;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge {
        min-height: min(calc(var(--akh-badge-m-h, 72px) * var(--akh-badge-scale, 1)), 92px) !important;
        padding: min(calc(var(--akh-badge-m-py, 9px) * var(--akh-badge-scale, 1)), 12px) min(var(--akh-badge-m-px, 4px), 8px) !important;
        gap: min(calc(var(--akh-badge-m-gap, 7px) * .7 * var(--akh-badge-scale, 1)), 7px) !important;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-icon {
        width: min(calc(var(--akh-badge-m-icon, 18px) * var(--akh-badge-scale, 1)), 24px) !important;
        height: min(calc(var(--akh-badge-m-icon, 18px) * var(--akh-badge-scale, 1)), 24px) !important;
        min-width: min(calc(var(--akh-badge-m-icon, 18px) * var(--akh-badge-scale, 1)), 24px) !important;
        min-height: min(calc(var(--akh-badge-m-icon, 18px) * var(--akh-badge-scale, 1)), 24px) !important;
        flex-basis: min(calc(var(--akh-badge-m-icon, 18px) * var(--akh-badge-scale, 1)), 24px) !important;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-icon svg {
        width: min(calc(var(--akh-badge-m-svg, 11px) * var(--akh-badge-scale, 1)), 14px) !important;
        height: min(calc(var(--akh-badge-m-svg, 11px) * var(--akh-badge-scale, 1)), 14px) !important;
    }

    .akh-hero .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge b,
    .akh-hero .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge strong,
    .akh-hero .akh-hero__badges.akh-badges-mobile--4 .akh-hero__badge-title {
        font-size: min(calc(var(--akh-badge-m-font, 9.2px) * var(--akh-badge-font-scale, 1)), 10.5px) !important;
        line-height: 1.08 !important;
    }

    /* 5) Messenger mobile sizes: final override after every old hardcoded mobile size. */
    .akh-hero .akh-hero__messenger-row {
        order: 40 !important;
        margin-top: 14px !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        max-width: 100% !important;
    }

    .akh-hero .akh-msg-icon-btn,
    .akh-hero--mobile-compact .akh-msg-icon-btn,
    .akh-hero--mobile-standard .akh-msg-icon-btn {
        width: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        min-width: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        min-height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        max-width: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        max-height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        flex: 0 0 var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        flex-basis: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px)) !important;
        border-radius: var(--akh-msg-radius, 14px) !important;
    }

    .akh-hero .akh-msg-icon-btn__icon,
    .akh-hero--mobile-compact .akh-msg-icon-btn__icon,
    .akh-hero--mobile-standard .akh-msg-icon-btn__icon {
        width: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        min-width: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        min-height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        max-width: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        max-height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        flex: 0 0 var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
        flex-basis: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px))) !important;
    }

    .akh-hero .akh-msg-icon-btn__icon svg,
    .akh-hero .akh-msg-svg,
    .akh-hero .akh-msg-custom-icon {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
    }
}


/* v1.2.30 — background dim settings.
   The old fixed overlay was too dark. Now overlay strength is controlled from admin. */
.akh-hero .akh-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(13,18,27,var(--akh-bg-dim-left, .94)) 0%,
            rgba(13,18,27,var(--akh-bg-dim-mid, .78)) 45%,
            rgba(13,18,27,var(--akh-bg-dim-right, .42)) 100%
        ),
        linear-gradient(
            180deg,
            rgba(13,18,27,var(--akh-bg-dim-top, .18)) 0%,
            rgba(13,18,27,var(--akh-bg-dim-bottom, .72)) 100%
        ) !important;
}

@media (max-width: 767px) {
    .akh-hero .akh-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(13,18,27,var(--akh-bg-dim-left-mobile, var(--akh-bg-dim-left, .94))) 0%,
                rgba(13,18,27,var(--akh-bg-dim-mid-mobile, var(--akh-bg-dim-mid, .78))) 45%,
                rgba(13,18,27,var(--akh-bg-dim-right-mobile, var(--akh-bg-dim-right, .42))) 100%
            ),
            linear-gradient(
                180deg,
                rgba(13,18,27,var(--akh-bg-dim-top-mobile, var(--akh-bg-dim-top, .18))) 0%,
                rgba(13,18,27,var(--akh-bg-dim-bottom-mobile, var(--akh-bg-dim-bottom, .72))) 100%
            ) !important;
    }
}


/* v1.2.31 — mobile background controls.
   Allows separate mobile image, background-size, background-position and mobile hero height. */
@media (max-width: 767px) {
    .akh-hero {
        min-height: var(--akh-hero-min-h-mobile, 620px) !important;
    }

    .akh-hero::before {
        background-image: var(--akh-hero-bg-mobile, var(--akh-hero-bg)) !important;
        background-size: var(--akh-hero-bg-size-mobile, cover) !important;
        background-position: var(--akh-hero-bg-pos-mobile, center center) !important;
        background-repeat: no-repeat !important;
    }
}


/* v1.2.32 — real mobile background controls fix.
   The Hero background is applied to .akh-hero--has-bg itself, not to ::before.
   This final layer makes mobile image / size / position settings actually affect the visible background. */
@media (max-width: 767px) {
    .akh-hero.akh-hero--has-bg {
        min-height: var(--akh-hero-min-h-mobile, 620px) !important;
        background-image: var(--akh-hero-bg-mobile, var(--akh-hero-bg)) !important;
        background-size: var(--akh-hero-bg-size-mobile, cover) !important;
        background-position: var(--akh-hero-bg-pos-mobile, center center) !important;
        background-repeat: no-repeat !important;
    }

    .akh-hero.akh-hero--no-bg {
        min-height: var(--akh-hero-min-h-mobile, 620px) !important;
    }
}


/* v1.2.33 — mobile image frame mode.
   On mobile the image can be shown as a controlled frame instead of a cropped background. */
.akh-hero__mobile-frame {
    display: none;
}

@media (max-width: 767px) {
    .akh-hero.akh-hero--mobile-visual-frame,
    .akh-hero.akh-hero--mobile-visual-none {
        background-image: none !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame {
        background:
            radial-gradient(circle at 78% 4%, rgba(255,90,31,.24), transparent 32%),
            radial-gradient(circle at 18% 16%, rgba(255,255,255,.08), transparent 24%),
            linear-gradient(145deg, #121722 0%, #202632 52%, #11151d 100%) !important;
    }

    .akh-hero.akh-hero--mobile-visual-none {
        background:
            radial-gradient(circle at 82% 0%, rgba(255,90,31,.20), transparent 30%),
            linear-gradient(145deg, #121722 0%, #202632 55%, #11151d 100%) !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__overlay,
    .akh-hero.akh-hero--mobile-visual-none .akh-hero__overlay {
        background:
            linear-gradient(180deg, rgba(13,18,27,.18) 0%, rgba(13,18,27,.58) 100%) !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__mobile-frame {
        position: relative;
        display: block !important;
        width: 100%;
        height: var(--akh-mobile-frame-h, 230px);
        margin: 0 0 18px;
        border-radius: var(--akh-mobile-frame-radius, 24px);
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.16);
        background:
            radial-gradient(circle at 32% 18%, rgba(255,255,255,.14), transparent 34%),
            rgba(255,255,255,.06);
        box-shadow:
            0 22px 46px rgba(0,0,0,.28),
            0 0 0 1px rgba(255,90,31,.10);
        isolation: isolate;
    }

    .akh-hero.akh-hero--mobile-frame-glow-1 .akh-hero__mobile-frame::before {
        content: "";
        position: absolute;
        inset: -1px;
        z-index: 2;
        pointer-events: none;
        border-radius: inherit;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.10),
            inset 0 -42px 72px rgba(13,18,27,.34),
            inset 0 0 36px rgba(255,90,31,.12);
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__mobile-frame img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: var(--akh-mobile-frame-fit, cover);
        object-position: var(--akh-mobile-frame-pos, center center);
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__mobile-frame--after {
        margin: 16px 0 0;
    }

    .akh-hero.akh-hero--mobile-frame-after_title .akh-hero__subtitle {
        margin-bottom: 0;
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__eyebrow {
        margin-top: 0;
    }
}

@media (max-width: 390px) {
    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__mobile-frame {
        height: min(var(--akh-mobile-frame-h, 230px), 220px);
        margin-bottom: 16px;
    }
}


/* v1.2.34 — simple mobile top image.
   Mobile layout: image on top full available width, info pill below image, then title/text/actions. */
@media (max-width: 767px) {
    .akh-hero.akh-hero--mobile-visual-frame {
        background:
            radial-gradient(circle at 82% 0%, rgba(255,90,31,.18), transparent 30%),
            linear-gradient(145deg, #121722 0%, #202632 55%, #11151d 100%) !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__content {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__mobile-frame {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: var(--akh-mobile-frame-h, 250px) !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
        border-radius: var(--akh-mobile-frame-radius, 22px) !important;
        border: 1px solid rgba(255,255,255,.12) !important;
        background: rgba(255,255,255,.04) !important;
        box-shadow: 0 16px 34px rgba(0,0,0,.24) !important;
        overflow: hidden !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__mobile-frame::before {
        display: none !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__mobile-frame img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        object-fit: var(--akh-mobile-frame-fit, cover) !important;
        object-position: var(--akh-mobile-frame-pos, center center) !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__eyebrow {
        width: fit-content !important;
        max-width: 100% !important;
        margin: 0 0 11px !important;
        align-self: flex-start !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame.akh-align-m--center .akh-hero__eyebrow,
    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__content[style*="center"] .akh-hero__eyebrow {
        align-self: center !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__title {
        margin-top: 0 !important;
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__mobile-frame--after {
        margin: 12px 0 0 !important;
    }

    /* If user chooses "after title", keep it simple too. */
    .akh-hero.akh-hero--mobile-frame-after_title .akh-hero__mobile-frame {
        order: 18 !important;
    }
}

@media (max-width: 390px) {
    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__mobile-frame {
        height: min(var(--akh-mobile-frame-h, 250px), 235px) !important;
        border-radius: min(var(--akh-mobile-frame-radius, 22px), 22px) !important;
    }
}


/* v1.2.37 — desktop Hero popup form rebuild.
   Rebuilt from clean v1.2.35. The form markup stays valid; backdrop is outside the form card.
   Mobile layout is intentionally untouched. */
@media (min-width: 992px) {
    .akh-hero__inner {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    .akh-hero__content {
        max-width: 930px !important;
    }

    .akh-hero__actions {
        gap: 12px !important;
        align-items: stretch !important;
    }

    .akh-hero__actions .akh-btn {
        width: 218px !important;
        min-width: 218px !important;
        max-width: 218px !important;
        min-height: 56px !important;
        padding: 15px 18px !important;
        border-radius: 16px !important;
        font-size: 17px !important;
        line-height: 1.1 !important;
        font-weight: 850 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    .akh-btn--request-open {
        color: #fff !important;
        border-color: rgba(255,90,31,.64) !important;
        background:
            radial-gradient(circle at 28% 18%, rgba(255,255,255,.22), rgba(255,255,255,0) 34%),
            linear-gradient(135deg, var(--akh-orange), var(--akh-orange-2)) !important;
        box-shadow:
            0 14px 30px rgba(255,90,31,.24),
            0 0 26px rgba(255,90,31,.12) !important;
    }

    .akh-btn--request-open:hover {
        color: #fff !important;
        border-color: rgba(255,90,31,.84) !important;
        box-shadow:
            0 18px 38px rgba(255,90,31,.30),
            0 0 34px rgba(255,90,31,.18) !important;
    }

    .akh-hero__actions .akh-btn--phone {
        color: #fff !important;
        border-color: rgba(34,197,94,.66) !important;
        background:
            radial-gradient(circle at 28% 18%, rgba(255,255,255,.20), rgba(255,255,255,0) 34%),
            linear-gradient(135deg, #10a64a, #22c55e) !important;
        box-shadow:
            0 14px 30px rgba(34,197,94,.22),
            0 0 26px rgba(34,197,94,.10) !important;
    }

    .akh-hero__actions .akh-btn--phone:hover {
        color: #fff !important;
        border-color: rgba(34,197,94,.86) !important;
        background:
            radial-gradient(circle at 28% 18%, rgba(255,255,255,.24), rgba(255,255,255,0) 34%),
            linear-gradient(135deg, #0f9f45, #16b955) !important;
        box-shadow:
            0 18px 38px rgba(34,197,94,.28),
            0 0 34px rgba(34,197,94,.16) !important;
    }

    .akh-hero__actions .akh-btn--ghost {
        color: #fff !important;
        border-color: rgba(255,255,255,.24) !important;
        background: rgba(255,255,255,.11) !important;
        box-shadow: 0 14px 30px rgba(0,0,0,.12) !important;
    }

    .akh-hero__actions .akh-btn--ghost:hover {
        background: rgba(255,255,255,.18) !important;
        border-color: rgba(255,255,255,.34) !important;
    }

    .akh-hero__form-card {
        display: none !important;
    }

    .akh-hero__form-backdrop {
        display: none !important;
    }

    .akh-hero.is-form-popup-open .akh-hero__form-backdrop {
        position: fixed !important;
        inset: 0 !important;
        z-index: 2147482500 !important;
        display: block !important;
        width: 100vw !important;
        height: 100vh !important;
        border: 0 !important;
        padding: 0 !important;
        cursor: pointer !important;
        background: rgba(8,12,20,.62) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    .akh-hero.is-form-popup-open .akh-hero__form-card {
        position: fixed !important;
        z-index: 2147482600 !important;
        top: 50% !important;
        left: 50% !important;
        display: block !important;
        width: min(440px, calc(100vw - 36px)) !important;
        max-height: calc(100vh - 44px) !important;
        overflow: auto !important;
        transform: translate(-50%, -50%) !important;
        box-shadow:
            0 36px 90px rgba(0,0,0,.46),
            0 0 42px rgba(255,90,31,.14) !important;
        animation: akh-form-popup-in-v137 .18s ease both !important;
    }

    .akh-hero__form-close {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        z-index: 5 !important;
        width: 36px !important;
        height: 36px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 0 !important;
        border-radius: 12px !important;
        background: rgba(32,38,50,.08) !important;
        color: #202632 !important;
        font-size: 27px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        transition: background .18s ease, transform .18s ease !important;
    }

    .akh-hero__form-close:hover {
        background: rgba(255,90,31,.12) !important;
        transform: rotate(4deg) !important;
    }

    html.akh-hero-form-popup-lock,
    body.akh-hero-form-popup-lock {
        overflow: hidden !important;
    }

    @keyframes akh-form-popup-in-v137 {
        from {
            opacity: 0;
            transform: translate(-50%, -46%) scale(.96);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
    }
}

@media (max-width: 991px) {
    .akh-btn--request-open,
    .akh-hero__form-close,
    .akh-hero__form-backdrop {
        display: none !important;
    }
}


/* v1.2.43 — desktop buttons variant: SOLID CTA.
   Strong conversion style, deep colors, no toy-like glow.
   Popup logic from v1.2.37 is untouched. Mobile is untouched. */
@media (min-width: 992px) {
    .akh-hero__actions {
        gap: 12px !important;
        align-items: stretch !important;
    }

    .akh-hero__actions .akh-btn {
        width: 222px !important;
        min-width: 222px !important;
        max-width: 222px !important;
        min-height: 58px !important;
        padding: 16px 18px !important;
        border-radius: 14px !important;
        overflow: hidden !important;

        color: #fff !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        box-shadow:
            0 16px 34px rgba(0,0,0,.22),
            inset 0 1px 0 rgba(255,255,255,.13) !important;

        font-size: 17px !important;
        line-height: 1.05 !important;
        font-weight: 820 !important;
        letter-spacing: .005em !important;
        text-align: center !important;
        white-space: nowrap !important;
        text-shadow: 0 1px 1px rgba(0,0,0,.22) !important;
    }

    .akh-btn--request-open {
        border-color: rgba(198,75,28,.62) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 42%),
            #b94119 !important;
    }

    .akh-hero__actions .akh-btn--phone {
        border-color: rgba(29,128,66,.62) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 42%),
            #176c39 !important;
    }

    .akh-hero__actions .akh-btn--ghost {
        border-color: rgba(255,255,255,.18) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035) 42%),
            #171d27 !important;
    }

    .akh-hero__actions .akh-btn:hover {
        color: #fff !important;
        transform: translateY(-2px) !important;
        box-shadow:
            0 20px 42px rgba(0,0,0,.28),
            inset 0 1px 0 rgba(255,255,255,.16) !important;
        filter: brightness(1.06) !important;
    }

    .akh-btn--request-open:hover {
        border-color: rgba(231,91,34,.72) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 42%),
            #c94b1d !important;
    }

    .akh-hero__actions .akh-btn--phone:hover {
        border-color: rgba(39,166,84,.72) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 42%),
            #1b7b42 !important;
    }

    .akh-hero__actions .akh-btn--ghost:hover {
        border-color: rgba(255,255,255,.30) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.045) 42%),
            #1d2430 !important;
    }
}


/* v1.2.44 — desktop buttons: Solid CTA, tighter typography.
   Based on v1.2.43. Popup logic is untouched. Mobile is untouched.
   Changes: bigger uniform text, no decorative symbols, less empty space inside buttons. */
@media (min-width: 992px) {
    .akh-hero__actions {
        gap: 10px !important;
        align-items: stretch !important;
    }

    .akh-hero__actions .akh-btn {
        width: 208px !important;
        min-width: 208px !important;
        max-width: 208px !important;
        min-height: 52px !important;
        padding: 13px 14px !important;
        border-radius: 14px !important;

        font-size: 18px !important;
        line-height: 1 !important;
        font-weight: 850 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        text-transform: none !important;
        white-space: nowrap !important;
        text-shadow: 0 1px 1px rgba(0,0,0,.22) !important;
    }

    .akh-hero__actions .akh-btn::before,
    .akh-hero__actions .akh-btn::after,
    .akh-btn--request-open::before,
    .akh-btn--request-open::after,
    .akh-hero__actions .akh-btn--phone::before,
    .akh-hero__actions .akh-btn--phone::after,
    .akh-hero__actions .akh-btn--ghost::before,
    .akh-hero__actions .akh-btn--ghost::after {
        content: none !important;
        display: none !important;
    }

    .akh-btn--request-open {
        color: #fff !important;
        border-color: rgba(198,75,28,.62) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 42%),
            #b94119 !important;
        box-shadow:
            0 15px 30px rgba(0,0,0,.21),
            inset 0 1px 0 rgba(255,255,255,.13) !important;
    }

    .akh-hero__actions .akh-btn--phone {
        color: #fff !important;
        border-color: rgba(29,128,66,.62) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 42%),
            #176c39 !important;
        box-shadow:
            0 15px 30px rgba(0,0,0,.21),
            inset 0 1px 0 rgba(255,255,255,.13) !important;
    }

    .akh-hero__actions .akh-btn--ghost {
        color: #fff !important;
        border-color: rgba(255,255,255,.18) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035) 42%),
            #171d27 !important;
        box-shadow:
            0 15px 30px rgba(0,0,0,.18),
            inset 0 1px 0 rgba(255,255,255,.12) !important;
    }

    .akh-hero__actions .akh-btn:hover {
        color: #fff !important;
        transform: translateY(-2px) !important;
        filter: brightness(1.055) !important;
        box-shadow:
            0 19px 38px rgba(0,0,0,.27),
            inset 0 1px 0 rgba(255,255,255,.16) !important;
    }

    .akh-btn--request-open:hover {
        border-color: rgba(231,91,34,.72) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 42%),
            #c94b1d !important;
    }

    .akh-hero__actions .akh-btn--phone:hover {
        border-color: rgba(39,166,84,.72) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 42%),
            #1b7b42 !important;
    }

    .akh-hero__actions .akh-btn--ghost:hover {
        border-color: rgba(255,255,255,.30) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.045) 42%),
            #1d2430 !important;
    }
}


/* v1.2.45 — desktop button text centering + popup scroll/top fix.
   Based on v1.2.44. Popup logic is untouched. Mobile is untouched. */
@media (min-width: 992px) {
    /* Buttons: equal typography and optical centering.
       Phone icon from the phone button markup no longer creates a large visual gap before +7. */
    .akh-hero__actions .akh-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        column-gap: 0 !important;
        text-align: center !important;
        vertical-align: middle !important;
    }

    .akh-hero__actions .akh-btn svg,
    .akh-hero__actions .akh-btn .akh-btn__icon,
    .akh-hero__actions .akh-btn .akh-btn-icon {
        margin-right: 0 !important;
    }

    .akh-hero__actions .akh-btn--phone {
        letter-spacing: -0.01em !important;
        font-variant-numeric: tabular-nums;
    }

    /* Desktop popup: stay above Helix/SP Page Builder/header and scroll on short screens. */
    .akh-hero.is-form-popup-open .akh-hero__form-backdrop {
        z-index: 2147483645 !important;
    }

    .akh-hero.is-form-popup-open .akh-hero__form-card {
        z-index: 2147483646 !important;
        top: 18px !important;
        left: 50% !important;
        bottom: auto !important;
        width: min(440px, calc(100vw - 36px)) !important;
        max-height: calc(100dvh - 36px) !important;
        max-height: calc(100vh - 36px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transform: translateX(-50%) !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-gutter: stable;
        animation: akh-form-popup-in-v145 .16s ease both !important;
    }

    .akh-hero__form-close {
        position: sticky !important;
        top: 0 !important;
        float: right !important;
        margin: -2px -2px 0 8px !important;
        z-index: 10 !important;
    }

    @keyframes akh-form-popup-in-v145 {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(-8px) scale(.98);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0) scale(1);
        }
    }
}

@media (min-width: 992px) and (max-height: 760px) {
    .akh-hero.is-form-popup-open .akh-hero__form-card {
        top: 10px !important;
        max-height: calc(100dvh - 20px) !important;
        max-height: calc(100vh - 20px) !important;
    }
}


/* v1.2.46 — desktop popup portal to body.
   The form/backdrop are moved to body on open, so popup appears above Helix/header/menu, not inside Hero. */
@media (min-width: 992px) {
    body > .akh-hero__form-backdrop {
        display: none !important;
    }

    body > .akh-hero__form-backdrop.is-open {
        position: fixed !important;
        inset: 0 !important;
        z-index: 2147483645 !important;
        display: block !important;
        width: 100vw !important;
        height: 100vh !important;
        border: 0 !important;
        padding: 0 !important;
        cursor: pointer !important;
        background: rgba(8,12,20,.66) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    body > .akh-hero__form-card {
        display: none !important;
    }

    body > .akh-hero__form-card.is-open {
        position: fixed !important;
        z-index: 2147483646 !important;
        top: 10px !important;
        left: 50% !important;
        bottom: auto !important;
        display: block !important;
        width: min(440px, calc(100vw - 36px)) !important;
        max-height: calc(100dvh - 20px) !important;
        max-height: calc(100vh - 20px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transform: translateX(-50%) !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-gutter: stable;
        box-shadow:
            0 36px 90px rgba(0,0,0,.50),
            0 0 42px rgba(255,90,31,.14) !important;
        animation: akh-form-popup-in-v146 .16s ease both !important;
    }

    body > .akh-hero__form-card.is-open .akh-hero__form-close {
        position: sticky !important;
        top: 0 !important;
        float: right !important;
        margin: -2px -2px 0 8px !important;
        z-index: 20 !important;
        width: 36px !important;
        height: 36px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 0 !important;
        border-radius: 12px !important;
        background: rgba(32,38,50,.08) !important;
        color: #202632 !important;
        font-size: 27px !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }

    html.akh-hero-form-popup-lock,
    body.akh-hero-form-popup-lock {
        overflow: hidden !important;
    }

    @keyframes akh-form-popup-in-v146 {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(-8px) scale(.98);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0) scale(1);
        }
    }
}

@media (min-width: 992px) and (max-height: 760px) {
    body > .akh-hero__form-card.is-open {
        top: 6px !important;
        max-height: calc(100dvh - 12px) !important;
        max-height: calc(100vh - 12px) !important;
    }
}


/* v1.2.47 — restore Hero form brand style after popup is portaled to body.
   Root cause: when the form is moved to body, selectors like .akh-hero .akh-hero__form-card no longer match.
   This block recreates the branded form look for body > .akh-hero__form-card.is-open. */
@media (min-width: 992px) {
    body > .akh-hero__form-card.is-open {
        box-sizing: border-box !important;
        padding: 34px 24px 24px !important;
        border-radius: 26px !important;
        border: 1px solid rgba(255,255,255,.72) !important;
        border-left: 5px solid var(--akh-orange, #ff5a1f) !important;
        background:
            radial-gradient(circle at 18% 0%, rgba(255,90,31,.13), transparent 31%),
            linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)) !important;
        color: #202632 !important;
        font-family: inherit !important;
    }

    body > .akh-hero__form-card.is-open .akh-hero__form-kicker,
    body > .akh-hero__form-card.is-open .akh-form-kicker,
    body > .akh-hero__form-card.is-open .akh-hero__form-badge {
        color: #c9431b !important;
        background: rgba(255,90,31,.10) !important;
        border-color: rgba(255,90,31,.16) !important;
    }

    body > .akh-hero__form-card.is-open h2,
    body > .akh-hero__form-card.is-open h3,
    body > .akh-hero__form-card.is-open .akh-hero__form-title {
        color: #202632 !important;
        font-weight: 900 !important;
        letter-spacing: -0.035em !important;
    }

    body > .akh-hero__form-card.is-open p,
    body > .akh-hero__form-card.is-open .akh-hero__form-subtitle,
    body > .akh-hero__form-card.is-open .akh-form-help,
    body > .akh-hero__form-card.is-open .akh-field-help {
        color: #687386 !important;
    }

    body > .akh-hero__form-card.is-open label,
    body > .akh-hero__form-card.is-open .akh-field-label {
        color: #344052 !important;
        font-weight: 800 !important;
    }

    body > .akh-hero__form-card.is-open input[type="text"],
    body > .akh-hero__form-card.is-open input[type="tel"],
    body > .akh-hero__form-card.is-open input[type="email"],
    body > .akh-hero__form-card.is-open textarea,
    body > .akh-hero__form-card.is-open select {
        color: #202632 !important;
        background: rgba(255,255,255,.94) !important;
        border: 1px solid rgba(32,38,50,.16) !important;
        border-radius: 10px !important;
        box-shadow: inset 0 1px 0 rgba(0,0,0,.025) !important;
    }

    body > .akh-hero__form-card.is-open input:focus,
    body > .akh-hero__form-card.is-open textarea:focus,
    body > .akh-hero__form-card.is-open select:focus {
        outline: none !important;
        border-color: rgba(255,90,31,.55) !important;
        box-shadow:
            0 0 0 3px rgba(255,90,31,.10),
            inset 0 1px 0 rgba(0,0,0,.025) !important;
    }

    body > .akh-hero__form-card.is-open .akh-mode-switch,
    body > .akh-hero__form-card.is-open .akh-voice-toggle,
    body > .akh-hero__form-card.is-open .akh-tabs,
    body > .akh-hero__form-card.is-open .akh-form-tabs {
        background: rgba(32,38,50,.045) !important;
        border-radius: 14px !important;
    }

    body > .akh-hero__form-card.is-open .akh-mode-switch button,
    body > .akh-hero__form-card.is-open .akh-voice-toggle button,
    body > .akh-hero__form-card.is-open .akh-tabs button,
    body > .akh-hero__form-card.is-open .akh-form-tabs button {
        color: #667287 !important;
        border-radius: 12px !important;
    }

    body > .akh-hero__form-card.is-open .akh-mode-switch button.is-active,
    body > .akh-hero__form-card.is-open .akh-voice-toggle button.is-active,
    body > .akh-hero__form-card.is-open .akh-tabs button.is-active,
    body > .akh-hero__form-card.is-open .akh-form-tabs button.is-active,
    body > .akh-hero__form-card.is-open button[aria-selected="true"] {
        color: #fff !important;
        background: #202632 !important;
        box-shadow: 0 10px 22px rgba(32,38,50,.16) !important;
    }

    body > .akh-hero__form-card.is-open .akh-upload-box,
    body > .akh-hero__form-card.is-open .akh-file-box,
    body > .akh-hero__form-card.is-open .akh-photo-box {
        border-color: rgba(255,90,31,.24) !important;
        background: rgba(255,90,31,.055) !important;
        color: #202632 !important;
    }

    body > .akh-hero__form-card.is-open .akh-upload-box svg,
    body > .akh-hero__form-card.is-open .akh-file-box svg,
    body > .akh-hero__form-card.is-open .akh-photo-box svg {
        color: var(--akh-orange, #ff5a1f) !important;
    }

    body > .akh-hero__form-card.is-open .akh-privacy,
    body > .akh-hero__form-card.is-open .akh-consent,
    body > .akh-hero__form-card.is-open .akh-checkbox {
        color: #687386 !important;
    }

    body > .akh-hero__form-card.is-open a {
        color: #c9431b !important;
    }

    body > .akh-hero__form-card.is-open .akh-submit,
    body > .akh-hero__form-card.is-open button[type="submit"] {
        color: #fff !important;
        border: 0 !important;
        border-radius: 14px !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 42%),
            linear-gradient(135deg, var(--akh-orange, #ff5a1f), var(--akh-orange-2, #ff7a1a)) !important;
        box-shadow:
            0 16px 34px rgba(255,90,31,.20),
            inset 0 1px 0 rgba(255,255,255,.18) !important;
        font-weight: 850 !important;
    }

    body > .akh-hero__form-card.is-open .akh-submit:hover,
    body > .akh-hero__form-card.is-open button[type="submit"]:hover {
        filter: brightness(1.035) !important;
        box-shadow:
            0 20px 42px rgba(255,90,31,.25),
            inset 0 1px 0 rgba(255,255,255,.20) !important;
    }

    body > .akh-hero__form-card.is-open .akh-message,
    body > .akh-hero__form-card.is-open .akh-form-message {
        border-radius: 12px !important;
    }

    body > .akh-hero__form-card.is-open .akh-hero__form-close {
        background: rgba(32,38,50,.08) !important;
        color: #202632 !important;
        box-shadow: 0 8px 18px rgba(32,38,50,.08) !important;
    }

    body > .akh-hero__form-card.is-open .akh-hero__form-close:hover {
        background: rgba(255,90,31,.12) !important;
        color: #c9431b !important;
    }
}


/* v1.2.53 — CLEAN ACTIONS REWRITE.
   No layered mobile action patches.
   Desktop actions and mobile actions are separate blocks.

   Desktop order:
   1) Оставить заявку
   2) Телефон
   3) Каталог

   Mobile order:
   1) Телефон
   2) Каталог
   3) Рассчитать стоимость
*/

/* Base state */
.akh-hero .akh-hero__mobile-actions {
    display: none !important;
}

/* Desktop / tablet */
@media (min-width: 768px) {
    .akh-hero .akh-hero__actions--desktop {
        display: flex !important;
    }

    .akh-hero .akh-hero__mobile-actions {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    /* Hide the whole old/original desktop action row on mobile, regardless of admin visibility settings. */
    .akh-hero .akh-hero__content > .akh-hero__actions,
    .akh-hero .akh-hero__actions--desktop {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    /* Remove legacy mobile buttons/bars from old versions/settings. */
    .akh-hero .akh-mobile-primary-cta,
    .akh-hero .akh-mobile-primary-cta__btn,
    .akh-hero .akh-mobile-contact-bar,
    .akh-hero .akh-mobile-contact-bar *,
    .akh-hero .akh-mobile-contact-panel,
    .akh-hero .akh-mobile-contact-panel *,
    .akh-hero a.akh-mobile-primary-cta__btn,
    .akh-hero a[href$="-form-card"],
    .akh-hero a[href*="#"][class*="primary-cta"] {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    .akh-hero .akh-hero__mobile-actions {
        width: 100% !important;
        margin: 18px 0 0 !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        align-items: stretch !important;
        justify-content: stretch !important;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 52px !important;
        padding: 13px 14px !important;
        border-radius: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        color: #fff !important;
        font-size: 18px !important;
        line-height: 1 !important;
        font-weight: 850 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        text-transform: none !important;
        white-space: nowrap !important;
        text-shadow: 0 1px 1px rgba(0,0,0,.22) !important;
        box-shadow:
            0 15px 30px rgba(0,0,0,.21),
            inset 0 1px 0 rgba(255,255,255,.13) !important;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn::before,
    .akh-hero .akh-hero__mobile-actions .akh-btn::after {
        content: none !important;
        display: none !important;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn svg,
    .akh-hero .akh-hero__mobile-actions .akh-btn__phone-icon {
        margin-right: 0 !important;
    }

    /* 1. Phone — green */
    .akh-hero .akh-hero__mobile-actions .akh-mobile-action-phone {
        order: 1 !important;
        border: 1px solid rgba(29,128,66,.62) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 42%),
            #176c39 !important;
    }

    /* 2. Catalog — graphite */
    .akh-hero .akh-hero__mobile-actions .akh-mobile-action-catalog {
        order: 2 !important;
        border: 1px solid rgba(255,255,255,.18) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035) 42%),
            #171d27 !important;
    }

    /* 3. Calculate — orange */
    .akh-hero .akh-hero__mobile-actions .akh-btn--mobile-calc {
        order: 3 !important;
        border: 1px solid rgba(198,75,28,.62) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 42%),
            #b94119 !important;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn:hover,
    .akh-hero .akh-hero__mobile-actions .akh-btn:focus-visible {
        filter: brightness(1.055) !important;
        transform: translateY(-1px) !important;
    }

    /* Mobile form is collapsed until the orange button is pressed. */
    .akh-hero .akh-hero__form-card {
        display: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 14px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .akh-hero.is-mobile-form-open .akh-hero__form-card {
        display: block !important;
        animation: akh-mobile-form-reveal-v153 .18s ease both;
    }

    .akh-hero.is-mobile-form-open .akh-btn--mobile-calc {
        border-color: rgba(231,91,34,.72) !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 42%),
            #c94b1d !important;
    }

    @keyframes akh-mobile-form-reveal-v153 {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


/* v1.2.54 — mobile buttons equal compact width.
   Keeps the clean v1.2.53 structure: phone → catalog → calculate.
   Buttons are equal, centered, and no longer stretched edge-to-edge. */
@media (max-width: 767px) {
    .akh-hero .akh-hero__mobile-actions {
        width: min(calc(100% - 42px), 420px) !important;
        max-width: 420px !important;
        margin: 18px auto 0 !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        justify-items: stretch !important;
        align-items: stretch !important;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        padding: 0 16px !important;
        border-radius: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        font-size: 18px !important;
        line-height: 1 !important;
        font-weight: 850 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 380px) {
    .akh-hero .akh-hero__mobile-actions {
        width: min(calc(100% - 28px), 360px) !important;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn {
        font-size: 17px !important;
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
    }
}


/* v1.2.55 — mobile buttons slightly more compact.
   Based on v1.2.54. Keeps equal size and centered layout, but makes buttons a bit narrower/lower. */
@media (max-width: 767px) {
    .akh-hero .akh-hero__mobile-actions {
        width: min(calc(100% - 70px), 360px) !important;
        max-width: 360px !important;
        margin: 18px auto 0 !important;
        gap: 9px !important;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn {
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
        padding: 0 14px !important;
        font-size: 17.5px !important;
        border-radius: 14px !important;
    }
}

@media (max-width: 380px) {
    .akh-hero .akh-hero__mobile-actions {
        width: min(calc(100% - 50px), 340px) !important;
        max-width: 340px !important;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        font-size: 17px !important;
    }
}


/* v1.2.56 — desktop animated car Hero scene.
   Desktop-only interactive image set:
   - idle: base
   - hover lights zone: headlights + rear lights + red wall glow
   - hover hood zone: open hood + lights
   Mobile is intentionally untouched. */
.akh-hero .akh-hero__car-scene {
    display: none;
}

@media (min-width: 992px) {
    .akh-hero {
        position: relative;
        overflow: hidden;
        isolation: isolate;
    }

    .akh-hero .akh-hero__car-scene {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: block;
        overflow: hidden;
        pointer-events: auto;
        background: #070a10;
    }

    .akh-hero .akh-hero__car-frame {
        position: absolute;
        inset: 0;
        display: block;
        opacity: 0;
        transition:
            opacity .34s ease,
            transform .7s ease;
        transform: scale(1.005);
        will-change: opacity, transform;
    }

    .akh-hero .akh-hero__car-frame img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center center;
        user-select: none;
        -webkit-user-drag: none;
        pointer-events: none;
    }

    .akh-hero .akh-hero__car-frame--base {
        opacity: 1;
    }

    .akh-hero.is-car-lights .akh-hero__car-frame--base,
    .akh-hero.is-car-hood .akh-hero__car-frame--base {
        opacity: 0;
    }

    .akh-hero.is-car-lights .akh-hero__car-frame--lights {
        opacity: 1;
    }

    .akh-hero.is-car-hood .akh-hero__car-frame--hood-open {
        opacity: 1;
    }

    .akh-hero.is-car-hood.is-car-hood-half .akh-hero__car-frame--hood-open {
        opacity: 0;
    }

    .akh-hero.is-car-hood.is-car-hood-half .akh-hero__car-frame--hood-half {
        opacity: 1;
    }

    .akh-hero > *:not(.akh-hero__car-scene) {
        position: relative;
        z-index: 2;
    }

    .akh-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background:
            linear-gradient(90deg, rgba(4,8,14,.86) 0%, rgba(4,8,14,.58) 43%, rgba(4,8,14,.70) 100%),
            linear-gradient(180deg, rgba(4,8,14,.52) 0%, rgba(4,8,14,.20) 42%, rgba(4,8,14,.78) 100%);
    }

    .akh-hero .akh-hero__car-hotspot {
        position: absolute;
        z-index: 3;
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        cursor: pointer;
        opacity: 0;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .akh-hero .akh-hero__car-hotspot--lights {
        left: 5%;
        top: 42%;
        width: 56%;
        height: 28%;
    }

    .akh-hero .akh-hero__car-hotspot--hood {
        left: 7%;
        top: 30%;
        width: 54%;
        height: 28%;
    }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
    .akh-hero .akh-hero__car-frame {
        transition: none !important;
        transform: none !important;
    }
}

@media (max-width: 991px) {
    .akh-hero .akh-hero__car-scene {
        display: none !important;
    }
}


/* v1.2.58 — front fix: car animation scene is now placed directly under root .akh-hero. */
@media (min-width: 992px) {
    .akh-hero > .akh-hero__car-scene {
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;
        display: block !important;
    }

    .akh-hero .akh-hero-form .akh-hero__car-scene,
    .akh-hero .akh-hero-form__row .akh-hero__car-scene,
    .akh-hero .akh-hero__form-card .akh-hero__car-scene {
        display: none !important;
    }
}


/* v1.2.59 — dimming + hover fix.
   Animation hover now works by mouse coordinates on .akh-hero, not by hidden hotspot buttons.
   The scene no longer captures clicks, and dark overlay uses CSS variables so dimming can work again. */
@media (min-width: 992px) {
    .akh-hero .akh-hero__car-scene {
        pointer-events: none !important;
    }

    .akh-hero .akh-hero__car-hotspot {
        display: none !important;
        pointer-events: none !important;
    }

    .akh-hero::after {
        background:
            linear-gradient(90deg,
                rgba(4,8,14,var(--akh-hero-dim-left, .86)) 0%,
                rgba(4,8,14,var(--akh-hero-dim-center, .58)) 43%,
                rgba(4,8,14,var(--akh-hero-dim-right, .70)) 100%),
            linear-gradient(180deg,
                rgba(4,8,14,var(--akh-hero-dim-top, .52)) 0%,
                rgba(4,8,14,var(--akh-hero-dim-mid, .20)) 42%,
                rgba(4,8,14,var(--akh-hero-dim-bottom, .78)) 100%) !important;
    }

    /* If older module settings write CSS variables with common names, map them here gently. */
    .akh-hero[style*="--akh-bg-overlay"]::after,
    .akh-hero[style*="--akh-image-overlay"]::after,
    .akh-hero[style*="--akh-hero-overlay"]::after {
        opacity: 1 !important;
    }
}


/* v1.2.62 — CLEAN DIM REWRITE.
   One source of truth for desktop darkening:
   admin field `background_dim_desktop` ("Фон: затемнение desktop, %").
   Template converts it to old working variables:
   --akh-bg-dim-left / --akh-bg-dim-mid / --akh-bg-dim-right / --akh-bg-dim-top / --akh-bg-dim-bottom.
   This final block intentionally overrides all older overlay experiments.
*/
@media (min-width: 992px) {
    .akh-hero {
        position: relative !important;
        isolation: isolate !important;
    }

    .akh-hero::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        pointer-events: none !important;
        opacity: 1 !important;
        background:
            linear-gradient(90deg,
                rgba(4,8,14,var(--akh-bg-dim-left, .84)) 0%,
                rgba(4,8,14,var(--akh-bg-dim-mid, .58)) 44%,
                rgba(4,8,14,var(--akh-bg-dim-right, .70)) 100%),
            linear-gradient(180deg,
                rgba(4,8,14,var(--akh-bg-dim-top, .58)) 0%,
                rgba(4,8,14,0) 44%,
                rgba(4,8,14,var(--akh-bg-dim-bottom, .76)) 100%) !important;
    }

    .akh-hero > *:not(.akh-hero__car-scene) {
        position: relative !important;
        z-index: 2 !important;
    }

    .akh-hero > .akh-hero__car-scene {
        z-index: 0 !important;
    }
}


/* v1.2.65 — desktop Hero image contain fix.
   The animated car images must never be cropped vertically/horizontally.
   `contain` keeps the full generated frame visible on all desktop widths.
*/
@media (min-width: 992px) {
    .akh-hero > .akh-hero__car-scene {
        background: #070a10 !important;
    }

    .akh-hero > .akh-hero__car-scene .akh-hero__car-frame,
    .akh-hero > .akh-hero__car-scene .akh-hero__car-frame img {
        width: 100% !important;
        height: 100% !important;
    }

    .akh-hero > .akh-hero__car-scene .akh-hero__car-frame img {
        object-fit: contain !important;
        object-position: center center !important;
        background: #070a10 !important;
    }
}


/* v1.2.67 FIX2 — messenger admin cleanup: gap variables and automatic icon fit. */
.akh-hero .akh-hero__messenger-row {
    gap: var(--akh-messenger-gap-desktop, 10px) !important;
}

.akh-hero .akh-msg-custom-icon {
    object-fit: contain !important;
}

@media (max-width: 991px) {
    .akh-hero .akh-hero__messenger-row {
        gap: var(--akh-messenger-gap-mobile, 8px) !important;
    }
}


/* v1.2.67 FIX3 — mobile Hero height modes and horizontal overflow guard. */
@media (max-width: 767.98px) {
    .akh-hero,
    .akh-hero * {
        box-sizing: border-box;
    }

    .akh-hero {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    @supports (overflow-x: clip) {
        .akh-hero {
            overflow-x: clip !important;
        }
    }

    .akh-hero img,
    .akh-hero picture,
    .akh-hero video {
        max-width: 100% !important;
    }

    .akh-hero__inner,
    .akh-hero__content,
    .akh-hero__form-card,
    .akh-hero__actions,
    .akh-hero__mobile-actions,
    .akh-hero__messenger-row,
    .akh-hero__badges {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .akh-hero__mobile-frame,
    .akh-hero__mobile-frame img {
        max-width: 100% !important;
    }

    .akh-hero.akh-hero--mobile-height-auto {
        min-height: 0 !important;
    }

    .akh-hero.akh-hero--mobile-height-auto .akh-hero__inner {
        min-height: 0 !important;
    }

    .akh-hero.akh-hero--mobile-height-min_height {
        min-height: var(--akh-hero-min-h-mobile, 620px) !important;
    }

    .akh-hero.akh-hero--mobile-height-screen {
        min-height: 100vh !important;
        min-height: 100svh !important;
    }
}


/* v1.2.67 FIX10 — CTA settings chain restore. */
@media (max-width: 767px) {
    .akh-hero .akh-hero__mobile-actions.akh-align-m--left {
        justify-items: start !important;
        text-align: left !important;
    }

    .akh-hero .akh-hero__mobile-actions.akh-align-m--center {
        justify-items: center !important;
        text-align: center !important;
    }

    .akh-hero .akh-hero__mobile-actions.akh-align-m--right {
        justify-items: end !important;
        text-align: right !important;
    }

    .akh-hero .akh-hero__mobile-actions.akh-align-m--left .akh-btn,
    .akh-hero .akh-hero__mobile-actions.akh-align-m--center .akh-btn,
    .akh-hero .akh-hero__mobile-actions.akh-align-m--right .akh-btn {
        width: auto !important;
        min-width: min(100%, 260px) !important;
        max-width: 100% !important;
    }
}


/* v1.2.67.3 FIX13 — optional Hero location and automatic route panel. */
.akh-hero-location-panel {
    width: min(100%, 720px);
    margin: 18px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    background: rgba(18,22,30,.38);
    color: #fff;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-shadow: 0 1px 2px rgba(0,0,0,.34);
}

.akh-hero-location-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.akh-hero-location-title {
    color: #fff;
    font-size: 18px;
    line-height: 1.32;
    font-weight: 900;
}

.akh-hero-location-line {
    color: rgba(255,255,255,.72);
    font-size: 15.5px;
    line-height: 1.45;
}

.akh-hero-location-line--note {
    color: rgba(255,255,255,.64);
}

.akh-hero-location-route {
    flex: 0 0 auto;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 17px;
    border: 1px solid rgba(255,90,31,.62);
    border-radius: 14px;
    background: linear-gradient(135deg, #ff5a1f, #ff7a1a);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(255,90,31,.18);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.akh-hero-location-route:hover,
.akh-hero-location-route:focus-visible {
    color: #fff;
    border-color: rgba(255,90,31,.78);
    box-shadow: 0 16px 32px rgba(255,90,31,.24);
    filter: saturate(1.03);
    transform: translateY(-1px);
    outline: none;
}

.akh-hero-route-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483400;
    display: none;
    align-items: flex-end;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: 18px 14px max(18px, env(safe-area-inset-bottom));
    overflow: hidden;
    box-sizing: border-box;
}

.akh-hero-route-modal.is-open {
    display: flex;
}

.akh-hero-route-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(8,10,14,.74);
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.akh-hero-route-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 420px);
    max-height: min(78vh, 620px);
    max-height: min(78dvh, 620px);
    padding: 42px 22px 24px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 24px;
    background: #fff;
    color: #202632;
    box-shadow: 0 24px 80px rgba(0,0,0,.42);
    overflow: auto;
    box-sizing: border-box;
}

.akh-hero-route-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,82,32,.22);
    border-radius: 999px;
    background: #fff4ef;
    color: #c53a16;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(197,58,22,.18);
    appearance: none;
    -webkit-appearance: none;
}

.akh-hero-route-title {
    margin: 0 46px 8px 0;
    color: #1f2634;
    font-size: 22px;
    line-height: 1.16;
    font-weight: 900;
}

.akh-hero-route-actions {
    display: grid;
    gap: 12px;
}

.akh-hero-route-actions a {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border: 1px solid rgba(255,82,32,.28);
    border-radius: 18px;
    background: #fff7f2;
    color: #c43a17;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.akh-hero-route-actions a:hover,
.akh-hero-route-actions a:focus-visible {
    border-color: rgba(255,82,32,.40);
    background: #fff0e8;
    color: #a92f12;
    outline: none;
}

html.akh-hero-route-open,
body.akh-hero-route-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .akh-hero-route-modal.is-open {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .akh-hero-location-panel {
        width: min(calc(100% - 28px), 420px);
        margin: 14px auto 0;
        display: grid;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
    }

    .akh-hero-location-title {
        font-size: 15.5px;
    }

    .akh-hero-location-line {
        font-size: 13.75px;
        line-height: 1.38;
    }

    .akh-hero-location-route {
        width: 100%;
        min-height: 46px;
        padding: 11px 14px;
        box-shadow: none;
        white-space: normal;
        text-align: center;
    }
}
