.kae-hero {
    font-family: var(--font-family-primary);
    min-height: 520px;
    padding: 100px 0 60px;
    background-color: #000;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .64) 44%, rgba(0, 0, 0, .42) 100%),
        radial-gradient(ellipse 80% 60% at 80% 50%, rgba(1, 195, 99, .10) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 100% 50%, rgba(1, 195, 99, .06) 0%, transparent 60%), url(/assets/images/app/public/solutions/kate_ai_estimator/kate_ai_estimator_hero_bg.png);
    background-position: center center, center center, center center, center right;
    background-size: cover, auto, auto, cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.kae-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.kae-hero h1 {
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0;
    font-size: 46px;
    font-weight: 600;
}

.kae-hero h4 {
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 32px;
}

.kae-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kae-hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-red);
    animation: kae-pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes kae-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.5); }
}

.kae-hero__flair {
    font-size: 85px;
    font-weight: 200;
    color: var(--color-green);
    margin: 10px 0 20px;
    line-height: 1;
}

.kae-hero__cta {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 16px;
}

.kae-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kae-hero__preview {
    position: relative;
    width: 100%;
}

.kae-hero__preview-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    padding: 20px 22px;
}

.kae-hero__preview-card + .kae-hero__preview-card {
    margin-top: 12px;
}

.kae-hero__preview-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.kae-hero__preview-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 10px;
}

.kae-hero__preview-label--inline {
    margin-bottom: 0;
}

.kae-hero__preview-customer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.kae-hero__preview-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-family-primary);
    flex-shrink: 0;
}

.kae-hero__preview-customer-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-family-primary);
}

.kae-hero__preview-customer-phone {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}

.kae-hero__preview-quote {
    background: rgba(255, 255, 255, .06);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.5;
    border-left: 2px solid var(--color-green);
    font-family: var(--font-family-secondary);
}

.kae-hero__preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 13px;
}

.kae-hero__preview-row:last-of-type {
    border-bottom: none;
}

.kae-hero__preview-row-label {
    color: rgba(255, 255, 255, .6);
}

.kae-hero__preview-row-value {
    font-weight: 700;
    color: #fff;
}

.kae-hero__preview-row-value--green {
    color: var(--color-green);
}

.kae-hero__preview-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.kae-hero__preview-total-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-green);
}

.kae-hero__preview-total-value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.kae-hero__preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(1, 195, 99, .15);
    border: 1px solid rgba(1, 195, 99, .35);
    color: var(--color-green);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 10px;
}

.kae-hero__preview-badge--inline {
    margin-top: 0;
}

.kae-hero__preview-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(1, 195, 99, .1);
    border: 1px solid rgba(1, 195, 99, .2);
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 8px;
}

.kae-hero__preview-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-green);
    animation: kae-blink 1.8s infinite;
    flex-shrink: 0;
}

@keyframes kae-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.kae-hero__preview-status-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-green);
}

.kae-hero__chip {
    position: absolute;
    background: rgba(0, 0, 0, .8);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 30px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(8px);
}

.kae-hero__chip--top {
    top: -16px;
    right: 20px;
    animation: kae-float 4s ease-in-out infinite;
}

.kae-hero__chip--bottom {
    bottom: 20px;
    right: -10px;
    animation: kae-float 4s ease-in-out infinite 1.5s;
}

@keyframes kae-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.kae-intro {
    font-family: var(--font-family-primary);
    overflow: hidden;
    background: url(/assets/images/app/public/solutions/kate_ai_receptionist/kate_ai_receptionist_demo_bg.png) no-repeat center center;
    background-size: cover;
}


.kae-intro__inner {
    display: flex;
    align-items: stretch;
}

.kae-intro__text {
    flex: 1;
    padding: 40px 48px 40px 0;
    border-right: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
}

.kae-intro__stats {
    display: flex;
    align-items: stretch;
}

.kae-intro__stat {
    text-align: center;
    padding: 28px 36px;
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    position: relative;
    transition: background 0.2s;
}

.kae-intro__stat:last-child {
    border-right: none;
}

.kae-intro__stat:hover {
    background: rgba(0, 0, 0, .03);
}

.kae-intro__stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--color-green);
    border-radius: 0 0 3px 3px;
    transform: scaleX(0);
    transition: transform 0.25s;
}

.kae-intro__stat:hover::before {
    transform: scaleX(1);
}

.kae-intro__stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(1, 195, 99, .12);
    border: 1px solid rgba(1, 195, 99, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--color-green);
}

.kae-intro__stat-num {
    font-size: 38px;
    font-weight: 800;
    color: var(--color-green);
    line-height: 1;
    font-family: var(--font-family-primary);
    letter-spacing: -1px;
}

.kae-intro__stat-lbl {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-a-ter);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-family: var(--font-family-secondary);
    white-space: nowrap;
}

.kae-features {
    font-family: var(--font-family-primary);
    padding: 80px 0;
    background: url(/assets/images/app/public/solutions/kate_ai_receptionist/kate_ai_receptionist_glow_bg.png) no-repeat center center;
}

