/* ==========================================================================
   ZEBSOFT SYSTEMS — style.css
   Professional Application-Grade Stylesheet
   Mobile-first · PWA-ready · Dark-surface admin · Light public site
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Brand palette */
    --z-blue-50:  #eef5ff;
    --z-blue-100: #dce9ff;
    --z-blue-300: #82b4ff;
    --z-blue-500: #0a84ff;
    --z-blue-600: #007aff;
    --z-blue-700: #005ecb;
    --z-green:    #30d158;
    --z-amber:    #ff9f0a;
    --z-red:      #ff453a;

    /* Public-site surface (light) */
    --pub-bg:          #f2f4f8;
    --pub-surface:     #ffffff;
    --pub-surface-alt: #f7f9fc;
    --pub-border:      rgba(15, 23, 60, 0.09);
    --pub-border-acc:  rgba(10, 132, 255, 0.22);
    --pub-text:        #0d1324;
    --pub-text-2:      #4b5675;
    --pub-text-3:      #8a94ab;

    /* Admin surface (dark) */
    --adm-bg:        #080f1e;
    --adm-bg-2:      #0e1a32;
    --adm-surface:   rgba(255, 255, 255, 0.07);
    --adm-surface-2: rgba(255, 255, 255, 0.12);
    --adm-border:    rgba(255, 255, 255, 0.09);
    --adm-text:      #e8edf8;
    --adm-text-2:    rgba(232, 237, 248, 0.68);
    --adm-text-3:    rgba(232, 237, 248, 0.42);

    /* Accent gradients */
    --grad-blue:   linear-gradient(135deg, #0a84ff 0%, #007aff 100%);
    --grad-dark:   linear-gradient(135deg, #0f172a 0%, #172554 55%, #1d3a8a 100%);
    --grad-green:  linear-gradient(135deg, #27d266 0%, #1baa50 100%);
    --grad-hero:   linear-gradient(135deg, #0f172a 0%, #16295e 52%, #1a3fa0 100%);

    /* Shadows */
    --sh-xs:  0 2px 8px  rgba(10, 20, 60, 0.08);
    --sh-sm:  0 8px 24px rgba(10, 20, 60, 0.10);
    --sh-md:  0 20px 50px rgba(10, 20, 60, 0.13);
    --sh-lg:  0 32px 80px rgba(10, 20, 60, 0.18);
    --sh-blue: 0 14px 30px rgba(0, 122, 255, 0.22);

    /* Radii */
    --r-sm:  12px;
    --r-md:  20px;
    --r-lg:  28px;
    --r-xl:  36px;
    --r-pill: 999px;

    /* Layout */
    --site-max: 1180px;
    --header-h: 72px;
    --sidebar-w: 258px;

    /* Legacy compat (keep old vars working) */
    --bg-grad: var(--grad-hero);
    --glass: rgba(13, 27, 62, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary: var(--z-blue-500);
    --secondary: var(--z-blue-600);
    --text-color: var(--adm-text);
    --gold: var(--z-amber);
    --page-bg: var(--pub-bg);
    --surface: var(--pub-surface);
    --surface-alt: var(--pub-surface-alt);
    --surface-muted: #fbfcfd;
    --surface-dark: #0f172a;
    --surface-dark-2: #172554;
    --border-soft: var(--pub-border);
    --border-strong: var(--pub-border-acc);
    --text-main: var(--pub-text);
    --text-soft: var(--pub-text-2);
    --text-faint: var(--pub-text-3);
    --accent: var(--z-blue-500);
    --accent-strong: var(--z-blue-600);
    --accent-soft: var(--z-blue-50);
    --success: var(--z-green);
    --warning: var(--z-amber);
    --danger: var(--z-red);
    --shadow-sm: var(--sh-sm);
    --shadow-md: var(--sh-md);
    --radius-sm: var(--r-sm);
    --radius-md: var(--r-md);
    --radius-lg: var(--r-lg);
    --container: var(--site-max);
}

/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    min-height: 100vh;
    background: var(--pub-bg);
    color: var(--pub-text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.public-site {
    background:
        radial-gradient(ellipse 60% 40% at 70% -10%, rgba(10,132,255,.07), transparent),
        linear-gradient(180deg, #f0f4fb 0%, var(--pub-bg) 100%);
    padding-top: calc(var(--header-h) + 16px);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

/* --------------------------------------------------------------------------
   2. GLASS PANEL UTILITY
   -------------------------------------------------------------------------- */
.glass-panel {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
}

/* --------------------------------------------------------------------------
   3. PUBLIC SITE HEADER — Floating pill nav
   -------------------------------------------------------------------------- */
header.site-header {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: min(calc(100% - 24px), var(--site-max));
    height: var(--header-h);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.90);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(10, 20, 60, 0.10),
                0 1px 0 rgba(255,255,255,.9) inset;
    transition: box-shadow .3s ease;
}

header.site-header:hover {
    box-shadow: 0 12px 40px rgba(10, 20, 60, 0.14),
                0 1px 0 rgba(255,255,255,.9) inset;
}

.logo {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: .06em;
    color: var(--pub-text);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo span { color: var(--z-blue-600); }

/* Nav */
nav.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: var(--r-pill);
    color: var(--pub-text-2);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s, color .18s, transform .18s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
    background: var(--z-blue-50);
    color: var(--z-blue-600);
    transform: translateY(-1px);
}

.nav-link-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-link-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-link-label { line-height: 1; }

/* --------------------------------------------------------------------------
   4. BUTTONS — unified system
   -------------------------------------------------------------------------- */
.btn,
.btn-primary,
.btn-outline,
.btn-white,
.btn-outline-white,
.svc-btn,
.footer-wa-btn,
.btn-ghost,
.pwa-install-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 11px 22px;
    border: none;
    border-radius: var(--r-pill);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease,
                background .2s ease, color .2s ease, opacity .2s ease;
    -webkit-appearance: none;
}

/* Primary blue */
.btn,
.btn-primary,
.svc-btn,
.pwa-install-button {
    background: var(--grad-blue);
    color: #fff;
    box-shadow: var(--sh-blue);
}

.btn:hover,
.btn-primary:hover,
.svc-btn:hover,
.pwa-install-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0,122,255,.28);
}

/* Outline on dark */
.btn-outline,
.btn-outline-white {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.35);
    color: #fff;
}

.btn-outline:hover,
.btn-outline-white:hover {
    background: rgba(255,255,255,.12);
}

/* White on dark */
.btn-white {
    background: rgba(255,255,255,.94);
    color: var(--z-blue-600);
    box-shadow: 0 8px 24px rgba(10,20,60,.14);
}

.btn-white:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Ghost */
.btn-ghost {
    background: #fff;
    color: var(--pub-text);
    border: 1px solid var(--pub-border);
    box-shadow: var(--sh-xs);
}

.btn-ghost:hover { background: var(--pub-surface-alt); }

/* Disabled */
.btn:disabled,
.btn-primary:disabled,
.svc-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none !important;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. SECTION TYPOGRAPHY AIDS
   -------------------------------------------------------------------------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--z-blue-500);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-label::before {
    content: "";
    width: 26px;
    height: 2.5px;
    border-radius: var(--r-pill);
    background: currentColor;
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    font-weight: 900;
    line-height: 1.18;
    color: var(--pub-text);
    text-align: center;
    margin-bottom: 10px;
}

.section-divider {
    display: block;
    width: 48px;
    height: 4px;
    border-radius: var(--r-pill);
    background: var(--grad-blue);
    margin: 0 auto 44px;
}

/* --------------------------------------------------------------------------
   6. PAGE LAYOUT WRAPPERS
   -------------------------------------------------------------------------- */
.hero-new,
.stats-inner,
.core-services,
.why-inner,
.projects,
.cta {
    width: min(calc(100% - 28px), var(--site-max));
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-new {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(300px,.95fr);
    align-items: center;
    gap: 44px;
    margin-top: 20px;
    padding: 70px clamp(22px,5vw,52px);
    min-height: min(760px, calc(100vh - 110px));
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
    background: var(--grad-hero);
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: var(--sh-lg);
}

/* Dot-grid overlay */
.hero-new::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.09) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

/* Decorative ring */
.hero-new::after {
    content: "";
    position: absolute;
    right: -100px;
    top: -110px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 52px solid rgba(255,255,255,.055);
    pointer-events: none;
}

.hero-content,
.hero-image { position: relative; z-index: 1; }

.badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: #d8e8ff;
    font-size: .75rem;
    font-weight: 800;
}

