:root {
    --primary: #006D66;
    --primary-2: #00857B;
    --gold: #F0B84B;
    --gold-2: #FFD56A;
    --bg: #F2FAF7;
    --card: #FFFFFF;
    --text: #173B37;
    --muted: #607B76;
    --line: #CCE5DF;
    --success: #16A34A;
    --warning: #B7791F;
    --danger: #B42318;
    --soft: #F4FBF8;
    --shadow: 0 16px 42px rgba(0, 109, 102, .09);
    --shadow-strong: 0 28px 80px rgba(0, 109, 102, .16);
}

/* Critical admin sidebar reset: keeps grouped menu buttons from falling back to browser default styles. */
body .app-shell {
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    align-items: stretch !important;
}
body .sidebar {
    width: 280px !important;
    max-width: 280px !important;
    flex: 0 0 280px !important;
}
body .sidebar .side-group-toggle,
body .sidebar button.side-group-toggle {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    min-height: 44px !important;
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) 14px !important;
    gap: 11px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255,255,255,.84) !important;
    font: inherit !important;
    font-weight: 800 !important;
    text-align: left !important;
    line-height: 1.25 !important;
    cursor: pointer !important;
}
body .sidebar .side-group-toggle:hover,
body .sidebar .side-group.open .side-group-toggle,
body .sidebar .side-group.active .side-group-toggle {
    color: #FFFFFF !important;
    background: rgba(255,255,255,.09) !important;
}
body .sidebar .side-group-links { display: none !important; }
body .sidebar .side-group.open .side-group-links { display: grid !important; }

@media (max-width: 980px) {
    body .app-shell { grid-template-columns: 1fr !important; }
    body .sidebar {
        width: min(340px, calc(100vw - 24px)) !important;
        max-width: none !important;
        position: fixed !important;
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    font-family: Inter, Poppins, "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.container { width: min(1320px, calc(100% - 56px)); margin: 0 auto; }
.button-row, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 109, 102, .12); }
.btn:disabled { cursor: wait; opacity: .72; transform: none; box-shadow: none; }
.btn-primary { color: #FFFFFF; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.btn-gold { color: #1E1A0E; background: linear-gradient(135deg, var(--gold), var(--gold-2)); }
.btn-light { color: var(--primary); background: #F4FBF8; border-color: rgba(0, 109, 102, .1); }
.btn-outline { color: var(--primary); background: #FFFFFF; border-color: rgba(0, 109, 102, .18); }
.btn-danger { color: #FFFFFF; background: var(--danger); }
.btn-success { color: #FFFFFF; background: var(--success); }
.btn-sm { min-height: 38px; padding: 9px 13px; font-size: 13px; }

.public-shell {
    min-height: 100vh;
    padding-top: 72px;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, #FFFFFF 0, #F2FAF7 520px),
        var(--bg);
}
.public-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(180px, .72fr) minmax(0, 1.55fr) minmax(210px, .73fr);
    align-items: center;
    gap: 16px;
    padding: 13px clamp(16px, 3vw, 42px);
    border-bottom: 1px solid rgba(0, 109, 102, .1);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 30px rgba(0, 109, 102, .06);
}
@supports (backdrop-filter: blur(18px)) {
    .public-nav { backdrop-filter: blur(18px); }
}
.brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 17px;
    font-weight: 900;
}
.brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    color: var(--gold-2);
    background: linear-gradient(145deg, var(--primary), var(--primary-2));
    box-shadow: 0 12px 24px rgba(0, 109, 102, .18);
    font-weight: 900;
}
.nav-links {
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 5px;
    color: #2F4D49;
    font-weight: 700;
    white-space: nowrap;
}
.nav-links a:not(.btn), .nav-more > button, .mobile-nav-panel a {
    border-radius: 8px;
    transition: background .18s ease, color .18s ease;
}
.nav-links a:not(.btn), .nav-more > button { padding: 10px 10px; }
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
}
.nav-dropdown .nav-parent {
    padding-right: 10px;
}
.nav-caret {
    width: 24px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-left: -5px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: currentColor;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}
.nav-caret[hidden] {
    display: none;
}
.nav-dropdown:hover,
.nav-dropdown:focus-within,
.nav-dropdown.open {
    color: var(--primary);
    background: rgba(0, 109, 102, .07);
}
.nav-more {
    position: relative;
}
.nav-more > button {
    border: 0;
    color: inherit;
    background: transparent;
    font-weight: 800;
    cursor: pointer;
}
.nav-more-menu,
.nav-submenu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 90;
    min-width: 210px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(0,109,102,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 52px rgba(0,109,102,.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease;
}
.nav-submenu {
    left: 0;
    right: auto;
    min-width: 245px;
}
.nav-more-menu a,
.nav-submenu a {
    padding: 10px 11px;
    color: var(--primary);
    font-weight: 800;
}
.nav-submenu a {
    border-radius: 8px;
}
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu,
.nav-more.open .nav-more-menu,
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.more-parent-link {
    margin-top: 4px;
    color: #173B37 !important;
    background: #F4FBF8;
}
.more-child-link {
    padding-left: 24px !important;
    font-size: 13px;
}
.more-child-link:before,
.mobile-child-link:before {
    content: "-";
    margin-right: 7px;
    color: var(--gold);
}
.nav-links a:hover, .nav-links a.active, .nav-more > button:hover { color: var(--primary); background: rgba(0, 109, 102, .07); }
.nav-links a.nav-cta {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 10px 22px rgba(0,109,102,.15);
}
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
}
.nav-search,
.mobile-nav-search {
    min-width: 0;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0,109,102,.13);
    border-radius: 8px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 26px rgba(0,109,102,.055);
}
.nav-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 10px;
}
.nav-search {
    width: min(100%, 310px);
}
.nav-login {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(0,109,102,.14);
    border-radius: 8px;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 10px 24px rgba(0,109,102,.16);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.nav-login:hover,
.nav-login.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,109,102,.18);
}
.nav-login svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-search input,
.mobile-nav-search input {
    min-width: 0;
    min-height: 40px;
    border: 0;
    border-radius: 8px 0 0 8px;
    background: transparent;
    box-shadow: none;
}
.nav-search input:focus,
.mobile-nav-search input:focus {
    box-shadow: none;
}
.nav-search button,
.mobile-nav-search button {
    min-height: 34px;
    margin-right: 4px;
    padding: 0 12px;
    border: 0;
    border-radius: 7px;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}
.mobile-menu, .admin-dot-menu, .sidebar-mobile-head, .sidebar-mobile-tools, .sidebar-backdrop, .mobile-dots, .mobile-nav-panel, .mobile-nav-backdrop, .mobile-app-install, .app-install-fab, .bottom-nav, .bottom-submenu, .bottom-submenu-backdrop { display: none; }

.home-hero {
    position: relative;
    min-height: auto;
    display: grid;
    align-items: center;
    padding: clamp(58px, 8vw, 104px) 0 clamp(46px, 6vw, 76px);
    background: linear-gradient(120deg, rgba(255,255,255,.98), rgba(236,250,246,.98) 55%, rgba(255,248,232,.96));
}
.home-hero:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 109, 102, .16), transparent);
}
.hero-slider-section {
    padding: 0;
    overflow: hidden;
}
.hero-slider-track {
    position: relative;
    min-height: clamp(610px, 72vh, 780px);
}
.hero-slide {
    display: none;
    min-height: inherit;
    opacity: 0;
}
.hero-slide.active {
    display: block;
    opacity: 1;
    animation: heroFade .42s ease both;
}
@keyframes heroFade {
    from { opacity: .4; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-slide-grid {
    min-height: inherit;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(68px, 8vw, 112px) 0 clamp(76px, 7vw, 104px);
}
.hero-slide-copy {
    min-width: 0;
}
.hero-slide-copy h1 {
    max-width: 820px;
    margin: 12px 0 20px;
    color: var(--primary);
    font-size: clamp(42px, 5.8vw, 76px);
    line-height: 1;
}
.hero-media-panel {
    position: relative;
    min-height: clamp(360px, 38vw, 520px);
    overflow: hidden;
    border: 1px solid rgba(0,109,102,.13);
    border-radius: 16px;
    background: #EAF8F4;
    box-shadow: var(--shadow-strong);
}
.hero-media,
.hero-media-fallback {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
}
.hero-media {
    object-fit: cover;
}
.hero-media-fallback {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0,109,102,.08), rgba(0,109,102,0) 52%),
        linear-gradient(90deg, #EAF8F4 0 20%, #FFFFFF 20% 24%, #EAF8F4 24% 44%, #FFFFFF 44% 48%, #EAF8F4 48% 68%, #FFFFFF 68% 72%, #EAF8F4 72%);
}
.hero-media-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    max-width: calc(100% - 32px);
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 999px;
    color: #FFFFFF;
    background: rgba(0,109,102,.82);
    box-shadow: 0 10px 24px rgba(0,109,102,.18);
    font-size: 12px;
    font-weight: 900;
}
.hero-media-checklist {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.hero-media-checklist span {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 10px;
    color: #FFFFFF;
    background: rgba(0, 75, 70, .74);
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
    font-size: 12px;
    font-weight: 850;
}
.hero-slider-controls {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}
.hero-arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(0,109,102,.16);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255,255,255,.92);
    box-shadow: 0 16px 34px rgba(0,109,102,.15);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}
.hero-arrow:hover {
    color: #FFFFFF;
    background: var(--primary);
}
.hero-arrow-left { left: clamp(12px, 3vw, 42px); }
.hero-arrow-right { right: clamp(12px, 3vw, 42px); }
.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    pointer-events: auto;
}
.hero-slider-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(0,109,102,.24);
    cursor: pointer;
    transition: width .18s ease, background .18s ease;
}
.hero-slider-dots button.active {
    width: 28px;
    background: var(--primary);
}
.hero-slider-section.home-hero {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    color: #FFFFFF;
    background: #071C19;
}
.hero-slider-section.home-hero:after {
    z-index: 5;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}
