/* ===================================
   CASECADE LEGAL - Modern Law Firm Website
   A sophisticated, modern design with 
   elegant typography and smooth animations
   =================================== */

/* ===================================
   WSBA DISCLOSURE BANNER
   Required sitewide disclosure
   =================================== */
.wsba-disclosure {
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) var(--container-padding);
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.wsba-disclosure strong {
    color: var(--color-accent);
    font-weight: 600;
}

.wsba-disclosure-content {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Footer WSBA Compliance Section */
.footer-compliance {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.footer-compliance h4 {
    color: var(--color-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.footer-compliance p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.footer-compliance a {
    color: var(--color-accent);
}

.footer-compliance a:hover {
    color: var(--color-accent-light);
}

/* Compliance Officer Block */
.compliance-officer {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin: var(--space-md) 0;
}

.compliance-officer h5 {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.compliance-officer p {
    font-size: 0.85rem;
    margin-bottom: var(--space-xs);
}

/* Consent Checkbox Styling */
.consent-group {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin: var(--space-md) 0;
}

.consent-group label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.consent-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.consent-group .consent-text {
    color: var(--color-text-secondary);
}

.consent-group .consent-required {
    color: var(--color-accent);
    font-size: 0.75rem;
    display: block;
    margin-top: var(--space-xs);
}

/* Attorney Status Block */
.attorney-status {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.attorney-status h3 {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.attorney-status p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.attorney-status strong {
    color: var(--color-text-primary);
}

/* Trust/PLI Statement */
.trust-statement {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.trust-statement h3 {
    color: var(--color-text-primary);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.trust-statement p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Responsive adjustments for disclosure */
@media (max-width: 768px) {
    .wsba-disclosure {
        font-size: 0.7rem;
        padding: var(--space-xs) var(--space-sm);
    }
}

/* CSS Custom Properties */
:root {
    /* Color Palette - Deep Slate with Warm Amber Accent */
    --color-bg-primary: #0a0f1a;
    --color-bg-secondary: #111827;
    --color-bg-tertiary: #1a2235;
    --color-bg-card: #1e2a3e;
    
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    --color-accent: #d4a574;
    --color-accent-light: #e8c9a8;
    --color-accent-dark: #b8956a;
    
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.12);
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

/* ===================================
   NAVIGATION
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
}

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

.logo-accent {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: var(--space-xs) 0;
}

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

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

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

.nav-link--cta {
    background: var(--color-accent);
    color: var(--color-bg-primary) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(212, 165, 116, 0.1);
    color: var(--color-accent);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: var(--space-3xl) 0 var(--space-2xl);
    overflow: hidden;
}

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

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(10, 15, 26, 0.7) 0%, 
        rgba(10, 15, 26, 0.5) 50%,
        rgba(10, 15, 26, 0.9) 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 165, 116, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(30, 42, 62, 0.6), transparent);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.title-accent {
    color: var(--color-accent);
    font-style: italic;
}

.hero-subtitle {
    max-width: 640px;
    margin: 0 auto var(--space-xl);
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-full {
    width: 100%;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-border-light);
    border-radius: 100px;
    position: relative;
}

.scroll-dot {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 100px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

/* ===================================
   QUOTE BANNER
   =================================== */
.quote-banner {
    background: var(--color-bg-tertiary);
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.quote-banner--alt {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(10, 15, 26, 0.95));
}

.main-quote {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.main-quote p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.main-quote footer {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 500;
}

/* ===================================
   IMAGE BANNER
   =================================== */
.image-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 26, 0.7);
}

.image-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-lg);
}

.image-banner-content blockquote p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    color: var(--color-text-primary);
    max-width: 800px;
    margin: 0 auto var(--space-md);
    line-height: 1.5;
}

.image-banner-content blockquote footer {
    color: var(--color-accent);
    font-size: 1.125rem;
    font-weight: 500;
}

/* ===================================
   SECTION COMMON STYLES
   =================================== */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-2xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    background: var(--color-bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

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

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-light);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

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

/* Featured Service Cards with Images */
.service-card--featured {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-content {
    padding: var(--space-lg);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 165, 116, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.service-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
    color: var(--color-accent);
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: var(--space-sm);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background: var(--color-bg-primary);
}

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

.about-content .section-tag,
.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 165, 116, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
}

.feature span {
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

/* About Visual / Image Grid */
.about-visual {
    position: relative;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
    height: 450px;
}

.about-img {
    border-radius: var(--radius-lg);
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.about-img--1 {
    grid-row: span 2;
}

.about-img--2 {
    grid-column: 2;
    grid-row: 1;
}

.about-stat-card {
    grid-column: 2;
    grid-row: 2;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.about-stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-xs);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    background: var(--color-bg-secondary);
    padding: var(--space-3xl) 0;
}

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

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-light);
}

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

.testimonial-stars {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    letter-spacing: 0.1em;
}

.testimonial-content p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.15);
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-accent);
}

.testimonial-author strong {
    display: block;
    color: var(--color-text-primary);
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===================================
   TEAM SECTION
   =================================== */
.team {
    background: var(--color-bg-primary);
}

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

.team-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.team-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 15, 26, 0.8));
}

