/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES
   Criminal Lawyer Minnesota - Robert J. Shane (Modern Executive Redesign)
   ========================================================================== */

:root {
    /* Color Palette */
    --color-primary: #E10707;          /* Rich Crimson Red */
    --color-primary-hover: #FF2E2E;    /* Vibrant Red Glow */
    --color-primary-dark: #A30000;     /* Deep Red Accent */
    --color-gold: #D4AF37;             /* Legal Gold Highlight */
    
    /* Dark Theme Surfaces */
    --bg-dark-main: #0B0C0E;           /* Ultra Dark Slate */
    --bg-dark-card: #14171D;           /* Dark Glass Card */
    --bg-dark-card-hover: #1E232E;     /* Elevated Dark Card */
    
    /* Light Theme Surfaces */
    --bg-light-main: #F8FAFC;          /* Crisp Off-White Background */
    --bg-light-alt: #EDF2F7;           /* Slightly Darker Light Tint */
    --bg-light-card: #FFFFFF;          /* Pure White Card */
    
    /* Text Colors */
    --text-dark-main: #F0F2F5;         /* Light Text for Dark Sections */
    --text-dark-muted: #9BA3AF;       /* Muted Text for Dark Sections */
    --text-light-main: #0F172A;        /* Dark Navy Text for Light Sections */
    --text-light-muted: #475569;       /* Muted Text for Light Sections */
    
    /* Borders & Shadows */
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(225, 7, 7, 0.4);
    
    --shadow-light-card: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-dark-card: 0 12px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(225, 7, 7, 0.4);
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE RESET & UTILITIES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark-main);
    color: var(--text-dark-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

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

ul { list-style: none; }

/* Layout Containers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 6rem 0;
    position: relative;
}

/* Light Section Themes */
.section-light {
    background-color: var(--bg-light-main);
    color: var(--text-light-main);
}

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

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

.section-light-alt {
    background-color: var(--bg-light-alt);
    color: var(--text-light-main);
}

/* Section Subheadings */
.hero-pretitle {
    color: var(--color-primary-hover);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-preheading {
    color: var(--color-primary-hover);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section-preheading-light {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #E10707 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-light .text-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #E10707 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-dark-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Grids */
.grid {
    display: grid;
    gap: 2rem;
}

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

.align-center { align-items: center; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(225, 7, 7, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-hover);
    background: rgba(225, 7, 7, 0.1);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: 0.6s;
}

.btn-glow:hover::after {
    transform: rotate(45deg) translateY(100%);
}

.btn-block { width: 100%; }

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */

.top-bar {
    background: #060709;
    border-bottom: 1px solid var(--border-dark);
    padding: 0.55rem 0;
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    white-space: nowrap;
}

.top-link span {
    color: var(--color-primary-hover);
    font-weight: 700;
}

.top-socials {
    display: flex;
    gap: 1rem;
}

.top-socials a {
    color: var(--text-dark-muted);
    font-size: 0.9rem;
}

.top-socials a:hover {
    color: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* Header Navigation Bar */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 12, 14, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dark);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 1.5rem;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(225, 7, 7, 0.4);
}

.logo-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFF;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-tagline {
    display: block;
    font-size: 0.68rem;
    color: var(--color-primary-hover);
    letter-spacing: 2px;
    font-weight: 600;
    white-space: nowrap;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    white-space: nowrap;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark-main);
    padding: 0.6rem 0;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

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

.nav-item:hover > .nav-link,
.nav-item.active > .nav-link {
    color: var(--color-primary-hover);
}

.nav-item:hover > .nav-link::after,
.nav-item.active > .nav-link::after {
    width: 100%;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-dark-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition-fast);
}

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

.mega-dropdown {
    width: 680px;
    left: -120px;
    padding: 1.2rem;
}

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

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.dropdown-item i {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.dropdown-item strong {
    display: block;
    font-size: 0.88rem;
    color: #FFF;
    white-space: nowrap;
}

.dropdown-item p {
    font-size: 0.75rem;
    color: var(--text-dark-muted);
}

.dropdown-item:hover {
    background: rgba(225, 7, 7, 0.1);
    border-color: var(--border-glow);
    transform: translateX(4px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.search-trigger-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    color: var(--text-dark-main);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.search-trigger-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFF;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFF;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   URGENT POLICE WARNING RIBBON
   ========================================================================== */

.urgent-alert-banner {
    background: linear-gradient(90deg, #900000 0%, #E10707 50%, #900000 100%);
    color: #FFFFFF;
    padding: 0.85rem 0;
    box-shadow: 0 4px 15px rgba(225, 7, 7, 0.4);
}

.alert-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.alert-badge {
    background: #000;
    color: var(--color-primary-hover);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.alert-text {
    font-size: 0.93rem;
    line-height: 1.4;
}

.btn-alert-call {
    background: #000;
    color: #FFF;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-alert-call:hover {
    background: #FFF;
    color: #000;
}

/* ==========================================================================
   HERO SHOWCASE BANNER
   ========================================================================== */

.hero-showcase {
    position: relative;
    padding: 6rem 0 7rem;
    background: radial-gradient(circle at 70% 30%, rgba(225, 7, 7, 0.15) 0%, transparent 60%),
                linear-gradient(180deg, var(--bg-dark-main) 0%, #11141A 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-headline {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-dark-muted);
    margin-bottom: 2.2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-dark);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.trust-icon {
    width: 44px;
    height: 44px;
    background: rgba(225, 7, 7, 0.12);
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-hover);
    font-size: 1.2rem;
}

.trust-item strong {
    display: block;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: #FFF;
}

.trust-item span {
    font-size: 0.78rem;
    color: var(--text-dark-muted);
}

.hero-form-box {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-dark-card);
    position: relative;
    backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.hero-form-box:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.form-header-title {
    color: var(--color-gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
}

.hero-form-box h3 {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
}

.hero-form-box p {
    font-size: 0.88rem;
    color: var(--text-dark-muted);
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-group i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dark-muted);
    font-size: 0.95rem;
}

.input-group input,
.input-group select,
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.95rem 1.1rem 0.95rem 2.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    color: #FFF;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.input-group select option {
    background: var(--bg-dark-card);
    color: #FFF;
}

.input-group input:focus,
.input-group select:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 14px rgba(225, 7, 7, 0.3);
    background: rgba(255, 255, 255, 0.07);
}

/* ==========================================================================
   4-BLOCK NAVIGATION GRID (LIGHT SECTION)
   ========================================================================== */

.nav-blocks-section { padding: 5rem 0; }

.light-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: var(--shadow-light-card);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.light-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.light-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.light-icon-box {
    width: 58px;
    height: 58px;
    background: rgba(225, 7, 7, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

.light-card h3 {
    font-size: 1.3rem;
    color: var(--text-light-main);
    margin-bottom: 0.6rem;
}

.light-card p {
    font-size: 0.9rem;
    color: var(--text-light-muted);
    margin-bottom: 1.5rem;
}

.light-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ==========================================================================
   ABOUT ATTORNEY SECTION
   ========================================================================== */

.about-section { background: #0D0F14; }

.about-image-wrapper { position: relative; }

.attorney-avatar-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(145deg, #181C26, #0D0F14);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.avatar-icon {
    font-size: 9rem;
    color: rgba(255, 255, 255, 0.04);
}

.attorney-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.2rem;
    background: linear-gradient(to top, rgba(11, 12, 14, 0.95), transparent);
}

.attorney-info-overlay h4 {
    font-size: 1.5rem;
    color: #FFF;
}

.attorney-info-overlay p {
    color: var(--color-primary-hover);
    font-size: 0.9rem;
}

.attorney-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    padding: 1.2rem;
    border-radius: 50%;
    width: 115px;
    height: 115px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-glow);
    z-index: 5;
}

.badge-years {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: #FFF;
    line-height: 1;
}

.badge-text {
    font-size: 0.55rem;
    font-weight: 700;
    color: #FFF;
    letter-spacing: 0.5px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: rgba(225, 7, 7, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-hover);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: #FFF;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-dark-muted);
}

/* ==========================================================================
   PRACTICE AREAS GRID
   ========================================================================== */

.practice-card-light {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.2rem;
    box-shadow: var(--shadow-light-card);
    transition: var(--transition-smooth);
    position: relative;
}

.practice-card-light:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(225, 7, 7, 0.3);
}

.practice-card-light .practice-icon {
    width: 60px;
    height: 60px;
    background: rgba(225, 7, 7, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.7rem;
    margin-bottom: 1.4rem;
}

.practice-card-light h3 {
    font-size: 1.3rem;
    color: var(--text-light-main);
    margin-bottom: 0.8rem;
}

.practice-card-light p {
    font-size: 0.9rem;
    color: var(--text-light-muted);
    margin-bottom: 1.2rem;
}

.practice-list-light { margin-bottom: 1.5rem; }

.practice-list-light li {
    font-size: 0.85rem;
    color: var(--text-light-main);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.practice-list-light i {
    color: var(--color-primary);
    font-size: 0.75rem;
}

.card-link-light {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.card-link-light:hover { transform: translateX(4px); }

/* ==========================================================================
   CREDENTIALS & CASE RESULTS
   ========================================================================== */

.credentials-box {
    background: linear-gradient(135deg, #13161C, #0E1014);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
}

.credentials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cred-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 1.8rem;
    text-align: center;
    transition: var(--transition-fast);
}

.cred-card:hover {
    background: rgba(225, 7, 7, 0.06);
    border-color: var(--border-glow);
}

.cred-icon {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.cred-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: #FFF;
}

.cred-card p {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

/* Outcome Tags */
.result-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    padding: 2rem;
    transition: var(--transition-fast);
    text-decoration: none !important;
}

.result-card:hover { border-color: var(--border-glow); }

.result-outcome-tag {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.tag-acquitted { color: #4ADE80; }
.tag-dismissed { color: var(--color-primary-hover); }
.tag-diversion { color: #FACC15; }

.result-card h3 {
    font-size: 1.2rem;
    color: #FFF;
    margin-bottom: 0.6rem;
}

.result-details {
    font-size: 0.9rem;
    color: var(--text-dark-muted);
    margin-bottom: 1.2rem;
}

.result-meta {
    font-size: 0.8rem;
    color: var(--color-primary-hover);
    border-top: 1px solid var(--border-dark);
    padding-top: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */

.testimonial-slider-wrapper {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.testimonial-carousel {
    position: relative;
    min-height: 220px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    text-align: center;
    padding: 1.5rem;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.stars {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.55;
    font-style: italic;
    color: var(--text-light-main);
    margin-bottom: 1.5rem;
}

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

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

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-light-main);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFF;
}

.carousel-dots { display: flex; gap: 0.6rem; }

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--color-primary);
    width: 26px;
    border-radius: 10px;
}

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

.blog-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
}

.blog-image {
    height: 190px;
    background: linear-gradient(135deg, #1C202B, #101217);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-placeholder-icon {
    font-size: 3.8rem;
    color: rgba(255, 255, 255, 0.06);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-primary);
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
}

.blog-content { padding: 1.6rem; }

.blog-date {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    display: block;
    margin-bottom: 0.6rem;
}

.blog-card h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    color: #FFF;
    margin-bottom: 0.8rem;
}

.blog-card p {
    font-size: 0.88rem;
    color: var(--text-dark-muted);
    margin-bottom: 1.2rem;
}

.blog-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary-hover);
}

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

.contact-section {
    background: linear-gradient(180deg, var(--bg-dark-main) 0%, #080A0E 100%);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.contact-method-item:hover {
    border-color: var(--border-glow);
    background: var(--bg-dark-card-hover);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: rgba(225, 7, 7, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-hover);
    font-size: 1.3rem;
}

.contact-method-item span {
    font-size: 0.78rem;
    color: var(--text-dark-muted);
    display: block;
}

.contact-method-item strong {
    font-size: 1rem;
    color: #FFF;
}

.consultation-form-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-dark-card);
}

.consultation-form-card h3 {
    font-size: 1.5rem;
    color: #FFF;
    margin-bottom: 0.4rem;
}

.consultation-form-card p {
    font-size: 0.88rem;
    color: var(--text-dark-muted);
    margin-bottom: 1.8rem;
}

.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark-main);
}

.form-field input,
.form-field select,
.form-field textarea { padding-left: 1.1rem; }

.form-notice {
    font-size: 0.75rem;
    color: var(--text-dark-muted);
    text-align: center;
}

/* ==========================================================================
   PRE-FOOTER LEGAL ACTION RIBBON (UPDATED TO LIGHT CONTRAST THEME)
   ========================================================================== */

.pre-footer-ribbon {
    background: linear-gradient(135deg, #F8FAFC 0%, #EDF2F7 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    color: var(--text-light-main);
}

.pre-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.pre-footer-headline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.pre-footer-headline i {
    font-size: 2.2rem;
    color: var(--color-primary);
}

.pre-footer-headline h2 {
    font-size: 2.1rem;
    color: var(--text-light-main);
    font-family: var(--font-heading);
}

.pre-footer-content p {
    font-size: 1.05rem;
    color: var(--text-light-muted);
    max-width: 720px;
}

/* ==========================================================================
   REDESIGNED EXECUTIVE LEGAL FOOTER
   ========================================================================== */

.footer-modern {
    background: #040507;
    padding-top: 5rem;
    color: var(--text-dark-muted);
}

.footer-modern-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}

.footer-firm-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFF;
    letter-spacing: 1px;
}

.footer-firm-sub {
    display: block;
    font-size: 0.68rem;
    color: var(--color-primary-hover);
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-firm-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.footer-emergency-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    background: rgba(225, 7, 7, 0.08);
    border: 1px solid var(--border-glow);
    border-radius: 10px;
}

.footer-emergency-badge i {
    font-size: 1.5rem;
    color: var(--color-primary-hover);
}

.footer-emergency-badge strong {
    display: block;
    font-size: 0.78rem;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-emergency-badge a {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-primary-hover);
}

.footer-col-title {
    font-size: 1.1rem;
    color: #FFF;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--color-primary);
}

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

.footer-links-grid a {
    font-size: 0.88rem;
    color: var(--text-dark-muted);
    transition: var(--transition-fast);
}

.footer-links-grid a:hover {
    color: var(--color-primary-hover);
    transform: translateX(4px);
}

.footer-office-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-office-list li {
    display: flex;
    gap: 0.8rem;
    font-size: 0.88rem;
    align-items: flex-start;
}

.footer-office-list i {
    color: var(--color-primary);
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.footer-office-list a {
    color: var(--color-primary-hover);
    font-weight: 700;
}

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

.footer-social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark-muted);
    transition: var(--transition-fast);
}

