:root {
    --bg: #edf6ff;
    --bg-glow-primary: rgba(2, 132, 199, 0.15);
    --bg-glow-accent: rgba(245, 158, 11, 0.15);
    --bg-glow-soft: rgba(255, 255, 255, 0.85);
    --surface: rgba(255, 255, 255, 0.96);
    --surface-strong: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.85);
    --surface-muted: rgba(248, 250, 252, 0.88);
    --border: rgba(18, 61, 102, 0.1);
    --border-soft: rgba(18, 61, 102, 0.08);
    --border-strong: rgba(15, 23, 42, 0.12);
    --ink: #0f172a;
    --muted: #5a718b;
    --primary: #0284c7;
    --primary-soft: #e0f2fe;
    --accent: #f59e0b;
    --accent-soft: #fef3c7;
    --shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.15);
    --nav-bg: rgba(255, 255, 255, 0.88);
    --nav-border: rgba(18, 61, 102, 0.08);
    --nav-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
    --footer-bg: rgba(255, 251, 247, 0.78);
    --input-bg: rgba(255, 255, 255, 0.9);
    --surface-panel: rgba(255, 255, 255, 0.88);
    --surface-chip: rgba(255, 255, 255, 0.8);
    --surface-chip-soft: rgba(248, 250, 252, 0.9);
    --placeholder-bg: rgba(248, 250, 252, 0.8);
    --theme-toggle-bg: rgba(255, 255, 255, 0.82);
    --theme-toggle-border: rgba(18, 61, 102, 0.1);
    --theme-toggle-shadow: 0 12px 24px rgba(23, 50, 77, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --bg-glow-primary: rgba(56, 189, 248, 0.15);
    --bg-glow-accent: rgba(251, 191, 36, 0.12);
    --bg-glow-soft: rgba(30, 41, 59, 0.6);
    --surface: rgba(30, 41, 59, 0.9);
    --surface-strong: rgba(30, 41, 59, 0.98);
    --surface-soft: rgba(30, 41, 59, 0.86);
    --surface-muted: rgba(30, 41, 59, 0.92);
    --surface-panel: rgba(30, 41, 59, 0.92);
    --surface-chip: rgba(30, 41, 59, 0.88);
    --surface-chip-soft: rgba(51, 65, 85, 0.9);
    --placeholder-bg: rgba(30, 41, 59, 0.9);
    --border: rgba(56, 189, 248, 0.18);
    --border-soft: rgba(56, 189, 248, 0.14);
    --border-strong: rgba(56, 189, 248, 0.24);
    --ink: #f8fafc;
    --muted: #94a3b8;
    --primary: #38bdf8;
    --primary-soft: rgba(2, 132, 199, 0.4);
    --accent: #fbbf24;
    --accent-soft: rgba(245, 158, 11, 0.3);
    --shadow: 0 20px 40px -10px rgba(2, 6, 23, 0.6);
    --nav-bg: rgba(15, 23, 42, 0.86);
    --nav-border: rgba(56, 189, 248, 0.14);
    --nav-shadow: 0 10px 30px rgba(2, 6, 23, 0.5);
    --footer-bg: rgba(15, 23, 42, 0.8);
    --input-bg: rgba(30, 41, 59, 0.92);
    --theme-toggle-bg: rgba(17, 33, 51, 0.88);
    --theme-toggle-border: rgba(143, 170, 199, 0.18);
    --theme-toggle-shadow: 0 14px 28px rgba(2, 6, 23, 0.28);
}

[data-theme="dark"] .custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(236,245,255,0.88)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="dark"] .brand-mark,
[data-theme="dark"] .qr-public-brand,
[data-theme="dark"] .install-step-item,
[data-theme="dark"] .install-qr-frame,
[data-theme="dark"] .stat-pill,
[data-theme="dark"] .tech-chip,
[data-theme="dark"] .public-chip,
[data-theme="dark"] .next-schedule-pill,
[data-theme="dark"] .mini-window,
[data-theme="dark"] .preview-card,
[data-theme="dark"] .meta-card,
[data-theme="dark"] .qr-link-panel,
[data-theme="dark"] .public-history-card,
[data-theme="dark"] .timer-panel,
[data-theme="dark"] .technician-choice-card,
[data-theme="dark"] .qr-scan-status,
[data-theme="dark"] .password-toggle-button,
[data-theme="dark"] .mobile-bottom-nav-shell {
    background: var(--surface-soft);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .hero-card,
[data-theme="dark"] .public-hero,
[data-theme="dark"] .feature-preview,
[data-theme="dark"] .panel-card,
[data-theme="dark"] .glass-card,
[data-theme="dark"] .service-highlight-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .promo-card,
[data-theme="dark"] .service-history-card,
[data-theme="dark"] .unit-summary-card,
[data-theme="dark"] .stats-card,
[data-theme="dark"] .schedule-card,
[data-theme="dark"] .empty-card,
[data-theme="dark"] .qr-card,
[data-theme="dark"] .company-metrics .metric-card,
[data-theme="dark"] .soft-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .trust-card,
[data-theme="dark"] .process-card,
[data-theme="dark"] .contact-panel,
[data-theme="dark"] .about-image-card,
[data-theme="dark"] .hero-visual-card,
[data-theme="dark"] .install-app-modal,
[data-theme="dark"] .install-qr-card,
[data-theme="dark"] .company-hero,
[data-theme="dark"] .maintenance-timer-card {
    background:
        radial-gradient(circle at top left, rgba(61, 130, 214, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 193, 94, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(11, 24, 38, 0.98), rgba(16, 35, 54, 0.96));
    border-color: var(--border);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .maintenance-timer-card.is-overdue {
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.22), transparent 24%),
        linear-gradient(135deg, rgba(42, 18, 26, 0.98), rgba(24, 18, 23, 0.96));
}

[data-theme="dark"] .maintenance-timer-card.is-soon {
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.2), transparent 24%),
        linear-gradient(135deg, rgba(50, 31, 12, 0.98), rgba(25, 20, 15, 0.96));
}