.image-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.15);
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-accent);
    position: relative;
    z-index: 1;
}

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

.team-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.team-role {
    display: block;
    font-size: 0.875rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.team-bio {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.team-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    transition: all var(--transition-fast);
}

.team-social svg {
    width: 18px;
    height: 18px;
}

.team-social:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--color-bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
}

.contact-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

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

.contact-item {
    display: flex;
    gap: var(--space-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 165, 116, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--color-text-primary);
    line-height: 1.6;
}

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

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

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

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

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-primary);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    transition: all var(--transition-fast);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-group select {
    cursor: pointer;
    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='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-bg-primary);
    padding: var(--space-2xl) 0 var(--space-lg);
    border-top: 1px solid var(--color-border);
}

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

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

.footer-brand .nav-logo {
    margin-bottom: var(--space-md);
}

.footer-brand > p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.footer-quote {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border-left: 2px solid var(--color-accent);
    padding-left: var(--space-md);
    margin-top: var(--space-md);
}

.footer-quote em {
    display: block;
    margin-bottom: var(--space-xs);
    line-height: 1.6;
}

.footer-quote span {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg-primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

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

.footer-spanish {
    color: var(--color-accent) !important;
    margin-top: var(--space-sm);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

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

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

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

/* ===================================
   SUBPAGE STYLES
   =================================== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(var(--space-3xl) + 80px) 0 var(--space-2xl);
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(10, 15, 26, 0.8) 0%, 
        rgba(10, 15, 26, 0.6) 50%,
        var(--color-bg-primary) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 var(--container-padding);
}

.page-hero-content .section-tag {
    margin-bottom: var(--space-sm);
}

.page-hero-content h1 {
    margin-bottom: var(--space-md);
}

.page-hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Practice Area Content */
.practice-content {
    padding: var(--space-3xl) 0;
}

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

.practice-main h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.practice-main h3 {
    font-size: 1.5rem;
    margin: var(--space-xl) 0 var(--space-md);
    color: var(--color-text-primary);
}

.practice-main p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.practice-main ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.practice-main li {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    position: relative;
    padding-left: var(--space-md);
}

.practice-main li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* Sidebar */
.practice-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.sidebar-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.sidebar-card ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.sidebar-card a {
    display: block;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.sidebar-card a:hover,
.sidebar-card a.active {
    background: rgba(212, 165, 116, 0.1);
    color: var(--color-accent);
}

.sidebar-cta {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
    text-align: center;
}

.sidebar-cta p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

/* ===================================
   VOICES FOR JUSTICE SECTION
   =================================== */
.voices-section {
    background: var(--color-bg-primary);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.voices-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

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

.voice-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.voice-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.voice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(100%);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.voice-card:hover .voice-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Placeholder styling for voices without photos */
.voice-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(193, 165, 123, 0.3) 0%,
        rgba(193, 165, 123, 0.1) 100%
    );
    filter: grayscale(100%);
    transition: filter 0.6s ease;
}

.voice-card:hover .voice-image--placeholder {
    filter: grayscale(0%);
}

.voice-initials {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 600;
    color: var(--color-gold);
    opacity: 0.7;
    transition: opacity 0.6s ease;
}

.voice-card:hover .voice-initials {
    opacity: 1;
}

.voice-quote {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    background: linear-gradient(
        180deg,
        rgba(10, 15, 26, 0) 0%,
        rgba(10, 15, 26, 0.3) 30%,
        rgba(10, 15, 26, 0.85) 70%,
        rgba(10, 15, 26, 0.95) 100%
    );
    transition: background 0.6s ease;
}

.voice-card:hover .voice-quote {
    background: linear-gradient(
        180deg,
        rgba(10, 15, 26, 0) 0%,
        rgba(10, 15, 26, 0.2) 40%,
        rgba(10, 15, 26, 0.7) 70%,
        rgba(10, 15, 26, 0.9) 100%
    );
}

.voice-quote blockquote {
    margin-bottom: var(--space-md);
}

.voice-quote blockquote p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.voice-quote footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.voice-quote footer strong {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 600;
}

.voice-quote footer span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive Voices Grid - 6 items */
@media (max-width: 1600px) {
    .voices-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 768px) {
    .voices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .voice-quote blockquote p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .voices-grid {
        grid-template-columns: 1fr;
    }
    
    .voice-card {
        aspect-ratio: 4/5;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid,
    .practice-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .practice-sidebar {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
    
    .about-image-grid {
        height: 350px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
        --space-2xl: 3rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        padding: var(--space-xl);
        transition: right var(--transition-base);
        border-left: 1px solid var(--color-border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .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);
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: var(--space-sm) 0 0 var(--space-md);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-image-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .about-img--1 {
        grid-row: auto;
        height: 250px;
    }
    
    .about-img--2 {
        display: none;
    }
    
    .about-stat-card {
        grid-column: 1;
        padding: var(--space-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .image-banner {
        height: 50vh;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   BIO PAGES
   =================================== */

/* Voice card links */
.voice-card--link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.voice-card--link:hover {
    transform: translateY(-5px);
}

/* Bio Hero */
.bio-hero {
    padding: calc(var(--space-3xl) + 80px) 0 var(--space-2xl);
    background: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-border);
}

.bio-hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.bio-back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
    transition: color var(--transition-base);
}

.bio-back:hover {
    color: var(--color-accent);
}

.bio-header {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

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

.bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-intro {
    padding-top: var(--space-md);
}

.bio-name {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.1;
}

.bio-title {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.bio-quote {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-secondary);
    line-height: 1.6;
    padding-left: var(--space-lg);
    border-left: 3px solid var(--color-accent);
}

/* Bio Content */
.bio-content {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-secondary);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.bio-main h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.bio-main h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.bio-main p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

/* Bio CTA */
.bio-cta {
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-2xl);
    border: 1px solid var(--color-border);
}

.bio-cta h3 {
    margin-top: 0;
    color: var(--color-accent);
}

.bio-phone {
    font-size: 1.2rem;
    margin: var(--space-lg) 0;
}

.bio-phone a {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
}

.bio-phone a:hover {
    text-decoration: underline;
}

/* Bio Sidebar */
.bio-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.bio-info-card {
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
}

.bio-info-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bio-info-card ul {
    list-style: none;
}

.bio-info-card ul li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.bio-info-card ul li:last-child {
    border-bottom: none;
}

.bio-info-card ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.bio-info-card ul li a:hover {
    color: var(--color-accent);
}

.bio-stats li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bio-stats li strong {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 700;
}

.bio-info-card--quote {
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-primary) 100%);
}

.bio-info-card--quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.bio-info-card--quote cite {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Bio Sources */
.bio-sources {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-border);
}

.bio-sources h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.bio-sources ul {
    list-style: none;
    display: grid;
    gap: var(--space-sm);
}

.bio-sources ul li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding-left: var(--space-md);
    position: relative;
}

.bio-sources ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.bio-sources ul li em {
    font-style: italic;
}

/* Bio Responsive */
@media (max-width: 1024px) {
    .bio-grid {
        grid-template-columns: 1fr;
    }
    
    .bio-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .bio-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .bio-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .bio-quote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--color-accent);
        padding-top: var(--space-md);
    }
    
    .bio-name {
        font-size: 2.2rem;
    }
    
    .bio-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bio-name {
        font-size: 1.8rem;
    }
    
    .bio-quote {
        font-size: 1.1rem;
    }
}

/* ===================================
   SUBPAGE STYLES
   Fees, Community, How We Work, Languages
   =================================== */

/* Page Hero for Subpages */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--space-3xl) + 80px) var(--container-padding) var(--space-3xl);
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 15, 26, 0.3) 0%, rgba(10, 15, 26, 0.8) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.page-hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Subpage Content */
.subpage-content {
    padding: var(--space-3xl) 0;
}

