/* ============================================
   BITWISE LEGAL - MODERN DESIGN SYSTEM
   Version 2.0 - 2025
   ============================================ */

/* CSS Custom Properties - Design Tokens */
:root {
    /* Primary Colors */
    --primary-navy: #0f172a;
    --primary-navy-light: #1e293b;
    --primary-navy-lighter: #334155;

    /* Accent Colors */
    --accent-gold: #d4a853;
    --accent-gold-light: #e4c078;
    --accent-gold-dark: #b8923d;
    --accent-gold-glow: rgba(212, 168, 83, 0.15);

    /* Neutrals */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fafaf9;
    --bg-tertiary: #f5f5f4;
    --bg-dark: var(--primary-navy);
    --bg-dark-secondary: var(--primary-navy-light);

    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #525252;
    --text-muted: #737373;
    --text-light: #ffffff;
    --text-light-muted: rgba(255, 255, 255, 0.7);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 50%, #1a365d 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 4px 14px 0 rgba(212, 168, 83, 0.25);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.08);
    --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.1), 0 16px 40px rgba(0,0,0,0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Crimson Text', Georgia, serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;

    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, var(--text-6xl));
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, var(--text-5xl));
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, var(--text-3xl));
}

h4 {
    font-size: var(--text-xl);
}

p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-5xl) 0;
}

.section-sm {
    padding: var(--space-4xl) 0;
}

.section-lg {
    padding: var(--space-5xl) 0;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: var(--z-fixed);
    padding: 1.5rem 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-navy);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--neutral-300);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-navy);
    border-color: var(--text-light);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-xs);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    color: var(--text-light);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 83, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
}

.hero-slideshow .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slideshow .hero-slide.active {
    opacity: 0.2;
}

/* Slideshow Controls */
.hero-slideshow-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slide-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

.slide-label {
    font-size: var(--text-xs);
    color: var(--text-light-muted);
    margin-left: var(--space-sm);
    min-width: 120px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--text-light-muted);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
    color: var(--text-light-muted);
    font-size: var(--text-sm);
    animation: fadeInUp 0.6s ease 0.5s forwards;
    opacity: 0;
}

.hero-scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: var(--radius-full);
    position: relative;
}

.hero-scroll-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: var(--radius-full);
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

/* ============================================
   PAGE HEADER (Internal Pages)
   ============================================ */

.page-header {
    padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
    background: var(--gradient-hero);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.page-header-description {
    font-size: var(--text-xl);
    color: var(--text-light-muted);
    max-width: 600px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

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

.section-eyebrow {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
}

.section-header h2 {
    margin-bottom: var(--space-lg);
}

.section-header p {
    font-size: var(--text-lg);
    max-width: 640px;
    margin: 0 auto;
}

.section-header.text-left p {
    margin: 0;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.card-body {
    padding: var(--space-xl);
}

/* Service Cards */
.service-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition-base);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold-glow);
    border-radius: var(--radius-md);
    color: var(--accent-gold);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Feature Cards with Icons */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

/* ============================================
   BENTO GRID
   ============================================ */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.bento-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.bento-item.span-2 {
    grid-column: span 2;
}

.bento-item.span-row-2 {
    grid-row: span 2;
}

/* ============================================
   TEAM / ATTORNEY CARDS
   ============================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-2xl);
}

.team-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.team-photo {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-200) 100%);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: 600;
    color: var(--primary-navy);
}

.team-info {
    padding: var(--space-xl);
}

.team-name {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.team-title {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    margin-bottom: var(--space-lg);
}

.team-bio {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.team-tag {
    padding: var(--space-xs) var(--space-md);
    background: var(--neutral-100);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   ARTICLE / BLOG CARDS
   ============================================ */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.article-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: var(--space-xl);
}

.article-category {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    margin-bottom: var(--space-sm);
}

.article-title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

.article-excerpt {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Featured Article */
.featured-article {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    margin-bottom: var(--space-4xl);
    position: relative;
    overflow: hidden;
}

.featured-article::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-gold);
}

.featured-label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: var(--space-lg);
}

.featured-article h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-lg);
}

