/* Explain: Styles for brand mark, chips, icon badges, cards, and mobile bar. */
.brand-mark {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--primary-color) 32%, transparent);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid color-mix(in srgb, var(--primary-color) 42%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 16%, transparent);
    color: color-mix(in srgb, var(--primary-color) 55%, var(--secondary-color));
    font-size: 0.78rem;
    font-weight: 800;
}

.chip-dark {
    color: var(--accent-color);
    background: color-mix(in srgb, var(--primary-color) 14%, transparent);
    border-color: color-mix(in srgb, var(--primary-color) 42%, transparent);
}

.icon-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    background: color-mix(in srgb, var(--primary-color) 14%, transparent);
    color: var(--primary-color);
    font-size: 1.05rem;
}

.info-card,
.credential-card,
.contact-card {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.service-card {
    border: 1px solid color-mix(in srgb, var(--primary-color) 22%, transparent);
    border-radius: 1.5rem;
    background: linear-gradient(155deg, color-mix(in srgb, var(--primary-color) 12%, var(--secondary-color)), var(--secondary-color));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.info-card:hover,
.credential-card:hover,
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--primary-color) 50%, transparent);
}

.photo-frame {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.site-header.is-scrolled {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.fixed-bar {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 60;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--surface-color) 95%, transparent);
    backdrop-filter: blur(14px);
}

.animate-rise {
    animation: rise-in 700ms ease both;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-rise {
        animation: none;
    }
}

@media (min-width: 1024px) {
    .fixed-bar {
        display: none;
    }
}