html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.navbar {
    min-height: 72px;
}

.navbar-brand {
    letter-spacing: 1px;
    color: #0d3b66 !important;
    font-weight: 800;
}

.nav-link {
    font-weight: 500;
    color: #4b5563 !important;
}

    .nav-link:hover {
        color: #0d6efd !important;
    }

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, .25);
}

main {
    min-height: calc(100vh - 72px);
}

.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
}

.card {
    border: 0;
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12);
    }

.bg-primary {
    background: linear-gradient(135deg, #0d3b66, #0d6efd) !important;
}

input.form-control,
select.form-control,
textarea.form-control {
    border-radius: .75rem;
}

input.form-control,
button.btn-primary {
    min-height: 45px;
}

button.btn-primary {
    font-weight: 600;
}

.footer {
    width: 100%;
    background: #111827 !important;
    color: #ffffff;
}

    .footer a {
        color: rgba(255,255,255,.85);
    }

        .footer a:hover {
            color: #ffffff;
        }

    .footer .text-muted {
        color: rgba(255,255,255,.55) !important;
    }
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    width: 100%;
    height: 90vh;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.35) 100% );
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

.navbar-brand img {
    height: 65px;
    width: auto;
}


.gallery-thumb {
    width: 130px;
    height: 78px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    background: #fff;
}

.table thead th {
    color: var(--munera-primary);
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    white-space: nowrap;
}

.table tbody td {
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 180, 176, .04);
}

/* ADMIN TABLE ACTION BUTTONS */
.admin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-admin-sm {
    border-radius: 999px;
    padding: 6px 14px !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-admin-edit {
    color: var(--munera-primary) !important;
    border: 1px solid var(--munera-primary) !important;
    background: transparent !important;
}

    .btn-admin-edit:hover {
        color: #fff !important;
        background: var(--munera-primary) !important;
    }

.btn-admin-toggle {
    color: var(--munera-accent) !important;
    border: 1px solid var(--munera-accent) !important;
    background: transparent !important;
}

    .btn-admin-toggle:hover {
        color: #fff !important;
        background: var(--munera-accent) !important;
    }

.btn-admin-danger {
    color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
    background: transparent !important;
}

    .btn-admin-danger:hover {
        color: #fff !important;
        background: #dc3545 !important;
    }

.gallery-thumb {
    width: 130px;
    height: 78px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    background: #fff;
}

.admin-table thead th {
    color: var(--munera-primary);
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    white-space: nowrap;
}

.admin-table tbody td {
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background-color: rgba(0, 180, 176, .05);
}

.gallery-preview-box {
    width: 100%;
    min-height: 260px;
    border: 1px dashed rgba(11, 29, 58, .25);
    border-radius: 18px;
    background: rgba(0, 180, 176, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-preview-icon {
    color: var(--munera-primary);
    text-align: center;
    opacity: .7;
}

    .gallery-preview-icon i {
        display: block;
        font-size: 46px;
        margin-bottom: 8px;
        color: var(--munera-accent);
    }

    .gallery-preview-icon span {
        font-weight: 600;
    }

.gallery-preview-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.settings-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.color-control {
    display: flex;
    gap: 10px;
    align-items: center;
}

.color-picker {
    width: 54px !important;
    min-width: 54px;
    height: 42px;
    padding: 5px;
    border-radius: 12px;
}

.site-logo-preview-box {
    width: 100%;
    min-height: 120px;
    border: 1px dashed rgba(11, 29, 58, .25);
    border-radius: 18px;
    background: rgba(0, 180, 176, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px;
}

.site-logo-preview-img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    display: block;
}

.team-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    background: #fff;
}

.team-thumb-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(0, 180, 176, .08);
    color: var(--munera-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 1px solid rgba(0, 0, 0, .06);
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 32px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    z-index: 9999;
    transition: all 0.25s ease;
}

    .whatsapp-float:hover {
        color: #fff;
        transform: translateY(-4px) scale(1.04);
        box-shadow: 0 16px 38px rgba(37, 211, 102, 0.45);
    }

@media (max-width: 768px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

.product-card {
    transition: all 0.25s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12) !important;
    }

.product-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(13, 110, 253, 0.10);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.team-card {
    transition: all 0.25s ease;
}

    .team-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12) !important;
    }

.team-img {
    height: 320px;
    object-fit: cover;
    object-position: center;
}

.team-placeholder {
    height: 320px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(20, 184, 166, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 82px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 16px;
    background: rgba(13, 110, 253, 0.10);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-hero {
    background: radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 30%), linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.clients-section {
    background: #ffffff;
}

.client-logo-card {
    min-height: 120px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: all 0.25s ease;
}

    .client-logo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
    }

.client-logo-img {
    max-width: 160px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.25s ease;
}

.client-logo-card:hover .client-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}