/* ========================================
   KB Construction Ltd. - shadcn/ui Style System
   Dark Theme - Black & Yellow Brand
   ======================================== */

/* ========================================
   CSS Custom Properties (shadcn tokens)
   Dark theme as default
   ======================================== */
:root {
    /* Background & Foreground - Dark */
    --background: 0 0% 4%;
    --foreground: 0 0% 98%;

    /* Card */
    --card: 0 0% 7%;
    --card-foreground: 0 0% 98%;

    /* Popover */
    --popover: 0 0% 7%;
    --popover-foreground: 0 0% 98%;

    /* Primary - Yellow/Gold accent */
    --primary: 45 93% 55%;
    --primary-foreground: 0 0% 4%;

    /* Secondary */
    --secondary: 0 0% 12%;
    --secondary-foreground: 0 0% 98%;

    /* Muted */
    --muted: 0 0% 10%;
    --muted-foreground: 0 0% 60%;

    /* Accent */
    --accent: 0 0% 14%;
    --accent-foreground: 0 0% 98%;

    /* Destructive */
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;

    /* Border & Input */
    --border: 0 0% 16%;
    --input: 0 0% 16%;
    --ring: 45 93% 55%;

    /* Radius */
    --radius: 0.5rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;

    /* Shadows - adjusted for dark mode */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);

    /* Typography */
    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    /* Spacing */
    --header-height: 4rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    color-scheme: dark;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid hsl(var(--border));
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
    font-feature-settings: "rlig" 1, "calt" 1;
    height: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    min-height: 100%;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body > main {
    flex: 1;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ========================================
   Container
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: hsl(var(--foreground));
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
}

h3 {
    font-size: 1.5rem;
}

.text-muted {
    color: hsl(var(--muted-foreground));
}

.text-primary {
    color: hsl(var(--primary));
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

/* ========================================
   Buttons (shadcn style)
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.5rem;
    padding: 0 1rem;
    transition: all var(--transition-fast);
    outline: none;
    cursor: pointer;
}

.btn:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Primary Button */
.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    background-color: hsl(var(--primary) / 0.9);
}

/* Secondary Button */
.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover {
    background-color: hsl(var(--secondary) / 0.8);
}