[data-theme="dark"] .header-wa-contact,
[data-theme="dark"] .install-modal-badge,
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .mobile-bottom-contact-icon {
    background: rgba(105, 183, 255, 0.12);
    border-color: rgba(105, 183, 255, 0.2);
    color: var(--primary);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] textarea,
[data-theme="dark"] .qr-link-group .form-control {
    background: var(--input-bg);
    color: var(--ink);
    border-color: rgba(143, 170, 199, 0.18);
}

[data-theme="dark"] .form-control::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: rgba(157, 178, 200, 0.72);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] textarea:focus {
    border-color: rgba(105, 183, 255, 0.45);
    box-shadow: 0 0 0 .25rem rgba(105, 183, 255, 0.14);
}

[data-theme="dark"] .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--ink);
    --bs-table-border-color: rgba(143, 170, 199, 0.12);
}

[data-theme="dark"] .table thead th,
[data-theme="dark"] .step-number,
[data-theme="dark"] .brand-subtitle,
[data-theme="dark"] .metric-label,
[data-theme="dark"] .install-step-item span,
[data-theme="dark"] .install-qr-caption {
    color: var(--muted);
}

[data-theme="dark"] .public-info-note {
    background: linear-gradient(135deg, rgba(18, 36, 58, 0.94), rgba(36, 31, 19, 0.92));
    border-color: rgba(105, 183, 255, 0.18);
}

[data-theme="dark"] .form-preview-image,
[data-theme="dark"] .detail-image,
[data-theme="dark"] .service-doc-image,
[data-theme="dark"] .public-unit-image,
[data-theme="dark"] .unit-table-thumb,
[data-theme="dark"] .image-placeholder {
    background: var(--placeholder-bg);
    border-color: rgba(143, 170, 199, 0.16);
}

[data-theme="dark"] .image-placeholder,
[data-theme="dark"] .timer-meta,
[data-theme="dark"] .timer-note,
[data-theme="dark"] .meta-card span {
    color: var(--muted);
}

[data-theme="dark"] .btn-light {
    background: rgba(20, 37, 56, 0.92);
    border-color: rgba(143, 170, 199, 0.18);
    color: var(--ink);
}

[data-theme="dark"] .btn-light:hover,
[data-theme="dark"] .btn-outline-secondary:hover,
[data-theme="dark"] .btn-outline-danger:hover {
    color: var(--ink);
}

[data-theme="dark"] .text-bg-light {
    background-color: rgba(143, 170, 199, 0.18) !important;
    color: var(--ink) !important;
}

[data-theme="dark"] .mobile-bottom-contact {
    background: linear-gradient(135deg, rgba(22, 71, 117, 0.62), rgba(83, 58, 18, 0.52));
    border-color: rgba(143, 170, 199, 0.16);
}

[data-theme="dark"] .mobile-bottom-contact-copy strong,
[data-theme="dark"] .mobile-bottom-link,
[data-theme="dark"] .mobile-bottom-link span {
    color: var(--ink);
}

[data-theme="dark"] .mobile-bottom-link {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 14px 26px rgba(2, 6, 23, 0.24);
}

[data-theme="dark"] .mobile-bottom-link:hover,
[data-theme="dark"] .mobile-bottom-link:active,
[data-theme="dark"] .mobile-bottom-link.is-active {
    box-shadow:
        0 18px 30px rgba(2, 6, 23, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 10px 24px var(--menu-glow);
}

[data-theme="dark"] .site-footer,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .panel-card-header {
    color: var(--ink);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top left, var(--bg-glow-primary), transparent 30%),
        radial-gradient(circle at top right, var(--bg-glow-accent), transparent 28%),
        radial-gradient(circle at bottom left, var(--bg-glow-soft), transparent 26%),
        var(--bg);
    color: var(--ink);
    min-height: 100vh;
    transition: background .25s ease, color .25s ease;
}

html {
    scroll-behavior: smooth;
}

.navbar,
h1, h2, h3, h4, h5, h6,
.btn,
.brand-title,
.metric-number,
.floating-card-title,
.mini-title,
.contact-value,
.timer-value,
.stats-number {
    font-family: "Plus Jakarta Sans", sans-serif;
}

.page-shell {
    min-height: calc(100vh - 150px);
}

.custom-navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--nav-shadow);
}

.public-mobile-nav-enabled .page-shell {
    padding-bottom: 0;
}

.custom-navbar .navbar-brand,
.custom-navbar .nav-link,
.custom-navbar .navbar-toggler {
    color: var(--ink);
}

.custom-navbar .nav-link.active,
.custom-navbar .nav-link:hover {
    color: var(--primary);
}

.custom-navbar .navbar-toggler {
    border-color: rgba(52, 76, 84, 0.14);
}