.content-section {
    margin-bottom: var(--space-3xl);
}

.content-section__intro {
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
}

.content-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
    position: relative;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin-top: var(--space-sm);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.content-section p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.content-section strong {
    color: var(--color-text-primary);
}

/* Highlighted Section */
.content-section--highlight {
    background: var(--color-bg-secondary);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

/* CTA Section */
.content-section--cta {
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.content-section--cta h2::after {
    margin: var(--space-sm) auto 0;
}

.cta-phone {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin: var(--space-lg) 0 var(--space-sm);
}

.cta-phone a {
    color: var(--color-accent);
    font-weight: 600;
}

.cta-phone a:hover {
    color: var(--color-accent-light);
}

.cta-spanish {
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
    }
}

/* Lists */
.justice-list,
.commitment-list,
.partner-list,
.history-list {
    margin: var(--space-md) 0;
    padding-left: var(--space-md);
}

.justice-list li,
.commitment-list li,
.partner-list li,
.history-list li {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
    position: relative;
    line-height: 1.7;
}

.justice-list li::before {
    content: '→';
    position: absolute;
    left: -1rem;
    color: var(--color-accent);
}

.commitment-list li::before {
    content: '✓';
    position: absolute;
    left: -1.2rem;
    color: var(--color-accent);
}

.partner-list li::before,
.history-list li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--color-accent);
}