.badge-top::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7eceff;
    flex-shrink: 0;
}

.hero-content h1 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    font-weight: 900;
    line-height: 1.07;
    letter-spacing: -.02em;
}

.hero-content h1 span { color: #8fcbff; }

.hero-content p {
    max-width: 540px;
    margin-bottom: 32px;
    color: rgba(255,255,255,.78);
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.clients {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 13px 17px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.11);
    color: rgba(255,255,255,.8);
}

.clients strong { display: block; color: #fff; font-size: .9rem; }
.clients small  { color: rgba(255,255,255,.58); }

.clients-avatars { display: flex; }

.clients-avatars span {
    width: 32px;
    height: 32px;
    margin-left: -8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5aa3ff, #1849a4);
    border: 2.5px solid rgba(16,40,100,.9);
    color: #fff;
    font-size: .62rem;
    font-weight: 900;
}

.clients-avatars span:first-child { margin-left: 0; }

/* Hero image pane */
.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    min-height: 520px;
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: 28px 10px 28px 56px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.07) 100%);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 22px 48px rgba(6,14,36,.16);
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 52px 34px 52px 88px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(10,132,255,.05));
    border: 1px solid rgba(255,255,255,.09);
}

.hero-image img {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 26px 58px rgba(6,14,36,.42));
}

/* Floating hero badges */
.hero-float-badge,
.hero-vision-card {
    position: absolute;
    z-index: 3;
    background: rgba(255,255,255,.96);
    color: var(--pub-text);
    box-shadow: 0 18px 38px rgba(6,14,36,.18);
}

.hero-float-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 14px;
    font-size: .76rem;
    font-weight: 800;
}

.hero-float-badge .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--z-green);
}

.badge-tr { top: 14%; right: 0; }
.badge-br { right: 2%; bottom: 18%; }

.hero-vision-card {
    left: -10px;
    bottom: 8%;
    min-width: 148px;
    padding: 13px 17px;
    border-radius: 17px;
    text-align: center;
}