.hero-slider-section .hero-slider-track {
    min-height: clamp(560px, calc(100vh - 74px), 760px);
}
.hero-slider-section .hero-slide {
    position: relative;
    min-height: inherit;
    overflow: hidden;
}
.hero-slider-section .hero-slide.active {
    animation: heroFade .58s ease both;
}
.hero-bg-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
}
.hero-slide.active .hero-bg-media {
    animation: heroMediaZoom 7.2s ease forwards;
}
@keyframes heroMediaZoom {
    from { transform: scale(1.04); }
    to { transform: scale(1); }
}
.hero-slide-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 24, 21, .92) 0%, rgba(4, 24, 21, .72) 42%, rgba(4, 24, 21, .24) 72%, rgba(4, 24, 21, .58) 100%),
        linear-gradient(180deg, rgba(4, 24, 21, .38) 0%, rgba(4, 24, 21, .12) 44%, rgba(4, 24, 21, .74) 100%);
}
.hero-slider-section .hero-slide-grid {
    position: relative;
    z-index: 2;
    min-height: inherit;
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 340px);
    gap: clamp(24px, 4vw, 64px);
    align-items: end;
    padding: clamp(72px, 9vh, 118px) 0 clamp(64px, 9vh, 96px);
}
.hero-slider-section .hero-slide-copy {
    max-width: 880px;
}
.hero-slider-section .hero-kicker {
    color: rgba(255, 255, 255, .84);
}
.hero-slider-section .hero-kicker:before {
    background: var(--gold);
}
.hero-slider-section .hero-slide-copy h1 {
    max-width: 900px;
    color: #FFFFFF;
    font-size: clamp(40px, 5.2vw, 72px);
    text-shadow: 0 18px 48px rgba(0, 0, 0, .34);
}
.hero-slider-section .hero-richtext {
    max-width: 720px;
    color: rgba(255, 255, 255, .84);
}
.hero-slider-section .hero-richtext p {
    color: rgba(255, 255, 255, .84);
}
.hero-slider-section .hero-outline {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .56);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}
.hero-slider-section .hero-outline:hover {
    color: var(--primary);
    background: #FFFFFF;
}
.hero-slider-section .hero-trust span {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .20);
    background: rgba(255, 255, 255, .10);
    box-shadow: none;
    backdrop-filter: blur(12px);
}
.hero-service-card {
    display: grid;
    gap: 14px;
    align-self: end;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 8px;
    color: #FFFFFF;
    background: rgba(4, 31, 28, .54);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .26);
    backdrop-filter: blur(16px);
}
.hero-service-card .hero-media-badge {
    position: static;
    max-width: 100%;
    justify-self: start;
    color: #061F1B;
    background: var(--gold);
    box-shadow: none;
}
.hero-slide-number {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 950;
    line-height: 1;
}
.hero-service-card .hero-media-checklist {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.hero-service-card .hero-media-checklist span {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .10);
    box-shadow: none;
}
.hero-slider-section .hero-arrow {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
}
.hero-slider-section .hero-arrow:hover {
    color: #061F1B;
    background: #FFFFFF;
}
.hero-slider-section .hero-slider-dots {
    bottom: 34px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(5, 28, 25, .42);
    backdrop-filter: blur(12px);
}
.hero-slider-section .hero-slider-dots button {
    background: rgba(255, 255, 255, .48);
}
.hero-slider-section .hero-slider-dots button.active {
    background: var(--gold);
}
.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(390px, 1.02fr);
    gap: clamp(30px, 6vw, 82px);
    align-items: center;
}
.home-hero-copy h1 {
    max-width: 780px;
    margin: 12px 0 20px;
    color: var(--primary);
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1;
}
.home-hero-copy p {
    max-width: 650px;
    margin: 0 0 28px;
    color: #607B76;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.78;
}
.hero-richtext {
    max-width: 650px;
    margin: 0 0 28px;
    color: #607B76;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.78;
}
.hero-richtext p,
.section-lead p,
.request-panel div > p {
    margin: 0;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-2);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.hero-kicker:before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-trust span {
    padding: 8px 11px;
    border: 1px solid rgba(0, 109, 102, .12);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 8px 20px rgba(0, 109, 102, .055);
    color: #2F4D49;
    font-size: 13px;
    font-weight: 800;
}

.clean-visual {
    display: grid;
    gap: 16px;
    padding: clamp(16px, 3vw, 24px);
    border: 1px solid rgba(0, 109, 102, .12);
    border-radius: 8px;
    background: rgba(255,255,255,.84);
    box-shadow: var(--shadow-strong);
}
.clean-visual-top { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.clean-visual-top strong { color: var(--primary); font-size: 20px; }
.clean-visual-top span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(22,163,74,.12);
    color: var(--success);
    font-size: 12px;
    font-weight: 900;
}
.clean-photo-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid rgba(0, 109, 102, .12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(0,109,102,.08), rgba(0,109,102,0) 52%),
        linear-gradient(90deg, #EAF8F4 0 20%, #FFFFFF 20% 24%, #EAF8F4 24% 44%, #FFFFFF 44% 48%, #EAF8F4 48% 68%, #FFFFFF 68% 72%, #EAF8F4 72%);
}
.photo-floor {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background:
        repeating-linear-gradient(90deg, rgba(0,109,102,.14) 0 1px, transparent 1px 62px),
        linear-gradient(180deg, #D9F0EA, #C7E6DE);
}
.photo-arch {
    position: absolute;
    left: 50%;
    top: 28px;
    width: 178px;
    height: 210px;
    transform: translateX(-50%);
    border: 20px solid rgba(0,109,102,.88);
    border-bottom: 0;
    border-radius: 90px 90px 0 0;
}
.photo-mat {
    position: absolute;
    left: 50%;
    bottom: 38px;
    width: min(72%, 380px);
    height: 68px;
    transform: translateX(-50%);
    border-radius: 8px;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 2px, transparent 2px 34px),
        linear-gradient(90deg, var(--primary), #0A9187);
    box-shadow: 0 16px 30px rgba(0,109,102,.18);
}
.photo-spark { position: absolute; width: 12px; height: 12px; transform: rotate(45deg); background: var(--gold); }
.photo-spark.s1 { top: 54px; right: 72px; }
.photo-spark.s2 { top: 112px; left: 78px; width: 9px; height: 9px; }
.photo-spark.s3 { right: 126px; bottom: 132px; width: 8px; height: 8px; }
.clean-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.clean-checklist div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #F4FBF8;
    color: #2F4D49;
    font-weight: 800;
}
.clean-checklist span {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--success);
    box-shadow: inset 0 0 0 5px rgba(255,255,255,.7);
}

.section { padding: clamp(58px, 7vw, 88px) 0; }
.compact-section { padding: clamp(56px, 6vw, 78px) 0; }
.section-heading { display: grid; gap: 10px; max-width: 850px; margin-bottom: 28px; }
.section h2, .section-heading h2 {
    margin: 0;
    color: var(--primary);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}
.section-lead { max-width: 760px; margin: 0 0 30px; color: var(--muted); line-height: 1.75; }
.feature-grid, .pricing-grid, .stats-grid, .zone-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.feature-card, .price-card, .content-card, .stat-card, .panel, .zone-card {
    border: 1px solid rgba(0, 109, 102, .1);
    border-radius: 8px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 14px 38px rgba(0, 109, 102, .07);
}
.feature-card, .price-card, .content-card { padding: 22px; }
.feature-card h3, .price-card h3, .content-card h3 { margin: 0 0 8px; color: var(--primary); }
.feature-card p, .price-card p, .content-card p { color: var(--muted); line-height: 1.65; }
.service-card, .content-card, .price-card, .zone-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover, .content-card:hover, .price-card:hover, .zone-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 184, 75, .5);
    box-shadow: 0 22px 54px rgba(0, 109, 102, .1);
}
.feature-number {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #DDF4EE;
    color: var(--primary);
    font-weight: 900;
}
.service-card { min-height: 220px; border-top: 4px solid var(--gold); }
.zone-band { background: linear-gradient(180deg, #FFFFFF 0%, #F2FAF7 100%); }
.zone-card { min-height: 210px; display: grid; gap: 12px; padding: 18px; }
.zone-card strong { display: block; color: var(--primary); font-size: 24px; }
.zone-card span { color: var(--muted); font-weight: 700; }
.zone-card p { margin: 0; color: #2F4D49; line-height: 1.55; }
.zone-card footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.zone-card footer span { font-size: 13px; }
.zone-card b { color: var(--primary); }
.zone-action { margin-top: 20px; }
.workflow-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 34px;
    align-items: start;
}
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.workflow-steps div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(0,109,102,.07);
    color: var(--primary);
}
.workflow-steps span {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--gold);
    color: #15110A;
    font-weight: 900;
}
.workflow-steps strong { display: block; }
.service-request-section {
    color: #FFFFFF;
    background-color: #006861;
    background-image:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.08)),
        linear-gradient(135deg, rgba(255,255,255,.1) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,.08) 25%, transparent 25%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 27px, rgba(0,0,0,.08) 27px 28px);
    background-size: auto, 28px 28px, 28px 28px, 100% 56px;
    background-position: 0 0, 0 0, 14px 0, 0 0;
}
.home-quote-section {
    padding: clamp(36px, 5vw, 56px) 0;
}
.home-quote-section .request-panel {
    min-height: 160px;
}
.request-panel { min-height: 210px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.request-panel h2 { margin: 8px 0 10px; color: #FFFFFF; }
.request-panel p { max-width: 760px; margin: 0; color: rgba(255,255,255,.78); line-height: 1.7; }
.request-panel .hero-kicker { color: rgba(255,255,255,.78); }

.request-page { padding-top: clamp(42px, 5vw, 68px); }
.request-form { padding: clamp(18px, 3vw, 30px); border-radius: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 7px; color: #24504B; font-weight: 800; }
input, select, textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #B9DCD5;
    border-radius: 8px;
    outline: none;
    background: #FFFFFF;
    color: var(--text);
    transition: border-color .18s ease, box-shadow .18s ease;
}
textarea { min-height: 132px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #8CC8BE; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(240,184,75,.2); }
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}
.checkbox-card {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid #B9DCD5;
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--text);
    font-size: 13px;
    font-weight: 750;
}
.checkbox-card input {
    width: auto;
    min-height: auto;
}
.richtext-source {
    display: none;
}
.local-richtext {
    overflow: hidden;
    border: 1px solid #B9DCD5;
    border-radius: 8px;
    background: #FFFFFF;
}
.local-richtext-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid #D7EDE8;
    background: #F4FBF8;
}
.local-richtext-toolbar button {
    min-width: 34px;
    min-height: 32px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(0,109,102,.12);
    border-radius: 7px;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}