.custom-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(36,54,64,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(217, 238, 255, 0.98), rgba(255, 240, 210, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    overflow: hidden;
}

.theme-toggle-button {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem .95rem;
    border-radius: 999px;
    border: 1px solid var(--theme-toggle-border);
    background: var(--theme-toggle-bg);
    color: var(--ink);
    box-shadow: var(--theme-toggle-shadow);
    backdrop-filter: blur(12px);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.theme-toggle-button i {
    font-size: .95rem;
    color: var(--primary);
}

.theme-toggle-button:hover {
    transform: translateY(-1px);
    color: var(--ink);
    border-color: rgba(23, 128, 217, 0.2);
    box-shadow: 0 16px 28px rgba(23, 50, 77, 0.12);
}

.theme-toggle-button:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 .25rem rgba(23, 128, 217, 0.16),
        0 16px 28px rgba(23, 50, 77, 0.12);
}

@media (max-width: 575.98px) {
    .theme-toggle-button {
        min-width: 44px;
        padding: .75rem .85rem;
        justify-content: center;
    }

    .theme-toggle-label {
        display: none;
    }
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.dashboard-brand {
    max-width: min(100%, 320px);
    margin-right: .35rem;
}

.dashboard-brand-logo {
    display: block;
    width: auto;
    height: 46px;
    max-width: 100%;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-title {
    font-size: 1.08rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary);
}

.brand-subtitle {
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(102, 121, 132, 0.92);
    margin-top: .15rem;
}

.qr-public-shell {
    padding-top: 1rem;
}

.qr-public-brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.qr-public-brand-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.qr-public-brand-copy {
    display: flex;
    flex-direction: column;
}

.qr-public-brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.05;
}

.qr-public-brand-subtitle {
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .25rem;
}

.public-info-note {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    width: min(100%, 620px);
    padding: .95rem 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(232, 244, 255, 0.95), rgba(255, 250, 240, 0.95));
    border: 1px solid rgba(23, 128, 217, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.public-info-note-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(23, 128, 217, 0.16), rgba(255, 178, 63, 0.24));
    color: var(--primary);
    font-size: 1.05rem;
}

.public-info-note-copy {
    min-width: 0;
    font-size: .95rem;
    line-height: 1.55;
    color: var(--ink);
}

.header-wa-contact {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    background: rgba(23, 128, 217, 0.08);
    border: 1px solid rgba(23, 128, 217, 0.16);
    font-size: .88rem;
}

.header-wa-contact i {
    color: #0f9d58;
    font-size: 1rem;
}

.header-wa-contact strong {
    font-weight: 700;
}

.header-wa-contact:hover {
    color: var(--ink);
    background: rgba(23, 128, 217, 0.13);
}

.install-app-button {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border: none;
    box-shadow: 0 14px 26px rgba(17, 95, 168, 0.18);
}

.install-app-button-desktop {
    white-space: nowrap;
}

.install-app-button-mobile {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1035;
    border-radius: 999px;
    padding: .8rem 1rem;
    max-width: calc(100vw - 96px);
}

.install-app-button-ready {
    animation: install-pulse 1.6s ease-in-out infinite;
}

@keyframes install-pulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 14px 26px rgba(17, 95, 168, 0.18);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 18px 34px rgba(23, 128, 217, 0.28);
    }
}

.install-app-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 auto;
}

.install-app-modal {
    border: 1px solid rgba(18, 61, 102, 0.08);
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 178, 63, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.96));
    box-shadow: 0 24px 55px rgba(23, 50, 77, 0.16);
}

.install-modal-badge {
    display: inline-flex;
    align-items: center;
    padding: .3rem .7rem;
    border-radius: 999px;
    margin-bottom: .65rem;
    background: rgba(23, 128, 217, 0.1);
    color: var(--primary);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.install-step-list {
    display: grid;
    gap: .85rem;
}

.install-step-item {
    display: grid;
    gap: .25rem;
    padding: .95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(18, 61, 102, 0.08);
}

.install-step-item strong {
    color: var(--ink);
}

.install-step-item span {
    color: var(--muted);
}

.install-qr-card {
    padding: 2rem;
    border-radius: calc(var(--radius-xl) + 4px);
    background:
        radial-gradient(circle at top left, rgba(217, 238, 255, 0.92), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 240, 210, 0.88), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.96));
    border: 1px solid rgba(18, 61, 102, 0.08);
    box-shadow: var(--shadow);
}

.install-qr-preview {
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.install-qr-frame {
    width: min(100%, 320px);
    padding: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(18, 61, 102, 0.08);
    box-shadow: 0 24px 50px rgba(23, 50, 77, 0.12);
}

.install-qr-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.install-qr-caption {
    max-width: 34ch;
    text-align: center;
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.6;
    word-break: break-word;
}

.install-qr-warning {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 247, 237, 0.92);
    border: 1px solid rgba(249, 115, 22, 0.16);
    color: #9a3412;
}

.hero-card,
.glass-card,
.panel-card,
.empty-card,
.service-highlight-card,
.step-card,
.promo-card,
.feature-preview,
.service-history-card,
.unit-summary-card,
.stats-card,
.schedule-card,
.public-hero,
.qr-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-card,
.public-hero,
.feature-preview,
.panel-card,
.glass-card,
.service-highlight-card,
.step-card,
.promo-card,
.unit-summary-card,
.stats-card,
.schedule-card,
.service-history-card,
.empty-card,
.qr-card {
    padding: 1.5rem;
}

