/* Chase Law Group Custom Styles */

/* Default Theme */
:root {
    --primary-blue: #1e3a5f;
    --accent-bronze: #c9984a;
    --dark-blue: #0f1f38;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
}

[data-theme="light"] {
    --primary-blue: #1e3a5f;
    --accent-bronze: #c9984a;
    --dark-blue: #0f1f38;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-blue: #2d5aa0;
    --accent-bronze: #ffd700;
    --dark-blue: #1a1a1a;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
}

/* Professional Blue Theme */
[data-theme="professional"] {
    --primary-blue: #003366;
    --accent-bronze: #0066cc;
    --dark-blue: #001133;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f4f8;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
}

/* Modern Green Theme */
[data-theme="modern"] {
    --primary-blue: #2c5530;
    --accent-bronze: #4caf50;
    --dark-blue: #1b3a1e;
    --bg-primary: #ffffff;
    --bg-secondary: #f1f8e9;
    --text-primary: #1a1a1a;
    --text-secondary: #424242;
}




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

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-bronze) 0%, #b88639 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 152, 74, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

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

@media (min-width: 768px) {
    .section-spacing {
        padding: 6rem 0;
    }
}

.top-bar {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 1rem 0;
}

.location-strip {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.main-nav {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.main-nav a {
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    padding: 1.25rem 1rem;
    display: inline-block;
    transition: color 0.3s ease;
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--accent-bronze);
}

.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(30, 58, 95, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.practice-tile {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.practice-tile:hover {
    transform: translateY(-8px);
}

.practice-tile img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.practice-tile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
}

.practice-tile-title {
    background: linear-gradient(135deg, var(--accent-bronze) 0%, #b88639 100%);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    display: inline-block;
}

.awards-strip {
    background: #f8f9fa;
    padding: 3rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.award-badge {
    height: 100px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.award-badge:hover {
    filter: grayscale(0%);
}

.attorney-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.attorney-headshot {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.consultation-form {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(15, 31, 56, 0.95) 100%);
    padding: 3rem;
    border-radius: 0.5rem;
    color: white;
}

.consultation-form input,
.consultation-form textarea,
.consultation-form select {
    width: 100%;
    padding: 0.875rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.consultation-form input:focus,
.consultation-form textarea:focus,
.consultation-form select:focus {
    outline: none;
    border-color: var(--accent-bronze);
    background: rgba(255, 255, 255, 0.15);
}

.skyline-strip {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.footer {
    background: var(--dark-blue);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-with-bg {
    background: linear-gradient(rgba(31, 41, 55, 0.9), rgba(31, 41, 55, 0.9)), 
                url('/assets/img/footer-background.jpg') center/cover;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.admin-sidebar {
    background: var(--dark-blue);
    min-height: 100vh;
    color: white;
}

.admin-sidebar a {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.875rem 1.5rem;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: var(--accent-bronze);
}

.admin-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.admin-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
}

.admin-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.95rem;
    background: #fff;
}

.admin-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.admin-btn-primary,
.admin-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 0.5rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
}

.admin-btn-primary {
    background: #1d4ed8;
    color: #fff;
}

.admin-btn-primary:hover {
    background: #1e40af;
}

.admin-btn-ghost {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

.admin-btn-ghost:hover {
    background: #f1f5f9;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: #f8f9fa;
    padding: 0.875rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
}

.table td {
    padding: 0.875rem;
    border-bottom: 1px solid #e9ecef;
}

.table tr:hover {
    background: #f8f9fa;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-new {
    background: #ffc107;
    color: #000;
}

.badge-contacted {
    background: #17a2b8;
    color: white;
}

.badge-closed {
    background: #6c757d;
    color: white;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Blog specific styles */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prose {
    line-height: 1.75;
}

.prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.prose p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.prose ul, .prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.prose strong {
    font-weight: 600;
    color: var(--primary-blue);
}

.prose a {
    color: var(--accent-bronze);
    text-decoration: underline;
}

.prose a:hover {
    color: var(--primary-blue);
}

/* ═══════════════════════════════════════════════════
   PORTAL & DIVISION STYLES
   ═══════════════════════════════════════════════════ */

/* Division color palettes */
body.division-legal {
    --div-bg:        #0D1B2A;
    --div-bg-sec:    #0e1d2e;
    --div-nav-bg:    rgba(13,27,42,0.92);
    --div-nav-bdr:   rgba(201,168,76,0.2);
    --div-accent:    #C9A84C;
    --div-accent-lt: #E8C97A;
    --div-badge-bg:  rgba(201,168,76,0.15);
    --div-shadow:    rgba(201,168,76,0.12);
    --div-glow:      rgba(201,168,76,0.06);
    --div-form-bdr:  #C9A84C;
}

body.division-ediscovery {
    --div-bg:        #1B2A3B;
    --div-bg-sec:    #1c2d40;
    --div-nav-bg:    rgba(27,42,59,0.92);
    --div-nav-bdr:   rgba(46,134,171,0.25);
    --div-accent:    #2E86AB;
    --div-accent-lt: #5BBCD8;
    --div-badge-bg:  rgba(46,134,171,0.2);
    --div-shadow:    rgba(46,134,171,0.15);
    --div-glow:      rgba(46,134,171,0.12);
    --div-form-bdr:  #2E86AB;
}

body.division-recruiting {
    --div-bg:        #12080C;
    --div-bg-sec:    #150a0e;
    --div-nav-bg:    rgba(18,8,12,0.92);
    --div-nav-bdr:   rgba(139,26,42,0.3);
    --div-accent:    #8B1A2A;
    --div-accent-lt: #C04A5A;
    --div-badge-bg:  rgba(139,26,42,0.25);
    --div-shadow:    rgba(139,26,42,0.15);
    --div-glow:      rgba(139,26,42,0.12);
    --div-form-bdr:  #8B1A2A;
    --div-text:      #ffffff;
    --div-link:      rgba(255,255,255,0.75);
}

body.division-legal,
body.division-ediscovery,
body.division-recruiting {
    --div-text: #ffffff;
    --div-link: rgba(255,255,255,0.75);
    --div-btn-text: #0D1B2A;
}

body[data-theme="light"].division-legal {
    --div-bg:        #1B2A3A;
    --div-bg-sec:    #223447;
    --div-nav-bg:    rgba(27,42,58,0.9);
    --div-accent:    #d4b062;
    --div-accent-lt: #f2d690;
    --div-shadow:    rgba(212,176,98,0.18);
}

body[data-theme="light"].division-ediscovery,
body[data-theme="light"].division-recruiting {
    --div-bg:        #223142;
    --div-bg-sec:    #293a4d;
}

body[data-theme="dark"].division-legal {
    --div-bg:        #0D1B2A;
    --div-bg-sec:    #0e1d2e;
}

/* Division fonts override */
body.portal-page,
body.division-legal,
body.division-ediscovery,
body.division-recruiting {
    font-family: 'Libre Baskerville', Georgia, serif;
    background: var(--div-bg, #0D1B2A);
    color: var(--div-text, #fff);
}

/* Division hero video background (no dark overlay) */
.div-hero--video {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.div-hero--video::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.42) 100%);
    pointer-events: none;
}

.div-hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.div-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Division nav */
.div-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 70px;
    background: var(--div-nav-bg);
    border-bottom: 1px solid var(--div-nav-bdr);
    backdrop-filter: blur(20px);
    color: white;
}

.div-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--div-text, #fff);
}

.div-nav-firm {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.div-nav-divider { opacity: 0.4; font-weight: 300; }

.div-nav-division {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    background: var(--div-badge-bg);
    color: var(--div-accent-lt);
}

.div-nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.div-nav-links a {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--div-link, rgba(255,255,255,0.75));
    transition: color 0.2s;
}

.div-nav-links a:hover { color: var(--div-text, #fff); }

.div-switch-btn {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border: 1px solid var(--div-accent);
    border-radius: 2px;
    background: transparent;
    color: var(--div-accent-lt);
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-block;
}

.div-switch-btn:hover {
    background: var(--div-badge-bg);
    color: var(--div-accent-lt);
}

/* Division hero */
.div-hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 48px;
    background: radial-gradient(ellipse at 40% 50%, var(--div-glow) 0%, transparent 60%), var(--div-bg);
}

.div-hero-eyebrow {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--div-accent-lt);
    margin-bottom: 24px;
    opacity: 0.85;
}

.div-hero-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 28px;
    max-width: 900px;
    color: var(--div-text, #fff);
}

.div-hero-title em { font-style: italic; }

.div-hero-sub {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.85;
    max-width: 660px;
    margin: 0 auto 48px;
    opacity: 0.8;
    color: var(--div-text, #fff);
}

.div-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Division buttons */
.div-btn-primary {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 40px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s;
    background: var(--div-accent);
    color: var(--div-btn-text, #0D1B2A);
}
body.division-ediscovery .div-btn-primary,
body.division-recruiting .div-btn-primary { color: #fff; }

.div-btn-primary:hover {
    background: var(--div-accent-lt);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--div-shadow);
}

.div-btn-outline {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 40px;
    border: 1px solid var(--div-accent);
    border-radius: 2px;
    background: transparent;
    color: var(--div-accent-lt);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s;
}

.div-btn-outline:hover {
    background: var(--div-badge-bg);
    color: var(--div-accent-lt);
}

/* Division stats bar */
.div-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 1px;
    background: rgba(255,255,255,0.08);
}

.div-stat-item {
    padding: 48px 24px;
    background: var(--div-bg-sec);
}

.div-stat-number {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--div-accent);
}

.div-stat-label {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.55;
}

/* Division sections */
.div-section {
    padding: 80px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.div-section-label {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--div-accent-lt);
    margin-bottom: 12px;
    opacity: 0.8;
}

.div-section-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--div-text, #fff);
}

.div-section-sub {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.72;
    max-width: 600px;
    margin-bottom: 48px;
    color: var(--div-text, #fff);
}

/* Division grid cards */
.div-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
}

.div-service-item {
    padding: 36px 32px;
    background: var(--div-bg-sec);
    transition: background 0.3s;
}

.div-service-item:hover { background: rgba(255,255,255,0.05); }

.div-service-name {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--div-text, #fff);
    line-height: 1.3;
}

.div-service-desc {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.6;
    color: var(--div-text, #fff);
}

.div-hero-image {
    background-size: cover;
    background-position: center;
}

.div-legal-prose {
    font-family: 'Libre Baskerville', Georgia, serif;
    line-height: 1.85;
    color: var(--div-text, #fff);
    opacity: 0.92;
}

.div-legal-prose h2,
.div-legal-prose h3,
.div-legal-prose h4 {
    font-family: 'Cormorant Garamond', serif;
    margin: 1.25rem 0 0.65rem;
    color: var(--div-text, #fff);
}

.div-legal-prose p,
.div-legal-prose ul,
.div-legal-prose ol {
    margin-bottom: 0.85rem;
}

.div-legal-prose a {
    color: var(--div-accent-lt);
}

/* Division contact form */
.div-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 760px;
}

.div-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.div-form-group.full { grid-column: 1 / -1; }

.div-form-label {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    color: var(--div-text, #fff);
}

.div-form-input,
.div-form-select,
.div-form-textarea {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.95rem;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    color: var(--div-text, #fff);
    outline: none;
    transition: border-color 0.25s;
    width: 100%;
}

.div-form-input:focus,
.div-form-select:focus,
.div-form-textarea:focus {
    border-color: var(--div-form-bdr);
}

.div-form-select option { background: #1B2A3B; color: white; }
.div-form-textarea { resize: vertical; min-height: 140px; }

/* Division footer */
.div-footer {
    background: var(--div-bg-sec);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 48px 48px 32px;
}

.div-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.div-footer-heading {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--div-accent-lt);
    margin-bottom: 16px;
}

.div-footer-text {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.85rem;
    line-height: 1.75;
    opacity: 0.6;
    color: var(--div-text, #fff);
}

.div-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.div-footer-links li { margin-bottom: 8px; }

.div-footer-links a {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

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

.div-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.div-footer-copy {
    font-family: 'Montserrat', 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.45;
    color: var(--div-text, #fff);
}

body[data-theme="dark"] .main-nav {
    background: #111827;
}

body[data-theme="dark"] .location-strip,
body[data-theme="dark"] .awards-strip,
body[data-theme="dark"] .table th,
body[data-theme="dark"] .table tr:hover {
    background: #1f2937;
    border-color: #374151;
    color: #e5e7eb;
}

body[data-theme="dark"] .attorney-card,
body[data-theme="dark"] .admin-card,
body[data-theme="dark"] .table td {
    background: #111827;
    color: #e5e7eb;
    border-color: #374151;
}

/* CTA band */
.div-cta-band {
    padding: 80px 48px;
    text-align: center;
    background: var(--div-bg-sec);
}

/* Gold divider line */
.div-gold-line {
    width: 60px;
    height: 1px;
    background: var(--div-accent);
    margin: 20px 0;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
    .div-nav { padding: 0 20px; }
    .div-nav-links { display: none; }
    .div-hero { padding: 60px 24px; min-height: 70vh; }
    .div-section { padding: 60px 24px; }
    .div-stats-bar { grid-template-columns: 1fr 1fr; }
    .div-services-grid { grid-template-columns: 1fr; }
    .div-form-grid { grid-template-columns: 1fr; }
    .div-form-group.full { grid-column: 1; }
    .div-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .div-footer { padding: 40px 24px 24px; }
    .div-cta-band { padding: 60px 24px; }
}

@media (max-width: 600px) {
    .div-footer-grid { grid-template-columns: 1fr; }
    .div-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