/* Outline Button */
.btn-outline {
    border: 1px solid hsl(var(--border));
    background-color: transparent;
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

/* Ghost Button */
.btn-ghost {
    background-color: transparent;
    color: hsl(var(--foreground));
}

.btn-ghost:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

/* Button Sizes */
.btn-sm {
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg {
    height: 2.75rem;
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-icon {
    width: 2.5rem;
    padding: 0;
}

/* ========================================
   Badge (shadcn style)
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    transition: colors var(--transition-fast);
}

.badge-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.badge-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.badge-outline {
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

/* ========================================
   Card (shadcn style)
   ======================================== */
.card {
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    border-radius: var(--radius-lg);
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.025em;
}

.card-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.card-content {
    padding: 1.5rem;
    padding-top: 0;
}

.card-footer {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    padding-top: 0;
}

/* ========================================
   Header / Navigation
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background-color var(--transition-base), border-color var(--transition-base), backdrop-filter var(--transition-base);
}

.site-header.scrolled {
    border-bottom: 1px solid hsl(var(--border));
    background-color: hsl(var(--background) / 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header.mobile-open {
    background-color: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 70;
}

@media (min-width: 1024px) {
    .header-inner {
        padding: 0 2rem;
    }
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-logo img {
    height: 2rem;
    width: auto;
}

/* Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
    color: hsl(var(--foreground));
    background-color: hsl(var(--accent));
}

.nav-link svg {
    width: 1rem;
    height: 1rem;
    transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg,
.nav-link[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
    position: fixed;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1280px;
    padding: 2rem;
    background-color: hsl(var(--popover));
    border: 1px solid hsl(var(--border));
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-section {
    min-width: 0;
}

.mega-menu-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid hsl(var(--border));
    white-space: nowrap;
}

.mega-menu-grid {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
}

.mega-menu-item:hover {
    color: hsl(var(--primary));
}

.mega-menu-item:hover .mega-menu-icon {
    color: hsl(var(--primary));
}

.mega-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--muted-foreground));
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.mega-menu-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.mega-menu-content {
    display: flex;
    flex-direction: column;
}

.mega-menu-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    white-space: nowrap;
}

.mega-menu-desc {
    display: none;
}

/* Dropdown Menu (simple) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    padding: 0.25rem;
    background-color: hsl(var(--popover));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    margin-top: 0.5rem;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
    background-color: hsl(var(--accent));
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    color: hsl(var(--foreground));
}

.mobile-toggle:hover {
    background-color: hsl(var(--accent));
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: hsl(var(--background));
    padding: 1rem;
    padding-top: calc(var(--header-height) + 1rem);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    z-index: 40;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.mobile-nav-link:hover {
    background-color: hsl(var(--accent));
}

.mobile-nav-submenu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.25rem;
}

.mobile-nav-item.expanded .mobile-nav-submenu {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.mobile-nav-subheader {
    display: block;
    padding: 0.75rem 1rem 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--primary));
}

.mobile-nav-subheader:not(:first-child) {
    margin-top: 0.5rem;
}

.mobile-nav-sublink {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    border-radius: var(--radius-md);
}

.mobile-nav-sublink:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--foreground));
}

.mobile-nav-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.mobile-nav-cta .btn {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
    background-color: #000;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img,
.hero-bg .hero-fallback {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 aspect ratio */
    height: 56.25vw; /* 16:9 aspect ratio */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: grayscale(100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        hsl(var(--background)) 0%,
        hsl(var(--background) / 0.85) 30%,
        hsl(var(--background) / 0.4) 70%,
        hsl(var(--background) / 0.3) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1024px) {
    .hero-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
}

.hero-badge {
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ========================================
   Form Elements (shadcn style)
   ======================================== */
.input {
    display: flex;
    width: 100%;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--input));
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.input::placeholder {
    color: hsl(var(--muted-foreground));
}

.input:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.textarea {
    display: flex;
    width: 100%;
    min-height: 5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--input));
    border-radius: var(--radius-md);
    resize: vertical;
    transition: all var(--transition-fast);
}

.textarea:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
}

/* ========================================
   Services Section - Photo Cards
   ======================================== */
.services-section {
    background-color: hsl(var(--background));
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/building-outline.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all var(--transition-slow);
}

.service-card:hover .service-card-bg img {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        hsl(0 0% 0% / 0.9) 0%,
        hsl(0 0% 0% / 0.6) 50%,
        hsl(0 0% 0% / 0.4) 100%
    );
    z-index: 1;
    transition: all var(--transition-base);
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(
        to top,
        hsl(var(--primary) / 0.9) 0%,
        hsl(0 0% 0% / 0.7) 60%,
        hsl(0 0% 0% / 0.5) 100%
    );
}

.service-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.service-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    display: block;
}

.service-card-desc {
    font-size: 0.8125rem;
    color: hsl(0 0% 70%);
    line-height: 1.4;
    display: block;
    margin-top: 0.25rem;
}

/* ========================================
   Pain Points Section
   ======================================== */
.pain-points-section {
    background-color: hsl(var(--muted));
    position: relative;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .pain-points-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.pain-points-content h2 {
    margin-bottom: 1rem;
}

.pain-points-content > p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    line-height: 1.7;
}

.pain-point-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pain-point-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.pain-point-item:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.pain-point-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.pain-point-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: hsl(var(--primary));
}

.pain-point-text h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pain-point-text p {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
}

.trust-badge-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--primary));
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.trust-badge-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: hsl(var(--primary-foreground));
}

