/* 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: var(--akh-hero-min-h-desktop, 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: var(--akh-hero-bg-pos-desktop, center 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;
    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; }
.akh-btn--phone { color: #202632; 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; 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; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); }
.akh-btn--ghost:hover { color: #fff; background: rgba(255,255,255,.18); }
.akh-btn--request { width: 100%; color: #fff; background: linear-gradient(135deg, var(--akh-orange), #f04416); box-shadow: 0 16px 38px rgba(255,90,31,.32); }
.akh-btn--request:hover { color: #fff; 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; }
.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;
  left: -99999px;
  top: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.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;
  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;
}
.akh-success-popup__close {
  background: #fff;
  color: #067647;
}
.akh-success-popup__call {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.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;
    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;
    min-height: 0;
    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;
    display: none;
}
.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;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 12px;
    margin: 0 0 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: none;
}
.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);
    border-color: rgba(255,90,31,.38);
    box-shadow: 0 0 18px rgba(255,90,31,.12);
}
@media (max-width: 640px) {
    .akh-hero__badges {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
        max-width: 100%;
        margin-top: 18px;
    }
    .akh-hero__badge {
        width: 98px;
        height: 98px;
        flex: 0 0 98px;
        aspect-ratio: auto;
        padding: 9px;
        border-radius: 15px;
    }
    .akh-hero__badge-icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        border-radius: 10px;
        margin-bottom: 6px;
    }
    .akh-hero__badge-icon svg {
        width: 15px;
        height: 15px;
    }
    .akh-hero__badge b {
        font-size: 11.5px;
        line-height: 1.12;
    }
    .akh-hero__badge small {
        display: none;
    }
}
@media (max-width: 380px) {
    .akh-hero__badge {
        width: 92px;
        height: 92px;
        flex-basis: 92px;
    }
}


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

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

/* 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);
    height: var(--akh-msg-tile, 64px);
    min-width: var(--akh-msg-tile, 64px);
    min-height: var(--akh-msg-tile, 64px);
    flex: 0 0 var(--akh-msg-tile, 64px);
    aspect-ratio: 1 / 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 14px;
    line-height: 0;
    text-decoration: none;
    overflow: hidden;
    background: transparent;
    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);
    height: var(--akh-msg-icon, 62px);
    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%;
    height: 100%;
    display: block;
    max-width: none;
    max-height: none;
    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);
        height: min(var(--akh-msg-tile, 64px), 62px);
        min-width: min(var(--akh-msg-tile, 64px), 62px);
        min-height: min(var(--akh-msg-tile, 64px), 62px);
        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);
        height: min(var(--akh-msg-icon, 62px), 62px);
        flex-basis: min(var(--akh-msg-icon, 62px), 62px);
    }
}

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

    .akh-msg-icon-btn__icon {
        width: 56px;
        height: 56px;
        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;
    margin-right: auto;
}

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

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

.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;
}

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

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


/* 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;
        margin-right: auto;
    }

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

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

    .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;
    }
}

@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;
        margin-right: auto;
    }

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

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

    .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;
    }
}


/* 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;
        width: auto;
        gap: 8px;
        margin-top: 18px;
    }

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

    .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));
        max-width: calc(var(--akh-mobile-badge-size) * 4 + 24px);
        gap: 6px;
    }

    .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;
        margin-right: auto;
        justify-content: start;
    }

    .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;
        margin-right: auto;
        justify-content: center;
    }

    .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;
        margin-right: 0;
        justify-content: end;
    }

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

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

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

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

    .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);
        line-height: 1.08;
        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;
    }
}

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

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

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

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

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

    .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;
    }
}


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

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

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

    .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);
        line-height: .98;
        letter-spacing: -.045em;
        max-width: 100%;
    }

    .akh-hero--mobile-compact .akh-hero__subtitle {
        margin-top: 18px;
        font-size: clamp(17px, 4.4vw, 21px);
        line-height: 1.45;
        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;
        text-decoration: none;
        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;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        justify-content: stretch;
    }

    .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;
    }

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

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

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

    .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;
    }

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

    .akh-hero--mobile-compact .akh-hero__badge {
        width: auto;
        height: auto;
        min-height: 58px;
        aspect-ratio: auto;
        flex: none;
        padding: 8px 4px;
        border-radius: 15px;
        justify-content: center;
        align-items: center;
        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;
        height: 22px;
        min-width: 22px;
        flex: 0 0 22px;
        border-radius: 9px;
        margin: 0 0 5px;
    }

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

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

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

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

    .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;
    }

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

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

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

/* Удалены устаревшие патчи кнопки телефона v1.2.20–v1.2.21; актуальная разметка начинается с v1.2.22. */

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

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

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

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

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

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

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


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

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