.footer-social-icons a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFF;
    transform: translateY(-2px);
}

.footer-bottom-bar {
    border-top: 1px solid var(--border-dark);
    padding: 1.8rem 0;
    font-size: 0.82rem;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-disclaimer-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-disclaimer-links a:hover { color: #FFF; }

/* ==========================================================================
   SEARCH OVERLAY MODAL
   ========================================================================== */

.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 7, 9, 0.92);
    backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

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

.search-modal-content {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2.5rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-dark-card);
}

.search-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-dark-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

.search-close-btn:hover { color: #FFF; }

.search-modal-content h3 {
    margin-bottom: 1.5rem;
    color: #FFF;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-modal-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
}

.search-input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    color: #FFF;
    font-size: 1rem;
    outline: none;
}

.search-quick-tags {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-dark-muted);
}

.search-quick-tags a {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    color: var(--text-dark-main);
}

.search-quick-tags a:hover {
    background: var(--color-primary);
    color: #FFF;
}

/* ==========================================================================
   BACK TO TOP FLOATING BUTTON
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #FFF;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 1000;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary-hover);
    transform: translateY(-4px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1200px) {
    .nav-list { gap: 0.9rem; }
    .nav-link { font-size: 0.85rem; }
    .footer-modern-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .pre-footer-inner { flex-direction: column; text-align: center; }

    /* Enable mobile navigation menu and drawer layout on tablet & mobile */
    .top-bar { display: none; }
    .nav-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        color: #FFFFFF !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        font-size: 1.5rem !important;
        border: none !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 84px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 84px);
        background: var(--bg-dark-main);
        flex-direction: column;
        padding: 2rem;
        transition: 0.4s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active { left: 0; }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1.2rem;
    }

    .nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
    }
    
    /* Simple vertical stack for dropdown menus in drawer */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 0.5rem !important;
        margin-left: 1rem !important;
        width: calc(100% - 1rem) !important;
        display: none !important;
    }
    
    .dropdown.active .dropdown-menu { display: block !important; }
    .dropdown-grid { display: block !important; }

    /* Simplify dropdown items styling on mobile & tablet devices */
    .dropdown-item p {
        display: none !important;
    }
    .dropdown-item {
        background: transparent !important;
        border: none !important;
        padding: 0.5rem 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.6rem !important;
        text-decoration: none !important;
    }
    .dropdown-item i {
        font-size: 0.9rem !important;
        color: #ff2e2e !important;
    }
    .dropdown-item strong {
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        color: #FFFFFF !important;
        font-family: 'Inter', sans-serif !important;
    }
}

