/* ========================================
   SAM Service — Modern Design System 2026
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Design Tokens --- */
:root {
    --c-bg: #0a0a0f;
    --c-bg-alt: #12121a;
    --c-surface: rgba(255,255,255,0.04);
    --c-surface-hover: rgba(255,255,255,0.08);
    --c-surface-solid: #1a1a2e;
    --c-border: rgba(255,255,255,0.08);
    --c-border-hover: rgba(255,255,255,0.15);
    --c-text: #f0f0f5;
    --c-text-secondary: #9898b0;
    --c-text-muted: #5c5c7a;
    --c-primary: #3b82f6;
    --c-primary-light: #60a5fa;
    --c-primary-dark: #2563eb;
    --c-primary-glow: rgba(59,130,246,0.25);
    --c-accent: #f59e0b;
    --c-accent-light: #fbbf24;
    --c-accent-glow: rgba(245,158,11,0.25);
    --c-success: #10b981;
    --c-danger: #ef4444;
    --c-warning: #f59e0b;
    --c-info: #06b6d4;
    --c-gradient-1: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --c-gradient-2: linear-gradient(135deg, #f59e0b, #ef4444);
    --c-gradient-3: linear-gradient(135deg, #10b981, #3b82f6);
    --c-gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1a3e 50%, #0a0a1f 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(59,130,246,0.15);
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --nav-height: 72px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: 20px;
    --glass-bg: rgba(255,255,255,0.05);
    --glass-border: 1px solid rgba(255,255,255,0.1);
}

/* --- Light Theme --- */
[data-theme="light"] {
    --c-bg: #f5f7fa;
    --c-bg-alt: #edf0f5;
    --c-surface: rgba(0,0,0,0.03);
    --c-surface-hover: rgba(0,0,0,0.06);
    --c-surface-solid: #e8ecf2;
    --c-border: rgba(0,0,0,0.08);
    --c-border-hover: rgba(0,0,0,0.15);
    --c-text: #1a1a2e;
    --c-text-secondary: #4a4a6a;
    --c-text-muted: #8888a0;
    --c-primary: #2563eb;
    --c-primary-light: #3b82f6;
    --c-primary-dark: #1d4ed8;
    --c-primary-glow: rgba(37,99,235,0.2);
    --c-accent: #d97706;
    --c-accent-light: #f59e0b;
    --c-accent-glow: rgba(217,119,6,0.2);
    --c-gradient-hero: linear-gradient(135deg, #f5f7fa 0%, #e0e7f1 50%, #f0f2f8 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(37,99,235,0.1);
    --glass-bg: rgba(255,255,255,0.7);
    --glass-border: 1px solid rgba(0,0,0,0.08);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--c-primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary); }
img { max-width: 100%; height: auto; display: block; }

/* --- Background Decorations --- */
body::before {
    content: '';
    position: fixed;
    top: -30%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    transition: background 0.5s ease;
    border-radius: 50%;
    z-index: -1;
    animation: floatOrb 25s ease-in-out infinite alternate;
}
body::after {
    content: '';
    position: fixed;
    bottom: -20%; left: -15%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: floatOrb 30s ease-in-out infinite alternate-reverse;
}
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.05); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Noise texture overlay */
.page-wrapper::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 48px);
    transition: background var(--transition);
}
[data-theme="light"] .navbar {
    background: rgba(245, 247, 250, 0.85);
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}
[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 247, 250, 0.97);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-text);
    letter-spacing: -0.02em;
}
.nav-brand .brand-icon {
    width: 40px; height: 40px;
    background: var(--c-gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--c-text-secondary);
    font-weight: 500;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}
.nav-links a:hover {
    color: var(--c-text);
    background: var(--c-surface-hover);
}
.nav-links a.active {
    color: var(--c-primary-light);
    background: rgba(59,130,246,0.1);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--c-primary);
    border-radius: 1px;
}
.nav-links a i { font-size: 1rem; }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--c-gradient-1);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
    margin-left: 8px;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(59,130,246,0.4);
    color: #fff !important;
}

/* Nav controls wrapper (theme toggle + hamburger) */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--c-text);
    cursor: pointer;
    padding: 8px;
}

/* Theme toggle button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    color: var(--c-text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition);
}
.theme-toggle:hover {
    background: var(--c-surface-hover);
    color: var(--c-text);
    border-color: var(--c-border-hover);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
[data-theme="light"] .mobile-menu {
    background: rgba(245, 247, 250, 0.98);
}
.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: var(--c-text-secondary);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active {
    color: var(--c-text);
    background: var(--c-surface-hover);
}
.mobile-menu a.active { color: var(--c-primary-light); }
.mobile-menu .mobile-cta {
    margin-top: 16px;
    padding: 16px;
    background: var(--c-gradient-1);
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius);
    font-size: 1rem;
    justify-content: center;
}

/* --- Page Wrapper --- */
.page-wrapper {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

/* --- Main Content --- */
.main-content {
    padding-top: var(--nav-height);
    min-height: 100vh;
}
.content-area {
    padding: clamp(20px, 5vw, 48px);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 48px);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroPulse 8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes heroPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* Decorative grid behind hero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--c-primary-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 0.3s ease-out;
}
.hero-badge .pulse-dot {
    width: 8px; height: 8px;
    background: var(--c-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    animation: fadeInUp 0.3s ease-out 0.05s both;
    position: relative;
    z-index: 1;
}
.hero h1 .gradient-text {
    background: var(--c-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--c-text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeInUp 0.3s ease-out 0.1s both;
    position: relative;
    z-index: 1;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.3s ease-out 0.15s both;
    position: relative;
    z-index: 1;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--c-gradient-1);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(59,130,246,0.45);
    color: #fff;
}
.btn-accent {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}
.btn-accent:hover {
    box-shadow: 0 6px 30px rgba(245,158,11,0.45);
    color: #fff;
}
.btn-ghost {
    background: var(--glass-bg);
    border: var(--glass-border);
    color: var(--c-text);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--c-surface-hover); color: var(--c-text); }
.btn-white {
    background: #fff;
    color: var(--c-bg);
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.btn-white:hover {
    background: #f0f0f5;
    color: var(--c-bg);
    box-shadow: 0 6px 30px rgba(255,255,255,0.2);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--c-border-hover);
    color: var(--c-text);
}
.btn-outline:hover {
    border-color: var(--c-primary);
    background: rgba(59,130,246,0.1);
    color: var(--c-primary-light);
}
.btn-success { background: var(--c-success); color: #fff; }
.btn-danger { background: var(--c-danger); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* Button shimmer effect */
.btn-primary::before, .btn-accent::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}
.btn-primary:hover::before, .btn-accent:hover::before {
    left: 100%;
}

/* --- Glass Cards --- */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent, rgba(59,130,246,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition);
}
.card:hover::before { opacity: 1; }
.card:hover {
    border-color: var(--c-border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}
.card-body { padding: clamp(16px, 3vw, 28px); }
.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--c-border);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--c-text);
}
.card-header i { color: var(--c-primary-light); margin-right: 8px; }

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}
.section-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    line-height: 1.15;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--c-text-secondary);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Stats / Feature Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 16px;
    margin-bottom: 48px;
}
.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--c-gradient-1);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity var(--transition);
}
.stat-card:hover {
    border-color: var(--c-border-hover);
    background: var(--c-surface-hover);
    transform: translateY(-2px);
}
.stat-card:hover::after { opacity: 1; }

.card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.card-icon.blue { background: rgba(59,130,246,0.15); color: #60a5fa; }
.card-icon.orange { background: rgba(245,158,11,0.15); color: #fbbf24; }
.card-icon.green { background: rgba(16,185,129,0.15); color: #34d399; }
.card-icon.red { background: rgba(239,68,68,0.15); color: #f87171; }
.card-icon.purple { background: rgba(139,92,246,0.15); color: #a78bfa; }

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.stat-label {
    font-size: 0.82rem;
    color: var(--c-text-muted);
    margin-top: 2px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 24px;
}
.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 32px);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--c-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.service-card:hover::before {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
}
.service-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--c-primary-light);
    margin-bottom: 20px;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: rgba(59,130,246,0.2);
    box-shadow: 0 0 20px rgba(59,130,246,0.2);
    transform: scale(1.05);
}
.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.service-card p {
    color: var(--c-text-secondary);
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.65;
}
.service-card .price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-accent-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.service-card .features {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}
.service-card .features li {
    padding: 5px 0;
    font-size: 0.85rem;
    color: var(--c-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-card .features li::before {
    content: '\F272';
    font-family: 'bootstrap-icons';
    color: var(--c-success);
    font-size: 0.85rem;
}

/* --- Service Card with Image --- */
.service-card-img {
    padding: 0;
}
.service-card-img .service-card-content {
    padding: clamp(20px, 3vw, 28px);
}
.service-card-photo {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.service-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card-img:hover .service-card-photo img {
    transform: scale(1.08);
}
.service-card-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--c-bg) 100%);
    pointer-events: none;
    opacity: 0.5;
}

/* --- Assembly Cards Grid --- */
.assembly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.assembly-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.assembly-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow);
}
.assembly-card-photo {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.assembly-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.assembly-card:hover .assembly-card-photo img {
    transform: scale(1.05);
}
.assembly-card-body {
    padding: 20px;
}
.assembly-card-body i {
    font-size: 1.5rem;
    color: var(--c-accent);
    margin-bottom: 8px;
    display: inline-block;
}
.assembly-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.assembly-card-body p {
    color: var(--c-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* --- Brands Grid --- */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}
.brand-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow);
}
.brand-card strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.brand-card span {
    color: var(--c-muted);
    font-size: 0.82rem;
}

/* --- Hero with Background Image --- */
.hero-with-image {
    position: relative;
}
.hero-bg-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    z-index: 0;
}
.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(1px);
}
.hero-with-image .hero-badge,
.hero-with-image h1,
.hero-with-image p,
.hero-with-image .hero-actions {
    position: relative;
    z-index: 2;
}
[data-theme="light"] .hero-bg-image img {
    opacity: 0.12;
}

/* --- CTA with Image --- */
.cta-with-image {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}
.cta-content {
    flex: 1;
    position: relative;
    z-index: 1;
}
.cta-image {
    flex: 0 0 280px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.cta-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* --- Bio Photo --- */
.bio-photo {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    margin: -1px -1px 20px -1px;
    width: calc(100% + 2px);
}
.bio-card { overflow: hidden; }
.bio-card .bio-photo + h3,
.bio-card .bio-photo ~ p {
    padding-left: clamp(20px, 3vw, 36px);
    padding-right: clamp(20px, 3vw, 36px);
}
.bio-card .bio-photo + h3 {
    padding-top: 0;
}
.bio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Tools Photo Card --- */
.tools-photo-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: var(--glass-border);
}
.tools-photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* --- Work Gallery --- */
.work-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: var(--glass-border);
    background: var(--glass-bg);
    aspect-ratio: 4/3;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: var(--glass-border);
    transition: all var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-glow); }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; display: block; }
.gallery-item .overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 24px;
    transform: translateY(100%);
    transition: transform var(--transition);
}
.gallery-item:hover .overlay { transform: translateY(0); }

/* Gallery empty state */
.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius-lg);
}
.gallery-empty .empty-icon {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--c-primary-light);
}
.gallery-empty h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.gallery-empty p { color: var(--c-text-secondary); font-size: 0.95rem; max-width: 400px; margin: 0 auto; }

