:root {
    --aihc-gap: 40px;
    --aihc-slant: 70px;
    --aihc-accent: #92233a;
}

.aihc {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: #111;
    box-sizing: border-box;
}

.aihc *,
.aihc *::before,
.aihc *::after {
    box-sizing: border-box;
}

.aihc__viewport {
    width: 100%;
    overflow: hidden;
}

.aihc__track {
    display: flex;
    width: 100%;
    transition: transform 650ms cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.aihc__slide {
    flex: 0 0 100%;
    width: 100%;
    min-height: 680px;
    display: flex;
    align-items: center;
    gap: var(--aihc-gap);
    padding: 46px 5.2%;
    position: relative;
}

.aihc__slide--left {
    flex-direction: row-reverse;
}

.aihc__content {
    flex: 1 1 45%;
    min-width: 0;
    z-index: 2;
}

.aihc__eyebrow {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .72;
}

.aihc__heading {
    margin: 0 0 30px;
    font-size: clamp(42px, 4vw, 68px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 750;
    color: #080808;
}

.aihc__body {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.58;
    color: #181818;
}

.aihc__body + .aihc__body {
    margin-top: 24px;
}

.aihc__body p {
    margin: 0;
}

.aihc__button-wrap {
    margin-top: 34px;
}

.aihc__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 56px;
    padding: 17px 34px;
    background: #92233a;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 40px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.aihc__button:hover {
    background: #70192b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(146,35,58,.18);
}

.aihc__button-icon {
    display: inline-flex;
    font-size: 16px;
}

.aihc__media {
    flex: 1 1 58%;
    min-width: 0;
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    min-height: 520px;
}

.aihc__media-inner {
    --aihc-slant: 70px;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
    overflow: visible;
    border-radius: 16px;
    clip-path: none;
    background: transparent;
}

.aihc__media-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.aihc__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.aihc__image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background:
        radial-gradient(circle at 70% 45%, rgba(76,180,255,.35), transparent 28%),
        radial-gradient(circle at 45% 55%, rgba(214,56,151,.30), transparent 30%),
        linear-gradient(135deg, #071735, #101d4e 48%, #160b36);
}

.aihc__arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #92233a;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    transition: transform .2s ease, background-color .2s ease;
}

.aihc__arrow:hover {
    transform: translateY(-50%) scale(1.05);
    background: #fff;
}

.aihc__arrow--prev {
    left: 18px;
}

.aihc__arrow--next {
    right: 18px;
}

.aihc__navigation {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.aihc__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.25);
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
}

.aihc__dot.is-active {
    width: 26px;
    border-radius: 20px;
    background: #92233a;
}

.aihc__empty {
    padding: 40px;
    border: 1px dashed #bbb;
    text-align: center;
    color: #666;
}

@media (max-width: 1024px) {
    .aihc__slide {
        min-height: 620px;
        padding: 38px 4%;
    }

    .aihc__heading {
        font-size: clamp(38px, 5vw, 56px);
    }

    .aihc__body {
        font-size: 16px;
    }

    .aihc__media,
    .aihc__media-inner,
    .aihc__image,
    .aihc__image-placeholder {
        min-height: 460px;
    }
}

@media (max-width: 767px) {
    .aihc__slide,
    .aihc__slide--left {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        min-height: auto;
        padding: 38px 20px 70px;
    }

    .aihc__content {
        flex: none;
        width: 100%;
    }

    .aihc__heading {
        margin-bottom: 22px;
        font-size: clamp(36px, 11vw, 50px);
    }

    .aihc__body {
        font-size: 16px;
        line-height: 1.55;
    }

    .aihc__button-wrap {
        margin-top: 28px;
    }

    .aihc__button {
        width: auto;
        max-width: 100%;
    }

    .aihc__media {
        flex: none;
        width: 100%;
        min-height: 310px;
        align-self: auto;
    }

    .aihc__media-inner {
        min-height: 310px;
        clip-path: none;
        border-radius: 16px;
    }

    .aihc__image,
    .aihc__image-placeholder {
        min-height: 310px;
    }

    .aihc__arrow {
        width: 38px;
        height: 38px;
        font-size: 26px;
    }

    .aihc__arrow--prev {
        left: 10px;
    }

    .aihc__arrow--next {
        right: 10px;
    }

    .aihc__navigation {
        bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aihc__track,
    .aihc__button,
    .aihc__arrow,
    .aihc__dot {
        transition: none !important;
    }
}
