:root {
    --color-primary: #0055da;
    --color-secondary: #ff0052;
    --color-accent: #ffd400;
    --color-success: #00c68d;
    --color-dark: #081225;
    --color-surface: #0d1a31;
    --color-light: #f6f9ff;
    --color-muted: #7b8ba7;
    --shadow-soft: 0 18px 50px rgba(7, 24, 56, 0.12);
    --shadow-strong: 0 30px 80px rgba(5, 16, 36, 0.35);
    --radius-xl: 28px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: #10203a;
    background: linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.02em;
    font-weight: 800;
    line-height: 1.15;
}

a {
    text-decoration: none;
}

.site-loader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 16px;
    color: white;
    background: radial-gradient(circle at top, rgba(0, 85, 218, 0.9), rgba(8, 18, 37, 0.96));
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.site-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 78px;
    height: 78px;
    border: 5px solid rgba(255, 255, 255, 0.16);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
    background: linear-gradient(180deg, rgba(8, 18, 37, 0.92) 0%, rgba(8, 18, 37, 0.3) 100%);
    backdrop-filter: blur(14px);
}

header.site-header > nav.navbar {
    color: inherit;
    box-sizing: content-box;
}

.navbar-brand {
    color: #fff;
}

.navbar-brand small,
.navbar-brand strong {
    display: block;
    line-height: 1.1;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 108px;
    padding: 6px 10px;
    border-radius: 20px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

header.site-header > nav.navbar > div.container > a.navbar-brand > span.brand-mark {
    border-radius: 0;
    background: transparent;
    background-color: transparent;
    padding-top: 0;
    padding-bottom: 0;
}

.brand-logo {
    width: auto;
    height: 54px;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.footer-brand .brand-mark {
    min-width: 118px;
    padding: 8px 12px;
}

.footer-brand .brand-logo {
    height: 58px;
    max-width: 180px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
    color: #fff;
}

.btn-brand {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: 0;
    color: #fff;
    box-shadow: 0 14px 34px rgba(0, 85, 218, 0.28);
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-1px);
}

.hero-section,
.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-section {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 212, 0, 0.18), transparent 20%),
        radial-gradient(circle at 80% 18%, rgba(255, 0, 82, 0.22), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(0, 198, 141, 0.16), transparent 26%),
        linear-gradient(120deg, #041024 0%, #0b1e41 52%, #102a57 100%);
}

.hero-video,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
}

.hero-overlay {
    background:
        radial-gradient(circle at top left, rgba(255, 212, 0, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 0, 82, 0.2), transparent 28%),
        linear-gradient(120deg, rgba(4, 15, 34, 0.94), rgba(8, 27, 61, 0.62));
}

.eyebrow-pill,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.section-kicker {
    color: var(--color-primary);
    background: rgba(0, 85, 218, 0.08);
}

.hero-section h1,
.page-hero h1 {
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.96;
    margin: 24px 0 18px;
}