/* --- Reviews --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 24px;
}
.review-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
}
.review-card:hover {
    border-color: var(--c-border-hover);
    transform: translateY(-2px);
}
.review-card .stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 14px; }
.review-card .review-text {
    font-size: 0.95rem;
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: 18px;
    font-style: italic;
}
.review-card .reviewer { display: flex; align-items: center; gap: 12px; }
.review-card .reviewer-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--c-gradient-1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(59,130,246,0.25);
}
.review-card .reviewer-name { font-weight: 600; font-size: 0.9rem; }
.review-card .reviewer-meta { font-size: 0.78rem; color: var(--c-text-muted); }

/* --- CTA Section --- */
.cta-section {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: clamp(36px, 6vw, 64px);
    text-align: center;
    margin-top: 64px;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    border-radius: inherit;
}
.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}
.cta-section p {
    color: var(--c-text-secondary);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.cta-section .btn { position: relative; z-index: 1; }

/* --- Banner (below market rates) --- */
.promo-banner {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
    border: 1px solid rgba(245,158,11,0.2);
    position: relative;
    overflow: hidden;
}
.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245,158,11,0.05), rgba(239,68,68,0.03));
    pointer-events: none;
}
.promo-banner i { font-size: 1.4rem; color: var(--c-accent-light); }
.promo-banner .promo-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-left: 0.5rem;
    position: relative;
}
.promo-banner .promo-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--c-text-muted);
    margin-top: 4px;
    position: relative;
}

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--c-text-secondary);
    letter-spacing: 0.01em;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--c-text);
    transition: all var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px var(--c-primary-glow);
    background: var(--c-surface-hover);
}
.form-control::placeholder { color: var(--c-text-muted); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; }

/* --- Tables --- */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius);
    border: var(--glass-border);
}
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
}
th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text-muted);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
}
td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--c-border);
    font-size: 0.9rem;
}
tr:hover td { background: var(--c-surface-hover); }
.table-compact th,
.table-compact td {
    padding: 10px 10px;
}

/* --- Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-pending { background: rgba(245,158,11,0.15); color: #fbbf24; }
.badge-confirmed { background: rgba(59,130,246,0.15); color: #60a5fa; }
.badge-progress { background: rgba(139,92,246,0.15); color: #a78bfa; }
.badge-completed { background: rgba(16,185,129,0.15); color: #34d399; }
.badge-cancelled { background: rgba(239,68,68,0.15); color: #f87171; }

/* --- Alerts --- */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}
.alert-success { background: rgba(16,185,129,0.1); color: #34d399; border: 1px solid rgba(16,185,129,0.2); }
.alert-danger { background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
.alert-warning { background: rgba(245,158,11,0.1); color: #fbbf24; border: 1px solid rgba(245,158,11,0.2); }
.alert-info { background: rgba(59,130,246,0.1); color: #60a5fa; border: 1px solid rgba(59,130,246,0.2); }

/* --- About Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

/* Bio card styles */
.bio-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 36px);
}
.bio-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.bio-card p {
    color: var(--c-text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Profile card styles */
.profile-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}
.profile-avatar {
    width: 120px; height: 120px;
    border-radius: 50%;
    background: var(--c-gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 8px 30px rgba(59,130,246,0.3);
    overflow: hidden;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.profile-card .profile-role { color: var(--c-text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.profile-card .profile-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.88rem;
    color: var(--c-text-secondary);
    border-top: 1px solid var(--c-border);
}
.profile-card .profile-detail i { color: var(--c-primary-light); font-size: 1rem; width: 20px; text-align: center; }

/* Service area card */
.service-area-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 16px;
}
.service-area-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-area-card h4 i { color: var(--c-accent-light); }
.area-list {
    list-style: none;
    padding: 0;
}
.area-list li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--c-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.area-list li i { color: var(--c-success); font-size: 0.8rem; }

/* Expectations grid in about page */
.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
    gap: 12px;
    margin-top: 20px;
}
.expectation-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    transition: all var(--transition);
}
.expectation-card:hover {
    border-color: var(--c-border-hover);
    background: var(--c-surface-hover);
    transform: translateY(-2px);
}
.expectation-card i {
    font-size: 1.5rem;
    color: var(--c-primary-light);
    margin-bottom: 8px;
    display: block;
}
.expectation-card .exp-title {
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.expectation-card .exp-sub {
    font-size: 0.72rem;
    color: var(--c-text-muted);
}

/* --- Booking Grid --- */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* ===== Booking Wizard ===== */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 0 24px;
}
.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.wizard-step.active, .wizard-step.done { opacity: 1; }
.wizard-step-circle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 2px solid var(--c-border);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
    color: var(--c-text-secondary);
    transition: all 0.3s;
}
.wizard-step.active .wizard-step-circle {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.2);
}
.wizard-step.done .wizard-step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}
.wizard-step span { font-size: 0.78rem; font-weight: 600; color: var(--c-text-muted); }
.wizard-step.active span { color: var(--c-primary-light); }
.wizard-step-line {
    flex: 1;
    height: 2px;
    background: var(--c-border);
    margin: 0 8px;
    margin-bottom: 22px;
    max-width: 120px;
    transition: background 0.3s;
}
.wizard-step-line.done { background: #10b981; }

.booking-wizard-container {
    max-width: 720px;
    margin: 0 auto 32px;
}
.wizard-panel {
    display: none;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    animation: fadeSlideUp 0.35s ease;
}
.wizard-panel.active { display: block; }
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.wizard-panel-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px;
}
.wizard-panel-header i { font-size: 1.5rem; color: var(--c-primary-light); }
.wizard-panel-header h3 { font-size: 1.15rem; font-weight: 700; margin: 0; }

.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--c-border);
}

/* Calendar + Time Grid */
.calendar-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.calendar-wrapper { min-width: 0; }

/* Flatpickr Overrides */
.flatpickr-calendar {
    background: var(--glass-bg) !important;
    border: var(--glass-border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
    width: 100% !important;
    font-family: inherit !important;
}
.flatpickr-months .flatpickr-month { background: transparent !important; color: var(--c-text) !important; }
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year { color: var(--c-text) !important; font-weight: 600 !important; }
.flatpickr-weekdays { background: transparent !important; }
span.flatpickr-weekday { color: var(--c-text-muted) !important; font-weight: 600 !important; font-size: 0.8rem !important; }
.flatpickr-day {
    color: var(--c-text) !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}
.flatpickr-day:hover { background: rgba(59,130,246,0.15) !important; border-color: transparent !important; }
.flatpickr-day.selected {
    background: var(--c-primary) !important;
    border-color: var(--c-primary) !important;
    color: #fff !important;
}
.flatpickr-day.today { border-color: var(--c-primary-light) !important; }
.flatpickr-day.flatpickr-disabled { color: var(--c-text-muted) !important; opacity: 0.3; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { fill: var(--c-text) !important; color: var(--c-text) !important; }
.flatpickr-innerContainer { padding: 4px !important; }
.numInputWrapper:hover { background: transparent !important; }
.flatpickr-monthDropdown-months { background: var(--glass-bg) !important; }

/* Time Slot Cards */
.timeslot-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.timeslot-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid var(--c-border);
    background: var(--glass-bg);
    cursor: pointer;
    transition: all 0.2s;
}
.timeslot-card:hover {
    border-color: var(--c-primary-light);
    background: rgba(59,130,246,0.05);
}
.timeslot-card.active {
    border-color: var(--c-primary);
    background: rgba(59,130,246,0.1);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.timeslot-card i { font-size: 1.4rem; color: var(--c-primary-light); width: 28px; text-align: center; }
.timeslot-card strong { font-size: 0.9rem; }
.timeslot-card span { font-size: 0.78rem; color: var(--c-text-muted); margin-left: auto; }

/* ── Availability Badges ── */
.timeslot-card .slot-avail {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
    margin-left: auto; letter-spacing: 0.3px;
    animation: badgeFadeIn 0.3s ease forwards;
    opacity: 0;
}
@keyframes badgeFadeIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}
.timeslot-card .slot-avail i { font-size: 0.65rem; width: auto; margin: 0; }
.timeslot-card .slot-avail.avail-free {
    background: rgba(34,197,94,0.15); color: #22c55e;
    box-shadow: 0 0 8px rgba(34,197,94,0.15);
}
.timeslot-card .slot-avail.avail-partial {
    background: rgba(234,179,8,0.15); color: #eab308;
    box-shadow: 0 0 8px rgba(234,179,8,0.15);
}
.timeslot-card .slot-avail.avail-busy {
    background: rgba(239,68,68,0.15); color: #ef4444;
    box-shadow: 0 0 8px rgba(239,68,68,0.15);
}
.timeslot-card.slot-busy {
    opacity: 0.45; pointer-events: none;
    filter: grayscale(0.5);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* ── Availability Note Bar ── */
.avail-note {
    font-size: 0.85rem; margin-bottom: 12px;
    padding: 10px 14px; border-radius: 10px;
    background: var(--c-surface, rgba(255,255,255,0.04));
    border: 1px solid var(--c-border, rgba(255,255,255,0.08));
    animation: badgeFadeIn 0.3s ease forwards;
}
.avail-note-row {
    display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.avail-note-icon {
    width: 24px; height: 24px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.75rem; flex-shrink: 0;
    background: rgba(59,130,246,0.15); color: #60a5fa;
    transition: background 0.3s ease, color 0.3s ease;
}
.avail-note-icon.note-full {
    background: rgba(239,68,68,0.15); color: #ef4444;
}
.avail-note-icon.note-open {
    background: rgba(34,197,94,0.15); color: #22c55e;
}
.avail-capacity-bar {
    height: 4px; border-radius: 4px;
    background: var(--c-border, rgba(255,255,255,0.08));
    overflow: hidden;
}
.avail-capacity-fill {
    height: 100%; border-radius: 4px;
    width: 0;
    background: linear-gradient(90deg, #22c55e, #eab308);
    transition: width 0.6s cubic-bezier(0.22,1,0.36,1), background 0.4s ease;
}
.avail-capacity-fill.cap-mid {
    background: linear-gradient(90deg, #eab308, #f97316);
}
.avail-capacity-fill.cap-full {
    background: linear-gradient(90deg, #f97316, #ef4444);
}

.selected-datetime {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 10px;
    color: #10b981;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Form Row 2 columns */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Order Summary */
.order-summary {
    background: rgba(59,130,246,0.05);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}
.order-summary h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
    color: var(--c-primary-light);
}
.summary-row {
    display: flex; justify-content: space-between;
    padding: 6px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--c-border);
}
.summary-row:last-child { border-bottom: none; }

/* Booking Info Chips Row */
.booking-info-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
}
.info-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius);
}
.info-chip > i {
    font-size: 1.5rem;
    color: var(--c-primary-light);
    flex-shrink: 0;
}
.info-chip strong { font-size: 0.85rem; display: block; }
.info-chip span { font-size: 0.75rem; color: var(--c-text-muted); }

/* How it works steps */
.steps-list {
    list-style: none;
    padding: 0;
}
.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 48px; left: 19px;
    width: 2px; height: calc(100% - 32px);
    background: var(--c-border);
}
.step-number {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(59,130,246,0.15);
    color: var(--c-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.step-content h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.step-content p { font-size: 0.85rem; color: var(--c-text-muted); line-height: 1.5; }

/* Contact info card */
.contact-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 16px;
}
.contact-info-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-info-card h4 i { color: var(--c-primary-light); }
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.88rem;
    color: var(--c-text-secondary);
    border-top: 1px solid var(--c-border);
}
.contact-item:first-of-type { border-top: none; }
.contact-item i { color: var(--c-primary-light); font-size: 1rem; width: 20px; text-align: center; }

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--c-border);
    padding: 40px clamp(20px, 5vw, 48px);
    text-align: center;
    color: var(--c-text-muted);
    font-size: 0.85rem;
    margin-top: 64px;
    position: relative;
    z-index: 1;
}
.footer a { color: var(--c-text-muted); text-decoration: none; }
.footer a:hover { color: var(--c-primary-light); }
.footer-contact {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-phone, .footer-email {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.footer-phone i, .footer-email i { font-size: 0.85rem; }
.footer-divider { color: var(--c-border); }
.footer-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* --- Service Price Tag --- */
.service-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-primary-light);
}
.service-price i { font-size: 0.9rem; }
.price-unit {
    font-weight: 400;
    font-size: 0.82rem;
    color: var(--c-text-muted);
}

/* --- Reviews Home Section --- */
.reviews-home-section { margin-top: 24px; }
.text-center { text-align: center; }

/* Light theme body decorations */
[data-theme="light"] body::before {
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
}
[data-theme="light"] body::after {
    background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, transparent 70%);
}
[data-theme="light"] .page-wrapper::before {
    opacity: 0.02;
}
[data-theme="light"] .hero::before {
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
}
[data-theme="light"] .hero::after {
    background-image:
        linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
}
[data-theme="light"] .nav-brand { color: var(--c-text); }
[data-theme="light"] .floating-shapes .shape { opacity: 0.04; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.2); }