@media (max-width: 768px) {
    .alert-inner { flex-direction: column; text-align: center; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-headline { font-size: 2.2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-modern-grid { grid-template-columns: 1fr; }
    .footer-bottom-flex { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Hamburger toggle button hover color */
.nav-toggle:hover {
    background: transparent !important;
    color: #ff2e2e !important;
}

/* ==========================================================================
   MTZ ELEMENTOR WIDGET COMPATIBILITY PATCH
   ========================================================================== */

/* Force Font-Families & Styles */
.hero-showcase, 
.hero-showcase .hero-subtext,
.hero-showcase .btn,
.hero-showcase .trust-item span,
.hero-showcase .hero-quick-form input,
.hero-showcase .hero-quick-form select,
.hero-showcase .form-disclaimer,
.hero-showcase .hero-pretitle,
.hero-showcase .form-header-title {
    font-family: 'Inter', sans-serif !important;
}

.hero-showcase .hero-headline,
.hero-showcase .trust-item strong {
    font-family: 'Cinzel', serif !important;
}

.hero-showcase .hero-form-box h3 {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Navigation Menu link font size fix */
.nav-link {
    font-size: 1rem !important;
}

/* Headline Color Fix */
.hero-showcase .hero-headline {
    color: #FFFFFF !important;
}

/* Style all form labels in the hero section */
.hero-showcase .form-field label {
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.4rem !important;
    display: block !important;
    text-align: left !important;
}

/* Style all inputs, selects, and textareas in the hero form */
.hero-showcase .form-field input,
.hero-showcase .form-field select,
.hero-showcase .form-field textarea {
    width: 100% !important;
    padding: 0.95rem 1.1rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-dark) !important;
    border-radius: 8px !important;
    color: #FFF !important;
    font-size: 0.9rem !important;
    outline: none !important;
    transition: var(--transition-fast) !important;
    box-sizing: border-box !important;
}

.hero-showcase .form-field input:focus,
.hero-showcase .form-field select:focus,
.hero-showcase .form-field textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 14px rgba(225, 7, 7, 0.3) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

/* Style dropdown select menu option elements to fix white text on white bg */
.hero-showcase select option {
    background-color: #1A1D24 !important;
    color: #FFFFFF !important;
}

/* Spacing between form rows & fields */
.hero-showcase .form-row {
    margin-bottom: 1.2rem !important;
}
.hero-showcase .hero-quick-form > .form-field,
.hero-showcase .wpcf7-form > .form-field {
    margin-bottom: 1.2rem !important;
}

/* Fix Contact Form 7 Auto-p and br layout injection */
.hero-form-box br {
    display: none !important;
}
.hero-showcase .form-field p {
    display: contents !important;
}

/* Section Background & Sizing */
.hero-showcase {
    background: radial-gradient(circle at 70% 30%, rgba(225, 7, 7, 0.15) 0%, transparent 60%),
                linear-gradient(180deg, #0B0C0E 0%, #11141A 100%) !important;
    padding: 6rem 0 7rem !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Force Grid layout for columns */
.hero-showcase .hero-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 3.5rem !important;
    align-items: center !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
}


/* Buttons style override */
.hero-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.2rem !important;
    margin-bottom: 3rem !important;
}
.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    padding: 0.85rem 1.8rem !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif !important;
}

/* Primary button hover behavior (applies to both hero actions and form buttons) */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(225, 7, 7, 0.35) !important;
    border: none !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-glow) !important;
    color: #FFFFFF !important;
}

/* Outline button hover behavior */
.btn-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--text-dark-main) !important;
}

