/* Explain: Styles for UI components like cards, buttons, and input fields. */
.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.82rem;
    font-weight: 700;
}

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

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

.media-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.media-frame-tall {
    height: min(70vh, 620px);
    min-height: 440px;
}

.media-frame-soft {
    height: 520px;
    min-height: 400px;
    max-width: 440px;
}

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

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

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

.service-card {
    border-radius: 2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    border-color: rgba(88, 129, 87, 0.5);
    box-shadow: 0 26px 70px rgba(31, 46, 35, 0.12);
    transform: translateY(-6px);
}

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

.advantage-item {
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.55);
    padding: 1.75rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.advantage-item:hover {
    border-color: rgba(88, 129, 87, 0.5);
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.advantage-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.stat-value {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
}

.step-card {
    border-radius: 2rem;
    padding: 1.8rem;
}

.step-number {
    display: inline-flex;
    min-width: 2.6rem;
    height: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
}

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

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

.form-status.success {
    color: #4A6B53;
}

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

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

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

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 46px rgba(37, 211, 102, 0.55);
}

@media (max-width: 1023px) {
    .whatsapp-float {
        bottom: calc(5.75rem + env(safe-area-inset-bottom));
    }
}

.contact-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(31, 46, 35, 0.35);
    padding: 1rem;
}

.contact-overlay.is-open {
    display: block;
}

.contact-overlay-panel {
    min-height: calc(100vh - 2rem);
    border-radius: 2.4rem;
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(31, 46, 35, 0.22);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

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

    .media-frame-tall,
    .media-frame-soft {
        height: 420px;
        min-height: 0;
    }

    .media-frame-soft {
        max-width: 100%;
    }
}