.ml-animated-container {
    --ml-animated-surface-color: #11151d;
    --ml-animated-surface-image: none;
    --ml-animated-copper: #c99879;
    --ml-animated-copper-soft: #f0c4aa;
    --ml-animated-text: #ffffff;
    --ml-animated-muted: rgba(255, 255, 255, 0.82);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 18%, rgba(201, 152, 121, 0.18), transparent 26%),
        radial-gradient(circle at 24% 34%, rgba(240, 196, 170, 0.11), transparent 30%),
        linear-gradient(115deg, #181b22 0%, #11151d 44%, #0d1219 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.07);
}

.ml-animated-container::before,
.ml-animated-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ml-animated-container::before {
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 112px 112px;
    mask-image: radial-gradient(circle at 50% 46%, rgba(0, 0, 0, 0.82), transparent 74%);
}

.ml-animated-container::after {
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(12, 16, 22, 0.68), transparent 28%, transparent 72%, rgba(12, 16, 22, 0.66)),
        radial-gradient(ellipse at center, transparent 0%, transparent 48%, rgba(7, 10, 14, 0.7) 100%);
}

.ml-animated-container > .e-con-inner,
.ml-animated-container > .elementor-element,
.ml-animated-container > .elementor-widget,
.ml-animated-container > .e-con {
    position: relative;
    z-index: 2;
}

.ml-animated-container--surface-solid {
    background: var(--ml-animated-surface-color);
}