.trust-badge-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.trust-badge-text {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* ========================================
   Value Proposition Section
   ======================================== */
.value-section {
    background-color: hsl(var(--background));
    position: relative;
}

.value-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/building-outline.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    pointer-events: none;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .value-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.value-content h2 {
    margin-bottom: 1.5rem;
}

.value-text {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    line-height: 1.7;
}

.value-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.value-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.value-feature svg {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
    flex-shrink: 0;
}

.value-feature span {
    font-size: 0.9375rem;
    color: hsl(var(--foreground));
}

.value-image {
    position: relative;
}

.value-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.value-badge {
    position: absolute;
    bottom: -1rem;
    right: 1rem;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.value-badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.value-badge-text {
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ========================================
   Testimonial Section
   ======================================== */
.testimonial-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.testimonial-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.testimonial-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.testimonial-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: hsl(var(--background) / 0.85);
}

.testimonial-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: hsl(var(--primary));
}

.testimonial-quote {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: hsl(var(--foreground));
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background-color: hsl(var(--muted));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: hsl(var(--muted-foreground));
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
}

.testimonial-info p {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    background-color: hsl(var(--muted));
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.faq-header {
    position: static;
}

@media (min-width: 1024px) {
    .faq-header {
        position: sticky;
        top: calc(var(--header-height) + 2rem);
    }
}

.faq-header h2 {
    margin-bottom: 1rem;
}

.faq-header p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid hsl(var(--border));
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: left;
    color: hsl(var(--foreground));
    transition: color var(--transition-fast);
}

.faq-trigger:hover {
    color: hsl(var(--primary));
}

.faq-trigger svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: hsl(var(--muted-foreground));
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-content {
    max-height: 300px;
}

.faq-content p {
    padding-bottom: 1rem;
    font-size: 0.9375rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: hsl(var(--primary-foreground));
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.btn-cta {
    background-color: hsl(var(--primary-foreground));
    color: hsl(var(--primary));
}

.btn-cta:hover {
    background-color: hsl(var(--primary-foreground) / 0.9);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background-color: hsl(var(--card));
    border-top: 1px solid hsl(var(--border));
}

.footer-main {
    padding: 4rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 2rem;
    width: auto;
}

.footer-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background-color: hsl(var(--secondary));
    border-radius: var(--radius-md);
    color: hsl(var(--muted-foreground));
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.footer-social svg {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: hsl(var(--foreground));
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
    stroke: hsl(var(--primary));
}

.footer-contact-item a {
    color: hsl(var(--muted-foreground));
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: hsl(var(--foreground));
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid hsl(var(--border));
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: hsl(var(--foreground));
}

/* ========================================
   Service Page Hero
   ======================================== */
.service-hero {
    position: relative;
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    background-color: hsl(var(--muted));
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/building-outline.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.service-hero .badge {
    margin-bottom: 1rem;
}

.service-hero h1 {
    margin-bottom: 1rem;
}

.service-hero-description {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ========================================
   Service Content Section
   ======================================== */
.service-content {
    background-color: hsl(var(--background));
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .service-content-grid {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.service-main h2 {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.service-main h2:first-child {
    margin-top: 0;
}

.service-main p {
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-main ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.service-main li {
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    margin-bottom: 0.5rem;
    list-style: disc;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-sidebar-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.service-sidebar-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.service-sidebar-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-sidebar-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.service-sidebar-card li svg {
    width: 1rem;
    height: 1rem;
    color: hsl(var(--primary));
    flex-shrink: 0;
}

.service-cta-card {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.service-cta-card h3 {
    color: hsl(var(--primary-foreground));
}

.service-cta-card p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.service-cta-card .btn {
    width: 100%;
    background-color: hsl(var(--primary-foreground));
    color: hsl(var(--primary));
}

.service-cta-card .btn:hover {
    background-color: hsl(var(--primary-foreground) / 0.9);
}

/* ========================================
   Why KB Section (Service Pages)
   ======================================== */
.why-kb-section {
    background-color: hsl(var(--muted));
}

.why-kb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .why-kb-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
}

.why-kb-content .badge {
    margin-bottom: 1rem;
}

.why-kb-content h2 {
    margin-bottom: 1rem;
}

.why-kb-intro {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-bottom: 2rem;
}

.why-kb-points {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.why-kb-point {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
}

.why-kb-point-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.why-kb-point-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: hsl(var(--primary));
}

.why-kb-point-text h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.why-kb-point-text p {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

.why-kb-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* ========================================
   Get Started Section
   ======================================== */
.get-started-section {
    background-color: hsl(var(--background));
}

.get-started-section .section-header {
    margin-bottom: 3rem;
}

.get-started-section .section-header .badge {
    margin-bottom: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    position: relative;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: var(--radius-md);
}

.step-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: hsl(var(--primary));
}

.step-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

.get-started-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* ========================================
   Related Services Section
   ======================================== */
.related-services-section {
    background-color: hsl(var(--muted));
    overflow: hidden;
}

.related-services-grid {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.related-services-grid::-webkit-scrollbar {
    height: 4px;
}

.related-services-grid::-webkit-scrollbar-track {
    background: hsl(var(--border));
    border-radius: 2px;
}

.related-services-grid::-webkit-scrollbar-thumb {
    background: hsl(var(--muted-foreground) / 0.3);
    border-radius: 2px;
}

.related-services-grid::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--muted-foreground) / 0.5);
}

.related-services-grid > * {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
}

@media (min-width: 1024px) {
    .related-services-grid {
        overflow-x: visible;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .related-services-grid > * {
        flex: 1;
        max-width: none;
    }
}

.related-service-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.related-service-card:hover {
    border-color: hsl(var(--primary) / 0.5);
    transform: translateY(-2px);
}

.related-service-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.related-service-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: hsl(var(--primary));
}

.related-service-content {
    flex: 1;
    min-width: 0;
}

.related-service-content h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.related-service-content p {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-service-arrow {
    width: 1.25rem;
    height: 1.25rem;
    stroke: hsl(var(--muted-foreground));
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.related-service-card:hover .related-service-arrow {
    transform: translateX(4px);
    stroke: hsl(var(--primary));
}

.related-services-cta {
    text-align: center;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-hero {
    padding: calc(var(--header-height) + 3rem) 0 3rem;
    background-color: hsl(var(--muted));
}

.contact-hero-content {
    max-width: 600px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.contact-hero p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
}

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 380px 1fr;
        gap: 4rem;
    }
}

/* Contact Info */
.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-info-text {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: hsl(var(--primary));
}

.contact-detail-content h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-detail-content a,
.contact-detail-content p {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
}

.contact-detail-content a:hover {
    color: hsl(var(--primary));
}

.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
}

.contact-social h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-social-links {
    display: flex;
    gap: 0.75rem;
}

.contact-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: hsl(var(--muted));
    border-radius: var(--radius-md);
    color: hsl(var(--muted-foreground));
    transition: all var(--transition-fast);
}

.contact-social-links a:hover {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.contact-social-links svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Multi-Step Form */
.contact-form-wrapper {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    padding: 2rem;
}

@media (min-width: 640px) {
    .contact-form-wrapper {
        padding: 2.5rem;
    }
}

.multi-step-form {
    position: relative;
}

/* Progress Indicator */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
}

.progress-dots {
    display: flex;
    gap: 0.5rem;
}

.progress-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: hsl(var(--border));
    transition: background-color var(--transition-fast);
}

.progress-dot.active {
    background-color: hsl(var(--primary));
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step-header {
    margin-bottom: 1.5rem;
}

.form-step-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-step-header p {
    color: hsl(var(--muted-foreground));
    font-size: 0.9rem;
}

/* Honeypot Field - Hidden from users */
.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Consent Checkbox */
.form-consent {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    margin-top: 0.125rem;
}

.checkbox-label input:checked + .checkbox-custom {
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background-color: hsl(var(--primary-foreground));
    border-radius: 2px;
}

.checkbox-text {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

.checkbox-label.compact {
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

.checkbox-label.compact:hover {
    background-color: hsl(var(--accent));
}

/* Path Selection Buttons */
.path-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.path-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem;
    background-color: hsl(var(--background));
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.path-btn:hover:not(:disabled) {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.05);
}

.path-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.path-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.path-btn-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: hsl(var(--primary));
}

.path-btn-content {
    flex: 1;
}

.path-btn-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.path-btn-desc {
    display: block;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.path-btn-arrow {
    width: 1.5rem;
    height: 1.5rem;
    stroke: hsl(var(--muted-foreground));
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.path-btn:hover:not(:disabled) .path-btn-arrow {
    transform: translateX(4px);
    stroke: hsl(var(--primary));
}

/* Checkbox Cards */
.form-checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .form-checkbox-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

.checkbox-card {
    cursor: pointer;
}

.checkbox-card input {
    position: absolute;
    opacity: 0;
}

.checkbox-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: hsl(var(--background));
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.checkbox-card input:checked + .checkbox-card-content {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.05);
}

.checkbox-card-content svg {
    width: 2rem;
    height: 2rem;
    stroke: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.checkbox-card input:checked + .checkbox-card-content svg {
    stroke: hsl(var(--primary));
}

.checkbox-card-content span {
    font-size: 0.875rem;
    font-weight: 500;
}

.checkbox-card-content small {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.25rem;
}

/* Service Categories */
.service-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .service-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-category h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Form Fields */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group label .required {
    color: hsl(var(--destructive));
}

.form-group label .optional {
    color: hsl(var(--muted-foreground));
    font-weight: 400;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-md);
    color: hsl(var(--foreground));
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: hsl(var(--muted-foreground));
}

.form-group select {
    cursor: pointer;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.radio-label:hover {
    background-color: hsl(var(--accent));
}

.radio-label input {
    position: absolute;
    opacity: 0;
}

.radio-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid hsl(var(--border));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.radio-label input:checked + .radio-custom {
    border-color: hsl(var(--primary));
}

.radio-label input:checked + .radio-custom::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background-color: hsl(var(--primary));
    border-radius: 50%;
}

/* Radio Cards */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .radio-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.radio-card {
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: hsl(var(--background));
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.radio-card input:checked + .radio-card-content {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.05);
}

.radio-card-content strong {
    font-size: 0.875rem;
    font-weight: 600;
}

.radio-card-content small {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.25rem;
}

/* Form Error Messages */
.form-error {
    font-size: 0.8rem;
    color: hsl(var(--destructive));
    margin-top: 0.25rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back svg {
    width: 1rem;
    height: 1rem;
}

.btn-submit {
    min-width: 180px;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    animation: spin 1s linear infinite;
}

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

/* Success Screen */
.form-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: hsl(142 76% 36% / 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.success-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: hsl(142 76% 36%);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-success > p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.success-details {
    background-color: hsl(var(--muted));
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.success-details p {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.success-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
}

.success-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(var(--primary));
    font-weight: 600;
}

/* Trust Elements */
.form-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: hsl(var(--muted-foreground));
}

.trust-item svg {
    width: 1rem;
    height: 1rem;
    stroke: hsl(var(--muted-foreground));
}

/* ========================================
   Utilities
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Callback Modal
   ======================================== */
.callback-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: hsl(0 0% 0% / 0.8);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.callback-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-base);
}

.callback-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 1;
}

.modal-close:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--foreground));
}

.modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.modal-header p {
    color: hsl(var(--muted-foreground));
    font-size: 0.9rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body .form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-body .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.modal-body .form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.modal-body .form-group label .required {
    color: hsl(var(--destructive));
}

.modal-body .form-group input,
.modal-body .form-group select,
.modal-body .form-group textarea {
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-md);
    color: hsl(var(--foreground));
    transition: border-color var(--transition-fast);
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus,
.modal-body .form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

.modal-body .form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.modal-body .form-consent {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.modal-body .form-consent .checkbox-text {
    font-size: 0.8125rem;
}

.modal-body .form-error {
    font-size: 0.75rem;
    color: hsl(var(--destructive));
    margin-top: 0.25rem;
}

.modal-footer {
    padding: 0 1.5rem 1.5rem;
}

.modal-footer .btn-submit {
    width: 100%;
}

/* ========================================
   Legal Pages (Privacy Policy, Terms & Conditions)
   ======================================== */
.legal-content {
    max-width: 1280px;
    margin: 0 auto;
}

.legal-content .legal-updated {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    margin-bottom: 0.5rem;
    list-style: disc;
}

.legal-content li strong {
    color: hsl(var(--foreground));
}

.legal-content .legal-contact {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.legal-content .legal-contact p {
    margin-bottom: 0.5rem;
}

.legal-content .legal-contact p:last-child {
    margin-bottom: 0;
}

.legal-content .legal-contact a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.legal-content .legal-contact a:hover {
    opacity: 0.8;
}
