/* ========================================================= */
/*  1337Ops - Business Website                               */
/*  Design System inspired by Uppit AI                       */
/* ========================================================= */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Color Palette - Gentle Red & Yellow Style on Plain White */
    --color-primary: #DC2626;        /* Gentle/warm red primary */
    --color-primary-hover: #B91C1C;  /* Darker red hover */
    --color-primary-light: #FEF2F2;  /* Light red tint */
    --color-primary-glow: rgba(220, 38, 38, 0.15);

    /* Secondary / Accent - Gentle Yellow / Amber */
    --color-secondary: #D97706;      /* Warm amber/yellow */
    --color-secondary-light: #FEF3C7;/* Light yellow tint */

    /* Semantic Colors - Plain White Background with Gentle Red & Yellow accents */
    --background: #FFFFFF;
    --background-alt: #FFFBFB;
    --background-muted: #FEF2F2;
    --foreground: #1F2937;
    --foreground-muted: #4B5563;
    --foreground-subtle: #6B7280;
    --border: #E5E7EB;
    --border-strong: #D1D5DB;
    --card-bg: #FFFFFF;
    --card-border: #E5E7EB;
    --card-hover-border: rgba(220, 38, 38, 0.3);

    /* Gradient Text - Red to Warm Yellow/Amber */
    --gradient-primary: linear-gradient(135deg, #DC2626 0%, #EA580C 50%, #D97706 100%);

    /* Focus Ring */
    --focus-ring: 0 0 0 3px rgba(220, 38, 38, 0.3);
    --focus-ring-error: 0 0 0 3px rgba(220, 38, 38, 0.4);

    /* Typography */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;

    /* Type Scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    --text-7xl: 4.5rem;      /* 72px */

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    --shadow-soft: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.12);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;

    /* Z-index */
    --z-header: 50;
    --z-modal: 100;
    --z-toast: 200;
}

/* Dark mode support - overridden to keep plain white and gentle red/yellow */
@media (prefers-color-scheme: dark) {
    :root {
        --background: #FFFFFF;
        --background-alt: #FFFBFB;
        --background-muted: #FEF2F2;
        --foreground: #1F2937;
        --foreground-muted: #4B5563;
        --foreground-subtle: #6B7280;
        --border: #E5E7EB;
        --border-strong: #D1D5DB;
        --card-bg: #FFFFFF;
        --card-border: #E5E7EB;
        --card-hover-border: rgba(220, 38, 38, 0.3);
        --focus-ring: 0 0 0 3px rgba(220, 38, 38, 0.3);
    }
}

/* ========================================================= */
/*  RESET & BASE                                             */
/* ========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-size: var(--text-base);
    font-weight: 400;
    min-height: 100vh;
}

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

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

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.15;
    color: var(--foreground);
}

::selection {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

/* Skip Link - Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-toast);
    padding: var(--space-3) var(--space-6);
    background: var(--foreground);
    color: var(--background);
    font-weight: 600;
    font-size: var(--text-sm);
    border-radius: var(--radius-lg);
    white-space: nowrap;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
}

/* ========================================================= */
/*  UTILITY CLASSES                                          */
/* ========================================================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.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;
}

/* Gradient Text Utility */
.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .gradient-text {
        animation: none;
        background-position: 0% center;
    }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* ========================================================= */