/* --- Login Page --- */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--c-bg);
    position: relative;
}
.login-page::before {
    content: '';
    position: absolute;
    top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 420px;
    margin: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}
.login-card h2 {
    text-align: center;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.login-card .subtitle {
    text-align: center;
    color: var(--c-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted) !important; }
.text-primary { color: var(--c-primary-light) !important; }
.text-accent { color: var(--c-accent-light) !important; }
.text-success { color: var(--c-success) !important; }
.text-danger { color: var(--c-danger) !important; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.d-flex { display: flex; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.animate-in:nth-child(1) { transition-delay: 0s; }
.animate-in:nth-child(2) { transition-delay: 0.04s; }
.animate-in:nth-child(3) { transition-delay: 0.08s; }
.animate-in:nth-child(4) { transition-delay: 0.12s; }
.animate-in:nth-child(5) { transition-delay: 0.16s; }
.animate-in:nth-child(6) { transition-delay: 0.2s; }
.animate-in:nth-child(7) { transition-delay: 0.24s; }
.animate-in:nth-child(8) { transition-delay: 0.28s; }

/* -- Floating shapes decoration -- */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    animation: floatShape 20s ease-in-out infinite;
}
.floating-shapes .shape:nth-child(1) {
    width: 300px; height: 300px;
    background: var(--c-primary);
    top: -100px; right: -50px;
    animation-duration: 25s;
}
.floating-shapes .shape:nth-child(2) {
    width: 200px; height: 200px;
    background: var(--c-accent);
    bottom: -50px; left: 10%;
    animation-duration: 30s;
    animation-delay: -5s;
}
.floating-shapes .shape:nth-child(3) {
    width: 150px; height: 150px;
    background: #8b5cf6;
    top: 30%; right: 20%;
    animation-duration: 22s;
    animation-delay: -10s;
}
@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-3deg); }
    75% { transform: translate(30px, 10px) rotate(4deg); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .about-grid { grid-template-columns: 1fr; }
    .booking-grid { grid-template-columns: 1fr; }
    .calendar-time-grid { grid-template-columns: 1fr; }
    .booking-info-row { grid-template-columns: 1fr 1fr; }
    .cta-with-image { flex-direction: column; text-align: center; }
    .cta-image { flex: 0 0 auto; width: 100%; max-width: 400px; }
    .cta-content p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; }
    .services-grid { grid-template-columns: 1fr; }
    .assembly-grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(3, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { padding: 16px; }
    .service-card { padding: 20px; }
    .service-card-img { padding: 0; }
    .service-card-img .service-card-content { padding: 16px; }
    .service-card-photo { height: 180px; }
    .review-card { padding: 20px; }
    .profile-card { padding: 24px; }
    .bio-card { padding: 0; }
    .bio-card .bio-photo + h3,
    .bio-card .bio-photo ~ p { padding-left: 16px; padding-right: 16px; }
    .bio-card .bio-photo ~ p:last-child { padding-bottom: 20px; }
    .bio-photo { height: 180px; }
    .cta-image img { height: 180px; }
    .hero-bg-image { border-radius: var(--radius); }
    .btn-lg { padding: 14px 28px; font-size: 0.9rem; }
    .cta-section { padding: 28px 20px; border-radius: var(--radius); }
    .cta-section h2 { font-size: 1.3rem; }
    .content-area { padding: 16px; }
    .footer { padding: 24px 16px; margin-top: 40px; }
    .card-body { padding: 16px; }
    .card-header { padding: 14px 16px; }
    .expectations-grid { grid-template-columns: repeat(2, 1fr); }
    .login-card { padding: 28px 24px; margin: 16px; border-radius: var(--radius); }
    .login-page::before { width: 300px; height: 300px; }
    body::before { width: 400px; height: 400px; }
    body::after { width: 300px; height: 300px; }
    .promo-banner { padding: 0.75rem 1rem; }
    .promo-banner .promo-title { font-size: 0.95rem; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header p { font-size: 0.9rem; }
    .mobile-menu a { padding: 14px 16px; }
    .nav-brand span:last-child { font-size: 1rem; }
}

/* ===== Admin Panel Layout ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.open { display: block; }

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: var(--c-surface);
    border-right: 1px solid var(--c-border);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.sidebar-header {
    padding: 24px 20px 16px;
    border-bottom: 1px solid var(--c-border);
}
.sidebar-header .brand {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-text);
}
.sidebar-header .brand i {
    font-size: 1.4rem;
    color: var(--c-primary-light);
}
.sidebar-header .tagline {
    font-size: 0.78rem;
    color: var(--c-text-muted);
    margin-top: 4px;
}
.sidebar-nav {
    flex: 1;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.sidebar-nav a, .sidebar-nav button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: var(--c-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
}
.sidebar-nav a:hover, .sidebar-nav button:hover {
    color: var(--c-text);
    background: var(--c-surface-hover);
}
.sidebar-nav a.active {
    color: var(--c-primary-light);
    background: rgba(99,102,241,0.1);
    border-right: 3px solid var(--c-primary-light);
    font-weight: 600;
}
.sidebar-nav a i, .sidebar-nav button i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Admin page wrapper override */
body:has(.sidebar) .page-wrapper {
    display: flex;
    min-height: 100vh;
}
body:has(.sidebar) .main-content {
    flex: 1;
    margin-left: 260px;
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body:has(.sidebar) .content-area {
    flex: 1;
    padding: clamp(20px, 3vw, 32px);
    max-width: 1400px;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-surface);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
}
.top-bar .page-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-text);
}
.top-bar .menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--c-border);
    color: var(--c-text);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Admin gallery specific */
.admin-upload-zone {
    border: 2px dashed var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}