.ml-animated-container--surface-image {
    background:
        linear-gradient(90deg, rgba(12, 16, 22, 0.48), rgba(12, 16, 22, 0.48)),
        var(--ml-animated-surface-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ml-animated-container--styled-content .elementor-widget-heading .elementor-heading-title {
    max-width: min(1480px, 100%);
    margin: 0 0 clamp(18px, 2vw, 30px);
    color: var(--ml-animated-text) !important;
    font-size: clamp(38px, 4.15vw, 66px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.ml-animated-container--styled-content .elementor-widget-text-editor,
.ml-animated-container--styled-content .elementor-widget-text-editor p,
.ml-animated-container--styled-content .elementor-widget-text-editor li,
.ml-animated-container--styled-content .elementor-widget-icon-box .elementor-icon-box-description {
    color: var(--ml-animated-muted);
    font-size: clamp(15px, 1.1vw, 19px);
    line-height: 1.7;
}

.ml-animated-container--styled-content .elementor-widget-text-editor p {
    max-width: 1040px;
}

.ml-animated-container .ml-advisory-hero__art,
.ml-animated-container .ml-animated-container__custom-svg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.ml-animated-container .ml-advisory-hero__svg,
.ml-animated-container .ml-animated-container__custom-svg svg {
    color: var(--ml-animated-copper);
}

.ml-animated-container .ml-advisory-hero__svg {
    position: absolute;
    display: block;
    overflow: visible;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.42;
}

.ml-animated-container .ml-advisory-hero__svg circle {
    fill: currentColor;
    stroke: none;
}

.ml-animated-container .ml-advisory-hero__svg--orbits {
    left: -6%;
    top: -12%;
    width: min(47vw, 720px);
    min-width: 480px;
    animation: mlHeroOrbitDrift 22s ease-in-out infinite alternate;
}

.ml-animated-container .ml-advisory-hero__svg--scales {
    left: 8%;
    top: 20%;
    width: min(22vw, 340px);
    min-width: 220px;
    opacity: 0.36;
    animation: mlHeroScaleBreathe 8s ease-in-out infinite;
}

.ml-animated-container .ml-advisory-hero__svg--circuit {
    right: 7%;
    top: 8%;
    width: min(34vw, 520px);
    min-width: 320px;
    opacity: 0.32;
    animation: mlHeroCircuitFloat 13s ease-in-out infinite alternate;
}

.ml-animated-container .ml-advisory-hero__svg--documents {
    right: 4%;
    top: 10%;
    width: min(25vw, 420px);
    min-width: 260px;
    color: var(--ml-animated-copper-soft);
    opacity: 0.28;
    transform: rotate(5deg);
    animation: mlHeroDocumentFloat 10s ease-in-out infinite alternate;
}

.ml-animated-container .ml-advisory-hero__svg--waves {
    left: 0;
    right: 0;
    bottom: -22px;
    width: 100%;
    height: 240px;
    color: var(--ml-animated-copper);
    opacity: 0.26;
    stroke-width: 1;
    animation: mlHeroWaveFlow 18s ease-in-out infinite alternate;
}

.ml-animated-container .ml-advisory-hero__dash {
    stroke-dasharray: 2 13;
    animation: mlHeroDash 22s linear infinite;
}

.ml-animated-container .ml-animated-container__custom-svg {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.ml-animated-container .ml-animated-container__custom-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ml-animated-container--static .ml-advisory-hero__svg,
.ml-animated-container--static .ml-advisory-hero__dash,
.ml-animated-container--static .ml-animated-container__custom-svg svg,
.ml-animated-container--static .ml-animated-container__custom-svg * {
    animation: none !important;
    transition: none !important;
}

.ml-ai-prompt,
.ml-ai-prompt * {
    box-sizing: border-box;
}

.ml-ai-prompt {
    position: relative;
    width: min(1040px, 100%);
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 240, 229, 0.93)),
        #fbf7ef;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.36),
        0 0 0 7px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.ml-ai-prompt::after {
    content: "";
    position: absolute;
    inset: auto 12% 0 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 196, 170, 0.9), transparent);
    pointer-events: none;
}

.ml-ai-prompt__button {
    flex: 0 0 auto;
    min-width: 238px;
    min-height: 82px;
    padding: 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-right: 1px solid rgba(87, 66, 61, 0.18);
    border-radius: 999px 0 0 999px;
    background: #c9897e;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.ml-ai-prompt__button:hover,
.ml-ai-prompt__button:focus {
    background: #b7776e;
}

.ml-ai-prompt__button-mark,
.ml-ai-prompt__field-mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ml-ai-prompt__button-mark {
    width: 30px;
    height: 30px;
}

.ml-ai-prompt__button-mark svg,
.ml-ai-prompt__field-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ml-ai-prompt__button-mark path,
.ml-ai-prompt__field-mark path {
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linejoin: round;
}

.ml-ai-prompt__field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.ml-ai-prompt__field input,
.ml-ai-prompt__field textarea {
    width: 100%;
    height: 100%;
    min-height: 82px;
    padding: 0 86px 0 42px;
    border: 0;
    outline: 0;
    resize: none;
    background: transparent;
    color: #2a2b2d;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
}

.ml-ai-prompt--textarea .ml-ai-prompt__field textarea {
    padding-top: 27px;
}

.ml-ai-prompt__field input::placeholder,
.ml-ai-prompt__field textarea::placeholder {
    color: rgba(71, 70, 68, 0.66);
    font-style: normal;
    font-weight: 500;
}

.ml-ai-prompt__field-mark {
    position: absolute;
    top: 50%;
    right: 34px;
    width: 34px;
    height: 34px;
    color: rgba(201, 152, 121, 0.58);
    transform: translateY(-50%);
    pointer-events: none;
}

@keyframes mlHeroOrbitDrift {
    from { transform: translate3d(-12px, 8px, 0) rotate(-2deg); }
    to { transform: translate3d(18px, -10px, 0) rotate(2deg); }
}

@keyframes mlHeroScaleBreathe {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.3; }
    50% { transform: translate3d(0, -8px, 0); opacity: 0.44; }
}

@keyframes mlHeroCircuitFloat {
    from { transform: translate3d(18px, 0, 0); opacity: 0.24; }
    to { transform: translate3d(-8px, 12px, 0); opacity: 0.4; }
}

@keyframes mlHeroDocumentFloat {
    from { transform: translate3d(18px, -6px, 0) rotate(5deg); }
    to { transform: translate3d(-8px, 10px, 0) rotate(2deg); }
}

@keyframes mlHeroWaveFlow {
    from { transform: translate3d(-18px, 0, 0) scaleX(1.02); }
    to { transform: translate3d(18px, -8px, 0) scaleX(1.04); }
}

@keyframes mlHeroDash {
    to { stroke-dashoffset: -180; }
}

@media (max-width: 900px) {
    .ml-animated-container .ml-advisory-hero__svg--scales {
        left: -6%;
        top: 18%;
        opacity: 0.26;
    }

    .ml-animated-container .ml-advisory-hero__svg--documents {
        right: -18%;
        opacity: 0.23;
    }

    .ml-animated-container .ml-advisory-hero__svg--circuit {
        right: -22%;
        opacity: 0.24;
    }

    .ml-ai-prompt {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 560px);
        min-height: 0;
        border-radius: 30px;
    }

    .ml-ai-prompt__button {
        order: 2;
        width: 100%;
        min-width: 0;
        min-height: 62px;
        border-right: 0;
        border-top: 1px solid rgba(86, 62, 51, 0.18);
        border-radius: 0 0 28px 28px;
        font-size: 17px;
    }

    .ml-ai-prompt__field {
        order: 1;
    }

    .ml-ai-prompt__field input,
    .ml-ai-prompt__field textarea {
        min-height: 64px;
        padding: 0 60px 0 22px;
        font-size: 15px;
    }

    .ml-ai-prompt--textarea .ml-ai-prompt__field textarea {
        padding-top: 22px;
    }

    .ml-ai-prompt__field-mark {
        right: 22px;
        width: 27px;
        height: 27px;
    }
}

@media (max-width: 520px) {
    .ml-ai-prompt {
        border-radius: 24px;
    }

    .ml-ai-prompt__button {
        border-radius: 0 0 22px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ml-animated-container .ml-advisory-hero__svg,
    .ml-animated-container .ml-advisory-hero__dash,
    .ml-animated-container .ml-animated-container__custom-svg svg,
    .ml-animated-container .ml-animated-container__custom-svg * {
        animation: none !important;
        transition: none !important;
    }
}