/* 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;
        width: 100%;
        margin-top: 14px;
        gap: var(--akh-badge-m-gap, 10px);
        align-items: stretch;
        justify-items: stretch;
    }

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

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

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

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

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

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

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

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

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

    .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;
        width: 100%;
        max-width: 100%;
        margin: 0;
        text-align: center;
        color: #fff;
        font-size: var(--akh-badge-m-font, 12.5px);
        line-height: 1.14;
        font-weight: 820;
        letter-spacing: 0;
        white-space: normal;
        overflow: hidden;
        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;
    }

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

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

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

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

    .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);
        height: min(var(--akh-badge-m-svg, 11px), 13px);
    }

    .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);
        line-height: 1.08;
    }
}


/* 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);
    height: var(--akh-msg-tile, 64px);
    min-width: var(--akh-msg-tile, 64px);
    min-height: var(--akh-msg-tile, 64px);
    max-width: var(--akh-msg-tile, 64px);
    max-height: var(--akh-msg-tile, 64px);
    flex: 0 0 var(--akh-msg-tile, 64px);
    border-radius: var(--akh-msg-radius, 14px);
}

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

.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);
}

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

    .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));
        height: var(--akh-msg-icon, var(--akh-msg-tile, 64px));
        min-width: var(--akh-msg-icon, var(--akh-msg-tile, 64px));
        min-height: var(--akh-msg-icon, var(--akh-msg-tile, 64px));
        max-width: var(--akh-msg-icon, var(--akh-msg-tile, 64px));
        max-height: var(--akh-msg-icon, var(--akh-msg-tile, 64px));
        flex-basis: var(--akh-msg-icon, var(--akh-msg-tile, 64px));
    }
}


/* 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);
    height: var(--akh-msg-tile, 64px);
    min-width: var(--akh-msg-tile, 64px);
    min-height: var(--akh-msg-tile, 64px);
    max-width: var(--akh-msg-tile, 64px);
    max-height: var(--akh-msg-tile, 64px);
    flex: 0 0 var(--akh-msg-tile, 64px);
    flex-basis: var(--akh-msg-tile, 64px);
    border-radius: var(--akh-msg-radius, 14px);
}

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

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

@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));
        height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        min-width: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        min-height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        max-width: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        max-height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        flex: 0 0 var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        flex-basis: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        border-radius: var(--akh-msg-radius, 14px);
    }

    .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)));
        height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        min-width: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        min-height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        max-width: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        max-height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        flex: 0 0 var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        flex-basis: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
    }
}


/* v1.2.29 — FINAL mobile admin settings enforcement layer.
   Root cause fixed here: old mobile CSS blocks used 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;
    }

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

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

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

@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;
    }

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

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

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

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

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

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

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

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

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

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

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

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

    /* 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;
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        margin-top: 12px;
    }

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

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

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

    .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;
    }

    /* 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;
        width: 100%;
        margin-top: 14px;
        gap: var(--akh-badge-m-gap, 10px);
        align-items: stretch;
        justify-items: stretch;
        --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%;
        margin-left: 0;
        margin-right: 0;
    }

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

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

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

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

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

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

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

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

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

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

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

    .akh-hero .akh-hero__badge b,
    .akh-hero .akh-hero__badge strong,
    .akh-hero .akh-hero__badge-title {
        display: -webkit-box;
        width: 100%;
        max-width: 100%;
        margin: 0;
        text-align: center;
        color: #fff;
        font-size: calc(var(--akh-badge-m-font, 12.5px) * var(--akh-badge-font-scale, 1));
        line-height: 1.14;
        font-weight: 820;
        letter-spacing: 0;
        white-space: normal;
        overflow: hidden;
        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;
    }

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

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

    .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);
        padding: min(calc(var(--akh-badge-m-py, 9px) * var(--akh-badge-scale, 1)), 12px) min(var(--akh-badge-m-px, 4px), 8px);
        gap: min(calc(var(--akh-badge-m-gap, 7px) * .7 * var(--akh-badge-scale, 1)), 7px);
    }

    .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);
        height: min(calc(var(--akh-badge-m-icon, 18px) * var(--akh-badge-scale, 1)), 24px);
        min-width: min(calc(var(--akh-badge-m-icon, 18px) * var(--akh-badge-scale, 1)), 24px);
        min-height: min(calc(var(--akh-badge-m-icon, 18px) * var(--akh-badge-scale, 1)), 24px);
        flex-basis: min(calc(var(--akh-badge-m-icon, 18px) * var(--akh-badge-scale, 1)), 24px);
    }

    .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);
        height: min(calc(var(--akh-badge-m-svg, 11px) * var(--akh-badge-scale, 1)), 14px);
    }

    .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);
        line-height: 1.08;
    }

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

    .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));
        height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        min-width: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        min-height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        max-width: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        max-height: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        flex: 0 0 var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        flex-basis: var(--akh-msg-tile-mobile, var(--akh-msg-tile, 64px));
        border-radius: var(--akh-msg-radius, 14px);
    }

    .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)));
        height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        min-width: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        min-height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        max-width: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        max-height: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        flex: 0 0 var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
        flex-basis: var(--akh-msg-icon-mobile, var(--akh-msg-icon, var(--akh-msg-tile-mobile, 64px)));
    }

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


/* 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%
        );
}

@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%
            );
    }
}


/* 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);
    }

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


/* 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);
        background-image: var(--akh-hero-bg-mobile, var(--akh-hero-bg));
        background-size: var(--akh-hero-bg-size-mobile, cover);
        background-position: var(--akh-hero-bg-pos-mobile, center center);
        background-repeat: no-repeat;
    }

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


/* 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;
    }

    .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%);
    }

    .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%);
    }

    .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%);
    }

    .akh-hero.akh-hero--mobile-visual-frame .akh-hero__mobile-frame {
        position: relative;
        display: block;
        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%);
    }

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

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

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

    .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__eyebrow {
        width: fit-content;
        max-width: 100%;
        margin: 0 0 11px;
        align-self: flex-start;
    }

    .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;
    }

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

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

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

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


/* 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);
        gap: 0;
    }

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

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

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

    .akh-btn--request-open {
        color: #fff;
        border-color: rgba(255,90,31,.64);
        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));
        box-shadow:
            0 14px 30px rgba(255,90,31,.24),
            0 0 26px rgba(255,90,31,.12);
    }

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

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

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

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

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

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

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

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

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

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

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

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

    @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;
    }
}


/* Удалены устаревшие десктопные варианты CTA v1.2.43–v1.2.44; используется единый светлый слой. */