.btn-outline:hover {
    border-color: var(--color-primary) !important;
    color: var(--color-primary-hover) !important;
    background: rgba(225, 7, 7, 0.1) !important;
}

/* Trust Bar */
.hero-trust-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2rem !important;
    padding-top: 1.8rem !important;
    border-top: 1px solid var(--border-dark) !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    .hero-trust-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.2rem !important;
    }
}

.trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
}

.trust-icon {
    width: 44px !important;
    height: 44px !important;
    background: rgba(225, 7, 7, 0.12) !important;
    border: 1px solid var(--border-glow) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--color-primary-hover) !important;
    font-size: 1.2rem !important;
}

.trust-item strong {
    display: block !important;
    font-size: 1.1rem !important;
    color: #FFF !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
}

.trust-item span {
    font-size: 0.78rem !important;
    color: var(--text-dark-muted) !important;
    line-height: 1.2 !important;
}

/* Form Box styles */
.hero-right-form .hero-form-box {
    background: var(--bg-dark-card) !important;
    border: 1px solid var(--border-dark) !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    box-shadow: var(--shadow-dark-card) !important;
    position: relative !important;
    backdrop-filter: blur(16px) !important;
    transition: var(--transition-smooth) !important;
    width: 100% !important;
}

.hero-right-form .hero-form-box:hover {
    border-color: var(--border-glow) !important;
    box-shadow: var(--shadow-glow) !important;
}