.vision-line-primary   { color: #1e4fc2; font-size: .7rem;  font-weight: 900; }
.vision-line-secondary { color: #3d5080; font-size: .66rem; font-weight: 700; }
.vision-line-tertiary  { color: #7a90ba; font-size: .64rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   8. STATS BAR
   -------------------------------------------------------------------------- */
.stats-bar { margin-top: 20px; }

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px;
    border-radius: var(--r-md);
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    box-shadow: var(--sh-sm);
    transition: transform .2s, box-shadow .2s;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--z-blue-50), #e4eeff);
}

.stat-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--z-blue-500);
    fill: none;
    stroke-width: 2;
}

.stat-item strong {
    display: block;
    color: var(--pub-text);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.stat-item span {
    display: block;
    margin-top: 4px;
    color: var(--pub-text-2);
    font-size: .8rem;
}

.stat-divider { display: none; }

/* --------------------------------------------------------------------------
   9. CORE SERVICES SECTION
   -------------------------------------------------------------------------- */
.core-services,
.projects {
    padding: 80px 0;
}

.core-services .section-label,
.projects .section-label {
    justify-content: center;
    width: 100%;
}

.services-grid,
.project-grid {
    display: grid;
    gap: 20px;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
    margin-bottom: 36px;
}

.service-box {
    padding: 26px 22px;
    border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,.80);
    background: linear-gradient(180deg,rgba(255,255,255,.94),rgba(243,247,255,.88));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--sh-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--pub-border-acc);
}

.service-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--z-blue-50), #dbe8ff);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--z-blue-500);
    fill: none;
    stroke-width: 1.9;
}

.service-box h3 {
    margin-bottom: 8px;
    color: var(--pub-text);
    font-size: 1rem;
    font-weight: 800;
}

.service-box p {
    margin-bottom: 14px;
    color: var(--pub-text-2);
    font-size: .9rem;
    line-height: 1.6;
}

.service-learn,
.view-all-link,
.project-demo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--z-blue-600);
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
    transition: gap .15s;
}

.service-learn:hover,
.view-all-link:hover,
.project-demo:hover {
    gap: 8px;
    text-decoration: underline;
}

.services-cta { text-align: center; }

/* --------------------------------------------------------------------------
   10. WHY SECTION (dark strip)
   -------------------------------------------------------------------------- */
.why-section {
    margin-top: 12px;
    padding: 80px 0;
    background: var(--grad-dark);
}

.why-inner {
    display: grid;
    grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
    gap: 32px;
    align-items: center;
}

.why-left .section-label,
.projects-header .section-label {
    justify-content: flex-start;
}

.why-left .section-title,
.projects-header .section-title {
    text-align: left;
}

