/* Explain: Styles for reusable components like cards, buttons, and form elements. */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-hover);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.5rem 0.9rem;
}

.info-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
}

.hero-media-frame {
    border: 10px solid var(--white-color);
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.stat-pill {
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(15, 46, 29, 0.1);
    padding: 1rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
    border-color: rgba(21, 128, 61, 0.45);
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.service-icon {
    display: grid;
    place-items: center;
    height: 3.25rem;
    width: 3.25rem;
    border-radius: 1rem;
    background: var(--surface-strong);
    color: var(--primary-hover);
    font-size: 1.15rem;
}

.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    padding: 0;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

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

.gallery-tag {
    position: absolute;
    inset-block-start: 0.75rem;
    inset-inline-start: 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-hover);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
}

.gallery-caption {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    padding: 2.75rem 1rem 0.9rem;
    background: linear-gradient(to top, rgba(15, 46, 29, 0.9), rgba(15, 46, 29, 0));
    color: var(--white-color);
    font-size: 0.95rem;
    font-weight: 800;
    text-align: start;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(9, 24, 16, 0.9);
    backdrop-filter: blur(4px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-panel {
    position: relative;
    width: min(100%, 960px);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--secondary-color);
    box-shadow: var(--shadow-soft);
}

.lightbox-figure {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 18rem;
    padding: 0.75rem;
}

.lightbox-image {
    display: none;
    max-height: 74vh;
    width: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-image.is-loaded {
    display: block;
}

.lightbox-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 4rem 1rem;
    color: var(--white-color);
    font-weight: 700;
}

.lightbox-loader.is-hidden {
    display: none;
}

.lightbox-loader i {
    animation: lightbox-spin 1s linear infinite;
}

@keyframes lightbox-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.lightbox-close {
    position: absolute;
    inset-block-start: 0.75rem;
    inset-inline-start: 0.75rem;
    z-index: 2;
    display: grid;
    place-items: center;
    height: 2.75rem;
    width: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--secondary-color);
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.lightbox-close:hover {
    background: var(--accent-color);
    color: var(--white-color);
    transform: scale(1.05);
}

.lightbox-caption {
    padding: 0.9rem 1.1rem;
    background: rgba(15, 46, 29, 0.85);
    color: var(--white-color);
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
}

.reason-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.07);
    padding: 1.5rem;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.reason-card:hover {
    border-color: rgba(249, 115, 22, 0.6);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.reason-icon {
    display: grid;
    place-items: center;
    height: 3rem;
    width: 3rem;
    border-radius: 1rem;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 1.05rem;
}

.nav-link {
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.6rem 0.85rem;
    transition: background 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: var(--surface-color);
    color: var(--primary-hover);
}

.mobile-menu-panel {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-card);
}

.contact-input {
    min-height: 3.1rem;
    border-color: var(--border-color);
    background: var(--white-color);
}

.contact-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.14);
    outline: none;
}

.form-status {
    border-radius: 1rem;
    font-weight: 700;
    padding: 0.9rem 1rem;
}

.form-status.success {
    background: rgba(21, 128, 61, 0.12);
    color: var(--success-color);
}

.form-status.error {
    background: rgba(185, 28, 28, 0.1);
    color: var(--error-color);
}

.floating-actions {
    position: fixed;
    inset-inline-end: 1rem;
    inset-block-end: 1rem;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.floating-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    color: var(--white-color);
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(15, 46, 29, 0.28);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.floating-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 46, 29, 0.34);
}

.floating-action.call {
    background: var(--accent-color);
}

.floating-action.call:hover {
    background: var(--accent-hover);
}

.floating-action.whatsapp {
    background: var(--whatsapp-color);
}

@media (max-width: 767px) {
    .page-shell {
        padding-bottom: 0;
    }

    .floating-action {
        min-height: 3rem;
        padding: 0.7rem 0.95rem;
        font-size: 0.88rem;
    }
}