/* Contact Form 7 Form Integration Styling */
.hero-quick-form .wpcf7-form-control-wrap {
    display: block !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
}

.hero-quick-form input.wpcf7-text,
.hero-quick-form input.wpcf7-tel,
.hero-quick-form input.wpcf7-email,
.hero-quick-form select.wpcf7-select,
.hero-quick-form textarea.wpcf7-textarea {
    width: 100% !important;
    padding: 0.95rem 1.1rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-dark) !important;
    border-radius: 8px !important;
    color: #FFF !important;
    font-size: 0.9rem !important;
    outline: none !important;
    transition: var(--transition-fast) !important;
    box-sizing: border-box !important;
}

.hero-quick-form input.wpcf7-text:focus,
.hero-quick-form input.wpcf7-tel:focus,
.hero-quick-form input.wpcf7-email:focus,
.hero-quick-form select.wpcf7-select:focus,
.hero-quick-form textarea.wpcf7-textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 14px rgba(225, 7, 7, 0.3) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

.hero-quick-form select.wpcf7-select option {
    background: var(--bg-dark-card) !important;
    color: #FFF !important;
}

.hero-quick-form .wpcf7-submit {
    display: block !important;
    width: 100% !important;
    margin-top: 1rem !important;
}

.hero-quick-form .wpcf7-not-valid-tip {
    color: #FF2E2E !important;
    font-size: 0.8rem !important;
    margin-top: 0.2rem !important;
    display: block !important;
}