/* 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;
        align-items: center;
        justify-content: center;
        gap: 0;
        column-gap: 0;
        text-align: center;
        vertical-align: middle;
    }

    .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;
    }

    .akh-hero__actions .akh-btn--phone {
        letter-spacing: -0.01em;
        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;
    }

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

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

    @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;
        max-height: calc(100dvh - 20px);
        max-height: calc(100vh - 20px);
    }
}


/* Popup portal to body.
   The form/backdrop are moved to body on open, so popup appears above Helix/header/menu on every viewport. */
    body > .akh-hero__form-backdrop {
        display: none;
    }

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

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

    body > .akh-hero__form-card.is-open {
        position: fixed;
        z-index: 2147483646;
        top: 10px;
        left: 50%;
        bottom: auto;
        display: block;
        width: min(440px, calc(100vw - 36px));
        max-height: calc(100dvh - 20px);
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(-50%);
        overscroll-behavior: contain;
        -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);
        animation: akh-form-popup-in-v146 .16s ease both;
    }

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

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

    @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 (max-height: 760px) {
    body > .akh-hero__form-card.is-open {
        top: 6px;
        max-height: calc(100dvh - 12px);
        max-height: calc(100vh - 12px);
    }
}


/* 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. */
    body > .akh-hero__form-card.is-open {
        box-sizing: border-box;
        padding: 34px 24px 24px;
        border-radius: 26px;
        border: 1px solid rgba(255,255,255,.72);
        border-left: 5px solid var(--akh-orange, #ff5a1f);
        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));
        color: #202632;
        font-family: inherit;
    }

    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;
        background: rgba(255,90,31,.10);
        border-color: rgba(255,90,31,.16);
    }

    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;
        font-weight: 900;
        letter-spacing: -0.035em;
    }

    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;
    }

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

    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;
        background: rgba(255,255,255,.94);
        border: 1px solid rgba(32,38,50,.16);
        border-radius: 10px;
        box-shadow: inset 0 1px 0 rgba(0,0,0,.025);
    }

    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;
        border-color: rgba(255,90,31,.55);
        box-shadow:
            0 0 0 3px rgba(255,90,31,.10),
            inset 0 1px 0 rgba(0,0,0,.025);
    }

    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);
        border-radius: 14px;
    }

    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;
        border-radius: 12px;
    }

    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;
        background: #202632;
        box-shadow: 0 10px 22px rgba(32,38,50,.16);
    }

    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);
        background: rgba(255,90,31,.055);
        color: #202632;
    }

    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);
    }

    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;
    }

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

    body > .akh-hero__form-card.is-open .akh-submit,
    body > .akh-hero__form-card.is-open button[type="submit"] {
        color: #fff;
        border: 0;
        border-radius: 14px;
        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));
        box-shadow:
            0 16px 34px rgba(255,90,31,.20),
            inset 0 1px 0 rgba(255,255,255,.18);
        font-weight: 850;
    }

    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);
        box-shadow:
            0 20px 42px rgba(255,90,31,.25),
            inset 0 1px 0 rgba(255,255,255,.20);
    }

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

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

    body > .akh-hero__form-card.is-open .akh-hero__form-close:hover {
        background: rgba(255,90,31,.12);
        color: #c9431b;
    }