.hero-card, .public-hero, .panel-card, .glass-card, .service-highlight-card, .step-card, .promo-card, .unit-summary-card, .stats-card, .schedule-card, .service-history-card, .empty-card, .qr-card, .soft-card, .service-card, .trust-card, .process-card, .contact-panel {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover, .panel-card:hover, .glass-card:hover, .service-highlight-card:hover, .step-card:hover, .promo-card:hover, .service-history-card:hover, .soft-card:hover, .service-card:hover, .trust-card:hover, .process-card:hover, .contact-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -12px rgba(2, 132, 199, 0.2);
}

.hero-card,
.public-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 246, 255, 0.96));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .8rem;
    background: rgba(23, 128, 217, 0.12);
    color: var(--primary);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.lead,
.text-secondary,
.form-text,
.small {
    color: var(--muted) !important;
}

.section-head h1,
.section-head h2,
.section-head h3,
h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
}

.btn {
    border-radius: 14px;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(120deg, #1780d9, #115fa8);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(120deg, #126bbb, #0f528f);
}

.btn-success {
    background: linear-gradient(120deg, #1fb86a, #0f9d58);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(120deg, #17a15d, #0d874b);
}

.btn-light,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-danger {
    border-color: rgba(52, 76, 84, 0.14);
}

.btn-outline-primary {
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.stat-strip,
.technical-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.stat-pill,
.tech-chip,
.public-chip,
.next-schedule-pill {
    display: inline-flex;
    align-items: center;
    padding: .75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(23, 128, 217, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.stat-pill strong {
    margin-right: .35rem;
}

.icon-box,
.stats-icon,
.qr-sample {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(23, 128, 217, 0.16), rgba(255, 178, 63, 0.28));
    color: var(--primary);
    font-size: 1.4rem;
}

.mini-window {
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.preview-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.step-card {
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 800;
    color: rgba(23, 128, 217, 0.14);
}

.site-footer {
    border-top: 1px solid rgba(52, 76, 84, 0.08);
    background: var(--footer-bg);
    backdrop-filter: blur(10px);
}

.stats-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: 800;
}

.panel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.table > :not(caption) > * > * {
    padding: 1rem 0.75rem;
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.table thead th {
    color: var(--muted);
    text-transform: uppercase;
    font-size: .76rem;
    letter-spacing: .04em;
    font-weight: 700;
}

.form-control,
.form-select,
textarea {
    border-radius: 14px;
    border-color: rgba(15, 23, 42, 0.1);
    padding: .85rem 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 .25rem rgba(37, 99, 235, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--ink);
}

.login-password-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.password-toggle-button {
    width: 3.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: rgba(15, 23, 42, 0.1);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--muted);
}

.password-toggle-button:hover,
.password-toggle-button:focus {
    color: var(--primary);
    background: rgba(23, 128, 217, 0.08);
    border-color: rgba(23, 128, 217, 0.28);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .85rem;
}

.login-help-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.login-help-link:hover {
    color: #115fa8;
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .login-options {
        align-items: flex-start;
        flex-direction: column;
    }
}

.form-preview-image,
.detail-image,
.service-doc-image,
.public-unit-image {
    width: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    padding: .35rem;
}

.form-preview-image {
    min-height: 220px;
    max-height: 260px;
}

.detail-image,
.public-unit-image {
    min-height: 260px;
    max-height: 320px;
}

.service-doc-image {
    min-height: 220px;
    max-height: 260px;
}

.image-placeholder {
    width: 100%;
    min-height: 220px;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(100, 116, 139, 0.35);
    background: rgba(248, 250, 252, 0.8);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.unit-table-thumb {
    width: 64px;
    height: 64px;
    min-width: 64px;
    max-width: 64px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.9);
    object-fit: cover;
    padding: .2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: .8rem;
}

.technician-avatar {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.92);
    background: rgba(217, 238, 255, 0.9);
    box-shadow: 0 8px 18px rgba(23, 50, 77, 0.12);
    flex: 0 0 auto;
    display: inline-flex;
    vertical-align: middle;
}

.technician-photo-cell {
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    text-align: center;
    white-space: nowrap;
}

.technician-admin-table {
    width: 100%;
}

.technician-name-cell {
    width: 22%;
}

.technician-phone-cell {
    width: 14%;
    white-space: nowrap;
}

.technician-address-cell {
    width: 30%;
    white-space: normal;
    word-break: break-word;
}

.technician-status-cell {
    width: 12%;
    white-space: nowrap;
}

.technician-actions-cell {
    width: 18%;
}

.technician-actions-wrap {
    flex-wrap: wrap;
}

.technician-actions-wrap form {
    margin: 0;
}

.technician-avatar-table {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    box-shadow: none;
    border-width: 1px;
}

.technician-avatar-lg {
    width: 76px;
    height: 76px;
    max-width: 76px;
    max-height: 76px;
}

.technician-avatar-xl {
    width: 88px;
    height: 88px;
    max-width: 88px;
    max-height: 88px;
}

.technician-avatar-placeholder {
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.35rem;
}

.technician-avatar-table.technician-avatar-placeholder {
    font-size: 1rem;
}

.technician-avatar-lg.technician-avatar-placeholder {
    font-size: 2rem;
}

.technician-avatar-xl.technician-avatar-placeholder {
    font-size: 2.2rem;
}

.technician-list-person {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: 0;
}

.technician-profile-preview {
    flex: 0 0 auto;
}

.technician-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
}

.technician-choice-card {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 42px;
    padding: .65rem .75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    background: rgba(248, 250, 252, 0.9);
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
}

.technician-choice-card input {
    flex: 0 0 auto;
}

.technician-choice-card span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.meta-card {
    height: 100%;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.meta-card span {
    display: block;
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: .35rem;
}

.meta-card strong {
    font-size: .98rem;
    line-height: 1.45;
}

.meta-card.compact {
    padding: .9rem 1rem;
}

.schedule-card.compact {
    padding: .9rem 1rem;
}

.public-summary-grid .fw-semibold {
    line-height: 1.4;
}

.qr-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(227, 241, 255, 0.95));
}

.qr-image {
    width: min(220px, 100%);
    height: auto;
}

.unit-qr-label-preview {
    width: min(100%, 150px);
    aspect-ratio: 5 / 8;
    padding: 8px;
    border: 1.5px solid rgba(15, 23, 42, 0.78);
    background: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.unit-qr-label-image {
    width: 100%;
    max-width: 134px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.unit-qr-label-text {
    width: 100%;
    margin-top: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
}

.unit-qr-label-text span {
    display: block;
    width: 100%;
    overflow: hidden;
}

.unit-qr-label-scan {
    font-size: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.unit-qr-label-name {
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.unit-qr-label-code {
    font-size: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.unit-qr-label-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    gap: 4px;
    font-size: 6.5px;
}

.unit-qr-label-meta span {
    display: block;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unit-qr-label-type {
    text-align: left;
}

.unit-qr-label-pk {
    text-align: right;
}

.unit-qr-label-location {
    font-size: 8px;
    line-height: 1;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 14px;
}

.qr-link-panel {
    padding: 1rem;
    border: 1px solid rgba(18, 61, 102, 0.1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
}

.qr-link-group {
    align-items: stretch;
}

.qr-link-group .form-control {
    min-width: 0;
    font-size: .92rem;
    background: rgba(248, 250, 252, 0.95);
}

.qr-link-group .btn {
    white-space: nowrap;
}

.wa-floating-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f9d58;
    color: #fff;
    text-decoration: none;
    font-size: 1.7rem;
    box-shadow: 0 12px 30px rgba(15, 157, 88, 0.32);
    z-index: 1040;
}

.wa-floating-button:hover {
    color: #fff;
    transform: translateY(-2px);
}

.service-history-card {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
}

.public-history-card {
    background: rgba(255, 255, 255, 0.96);
}

.unit-summary-card,
.schedule-card {
    border-radius: var(--radius-lg);
    background: rgba(248, 250, 252, 0.86);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.info-list .fw-semibold {
    line-height: 1.45;
}

.badge {
    font-weight: 700;
    letter-spacing: .02em;
}

.maintenance-timer-card {
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(245, 158, 11, 0.18);
    background:
        radial-gradient(circle at top right, rgba(255, 178, 63, 0.35), transparent 24%),
        linear-gradient(135deg, rgba(255, 248, 230, 0.98), rgba(255, 255, 255, 0.96));
    box-shadow: 0 22px 50px rgba(255, 178, 63, 0.18);
}

.maintenance-timer-card.is-overdue {
    border-color: rgba(239, 68, 68, 0.22);
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.18), transparent 24%),
        linear-gradient(135deg, rgba(255, 241, 242, 0.98), rgba(255, 255, 255, 0.96));
}

.maintenance-timer-card.is-soon {
    border-color: rgba(249, 115, 22, 0.22);
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 24%),
        linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.96));
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.timer-grid-centered {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
}

.timer-grid-centered .timer-panel {
    text-align: center;
}

.timer-panel {
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.timer-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
}

.timer-value {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    font-weight: 800;
    color: #ea580c;
    text-shadow: 0 8px 18px rgba(234, 88, 12, 0.18);
    margin-bottom: .5rem;
}

.timer-meta,
.timer-note {
    color: var(--muted);
}

.timer-alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.25rem;
    border-radius: 999px;
    background: #fff;
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.24);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.12);
}