/*  HEADER                                                   */
/* ========================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    height: 72px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-base), border-color var(--transition-base);
}

@media (prefers-color-scheme: dark) {
    .site-header {
        background: rgba(255, 255, 255, 0.9);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 800;
    font-size: var(--text-xl);
    color: var(--foreground);
    transition: opacity var(--transition-fast);
}

.logo:hover { opacity: 0.8; }

.logo:focus-visible {
    opacity: 0.8;
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

.logo-mark {
    height: 40px;
    width: auto;
    color: var(--color-primary);
    flex-shrink: 0;
}

.logo-text { letter-spacing: -0.02em; }

.header-nav {
    display: none;
    align-items: center;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .header-nav { display: flex; }
}

.nav-link {
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--foreground-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--foreground);
}

.nav-link:hover::after { width: 100%; }

.nav-link:focus-visible {
    color: var(--foreground);
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

.nav-link:focus-visible::after { width: 100%; }

.header-cta { display: none; }

@media (min-width: 768px) {
    .header-cta { display: inline-flex; }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    color: var(--foreground-muted);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--background-muted);
    color: var(--foreground);
}

.mobile-menu-btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-header) - 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    background: var(--background);
    padding: var(--space-8);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 320px;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    color: var(--foreground-muted);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-menu-close:hover {
    background: var(--background-muted);
    color: var(--foreground);
}

.mobile-menu-close:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.mobile-menu:not([hidden]) {
    transform: translateX(0);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    width: 100%;
    max-width: 320px;
    margin-top: var(--space-4);
}

.mobile-menu a {
    width: 100%;
    font-weight: 600;
    font-size: var(--text-2xl);
    text-align: center;
    padding: var(--space-3) 0;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
    transition: color var(--transition-fast);
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu a:hover { color: var(--color-primary); }

.mobile-menu a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

.mobile-menu .btn { width: 100%; justify-content: center; }

/* ========================================================= */
/*  BUTTONS                                                  */
/* ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-weight: 500;
    line-height: 1;
    border-radius: var(--radius-lg);
    white-space: nowrap;
    transition: all var(--transition-base);
    position: relative;
}

.btn svg { flex-shrink: 0; transition: transform var(--transition-base); }

/* Primary - Solid Blue */
.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:focus-visible {
    box-shadow: var(--focus-ring), var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-primary:hover svg { transform: translateX(3px); }

/* Outline - White/Transparent with Border */
.btn-outline {
    background: var(--background);
    color: var(--foreground);
    border: 1px solid var(--foreground);
    border-width: 1px;
}

@media (prefers-color-scheme: dark) {
    .btn-outline {
        border-color: var(--foreground);
    }
}

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

.btn-outline:focus-visible {
    box-shadow: var(--focus-ring);
    background: var(--foreground);
    color: var(--background);
}

.btn-outline:hover svg { transform: translateX(3px); }

/* Sizes */
.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    height: 48px;
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    height: 36px;
}

.btn-full { width: 100%; }

/* ========================================================= */
/*  HERO SECTION                                             */
/* ========================================================= */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 var(--space-20);
    margin-top: 72px; /* space below fixed header */
}

/* Hero Visual - Banner image above content */
.hero-visual {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    margin-bottom: var(--space-16);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border-bottom: 1px solid var(--border);
}

.hero-banner {
    display: block;
    width: 100%;
    height: auto;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 var(--container-padding);
}

.hero-title {
    font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
}

.hero-title-line {
    display: block;
}

.hero-title-line:first-child {
    color: var(--foreground);
}

.hero-subtitle {
    font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
    color: var(--foreground-muted);
    max-width: 640px;
    margin: 0 auto var(--space-10);
    line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    padding: var(--space-8) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    text-align: center;
}

.stat-value {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    font-weight: 800;
    color: var(--foreground);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--foreground-subtle);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

@media (max-width: 640px) {
    .stat-divider {
        width: 48px;
        height: 1px;
    }
}

/* Hero CTA */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

/* ========================================================= */
/*  SECTION COMMON                                           */
/* ========================================================= */
section {
    position: relative;
}

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

.section-badge {
    display: inline-block;
    font-weight: 500;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--foreground-muted);
    line-height: 1.6;
}

/* Process Section */
.process {
    padding: var(--space-24) 0;
    background: var(--background);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-top: var(--space-16);
    position: relative;
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-6);
    }
}

.process-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.process-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .process-card[data-step="1"],
    .process-card[data-step="2"] {
        padding-bottom: calc(var(--space-8) + 40px);
    }
}

.process-card-connector {
    display: none;
}

@media (min-width: 1024px) {
    .process-card-connector {
        display: block;
        position: absolute;
        top: calc(var(--space-8) + 56px);
        right: calc(-50% + var(--space-3));
        width: 50%;
        height: 1px;
        background: var(--border);
        z-index: 0;
    }
}

.process-icon-wrapper {
    position: relative;
    display: inline-flex;
    margin-bottom: var(--space-6);
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--color-primary-light);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.process-card:hover .process-icon {
    background: var(--color-primary);
    color: white;
}

.step-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: var(--text-xs);
    font-weight: 800;
    color: var(--color-primary);
    background: var(--background);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-primary);
}

.process-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.process-tagline {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--space-6);
}

.process-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.process-list li {
    display: flex;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--foreground-muted);
    line-height: 1.6;
}

.process-list li > span:first-child {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.4;
    margin-top: 0.55em;
}

.process-cta {
    text-align: center;
    margin-top: var(--space-16);
    padding-top: var(--space-16);
    border-top: 1px solid var(--border);
}

.process-cta-text {
    color: var(--foreground-muted);
    margin-bottom: var(--space-6);
}

/* Testimonials Section */
.testimonials {
    padding: var(--space-24) 0;
    background: var(--background-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-16);
}

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

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

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    opacity: 0.25;
    margin-bottom: var(--space-4);
    flex-shrink: 0;
}

.testimonial-quote {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--foreground);
    margin-bottom: var(--space-6);
    flex: 1;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: var(--space-4);
}