.hero-subtitle,
.page-hero p {
    max-width: 640px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero-card,
.glass-panel,
.stack-card,
.content-panel,
.branch-card,
.gallery-card,
.article-card,
.service-card,
.feature-card,
.consult-card,
.testimonial-card,
.admin-panel,
.admin-stat-card {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px;
    backdrop-filter: blur(20px);
}

.hero-card-header,
.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-card-header p,
.service-card-top span {
    margin: 0;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 0 7px rgba(0, 198, 141, 0.18);
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.hero-stats-grid article {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-stats-grid strong {
    display: block;
    font-size: 2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(255, 255, 255, 0.84);
}

.section-shell {
    padding: 96px 0;
}

.dark-shell {
    background: linear-gradient(180deg, #081225 0%, #101d38 100%);
    color: #fff;
}

.dark-shell .section-kicker {
    color: var(--color-accent);
    background: rgba(255, 212, 0, 0.08);
}

.section-head {
    max-width: 760px;
    text-align: center;
    margin: 0 auto 40px;
}

.section-head h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    margin-top: 18px;
}

.feature-card,
.service-card,
.gallery-card,
.article-card,
.branch-card,
.stack-card,
.content-panel,
.consult-card,
.glass-panel {
    background: #fff;
    padding: 28px;
}

.dark-shell .service-card,
.dark-shell .testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(14px);
}

.feature-card i,
.service-icon,
.branch-badge,
.article-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-card i,
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 85, 218, 0.1), rgba(255, 0, 82, 0.1));
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.service-card h3,
.feature-card h3,
.article-card h3,
.gallery-card h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.service-card,
.feature-card,
.article-card,
.gallery-card,
.branch-card {
    height: 100%;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover,
.feature-card:hover,
.article-card:hover,
.gallery-card:hover,
.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.service-link {
    color: var(--color-accent);
    font-weight: 700;
}

.service-card-light .service-link {
    color: var(--color-primary);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.timeline-item {
    position: relative;
    min-height: 108px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    background: linear-gradient(135deg, rgba(0, 85, 218, 0.08), rgba(255, 0, 82, 0.08));
    border-radius: 24px;
    font-weight: 700;
}

.requirement-result {
    min-height: 132px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(0, 85, 218, 0.05);
}

.requirement-result ul {
    margin: 0;
    padding-left: 18px;
}

.consult-card {
    background: linear-gradient(145deg, #0d1a31, #1a2d52);
    color: #fff;
}

.testimonial-card {
    padding: 40px;
    min-height: 320px;
    display: grid;
    place-items: center;
    text-align: center;
}

.stars {
    color: var(--color-accent);
    margin-bottom: 16px;
}

.article-badge,
.branch-badge {
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(0, 85, 218, 0.08);
    color: var(--color-primary);
}

.gallery-media {
    min-height: 180px;
    border-radius: 22px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(0, 85, 218, 0.16), rgba(255, 212, 0, 0.2));
    font-weight: 800;
}

.page-hero {
    padding: 180px 0 88px;
    background:
        radial-gradient(circle at top right, rgba(255, 212, 0, 0.16), transparent 26%),
        radial-gradient(circle at top left, rgba(255, 0, 82, 0.14), transparent 22%),
        linear-gradient(180deg, #071125 0%, #0f1f3b 100%);
}

.page-hero.compact h1 {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.faq-accordion .accordion-item {
    border: 0;
    border-radius: 22px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-accordion .accordion-button {
    font-weight: 700;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(0, 85, 218, 0.06);
    color: var(--color-primary);
}

.map-panel iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.site-footer {
    padding: 72px 0 28px;
    color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(180deg, #081225, #040b17);
}

.footer-brand {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.site-footer h6,
.site-footer h5 {
    color: #fff;
}

.footer-contact {
    display: block;
    color: #fff;
    margin-bottom: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: grid;
    gap: 12px;
    z-index: 300;
}

.floating-btn {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.floating-btn.wa { background: #25d366; }
.floating-btn.phone { background: var(--color-primary); }
.floating-btn.chat { background: var(--color-secondary); }
.floating-btn.top { background: var(--color-dark); }

.cta-shell {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
}

.bullet-list {
    padding-left: 18px;
}

.content-panel,
.stack-card,
.glass-panel {
    border: 1px solid rgba(16, 32, 58, 0.06);
}

.admin-auth-body,
.admin-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #071125, #10203a);
    color: #fff;
}

.admin-auth-wrapper {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-auth-card {
    width: min(100%, 480px);
    padding: 36px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-strong);
}

.admin-auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 84px;
    padding: 10px 14px;
    border-radius: 22px;
    background: transparent;
    border: 0;
    margin-bottom: 18px;
}

.admin-auth-logo .brand-logo {
    height: 64px;
    max-width: 180px;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.admin-auth-card .text-muted,
.admin-auth-card .small {
    color: rgba(255, 255, 255, 0.78) !important;
}

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

.admin-sidebar {
    padding: 24px;
    background: rgba(2, 8, 20, 0.54);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    color: #fff;
    margin-bottom: 28px;
}

.admin-brand .brand-mark {
    min-width: 108px;
    padding: 7px 10px;
}

.admin-brand .brand-logo {
    height: 50px;
    max-width: 150px;
}

.admin-nav {
    display: grid;
    gap: 10px;
}

.admin-nav a {
    color: rgba(255, 255, 255, 0.72);
    padding: 12px 16px;
    border-radius: 16px;
}

.admin-nav a.active,
.admin-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.admin-content {
    padding: 28px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
}

.admin-userbox {
    display: flex;
    gap: 14px;
    align-items: center;
}

.admin-panel,
.admin-stat-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-stat-card strong {
    display: block;
    font-size: 2.4rem;
    color: var(--color-accent);
}

.admin-table {
    color: #fff;
}

.admin-table thead th {
    color: rgba(255, 255, 255, 0.65);
}

.fake-chart {
    display: flex;
    align-items: end;
    gap: 14px;
    height: 220px;
    margin-top: 20px;
}

.fake-chart span {
    flex: 1;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, var(--color-accent), var(--color-secondary));
}

.form-control,
.form-select {
    border-radius: 18px;
    padding: 0.9rem 1rem;
    border-color: rgba(16, 32, 58, 0.12);
}

.service-time {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 212, 0, 0.12);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .brand-mark,
    .footer-brand .brand-mark,
    .admin-brand .brand-mark,
    .admin-auth-logo {
        min-width: 96px;
    }

    .brand-logo,
    .footer-brand .brand-logo,
    .admin-brand .brand-logo {
        height: 46px;
        max-width: 140px;
    }

    .section-shell {
        padding: 72px 0;
    }

    .timeline-grid,
    .hero-stats-grid,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }

    .floating-actions {
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        gap: 12px !important;
    }

    .brand-mark,
    .footer-brand .brand-mark,
    .admin-brand .brand-mark,
    .admin-auth-logo {
        min-width: 84px;
        padding: 6px 8px;
    }

    .brand-logo,
    .footer-brand .brand-logo,
    .admin-brand .brand-logo {
        height: 40px;
        max-width: 124px;
    }

    .admin-auth-logo .brand-logo {
        height: 52px;
        max-width: 150px;
    }

    .hero-section h1,
    .page-hero h1 {
        font-size: 2.8rem;
    }

    .footer-bottom,
    .hero-trust,
    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card,
    .feature-card,
    .service-card,
    .article-card,
    .gallery-card,
    .stack-card,
    .content-panel,
    .branch-card,
    .glass-panel {
        padding: 22px;
    }
}
