/* Explain: Reusable UI component styles. */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.header-glass {
    background: color-mix(in srgb, var(--cream-color) 90%, transparent);
}

.hero-cinematic {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.logo-badge {
    border-radius: 1rem;
}

.bubble-orb {
    position: absolute;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 22%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary-color) 40%, transparent);
    animation: bubbleDrift 7s ease-in-out infinite;
}

.bubble-orb:nth-child(2n) {
    animation-delay: -2s;
}

.bubble-orb:nth-child(3n) {
    animation-delay: -4s;
}

.bubble-icon {
    animation: iconWiggle 3.4s ease-in-out infinite;
    transform-origin: center;
}

.ivory-panel {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: color-mix(in srgb, var(--surface-color) 92%, transparent);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.service-card,
.benefit-card,
.timeline-card,
.faq-card,
.gallery-card {
    border: 1px solid var(--border-color);
    border-radius: 1.75rem;
    background: color-mix(in srgb, var(--surface-color) 92%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.service-card:hover,
.benefit-card:hover,
.timeline-card:hover,
.faq-card:hover,
.gallery-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--primary-color) 60%, transparent);
}

.review-card {
    border: 1px solid color-mix(in srgb, #ffffff 16%, transparent);
    border-radius: 1.75rem;
    background: color-mix(in srgb, #ffffff 8%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.review-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--secondary-color) 70%, transparent);
    background: color-mix(in srgb, #ffffff 12%, transparent);
}

.service-dot {
    display: inline-flex;
    height: 3.25rem;
    width: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    background: color-mix(in srgb, var(--primary-color) 22%, var(--cream-color));
    color: var(--text-color);
}

.faq-card summary {
    list-style: none;
}

.faq-card summary::-webkit-details-marker {
    display: none;
}

.faq-card[open] .faq-chevron {
    transform: rotate(180deg);
}

.form-status {
    display: none;
}

.form-status.success {
    display: block;
    border: 1px solid color-mix(in srgb, var(--primary-color) 50%, transparent);
    background: color-mix(in srgb, var(--primary-color) 16%, transparent);
    color: var(--text-color);
}

.form-status.error {
    display: block;
    border: 1px solid color-mix(in srgb, var(--accent-color) 48%, transparent);
    background: color-mix(in srgb, var(--accent-color) 14%, transparent);
    color: var(--text-color);
}

.floating-wa {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 950;
    box-shadow: 0 1.2rem 3rem color-mix(in srgb, var(--charcoal-color) 32%, transparent);
}

#layanan,
#keunggulan,
#ulasan,
#faq,
#kontak {
    scroll-margin-top: 6rem;
}

@keyframes bubbleDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0.8rem, -1rem, 0) scale(1.06);
    }
}

@keyframes iconWiggle {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }
    35% {
        transform: rotate(-7deg) scale(1.07);
    }
    70% {
        transform: rotate(6deg) scale(1.03);
    }
}

@media (max-width: 640px) {
    .floating-wa {
        right: 0.85rem;
        bottom: 0.85rem;
    }
}