/* 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;
}

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

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

/* 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;
        visibility: hidden;
        height: 0;
        min-height: 0;
        max-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        pointer-events: none;
    }

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

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

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

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

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

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

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

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

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

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

    .akh-hero.is-mobile-form-open .akh-hero__form-card {
        display: block;
        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);
        background:
            linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 42%),
            #c94b1d;
    }

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


/* Удалены устаревшие размеры мобильных CTA v1.2.54–v1.2.55; используется сетка v1.2.71. */

/* 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);
}

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

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


/* 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%;
        overflow-x: hidden;
    }

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

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

    .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%;
        min-width: 0;
    }

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

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

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

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

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

/* v1.2.71 — compact mobile actions aligned with the light homepage UI. */
@media (max-width: 767.98px) {
    .akh-hero .akh-hero__mobile-actions {
        width: min(calc(100% - 32px), 400px);
        max-width: 400px;
        margin: 16px auto 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn {
        width: 100%;
        height: auto;
        min-height: 44px;
        max-height: none;
        padding: 10px 12px;
        border-radius: 13px;
        gap: 7px;
        color: #344052;
        font-size: 14.5px;
        line-height: 1.15;
        font-weight: 750;
        text-shadow: none;
        box-shadow: 0 8px 20px rgba(32,38,50,.07);
        filter: none;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn--mobile-calc {
        order: 1;
        grid-column: 1 / -1;
        border: 1px solid rgba(217,107,67,.30);
        background: linear-gradient(135deg, #fff7f2, #ffede4);
        color: #9f4828;
    }

    .akh-hero .akh-hero__mobile-actions .akh-mobile-action-phone {
        order: 2;
        border: 1px solid rgba(35,123,85,.24);
        background: #f1faf5;
        color: #237b55;
    }

    .akh-hero .akh-hero__mobile-actions .akh-mobile-action-catalog {
        order: 3;
        border: 1px solid rgba(32,38,50,.12);
        background: rgba(255,255,255,.92);
        color: #344052;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn__phone-icon {
        width: 16px;
        height: 16px;
        display: inline-flex;
        margin: 0;
        color: currentColor;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn__phone-svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn:hover,
    .akh-hero .akh-hero__mobile-actions .akh-btn:focus-visible {
        transform: translateY(-1px);
        box-shadow: 0 11px 24px rgba(32,38,50,.10);
    }

    body > .akh-hero__form-card.is-open {
        top: max(8px, env(safe-area-inset-top));
        width: min(440px, calc(100vw - 20px));
        max-height: calc(100dvh - max(16px, env(safe-area-inset-top)));
        padding: 28px 18px 20px;
        border-left-width: 3px;
        border-radius: 22px;
    }
}

@media (max-width: 380px) {
    .akh-hero .akh-hero__mobile-actions {
        width: min(calc(100% - 24px), 356px);
    }

    .akh-hero .akh-hero__mobile-actions .akh-btn {
        min-height: 42px;
        padding: 9px 10px;
        font-size: 13.5px;
    }
}


/* Удалён конфликтный FIX10: выравнивание больше не меняет ширину кнопок мобильной сетки. */

/* 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;
    }
}


/* v1.2.72 — светлые мобильные кнопки на десктопе и читаемый мобильный подзаголовок. */
@media (min-width: 768px) {
    .akh-hero .akh-hero__actions--desktop {
        gap: 10px;
        align-items: stretch;
    }

    .akh-hero .akh-hero__actions--desktop .akh-btn {
        width: 218px;
        min-width: 218px;
        max-width: 218px;
        min-height: 52px;
        padding: 13px 16px;
        border-radius: 14px;
        color: #344052;
        font-size: 16px;
        line-height: 1.15;
        font-weight: 750;
        text-shadow: none;
        filter: none;
        box-shadow: 0 10px 24px rgba(32,38,50,.10);
    }

    .akh-hero .akh-hero__actions--desktop .akh-btn--request-open {
        border: 1px solid rgba(217,107,67,.30);
        background: linear-gradient(135deg, #fff7f2, #ffede4);
        color: #9f4828;
    }

    .akh-hero .akh-hero__actions--desktop .akh-btn--phone {
        gap: 7px;
        border: 1px solid rgba(35,123,85,.24);
        background: #f1faf5;
        color: #237b55;
    }

    .akh-hero .akh-hero__actions--desktop .akh-btn--ghost {
        border: 1px solid rgba(32,38,50,.12);
        background: rgba(255,255,255,.92);
        color: #344052;
    }

    .akh-hero .akh-hero__actions--desktop .akh-btn:hover,
    .akh-hero .akh-hero__actions--desktop .akh-btn:focus-visible {
        color: inherit;
        transform: translateY(-1px);
        filter: none;
        box-shadow: 0 13px 28px rgba(32,38,50,.14);
    }

    .akh-hero .akh-hero__actions--desktop .akh-btn--request-open:hover,
    .akh-hero .akh-hero__actions--desktop .akh-btn--request-open:focus-visible {
        border-color: rgba(217,107,67,.44);
        background: linear-gradient(135deg, #fff3ec, #ffe5d9);
        color: #8f3f23;
    }

    .akh-hero .akh-hero__actions--desktop .akh-btn--phone:hover,
    .akh-hero .akh-hero__actions--desktop .akh-btn--phone:focus-visible {
        border-color: rgba(35,123,85,.38);
        background: #e8f7ef;
        color: #1d6848;
    }

    .akh-hero .akh-hero__actions--desktop .akh-btn--ghost:hover,
    .akh-hero .akh-hero__actions--desktop .akh-btn--ghost:focus-visible {
        border-color: rgba(32,38,50,.20);
        background: #fff;
        color: #293446;
    }
}

@media (max-width: 767.98px) {
    .akh-hero .akh-hero__subtitle {
        max-width: min(100%, 38ch);
        margin-top: 16px;
        color: rgba(255,255,255,.96);
        font-size: clamp(16px, 4.15vw, 18px);
        line-height: 1.42;
        font-weight: 580;
        letter-spacing: -.005em;
        text-shadow: 0 1px 2px rgba(0,0,0,.72);
    }
}