.hero-quick-form .wpcf7-response-output {
    border: 1px solid var(--border-dark) !important;
    border-radius: 8px !important;
    padding: 0.8rem !important;
    margin-top: 1rem !important;
    font-size: 0.85rem !important;
    color: #FFF !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

/* Navigation Blocks Compatibility Styles */
.light-card {
    text-decoration: none !important;
}
.light-card h3 {
    font-family: 'Cinzel', serif !important;
    color: #11141A !important;
    font-weight: 700 !important;
}
.light-card p {
    font-family: 'Inter', sans-serif !important;
    color: #555555 !important;
    line-height: 1.6 !important;
}
.light-card-footer span {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: #E10707 !important;
}
.light-card-footer i {
    color: #E10707 !important;
    transition: transform 0.25s ease !important;
}
.light-card:hover .light-card-footer i {
    transform: translateX(5px) !important;
}

/* ==========================================================================
   MOBILE & TABLET OVERRIDES (LOADED LAST FOR HIGHEST SPECIFICITY)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-showcase {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 4rem 0 5rem !important;
        position: relative !important;
    }
    .hero-showcase .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding: 0 1.5rem !important; /* Align side spacing with the global container */
    }
    .hero-showcase .hero-headline {
        font-size: 2.6rem !important;
    }
}

@media (max-width: 576px) {
    .hero-showcase .hero-headline {
        font-size: 2.1rem !important;
    }
    .hero-actions {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .hero-actions .btn {
        width: 100% !important;
        margin: 0 !important;
    }
    .hero-right-form .hero-form-box {
        padding: 1.5rem !important; /* Reduce inner padding to make form fields match the buttons and text width */
    }
}

/* Attorney Profile Compatibility Overrides */
.about-section h2.section-title {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
.about-text-content .section-preheading {
    font-family: 'Inter', sans-serif !important;
    color: var(--color-primary-hover) !important;
    font-weight: 700 !important;
}
.about-text-content .section-description {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-muted) !important;
    line-height: 1.6 !important;
}
.feature-item h4 {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}
.feature-item p {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-muted) !important;
    line-height: 1.5 !important;
}
.attorney-info-overlay h4 {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}
.attorney-info-overlay p {
    font-family: 'Inter', sans-serif !important;
    color: var(--color-primary-hover) !important;
}
.badge-years {
    font-family: 'Cinzel', serif !important;
}
.badge-text {
    font-family: 'Inter', sans-serif !important;
}