.maintenance-timer-card.is-overdue .timer-alert {
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.12);
}

.maintenance-timer-card.is-soon .timer-alert {
    color: #c2410c;
    border-color: rgba(249, 115, 22, 0.25);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.12);
}

.blink-soft {
    animation: blink-soft 1.6s ease-in-out infinite;
}

@keyframes blink-soft {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .45;
        transform: scale(.98);
    }
}

.company-hero {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    background:
        radial-gradient(circle at top left, rgba(217, 238, 255, 0.98), transparent 32%),
        radial-gradient(circle at bottom right, rgba(255, 240, 210, 0.96), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.96));
    border: 1px solid var(--border);
    border-radius: calc(var(--radius-xl) + 6px);
    box-shadow: var(--shadow);
}

.company-hero-title {
    line-height: 1.08;
    letter-spacing: -.03em;
    max-width: 12ch;
}

.company-metrics .metric-card,
.soft-card,
.service-card,
.trust-card,
.process-card,
.contact-panel,
.about-image-card,
.hero-visual-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(18, 61, 102, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.metric-card {
    padding: 1.15rem 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 244, 255, 0.96));
}

.metric-number {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--ink);
}

.metric-label {
    color: var(--muted);
    font-size: .92rem;
    margin-top: .35rem;
}

