/* Explain: Global styles for various UI components and elements. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(250, 249, 246, 0.62));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.85rem;
    font-weight: 700;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 2px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.8), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(162, 28, 160, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(74vh, 720px);
    min-height: 500px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 600px;
    max-width: 440px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.quiet-detail,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    margin-bottom: 0.9rem;
    border-radius: 0.8rem;
    background: var(--sage-soft);
    color: var(--accent-color);
    font-size: 0.9rem;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.8rem;
    padding: 1.9rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    border-color: rgba(162, 28, 160, 0.5);
    box-shadow: 0 26px 80px rgba(62, 10, 82, 0.11);
    transform: translateY(-6px);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1.1rem;
    background: var(--sage-soft);
    color: var(--accent-color);
    font-size: 1.35rem;
}

.gallery-item {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    transition: transform 500ms ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.testimonial-card {
    border-radius: 1.8rem;
    padding: 1.9rem;
}

.contact-form {
    border-radius: 2.4rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.form-status.success {
    color: var(--primary-color);
}

.form-status.error {
    color: #9B4A3D;
}

.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    gap: 0.6rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(250, 249, 246, 0.9);
    padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium {
        height: 480px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-inline: auto;
        width: min(100%, 440px);
    }

    .arch-frame-medium {
        margin-inline: auto;
    }
}

.whatsapp-float {
    position: fixed;
    left: 1.25rem;
    bottom: calc(5.75rem + env(safe-area-inset-bottom));
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: #25D366;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.42);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.whatsapp-float i {
    font-size: 1.4rem;
}

.whatsapp-float:hover {
    box-shadow: 0 22px 52px rgba(37, 211, 102, 0.55);
    transform: translateY(-4px) scale(1.06);
}

.whatsapp-float:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .whatsapp-float {
        bottom: 1.75rem;
    }
}

.gallery-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 1.4rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transition: background 300ms ease, color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.gallery-filter-btn:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.gallery-filter-btn-active {
    border-color: transparent;
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-button);
}

.gallery-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}