/* Reset Elementor reset.css heading margins inside all our custom widget sections */
.hero-showcase h1, .hero-showcase h2, .hero-showcase h3, .hero-showcase h4, .hero-showcase h5, .hero-showcase h6,
.nav-blocks-section h1, .nav-blocks-section h2, .nav-blocks-section h3, .nav-blocks-section h4, .nav-blocks-section h5, .nav-blocks-section h6,
.about-section h1, .about-section h2, .about-section h3, .about-section h4, .about-section h5, .about-section h6,
.offenses-section h1, .offenses-section h2, .offenses-section h3, .offenses-section h4, .offenses-section h5, .offenses-section h6,
.credentials-box h1, .credentials-box h2, .credentials-box h3, .credentials-box h4, .credentials-box h5, .credentials-box h6,
.results-grid h1, .results-grid h2, .results-grid h3, .results-grid h4, .results-grid h5, .results-grid h6,
.case-results-section h1, .case-results-section h2, .case-results-section h3, .case-results-section h4, .case-results-section h5, .case-results-section h6,
.testimonials-section h1, .testimonials-section h2, .testimonials-section h3, .testimonials-section h4, .testimonials-section h5, .testimonials-section h6,
.blog-section h1, .blog-section h2, .blog-section h3, .blog-section h4, .blog-section h5, .blog-section h6,
.contact-section h1, .contact-section h2, .contact-section h3, .contact-section h4, .contact-section h5, .contact-section h6,
.consultation-form-card h1, .consultation-form-card h2, .consultation-form-card h3, .consultation-form-card h4, .consultation-form-card h5, .consultation-form-card h6,
.pre-footer-ribbon h1, .pre-footer-ribbon h2, .pre-footer-ribbon h3, .pre-footer-ribbon h4, .pre-footer-ribbon h5, .pre-footer-ribbon h6,
.urgent-alert-banner h1, .urgent-alert-banner h2, .urgent-alert-banner h3, .urgent-alert-banner h4, .urgent-alert-banner h5, .urgent-alert-banner h6, .urgent-alert-banner p {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Re-apply correct static design margins using specificity and !important */
.hero-showcase .hero-headline {
    margin-bottom: 1.5rem !important;
}
.hero-showcase .hero-form-box h3 {
    margin-bottom: 0.5rem !important;
}
.light-card h3 {
    margin-bottom: 0.6rem !important;
}
.feature-item h4 {
    margin-bottom: 0.2rem !important;
}
.about-section h2.section-title {
    margin-bottom: 1.5rem !important;
}
.offenses-section h2.section-title {
    margin-bottom: 1.5rem !important;
}
.practice-card-light h3 {
    margin-bottom: 0.8rem !important;
}
.credentials-header h2 {
    margin-bottom: 3rem !important;
}
.cred-card h4 {
    margin-bottom: 0.6rem !important;
}
.result-card h3 {
    margin-bottom: 0.6rem !important;
}
.case-results-section h2.section-title {
    margin-bottom: 1.5rem !important;
}
.blog-section h2.section-title {
    margin-bottom: 1.5rem !important;
}
.blog-card h3 {
    margin-bottom: 0.8rem !important;
}
.testimonials-section h2.section-title {
    margin-bottom: 1.5rem !important;
}
.contact-section h2.section-title {
    margin-bottom: 1.5rem !important;
}
.consultation-form-card h3 {
    margin-bottom: 0.4rem !important;
}

/* Practice Areas Section Overrides */
.offenses-section h2.section-title {
    font-family: 'Cinzel', serif !important;
    color: #11141A !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
.offenses-section .section-preheading-light {
    font-family: 'Inter', sans-serif !important;
    color: var(--color-primary-hover) !important;
    font-weight: 700 !important;
}
.offenses-section .section-subtitle {
    font-family: 'Inter', sans-serif !important;
    color: #555555 !important;
    line-height: 1.6 !important;
}
.practice-card-light h3 {
    font-family: 'Cinzel', serif !important;
    color: #11141A !important;
    font-weight: 700 !important;
}
.practice-card-light p {
    font-family: 'Inter', sans-serif !important;
    color: #555555 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.2rem !important;
}
.practice-list-light li {
    font-family: 'Inter', sans-serif !important;
    color: #11141A !important;
    line-height: 1.5 !important;
}
.card-link-light {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    text-decoration: none !important;
}
.card-link-light i {
    transition: transform 0.25s ease !important;
}
.card-link-light:hover i {
    transform: translateX(4px) !important;
}

/* Credentials Section Overrides */
.credentials-header h2 {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}
.credentials-header .section-preheading {
    font-family: 'Inter', sans-serif !important;
    color: var(--color-primary-hover) !important;
    font-weight: 700 !important;
}
.cred-card h4 {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    margin-bottom: 0.6rem !important;
}
.cred-card p {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-muted) !important;
    line-height: 1.5 !important;
}

/* Case Results Section Overrides */
.results-grid h3 {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}
.result-details {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-muted) !important;
    line-height: 1.6 !important;
}
.result-meta span {
    font-family: 'Inter', sans-serif !important;
    color: var(--color-primary-hover) !important;
    font-weight: 600 !important;
}

.case-results-section h2.section-title {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
.case-results-section .section-preheading {
    font-family: 'Inter', sans-serif !important;
    color: var(--color-primary-hover) !important;
    font-weight: 700 !important;
}
.case-results-section .section-title .text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #E10707 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.credentials-section {
    padding-bottom: 0 !important;
}

.case-results-section {
    background: transparent !important;
    padding: 3.5rem 0 5rem !important;
}