/* Quotes */
.pull-quote {
    background: var(--color-bg-tertiary);
    padding: var(--space-lg);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

.pull-quote p {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.pull-quote cite {
    color: var(--color-accent);
    font-size: 0.95rem;
}

.featured-quote {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    margin: var(--space-2xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.featured-quote p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.featured-quote cite {
    color: var(--color-accent);
    font-size: 1.1rem;
}

/* Fee Cards */
.fee-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.fee-card {
    background: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.fee-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.fee-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.fee-card__icon svg {
    color: var(--color-bg-primary);
}

.fee-card h3 {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.fee-card__applies {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.fee-card__note {
    background: rgba(212, 165, 116, 0.1);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
    border-left: 3px solid var(--color-accent);
}

.fee-card__note em {
    color: var(--color-accent);
}

.fee-card small {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.resource-item {
    background: var(--color-bg-tertiary);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.resource-item h4 {
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.resource-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.impact-card {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
}

.impact-card h3 {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.impact-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.education-item {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.education-item h4 {
    color: var(--color-text-primary);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

/* Process Timeline */
.process-timeline {
    margin: var(--space-xl) 0;
}

.process-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-border) 100%);
}

.process-step__number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-bg-primary);
    flex-shrink: 0;
}

.process-step__content h3 {
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.process-step__content ul {
    padding-left: var(--space-lg);
    margin: var(--space-md) 0;
}

.process-step__content li {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
    position: relative;
}

.process-step__content li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--color-accent);
}

.process-step__note {
    background: rgba(212, 165, 116, 0.1);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
    border-left: 3px solid var(--color-accent);
}

/* Language Services */
.spanish-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.language-services {
    background: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.language-services h3 {
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.language-services .note {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: var(--space-md);
}

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

.language-option {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.language-option h4 {
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

/* Accessibility Grid */
.accessibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.accessibility-item {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.accessibility-item h4 {
    color: var(--color-text-primary);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

/* Disclaimers */
.disclaimer {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: var(--space-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-bg-primary);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

/* Subpage Responsive */
@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
        padding: calc(var(--space-2xl) + 80px) var(--container-padding) var(--space-2xl);
    }
    
    .content-section--highlight,
    .content-section--cta {
        padding: var(--space-xl);
        margin-left: calc(-1 * var(--container-padding));
        margin-right: calc(-1 * var(--container-padding));
        border-radius: 0;
    }
    
    .fee-cards {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 50px 1fr;
        gap: var(--space-md);
    }
    
    .process-step__number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .process-step:not(:last-child)::after {
        left: 24px;
        top: 50px;
    }
}

/* ===================================
   SPANISH TRANSLATION WIDGET
   Hover to reveal translation toggle
   =================================== */

.translate-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.translate-trigger {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.4);
    transition: all var(--transition-base);
    border: none;
    color: var(--color-bg-primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.translate-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(212, 165, 116, 0.5);
}

.translate-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.translate-widget:hover .translate-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.translate-panel h4 {
    color: var(--color-text-primary);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 600;
}

.translate-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.translate-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.translate-btn:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
    border-color: var(--color-accent);
}

.translate-btn.active {
    background: var(--color-accent);
    color: var(--color-bg-primary);
    border-color: var(--color-accent);
}

.translate-btn span.flag {
    font-size: 1.2rem;
}

.translate-note {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Mobile: larger touch target */
@media (max-width: 768px) {
    .translate-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .translate-trigger {
        width: 56px;
        height: 56px;
    }
    
    .translate-panel {
        right: 0;
        min-width: 200px;
    }
}

/* ===================================
   ADDITIONAL RESPONSIVE REFINEMENTS
   =================================== */

/* Ensure all pages work on small screens */
@media (max-width: 480px) {
    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    
    .bio-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .bio-image-wrapper {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .bio-name {
        font-size: 1.8rem;
    }
    
    .bio-quote {
        font-size: 1rem;
    }
    
    .bio-grid {
        grid-template-columns: 1fr;
    }
    
    .bio-sidebar {
        margin-top: var(--space-xl);
    }
    
    .sources-grid {
        grid-template-columns: 1fr;
    }
    
    .fee-cards {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 40px 1fr;
        gap: var(--space-sm);
    }
    
    .process-step__number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .process-step:not(:last-child)::after {
        left: 19px;
        top: 40px;
    }
    
    .impact-grid,
    .education-grid,
    .resource-grid,
    .accessibility-grid,
    .language-options {
        grid-template-columns: 1fr;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .page-hero {
        min-height: 35vh;
        padding: calc(var(--space-xl) + 80px) var(--space-md) var(--space-xl);
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero__subtitle {
        font-size: 1rem;
    }
    
    .featured-quote p {
        font-size: 1.2rem;
    }
    
    .pull-quote p {
        font-size: 1.1rem;
    }
    
    .cta-phone {
        font-size: 1.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Tablet refinements */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-secondary);
        flex-direction: column;
        padding: calc(var(--space-3xl) + 20px) var(--space-lg) var(--space-lg);
        transition: right var(--transition-base);
        border-left: 1px solid var(--color-border);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding: var(--space-sm) 0 var(--space-sm) var(--space-md);
        box-shadow: none;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
}

/* Ensure images don't break layout */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    .nav,
    .translate-widget,
    .hero-video-wrapper,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

/* Hero Image instead of Video */
.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Stat Sub text */
.stat-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-xs);
}

/* Disabled Button Style */
.btn-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
    background: var(--color-surface-light) !important;
    border-color: var(--color-surface-light) !important;
    color: var(--color-text-muted) !important;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Mobile Sizing Fixes */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .hero-content,
    .page-hero-content,
    .quote-banner,
    .main-quote,
    .practice-main,
    .practice-sidebar,
    .contact-info,
    .contact-form-wrapper {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .main-quote p {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
    
    .practice-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .practice-sidebar {
        order: -1;
    }
    
    .wsba-disclosure-content {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-compliance {
        font-size: 0.8rem;
    }
    
    .footer-compliance p {
        margin-bottom: var(--space-xs);
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.7rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.85rem;
    }
    
    .sidebar-card {
        padding: var(--space-md);
    }
}