.hero-visual-card {
    position: relative;
    padding: 1rem;
    min-height: 100%;
    max-width: 560px;
    margin-left: auto;
    background:
        radial-gradient(circle at top left, rgba(217, 238, 255, 0.92), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 240, 210, 0.92), transparent 30%),
        rgba(255, 255, 255, 0.9);
}

.hero-visual-image,
.about-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 18px 40px rgba(23, 50, 77, 0.16);
}

.hero-scan-action {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.qr-scan-button {
    width: min(100%, 340px);
    justify-content: center;
}

.qr-scan-modal {
    border: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.qr-scan-view {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    background: #0f172a;
}

.qr-scan-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.qr-scan-frame {
    position: absolute;
    inset: 16%;
    border: 3px solid rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    box-shadow: 0 0 0 999px rgba(15, 23, 42, 0.28);
}

.qr-scan-status {
    margin-top: 1rem;
    padding: .85rem 1rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.94);
    color: var(--ink);
    font-weight: 700;
    text-align: center;
}

.floating-card-title,
.mini-title,
.contact-label {
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .45rem;
}

.section-copy {
    max-width: 62ch;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.hero-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.about-image-card {
    padding: 1rem;
    max-width: 500px;
    margin-right: auto;
    background:
        radial-gradient(circle at top, rgba(217, 238, 255, 0.8), transparent 30%),
        rgba(255, 255, 255, 0.86);
}

.soft-card,
.service-card,
.trust-card,
.process-card,
.contact-panel {
    padding: 1.5rem;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card-photo {
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    background-color: #dfeaf5;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.service-card-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(10, 35, 58, 0.1) 42%, rgba(7, 29, 48, 0.82)),
        linear-gradient(135deg, rgba(23, 128, 217, 0.1), rgba(255, 178, 63, 0.08));
}

.service-card-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1.35rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(10, 35, 58, 0.78));
    backdrop-filter: blur(6px);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card-photo h3,
.service-card-photo p {
    color: #fff !important;
}

.service-card-photo .icon-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(217, 238, 255, 0.72));
    color: #146ab5;
    box-shadow: 0 10px 24px rgba(7, 29, 48, 0.18);
}

.service-card-photo-1 {
    background-image: url("../img/service-card-1.webp");
}

.service-card-photo-2 {
    background-image: url("../img/service-card-2.webp");
}

.service-card-photo-3 {
    background-image: url("../img/service-card-3.webp");
}

.service-card-photo-4 {
    background-image: url("../img/service-card-4.webp");
}

.service-card-photo-5 {
    background-image: url("../img/service-card-5.webp");
}

.service-card-photo-6 {
    background-image: url("../img/service-card-6.webp");
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.check-item {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(52, 76, 84, 0.08);
    color: var(--ink);
}

.check-item i {
    color: #1780d9;
    margin-top: .1rem;
}

.service-card h3,
.trust-card h3,
.process-card h3 {
    margin-bottom: .85rem;
}

.trust-card,
.process-card {
    position: relative;
    overflow: hidden;
}

.trust-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(23, 128, 217, 0.14), rgba(255, 178, 63, 0.24));
    color: var(--primary);
    font-size: 1.35rem;
}

.contact-banner {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: calc(var(--radius-xl) + 4px);
    background:
        linear-gradient(135deg, rgba(11, 42, 69, 0.88), rgba(15, 95, 164, 0.72)),
        url("../img/contact-banner.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid rgba(18, 61, 102, 0.08);
    box-shadow: var(--shadow);
}

.contact-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 29, 48, 0.76), rgba(7, 29, 48, 0.38) 55%, rgba(7, 29, 48, 0.6)),
        radial-gradient(circle at top right, rgba(255, 178, 63, 0.22), transparent 26%);
}

.contact-banner > .row {
    position: relative;
    z-index: 1;
}

.contact-banner .eyebrow {
    background: rgba(255, 255, 255, 0.14);
    color: #f6fbff;
}

.contact-banner h2,
.contact-banner .section-copy {
    color: #f6fbff;
}

.contact-panel {
    display: grid;
    gap: 1rem;
}

.contact-item {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 61, 102, 0.1);
}