/* Testimonials Section Overrides */
body .testimonials-section h2.section-title,
body .testimonials-section h2.section-title span,
body .testimonials-section h2 {
    font-family: 'Cinzel', serif !important;
    color: #11141A !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
body .testimonials-section .text-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #E10707 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
.testimonials-section .section-preheading-light {
    font-family: 'Inter', sans-serif !important;
    color: var(--color-primary-hover) !important;
    font-weight: 700 !important;
}
.testimonial-quote {
    font-family: 'Cinzel', serif !important;
    font-size: 1.35rem !important;
    line-height: 1.55 !important;
    font-style: italic !important;
    color: #11141A !important;
}
.testimonial-author strong {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.05rem !important;
    color: var(--color-primary) !important;
}
.testimonial-author span {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    color: var(--text-light-muted) !important;
}

/* Blog Section Overrides */
body .blog-section h2.section-title,
body .blog-section h2.section-title span,
body .blog-section h2 {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
body .blog-section .text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #E10707 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
.blog-section .section-preheading {
    font-family: 'Inter', sans-serif !important;
    color: var(--color-primary-hover) !important;
    font-weight: 700 !important;
}
.blog-section .section-subtitle {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-muted) !important;
    line-height: 1.6 !important;
}
.blog-card h3 {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}
.blog-card p {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-muted) !important;
    line-height: 1.6 !important;
}
.blog-link {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: var(--color-primary-hover) !important;
    text-decoration: none !important;
}
.blog-link i {
    transition: transform 0.25s ease !important;
}
.blog-link:hover i {
    transform: translateX(4px) !important;
}

.blog-category {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
}

/* Contact Section & Form Overrides */
body .contact-section h2.section-title,
body .contact-section h2.section-title span,
body .contact-section h2 {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
body .contact-section .text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #E10707 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
.contact-section .section-preheading {
    font-family: 'Inter', sans-serif !important;
    color: var(--color-primary-hover) !important;
    font-weight: 700 !important;
}
.contact-section .section-description {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-muted) !important;
    line-height: 1.6 !important;
}
.contact-method-item span {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-muted) !important;
}
.contact-method-item strong {
    font-family: 'Inter', sans-serif !important;
    color: #FFFFFF !important;
}
body .consultation-form-card h3 {
    font-family: 'Cinzel', serif !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}
.consultation-form-card p {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-muted) !important;
}
.form-field label {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-main) !important;
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: 'Inter', sans-serif !important;
    color: #FFFFFF !important;
}
.form-notice {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark-muted) !important;
}

/* Uniform input, select, and textarea styling for both forms (including CF7) */
.hero-form-box input,
.hero-form-box select,
.hero-form-box textarea,
.consultation-form-card input,
.consultation-form-card select,
.consultation-form-card textarea,
.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100% !important;
    height: 50px !important;
    padding: 0 1.2rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-dark) !important;
    border-radius: 8px !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: var(--transition-fast) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* Textareas should not have a locked height, but a min-height */
.hero-form-box textarea,
.consultation-form-card textarea,
.wpcf7-form textarea {
    height: auto !important;
    min-height: 120px !important;
    padding: 0.95rem 1.2rem !important;
}

/* Since select has appearance: none, we should add a beautiful SVG dropdown arrow icon on the right */
.hero-form-box select,
.consultation-form-card select,
.wpcf7-form select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.1rem center !important;
    background-size: 1.5rem !important;
    padding-right: 2.8rem !important;
}

/* Focus states */
.hero-form-box input:focus,
.hero-form-box select:focus,
.hero-form-box textarea:focus,
.consultation-form-card input:focus,
.consultation-form-card select:focus,
.consultation-form-card textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 14px rgba(225, 7, 7, 0.3) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

/* Styling for option dropdown values inside select tags to prevent white-on-white text in modern browsers */
.hero-form-box select option,
.consultation-form-card select option,
.wpcf7-form select option,
select option {
    background-color: #1A1D24 !important;
    color: #FFFFFF !important;
}

/* Pre-Footer Ribbon Overrides */
body .pre-footer-ribbon h2 {
    font-family: 'Cinzel', serif !important;
    color: var(--text-light-main) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin-bottom: 0 !important;
}
.pre-footer-headline i {
    font-size: 2.2rem !important;
    background: linear-gradient(135deg, #0F172A 0%, #E10707 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
.pre-footer-content p {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-light-muted) !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    margin-block-end: 0 !important;
    margin-block-start: 0 !important;
}

/* Urgent Alert Banner Overrides */
.urgent-alert-banner p.alert-text {
    font-family: 'Inter', sans-serif !important;
    color: #FFFFFF !important;
    font-size: 0.93rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    margin-block-end: 0 !important;
    margin-block-start: 0 !important;
}
.alert-badge {
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
}
.btn-alert-call {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Force scroll-reveal elements to be visible and editable inside the Elementor editor preview */
.elementor-editor-active .reveal,
.elementor-editor-active .reveal-left,
.elementor-editor-active .reveal-right,
.elementor-editor-active .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