.why-left .section-title,
.why-box h3,
.cta-text h2 { color: #fff; }

.why-left .section-label { color: #8bbfff; }
.why-left .section-title span { color: #87beff; }

.why-left p {
    margin-bottom: 24px;
    color: rgba(255,255,255,.74);
    max-width: 480px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.why-box {
    padding: 22px 20px;
    border-radius: var(--r-md);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.11);
    transition: transform .22s ease, background .22s ease;
}

.why-box:hover {
    background: rgba(255,255,255,.11);
    transform: translateY(-3px);
}

.why-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.icon-blue   { background: linear-gradient(135deg,#2e7cf6,#1849a4); }
.icon-yellow { background: linear-gradient(135deg,#f5b73b,#d98b09); }
.icon-green  { background: linear-gradient(135deg,#27c78a,#1b9466); }
.icon-purple { background: linear-gradient(135deg,#9168ff,#6640c5); }

.why-box p { color: rgba(255,255,255,.68); font-size: .88rem; }

/* --------------------------------------------------------------------------
   11. PROJECTS GRID
   -------------------------------------------------------------------------- */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 28px;
}

.project-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }

.project-card {
    overflow: hidden;
    border-radius: var(--r-md);
    background: linear-gradient(180deg,rgba(255,255,255,.94),rgba(244,248,255,.9));
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: var(--sh-sm);
    transition: transform .22s ease, box-shadow .22s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.project-thumb,
.project-thumb-placeholder {
    width: 100%;
    height: 180px;
    display: block;
}

.project-thumb { object-fit: cover; }

.project-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#dbe7ff,#eef4ff);
}

.project-thumb-placeholder svg {
    width: 46px;
    height: 46px;
    stroke: var(--z-blue-500);
    fill: none;
    stroke-width: 1.6;
}

.project-thumb-school { background: linear-gradient(135deg,#ede8ff,#d4c9ff); }
.project-thumb-school svg { stroke: #7b4fd6; }
.project-thumb-loan   { background: linear-gradient(135deg,#e6f9f1,#b2edd5); }
.project-thumb-loan svg  { stroke: #1db870; }
.project-thumb-arch   { background: linear-gradient(135deg,#fff3e0,#ffd9a0); }
.project-thumb-arch svg  { stroke: #e8a020; }

.project-info { padding: 18px 18px 20px; }

.project-tag {
    display: inline-block;
    margin-bottom: 9px;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--z-blue-50);
    color: var(--z-blue-600);
    font-size: .68rem;
    font-weight: 900;
}

.project-tag-school { background: #ede8ff; color: #7b4fd6; }
.project-tag-loan   { background: #e6f9f1; color: #1db870; }
.project-tag-arch   { background: #fff3e0; color: #e8a020; }

.project-info h3 { margin-bottom: 6px; color: var(--pub-text); font-size: .95rem; font-weight: 800; }
.project-info p  { margin-bottom: 10px; color: var(--pub-text-2); font-size: .88rem; }

.projects-dots,
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 26px;
}

.p-dot,
.t-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--r-pill);
    background: rgba(10,132,255,.18);
    transition: width .2s, background .2s;
}

.p-dot.active,
.t-dot.active { width: 22px; background: var(--z-blue-500); }

/* --------------------------------------------------------------------------
   12. CTA STRIP
   -------------------------------------------------------------------------- */
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 30px;
    padding: 36px clamp(22px,4vw,40px);
    border-radius: var(--r-lg);
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 24%),
        linear-gradient(135deg,#007aff,#0a84ff 55%,#32ade6);
    box-shadow: 0 24px 58px rgba(0,122,255,.2);
}

.cta-left { display: flex; align-items: center; gap: 16px; }

.cta-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    flex-shrink: 0;
}

.cta-icon-wrap svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; }
.cta-text h2 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 900; }
.cta-text p  { color: rgba(255,255,255,.78); font-size: .92rem; }

.cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------------------
   13. SERVICES PAGE
   -------------------------------------------------------------------------- */
.svc-page {
    width: min(calc(100% - 28px), var(--site-max));
    margin: 24px auto 0;
    padding-bottom: 80px;
}

.svc-hero,
.svc-search-wrap,
.svc-count-label,
.svc-grid {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.svc-hero {
    position: relative;
    overflow: hidden;
    padding: 52px 26px 42px;
    border-radius: var(--r-lg);
    text-align: center;
    background:
        radial-gradient(circle at 18% 12%, rgba(10,132,255,.14), transparent 22%),
        radial-gradient(circle at 82% 16%, rgba(52,199,89,.12), transparent 28%),
        var(--grad-hero);
    box-shadow: var(--sh-lg);
}

.svc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 40%, rgba(255,255,255,.11), transparent 40%);
    pointer-events: none;
}

.svc-hero-eyebrow,
.svc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--r-pill);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.svc-hero-eyebrow {
    margin-bottom: 14px;
    padding: 6px 13px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: #d8e8ff;
    font-size: .72rem;
}

.svc-hero-title {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 900;
    line-height: 1.14;
}

.svc-hero-title span { color: #8fcbff; }

.svc-hero-sub {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255,255,255,.78);
    font-size: .98rem;
}

.svc-search-wrap { padding: 24px 0 0; }

.svc-search-inner { position: relative; }

.svc-search-inner svg {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    color: var(--pub-text-3);
    pointer-events: none;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

#service-search {
    width: 100%;
    min-height: 52px;
    padding: 13px 17px 13px 48px;
    border-radius: 16px;
    border: 1px solid var(--pub-border);
    background: rgba(255,255,255,.96);
    color: var(--pub-text);
    font-size: .94rem;
    font-family: inherit;
    outline: none;
    box-shadow: var(--sh-sm);
    transition: border-color .2s, box-shadow .2s;
}

#service-search::placeholder { color: var(--pub-text-3); }
#service-search:focus {
    border-color: rgba(10,132,255,.3);
    box-shadow: 0 0 0 4px rgba(10,132,255,.1);
}

.svc-count-label { margin-top: 16px; color: var(--pub-text-2); font-size: .9rem; text-align: center; }
#svc-count { color: var(--z-blue-600); font-weight: 800; }

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
    padding: 24px 0 0;
}

.svc-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,.78);
    background: linear-gradient(180deg,rgba(255,255,255,.95),rgba(244,248,255,.9));
    box-shadow: var(--sh-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--pub-border-acc);
}

.svc-card-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg,#e5eeff,#c9daff);
    overflow: hidden;
}

.svc-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.svc-card:hover .svc-card-img-wrap img { transform: scale(1.04); }

.svc-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: rgba(22,38,70,.33);
    background: linear-gradient(135deg,#eaf2ff,#d7e5ff);
}

.svc-img-placeholder svg  { width: 32px; height: 32px; opacity: .6; }
.svc-img-placeholder span { font-size: .68rem; font-weight: 800; }

.svc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    background: rgba(255,255,255,.92);
    color: var(--z-blue-600);
    font-size: .66rem;
    box-shadow: 0 8px 16px rgba(12,24,56,.12);
}

.svc-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: 18px 18px 12px;
}

.svc-card-title { color: var(--pub-text); font-size: 1rem; font-weight: 800; line-height: 1.3; }
.svc-card-desc  {
    color: var(--pub-text-2); font-size: .89rem; line-height: 1.62;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(12,24,56,.07);
}

.svc-price     { color: var(--pub-text); font-size: 1.1rem; font-weight: 900; }
.svc-price-sub { color: var(--pub-text-3); font-size: .72rem; }

.svc-empty {
    grid-column: 1 / -1;
    padding: 52px 22px;
    border-radius: var(--r-md);
    border: 1.5px dashed rgba(10,132,255,.18);
    background: rgba(255,255,255,.6);
    text-align: center;
    color: var(--pub-text-2);
}

.svc-empty svg { width: 46px; height: 46px; margin-bottom: 12px; opacity: .4; }
.svc-btn svg  { width: 13px; height: 13px; }

/* --------------------------------------------------------------------------
   14. BOOKING / FORM PAGES
   -------------------------------------------------------------------------- */
.booking-wrapper {
    width: min(calc(100% - 28px), 900px);
    margin: 26px auto 76px;
}

.booking-title { margin-bottom: 24px; text-align: center; }
.booking-title h1 { margin-bottom: 9px; color: var(--pub-text); font-size: clamp(1.9rem,3.8vw,2.8rem); font-weight: 900; }
.booking-title p  { color: var(--pub-text-2); font-size: .97rem; }

/* Step indicator */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.step-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--pub-border);
    background: rgba(255,255,255,.88);
    color: var(--pub-text-3);
    font-size: .82rem;
    font-weight: 800;
    transition: all .2s;
}

.step.active .step-dot,
.step.done .step-dot { border-color: rgba(10,132,255,.2); box-shadow: 0 8px 20px rgba(10,132,255,.12); }

.step.active .step-dot { background: var(--grad-blue); color: #fff; }
.step.done .step-dot   { background: #fff; color: var(--z-blue-600); }

.step-label {
    color: var(--pub-text-3);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.step.active .step-label,
.step.done .step-label { color: var(--z-blue-600); }

.step-line {
    width: 84px;
    height: 3px;
    margin: 0 8px 21px;
    border-radius: var(--r-pill);
    background: var(--pub-border);
}

.step-line.done { background: var(--grad-blue); }

/* Card */
.booking-card,
.classic-form {
    padding: 30px 28px;
    border-radius: var(--r-md);
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.80);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--sh-md);
    transition: transform .22s ease, box-shadow .22s ease;
}

.booking-card:hover,
.classic-form:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }

.classic-form { max-width: 620px; margin: 22px auto; }

/* Form steps */
.form-step { display: none; }
.form-step.active { display: block; }
.form-step h3 { margin-bottom: 5px; color: var(--pub-text); font-size: 1.25rem; font-weight: 800; }
.form-step .step-desc { margin-bottom: 20px; color: var(--pub-text-2); font-size: .92rem; }

/* Form groups */
.field,
.form-group { margin-bottom: 16px; }

.field label,
.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--pub-text);
    font-size: .83rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border-radius: 13px;
    border: 1px solid var(--pub-border);
    background: rgba(246,250,255,.96);
    color: var(--pub-text);
    font-size: .93rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    -webkit-appearance: none;
}