.kae-features__row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.kae-features__row > div {
    float: none;
    display: flex;
    flex-direction: column;
}

.kae-features__card {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #fff;
    border-radius: 50px;
    padding: 36px 24px;
    border: 1px solid #d9d9d9;
    margin-bottom: 24px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.kae-features__card:hover {
    box-shadow: 0 8px 28px rgba(0, 38, 57, .12);
    transform: translateY(-4px);
}

.kae-features__card-icon {
    margin-bottom: 14px;
    font-size: 28px;
    color: var(--color-green);
}

.kae-features__card-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-sec);
    font-family: var(--font-family-primary);
    line-height: 1.2;
}

.kae-features__card-description {
    font-family: var(--font-family-secondary);
    color: var(--color-a-ter);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.kae-steps {
    font-family: var(--font-family-primary);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background-image: url(/assets/images/app/public/solutions/shared/steps_bg.svg);
    background-position: top left;
    background-repeat: no-repeat;
    background-color: var(--color-grey-light);
}

.kae-steps::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/assets/images/app/public/solutions/shared/steps_bg.svg);
    background-position: top left;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    pointer-events: none;
}

.kae-steps__nav {
    width: 60%;
    margin: 40px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    gap: 20px;
}

.kae-steps__nav-link {
    flex: 1;
    font-size: 18px;
    max-width: 120px;
    line-height: 1.5;
    color: var(--color-a-ter);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    padding-bottom: 6px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-family: var(--font-family-primary);
}

.kae-steps__nav-link.active {
    font-weight: 700;
    border-bottom-color: var(--color-green);
    color: var(--color-text-sec);
}

.kae-steps__nav-link:hover {
    color: var(--color-text-sec);
}

.kae-steps__panel {
    display: none;
}

.kae-steps__panel.active {
    display: block;
}

.kae-steps__step {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 420px;
}

.kae-steps__step-content {
    padding-right: 40px;
    align-self: center;
}

.kae-steps__step-content h3 {
    margin-bottom: 16px;
    font-size: 28px;
}

.kae-steps__step-content p {
    font-size: 15px;
    line-height: 1.75;
    font-family: var(--font-family-secondary);
}

.kae-steps__step-list {
    margin: 20px 0 0;
    padding: 0;
}

.kae-steps__step-list li {
    position: relative;
    list-style-type: none;
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.01em;
    margin-left: 30px;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.kae-steps__step-list li::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 4px;
    left: -30px;
    width: 16px;
    height: 16px;
    background-image: url(/assets/images/app/public/pages/why_markate/why_markate_bullet.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.kae-steps__step-visual {
    display: flex;
    justify-content: center;
    align-self: center;
}

.kae-steps__stack-wrap {
    width: 100%;
}

.kae-steps__stack {
    position: relative;
    width: 100%;
    /* right + bottom padding create the visible space for back images to peek into */
    padding-right: 24px;
    padding-bottom: 20px;
}

.kae-steps__stack-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.kae-steps__stack-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding-right: 24px;
}

.kae-steps__stack-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-grey-dark);
    background: var(--color-white);
    color: var(--color-text-sec);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.kae-steps__stack-btn:hover {
    border-color: var(--color-green);
    color: var(--color-green);
    background: rgba(1, 195, 99, .06);
}

.kae-steps__stack-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kae-steps__stack-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-grey-dark);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.kae-steps__stack-dot.active {
    background: var(--color-green);
    transform: scale(1.35);
}

.kae-steps__stack-img--front {
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 28px rgba(0, 38, 57, .18);
}

.kae-steps__stack-img--back-1 {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    opacity: 0.72;
    box-shadow: 0 4px 16px rgba(0, 38, 57, .10);
}

.kae-steps__stack-img--back-2 {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 20px;
    opacity: 0.44;
    box-shadow: 0 2px 8px rgba(0, 38, 57, .06);
}

.kae-results {
    background-image: url(/assets/images/app/public/solutions/kate_ai_receptionist/kate_ai_receptionist_interested_bg.png);
    background-color: #000;
    background-position: right;
    padding: 80px 0;
    font-family: var(--font-family-primary);
}

.kae-results h2 {
    color: #fff;
}

.kae-results__description {
    color: rgba(255, 255, 255, .65);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 50px;
}

.kae-results__metric {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 36px 24px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.kae-results__metric:hover {
    background: rgba(255, 255, 255, .09);
    transform: translateY(-4px);
    border-color: rgba(1, 195, 99, .3);
}

.kae-results__metric-num {
    font-size: 52px;
    font-weight: 700;
    color: var(--color-green);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-family-primary);
}

.kae-results__metric-lbl {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    font-family: var(--font-family-primary);
}

.kae-results__metric-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
    margin-top: 4px;
    font-family: var(--font-family-secondary);
}