.featured-article p {
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: var(--accent-gold);
    transition: gap var(--transition-base);
}

.read-more:hover {
    gap: var(--space-md);
}

/* ============================================
   ABOUT SECTION STYLES
   ============================================ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content h2 {
    margin-bottom: var(--space-xl);
}

.about-content p {
    margin-bottom: var(--space-lg);
}

/* ============================================
   VALUES / FEATURES SECTION
   ============================================ */

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.value-card {
    padding: var(--space-xl);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-gold);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.value-card h4 {
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.value-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-xl);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
}

.contact-info h2 {
    margin-bottom: var(--space-lg);
}

.contact-info > p {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2xl);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-item p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.contact-form h2 {
    margin-bottom: var(--space-xl);
}

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

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    font-size: var(--text-base);
    font-family: inherit;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Form Messages */
.form-message {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.form-message-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.form-message-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* ============================================
   CTA SECTIONS
   ============================================ */

.cta-section {
    background: var(--gradient-hero);
    color: var(--text-light);
    padding: var(--space-5xl) 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.cta-section p {
    font-size: var(--text-lg);
    color: var(--text-light-muted);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.cta-box {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    text-align: center;
}

.cta-box h3 {
    margin-bottom: var(--space-md);
}

.cta-box p {
    margin-bottom: var(--space-xl);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    background: var(--gradient-hero);
    color: var(--text-light);
    padding: var(--space-4xl) 0;
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h2 {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.newsletter-content > p {
    color: var(--text-light-muted);
    font-size: var(--text-lg);
    margin-bottom: var(--space-2xl);
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-base);
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.newsletter-form button {
    padding: var(--space-md) var(--space-xl);
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: background var(--transition-base);
}

.newsletter-form button:hover {
    background: var(--accent-gold-dark);
}

/* ============================================
   FILTER NAVIGATION
   ============================================ */

.filter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--neutral-200);
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-navy);
}

/* ============================================
   INDUSTRIES GRID
   ============================================ */

.industries-section {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.industry-item {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.industry-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold-glow);
    border-radius: var(--radius-lg);
    font-size: var(--text-2xl);
}

.industry-item h4 {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.industry-item p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================
   SERVICE FEATURES LIST
   ============================================ */

.service-features {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--neutral-200);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   OFFICE HOURS
   ============================================ */

.office-hours {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: var(--space-xl);
}

.office-hours h3 {
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--neutral-100);
    font-size: var(--text-sm);
}

.hours-list li:last-child {
    border-bottom: none;
}

/* ============================================
   LOCATION SECTION
   ============================================ */

.location-section {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.location-info h2 {
    margin-bottom: var(--space-lg);
}

.location-info p {
    margin-bottom: var(--space-lg);
}

.map-placeholder {
    height: 320px;
    background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-200) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-navy);
    color: var(--text-light);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand p {
    color: var(--text-light-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-lg);
}

.footer h4 {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--text-light-muted);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--text-light-muted);
}

.footer-simple {
    background: var(--primary-navy-light);
    color: var(--text-light);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.footer-simple p {
    color: var(--text-light-muted);
    font-size: var(--text-sm);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(8px);
        opacity: 0.5;
    }
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-item.span-2 {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
        --space-5xl: 5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl);
        gap: var(--space-lg);
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .header-dark .nav-menu {
        background: var(--primary-navy);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
    }

    .about-grid,
    .contact-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.span-2,
    .bento-item.span-row-2 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .team-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 320px;
    }

    .newsletter-form input {
        border-radius: var(--radius-md);
    }

    .newsletter-form button {
        border-radius: var(--radius-md);
    }

    .filter-nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .featured-article {
        padding: var(--space-xl);
    }

    .service-card,
    .value-card,
    .industry-item {
        padding: var(--space-lg);
    }

    .contact-form {
        padding: var(--space-lg);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   DARK SECTION VARIANTS
   ============================================ */

.section-dark {
    background: var(--gradient-hero);
    color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-light);
}

.section-dark p {
    color: var(--text-light-muted);
}

.section-dark .section-eyebrow {
    color: var(--accent-gold);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