.field textarea,
.form-group textarea { min-height: 106px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(10,132,255,.34);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(10,132,255,.10);
}

.field input.error,
.field select.error,
.field textarea.error {
    border-color: rgba(255,69,58,.56);
    box-shadow: 0 0 0 4px rgba(255,69,58,.10);
}

.field-error {
    display: none;
    margin-top: 5px;
    color: var(--z-red);
    font-size: .8rem;
    font-weight: 700;
}

.field-note { color: var(--pub-text-3); font-size: .76rem; font-weight: 600; }

.field-row {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

/* Service option cards */
.service-options {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--pub-border);
    background: rgba(246,250,255,.96);
    cursor: pointer;
    transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}

.service-option:hover,
.service-option.selected {
    background: #fff;
    border-color: rgba(10,132,255,.26);
    box-shadow: 0 14px 26px rgba(12,28,68,.08);
    transform: translateY(-2px);
}

.service-option input[type="radio"] { display: none; }

.service-option-check {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid var(--pub-border);
    flex-shrink: 0;
    transition: all .2s;
}

.service-option.selected .service-option-check {
    border-color: var(--z-blue-500);
    background: var(--grad-blue);
    box-shadow: inset 0 0 0 3px #fff;
}

.service-option-name { color: var(--pub-text); font-size: .9rem; font-weight: 700; }

/* Review table */
.review-table { width: 100%; border-collapse: collapse; }
.review-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--pub-border);
    font-size: .92rem;
}
.review-table tr:last-child td { border-bottom: none; }
.review-table td:first-child {
    width: 34%;
    color: var(--pub-text-2);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.review-table td:last-child { color: var(--pub-text); font-weight: 700; }

.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

/* Spinner */
.spinner {
    width: 15px;
    height: 15px;
    display: none;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: z-spin .7s linear infinite;
}

@keyframes z-spin { to { transform: rotate(360deg); } }

/* Success screen */
.success-screen { display: none; padding: 12px 0 4px; text-align: center; }

.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,167,116,.11);
    border: 2px solid rgba(26,167,116,.22);
    color: var(--z-green);
    font-size: 1.7rem;
    font-weight: 900;
}

.success-screen h3 { margin-bottom: 7px; color: var(--pub-text); font-size: 1.3rem; font-weight: 800; }
.success-screen p  { color: var(--pub-text-2); }
.success-actions   { margin-top: 26px; }

/* --------------------------------------------------------------------------
   15. STATUS BADGES (public & admin)
   -------------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.badge-Pending     { background: rgba(255,159,10,.16); color: #a06000; }
.badge-In-Progress { background: rgba(10,132,255,.14); color: var(--z-blue-600); }
.badge-Completed   { background: rgba(48,209,88,.14);  color: #0d7a36; }

/* --------------------------------------------------------------------------
   16. SEARCH — card grid (legacy)
   -------------------------------------------------------------------------- */
.search-container {
    max-width: 480px;
    margin: 0 auto 36px;
    padding: 0 10px;
}

.search-container input {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--r-pill);
    border: 1px solid var(--pub-border);
    background: rgba(255,255,255,.9);
    color: var(--pub-text);
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    box-shadow: var(--sh-xs);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 24px;
    padding: 16px 28px;
    max-width: var(--site-max);
    margin: 0 auto;
}