.author-name {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--foreground);
    margin-bottom: var(--space-1);
}

.author-title {
    font-size: var(--text-sm);
    color: var(--foreground-muted);
    margin-bottom: var(--space-1);
}

.author-credential {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-primary);
}

/* About Section */
.about {
    padding: var(--space-24) 0;
    background: var(--background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: start;
    margin-top: var(--space-12);
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 280px 1fr;
        gap: var(--space-16);
    }
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-primary-light);
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .about-image { width: 224px; height: 224px; }
}

.about-name {
    font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
    font-weight: 700;
    margin-bottom: var(--space-6);
    text-align: center;
}

@media (min-width: 768px) {
    .about-name { text-align: left; }
}

.about-bio {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    color: var(--foreground-muted);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.about-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.cred-badge {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.about-content .btn-primary { margin-top: var(--space-4); }

/* Contact Section */
.contact {
    padding: var(--space-24) 0;
    background: var(--background-alt);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-info .section-header {
    text-align: left;
}

.contact-text {
    color: var(--foreground-muted);
    line-height: 1.7;
    margin: var(--space-6) 0 var(--space-8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--foreground-muted);
    transition: color var(--transition-fast);
}

.contact-item:hover { color: var(--color-primary); }

.contact-item:focus-visible {
    color: var(--color-primary);
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
    opacity: 0.7;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

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

.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--foreground);
}

.form-input, .form-textarea, select.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    color: var(--foreground);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.form-input:hover, .form-textarea:hover, select.form-input:hover {
    border-color: var(--border-strong);
}

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

.form-textarea { min-height: 120px; resize: vertical; }

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    padding-right: var(--space-10);
}

.form-note {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--foreground-subtle);
    text-align: center;
}

/* Form Accessibility Enhancements */
.required-indicator {
    color: var(--color-primary);
    margin-left: var(--space-1);
}

.form-error {
    min-height: 1.25rem;
    font-size: var(--text-sm);
    color: #DC2626; /* Accessible red - meets 4.5:1 on white */
    margin-top: var(--space-1);
}

.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"],
select.form-input[aria-invalid="true"] {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-input[aria-invalid="true"]:focus,
.form-textarea[aria-invalid="true"]:focus,
select.form-input[aria-invalid="true"]:focus {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

#form-status {
    min-height: 1.5rem;
    font-size: var(--text-sm);
    text-align: center;
}

#form-status.success {
    color: #059669; /* Accessible green */
}

#form-status.error {
    color: #DC2626;
}

/* Footer */
.site-footer {
    padding: var(--space-8) 0;
    border-top: 1px solid var(--border);
    background: var(--background);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.footer-logo {
    height: 36px;
    width: auto;
}

.copyright {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--foreground-subtle);
}

/* ========================================================= */
/*  SERVICES SECTION                                         */
/* ========================================================= */
.services {
    padding: var(--space-24) 0;
    background: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-16);
}

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

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

.service-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.service-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--color-primary-light);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.service-card:hover .service-icon-wrapper {
    background: var(--color-primary);
    color: white;
    transform: scale(1.05);
}

.service-icon {
    stroke: currentColor;
    transition: stroke var(--transition-base);
}

.service-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--foreground);
}

.service-description {
    font-size: var(--text-base);
    color: var(--foreground-muted);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    flex: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--foreground-muted);
    line-height: 1.5;
}

.service-features li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.5;
    margin-top: 0.55em;
}

.service-card:hover .service-features li::before {
    opacity: 1;
}

/* ========================================================= */
/*  ANIMATIONS                                               */
/* ========================================================= */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 0.6s ease forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease forwards;
    opacity: 0;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }

/* ========================================================= */
/*  RESPONSIVE                                               */
/* ========================================================= */
@media (max-width: 640px) {
    :root { --container-padding: 1rem; }
    
    .hero { padding-top: calc(72px + var(--space-6)); }
    
    .hero-visual {
        margin-bottom: var(--space-10);
        border-radius: var(--radius-xl);
    }

    .hero-stats { gap: var(--space-4); }
    
    .hero-cta-group { flex-direction: column; width: 100%; }
    .hero-cta-group .btn { width: 100%; justify-content: center; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .contact-form { padding: var(--space-6); }
    
    .process-card { padding: var(--space-6); }
}

/* ========================================================= */
/*  PRINT                                                    */
/* ========================================================= */
@media print {
    .site-header, .hero-cta-group, .process-cta, .contact-form, .site-footer, .hero-visual { display: none !important; }
    .hero { min-height: auto; padding: 0; }
    body { background: white; color: black; }
    section { page-break-inside: avoid; }
}