.local-richtext-toolbar button:hover {
    background: rgba(240,184,75,.16);
}
.local-richtext-editor {
    min-height: 230px;
    padding: 14px;
    outline: none;
    color: var(--text);
    line-height: 1.7;
}
.local-richtext-editor:focus {
    box-shadow: inset 0 0 0 3px rgba(240,184,75,.22);
}
.local-richtext-editor p:first-child {
    margin-top: 0;
}
.local-richtext-editor p:last-child {
    margin-bottom: 0;
}
.field-error { margin-top: 6px; color: var(--danger); font-size: 13px; font-weight: 700; }
.file-preview { display: none; max-width: 220px; margin-top: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; }
.toast { margin-bottom: 14px; padding: 13px 14px; border-left: 4px solid var(--success); border-radius: 8px; background: #FFFFFF; box-shadow: var(--shadow); }
.alert { margin-bottom: 14px; padding: 13px 14px; border-left: 4px solid var(--danger); border-radius: 8px; background: #FFF7F7; }
.empty-state { padding: 34px; text-align: center; color: var(--muted); }

.location-consent {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    width: min(560px, calc(100% - 44px));
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(0, 109, 102, .2);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 24px 70px rgba(4, 31, 28, .2);
}
.location-consent[hidden] { display: none; }
.location-consent-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; color: #FFFFFF; background: var(--primary); }
.location-consent-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.location-consent-copy { display: grid; gap: 4px; min-width: 0; }
.location-consent-copy strong { color: var(--primary); }
.location-consent-copy span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.location-consent-copy small { color: var(--warning); font-weight: 700; }
.location-consent-actions { display: flex; gap: 8px; }

.search-page { padding-top: clamp(42px, 5vw, 68px); }
.search-hero-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    max-width: 760px;
    margin-bottom: 24px;
    padding: 8px;
    border: 1px solid rgba(0,109,102,.12);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: var(--shadow);
}
.search-hero-form input {
    min-height: 48px;
    border: 0;
    background: #F4FBF8;
    box-shadow: none;
}
.search-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 10px 0 16px;
}
.search-results-head h3 { margin: 0; color: var(--primary); font-size: 24px; }
.search-results-head span {
    min-width: 34px;
    min-height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #FFFFFF;
    background: var(--primary);
    font-weight: 900;
}
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.search-result-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 230px;
    padding: 20px;
    border: 1px solid rgba(0,109,102,.1);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 14px 38px rgba(0,109,102,.07);
}
.search-result-card > span {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--primary);
    background: #DDF4EE;
    font-size: 12px;
    font-weight: 900;
}
.search-result-card h3 { margin: 0; color: var(--primary); }
.search-result-card p { margin: 0; color: var(--muted); line-height: 1.62; }
.search-result-card .btn { align-self: end; width: fit-content; margin-top: auto; }

.cms-page-hero {
    padding: clamp(54px, 7vw, 92px) 0;
    background:
        linear-gradient(120deg, rgba(255,255,255,.98), rgba(236,250,246,.98) 58%, rgba(255,248,232,.96));
    border-bottom: 1px solid rgba(0,109,102,.1);
}
.cms-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .6fr);
    gap: clamp(24px, 5vw, 68px);
    align-items: center;
}
.cms-page-grid h1 {
    max-width: 860px;
    margin: 12px 0 18px;
    color: var(--primary);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
}
.cms-page-panel {
    min-height: 220px;
    display: grid;
    align-content: end;
    gap: 10px;
    padding: 24px;
    border: 1px solid rgba(0,109,102,.12);
    border-radius: 8px;
    background-color: #006861;
    background-image:
        linear-gradient(135deg, rgba(255,255,255,.1) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,.08) 25%, transparent 25%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 27px, rgba(0,0,0,.08) 27px 28px);
    background-size: 28px 28px, 28px 28px, 100% 56px;
    background-position: 0 0, 14px 0, 0 0;
    color: #FFFFFF;
    box-shadow: var(--shadow-strong);
}
.cms-page-panel strong { font-size: 24px; }
.cms-page-panel span { color: rgba(255,255,255,.76); font-weight: 800; }
.cms-page-body { display: grid; gap: 22px; }
.cms-richtext {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.78;
}
.cms-richtext h2,
.cms-richtext h3,
.cms-richtext h4 {
    color: var(--primary);
}
.cms-richtext p:first-child { margin-top: 0; }

.media-frame {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid rgba(0, 109, 102, .14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0,109,102,.16), rgba(240,184,75,.16)),
        #DDF4EE;
    box-shadow: var(--shadow-strong);
}
.media-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0, 80, 74, .2)),
        radial-gradient(circle at 14% 18%, rgba(255,255,255,.28), transparent 28%);
}
.media-frame img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}
.cms-page-media { min-height: clamp(340px, 42vw, 520px); }
.cms-page-grid.media-left .cms-page-copy { order: 2; }
.cms-page-grid.media-left .cms-page-media { order: 1; }
.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
    gap: clamp(22px, 5vw, 58px);
    align-items: center;
    margin-bottom: 32px;
}
.split-section.is-reversed {
    grid-template-columns: minmax(320px, .86fr) minmax(0, 1fr);
}
.split-section.is-reversed .split-copy,
.split-section.is-reversed .section-heading { order: 2; }
.split-section.is-reversed .split-media { order: 1; }
.split-copy { padding: clamp(22px, 3vw, 34px); }
.split-media { min-height: clamp(300px, 34vw, 430px); }
.intro-split { margin-bottom: 36px; }
.intro-split .section-heading {
    max-width: 760px;
    margin-bottom: 0;
}
.home-section-split {
    margin-bottom: clamp(26px, 4vw, 42px);
}
.home-section-split .section-heading {
    max-width: 780px;
    margin-bottom: 0;
}
.home-section-media {
    min-height: clamp(300px, 32vw, 430px);
}
.home-service-list {
    gap: clamp(18px, 3.4vw, 30px);
}
.home-service-row {
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,251,248,.98));
}
.alternating-list {
    display: grid;
    gap: clamp(20px, 4vw, 34px);
}
.alternating-row {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
    gap: clamp(18px, 4vw, 48px);
    align-items: center;
    padding: clamp(16px, 2.4vw, 24px);
    border: 1px solid rgba(0, 109, 102, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 46px rgba(0, 109, 102, .08);
}
.alternating-row.is-reversed {
    grid-template-columns: minmax(320px, 1.08fr) minmax(0, .92fr);
}
.alternating-row.is-reversed .alternating-copy { order: 2; }
.alternating-row.is-reversed .alternating-media { order: 1; }
.alternating-copy {
    min-width: 0;
    padding: clamp(10px, 2vw, 20px);
}
.alternating-copy h3 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.12;
}
.alternating-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.72;
}
.alternating-media { min-height: clamp(260px, 31vw, 390px); }
.contact-form-grid {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.quote-split {
    margin-bottom: 0;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
}
.quote-copy {
    display: grid;
    gap: 14px;
    align-content: center;
}
.quote-copy h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}
.quote-copy p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.8);
    line-height: 1.72;
}
.quote-copy .hero-kicker {
    color: rgba(255,255,255,.82);
}
.quote-copy .btn {
    width: fit-content;
}
.quote-media {
    min-height: clamp(260px, 28vw, 380px);
    border-color: rgba(255,255,255,.18);
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
}