.service-card {
    padding: 26px 22px;
    text-align: center;
    border-radius: var(--r-md);
    transition: transform .3s;
}

.service-card:hover { transform: translateY(-6px); }
.service-card h3 { margin: 13px 0 8px; color: var(--pub-text); }

.price-tag {
    color: var(--z-blue-500);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 13px 0;
}

/* --------------------------------------------------------------------------
   17. USSD TERMINAL
   -------------------------------------------------------------------------- */
#ussd-container {
    max-width: 440px;
    margin: 36px auto;
    padding: 28px;
    border: 2.5px solid var(--z-blue-500);
    border-radius: var(--r-md);
    background: rgba(6,10,25,.95);
}

.ussd-header {
    text-align: center;
    border-bottom: 2px dashed rgba(255,255,255,.18);
    padding-bottom: 13px;
    margin-bottom: 18px;
}

.ussd-header h2 {
    color: var(--z-blue-500);
    font-family: monospace;
    font-size: 1.7rem;
}

.ussd-body { min-height: 190px; font-family: monospace; font-size: 1.05rem; color: #e0e6ed; }

.typing {
    overflow: hidden;
    white-space: nowrap;
    border-right: .15em solid orange;
    animation: typing 2.5s steps(30,end), blink-caret .5s step-end infinite;
}

@keyframes typing    { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: orange } }

.ussd-input-group { margin-top: 22px; }

.ussd-input-group input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--z-blue-500);
    color: #00ff7b;
    width: 100%;
    padding: 9px;
    font-family: monospace;
    font-size: 1.15rem;
    outline: none;
}

.ussd-footer { display: flex; justify-content: space-between; margin-top: 26px; }

.ussd-btn {
    background: transparent;
    border: 1px solid var(--z-blue-500);
    color: #fff;
    padding: 7px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-family: monospace;
    transition: .2s;
}

