.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1050;
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 20px;
    border-radius: 12px;
    background: #fff;
    color: #1d1d1f;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__text {
    margin: 0;
    flex: 1 1 280px;
    font-size: 14px;
}

.cookie-consent__actions {
    display: flex;
    gap: 8px;
}

.cookie-consent__btn {
    border: 1px solid #1d1d1f;
    background: transparent;
    color: #1d1d1f;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
}

.cookie-consent__btn--primary {
    background: #1d1d1f;
    color: #fff;
}

.floating-chat {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1040;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-chat:hover {
    color: #fff;
    transform: scale(1.06);
}

/* Teks marquee beranda memakai <p> agar halaman hanya punya satu <h1>; tipografi disamakan dengan heading sebelumnya. */
.slide-text__scroll {
    line-height: 1.2;
}

/* Rasio gambar kartu mengikuti atribut width/height agar tidak menggeser layout saat gambar dimuat. */
.blog-card__image img,
.project-card__image img,
.team-card__image img,
.blog-card-three__image img,
.project-details__image img,
.service-details__thumbnail img {
    height: auto;
}

/* Placeholder bila foto opsional kosong. */
.project-card__image--empty,
.team-card__image--empty,
.team-details__image--empty {
    background: linear-gradient(180deg, var(--aigence-white2, #F1F3FF) 0%, rgba(var(--aigence-primary-rgb, 62, 93, 255), .18) 100%);
}

.project-card__image--empty {
    aspect-ratio: 370 / 520;
}

.team-card__image--empty {
    aspect-ratio: 370 / 388;
}

.team-details__image--empty {
    aspect-ratio: 500 / 688;
    border-radius: 20px;
}

.client-carousel__name {
    display: inline-block;
    font-weight: 700;
    opacity: .8;
}

/* Newsletter: kolom input tetap menjadi acuan posisi tombol meski checkbox persetujuan berada di dalam form. */
.newsletter__field {
    position: relative;
}

.newsletter__form .newsletter__check-box {
    margin-top: 15px;
}

.newsletter__check-box input[type=checkbox] {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.newsletter__check-box input[type=checkbox]:focus-visible + label span {
    outline: 2px solid var(--aigence-black, #0D1A42);
    outline-offset: 2px;
}

.newsletter__check-box input[aria-invalid=true] + label span {
    border-color: #c0192c;
}

.newsletter__form .cf-turnstile {
    margin-top: 15px;
}

.mc-form__response:empty {
    display: none;
}

.mc-message {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.mc-message.successed {
    color: var(--aigence-black, #0D1A42);
}

.mc-message.errored {
    color: #c0192c;
}

.site-flash {
    padding-top: 20px;
}

.site-flash .mc-message {
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--aigence-white2, #F1F3FF);
    margin-bottom: 0;
}
