:root {
    --bg: #07111f;
    --surface: #0f1d32;
    --surface-soft: #142742;
    --primary: #1696ff;
    --primary-dark: #0f6ebd;
    --accent: #10b981;
    --text: #e8f1ff;
    --muted: #9ab0ca;
    --border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top right, rgba(22, 150, 255, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12), transparent 24%),
        linear-gradient(180deg, #08101b 0%, #0b1628 100%);
    color: var(--text);
}

h1, h2, h3, h4, .navbar-brand, .admin-brand {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
}

.site-navbar, .site-footer, .admin-sidebar, .table-card, .auth-card, .contact-card, .glass-card, .feature-card, .product-card, .testimonial-card, .benefit-card, .admin-stat, .map-card {
    backdrop-filter: blur(12px);
    background: rgba(15, 29, 50, 0.78);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.site-navbar {
    background: rgba(7, 17, 31, 0.88);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
}

.brand-logo-wrap {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    flex: 0 0 44px;
}

.brand-logo {
    width: 92px;
    height: 92px;
    object-fit: cover;
    object-position: center;
    transform: translateY(-4px);
    filter: drop-shadow(0 0 18px rgba(22, 150, 255, 0.28));
}

.brand-mark-admin {
    margin-bottom: .75rem;
}

.brand-logo-wrap-admin {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
}

.brand-logo-admin {
    width: 104px;
    height: 104px;
}

.navbar .nav-link, .admin-sidebar .nav-link {
    color: #dbe8ff;
}

.navbar .nav-link.active, .admin-sidebar .nav-link.active, .navbar .nav-link:hover, .admin-sidebar .nav-link:hover {
    color: white;
}

.hero-section, .inner-hero {
    padding: 7rem 0 5rem;
}

.hero-section h1, .inner-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.02;
    font-weight: 800;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: .12em;
    color: #83c5ff;
    margin-bottom: 1rem;
}

.glass-card, .contact-card, .table-card, .auth-card, .feature-card, .product-card, .testimonial-card, .benefit-card, .admin-stat, .map-card {
    border-radius: 1.25rem;
    padding: 1.5rem;
}

.product-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 1rem;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.25rem;
    backdrop-filter: blur(12px);
    background: rgba(15, 29, 50, 0.78);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.service-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-card-body {
    padding: 1.35rem 1.35rem .5rem;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(22, 150, 255, 0.22), rgba(16, 185, 129, 0.18));
}

.service-card-icon i {
    font-size: 1.5rem;
    color: #9fd8ff;
}

.service-card-footer {
    padding: 0 1.35rem 1.35rem;
}

.portfolio-card {
    height: 100%;
    overflow: hidden;
    border-radius: 1.25rem;
    backdrop-filter: blur(12px);
    background: rgba(15, 29, 50, 0.78);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.portfolio-card-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.portfolio-card-body {
    padding: 1.35rem;
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary);
}

.badge-soft {
    display: inline-flex;
    background: rgba(22, 150, 255, 0.15);
    color: #8fd0ff;
    border: 1px solid rgba(22, 150, 255, 0.2);
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .85rem;
}

.section-dark {
    background: rgba(5, 10, 19, 0.35);
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2 {
    max-width: 700px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.stat-item:last-child {
    border-bottom: 0;
}

.testimonial-card span, .text-secondary, p {
    color: var(--muted) !important;
}

.site-footer {
    margin-top: 3rem;
    padding: 3rem 0;
}

.social-links {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    color: #dff1ff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    color: white;
    background: rgba(22, 150, 255, 0.22);
}

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, #2ad16f, #119d48);
    box-shadow: 0 20px 40px rgba(17, 157, 72, .35);
    font-size: 1.5rem;
    text-decoration: none;
}

.contact-card .form-control, .contact-card .form-select, .table-card .form-control, .table-card .form-select, .auth-card .form-control {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
    color: var(--text);
}

.form-control::placeholder {
    color: #7e97b5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 0;
}

.admin-body, .auth-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #08101b, #101b2d);
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-brand {
    font-size: 1.4rem;
    font-weight: 800;
}

.auth-logo {
    width: 168px;
    height: 168px;
    filter: drop-shadow(0 0 24px rgba(22, 150, 255, 0.35));
}

.auth-logo-wrap {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    flex-basis: 84px;
}

.admin-content {
    padding: 2rem;
}

.admin-stat {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.admin-stat strong {
    font-size: 2rem;
}

.quote-summary {
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .45rem 0;
}

.summary-line.total {
    margin-top: .5rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
    font-size: 1.1rem;
}

.autocomplete-field {
    position: relative;
}

.autocomplete-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 25;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    background: #0f1d32;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: .85rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.autocomplete-menu.show {
    display: block;
}

.autocomplete-option {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: #e8f1ff;
    text-align: left;
    padding: .8rem .9rem;
    font-size: .92rem;
}

.autocomplete-option:hover {
    background: rgba(22, 150, 255, 0.15);
}

.table {
    color: var(--text);
}

.map-card iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .brand-logo-wrap {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .brand-logo {
        width: 80px;
        height: 80px;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        gap: 1rem;
    }

    .hero-section, .inner-hero {
        padding: 5rem 0 3rem;
    }
}