.kae-advantages {
    font-family: var(--font-family-primary);
    padding: 80px 0;
    background-image: url(/assets/images/app/public/solutions/kate_ai_estimator/kate_ai_estimator_advantages_bg.png);
    background-size: 100% 500px;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.kae-advantages__item {
    text-align: left;
    padding: 20px 0;
}

.kae-advantages__item-icon {
    width: 40px;
    height: 40px;
    background: rgba(1, 195, 99, .1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--color-green);
    font-size: 18px;
}

.kae-advantages__item-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text-sec);
    line-height: 1.2;
}

.kae-advantages__item-description {
    font-size: 13px;
    color: var(--color-a-ter);
    line-height: 1.6;
    font-family: var(--font-family-secondary);
    margin: 0;
}

.kae-cases {
    font-family: var(--font-family-primary);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.kae-cases .flair_right {
    position: absolute;
    width: 400px;
    top: 100px;
    right: 0;
}

.kae-cases .flair_left {
    position: absolute;
    width: 400px;
    top: 50%;
    left: 0;
}

.kae-cases__case {
    margin-bottom: 60px;
}

.kae-cases__case:last-child {
    margin-bottom: 0;
}

.kae-cases__case-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.kae-cases__case-content {
    align-self: center;
    padding-right: 30px;
}

.kae-cases__case-content .btn {
    margin-top: 8px;
}

.kae-cases__case-content h2 {
    margin-bottom: 14px;
    font-size: 26px;
    color: var(--color-text-sec);
}

.kae-cases__case-row--reverse .kae-cases__case-visual {
    order: 1;
}

.kae-cases__case-row--reverse .kae-cases__case-content {
    order: 2;
    padding-right: 0;
    padding-left: 30px;
}

.kae-cases__case-visual {
    display: flex;
    justify-content: center;
    align-self: center;
}

.kae-cases__case-img {
    width: 100%;
    height: auto;
    display: block;
}


.kae-compare {
    padding: 80px 0;
    background: var(--color-grey-light);
    font-family: var(--font-family-primary);
}

.kae-compare__wrap {
    margin-top: 56px;
    overflow-x: auto;
}

.kae-compare__table {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kae-compare__row {
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    min-height: 70px;
    justify-content: center;
    align-items: stretch;
}

.kae-compare__row:last-child {
    border-bottom: none;
}

.kae-compare__feature {
    font-family: var(--font-family-primary);
    font-size: 18px;
    font-weight: 500;
    flex-grow: 1;
    padding: 10px 5px;
    display: flex;
    align-items: center;
}

.kae-compare__feature--head {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    justify-content: flex-start;
}

.kae-compare__header,
.kae-compare__header-mk {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 20px 10px;
    width: 260px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kae-compare__item,
.kae-compare__item-mk {
    padding: 14px 12px;
    width: 260px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.kae-compare__header-mk,
.kae-compare__item-mk {
    background: rgba(0, 195, 99, .05);
}

.kae-compare__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.kae-compare__status svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.kae-cta {
    font-family: var(--font-family-primary);
    color: #fff;
    background-image: url(/assets/images/app/public/solutions/kate_ai_estimator/kate_ai_estimator_start_bg.png);
    background-color: #000;
    background-position: right;
    padding: 100px 0;
}

.kae-cta h2 {
    color: #fff;
    font-size: 42px;
}

.kae-cta__flair {
    font-size: 80px;
    font-weight: 200;
    color: var(--color-green);
    margin-bottom: 20px;
    line-height: 1;
    font-family: var(--font-family-primary);
}

.kae-cta__description {
    color: rgba(255, 255, 255, .7);
    font-size: 17px;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.kae-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.kae-cta__trust {
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
    margin-top: 24px;
}

.kae-cta__trust span {
    color: rgba(255, 255, 255, .65);
}

.kae-cta__trust-dot {
    margin: 0 8px;
    color: rgba(255, 255, 255, .4);
}

.kae-faq {
    background: url(/assets/images/app/public/solutions/kate_ai_estimator/kate_ai_estimator_glow_bg.png) no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    border-top: 1px solid #d9d9d9;
}

.kae-contact__deco {
    position: absolute;
    font-weight: 300;
    color: #2176ae;
    pointer-events: none;
    user-select: none;
    opacity: 0.55;
}

.kae-contact {
    padding: 100px 0;
    background: var(--color-grey-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kae-contact__form-wrap {
    text-align: left;
    margin-bottom: 32px;
}

.kae-contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kae-contact__form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kae-contact__form-label {
    font-weight: 500;
    color: var(--color-text-sec);
}

.kae-contact__form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-grey-dark);
    border-radius: 8px;
    color: var(--color-text-sec);
    background: var(--color-white);
    transition: border-color 0.18s;
    box-sizing: border-box;
}

.kae-contact__form-input:focus {
    outline: none;
    border-color: var(--color-green);
}

.kae-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.kae-contact__form-footer {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.kae-contact__confirm {
    max-width: 480px;
    margin: 0 auto 32px;
    padding: 48px 32px;
    background: var(--color-white);
    border-radius: 16px;
    border: 1px solid var(--color-grey-dark);
}

.kae-contact__confirm img {
    max-width: 200px;
    margin: 0 auto 20px;
    display: block;
}