.admin-upload-zone:hover,
.admin-upload-zone.dragover {
    border-color: var(--c-primary-light);
    background: rgba(99,102,241,0.05);
}
.admin-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.admin-photo-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}
.admin-photo-card:hover {
    border-color: var(--c-primary-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.admin-photo-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.admin-photo-card .photo-info {
    padding: 16px;
}
.admin-photo-card .photo-info strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.admin-photo-card .photo-info p {
    font-size: 0.83rem;
    color: var(--c-text-muted);
    margin-bottom: 12px;
}
.admin-photo-card .photo-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.admin-photo-card .photo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.admin-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-form-group input[type="text"],
.admin-form-group input[type="file"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: var(--c-bg);
    color: var(--c-text);
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
.admin-form-group input:focus {
    outline: none;
    border-color: var(--c-primary-light);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* Booking wizard mobile */
@media (max-width: 640px) {
    .wizard-progress { gap: 0; padding: 0 8px; }
    .wizard-step span { font-size: 0.68rem; }
    .wizard-step-circle { width: 34px; height: 34px; font-size: 0.8rem; }
    .wizard-step-line { max-width: 60px; }
    .wizard-panel { padding: 20px 16px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .booking-info-row { grid-template-columns: 1fr; }
}

/* Admin mobile responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        background: var(--c-bg);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    body:has(.sidebar) .main-content {
        margin-left: 0;
    }
    .top-bar .menu-toggle {
        display: block;
    }
    .admin-form-row {
        grid-template-columns: 1fr;
    }
    .admin-photo-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Service Groups Grid (hub + home)
   ======================================== */
.service-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.service-group-card {
    background: var(--c-card);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--c-border);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-group-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.service-group-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.service-group-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.service-group-card:hover .service-group-image img {
    transform: scale(1.06);
}
.service-group-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}
.service-group-overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.service-group-body {
    padding: 1.5rem;
}
.service-group-body p {
    color: var(--c-text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.service-group-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    color: var(--c-primary);
    margin-bottom: 0.75rem;
}
.service-group-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--c-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.25s, color 0.25s;
}
.service-group-link:hover {
    gap: 0.75rem;
    color: var(--c-primary-hover, var(--c-primary));
}

/* ========================================
   Service Category Detail Page
   ======================================== */
.category-header {
    text-align: center;
    padding: 2rem 0;
}
.category-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    list-style: none;
    padding: 0;
}
.feature-chips li,
.feature-chips .chip {
    background: var(--c-bg-tertiary, rgba(99,102,241,0.1));
    color: var(--c-primary);
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
}
.learn-more-section {
    margin-top: 0.75rem;
}
.learn-more-btn {
    background: none;
    border: none;
    color: var(--c-primary);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.25rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}
.learn-more-btn:hover {
    color: var(--c-primary-hover, #818cf8);
}
.learn-more-btn .lm-hide {
    display: none;
}
.learn-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s;
    opacity: 0;
}
.learn-more-content.open {
    max-height: 600px;
    opacity: 1;
    margin-top: 0.75rem;
}
.learn-more-content p {
    color: var(--c-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--c-text-secondary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}
.back-link:hover {
    color: var(--c-primary);
}

/* Promo banner on category pages */
.promo-banner {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}
.promo-banner h3 {
    color: var(--c-primary);
}

/* ========================================
   Responsive overrides for new components
   ======================================== */
@media (max-width: 768px) {
    .service-groups-grid {
        grid-template-columns: 1fr;
    }
    .service-group-image {
        height: 180px;
    }
    .assembly-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CRM Activity Feed
   ======================================== */
.activity-feed { display: flex; flex-direction: column; gap: 0; }
.activity-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--g-border);
}
.activity-item:last-child { border-bottom: none; }
.activity-icon {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 0.9rem;
}
.activity-icon.green  { background: rgba(16,185,129,0.15); color: #34d399; }
.activity-icon.blue   { background: rgba(59,130,246,0.15); color: #60a5fa; }
.activity-icon.orange { background: rgba(245,158,11,0.15); color: #fbbf24; }
.activity-icon.purple { background: rgba(139,92,246,0.15); color: #a78bfa; }
.activity-icon.red    { background: rgba(239,68,68,0.15);  color: #f87171; }
.activity-content { flex: 1; min-width: 0; }
.activity-text { font-size: 0.9rem; line-height: 1.4; }
.activity-text strong { margin-right: 6px; }
.activity-meta {
    display: flex; gap: 10px; align-items: center;
    font-size: 0.78rem; margin-top: 4px; flex-wrap: wrap;
}

/* CRM d-flex/gap utility classes */
.d-flex { display: flex; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }

/* ========================================
   Admin Panel — Comprehensive Mobile
   ======================================== */

/* Tablet: collapse inline 2-col/3-col grids */
@media (max-width: 768px) {
    /* Hide non-essential table columns on mobile */
    .hide-mobile {
        display: none !important;
    }
    /* Force all inline grid 2-col and 3-col to stack */
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    div[style*="grid-template-columns:1fr 1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Header flex rows: wrap buttons */
    .d-flex.justify-between {
        flex-wrap: wrap;
        gap: 12px;
    }
    .d-flex.gap-1 {
        flex-wrap: wrap;
    }

    /* Booking detail header buttons */
    .d-flex.justify-between .d-flex.gap-1 {
        width: 100%;
        justify-content: flex-start;
    }

    /* Stats grid on phones */
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Table improvements */
    table {
        font-size: 0.82rem;
    }
    table th, table td {
        padding: 8px 10px;
    }

    /* Top bar padding */
    .top-bar {
        padding: 10px 16px;
    }
    body:has(.sidebar) .content-area {
        padding: 16px;
    }

    /* Bookings filter wrap */
    .d-flex.gap-1[style*="flex-wrap"] input[style*="width:145px"] {
        width: 120px !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    /* Stats: single column */
    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    /* Stat card: horizontal compact */
    .stat-card {
        padding: 12px;
        gap: 10px;
    }
    .stat-value {
        font-size: 1.3rem;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.2rem;
    }
    .section-header p {
        font-size: 0.82rem;
    }

    /* Cards */
    .card-header {
        padding: 12px 14px;
        font-size: 0.88rem;
    }
    .card-body {
        padding: 12px 14px;
    }

    /* Tables: smaller text, tighter */
    table {
        font-size: 0.75rem;
    }
    table th, table td {
        padding: 6px 8px;
    }

    /* Badges */
    .badge {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    /* Buttons */
    .btn-sm {
        padding: 5px 10px;
        font-size: 0.78rem;
    }

    /* Content area */
    body:has(.sidebar) .content-area {
        padding: 12px;
    }
    .top-bar {
        padding: 8px 12px;
    }
    .top-bar .page-title {
        font-size: 0.95rem;
    }

    /* Admin photo grid: full width */
    .admin-photo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .admin-photo-card img {
        height: 180px;
    }

    /* Booking filter date inputs */
    .d-flex.gap-1[style*="flex-wrap"] input[style*="width:145px"],
    input[type="date"] {
        width: 100% !important;
        min-width: unset !important;
    }
    .d-flex.gap-1[style*="flex-wrap"] {
        flex-direction: column;
    }
    .d-flex.gap-1[style*="flex-wrap"] > * {
        width: 100%;
    }
    .d-flex.gap-1[style*="flex-wrap"] input[type="text"] {
        min-width: unset !important;
    }
}

/* ============================================================
   THUMBTACK-STYLE HOME REDESIGN
   Scoped under .tt-page so other pages remain untouched.
   ============================================================ */

/* Light shell when home page asks for it */
body.tt-light-shell { background: #ffffff !important; color: #1b1f23 !important; }
body.tt-light-shell .navbar,
body.tt-light-shell .navbar.scrolled {
    background: #ffffff !important;
    color: #1b1f23 !important;
    border-bottom: 1px solid #ececec !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02) !important;
}
body.tt-light-shell .navbar a,
body.tt-light-shell .navbar .nav-brand,
body.tt-light-shell .nav-links a { color: #1b1f23 !important; }
body.tt-light-shell .nav-links a.active,
body.tt-light-shell .nav-links a:hover { color: #009fd9 !important; }
body.tt-light-shell .nav-cta {
    background: #1b1f23 !important; color: #ffffff !important;
    border-radius: 999px !important; padding: 10px 18px !important;
}
body.tt-light-shell .nav-cta:hover { background: #009fd9 !important; color: #fff !important; }
body.tt-light-shell .footer { background: #f7f7f8 !important; color: #1b1f23 !important; border-top: 1px solid #ececec !important; }
body.tt-light-shell .footer a { color: #1b1f23 !important; }
body.tt-light-shell .main-content { background: #ffffff !important; }
body.tt-light-shell .content-area { padding: 0 !important; max-width: 100% !important; }

.tt-page {
    --tt-blue:    #009fd9;
    --tt-blue-d:  #0079a8;
    --tt-ink:     #1b1f23;
    --tt-ink-2:   #4b5563;
    --tt-soft:    #f4f5f7;
    --tt-yellow:  #ffd400;
    --tt-yellow-d:#f4c200;
    --tt-line:    #e5e7eb;
    color: var(--tt-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
}

.tt-page * { box-sizing: border-box; }

/* ---------- Hero ---------- */
.tt-hero {
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(0,159,217,0.10), transparent 60%),
        radial-gradient(900px 400px at 10% 110%, rgba(255,212,0,0.18), transparent 60%),
        #ffffff;
    padding: clamp(56px, 9vw, 110px) clamp(20px, 6vw, 80px) clamp(40px, 6vw, 80px);
    border-bottom: 1px solid var(--tt-line);
}
.tt-hero-inner { max-width: 980px; margin: 0 auto; text-align: center; }
.tt-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: #e7f7fd; color: var(--tt-blue-d);
    font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
    margin-bottom: 22px;
}
.tt-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16,185,129,0.55);
    animation: tt-pulse 1.6s infinite;
}
@keyframes tt-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
    70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.tt-h1 {
    font-size: clamp(34px, 5.6vw, 64px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: var(--tt-ink);
}
.tt-h1-accent {
    background: linear-gradient(120deg, var(--tt-yellow) 0%, var(--tt-yellow) 100%);
    background-size: 100% 38%;
    background-position: 0 88%;
    background-repeat: no-repeat;
    padding: 0 4px;
}
.tt-sub {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--tt-ink-2);
    max-width: 680px; margin: 0 auto 28px;
}
.tt-search {
    display: grid;
    grid-template-columns: minmax(0,1fr) 180px auto;
    gap: 8px;
    background: #fff;
    padding: 8px;
    border: 1px solid var(--tt-line);
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(15,42,68,0.06);
    max-width: 760px; margin: 0 auto;
}
.tt-search-field, .tt-search-zip {
    position: relative; display: flex; align-items: center;
    background: #fff; border-radius: 999px; padding: 0 14px 0 40px;
}
.tt-search-zip { border-left: 1px solid var(--tt-line); }
.tt-search-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #9aa1a9; font-size: 16px;
}
.tt-search input {
    border: 0; outline: 0; background: transparent;
    width: 100%; height: 48px; font-size: 16px; color: var(--tt-ink);
}
.tt-search input::placeholder { color: #9aa1a9; }
.tt-search-btn {
    background: var(--tt-ink); color: #fff;
    border: 0; border-radius: 999px;
    padding: 0 22px; height: 48px;
    font-weight: 700; font-size: 15px;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    transition: background 0.15s ease, transform 0.05s ease;
}
.tt-search-btn:hover { background: var(--tt-blue); }
.tt-search-btn:active { transform: scale(0.98); }
@media (max-width: 720px) {
    .tt-search {
        grid-template-columns: 1fr;
        border-radius: 18px;
        padding: 8px;
    }
    .tt-search-zip { border-left: 0; border-top: 1px solid var(--tt-line); }
    .tt-search-btn { height: 50px; }
}
.tt-hero-trust {
    margin-top: 28px;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 10px 18px; color: var(--tt-ink-2); font-size: 14px;
}
.tt-hero-trust i { color: var(--tt-blue); margin-right: 4px; }
.tt-hero-trust .bi-star-fill { color: #f5b400; }
.tt-dot { width: 4px; height: 4px; background: #cbd0d6; border-radius: 50%; }

/* ---------- Generic section shell ---------- */
.tt-section {
    padding: clamp(48px, 7vw, 90px) clamp(20px, 6vw, 80px);
    border-bottom: 1px solid var(--tt-line);
}
.tt-section--white { background: #ffffff; }
.tt-section--soft  { background: var(--tt-soft); }
.tt-section--yellow {
    background: linear-gradient(180deg, #fffbe6 0%, #fff7c2 100%);
    border-bottom: 0;
}
.tt-section-head {
    max-width: 1200px; margin: 0 auto 36px;
    display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.tt-section-head.tt-center {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tt-section-head.tt-center .tt-eyebrow { margin-bottom: 14px; }
.tt-section-head.tt-center .tt-h2 { margin: 0; }
.tt-section-head.tt-center .tt-section-sub { max-width: 640px; margin: 12px auto 0; }
.tt-h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800; letter-spacing: -0.02em;
    margin: 0; color: var(--tt-ink);
    line-height: 1.15;
}
.tt-h2-accent {
    background: var(--tt-yellow);
    padding: 0 6px; border-radius: 4px;
}
.tt-section-sub {
    color: var(--tt-ink-2); font-size: 16px; margin: 12px 0 0;
    line-height: 1.55;
}
.tt-link-arrow {
    color: var(--tt-ink); font-weight: 600; text-decoration: none;
    border-bottom: 2px solid var(--tt-yellow);
    padding-bottom: 2px;
}
.tt-link-arrow:hover { color: var(--tt-blue-d); border-color: var(--tt-blue); }

/* ---------- Most requested (circles) ---------- */
.tt-circle-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px 14px;
}
@media (max-width: 900px) { .tt-circle-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 540px) { .tt-circle-grid { grid-template-columns: repeat(3, 1fr); } }
.tt-circle {
    text-decoration: none; color: var(--tt-ink);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    text-align: center;
    transition: transform 0.15s ease;
}
.tt-circle:hover { transform: translateY(-3px); }
.tt-circle-img {
    width: 110px; height: 110px; border-radius: 50%;
    overflow: hidden; background: var(--tt-soft);
    box-shadow: 0 6px 18px rgba(15,42,68,0.08);
    border: 3px solid #fff;
}
.tt-circle-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-circle-label { font-size: 14px; font-weight: 600; line-height: 1.25; }

/* ---------- Top services (big cards) ---------- */
.tt-card-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 920px) { .tt-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tt-card-grid { grid-template-columns: 1fr; } }
.tt-bigcard {
    text-decoration: none; color: var(--tt-ink);
    background: #fff; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--tt-line);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    display: flex; flex-direction: column;
}
.tt-bigcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15,42,68,0.12);
    border-color: transparent;
}
.tt-bigcard-img { aspect-ratio: 16/10; overflow: hidden; background: var(--tt-soft); }
.tt-bigcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tt-bigcard:hover .tt-bigcard-img img { transform: scale(1.05); }
.tt-image-placeholder { width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #eef7fb, #f7f9fc); color: #009FD9; font-size: 2.6rem; }
.tt-bigcard-body { padding: 20px 22px 22px; }
.tt-bigcard-body h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.tt-bigcard-body p { margin: 0 0 14px; color: var(--tt-ink-2); font-size: 14.5px; min-height: 42px; }
.tt-bigcard-cta { font-weight: 700; color: var(--tt-blue-d); display: inline-flex; gap: 6px; align-items: center; }
.tt-bigcard:hover .tt-bigcard-cta { color: var(--tt-ink); }

/* ---------- How it works (steps) ---------- */
.tt-steps {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 820px) { .tt-steps { grid-template-columns: 1fr; } }
.tt-step {
    background: #fff; border-radius: 18px;
    padding: 28px 26px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 16px rgba(15,42,68,0.06);
}
.tt-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--tt-ink); color: #fff;
    font-weight: 800; font-size: 18px;
    margin-bottom: 14px;
}
.tt-step h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.tt-step p { margin: 0; color: var(--tt-ink-2); font-size: 15px; }

/* ---------- Recent work (masonry) ---------- */
.tt-masonry {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
}
@media (max-width: 900px) { .tt-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }
.tt-masonry-item {
    position: relative; overflow: hidden; border-radius: 14px;
    background: var(--tt-soft); display: block;
}
.tt-masonry-item:nth-child(3n) { grid-row: span 2; }
.tt-masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tt-masonry-item:hover img { transform: scale(1.06); }
.tt-masonry-overlay {
    position: absolute; inset: auto 0 0 0;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff; font-weight: 600; font-size: 14px;
    opacity: 0; transition: opacity 0.2s ease;
}
.tt-masonry-item:hover .tt-masonry-overlay { opacity: 1; }

/* ---------- Reviews ---------- */
.tt-review-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 920px) { .tt-review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tt-review-grid { grid-template-columns: 1fr; } }
.tt-review {
    background: #fff; border-radius: 16px; padding: 22px 22px;
    border: 1px solid var(--tt-line);
    display: flex; flex-direction: column; gap: 14px;
}
.tt-review-stars i { color: #f5b400; font-size: 14px; }
.tt-review-text {
    margin: 0; font-size: 15px; line-height: 1.55; color: #2b323a;
    flex: 1;
}
.tt-review-by { display: flex; gap: 12px; align-items: center; padding-top: 8px; border-top: 1px solid var(--tt-line); }
.tt-review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--tt-blue); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.tt-review-name { font-weight: 700; }
.tt-review-meta { color: var(--tt-ink-2); font-size: 13px; }

/* ---------- Final CTA ---------- */
.tt-cta {
    background: var(--tt-ink);
    color: #fff;
    padding: clamp(56px, 8vw, 100px) clamp(20px, 6vw, 80px);
}
.tt-cta-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.tt-cta .tt-h2 { color: #fff; }
.tt-cta p { color: rgba(255,255,255,0.78); font-size: 17px; margin: 14px auto 26px; max-width: 640px; }
.tt-cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Buttons ---------- */
.tt-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px; border-radius: 999px;
    font-weight: 700; font-size: 15px;
    text-decoration: none; cursor: pointer;
    border: 0; transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease;
}
.tt-btn:active { transform: scale(0.98); }
.tt-btn-dark   { background: var(--tt-ink); color: #fff; }
.tt-btn-dark:hover  { background: var(--tt-blue); }
.tt-btn-yellow { background: var(--tt-yellow); color: var(--tt-ink); }
.tt-btn-yellow:hover { background: var(--tt-yellow-d); }
.tt-btn-ghost  { background: rgba(0,0,0,0.04); color: var(--tt-ink); }
.tt-btn-ghost:hover { background: rgba(0,0,0,0.08); }
.tt-btn-outline-light {
    background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4);
}
.tt-btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

.tt-center { text-align: center; }

/* prevent any leftover dark-theme bleed inside .tt-page */
.tt-page .section-header,
.tt-page .hero,
.tt-page .cta-section { display: none !important; }

/* ============================================================
   THUMBTACK-STYLE — REFINEMENTS (logo, FOUC, typography)
   ============================================================ */

/* Apply light shell from <html data-theme="light"> on home page so
   no flash of dark navbar before <script> at end of body runs. */
html.tt-home,
html.tt-home body { background: #ffffff !important; color: #1b1f23 !important; }
html.tt-home .navbar,
html.tt-home .navbar.scrolled {
    background: #ffffff !important;
    color: #1b1f23 !important;
    border-bottom: 1px solid #ececec !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02) !important;
}
html.tt-home .navbar a,
html.tt-home .navbar .nav-brand,
html.tt-home .nav-links a { color: #1b1f23 !important; }
html.tt-home .nav-links a.active,
html.tt-home .nav-links a:hover { color: #009fd9 !important; }
html.tt-home .nav-links a.nav-cta,
html.tt-home .nav-cta {
    background: #0F2A44 !important; color: #ffffff !important;
    border-radius: 999px !important; padding: 10px 18px !important;
    box-shadow: none !important;
}
html.tt-home .nav-links a.nav-cta:hover,
html.tt-home .nav-cta:hover { background: #009fd9 !important; color: #ffffff !important; }
html.tt-home .footer { background: #f7f7f8 !important; color: #1b1f23 !important; border-top: 1px solid #ececec !important; }
html.tt-home .footer a { color: #1b1f23 !important; }
html.tt-home .main-content { background: #ffffff !important; }
html.tt-home .content-area { padding: 0 !important; max-width: 100% !important; }
html.tt-home .theme-toggle { display: none !important; } /* home is light-only */

/* Use Inter site-wide on light-shell pages */
html.tt-home, html.tt-home body, .tt-page {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-feature-settings: "ss01", "cv11";
}

/* ---------- Refined brand logo (replaces .brand-icon emoji) ---------- */
.nav-brand {
    display: inline-flex; align-items: center; gap: 12px;
    text-decoration: none; line-height: 1;
}
.brand-mark {
    display: inline-flex; flex: 0 0 auto;
    width: 38px; height: 38px; border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15,42,68,0.18);
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text {
    display: inline-flex; flex-direction: column;
    line-height: 1.05;
}
.brand-name {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: inherit;
}
.brand-tag {
    margin-top: 2px;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}
html:not(.tt-home) .brand-tag { color: rgba(255,255,255,0.55); }
@media (max-width: 540px) {
    .brand-tag { display: none; }
    .brand-name { font-size: 15px; }
    .brand-mark { width: 34px; height: 34px; }
}

/* Search field focus polish */
.tt-search:focus-within {
    box-shadow: 0 0 0 3px rgba(0,159,217,0.18), 0 8px 30px rgba(15,42,68,0.08);
    border-color: #cfe9f5;
}

/* Hero refinements — slightly tighter & more refined */
.tt-page .tt-h1 {
    font-feature-settings: "ss01", "cv11", "case";
}

/* ============================================
   TT Public pages — shared
   ============================================ */
html.tt-home .tt-pagehead {
  background: #fff;
  padding: 56px 24px 32px;
  border-bottom: 1px solid #eef0f2;
}
.tt-pagehead-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.tt-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5b6670;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  transition: color .15s;
}
.tt-back:hover { color: #0F2A44; }
.tt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF7CC;
  color: #6b5a00;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.tt-h1-sm {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: #0F2A44;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.tt-h1-accent {
  background: linear-gradient(180deg, transparent 60%, #FFD400 60%);
  padding: 0 4px;
}
.tt-h2-accent {
  background: linear-gradient(180deg, transparent 60%, #FFD400 60%);
  padding: 0 4px;
}
.tt-sub {
  color: #5b6670;
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto 28px;
}
.tt-hero-inner .tt-sub { text-align: center; }
.tt-section--white { background: #fff; padding: 48px 24px 64px; }
.tt-section--soft  { background: #F4F5F7; padding: 56px 24px; }
.tt-section--narrow { max-width: 880px; margin: 0 auto; }
.tt-center { text-align: center; }
.tt-section-head { margin-bottom: 32px; }
.tt-section-sub { color: #5b6670; font-size: 16px; margin: 6px 0 0; }

.tt-price-guide-section { padding-top: 36px; padding-bottom: 36px; }
.tt-price-guide {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 24px;
    align-items: center;
}
.tt-price-guide .tt-eyebrow { margin-bottom: 14px; }
.tt-price-guide p {
    color: #5b6670;
    font-size: 16px;
    line-height: 1.6;
    margin: 12px 0 0;
    max-width: 720px;
}
.tt-price-factors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.tt-price-factors span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e6e8eb;
    background: #fff;
    color: #0F2A44;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
}
.tt-price-factors i { color: #009FD9; }

@media (max-width: 760px) {
    .tt-price-guide { grid-template-columns: 1fr; }
    .tt-price-factors { grid-template-columns: 1fr; }
}

/* Service category cards */
.tt-svc-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.tt-svc {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tt-svc:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,42,68,.08);
  border-color: #d9dde2;
}
.tt-svc-photo { aspect-ratio: 16/10; overflow: hidden; background: #f4f5f7; }
.tt-svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.tt-svc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tt-svc-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0F2A44;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tt-svc-title i { color: #009FD9; }
.tt-svc-desc { color: #5b6670; font-size: 14.5px; margin: 0; line-height: 1.5; }
.tt-svc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  color: #0F2A44;
  font-size: 17px;
}
.tt-svc-unit { font-size: 13px; color: #5b6670; font-weight: 500; }
.tt-chips {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tt-chips li {
  background: #F4F5F7;
  color: #1B1F23;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
}
.tt-svc-more { margin-top: 4px; }
.tt-svc-more summary {
  cursor: pointer;
  color: #009FD9;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
}
.tt-svc-more summary::-webkit-details-marker { display: none; }
.tt-svc-more summary::after { content: " ↓"; }
.tt-svc-more[open] summary::after { content: " ↑"; }
.tt-svc-more p {
  margin: 8px 0 0;
  color: #5b6670;
  font-size: 14px;
  line-height: 1.6;
}
.tt-svc-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0F2A44;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  padding-top: 6px;
}
.tt-svc-cta:hover { color: #009FD9; }

/* Empty state */
.tt-empty {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
}
.tt-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FFF7CC;
  color: #6b5a00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
}
.tt-empty h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: #0F2A44;
  font-size: 22px;
  margin: 0 0 8px;
}
.tt-empty p { color: #5b6670; margin: 0 0 20px; }

/* Masonry full-width variant */
.tt-masonry--full {
  max-width: 1280px;
  margin: 0 auto;
}

/* About page */
.tt-about-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) {
  .tt-about-grid { grid-template-columns: 1fr; gap: 28px; }
}
.tt-prose h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: #0F2A44;
  font-size: 26px;
  margin: 0 0 16px;
  letter-spacing: -.01em;
}
.tt-prose p {
  color: #1B1F23;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.tt-h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: #0F2A44;
  font-size: 20px;
  margin: 32px 0 16px;
}
.tt-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 540px) { .tt-feature-grid { grid-template-columns: 1fr; } }
.tt-feature {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tt-feature i {
  color: #009FD9;
  font-size: 22px;
  margin-bottom: 4px;
}
.tt-feature strong { color: #0F2A44; font-size: 15px; }
.tt-feature span { color: #5b6670; font-size: 13.5px; line-height: 1.45; }

.tt-profile {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
}
.tt-profile-photo {
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: #f4f5f7;
  border: 4px solid #FFD400;
}
.tt-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.tt-profile-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: #0F2A44;
  font-size: 19px;
}
.tt-profile-role { color: #5b6670; font-size: 14px; margin-bottom: 14px; }
.tt-profile-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tt-profile-meta li {
  color: #1B1F23;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tt-profile-meta i { color: #009FD9; }
.tt-btn-block { width: 100%; justify-content: center; }
.tt-btn-dark {
  background: #0F2A44;
  color: #fff;
  border: 1px solid #0F2A44;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.tt-btn-dark:hover { background: #163a5f; transform: translateY(-1px); color: #fff; }

.tt-area-card {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 16px;
  padding: 20px 22px;
  margin-top: 18px;
}
.tt-area-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: #0F2A44;
  font-size: 16px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tt-area-card h4 i { color: #009FD9; }
.tt-area-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}
.tt-area-list li {
  color: #1B1F23;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tt-area-list i { color: #009FD9; font-size: 12px; }

/* Forms (light) */
.tt-form {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tt-form--narrow { max-width: 640px; margin: 0 auto; }
.tt-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) { .tt-form-row-2 { grid-template-columns: 1fr; } }
.tt-field { display: flex; flex-direction: column; gap: 6px; }
.tt-field label {
  font-size: 13px;
  font-weight: 600;
  color: #0F2A44;
}
.tt-field input,
.tt-field select,
.tt-field textarea {
  background: #fff;
  border: 1px solid #d9dde2;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 15px;
  color: #1B1F23;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.tt-field input:focus,
.tt-field select:focus,
.tt-field textarea:focus {
  outline: none;
  border-color: #009FD9;
  box-shadow: 0 0 0 3px rgba(0,159,217,.15);
}
.tt-form-result {
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}

/* Reviews — review meta */
.tt-review-meta { color: #5b6670; font-size: 13px; }

/* ============================================
   Admin panel — tt-brand refresh
   ============================================ */
.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 4px 0;
}
.admin-brand-mark {
    flex-shrink: 0;
    display: inline-flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15,42,68,.35);
}
.admin-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}
.admin-brand-name {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--c-text);
}
.admin-brand-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 3px;
}

/* Brand accent: blue for hover, yellow stripe for active */
.sidebar-nav a:hover,
.sidebar-nav button:hover {
    color: #009FD9;
    background: rgba(0,159,217,0.08);
}
.sidebar-nav a.active {
    color: #009FD9;
    background: linear-gradient(90deg, rgba(0,159,217,0.14), rgba(0,159,217,0.04));
    border-right: 3px solid #FFC72C;
    font-weight: 700;
}
.sidebar-nav a.active i {
    color: #009FD9;
}

/* Admin section header — cleaner */
.section-header h2 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* KPI card icons — softer brand-aligned palette */
.card-icon.blue { background: rgba(0,159,217,0.14); color: #4cc4ee; }
.card-icon.orange { background: rgba(255,199,44,0.16); color: #ffd14a; }
.card-icon.green { background: rgba(16,185,129,0.14); color: #4ade80; }
.card-icon.red { background: rgba(244,63,94,0.14); color: #fb7185; }

/* Stat cards — subtle yellow top border on hover */
.stat-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.stat-card:hover {
    border-color: rgba(0,159,217,0.35);
}

/* Buttons — give primary accents the tt-blue */
.btn-primary,
button.btn-primary {
    background: #0F2A44;
    border-color: #0F2A44;
}
.btn-primary:hover,
button.btn-primary:hover {
    background: #009FD9;
    border-color: #009FD9;
}

/* Top bar polish */
.top-bar .page-title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Light-mode admin (when user toggles theme) */
html[data-theme="light"] .sidebar-nav a:hover,
html[data-theme="light"] .sidebar-nav button:hover {
    background: rgba(0,159,217,0.08);
    color: #0F2A44;
}
html[data-theme="light"] .sidebar-nav a.active {
    background: rgba(0,159,217,0.10);
    color: #0F2A44;
    border-right-color: #FFC72C;
}
html[data-theme="light"] .sidebar-nav a.active i { color: #009FD9; }

/* ============================================
   Admin mobile quality pass
   ============================================ */
body:has(.sidebar),
body:has(.sidebar) .page-wrapper,
body:has(.sidebar) .main-content,
body:has(.sidebar) .content-area {
    min-width: 0;
}
body:has(.sidebar) .content-area {
    width: 100%;
}
body:has(.sidebar) .card,
body:has(.sidebar) .stat-card,
body:has(.sidebar) .table-container,
body:has(.sidebar) .admin-photo-card,
body:has(.sidebar) .activity-content {
    min-width: 0;
}
body:has(.sidebar) .card,
body:has(.sidebar) .stat-card,
body:has(.sidebar) .activity-text,
body:has(.sidebar) .section-header,
body:has(.sidebar) .card-header {
    overflow-wrap: break-word;
}
body:has(.sidebar) .table-container {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
body:has(.sidebar) .table-container table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}
body:has(.sidebar) th,
body:has(.sidebar) td {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}
body:has(.sidebar) th {
    white-space: nowrap;
}
body:has(.sidebar) td {
    white-space: normal;
}
body:has(.sidebar) .admin-nowrap {
    white-space: nowrap !important;
}
body:has(.sidebar) .admin-date-list {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.8rem;
    line-height: 1.35;
}
body:has(.sidebar) .admin-date-list span {
    white-space: nowrap;
}
body:has(.sidebar) .table-container .d-flex.gap-1 {
    flex-wrap: nowrap;
}
body:has(.sidebar) .table-container table.admin-leads-table {
    width: 100%;
    min-width: 1320px;
    table-layout: fixed;
}
body:has(.sidebar) .admin-leads-select-col { width: 44px; text-align: center; }
body:has(.sidebar) .admin-leads-id-col { width: 54px; }
body:has(.sidebar) .admin-leads-customer-col { width: 170px; }
body:has(.sidebar) .admin-leads-service-col { width: 230px; }
body:has(.sidebar) .admin-leads-location-col { width: 150px; }
body:has(.sidebar) .admin-leads-date-col { width: 110px; }
body:has(.sidebar) .admin-leads-estimate-col { width: 84px; }
body:has(.sidebar) .admin-leads-price-col { width: 86px; }
body:has(.sidebar) .admin-leads-status-col { width: 100px; }
body:has(.sidebar) .admin-leads-received-col { width: 90px; }
body:has(.sidebar) .admin-leads-actions-col { width: 166px; }
body:has(.sidebar) .admin-leads-table .admin-leads-customer-col,
body:has(.sidebar) .admin-leads-table .admin-leads-service-col,
body:has(.sidebar) .admin-leads-table .admin-leads-location-col {
    overflow-wrap: break-word;
}
body:has(.sidebar) .admin-leads-table .admin-leads-actions-col {
    position: static;
    right: auto;
    z-index: auto;
    min-width: 0;
    background: transparent;
    box-shadow: none;
}
body:has(.sidebar) .admin-leads-table td.admin-leads-actions-col .d-flex {
    justify-content: flex-start;
}
@media (max-width: 1500px) {
    body:has(.sidebar) .table-container table.admin-leads-table {
        min-width: 1280px;
    }
    body:has(.sidebar) .admin-leads-table .admin-leads-received-col {
        display: none;
    }
}
body:has(.sidebar) .table-container table.admin-customers-table {
    width: 100%;
    min-width: 1040px;
    table-layout: fixed;
}
body:has(.sidebar) .admin-customer-name-link {
    color: inherit;
    text-decoration: none;
}
body:has(.sidebar) .admin-customer-name-link:hover {
    color: var(--admin-primary);
}
body:has(.sidebar) .admin-customers-customer-col { width: 22%; }
body:has(.sidebar) .admin-customers-phone-col { width: 12%; }
body:has(.sidebar) .admin-customers-email-col { width: 12%; }
body:has(.sidebar) .admin-customers-address-col { width: 28%; }
body:has(.sidebar) .admin-customers-bookings-col { width: 8%; text-align: center; }
body:has(.sidebar) .admin-customers-last-booking-col { width: 11%; min-width: 124px; }
body:has(.sidebar) .admin-customers-actions-col { width: 7%; min-width: 92px; }
body:has(.sidebar) .admin-customers-table .customers-date-compact {
    display: none;
}

@media (max-width: 1300px) {
    body:has(.sidebar) .table-container table.admin-customers-table {
        display: block;
        width: 100%;
        min-width: 0 !important;
        table-layout: auto;
        border-collapse: separate;
        border-spacing: 0;
    }
    body:has(.sidebar) .table-container:has(.admin-customers-table) {
        overflow-x: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    body:has(.sidebar) .admin-customers-table thead {
        display: none;
    }
    body:has(.sidebar) .admin-customers-table tbody {
        display: grid;
        gap: 10px;
        width: 100%;
    }
    body:has(.sidebar) .admin-customers-table tr,
    body:has(.sidebar) .admin-customers-table td {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
    }
    body:has(.sidebar) .admin-customers-table tr {
        padding: 12px;
        border: 1px solid var(--c-border);
        border-radius: 10px;
        background: var(--c-surface);
        box-shadow: var(--shadow-sm);
    }
    body:has(.sidebar) .admin-customers-table td {
        border: 0;
        padding: 0;
        overflow: visible;
        white-space: normal !important;
    }
    body:has(.sidebar) .admin-customers-table td:not(.admin-customers-customer-col):not(.admin-customers-email-col):not(.admin-customers-actions-col) {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        margin-top: 8px;
    }
    body:has(.sidebar) .admin-customers-table td::before {
        content: attr(data-label);
        color: var(--c-text-muted);
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1.4;
        text-transform: uppercase;
        white-space: nowrap;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-customer-col::before,
    body:has(.sidebar) .admin-customers-table .admin-customers-email-col::before,
    body:has(.sidebar) .admin-customers-table .admin-customers-actions-col::before {
        content: none;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-customer-col {
        margin-bottom: 4px;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-customer-col strong {
        display: block;
        font-size: 0.98rem;
        line-height: 1.25;
        overflow-wrap: break-word;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-address-col span,
    body:has(.sidebar) .admin-customers-table .admin-customers-phone-col a,
    body:has(.sidebar) .admin-customers-table .admin-customers-last-booking-col span {
        min-width: 0;
        line-height: 1.35;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-address-col span {
        overflow-wrap: break-word;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-bookings-col {
        text-align: left;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-email-col,
    body:has(.sidebar) .admin-customers-table .admin-customers-actions-col {
        display: none !important;
    }
    body:has(.sidebar) .admin-customers-table .customers-date-full {
        display: inline;
    }
    body:has(.sidebar) .admin-customers-table .customers-date-compact {
        display: none;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-empty {
        display: block;
        background: transparent;
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    body:has(.sidebar) .table-container:has(.admin-customers-table) {
        overflow-x: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    body:has(.sidebar) .table-container table.admin-customers-table,
    body:has(.sidebar) .admin-customers-table tbody,
    body:has(.sidebar) .admin-customers-table tr,
    body:has(.sidebar) .admin-customers-table td {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
    }
    body:has(.sidebar) .table-container table.admin-customers-table {
        min-width: 0 !important;
        table-layout: auto;
        border-collapse: separate;
        border-spacing: 0;
    }
    body:has(.sidebar) .admin-customers-table thead {
        display: none;
    }
    body:has(.sidebar) .admin-customers-table tbody {
        display: grid;
        gap: 10px;
    }
    body:has(.sidebar) .admin-customers-table tr {
        padding: 12px;
        border: 1px solid var(--c-border);
        border-radius: 10px;
        background: var(--c-surface);
        box-shadow: var(--shadow-sm);
    }
    body:has(.sidebar) .admin-customers-table td {
        border: 0;
        padding: 0;
        overflow: visible;
        white-space: normal !important;
    }
    body:has(.sidebar) .admin-customers-table td:not(.admin-customers-customer-col):not(.admin-customers-email-col):not(.admin-customers-actions-col) {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        margin-top: 8px;
    }
    body:has(.sidebar) .admin-customers-table td::before {
        content: attr(data-label);
        color: var(--c-text-muted);
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1.4;
        text-transform: uppercase;
        white-space: nowrap;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-customer-col::before,
    body:has(.sidebar) .admin-customers-table .admin-customers-email-col::before,
    body:has(.sidebar) .admin-customers-table .admin-customers-actions-col::before {
        content: none;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-customer-col {
        margin-bottom: 4px;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-customer-col strong {
        display: block;
        font-size: 0.98rem;
        line-height: 1.25;
        overflow-wrap: break-word;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-address-col span,
    body:has(.sidebar) .admin-customers-table .admin-customers-phone-col a,
    body:has(.sidebar) .admin-customers-table .admin-customers-last-booking-col span {
        min-width: 0;
        line-height: 1.35;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-address-col span {
        overflow-wrap: break-word;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-bookings-col {
        text-align: left;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-email-col,
    body:has(.sidebar) .admin-customers-table .admin-customers-actions-col {
        display: none !important;
    }
    body:has(.sidebar) .admin-customers-table .admin-customers-empty {
        display: block;
        background: transparent;
        box-shadow: none;
    }
    body:has(.sidebar) .sidebar {
        width: min(84vw, 300px);
        box-shadow: 18px 0 48px rgba(0,0,0,0.42);
    }
    body:has(.sidebar) .content-area {
        max-width: none;
        padding: 14px;
    }
    body:has(.sidebar) .section-header {
        text-align: left;
        margin-bottom: 18px;
    }
    body:has(.sidebar) .section-header h2 {
        line-height: 1.2;
        overflow-wrap: anywhere;
    }
    body:has(.sidebar) .section-header p {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }
    body:has(.sidebar) .top-bar {
        gap: 8px;
        justify-content: flex-start;
    }
    body:has(.sidebar) .top-bar .menu-toggle,
    body:has(.sidebar) .top-bar .theme-toggle,
    body:has(.sidebar) .top-bar .ai-search-btn {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
    }
    body:has(.sidebar) .top-bar .page-title {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    body:has(.sidebar) .top-bar .ai-search-btn {
        margin-left: 0 !important;
        font-size: 0 !important;
        gap: 0 !important;
    }
    body:has(.sidebar) .top-bar .ai-search-btn i {
        font-size: 1rem !important;
    }
    body:has(.sidebar) .top-bar .ai-search-btn kbd {
        display: none !important;
    }
    body:has(.sidebar) .d-flex.justify-between,
    body:has(.sidebar) .d-flex.justify-between.align-center {
        align-items: flex-start;
    }
    body:has(.sidebar) .d-flex.justify-between > .d-flex,
    body:has(.sidebar) .d-flex.justify-between > form,
    body:has(.sidebar) .d-flex.justify-between > a.btn {
        max-width: 100%;
    }
    body:has(.sidebar) .card-header {
        gap: 10px;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    body:has(.sidebar) .view-toggle {
        width: 100%;
        margin-right: 0 !important;
    }
    body:has(.sidebar) .view-toggle a {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
    body:has(.sidebar) div[style*="grid-template-columns: repeat(2"],
    body:has(.sidebar) div[style*="grid-template-columns:repeat(2"],
    body:has(.sidebar) div[style*="grid-template-columns: repeat(3"],
    body:has(.sidebar) div[style*="grid-template-columns:repeat(3"],
    body:has(.sidebar) div[style*="grid-template-columns: repeat(4"],
    body:has(.sidebar) div[style*="grid-template-columns:repeat(4"] {
        grid-template-columns: 1fr !important;
    }
    body:has(.sidebar) input,
    body:has(.sidebar) select,
    body:has(.sidebar) textarea,
    body:has(.sidebar) .form-control {
        min-width: 0;
        max-width: 100%;
    }
    body:has(.sidebar) .admin-form-group input,
    body:has(.sidebar) .admin-form-group textarea,
    body:has(.sidebar) .admin-form-group select {
        width: 100%;
    }
    body:has(.sidebar) .activity-item {
        gap: 10px;
    }
    body:has(.sidebar) .activity-meta {
        gap: 6px;
    }
}

@media (max-width: 560px) {
    body:has(.sidebar) .content-area {
        padding: 10px;
    }
    body:has(.sidebar) .card,
    body:has(.sidebar) .stat-card,
    body:has(.sidebar) .table-container {
        border-radius: 10px;
    }
    body:has(.sidebar) .card:hover,
    body:has(.sidebar) .stat-card:hover,
    body:has(.sidebar) .admin-photo-card:hover {
        transform: none;
    }
    body:has(.sidebar) .btn {
        min-height: 38px;
        padding-left: 12px;
        padding-right: 12px;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }
    body:has(.sidebar) .btn-sm {
        min-height: 34px;
        padding: 6px 10px;
    }
    body:has(.sidebar) .d-flex.gap-1[style*="flex-wrap"] > .btn,
    body:has(.sidebar) .d-flex.gap-1[style*="flex-wrap"] > form,
    body:has(.sidebar) .d-flex.gap-1[style*="flex-wrap"] > form > .btn,
    body:has(.sidebar) form.d-flex.gap-1[style*="flex"] > .btn,
    body:has(.sidebar) form.d-flex.gap-1[style*="flex"] > a.btn {
        width: 100%;
    }
    body:has(.sidebar) form.d-flex.gap-1[style*="flex"] {
        width: 100%;
        min-width: 0 !important;
        flex-direction: column;
        align-items: stretch !important;
    }
    body:has(.sidebar) form.d-flex.gap-1[style*="flex"] input[type="text"] {
        min-width: 0 !important;
        width: 100%;
    }
    body:has(.sidebar) #bulkBar {
        flex-wrap: wrap;
        align-items: stretch !important;
    }
    body:has(.sidebar) #bulkBar form,
    body:has(.sidebar) #bulkBar .btn {
        width: 100%;
    }
    body:has(.sidebar) .table-container table {
        width: max-content;
        min-width: 720px;
    }
    body:has(.sidebar) .table-container table.admin-customers-table,
    body:has(.sidebar) .table-container table.admin-leads-table {
        width: 100%;
        min-width: 0 !important;
    }
    body:has(.sidebar) th,
    body:has(.sidebar) td {
        padding: 8px 9px;
    }
    body:has(.sidebar) .badge {
        max-width: 100%;
        white-space: normal;
    }
    body:has(.sidebar) .ai-search-modal {
        width: calc(100% - 20px);
        margin-top: 10px;
        border-radius: 12px;
    }
    body:has(.sidebar) .ai-search-bar {
        padding: 12px;
    }
}

/* ============================================
   Admin Customers Directory
   ============================================ */
body:has(.sidebar) .customers-page {
    display: grid;
    gap: 18px;
}

body:has(.sidebar) .customers-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 4px;
}

body:has(.sidebar) .customers-eyebrow {
    color: var(--c-primary-light);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
    text-transform: uppercase;
}

body:has(.sidebar) .customers-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-text);
    font-size: 1.9rem;
    line-height: 1.2;
    margin: 0;
}

body:has(.sidebar) .customers-header p {
    color: var(--c-text-secondary);
    margin: 6px 0 0;
}

body:has(.sidebar) .customers-header-action {
    flex: 0 0 auto;
    white-space: nowrap;
}

body:has(.sidebar) .customers-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body:has(.sidebar) .customers-stat {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
        "icon value"
        "icon label";
    align-items: center;
    column-gap: 12px;
    padding: 14px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: var(--c-surface);
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

body:has(.sidebar) .customers-stat-icon {
    grid-area: icon;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 1.05rem;
}

body:has(.sidebar) .customers-stat-icon-blue { background: rgba(59,130,246,0.14); color: #60a5fa; }
body:has(.sidebar) .customers-stat-icon-green { background: rgba(16,185,129,0.14); color: #34d399; }
body:has(.sidebar) .customers-stat-icon-amber { background: rgba(245,158,11,0.16); color: #fbbf24; }
body:has(.sidebar) .customers-stat-icon-cyan { background: rgba(6,182,212,0.14); color: #22d3ee; }

body:has(.sidebar) .customers-stat-value {
    grid-area: value;
    color: var(--c-text);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
    min-width: 0;
}

body:has(.sidebar) .customers-stat-label {
    grid-area: label;
    color: var(--c-text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    min-width: 0;
}

body:has(.sidebar) .customers-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: var(--c-surface);
    box-shadow: var(--shadow-sm);
}

body:has(.sidebar) .customers-search {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0 12px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: var(--c-bg-alt);
}

body:has(.sidebar) .customers-search i {
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

body:has(.sidebar) .customers-search input {
    width: 100%;
    min-width: 0;
    height: 42px;
    color: var(--c-text);
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
}

body:has(.sidebar) .customers-search input::placeholder {
    color: var(--c-text-muted);
}

body:has(.sidebar) .customers-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    color: var(--c-text-secondary);
    background: transparent;
    cursor: pointer;
}

body:has(.sidebar) .customers-clear:hover {
    color: var(--c-text);
    border-color: var(--c-border-hover);
    background: var(--c-surface-hover);
}

body:has(.sidebar) .customers-result-count {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    min-width: 82px;
    color: var(--c-text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

body:has(.sidebar) .customers-result-count span:first-child {
    color: var(--c-text);
}

body:has(.sidebar) .customers-list {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: var(--c-surface);
    box-shadow: var(--shadow-sm);
}

body:has(.sidebar) .customers-list-heading {
    display: grid;
    grid-template-columns: 44px minmax(0, 1.05fr) minmax(0, 0.9fr) minmax(0, 1.2fr) 110px 75px;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 36px;
    padding: 0 14px;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    background: var(--c-bg-alt);
}

body:has(.sidebar) .customer-row-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1.05fr) minmax(0, 0.9fr) minmax(0, 1.2fr) 110px 75px;
    align-items: start;
    gap: 12px;
    min-height: 64px;
    min-width: 0;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid var(--c-border);
    border-radius: 0;
    color: var(--c-text);
    background: transparent;
    box-shadow: none;
    text-decoration: none;
}

body:has(.sidebar) .customer-row-card:last-child {
    border-bottom: 0;
}

body:has(.sidebar) .customer-row-card:hover {
    color: var(--c-text);
    background: var(--c-surface-hover);
}

body:has(.sidebar) .customer-row-card[hidden] {
    display: none !important;
}

body:has(.sidebar) .customer-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--c-primary-light);
    background: rgba(59,130,246,0.13);
    font-size: 1.1rem;
}

body:has(.sidebar) .customer-main,
body:has(.sidebar) .customer-contact-block,
body:has(.sidebar) .customer-address-block,
body:has(.sidebar) .customer-meta-block,
body:has(.sidebar) .customer-last-date {
    display: grid;
    align-self: start;
    min-width: 0;
}

body:has(.sidebar) .customer-main {
    row-gap: 2px;
}

body:has(.sidebar) .customer-contact-block,
body:has(.sidebar) .customer-address-block,
body:has(.sidebar) .customer-meta-block,
body:has(.sidebar) .customer-actions {
    padding-top: 3px;
}

body:has(.sidebar) .customer-name {
    color: var(--c-text);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
    min-width: 0;
    overflow-wrap: break-word;
}

body:has(.sidebar) .customer-name-link {
    display: inline-block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

body:has(.sidebar) .customer-name-link:hover .customer-name {
    color: var(--c-primary-light);
}

body:has(.sidebar) .customer-subline,
body:has(.sidebar) .customer-contact-value,
body:has(.sidebar) .customer-address-value,
body:has(.sidebar) .customer-last-date > span:last-child {
    min-width: 0;
    color: var(--c-text-secondary);
    font-size: 0.84rem;
    line-height: 1.35;
    overflow-wrap: break-word;
}

body:has(.sidebar) .customer-contact-value,
body:has(.sidebar) .customer-address-value {
    overflow-wrap: anywhere;
}

body:has(.sidebar) .customer-field-label {
    display: none;
    color: var(--c-text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

body:has(.sidebar) .customer-meta-block {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    align-self: start;
    gap: 10px;
}

body:has(.sidebar) .customer-jobs-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 46px;
    height: 32px;
    padding: 0 9px;
    border-radius: 8px;
    color: #34d399;
    background: rgba(16,185,129,0.13);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

body:has(.sidebar) .customer-actions {
    display: inline-flex;
    align-items: flex-start;
    align-self: start;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
}

body:has(.sidebar) .customer-action-btn,
body:has(.sidebar) .customer-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    color: var(--c-text-secondary);
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}

body:has(.sidebar) .customer-view {
    color: #fff;
    border-color: var(--c-primary);
    background: var(--c-primary);
}

body:has(.sidebar) .customer-action-link:hover {
    color: var(--c-text);
    border-color: var(--c-border-hover);
    background: var(--c-bg-alt);
}

body:has(.sidebar) .customers-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 120px;
    padding: 24px;
    border: 1px dashed var(--c-border);
    border-radius: 8px;
    color: var(--c-text-secondary);
    background: var(--c-surface);
}

body:has(.sidebar) .customers-empty-state[hidden] {
    display: none !important;
}

@media (max-width: 1180px) {
    body:has(.sidebar) .customers-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body:has(.sidebar) .customers-list-heading {
        display: none;
    }
    body:has(.sidebar) .customers-list {
        gap: 8px;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    body:has(.sidebar) .customer-field-label {
        display: block;
    }
    body:has(.sidebar) .customer-row-card {
        grid-template-columns: 44px minmax(180px, 1fr) minmax(180px, 1fr) minmax(148px, auto) auto;
        align-items: start;
        min-height: 0;
        padding: 14px;
        border: 1px solid var(--c-border);
        border-radius: 8px;
        background: var(--c-surface);
        box-shadow: var(--shadow-sm);
    }
    body:has(.sidebar) .customer-row-card:last-child {
        border-bottom: 1px solid var(--c-border);
    }
    body:has(.sidebar) .customer-contact-block,
    body:has(.sidebar) .customer-address-block,
    body:has(.sidebar) .customer-last-date {
        align-self: start;
        row-gap: 2px;
    }
    body:has(.sidebar) .customer-meta-block,
    body:has(.sidebar) .customer-actions {
        align-self: start;
        align-items: start;
    }
    body:has(.sidebar) .customer-contact-block,
    body:has(.sidebar) .customer-address-block,
    body:has(.sidebar) .customer-meta-block,
    body:has(.sidebar) .customer-actions {
        padding-top: 0;
    }
    body:has(.sidebar) .customer-address-block {
        grid-column: 2 / 5;
    }
}

@media (max-width: 820px) {
    body:has(.sidebar) .customers-header {
        align-items: stretch;
        flex-direction: column;
    }
    body:has(.sidebar) .customers-header-action {
        justify-content: center;
        width: 100%;
        white-space: normal;
    }
    body:has(.sidebar) .customers-toolbar {
        grid-template-columns: minmax(0, 1fr) 38px;
    }
    body:has(.sidebar) .customers-result-count {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
    body:has(.sidebar) .customer-row-card {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        align-items: start;
        gap: 10px;
        padding: 12px;
    }
    body:has(.sidebar) .customer-avatar {
        width: 42px;
        height: 42px;
    }
    body:has(.sidebar) .customer-main {
        grid-column: 2;
    }
    body:has(.sidebar) .customer-actions {
        grid-column: 3;
        grid-row: 1;
    }
    body:has(.sidebar) .customer-contact-block,
    body:has(.sidebar) .customer-address-block,
    body:has(.sidebar) .customer-meta-block {
        grid-column: 1 / -1;
    }
    body:has(.sidebar) .customer-meta-block {
        grid-template-columns: auto minmax(0, 1fr);
        padding-top: 2px;
    }
}

@media (max-width: 560px) {
    body:has(.sidebar) .customers-page {
        gap: 12px;
    }
    body:has(.sidebar) .customers-header h2 {
        font-size: 1.45rem;
    }
    body:has(.sidebar) .customers-stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    body:has(.sidebar) .customers-stat {
        padding: 12px;
    }
    body:has(.sidebar) .customers-toolbar {
        padding: 8px;
    }
    body:has(.sidebar) .customers-search {
        padding: 0 10px;
    }
    body:has(.sidebar) .customer-row-card {
        grid-template-columns: 40px minmax(0, 1fr);
    }
    body:has(.sidebar) .customer-avatar {
        width: 40px;
        height: 40px;
    }
    body:has(.sidebar) .customer-actions {
        grid-column: 1 / -1;
        grid-row: auto;
        justify-content: flex-start;
    }
    body:has(.sidebar) .customer-main {
        grid-column: 2;
    }
    body:has(.sidebar) .customer-action-btn,
    body:has(.sidebar) .customer-action-link {
        width: 38px;
        height: 36px;
    }
}

/* ============================================
   Home — service-provider redesign
   ============================================ */
html.tt-home .tt-hero--pro { padding-top: 56px; padding-bottom: 56px; }
.tt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 22px 0 18px;
}
.tt-btn-lg { padding: 14px 26px; font-size: 16px; }
.tt-btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #0F2A44;
  border: 2px solid #0F2A44;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.tt-btn-outline-dark:hover {
  background: #0F2A44;
  color: #fff;
}

/* 4 specialty cards */
.tt-spec-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.tt-spec {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 18px;
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.tt-spec::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD400 0%, #FFC72C 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.tt-spec:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,42,68,.10);
  border-color: #d9dde2;
}
.tt-spec:hover::before { transform: scaleX(1); }
.tt-spec-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0,159,217,0.10);
  color: #009FD9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}
.tt-spec h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: #0F2A44;
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.tt-spec > p {
  color: #5b6670;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.tt-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tt-spec-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1B1F23;
  font-size: 13.5px;
  font-weight: 500;
}
.tt-spec-list i {
  color: #009FD9;
  font-size: 14px;
}
.tt-spec-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0F2A44;
  font-weight: 700;
  font-size: 14.5px;
}
.tt-spec:hover .tt-spec-cta { color: #009FD9; }
.tt-spec-note {
  text-align: center;
  margin: 28px 0 0;
  color: #5b6670;
  font-size: 15px;
}
.tt-spec-note a {
  color: #009FD9;
  font-weight: 700;
  text-decoration: none;
}
.tt-spec-note a:hover { text-decoration: underline; }

/* Why hire me */
.tt-why-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.tt-why {
  text-align: center;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 16px;
}
.tt-why i {
  font-size: 32px;
  color: #009FD9;
  margin-bottom: 12px;
  display: inline-block;
}
.tt-why h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: #0F2A44;
  font-size: 16px;
  margin: 0 0 6px;
}
.tt-why p {
  margin: 0;
  font-size: 14px;
  color: #5b6670;
  line-height: 1.5;
}
@media (max-width: 1100px) {
    body:has(.sidebar) .table-container table.admin-leads-table {
        display: block;
        width: 100%;
        min-width: 0 !important;
        table-layout: auto;
        border-collapse: separate;
        border-spacing: 0;
    }
    body:has(.sidebar) .table-container:has(.admin-leads-table) {
        overflow-x: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    body:has(.sidebar) .admin-leads-table thead {
        display: none;
    }
    body:has(.sidebar) .admin-leads-table tbody {
        display: grid;
        gap: 10px;
        width: 100%;
    }
    body:has(.sidebar) .admin-leads-table tr,
    body:has(.sidebar) .admin-leads-table td {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
    }
    body:has(.sidebar) .admin-leads-table tr {
        position: relative;
        padding: 12px;
        border: 1px solid var(--c-border, #e2e8f0);
        border-radius: 10px;
        background: var(--c-surface, #ffffff);
        box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05));
    }
    body:has(.sidebar) .admin-leads-table td {
        border: 0;
        padding: 0;
        overflow: visible;
        white-space: normal !important;
    }
    /* Hide the select checkbox column on mobile unless we have a bulk edit mode, but let's keep it visible in top right or just hide for now */
    body:has(.sidebar) .admin-leads-table .admin-leads-select-col {
        position: absolute;
        top: 12px;
        right: 12px;
        width: auto !important;
        z-index: 10;
        display: block;
    }
    /* Show mobile rows */
    body:has(.sidebar) .admin-leads-table .hide-mobile,
    body:has(.sidebar) .admin-leads-table th.hide-mobile, 
    body:has(.sidebar) .admin-leads-table td.hide-mobile {
        display: grid !important;
    }
    body:has(.sidebar) .admin-leads-table td:not(.admin-leads-customer-col):not(.admin-leads-actions-col):not(.admin-leads-select-col):not(.admin-leads-id-col) {
        display: grid !important;
        grid-template-columns: 90px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        margin-top: 8px;
    }
    body:has(.sidebar) .admin-leads-table td::before {
        content: attr(data-label);
        color: var(--c-text-muted, #64748b);
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1.4;
        text-transform: uppercase;
        white-space: nowrap;
    }
    body:has(.sidebar) .admin-leads-table .admin-leads-customer-col::before,
    body:has(.sidebar) .admin-leads-table .admin-leads-actions-col::before,
    body:has(.sidebar) .admin-leads-table .admin-leads-select-col::before,
    body:has(.sidebar) .admin-leads-table .admin-leads-id-col::before {
        content: none;
    }
    body:has(.sidebar) .admin-leads-table .admin-leads-id-col {
        display: inline-block !important;
        width: auto !important;
        font-size: 0.8rem;
        color: var(--c-text-muted, #64748b);
        margin-bottom: 4px;
        padding-right: 6px;
    }
    body:has(.sidebar) .admin-leads-table .admin-leads-customer-col {
        display: inline-block !important;
        width: auto !important;
        margin-bottom: 4px;
    }
    body:has(.sidebar) .admin-leads-table .admin-leads-customer-col strong {
        display: block;
        font-size: 1rem;
        line-height: 1.25;
        overflow-wrap: break-word;
    }
    body:has(.sidebar) .admin-leads-table .admin-leads-actions-col {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--c-border, #e2e8f0);
    }
    body:has(.sidebar) .admin-leads-table td.admin-leads-actions-col .d-flex {
        justify-content: flex-end;
    }
}
@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}
@media (max-width: 768px) {
    body::before, body::after {
        display: none !important;
    }
}

/* ===== Lead Detail — responsive layout & channel pills ===== */

/* Desktop: left info sidebar | sticky chat+composer panel */
.lead-detail-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.5rem;
    align-items: start;
    min-width: 0;
}
.lead-detail-left {
    position: sticky;
    top: 1rem;
    height: calc(100vh - 90px);
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
}
.lead-detail-chat-col {
    position: sticky;
    top: 1rem;
    height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.lead-detail-chat-card {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-x: hidden;
    padding: 0 !important;
    max-height: none !important;
}
.chat-panel-header {
    flex-shrink: 0;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--c-border);
}
#msgHistory {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 1.25rem;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
}
.chat-composer-panel {
    flex-shrink: 0;
    border-top: 1px solid var(--c-border);
    padding: 0.75rem 1.25rem;
    max-height: 55%;
    overflow-y: auto;
}

/* Channel pill selector */
.composer-channels-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--c-border);
    background: transparent;
    color: var(--c-text-muted);
    transition: all 0.15s;
    user-select: none;
    position: relative;
}
.channel-pill:hover:not(.channel-pill-disabled) {
    border-color: var(--c-text-muted);
    color: var(--c-text);
}
.channel-pill-active {
    border-color: #3b82f6;
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
}
.channel-pill-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.channel-pill-sub {
    font-size: 0.7rem;
    color: var(--c-text-muted);
    font-weight: 400;
    margin-left: 2px;
}

/* Mobile: single column, no sticky */
@media (max-width: 768px) {
    .lead-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 100%;
        overflow-x: hidden;
    }
    .lead-detail-left {
        position: static;
        height: auto;
        overflow: visible;
    }
    .lead-detail-chat-col {
        position: static;
        height: auto;
        order: -1;
    }
    .lead-detail-chat-card {
        height: 80vh;
        min-height: 400px;
        overflow: hidden;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    .chat-composer-panel {
        max-height: 60vh;
        overflow-y: auto;
    }
    #msgHistory {
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    .channel-pill {
        padding: 8px 16px;
        font-size: 0.88rem;
    }
    #composerSendBtn {
        width: 100% !important;
        padding: 10px 24px !important;
        font-size: 1rem !important;
    }
}

/* ============================================================
   SERVICE CATEGORY — no-photo redesign sections
   ============================================================ */

/* ----- Type cards grid (What I build / Equipment types) ----- */
.tt-type-grid {
    max-width: 1180px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.tt-type-grid--6 {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) { .tt-type-grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) { .tt-type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) {
    .tt-type-grid,
    .tt-type-grid--6 { grid-template-columns: 1fr; }
}
.tt-type-card {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 16px;
    padding: 22px 20px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tt-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15,42,68,.08);
    border-color: #cce4f5;
}
.tt-type-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, #e8f5fd, #d5edf9);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #009FD9;
    margin-bottom: 14px;
}
.tt-type-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #0F2A44; }
.tt-type-card p  { margin: 0 0 12px; font-size: 14px; color: #5b6670; line-height: 1.5; }
.tt-type-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tt-type-tag {
    display: inline-block;
    background: #f4f5f7; color: #5b6670;
    padding: 3px 9px; border-radius: 999px;
    font-size: 12px; font-weight: 500;
}

/* ----- How it works — 4-step timeline ----- */
.tt-how-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
@media (max-width: 820px) { .tt-how-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tt-how-grid { grid-template-columns: 1fr; } }
.tt-how-step {
    padding: 24px 20px;
    text-align: center;
}
.tt-how-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: #0F2A44; color: #fff;
    font-weight: 800; font-size: 17px;
    margin: 0 auto 12px;
}
.tt-how-step h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #0F2A44; }
.tt-how-step p  { margin: 0; font-size: 13.5px; color: #5b6670; line-height: 1.5; }

/* ----- Checklist 2-column ----- */
.tt-checklist {
    max-width: 760px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
    padding: 0; list-style: none;
}
@media (max-width: 580px) { .tt-checklist { grid-template-columns: 1fr; } }
.tt-checklist-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 15px; color: #0F2A44; font-weight: 500;
    line-height: 1.4;
}
.tt-checklist-item i {
    flex: 0 0 18px; margin-top: 2px;
    color: #009FD9; font-size: 15px;
}

/* ----- Brand pills row ----- */
.tt-brand-row {
    max-width: 860px; margin: 0 auto;
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.tt-brand-pill {
    background: #fff; border: 1.5px solid #e0e4e8;
    border-radius: 999px; padding: 9px 18px;
    font-size: 14px; font-weight: 700; color: #0F2A44;
    display: inline-flex; align-items: center; gap: 7px;
}
.tt-brand-pill i { color: #009FD9; font-size: 13px; }

/* ----- Project spotlight card ----- */
.tt-spotlight {
    max-width: 720px; margin: 0 auto;
    background: linear-gradient(135deg, #f5fafd, #eef6fb);
    border: 1.5px solid #cce4f5;
    border-radius: 20px; padding: 28px 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 24px;
    align-items: start;
}
@media (max-width: 560px) {
    .tt-spotlight { grid-template-columns: 1fr; padding: 22px; }
    .tt-spotlight-badge { display: none; }
}
.tt-spotlight-badge {
    width: 64px; height: 64px; border-radius: 18px;
    background: #0F2A44; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
}
.tt-spotlight-label {
    font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: #009FD9; margin-bottom: 6px;
}
.tt-spotlight h3 { margin: 0 0 12px; font-size: 20px; font-weight: 800; color: #0F2A44; }
.tt-spotlight-facts {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.tt-spotlight-fact {
    background: #fff; border: 1px solid #cde8f8;
    border-radius: 999px; padding: 5px 12px;
    font-size: 13px; font-weight: 600; color: #0F2A44;
    display: inline-flex; align-items: center; gap: 5px;
}
.tt-spotlight-fact i { color: #009FD9; }
.tt-spotlight p {
    margin: 0 0 16px; font-size: 14.5px; color: #5b6670; line-height: 1.6;
}

/* ----- Safety grid (play equipment) ----- */
.tt-safety-grid {
    max-width: 980px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 740px) { .tt-safety-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .tt-safety-grid { grid-template-columns: 1fr; } }
.tt-safety-item {
    background: #fff; border: 1px solid #eef0f2;
    border-radius: 14px; padding: 18px 16px;
    display: flex; align-items: flex-start; gap: 12px;
}
.tt-safety-icon {
    flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, #e8f5fd, #d5edf9);
    display: flex; align-items: center; justify-content: center;
    color: #009FD9; font-size: 16px;
}
.tt-safety-item h4 { margin: 0 0 3px; font-size: 14px; font-weight: 700; color: #0F2A44; }
.tt-safety-item p  { margin: 0; font-size: 13px; color: #5b6670; line-height: 1.45; }
