/* Explain: Styles for UI components like cards, buttons, forms, and layout elements. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.9), rgba(250, 249, 246, 0.6));
    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: 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.82), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.image-frame {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.image-frame-portrait {
    height: min(66vh, 620px);
    min-height: 420px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.hero-stat {
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 1rem 0.6rem;
    text-align: center;
}

.hero-stat strong {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-stat span {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.72);
    padding: 1.75rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

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

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

.profession-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 100%;
    min-height: 8.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: rgba(250, 249, 246, 0.72);
    padding: 1.25rem 0.75rem;
    text-align: center;
    color: var(--text-color);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.profession-tile:hover {
    border-color: rgba(88, 129, 87, 0.55);
    box-shadow: 0 22px 55px rgba(31, 46, 35, 0.12);
    transform: translateY(-4px);
}

.profession-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1.1rem;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.4rem;
}

.profession-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .profession-tile:hover {
        transform: none;
    }
}

.step-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.72);
    padding: 2rem 1.75rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.1rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--background-color);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.feature-item {
    display: flex;
    gap: 1rem;
    height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 1.4rem;
}

.feature-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: var(--terracotta-soft);
    color: var(--sage-dark);
    font-size: 1.15rem;
}

.craftsman-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: rgba(250, 249, 246, 0.75);
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.craftsman-card:hover {
    box-shadow: 0 26px 70px rgba(31, 46, 35, 0.14);
    transform: translateY(-6px);
}

.craftsman-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.4rem 0.85rem;
    color: var(--sage-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.72);
    padding: 1.75rem;
}

.testimonial-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--background-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.request-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: #4A6B53;
}

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

.mobile-cta-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.9);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.whatsapp-float {
    position: fixed;
    inset-inline-start: 1.25rem;
    bottom: calc(5.75rem + env(safe-area-inset-bottom));
    z-index: 46;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 3.25rem;
    border-radius: 999px;
    background: var(--whatsapp-color);
    padding: 0.75rem 1.25rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.4);
    transition: transform 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.whatsapp-float:hover {
    background: var(--whatsapp-hover);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.5);
    transform: translateY(-3px);
}

.whatsapp-float i {
    font-size: 1.5rem;
    line-height: 1;
}

.whatsapp-float.is-hidden {
    opacity: 0;
    transform: translateY(1.5rem);
    pointer-events: none;
}

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

@media (max-width: 400px) {
    .whatsapp-float-label {
        display: none;
    }

    .whatsapp-float {
        padding: 0.75rem;
    }
}

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

    .image-frame-portrait {
        height: 420px;
        min-height: 340px;
    }

    .service-card:hover,
    .craftsman-card:hover {
        transform: none;
    }
}