.public-footer {
    position: relative;
    overflow: hidden;
    padding: 16px clamp(18px, 4vw, 42px);
    background-color: #006861;
    background-image:
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.1)),
        linear-gradient(135deg, rgba(255,255,255,.11) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,.09) 25%, transparent 25%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 27px, rgba(0,0,0,.08) 27px 28px);
    background-size: auto, 28px 28px, 28px 28px, 100% 56px;
    background-position: 0 0, 0 0, 14px 0, 0 0;
    color: rgba(255,255,255,.9);
}
.public-footer:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,78,73,.45), transparent 36%, rgba(0,78,73,.36));
    pointer-events: none;
}
.public-footer .container { position: relative; z-index: 1; }
.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(260px, 1fr) minmax(260px, 1fr);
    gap: 10px;
    align-items: start;
}
.footer-column { display: grid; gap: 4px; min-width: 0; }
.footer-brand {
    display: block;
    margin-bottom: 8px;
    color: #FFFFFF;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-style: italic;
    line-height: 1;
}
.public-footer h3 {
    display: block;
    margin: 0 0 8px;
    color: #FFFFFF;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.public-footer strong { color: #FFFFFF; }
.public-footer .footer-text {
    max-width: 430px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}
.public-footer .footer-text p { margin: 0; }
.footer-links,
.footer-contact {
    min-height: 132px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.045);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.footer-links {
    display: grid;
    gap: 4px;
}
.footer-links a {
    width: fit-content;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .18s ease, transform .18s ease;
}
.footer-links a:hover { color: var(--gold-2); transform: translateX(3px); }
.footer-contact { justify-self: stretch; text-align: left; }
.footer-contact p { margin: 0; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.45; }
.footer-contact span { color: #FFFFFF; font-weight: 900; }
.footer-socials {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 6px;
}
.footer-socials a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #FFFFFF;
    background: rgba(255,255,255,.12);
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
    transition: transform .18s ease, background .18s ease, color .18s ease;
}
.footer-socials img {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
}
.footer-socials span {
    display: block;
    line-height: 1;
}
.footer-socials a:hover {
    transform: translateY(-2px);
    color: #173B37;
    background: var(--gold-2);
}
.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at 30% 15%, rgba(240,184,75,.18), transparent 30%), var(--bg);
}
.auth-card { width: min(440px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; box-shadow: var(--shadow); }
.auth-card h1 { margin: 18px 0 8px; color: var(--primary); }
.auth-card p { color: var(--muted); line-height: 1.6; }

.app-shell { min-height: 100vh; display: grid !important; grid-template-columns: 280px minmax(0, 1fr); align-items: stretch; background: var(--bg); }
.sidebar { width: 280px; max-width: 280px; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 20px 16px; background: var(--primary); color: rgba(255,255,255,.82); }
.sidebar .brand { margin-bottom: 22px; color: #FFFFFF; }
.side-nav { display: grid; gap: 6px; }
.side-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 8px;
    color: rgba(255,255,255,.82);
    font-weight: 700;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.side-link:hover, .side-link.active { background: rgba(240,184,75,.22); color: #FFFFFF; transform: translateX(2px); }
.side-icon { width: 22px; height: 22px; display: grid; place-items: center; color: var(--gold); }
.side-icon::before { content: ""; width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 2px; transform: rotate(45deg); }
.side-group { border-radius: 8px; }
.side-group-toggle {
    width: 100%;
    min-height: 44px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 14px;
    gap: 11px;
    align-items: center;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    color: rgba(255,255,255,.84);
    background: transparent;
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    appearance: none;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}
.side-group-toggle:hover,
.side-group.active .side-group-toggle,
.side-group.open .side-group-toggle { color: #FFFFFF; background: rgba(255,255,255,.09); }
.side-group-toggle:focus-visible { outline: 2px solid rgba(240,184,75,.85); outline-offset: 2px; }
.side-group-arrow { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .22s ease; }
.side-group.open .side-group-arrow { transform: rotate(225deg) translate(-1px, -1px); }
.side-group-links { display: none; gap: 4px; padding: 5px 0 7px 18px; }
.side-group.open .side-group-links { display: grid; animation: side-group-reveal .22s ease both; }
.side-child-link { min-height: 38px; padding: 8px 10px; font-size: 13px; }
.side-child-dot { width: 7px; height: 7px; border: 2px solid var(--gold); border-radius: 50%; }
@keyframes side-group-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.main { min-width: 0; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(242,250,247,.92);
    backdrop-filter: blur(16px);
}
.searchbox { flex: 1; max-width: 520px; position: relative; }
.searchbox input { padding-left: 40px; }
.searchbox:before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border: 2px solid var(--muted);
    border-radius: 999px;
}
.notification-widget {
    position: relative;
    flex: 0 0 auto;
}
.notification-trigger {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(0,109,102,.12);
    border-radius: 12px;
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 12px 28px rgba(0,109,102,.08);
    cursor: pointer;
    list-style: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.notification-trigger::-webkit-details-marker {
    display: none;
}
.notification-trigger:hover,
.notification-trigger.open,
.notification-widget[open] .notification-trigger {
    transform: translateY(-1px);
    border-color: rgba(240,184,75,.55);
    color: #FFFFFF;
    background: var(--primary);
}
.notification-trigger svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.notification-count {
    position: absolute;
    top: -6px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #FFFFFF;
    border-radius: 999px;
    color: #FFFFFF;
    background: var(--danger);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}
.notification-permission-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.notification-permission-btn[hidden] {
    display: none;
}
.notification-permission-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--muted);
    box-shadow: 0 0 0 4px rgba(103, 126, 121, .12);
}
.notification-permission-btn[data-permission="granted"] .notification-permission-dot {
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(32, 161, 116, .15);
}
.notification-permission-btn[data-permission="denied"] .notification-permission-dot {
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(209, 67, 67, .15);
}
.notification-popover {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 60;
    width: min(380px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid rgba(0,109,102,.12);
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 24px 70px rgba(0,109,102,.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
}
.notification-popover.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.notification-widget[open] .notification-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.notification-popover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: #F4FBF8;
}
.notification-popover-head strong {
    display: block;
    color: var(--primary);
    font-size: 15px;
}
.notification-popover-head span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.notification-popover-head a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}
.notification-list {
    max-height: 390px;
    overflow-y: auto;
}
.notification-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: background .18s ease;
}
.notification-item:last-child { border-bottom: 0; }
.notification-item:hover {
    background: #F4FBF8;
}
.notification-item strong {
    display: block;
    color: var(--primary);
    font-size: 14px;
}
.notification-item p {
    margin: 5px 0 7px;
    color: #496864;
    font-size: 13px;
    line-height: 1.45;
}
.notification-item time {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}
.notification-dot {
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 999px;
    background: #A8BDB8;
}
.notification-item.unread .notification-dot {
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(240,184,75,.18);
}
.notification-empty {
    padding: 24px 16px;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}
.notification-page-head {
    align-items: center;
}
.notification-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.notification-stat-card {
    min-height: 110px;
    padding: 18px;
    border: 1px solid rgba(0,109,102,.1);
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 14px 38px rgba(0,109,102,.07);
}
.notification-stat-card span,
.notification-info-card span,
.notification-data-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.notification-stat-card strong {
    display: block;
    margin-top: 12px;
    color: var(--primary);
    font-size: 34px;
    line-height: 1;
}
.notification-stat-card.unread {
    border-color: rgba(240,184,75,.45);
    background: linear-gradient(135deg, rgba(240,184,75,.16), #FFFFFF 72%);
}
.notification-inbox {
    padding: 0;
    overflow: hidden;
}
.notification-toolbar {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: #F4FBF8;
}
.notification-filters {
    margin-bottom: 0;
}
.notification-inbox-list {
    display: grid;
}
.notification-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
    transition: background .18s ease;
}
.notification-card:hover {
    background: #FBFEFD;
}
.notification-card.unread {
    background: linear-gradient(90deg, rgba(240,184,75,.13), #FFFFFF 54%);
}
.notification-card-main {
    min-width: 0;
    display: grid;
    grid-template-columns: 13px minmax(0, 1fr);
    gap: 14px;
    color: inherit;
    text-decoration: none;
}
.notification-card-dot {
    width: 11px;
    height: 11px;
    margin-top: 7px;
    border-radius: 999px;
    background: #A8BDB8;
}
.notification-card.unread .notification-card-dot {
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(240,184,75,.17);
}
.notification-card-copy {
    min-width: 0;
}
.notification-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.notification-card-top strong {
    color: var(--primary);
    font-size: 16px;
}
.notification-card p {
    margin: 7px 0 10px;
    color: #496864;
    line-height: 1.55;
}
.notification-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.notification-meta-row span,
.notification-meta-row time {
    padding: 5px 8px;
    border-radius: 999px;
    background: #F2FAF7;
}
.notification-card-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.notification-empty-large {
    display: grid;
    gap: 8px;
    padding: 42px 18px;
    color: var(--muted);
    text-align: center;
}
.notification-empty-large strong {
    color: var(--primary);
    font-size: 20px;
}
.notification-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: start;
    margin-bottom: 20px;
}
.notification-detail-card {
    min-height: 300px;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 20px;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid rgba(0,109,102,.1);
    border-radius: 14px;
    background: linear-gradient(135deg, #FFFFFF, #F4FBF8);
    box-shadow: 0 18px 48px rgba(0,109,102,.08);
}
.notification-detail-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: 0 16px 34px rgba(0,109,102,.2);
}
.notification-detail-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.notification-detail-copy h2 {
    margin: 18px 0 12px;
    color: var(--primary);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}
.notification-detail-copy p {
    margin: 0;
    color: #365B56;
    font-size: 17px;
    line-height: 1.75;
}
.notification-detail-side {
    display: grid;
    gap: 12px;
}
.notification-info-card,
.notification-data-grid div {
    padding: 16px;
    border: 1px solid rgba(0,109,102,.1);
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(0,109,102,.06);
}
.notification-info-card strong,
.notification-data-grid strong {
    display: block;
    margin-top: 8px;
    color: var(--primary);
    overflow-wrap: anywhere;
}
.notification-data-panel h2 {
    margin-bottom: 14px;
}
.notification-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}
.page { padding: 24px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.page-title { margin: 0; color: var(--primary); font-size: clamp(26px, 3vw, 38px); }
.breadcrumb { margin-top: 6px; color: var(--muted); font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; }
.stat-card { min-height: 116px; padding: 18px; }
.stat-card span { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.stat-card strong { display: block; margin-top: 10px; color: var(--primary); font-size: 28px; word-break: break-word; }
.panel { padding: 18px; margin-bottom: 20px; }
.panel h2, .panel h3 { margin: 0 0 16px; color: var(--primary); }
.location-page-head p { max-width: 720px; margin-top: 6px; color: var(--muted); }
.location-quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.location-quick-card { display: grid; gap: 7px; padding: 18px; color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.location-quick-card:hover { transform: translateY(-2px); border-color: rgba(0,109,102,.22); box-shadow: 0 18px 42px rgba(0,109,102,.1); }
.location-quick-card span { color: var(--gold); font-size: 11px; font-weight: 950; letter-spacing: .04em; text-transform: uppercase; }
.location-quick-card strong { color: var(--primary); font-size: 17px; line-height: 1.2; }
.location-quick-card small { color: var(--muted); line-height: 1.45; }
.location-panel-head p { max-width: 760px; margin: 8px 0 0; color: var(--muted); }
.user-live-location { min-width: 170px; display: grid; gap: 4px; }
.user-live-location small { color: var(--muted); line-height: 1.35; }
.user-live-location a { color: var(--primary); font-size: 12px; font-weight: 900; }
.user-live-location.muted strong { color: var(--muted); }
.location-map-panel { position: relative; overflow: hidden; }
.location-panel-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 16px; }
.location-panel-head h2 { margin-bottom: 0; }
.location-legend { display: flex; gap: 14px; color: var(--muted); font-size: 13px; font-weight: 800; }
.location-legend span { display: inline-flex; align-items: center; gap: 6px; }
.location-legend i { width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.location-legend i.gps { background: var(--primary); }
.visitor-location-map { width: 100%; min-height: 440px; border: 1px solid var(--line); border-radius: 8px; background: #EAF5F1; }
.location-map-empty { position: absolute; inset: 100px 18px 18px; display: grid; place-items: center; color: var(--muted); font-weight: 800; pointer-events: none; }
.live-admin-panel { border-color: rgba(22, 163, 74, .22); }
.live-status { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; color: var(--success); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.live-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(22, 163, 74, .35); animation: live-pulse 1.8s infinite; }
.live-admin-count { flex: 0 0 auto; padding: 9px 12px; border-radius: 8px; color: var(--success); background: rgba(22, 163, 74, .1); }
.live-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.live-admin-card { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.live-admin-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #FFFFFF; background: var(--primary); font-weight: 900; }
.live-admin-card div:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.live-admin-card strong,
.live-admin-card span,
.live-admin-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-admin-card span,
.live-admin-card small { color: var(--muted); }
.live-admin-card a { color: var(--primary); font-size: 13px; font-weight: 900; }
.live-admin-empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; }
.leaflet-interactive.live-admin-marker { animation: live-marker-pulse 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } }
@keyframes live-marker-pulse { 50% { opacity: .62; transform: scale(1.35); } }
.location-filters { grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, 190px)) auto; }
.location-table td > strong,
.location-table td > small { display: block; }
.location-table td > small { margin-top: 4px; color: var(--muted); line-height: 1.4; }
.location-table code { display: inline-block; max-width: 220px; overflow: hidden; color: var(--primary); text-overflow: ellipsis; white-space: nowrap; }
.user-directory-head p { margin: 8px 0 0; color: var(--muted); }
.user-directory-filters { grid-template-columns: minmax(240px, 1fr) minmax(170px, 220px) auto auto; }
.user-directory-table td > strong,
.user-directory-table td > small { display: block; }
.user-directory-table td > small { margin-top: 4px; color: var(--muted); }
.user-cell { display: flex; align-items: center; gap: 10px; }
.user-cell > span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #FFFFFF; background: var(--primary); font-weight: 900; }
.user-cell div { min-width: 0; }
.user-cell strong,
.user-cell small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-cell small { margin-top: 3px; color: var(--muted); }
.btn-danger { color: #FFFFFF; border-color: var(--danger); background: var(--danger); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; }
.data-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.data-table th, .data-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table th { background: #F4FBF8; color: #607B76; font-size: 12px; text-transform: uppercase; }
.data-table tr:hover td { background: #FBFEFD; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #EEF2F7;
    color: #374151;
    font-size: 12px;
    font-weight: 800;
}
.badge.active, .badge.approved, .badge.completed, .badge.paid, .badge.solved, .badge.present { background: rgba(22,163,74,.12); color: var(--success); }
.badge.pending, .badge.under_review, .badge.in_progress, .badge.unpaid, .badge.late, .badge.new, .badge.contacted, .badge.quoted, .badge.scheduled { background: rgba(240,184,75,.2); color: var(--warning); }
.badge.urgent, .badge.overdue, .badge.rejected, .badge.inactive, .badge.absent, .badge.cancelled { background: rgba(180,35,24,.12); color: var(--danger); }
.filters { display: grid; grid-template-columns: 1fr repeat(3, minmax(140px, 190px)) auto; gap: 10px; align-items: end; margin-bottom: 14px; }
.settings-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.settings-tabs {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 8px;
    padding: 10px;
}
.settings-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    color: #5A6678;
    font-weight: 800;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.settings-tab:hover {
    background: #F2F6F5;
    color: var(--primary);
    transform: translateX(2px);
}
.settings-tab.active {
    background: #050505;
    color: #FFFFFF;
}
.settings-tab-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-radius: 5px;
    opacity: .72;
}
.settings-form {
    padding: 24px;
}
.settings-form-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.settings-form-head h2 {
    margin: 0 0 8px;
}
.settings-form-head p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}
.switch-row {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid #B9DCD5;
    border-radius: 8px;
    background: #FFFFFF;
}
.switch-row input {
    width: auto;
    min-height: auto;
}
.pagination { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.pagination nav > div:first-child { display: none; }
.pagination nav > div:last-child { display: flex; justify-content: flex-end; }
.pagination svg { width: 18px; }
.bar-chart { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 82px 1fr 52px; gap: 12px; align-items: center; }
.bar-track { height: 12px; overflow: hidden; border-radius: 999px; background: #E5E7EB; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--gold)); animation: slideFill .75s ease both; }
.donut {
    --p: 68%;
    width: 170px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(var(--primary) var(--p), #E5E7EB 0);
}
.donut:after {
    content: attr(data-label);
    width: 112px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--primary);
    font-weight: 900;
}

.is-visible { animation: fadeUp .36s ease both; }
.error-shake { animation: shake .24s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes slideFill { from { width: 0; } }

body.dark-mode {
    --bg: #0E1715;
    --card: #111F1C;
    --text: #E5E7EB;
    --muted: #A7B0BA;
    --line: #20342F;
}
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea,
body.dark-mode .local-richtext,
body.dark-mode .local-richtext-editor,
body.dark-mode .panel,
body.dark-mode .stat-card,
body.dark-mode .table-wrap { background: var(--card); color: var(--text); border-color: var(--line); }
body.dark-mode .local-richtext-toolbar { background: #0F201C; border-color: var(--line); }
body.dark-mode .local-richtext-toolbar button { background: #142820; border-color: var(--line); }
body.dark-mode .checkbox-card { background: var(--card); border-color: var(--line); color: var(--text); }
body.dark-mode .notification-trigger,
body.dark-mode .notification-popover,
body.dark-mode .notification-popover-head {
    background: var(--card);
    border-color: var(--line);
}
body.dark-mode .notification-popover-head {
    background: #0F201C;
}
body.dark-mode .notification-item p {
    color: #B8CDC8;
}
body.dark-mode .notification-item:hover {
    background: #0F201C;
}
body.dark-mode .notification-stat-card,
body.dark-mode .notification-card,
body.dark-mode .notification-detail-card,
body.dark-mode .notification-info-card,
body.dark-mode .notification-data-grid div {
    background: var(--card);
    border-color: var(--line);
}
body.dark-mode .notification-toolbar,
body.dark-mode .notification-meta-row span,
body.dark-mode .notification-meta-row time {
    background: #0F201C;
}
body.dark-mode .notification-card p,
body.dark-mode .notification-detail-copy p {
    color: #B8CDC8;
}

@media (max-width: 1120px) {
    .public-nav {
        grid-template-columns: minmax(150px, .55fr) minmax(0, 1.55fr) minmax(170px, .55fr);
        gap: 8px;
        padding-inline: 16px;
    }
    .brand { font-size: 14px; }
    .brand-mark { width: 36px; height: 36px; }
    .nav-links { gap: 2px; }
    .nav-links a:not(.btn) { padding: 9px 7px; font-size: 13px; }
    .nav-caret { width: 21px; }
    .nav-search { width: min(100%, 200px); }
    .nav-actions { gap: 7px; }
    .nav-login { padding-inline: 10px; }
}

@media (max-width: 980px) {
    .home-hero-grid,
    .hero-slide-grid,
    .workflow-grid,
    .cms-page-grid,
    .split-section,
    .split-section.is-reversed,
    .alternating-row,
    .alternating-row.is-reversed,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    .cms-page-grid.media-left .cms-page-copy,
    .cms-page-grid.media-left .cms-page-media,
    .split-section.is-reversed .split-copy,
    .split-section.is-reversed .section-heading,
    .split-section.is-reversed .split-media,
    .alternating-row.is-reversed .alternating-copy,
    .alternating-row.is-reversed .alternating-media {
        order: initial;
    }
    .hero-slider-section .hero-slider-track { min-height: clamp(620px, 84vh, 780px); }
    .hero-slider-section .hero-slide-grid {
        grid-template-columns: 1fr;
        align-items: end;
        padding: 92px 0 112px;
    }
    .hero-slider-section .hero-slide-copy { max-width: 720px; }
    .hero-service-card {
        max-width: 460px;
        justify-self: start;
    }
    .hero-slider-track { min-height: auto; }
    .hero-slide-grid { padding: 52px 0 86px; }
    .hero-media-panel { min-height: clamp(300px, 56vw, 430px); }
    .feature-grid, .pricing-grid, .grid-3, .stats-grid, .zone-grid, .search-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-shell { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 90;
        width: min(340px, calc(100vw - 24px));
        max-width: none;
        padding: 14px;
        border-radius: 0 8px 8px 0;
        box-shadow: 28px 0 70px rgba(4, 31, 28, .34);
        transform: translateX(-100%);
        transition: transform .28s cubic-bezier(.2,.8,.2,1);
    }
    .sidebar.open { transform: translateX(0); }
    .sidebar-backdrop { position: fixed; inset: 0; z-index: 80; display: block; opacity: 0; visibility: hidden; background: rgba(4, 31, 28, .48); backdrop-filter: blur(4px); transition: opacity .24s ease, visibility .24s ease; }
    .sidebar-backdrop.open { opacity: 1; visibility: visible; }
    body.dashboard-menu-open { overflow: hidden; }
    .sidebar-mobile-head { min-height: 44px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 2px 2px 10px; border-bottom: 1px solid rgba(255,255,255,.14); color: #FFFFFF; }
    .sidebar-mobile-head button { width: 36px; height: 36px; position: relative; border: 0; border-radius: 8px; color: #FFFFFF; background: rgba(255,255,255,.1); cursor: pointer; }
    .sidebar-mobile-head button::before,
    .sidebar-mobile-head button::after { content: ""; position: absolute; left: 10px; right: 10px; top: 17px; height: 2px; background: currentColor; transform: rotate(45deg); }
    .sidebar-mobile-head button::after { transform: rotate(-45deg); }
    .sidebar .brand { margin-bottom: 14px; }
    .sidebar-mobile-tools { display: grid; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
    .sidebar-mobile-tools > span { padding: 0 10px 4px; color: var(--gold); font-size: 11px; font-weight: 900; text-transform: uppercase; }
    .sidebar-tool { width: 100%; min-height: 42px; display: flex; align-items: center; padding: 9px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #FFFFFF; background: rgba(255,255,255,.08); font-weight: 800; text-align: left; cursor: pointer; }
    .sidebar-mobile-tools form { margin: 0; }
    .sidebar-logout { color: #173B37; background: var(--gold); }
    .admin-dot-menu { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(0,109,102,.14); border-radius: 8px; color: var(--primary); background: #FFFFFF; box-shadow: 0 10px 26px rgba(0,109,102,.09); cursor: pointer; }
    .dot-grid { width: 22px; height: 22px; display: grid; grid-template-columns: repeat(3, 4px); grid-template-rows: repeat(3, 4px); gap: 5px; place-content: center; }
    .dot-grid i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: dot-wave 1.8s ease-in-out infinite; }
    .dot-grid i:nth-child(n+4):nth-child(-n+6) { animation-delay: .12s; }
    .dot-grid i:nth-child(n+7) { animation-delay: .24s; }
    .admin-dot-menu.open { color: #FFFFFF; background: var(--primary); }
    @keyframes dot-wave { 0%, 100% { opacity: .35; transform: scale(.75); } 35%, 70% { opacity: 1; transform: scale(1); } }
    .side-link, .side-group { opacity: 0; transform: translateX(-10px); }
    .sidebar.open .side-link,
    .sidebar.open .side-group { opacity: 1; transform: translateX(0); transition: opacity .24s ease, transform .24s ease; }
    .sidebar.open .side-link:nth-child(2n),
    .sidebar.open .side-group:nth-child(2n) { transition-delay: .025s; }
}

@media (max-width: 720px) {
    .container { width: min(100% - 28px, 1180px); }
    .location-quick-links { grid-template-columns: 1fr; }
    .public-page { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: contain; }
    .public-shell { min-height: 100dvh; padding-top: calc(64px + env(safe-area-inset-top)); overflow: clip; }
    .public-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        min-height: calc(64px + env(safe-area-inset-top));
        grid-template-columns: minmax(0, 1fr) auto;
        padding: calc(11px + env(safe-area-inset-top)) 14px 11px;
    }
    .brand { max-width: calc(100% - 58px); font-size: 15px; }
    .brand-mark { width: 38px; height: 38px; }
    .nav-links, .nav-actions { display: none; }
    .mobile-dots {
        width: 44px;
        height: 44px;
        display: inline-grid;
        grid-template-columns: repeat(3, 4px);
        grid-auto-rows: 4px;
        place-items: center;
        justify-content: center;
        align-content: center;
        gap: 4px;
        margin-left: auto;
        border: 1px solid rgba(0,109,102,.14);
        border-radius: 12px;
        background: linear-gradient(180deg, #FFFFFF, #F2FAF7);
        box-shadow: 0 12px 28px rgba(0,109,102,.11);
        cursor: pointer;
        transition: background .18s ease, border-color .18s ease, transform .18s ease;
    }
    .mobile-dots span {
        width: 4px;
        height: 4px;
        border-radius: 999px;
        background: var(--primary);
        box-shadow: 0 0 0 1px rgba(0,109,102,.08);
    }
    .mobile-dots:active { transform: scale(.97); }
    .mobile-dots.open { background: var(--primary); border-color: var(--primary); }
    .mobile-dots.open span { background: #FFFFFF; }
    .mobile-nav-backdrop.open {
        position: fixed;
        inset: calc(64px + env(safe-area-inset-top)) 0 0;
        z-index: 70;
        display: block;
        background: rgba(6,31,27,.28);
    }
    .mobile-nav-panel {
        position: fixed;
        top: calc(76px + env(safe-area-inset-top));
        left: 14px;
        right: 14px;
        z-index: 80;
        display: grid;
        min-width: 0;
        max-height: calc(100dvh - 154px - env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 10px;
        border: 1px solid rgba(0,109,102,.12);
        border-radius: 12px;
        background: rgba(255,255,255,.98);
        box-shadow: 0 24px 60px rgba(0,109,102,.18);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .18s ease, transform .18s ease;
    }
    .mobile-nav-search {
        display: flex;
        margin-bottom: 8px;
    }
    .mobile-nav-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .mobile-nav-panel a,
    .mobile-submenu-toggle {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px;
        border: 0;
        border-radius: 10px;
        color: var(--primary);
        background: transparent;
        text-align: left;
        font-size: 15px;
        font-weight: 850;
        cursor: pointer;
    }
    .mobile-nav-group { display: grid; gap: 4px; }
    .mobile-submenu {
        display: none;
        gap: 6px;
        margin: 0 0 6px 8px;
        padding: 6px 0 6px 9px;
        border-left: 2px solid rgba(240,184,75,.62);
    }
    .mobile-nav-group.open .mobile-submenu { display: grid; }
    .mobile-submenu-arrow {
        width: 9px;
        height: 9px;
        flex: 0 0 auto;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform .18s ease;
    }
    .mobile-nav-group.open .mobile-submenu-arrow { transform: rotate(225deg); }
    .mobile-nav-panel .mobile-child-link {
        min-height: 38px;
        padding: 9px 11px;
        color: #2F4D49;
        background: rgba(0,109,102,.035);
        font-size: 13px;
    }
    .mobile-nav-panel .mobile-parent-link {
        color: var(--primary);
        background: rgba(240,184,75,.14);
    }
    .mobile-nav-panel .mobile-account-link {
        margin-bottom: 8px;
        color: #FFFFFF;
        background: var(--primary);
        box-shadow: 0 12px 26px rgba(0,109,102,.18);
    }
    .mobile-nav-panel .mobile-account-link svg {
        width: 20px;
        height: 20px;
        flex: 0 0 auto;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .mobile-nav-panel a:hover,
    .mobile-nav-panel a.active,
    .mobile-submenu-toggle:hover,
    .mobile-nav-group.open .mobile-submenu-toggle {
        background: rgba(240,184,75,.16);
    }
    .mobile-nav-panel .mobile-account-link:hover,
    .mobile-nav-panel .mobile-account-link.active {
        color: #FFFFFF;
        background: #075C56;
    }
    .mobile-app-install:not([hidden]) {
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin-bottom: 8px;
        padding: 11px 13px;
        border: 1px solid rgba(240,184,75,.55);
        border-radius: 8px;
        color: #173B37;
        background: linear-gradient(135deg, var(--gold), var(--gold-2));
        font-weight: 900;
        cursor: pointer;
    }
    .mobile-app-install svg,
    .app-install-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .app-install-fab:not([hidden]) {
        position: fixed;
        right: 14px;
        bottom: calc(88px + env(safe-area-inset-bottom));
        z-index: 94;
        min-height: 44px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border: 1px solid rgba(255,255,255,.55);
        border-radius: 8px;
        color: #FFFFFF;
        background: var(--primary);
        box-shadow: 0 18px 42px rgba(0,109,102,.28);
        font-size: 13px;
        font-weight: 900;
        animation: app-install-enter .3s ease both;
        cursor: pointer;
    }
    @keyframes app-install-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
    .home-hero { padding: 0; }
    .hero-slider-section .hero-slider-track {
        min-height: calc(100svh - 64px);
    }
    .hero-slider-section .hero-slide-shade {
        background:
            linear-gradient(180deg, rgba(4, 24, 21, .84) 0%, rgba(4, 24, 21, .52) 46%, rgba(4, 24, 21, .88) 100%),
            linear-gradient(90deg, rgba(4, 24, 21, .72), rgba(4, 24, 21, .28));
    }
    .hero-slider-section .hero-slide-grid {
        min-height: calc(100svh - 64px);
        gap: 18px;
        padding: 84px 0 104px;
    }
    .hero-slide-grid { gap: 24px; padding: 34px 0 82px; }
    .home-hero-copy h1,
    .hero-slide-copy h1 { font-size: clamp(36px, 11vw, 48px); }
    .hero-slider-section .hero-slide-copy h1 {
        margin-bottom: 16px;
        font-size: clamp(38px, 12vw, 54px);
    }
    .hero-richtext { font-size: 15px; }
    .hero-slider-section .hero-richtext {
        margin-bottom: 20px;
        font-size: 15px;
    }
    .hero-slider-section .hero-trust {
        margin-top: 18px;
    }
    .hero-slider-section .hero-trust span {
        padding: 7px 9px;
        font-size: 11px;
    }
    .hero-service-card {
        display: none;
    }
    .hero-media-panel {
        min-height: 280px;
        border-radius: 12px;
    }
    .hero-media-checklist {
        left: 10px;
        right: 10px;
        bottom: 10px;
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .hero-media-checklist span {
        padding: 8px 9px;
        font-size: 11px;
    }
    .hero-media-badge {
        top: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    .hero-arrow {
        top: auto;
        bottom: 22px;
        width: 38px;
        height: 38px;
        transform: none;
        font-size: 28px;
    }
    .hero-arrow-left { left: 14px; }
    .hero-arrow-right { right: 14px; }
    .hero-slider-dots { bottom: 34px; }
    .hero-actions .btn, .button-row .btn, .request-panel .btn, .quote-copy .btn { width: 100%; }
    .clean-photo-card { min-height: 230px; }
    .photo-arch { width: 140px; height: 165px; border-width: 16px; }
    .photo-mat { height: 54px; }
    .clean-visual-top, .zone-card footer, .request-panel, .page-head { flex-direction: column; align-items: flex-start; }
    .clean-checklist, .feature-grid, .pricing-grid, .grid-2, .grid-3, .stats-grid, .form-grid, .workflow-steps, .zone-grid, .contact-form-grid, .search-results-grid, .search-hero-form { grid-template-columns: 1fr; }
    .media-frame,
    .cms-page-media,
    .split-media,
    .alternating-media {
        min-height: 250px;
    }
    .search-hero-form .btn { width: 100%; }
    .section { padding: 50px 0; }
    .request-panel { min-height: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links,
    .footer-contact {
        min-height: auto;
    }
    .footer-socials,
    .footer-bottom {
        grid-column: auto;
    }
    .filters { grid-template-columns: 1fr; }
    .user-directory-filters { grid-template-columns: 1fr; }
    .location-consent { right: 14px; bottom: 82px; width: calc(100% - 28px); grid-template-columns: 40px 1fr; padding: 13px; }
    .location-consent-icon { width: 40px; height: 40px; }
    .location-consent-actions { grid-column: 1 / -1; }
    .location-consent-actions .btn { flex: 1; width: auto; }
    .location-quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .location-panel-head { flex-direction: column; }
    .live-admin-grid { grid-template-columns: 1fr; }
    .live-admin-card { grid-template-columns: 40px minmax(0, 1fr); }
    .live-admin-card a { grid-column: 2; }
    .visitor-location-map { min-height: 360px; }
    .settings-shell { grid-template-columns: 1fr; }
    .settings-tabs { position: static; }
    .settings-form-head { flex-direction: column; }
    .notification-stat-grid,
    .notification-detail-shell {
        grid-template-columns: 1fr;
    }
    .notification-card {
        grid-template-columns: 1fr;
    }
    .notification-card-actions {
        justify-content: flex-start;
    }
    .notification-detail-card {
        grid-template-columns: 1fr;
    }
    .notification-detail-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }
    .page { padding: 16px 12px 28px; }
    .topbar { min-height: 66px; padding: 10px 12px; gap: 8px; }
    .topbar > .button-row { margin-left: auto; flex-wrap: nowrap; gap: 7px; }
    .topbar .button-row .btn { width: auto; }
    .desktop-topbar-action,
    .topbar-logout { display: none; }
    .topbar-user { max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .notification-trigger { width: 40px; height: 40px; border-radius: 8px; }
    .page-head { gap: 14px; }
    .page-title { font-size: 28px; }
    .panel { padding: 14px; }
    .responsive-table-wrap { overflow: visible; border: 0; background: transparent; }
    .responsive-data-table { min-width: 0; border-collapse: separate; }
    .responsive-data-table thead { display: none; }
    .responsive-data-table tbody { display: grid; gap: 12px; }
    .responsive-data-table tbody tr { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; box-shadow: 0 12px 30px rgba(0,109,102,.06); }
    .responsive-data-table tbody td { min-width: 0; display: grid; grid-template-columns: minmax(92px, .7fr) minmax(0, 1.3fr); gap: 12px; align-items: center; padding: 11px 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
    .responsive-data-table tbody td:last-child { border-bottom: 0; }
    .responsive-data-table tbody td::before { content: attr(data-label); color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
    .responsive-data-table .actions { justify-content: flex-start; }
    .responsive-data-table .actions .btn { width: auto; }
    .responsive-data-table .empty-state { display: block; }
    .responsive-data-table .empty-state::before { display: none; }
    .notification-popover {
        position: fixed;
        top: 68px;
        left: 12px;
        right: 12px;
        width: auto;
    }
    .searchbox { display: none; }
    .public-page {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }
    .public-page.app-standalone .app-install-fab,
    .public-page.app-standalone .mobile-app-install { display: none !important; }
    .public-page.app-standalone .public-shell { animation: app-shell-enter .28s ease both; }
    @keyframes app-shell-enter { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
    .bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        display: grid;
        grid-template-columns: repeat(var(--bottom-nav-count, 5), minmax(0, 1fr));
        min-height: calc(76px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid rgba(0, 109, 102, .12);
        background:
            linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,251,248,.98));
        box-shadow: 0 -18px 42px rgba(0,109,102,.14);
    }
    .bottom-nav-link {
        position: relative;
        min-width: 0;
        min-height: 76px;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 5px;
        padding: 9px 3px 8px;
        border: 0;
        border-left: 1px solid rgba(0,109,102,.07);
        color: #3D675F;
        background: transparent;
        text-align: center;
        font-size: clamp(9px, 2.55vw, 11px);
        font-weight: 900;
        line-height: 1.15;
        transition: color .18s ease, background .18s ease;
        cursor: pointer;
    }
    .bottom-nav-link:first-child { border-left: 0; }
    .bottom-nav-link.active,
    .bottom-nav-link:hover,
    .bottom-nav-link.open {
        color: var(--primary);
        background:
            linear-gradient(180deg, rgba(0,109,102,.075), rgba(240,184,75,.12));
    }
    .bottom-nav-link.active::before {
        content: "";
        position: absolute;
        top: 0;
        left: 28%;
        right: 28%;
        height: 3px;
        border-radius: 0 0 4px 4px;
        background: var(--gold);
    }
    .bottom-nav-link:active .bottom-nav-icon { transform: scale(.9); }
    .bottom-nav-icon {
        width: 27px;
        height: 27px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        transition: transform .16s ease;
    }
    .bottom-nav-icon svg {
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .bottom-nav-label {
        width: 100%;
        min-width: 0;
        min-height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
        overflow-wrap: anywhere;
        text-wrap: balance;
        white-space: normal;
    }
    .bottom-submenu-backdrop.open {
        position: fixed;
        inset: 0;
        z-index: 90;
        display: block;
        background: rgba(6,31,27,.26);
    }
    .bottom-submenu {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(88px + env(safe-area-inset-bottom));
        z-index: 96;
        display: grid;
        gap: 8px;
        max-height: min(62vh, 430px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px;
        border: 1px solid rgba(0,109,102,.14);
        border-radius: 16px;
        background: rgba(255,255,255,.99);
        box-shadow: 0 24px 80px rgba(0,109,102,.24);
        opacity: 0;
        pointer-events: none;
        transform: translateY(16px);
        transition: opacity .18s ease, transform .18s ease;
    }
    .bottom-submenu.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .bottom-submenu-head {
        position: sticky;
        top: -12px;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: -12px -12px 2px;
        padding: 13px 12px;
        border-bottom: 1px solid rgba(0,109,102,.1);
        background: rgba(255,255,255,.98);
        color: var(--primary);
    }
    .bottom-submenu-head strong {
        font-size: 15px;
        font-weight: 950;
    }
    .bottom-submenu-head button {
        width: 34px;
        height: 34px;
        position: relative;
        flex: 0 0 auto;
        border: 0;
        border-radius: 10px;
        background: #F2FAF7;
        cursor: pointer;
    }
    .bottom-submenu-head button:before,
    .bottom-submenu-head button:after {
        content: "";
        position: absolute;
        left: 10px;
        right: 10px;
        top: 16px;
        height: 2px;
        border-radius: 999px;
        background: var(--primary);
    }
    .bottom-submenu-head button:before { transform: rotate(45deg); }
    .bottom-submenu-head button:after { transform: rotate(-45deg); }
    .bottom-submenu-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 11px 12px;
        border: 1px solid rgba(0,109,102,.08);
        border-radius: 12px;
        color: #24504B;
        background: #F7FCFA;
        font-size: 14px;
        font-weight: 850;
    }
    .bottom-submenu-main {
        color: var(--primary);
        background: rgba(240,184,75,.16);
    }
    .bottom-submenu-link:hover,
    .bottom-submenu-link.active {
        color: var(--primary);
        border-color: rgba(240,184,75,.45);
        background: rgba(240,184,75,.18);
    }
}

@media (max-width: 720px) {
    html { -webkit-text-size-adjust: 100%; }
    body {
        overflow-x: hidden;
        font-size: 14px;
        line-height: 1.45;
    }
    h1, h2, h3, h4, h5, h6,
    p, a, button, input, select, textarea,
    .btn, .badge, .side-link, .side-group-toggle,
    .bottom-nav-label, .mobile-nav-link {
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
    }
    .container { width: min(100% - 22px, 1180px); }
    .public-page {
        background: #F7FCFA;
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
    .public-shell {
        min-height: 100dvh;
        padding-top: calc(58px + env(safe-area-inset-top));
        background: #F7FCFA;
    }
    .public-nav {
        min-height: calc(58px + env(safe-area-inset-top));
        padding: calc(8px + env(safe-area-inset-top)) 11px 8px;
        border-bottom-color: rgba(0,109,102,.08);
        background: rgba(255,255,255,.96);
        box-shadow: 0 10px 26px rgba(0,109,102,.08);
    }
    .brand {
        max-width: calc(100vw - 72px);
        gap: 8px;
        font-size: 14px;
        line-height: 1.15;
    }
    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        font-size: 13px;
    }
    .mobile-dots {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        gap: 4px;
        box-shadow: 0 10px 22px rgba(0,109,102,.1);
    }
    .mobile-nav-backdrop.open { inset: calc(58px + env(safe-area-inset-top)) 0 0; }
    .mobile-nav-panel {
        top: calc(66px + env(safe-area-inset-top));
        left: 10px;
        right: 10px;
        max-height: calc(100dvh - 142px - env(safe-area-inset-bottom));
        padding: 8px;
        border-radius: 8px;
        box-shadow: 0 18px 48px rgba(0,109,102,.2);
    }
    .mobile-nav-search { margin-bottom: 6px; }
    .mobile-nav-search input,
    .mobile-nav-search button { min-height: 40px; }
    .mobile-nav-panel a,
    .mobile-submenu-toggle {
        min-height: 40px;
        padding: 9px 10px;
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.2;
    }
    .mobile-submenu {
        gap: 5px;
        margin-left: 6px;
        padding: 5px 0 5px 8px;
    }
    .mobile-nav-panel .mobile-child-link {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 13px;
    }
    .section { padding: 34px 0; }
    .section-heading { margin-bottom: 18px; }
    .section-heading h2,
    .page-title,
    .page-head h1 { font-size: clamp(23px, 7vw, 30px); line-height: 1.12; }
    .section-heading p,
    .page-head p,
    .hero-richtext,
    .request-panel p,
    .split-copy p,
    .alternating-copy p,
    .cms-richtext p { font-size: 14px; line-height: 1.58; }
    .hero-slider-section .hero-slider-track,
    .hero-slider-section .hero-slide-grid {
        min-height: min(640px, calc(100svh - 58px));
    }
    .hero-slider-section .hero-slide-grid {
        gap: 14px;
        padding: 58px 0 82px;
    }
    .home-hero-copy h1,
    .hero-slide-copy h1,
    .hero-slider-section .hero-slide-copy h1 {
        margin-bottom: 12px;
        font-size: clamp(30px, 10vw, 42px);
        line-height: 1.04;
    }
    .hero-slider-section .hero-richtext { margin-bottom: 14px; }
    .hero-actions,
    .button-row {
        width: 100%;
        gap: 8px;
    }
    .btn {
        min-height: 40px;
        padding: 9px 12px;
        border-radius: 8px;
        font-size: 13px;
        line-height: 1.2;
    }
    .btn-sm {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 12px;
    }
    .feature-card, .price-card, .content-card, .stat-card, .panel, .zone-card {
        border-radius: 8px;
        box-shadow: 0 10px 26px rgba(0,109,102,.07);
    }
    .panel {
        margin-bottom: 12px;
        padding: 12px;
    }
    .stat-card {
        min-height: 86px;
        padding: 13px;
    }
    .stat-card span { font-size: 10px; line-height: 1.2; }
    .stat-card strong { margin-top: 7px; font-size: clamp(21px, 7vw, 27px); }
    .stats-grid,
    .location-quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px;
    }
    .feature-grid, .pricing-grid, .grid-2, .grid-3,
    .form-grid, .workflow-steps, .zone-grid,
    .contact-form-grid, .search-results-grid {
        gap: 10px;
    }
    .feature-card, .price-card, .content-card, .zone-card {
        padding: 14px;
    }
    .feature-card h3, .price-card h3, .content-card h3, .zone-card h3 {
        font-size: 17px;
        line-height: 1.2;
    }
    .form-field { gap: 5px; }
    input, select, textarea {
        min-height: 40px;
        border-radius: 8px;
        padding: 9px 10px;
        font-size: 14px;
    }
    textarea { min-height: 96px; }
    .request-panel {
        gap: 12px;
        padding: 16px;
    }
    .public-footer { padding: 24px 0 calc(86px + env(safe-area-inset-bottom)); }
    .footer-grid { gap: 8px; }
    .footer-links,
    .footer-contact {
        padding: 11px;
        border-radius: 8px;
    }
    .footer-brand { font-size: 23px; }
    .bottom-nav {
        min-height: calc(68px + env(safe-area-inset-bottom));
        border-radius: 14px 14px 0 0;
    }
    .bottom-nav-link {
        min-height: 68px;
        gap: 3px;
        padding: 7px 2px 6px;
        font-size: clamp(8.5px, 2.45vw, 10.5px);
    }
    .bottom-nav-icon {
        width: 24px;
        height: 24px;
        border-radius: 8px;
    }
    .bottom-nav-icon svg {
        width: 20px;
        height: 20px;
    }
    .bottom-nav-label {
        min-height: 22px;
        max-height: 28px;
        line-height: 1.05;
    }
    .bottom-submenu {
        left: 8px;
        right: 8px;
        bottom: calc(76px + env(safe-area-inset-bottom));
        max-height: min(58vh, 390px);
        padding: 9px;
        border-radius: 8px;
    }
    .bottom-submenu-head {
        margin: -9px -9px 1px;
        padding: 10px;
    }
    .bottom-submenu-link {
        min-height: 39px;
        padding: 9px 10px;
        border-radius: 8px;
        font-size: 13px;
        line-height: 1.2;
    }

    .dashboard-page {
        background: #F4FBF8;
    }
    .dashboard-page .main {
        min-height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .topbar {
        min-height: calc(56px + env(safe-area-inset-top));
        padding: calc(7px + env(safe-area-inset-top)) 10px 7px;
        gap: 7px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 10px 24px rgba(0,109,102,.08);
    }
    .admin-dot-menu,
    .notification-trigger {
        width: 38px;
        height: 38px;
        border-radius: 8px;
        box-shadow: 0 8px 18px rgba(0,109,102,.08);
    }
    .dot-grid {
        width: 20px;
        height: 20px;
        gap: 4px;
    }
    .dot-grid i {
        width: 4px;
        height: 4px;
    }
    .topbar-user {
        max-width: 74px;
        padding: 6px 8px;
        font-size: 10px;
    }
    .notification-count {
        top: -5px;
        right: -6px;
        min-width: 18px;
        height: 18px;
        font-size: 9px;
    }
    .notification-popover {
        top: calc(58px + env(safe-area-inset-top));
        left: 8px;
        right: 8px;
        border-radius: 8px;
    }
    .page {
        padding: 10px 10px calc(18px + env(safe-area-inset-bottom));
    }
    .page-head {
        gap: 8px;
        margin-bottom: 11px;
    }
    .page-head .button-row,
    .page-head > .btn {
        width: 100%;
    }
    .page-head .button-row .btn,
    .page-head > .btn {
        width: auto;
        flex: 1 1 auto;
    }
    .breadcrumb,
    .hero-kicker {
        font-size: 10px;
        line-height: 1.2;
    }
    .filters,
    .user-directory-filters,
    .location-filters {
        gap: 8px;
        margin-bottom: 10px;
    }
    .filters .btn,
    .user-directory-filters .btn,
    .location-filters .btn {
        width: 100%;
    }
    .settings-tabs {
        position: sticky;
        top: calc(56px + env(safe-area-inset-top));
        z-index: 20;
        display: flex;
        gap: 7px;
        overflow-x: auto;
        padding: 8px;
        margin: -2px 0 10px;
        border-radius: 8px;
        scrollbar-width: none;
    }
    .settings-tabs::-webkit-scrollbar { display: none; }
    .settings-tab {
        min-height: 36px;
        flex: 0 0 auto;
        gap: 7px;
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 12px;
        white-space: nowrap;
    }
    .settings-tab-icon {
        width: 12px;
        height: 12px;
        border-radius: 4px;
    }
    .settings-form {
        padding: 12px;
    }
    .settings-form-head {
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    .settings-form-head h2 { font-size: 20px; }
    .settings-form-head p { font-size: 13px; line-height: 1.5; }
    .responsive-data-table tbody { gap: 9px; }
    .responsive-data-table tbody tr {
        border-radius: 8px;
        box-shadow: 0 8px 22px rgba(0,109,102,.06);
    }
    .responsive-data-table tbody td {
        grid-template-columns: minmax(78px, 34%) minmax(0, 1fr);
        gap: 8px;
        padding: 9px 10px;
        font-size: 13px;
        line-height: 1.35;
    }
    .responsive-data-table tbody td::before {
        font-size: 9px;
        line-height: 1.15;
    }
    .responsive-data-table td strong {
        line-height: 1.25;
    }
    .responsive-data-table td small,
    .user-live-location small {
        font-size: 11px;
        line-height: 1.3;
    }
    .responsive-data-table .actions {
        gap: 6px;
    }
    .responsive-data-table .actions .btn,
    .actions .btn {
        min-height: 32px;
        padding: 7px 9px;
        font-size: 11px;
        flex: 0 1 auto;
    }
    .user-cell {
        gap: 8px;
    }
    .user-cell > span {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .user-cell strong,
    .user-cell small {
        white-space: normal;
    }
    .user-live-location {
        min-width: 0;
        gap: 3px;
    }
    .location-quick-card {
        gap: 5px;
        padding: 12px;
        min-height: 96px;
    }
    .location-quick-card strong {
        font-size: 14px;
    }
    .location-quick-card small {
        font-size: 11px;
    }
    .location-panel-head {
        gap: 8px;
        margin-bottom: 10px;
    }
    .location-panel-head h2 {
        font-size: 19px;
    }
    .visitor-location-map {
        min-height: 300px;
        border-radius: 8px;
    }
    .live-admin-card {
        gap: 9px;
        padding: 10px;
    }
    .live-admin-avatar {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 380px) {
    .stats-grid,
    .location-quick-links {
        grid-template-columns: 1fr !important;
    }
    .responsive-data-table tbody td {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .responsive-data-table tbody td::before {
        margin-bottom: 1px;
    }
    .topbar-user { display: none; }
}

@media (max-width: 720px) {
    .location-consent {
        left: 8px;
        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        width: auto;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 9px;
        align-items: center;
        padding: 9px;
        border-radius: 8px;
        box-shadow: 0 16px 44px rgba(4,31,28,.22);
    }
    .public-page .location-consent {
        bottom: calc(74px + env(safe-area-inset-bottom));
    }
    .location-consent-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    .location-consent-icon svg {
        width: 19px;
    }
    .location-consent-copy {
        gap: 2px;
    }
    .location-consent-copy strong {
        font-size: 13px;
        line-height: 1.15;
    }
    .location-consent-copy span {
        font-size: 11.5px;
        line-height: 1.32;
    }
    .location-consent-copy small {
        font-size: 11px;
        line-height: 1.25;
    }
    .location-consent-actions {
        grid-column: 1 / -1;
        gap: 7px;
    }
    .location-consent-actions .btn {
        min-height: 34px;
        padding: 7px 9px;
        font-size: 11.5px;
        flex: 1 1 0;
    }
}