.ussd-btn:hover { background: var(--z-blue-500); color: #000; }

/* --------------------------------------------------------------------------
   18. ADMIN LAYOUT
   -------------------------------------------------------------------------- */
body:not(.public-site) {
    background:
        radial-gradient(circle at top right, rgba(10,132,255,.16), transparent 22%),
        linear-gradient(135deg, var(--adm-bg) 0%, #0d1730 100%);
    color: var(--adm-text);
}

.admin-layout {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 26px 16px;
    background: rgba(6,10,22,.82);
    border-right: 1px solid var(--adm-border);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }

.admin-sidebar h3 {
    margin-bottom: 12px;
    padding: 0 10px;
    color: var(--adm-text);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .6;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 13px;
    color: var(--adm-text-2);
    text-decoration: none;
    font-size: .91rem;
    font-weight: 700;
    transition: background .18s, color .18s, transform .18s;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(10,132,255,.15);
    color: #fff;
    transform: translateX(2px);
}

.admin-sidebar .admin-logout {
    margin-top: auto;
    background: rgba(255,69,58,.12);
    color: #ffd0cd;
}

.admin-sidebar .admin-logout:hover {
    background: rgba(255,69,58,.2);
    color: #fff;
}

/* Main content */
.admin-main {
    padding: 32px 28px;
    overflow-x: hidden;
    min-height: 100vh;
}

.admin-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.admin-page-header h1,
.admin-page-header h2,
.admin-main h1,
.admin-main h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
    font-weight: 900;
}

.admin-page-header p,
.admin-page-subtitle {
    margin-top: 7px;
    color: var(--adm-text-2);
    font-size: .92rem;
}

/* Admin glass cards */
.admin-main .glass-panel,
.admin-layout .glass-panel,
.admin-panel,
.admin-stat-card,
.admin-table-wrap {
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    color: var(--adm-text);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.admin-panel,
.admin-table-wrap {
    padding: 22px;
    border-radius: var(--r-md);
    box-shadow: 0 22px 52px rgba(4,8,20,.22);
}

.admin-panel + .admin-panel { margin-top: 20px; }

/* Stats grid */
.admin-grid,
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}

.admin-stat-card {
    padding: 20px;
    border-radius: var(--r-md);
    box-shadow: 0 18px 42px rgba(4,8,20,.18);
}

.admin-stat-label {
    color: var(--adm-text-2);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.admin-stat-value {
    margin-top: 11px;
    color: #fff;
    font-size: clamp(1.7rem,3.8vw,2.5rem);
    font-weight: 900;
    line-height: 1;
}

.admin-stat-meta {
    margin-top: 9px;
    color: var(--adm-text-3);
    font-size: .87rem;
}

/* Admin forms */
.admin-main .form-group label,
.admin-layout .form-group label { color: var(--adm-text-2); }

.admin-layout .form-group input,
.admin-layout .form-group textarea,
.admin-layout .form-group select,
.admin-table form select,
.admin-table form textarea {
    background: rgba(255,255,255,.07);
    border: 1px solid var(--adm-border);
    color: #fff;
    border-radius: 12px;
    min-height: 44px;
    padding: 10px 13px;
    font-size: .91rem;
    font-family: inherit;
    outline: none;
    width: 100%;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
}

.admin-layout .form-group input:focus,
.admin-layout .form-group textarea:focus,
.admin-layout .form-group select:focus,
.admin-table form select:focus,
.admin-table form textarea:focus {
    border-color: rgba(10,132,255,.44);
    box-shadow: 0 0 0 4px rgba(10,132,255,.12);
}

.admin-layout .price-tag,
.admin-main .price-tag { color: #8bcbff; }

/* Admin table */
.admin-table-wrap { overflow: auto; }

table.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

table.admin-table th,
table.admin-table td {
    padding: 14px 13px;
    border-bottom: 1px solid var(--adm-border);
    text-align: left;
    vertical-align: top;
    color: rgba(255,255,255,.88);
}

table.admin-table th {
    color: var(--adm-text-3);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: rgba(255,255,255,.03);
    white-space: nowrap;
}

table.admin-table tr:last-child td { border-bottom: none; }

.admin-table form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

/* --------------------------------------------------------------------------
   19. ADMIN LOGIN PAGE
   -------------------------------------------------------------------------- */
.admin-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 22px;
    background:
        radial-gradient(circle at top, rgba(10,132,255,.16), transparent 30%),
        linear-gradient(180deg,#0f172a,#101c3e);
}

.admin-login-card {
    width: min(100%, 420px);
    padding: 30px 26px;
    border-radius: var(--r-lg);
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 24px 58px rgba(4,8,20,.24);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.admin-login-card h2 {
    margin-bottom: 9px;
    color: #fff;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 900;
}

.admin-login-card p { margin-bottom: 20px; color: var(--adm-text-2); text-align: center; }

.admin-error {
    margin-bottom: 14px;
    padding: 11px 13px;
    border-radius: 13px;
    background: rgba(255,69,58,.13);
    color: #ffd0cd;
    text-align: center;
    font-weight: 700;
    font-size: .9rem;
}

.admin-msg {
    margin-bottom: 18px;
    padding: 11px 15px;
    border-radius: 14px;
    background: rgba(10,132,255,.13);
    color: #c6e0ff;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   20. ADMIN DASHBOARD WIDGETS
   -------------------------------------------------------------------------- */
.admin-section-title {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.admin-quick-links {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
}

.admin-quick-link {
    display: block;
    padding: 17px 18px;
    border-radius: 18px;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    color: #fff;
    text-decoration: none;
    transition: transform .2s, background .2s;
}

.admin-quick-link:hover { transform: translateY(-3px); background: rgba(10,132,255,.15); }
.admin-quick-link strong { display: block; margin-bottom: 5px; font-size: .97rem; }
.admin-quick-link span  { color: var(--adm-text-2); font-size: .87rem; }

.admin-metric-strip {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.admin-muted { color: var(--adm-text-2); }

/* --------------------------------------------------------------------------
   21. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    margin-top: 22px;
    background: linear-gradient(135deg,#111827 0%,#172554 55%,#1d4ed8 100%);
    color: rgba(255,255,255,.76);
}

.footer-main,
.footer-bottom {
    width: min(calc(100% - 28px), var(--site-max));
    margin-left: auto;
    margin-right: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding: 62px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
    text-decoration: none;
}

.footer-logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-blue);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    flex-shrink: 0;
}

.footer-logo-text strong {
    display: block;
    color: #fff;
    font-size: .98rem;
    font-weight: 800;
}

.footer-logo-text span {
    color: rgba(255,255,255,.52);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-brand p {
    max-width: 300px;
    margin-bottom: 18px;
    color: rgba(255,255,255,.7);
    font-size: .9rem;
}

.footer-socials { display: flex; flex-wrap: wrap; gap: 9px; }

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
    transition: transform .2s, background .2s;
}

.footer-social-btn:hover {
    background: rgba(255,255,255,.14);
    transform: translateY(-2px);
}

.footer-social-btn svg { width: 15px; height: 15px; fill: #fff; }

.footer-col h4 { margin-bottom: 14px; color: #fff; font-size: .94rem; font-weight: 800; }

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a,
.footer-bottom-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .88rem; transition: color .15s; }
.footer-links a:hover,
.footer-bottom-links a:hover { color: #fff; text-decoration: underline; }

.footer-contact-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: rgba(255,255,255,.74);
    font-size: .88rem;
}

.footer-contact-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: none;
    stroke: #8fcbff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-wa-btn {
    background: var(--grad-green);
    color: #fff;
    box-shadow: 0 12px 28px rgba(39,210,102,.18);
}

.footer-wa-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(39,210,102,.26); }

.footer-wa-btn svg { width: 17px; height: 17px; fill: #fff; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 26px;
    flex-wrap: wrap;
}

.footer-bottom p { color: rgba(255,255,255,.52); font-size: .82rem; }

.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* --------------------------------------------------------------------------
   22. FLOATING ELEMENTS
   -------------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-green);
    box-shadow: 0 16px 28px rgba(39,210,102,.26);
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 22px 36px rgba(39,210,102,.32); }
.whatsapp-float svg   { width: 26px; height: 26px; fill: #fff; }

/* PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 2000;
    display: none;
    max-width: 310px;
    padding: 16px;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(12,22,52,.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 38px rgba(10,18,48,.32);
}

.pwa-install-banner p {
    margin-bottom: 11px;
    color: rgba(255,255,255,.76);
    font-size: .88rem;
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE — 1100px
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .services-grid,
    .project-grid,
    .svc-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .why-inner,
    .hero-new {
        grid-template-columns: 1fr;
    }

    .hero-image { justify-content: center; }

    .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }

    .admin-grid,
    .admin-stats-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

/* --------------------------------------------------------------------------
   24. RESPONSIVE — 768px MOBILE
   App-tab-bar navigation pattern
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Push content above bottom tab bar */
    body.public-site {
        padding-top: 0;
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    /* ── BOTTOM TAB BAR ── */
    header.site-header {
        position: fixed;
        top: auto;
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 10px;
        right: 10px;
        width: auto;
        transform: none;
        height: auto;
        padding: 8px 6px;
        border-radius: 24px;
        background: rgba(255,255,255,.90);
        border: 1px solid rgba(255,255,255,.94);
        box-shadow: 0 10px 32px rgba(10,20,60,.13),
                    0 1px 0 rgba(255,255,255,.9) inset;
    }

    .logo { display: none; }

    nav.main-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5,minmax(0,1fr));
        gap: 4px;
    }

    nav.main-nav a {
        min-height: 56px;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 7px 4px 9px;
        text-align: center;
        font-size: .64rem;
        color: #9aa2ba;
        border-radius: 17px;
        transform: none !important;
        white-space: normal;
        line-height: 1.15;
    }

    .nav-link-icon { width: 20px; height: 20px; }
    .nav-link-icon svg { width: 18px; height: 18px; stroke-width: 2.1; }

    nav.main-nav a:hover,
    nav.main-nav a.active {
        background: rgba(10,132,255,.1);
        color: var(--z-blue-600);
        transform: none !important;
    }

    /* Content spacing */
    .hero-new,
    .core-services,
    .projects,
    .cta,
    .why-section,
    .svc-page {
        margin-top: 14px;
    }

    .hero-new {
        padding: 48px 18px 34px;
        min-height: auto;
        text-align: center;
        grid-template-columns: 1fr;
    }

    .hero-content p,
    .why-left p { max-width: 100%; }

    .hero-buttons,
    .clients { justify-content: center; }

    .hero-image { display: none; }

    .stats-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }

    .core-services,
    .projects,
    .why-section { padding-top: 58px; padding-bottom: 58px; }

    .why-inner,
    .cta,
    .footer-bottom { flex-direction: column; }

    .why-left .section-label,
    .why-left .section-title,
    .projects-header .section-label,
    .projects-header .section-title {
        justify-content: center;
        text-align: center;
    }

    .why-action,
    .projects-header,
    .cta { align-items: center; }

    .why-grid,
    .service-options,
    .field-row { grid-template-columns: 1fr; }

    .cta { text-align: center; }
    .cta-left { flex-direction: column; }
    .cta-buttons { width: 100%; justify-content: center; }
    .cta-buttons .btn-white,
    .cta-buttons .btn-outline-white { flex: 1 1 200px; }

    .svc-hero { padding: 36px 18px 30px; }

    .svc-card-foot,
    .form-nav { flex-direction: column; align-items: stretch; }

    .footer-main { grid-template-columns: 1fr; padding: 50px 0 34px; }
    .footer-bottom { justify-content: center; text-align: center; }

    /* Adjust floats for tab bar */
    .whatsapp-float { bottom: calc(86px + env(safe-area-inset-bottom) + 8px); }
    .pwa-install-banner { bottom: calc(86px + env(safe-area-inset-bottom) + 8px); }

    /* Admin — collapse sidebar to top bar */
    .admin-layout { grid-template-columns: 1fr; }

    .admin-sidebar {
        position: static;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        padding: 12px 14px;
        border-right: none;
        border-bottom: 1px solid var(--adm-border);
    }

    .admin-sidebar h3 { display: none; }

    .admin-sidebar a {
        flex: 0 0 auto;
        padding: 8px 13px;
        font-size: .8rem;
        border-radius: 10px;
    }

    .admin-sidebar .admin-logout { margin-top: 0; }

    .admin-main { padding: 20px 16px; }

    .admin-grid,
    .admin-stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }

    .admin-quick-links { grid-template-columns: 1fr; }

    table.admin-table th,
    table.admin-table td { padding: 11px 10px; font-size: .82rem; }
}

/* --------------------------------------------------------------------------
   25. RESPONSIVE — 560px SMALL MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
    .stats-inner,
    .services-grid,
    .project-grid,
    .svc-grid { grid-template-columns: 1fr; }

    .hero-content h1,
    .booking-title h1 { font-size: 1.9rem; }

    .hero-buttons .btn,
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline,
    .form-nav .btn,
    .cta-buttons .btn-white,
    .cta-buttons .btn-outline-white { width: 100%; }

    .steps { gap: 0; }
    .step-line { width: 40px; }

    .booking-card,
    .classic-form { padding: 22px 16px; }

    .admin-grid,
    .admin-stats-grid { grid-template-columns: 1fr; }

    .pwa-install-banner { left: 10px; right: 10px; max-width: none; }

    .admin-layout { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   26. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   27. FOCUS STYLES (accessibility)
   -------------------------------------------------------------------------- */
:focus-visible {
    outline: 3px solid var(--z-blue-500);
    outline-offset: 3px;
    border-radius: 6px;
}

button:focus-visible,
a:focus-visible { outline-offset: 4px; }

/* --------------------------------------------------------------------------
   28. SCROLLBAR (desktop Webkit)
   -------------------------------------------------------------------------- */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(10,20,60,.16); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(10,20,60,.28); }