.contact-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    word-break: break-word;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 991.98px) {
    .hero-card,
    .public-hero,
    .panel-card,
    .glass-card,
    .service-highlight-card,
    .promo-card,
    .service-history-card,
    .stats-card,
    .schedule-card,
    .step-card {
        padding: 1.25rem;
        border-radius: 22px;
    }

    .display-5,
    .display-6 {
        font-size: 2.15rem;
    }

    .header-wa-contact {
        width: 100%;
        justify-content: center;
        margin: .35rem 0 .65rem;
    }

    .install-app-button-desktop {
        width: 100%;
        justify-content: center;
    }

    .public-navbar .navbar-toggler,
    .public-navbar .navbar-collapse {
        display: none !important;
    }

    .public-mobile-nav-enabled .page-shell,
    .public-mobile-nav-enabled .site-footer {
        padding-bottom: calc(138px + env(safe-area-inset-bottom));
    }

    .public-mobile-nav-enabled section[id] {
        scroll-margin-top: 88px;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 1032;
        display: block;
    }

    .mobile-bottom-nav-shell {
        position: relative;
        overflow: hidden;
        padding: .5rem;
        border-radius: 20px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 249, 255, 0.94));
        border: 1px solid rgba(18, 61, 102, 0.08);
        backdrop-filter: blur(18px);
        box-shadow:
            0 24px 48px rgba(23, 50, 77, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.72);
    }

    .mobile-bottom-nav-shell::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at top left, rgba(23, 128, 217, 0.18), transparent 38%),
            radial-gradient(circle at top right, rgba(255, 178, 63, 0.18), transparent 34%);
        pointer-events: none;
    }

    .mobile-bottom-contact {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: .5rem;
        padding: .5rem .75rem;
        border-radius: 16px;
        background:
            linear-gradient(135deg, rgba(23, 128, 217, 0.13), rgba(255, 178, 63, 0.2));
        border: 1px solid rgba(23, 128, 217, 0.08);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
        margin-bottom: .5rem;
    }

    .mobile-bottom-contact-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.86);
        color: var(--primary);
        font-size: 1rem;
        flex: 0 0 auto;
    }

    .mobile-bottom-contact-copy {
        min-width: 0;
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .mobile-bottom-contact-copy span {
        font-size: .65rem;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--primary);
    }

    .mobile-bottom-contact-copy strong {
        font-family: "Plus Jakarta Sans", sans-serif;
        font-size: .85rem;
        color: var(--ink);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-bottom-contact-action {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: .25rem;
        padding: .5rem .75rem;
        border-radius: 12px;
        background: linear-gradient(120deg, #1fb86a, #0f9d58);
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        box-shadow: 0 12px 24px rgba(15, 157, 88, 0.22);
        font-size: 0.85rem;
        flex: 0 0 auto;
    }

    .mobile-bottom-contact-action:hover {
        color: #fff;
    }

    .mobile-bottom-menu {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: .55rem;
    }

    .mobile-bottom-link {
        --menu-bg: rgba(248, 250, 252, 0.9);
        --menu-border: rgba(18, 61, 102, 0.06);
        --menu-ink: var(--ink);
        --menu-icon: var(--primary);
        --menu-icon-bg: rgba(255, 255, 255, 0.78);
        --menu-glow: rgba(23, 128, 217, 0.18);
        --menu-accent: rgba(255, 255, 255, 0.52);
        min-width: 0;
        min-height: 60px;
        padding: .5rem .25rem;
        border-radius: 14px;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .35rem;
        text-align: center;
        text-decoration: none;
        color: var(--menu-ink);
        background: var(--menu-bg);
        border: 1px solid var(--menu-border);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.72),
            0 10px 18px rgba(23, 50, 77, 0.08);
        transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
    }

    .mobile-bottom-link::before {
        content: "";
        position: absolute;
        inset: auto 10px 8px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, transparent, var(--menu-icon), transparent);
        opacity: 0;
        transform: scaleX(.45);
        transition: opacity .18s ease, transform .18s ease;
    }

    .mobile-bottom-link::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top center, var(--menu-accent), transparent 58%);
        opacity: .8;
        pointer-events: none;
    }

    .mobile-bottom-link i {
        position: relative;
        z-index: 1;
        width: 28px;
        height: 28px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        line-height: 1;
        color: var(--menu-icon);
        background: var(--menu-icon-bg);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    }

    .mobile-bottom-link span {
        position: relative;
        z-index: 1;
        font-size: .6rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: .01em;
        color: var(--menu-ink);
    }

    .mobile-bottom-link:nth-child(1) {
        --menu-bg: linear-gradient(180deg, #eef7ff, #dceeff);
        --menu-border: rgba(23, 128, 217, 0.18);
        --menu-icon: #156fbf;
        --menu-icon-bg: rgba(255, 255, 255, 0.88);
        --menu-glow: rgba(21, 111, 191, 0.24);
        --menu-accent: rgba(170, 218, 255, 0.7);
    }

    .mobile-bottom-link:nth-child(2) {
        --menu-bg: linear-gradient(180deg, #eefcf4, #dbf6e5);
        --menu-border: rgba(31, 184, 106, 0.18);
        --menu-icon: #11834c;
        --menu-icon-bg: rgba(255, 255, 255, 0.88);
        --menu-glow: rgba(17, 131, 76, 0.22);
        --menu-accent: rgba(177, 241, 206, 0.68);
    }

    .mobile-bottom-link:nth-child(3) {
        --menu-bg: linear-gradient(180deg, #fff7eb, #ffe7c2);
        --menu-border: rgba(245, 158, 11, 0.2);
        --menu-icon: #b96a05;
        --menu-icon-bg: rgba(255, 255, 255, 0.9);
        --menu-glow: rgba(185, 106, 5, 0.22);
        --menu-accent: rgba(255, 214, 144, 0.72);
    }

    .mobile-bottom-link:nth-child(4) {
        --menu-bg: linear-gradient(180deg, #fff1f2, #ffd8de);
        --menu-border: rgba(244, 63, 94, 0.18);
        --menu-icon: #c2274c;
        --menu-icon-bg: rgba(255, 255, 255, 0.9);
        --menu-glow: rgba(194, 39, 76, 0.22);
        --menu-accent: rgba(255, 180, 196, 0.72);
    }

    .mobile-bottom-link:nth-child(5) {
        --menu-bg: linear-gradient(180deg, #f4f3ff, #e4e1ff);
        --menu-border: rgba(99, 102, 241, 0.18);
        --menu-icon: #4f46c9;
        --menu-icon-bg: rgba(255, 255, 255, 0.9);
        --menu-glow: rgba(79, 70, 201, 0.22);
        --menu-accent: rgba(200, 194, 255, 0.72);
    }

    .mobile-bottom-link:nth-child(6) {
        --menu-bg: linear-gradient(180deg, #eefbfb, #d8f4f5);
        --menu-border: rgba(20, 184, 166, 0.18);
        --menu-icon: #0f8f81;
        --menu-icon-bg: rgba(255, 255, 255, 0.88);
        --menu-glow: rgba(15, 143, 129, 0.22);
        --menu-accent: rgba(170, 237, 230, 0.7);
    }

    .mobile-bottom-link:hover,
    .mobile-bottom-link:active,
    .mobile-bottom-link.is-active {
        color: var(--menu-ink);
        background: var(--menu-bg);
        border-color: var(--menu-border);
        box-shadow:
            0 16px 28px rgba(23, 50, 77, 0.16),
            0 0 0 1px rgba(255, 255, 255, 0.45) inset,
            0 10px 24px var(--menu-glow);
        transform: translateY(-2px);
    }

    .mobile-bottom-link:hover::before,
    .mobile-bottom-link:active::before,
    .mobile-bottom-link.is-active::before {
        opacity: 1;
        transform: scaleX(1);
    }

    .mobile-bottom-link:hover i,
    .mobile-bottom-link:active i,
    .mobile-bottom-link.is-active i {
        color: #fff;
        background: linear-gradient(135deg, var(--menu-icon), var(--menu-icon));
        box-shadow:
            0 10px 18px var(--menu-glow),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }

    .public-mobile-nav-enabled .install-app-button-mobile {
        left: 12px;
        bottom: calc(150px + env(safe-area-inset-bottom));
    }

    .public-mobile-nav-enabled .wa-floating-button {
        right: 16px;
        bottom: calc(150px + env(safe-area-inset-bottom));
    }

    .company-hero,
    .install-qr-card,
    .contact-banner {
        padding: 1.35rem;
    }

    .company-hero-title {
        max-width: none;
    }

    .hero-visual-card,
    .about-image-card {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .timer-grid {
        grid-template-columns: 1fr;
    }

    .technician-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .dashboard-brand {
        max-width: calc(100vw - 150px);
    }

    .dashboard-brand-logo {
        height: 38px;
    }

    .brand-title {
        font-size: .98rem;
    }

    .brand-subtitle {
        font-size: .62rem;
    }

    .qr-public-brand {
        width: 100%;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: .75rem;
    }

    .qr-public-brand-logo {
        width: 64px;
        height: 64px;
    }

    .public-info-note {
        width: 100%;
        padding: .85rem .9rem;
        gap: .7rem;
    }

    .public-info-note-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 12px;
        font-size: .95rem;
    }

    .public-info-note-copy {
        font-size: .88rem;
        line-height: 1.45;
    }

    .wa-floating-button {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    .install-app-button-mobile {
        left: 12px;
        bottom: 12px;
        max-width: calc(100vw - 84px);
        padding: .75rem .95rem;
    }

    .stat-pill,
    .tech-chip,
    .public-chip,
    .next-schedule-pill {
        width: 100%;
        justify-content: center;
    }

    .company-hero {
        padding: 1.2rem;
    }

    .install-qr-card {
        padding: 1.2rem;
    }

    .company-hero-title {
        font-size: 2rem;
    }

    .check-grid {
        grid-template-columns: 1fr;
    }

    .technician-choice-grid {
        grid-template-columns: 1fr;
    }

    .soft-card,
    .service-card,
    .trust-card,
    .process-card,
    .contact-panel,
    .metric-card {
        padding: 1.15rem;
        border-radius: 20px;
    }

    .service-card-photo {
        min-height: 280px;
    }

    .service-card-content {
        padding: 1.1rem;
        border-radius: 18px;
    }

    .public-mobile-nav-enabled .page-shell,
    .public-mobile-nav-enabled .site-footer {
        padding-bottom: calc(132px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav-shell {
        padding: .4rem;
        border-radius: 18px;
    }

    .mobile-bottom-contact {
        padding: .5rem;
        gap: .4rem;
        border-radius: 14px;
    }

    .mobile-bottom-contact-copy strong {
        font-size: .75rem;
    }

    .mobile-bottom-contact-action {
        padding: .4rem .6rem;
        border-radius: 10px;
        font-size: .75rem;
    }

    .mobile-bottom-menu {
        gap: .45rem;
    }

    .mobile-bottom-link {
        min-height: 56px;
        padding: .4rem .1rem;
        border-radius: 12px;
    }

    .mobile-bottom-link i {
        width: 26px;
        height: 26px;
        font-size: .85rem;
        border-radius: 8px;
    }

    .mobile-bottom-link span {
        font-size: .55rem;
    }

    .public-mobile-nav-enabled .install-app-button-mobile {
        left: 10px;
        bottom: calc(144px + env(safe-area-inset-bottom));
        max-width: calc(100vw - 86px);
    }

    .public-mobile-nav-enabled .wa-floating-button {
        right: 12px;
        bottom: calc(144px + env(safe-area-inset-bottom));
    }
}

/* Loading Animation */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--primary-soft);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
}

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