/* ============================================
   CASH4CRASHES - Theme System
   CSS Variables-Based Theming for Scalability
   ============================================ */


/* ----------------------------------------
   1. CSS VARIABLES (ROOT)
   ---------------------------------------- */

:root {
    /* Primary Colors */
    --primary-color: #0b2c4d;
    --primary-light: #1a4a75;
    --primary-dark: #061b2f;
    /* Secondary Colors */
    --secondary-color: #1f6fb2;
    --secondary-light: #3a8acc;
    --secondary-dark: #155285;
    /* Accent Colors */
    --accent-color: #f5b942;
    --accent-light: #ffd06a;
    --accent-dark: #d99e2e;
    /* Neutral Colors */
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #e9ecef;
    --text-color: #1a1a1a;
    --text-muted: #6c757d;
    --text-light: #ffffff;
    /* Status Colors */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.2);
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', var(--font-primary);
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 2rem;
    --spacing-4xl: 6rem;
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50px;
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-tooltip: 1060;
}


/* ----------------------------------------
   2. GLOBAL RESET & BASE STYLES
   ---------------------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

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

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

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

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

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


/* ----------------------------------------
   3. BOOTSTRAP OVERRIDES
   ---------------------------------------- */

.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
}


/* Cards */

.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.card-img-top {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}


/* Forms */

.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 2px solid var(--bg-dark);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.15);
}


/* Navbar */

.navbar {
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background-color: var(--bg-color) !important;
    box-shadow: var(--shadow-md);
}


/* ----------------------------------------
   4. CUSTOM COMPONENTS
   ---------------------------------------- */


/* Hero Section */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 44, 77, 0.92) 0%, rgba(31, 111, 178, 0.85) 100%);
    z-index: 1;
}

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

.hero-content a {
    color: var( --accent-dark);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
    /* text-align: center; */
    display: block;
    /* margin: auto; */
}


/* Trust Badges */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.trust-badge i {
    color: var(--accent-color);
    font-size: 1.25rem;
}


/* Section Styling */

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

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-3xl);
}

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

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

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


/* Multi-Step Form */

.form-step-container {
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bg-dark);
    transform: translateY(-50%);
    z-index: 0;
}

.progress-bar-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    background: var(--secondary-color);
    transform: translateY(-50%);
    z-index: 1;
    transition: width var(--transition-slow);
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
}

.progress-step.active {
    background: var(--secondary-color);
    color: var(--text-light);
    transform: scale(1.1);
}

.progress-step.completed {
    background: var(--success-color);
    color: var(--text-light);
}

.form-step {
    display: none;
    animation: fadeSlideIn 0.4s ease;
}

.form-step.active {
    display: block;
}

.step-title {
    font-size: var(--font-size-2xl);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}


/* Option Cards */

.option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-md);
}

.option-card {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.option-card:hover {
    border-color: var(--secondary-light);
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: var(--secondary-color);
    background: rgba(31, 111, 178, 0.1);
}

.option-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.option-card span {
    display: block;
    font-weight: 600;
    color: var(--text-color);
}


/* How It Works */

.step-card {
    text-align: center;
    padding: var(--spacing-xl);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 2rem;
    color: var(--text-light);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--primary-dark);
}


/* Accident Type Cards */

.accident-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
}

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

.accident-card:hover img {
    transform: scale(1.08);
}

.accident-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(to top, rgba(11, 44, 77, 0.95) 0%, transparent 100%);
}

.accident-card-title {
    color: var(--text-light);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 0;
}


/* Stats Section */

.stat-item {
    text-align: center;
    padding: var(--spacing-xl);
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
}


/* Testimonials */

.testimonial-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-location {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}


/* Breadcrumbs in dark sections */

.bg-primary-gradient .breadcrumb,
.section-dark .breadcrumb {
    background: transparent;
}

.bg-primary-gradient .breadcrumb-item+.breadcrumb-item::before,
.section-dark .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.bg-primary-gradient .breadcrumb-item.active,
.section-dark .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}


/* Sticky Header */

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

.sticky-header.scrolled {
    background: var(--bg-color);
    box-shadow: var(--shadow-md);
}

.navbar-brand .site-logo {
    display: block;
    width: auto;
    height: 42px;
}

.navbar-brand .site-logo-dark {
    display: none;
}

@media (max-width: 991.98px) {
    .navbar-brand .site-logo {
        height: 36px;
    }
    .sticky-header.scrolled .navbar-brand .site-logo-light {
        display: none;
    }
    .sticky-header.scrolled .navbar-brand .site-logo-dark {
        display: block;
    }
    .sticky-header .navbar-toggler {
        border: none !important;
        box-shadow: none !important;
        padding: 0.25rem 0.35rem;
    }
    .sticky-header .navbar-toggler:focus {
        box-shadow: none !important;
        outline: none;
    }
    .sticky-header .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .sticky-header.scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(80,152,214,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .sticky-header .navbar-collapse {
        background: #fff;
        border-radius: 14px;
        margin-top: 0.75rem;
        padding: 0.75rem 0.5rem;
        box-shadow: 0 12px 30px rgba(12, 29, 46, 0.16);
    }
    .sticky-header .navbar .nav-link,
    .sticky-header .navbar .dropdown-toggle,
    .sticky-header .navbar .dropdown-item {
        color: var(--primary-dark) !important;
    }
    .sticky-header .navbar .dropdown-menu {
        background: #fff;
        border: 1px solid rgba(12, 29, 46, 0.12);
    }
    .sticky-header .navbar .dropdown-item:hover,
    .sticky-header .navbar .dropdown-item:focus {
        background: rgba(12, 29, 46, 0.06);
        color: var(--primary-dark) !important;
    }
}

@media (min-width: 992px) {
    .sticky-header.scrolled .navbar .nav-link {
        color: var(--secondary-color) !important;
    }
    .sticky-header.scrolled .navbar .nav-link:hover,
    .sticky-header.scrolled .navbar .nav-link:focus {
        color: var(--secondary-dark) !important;
    }
    .sticky-header.scrolled .navbar .header-phone,
    .sticky-header.scrolled .navbar .header-phone i {
        color: var(--secondary-color) !important;
    }
    .sticky-header.scrolled .navbar-brand .site-logo-light {
        display: none;
    }
    .sticky-header.scrolled .navbar-brand .site-logo-dark {
        display: block;
    }
}


/* Sidebar CTA */

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    color: var(--text-light);
    /* position: sticky; */
    top: 100px;
    /* z-index: 99999999999999 !important; */
}

.sidebar-phone-cta {
    position: static;
}

.sidebar-cta h4 {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}


/* Mobile Bottom Bar */

.mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: var(--spacing-md);
    display: none;
    gap: var(--spacing-sm);
    z-index: var(--z-fixed);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-bar.is-hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .mobile-bar {
        display: flex;
    }
}

.mobile-bar .btn {
    flex: 1;
    padding: 0.875rem;
}


/* Exit Intent Modal */

.exit-modal .modal-content {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.exit-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: var(--spacing-xl);
}

.exit-modal .modal-title {
    color: var(--text-light);
}

.exit-modal .btn-close {
    filter: brightness(0) invert(1);
}


/* Footer */

.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

.site-footer .footer-logo {
    display: block;
    width: auto;
    height: 44px;
}

.site-footer h5 {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}


/* ----------------------------------------
   5. ANIMATIONS
   ---------------------------------------- */

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

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

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

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


/* Animation Classes */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.slide-up {
    animation: slideUp 0.6s ease forwards;
}


/* Delay utilities */

.delay-1 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
    transition-delay: 0.5s;
}


/* ----------------------------------------
   6. RESPONSIVE ADJUSTMENTS
   ---------------------------------------- */

@media (max-width: 991.98px) {
     :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }
    .hero-section {
        min-height: 70vh;
    }
    .section {
        padding: var(--spacing-3xl) 0;
    }
    .desktop-only {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
     :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }
    .hero-section {
        min-height: 60vh;
        padding-top: 80px;
    }
    .form-step-container {
        padding: var(--spacing-lg);
        margin: 0 var(--spacing-md);
    }
    .trust-badges {
        justify-content: center;
    }
    body {
        padding-bottom: 80px;
        /* Space for mobile bar */
    }
}

@media (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }
}


/* ----------------------------------------
   7. UTILITY CLASSES
   ---------------------------------------- */

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

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

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

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

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

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

.border-accent {
    border-color: var(--accent-color) !important;
}

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

.shadow-strong {
    box-shadow: var(--shadow-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}


/* ============================================
   8. NEW HOMEPAGE LAYOUT STYLES
   ============================================ */


/* Homepage Hero */

.home-hero {
    min-height: 920px;
    background-position: 24% 14%;
}

.home-hero::before {
    background: linear-gradient(90deg, rgba(15, 53, 89, 0.75) 0%, rgba(29, 83, 127, 0.68) 52%, rgba(29, 83, 127, 0.72) 100%);
}

.home-hero .container {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    padding-bottom: 80px;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.95fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
}

.home-hero-title {
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.44rem, 3.48vw, 3.12rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
}

.home-hero-subtitle {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 1.6vw, 2rem);
    line-height: 1.45;
    margin: 0 0 2rem;
}

.home-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.home-hero-pill::before {
    content: '';
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #f2be3f;
}

.home-hero-stats {
    margin-top: 1.55rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 760px;
}

.home-hero-stat {
    text-align: center;
}

.home-hero-stat-value {
    color: var(--accent-color);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 1.8vw, 2.3rem);
    font-weight: 800;
    line-height: 1.1;
}

.home-hero-stat-label {
    margin-top: 0.35rem;
    color: rgba(220, 235, 247, 0.9);
    font-size: clamp(0.72rem, 0.8vw, 0.98rem);
    font-weight: 600;
    line-height: 1.25;
}

.home-feature-section {
    background: #f6f9fc;
    padding: clamp(2.2rem, 5vw, 4.5rem) 0;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3.1vw, 3rem);
    align-items: center;
}

.home-feature-media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(10, 32, 52, 0.16);
    display: block;
}

.home-feature-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-color);
    margin-bottom: 0.65rem;
}

.home-feature-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.9rem, 3.1vw, 3.2rem);
    line-height: 1.12;
    margin: 0 0 1rem;
    color: var(--primary-dark);
}

.home-feature-content p {
    color: #29435d;
    font-size: clamp(1rem, 1.1vw, 1.18rem);
    line-height: 1.7;
    margin: 0 0 1rem;
}

.home-feature-cta {
    margin-top: 0.45rem;
    min-height: 52px;
    font-weight: 700;
}

.hero-intake-card {
    background: linear-gradient(165deg, rgba(59, 123, 187, 0.94) 0%, rgba(51, 111, 173, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    padding: 1.8rem;
    box-shadow: 0 34px 88px rgba(7, 27, 49, 0.34);
    backdrop-filter: blur(6px);
}

.hero-intake-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-bottom: 1.7rem;
    margin-bottom: 1.6rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.14);
}

.hero-intake-tab {
    border: 2px solid rgba(160, 200, 235, 0.38);
    border-radius: 16px;
    min-height: 78px;
    padding: 0.9rem 1.35rem;
    background: rgba(131, 171, 213, 0.1);
    color: rgba(238, 246, 253, 0.92);
    font-size: clamp(1.05rem, 0.95vw, 1.3rem);
    font-weight: 700;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    transition: all var(--transition-fast);
}

.hero-intake-tab i {
    font-size: 1.25rem;
}

.hero-intake-tab:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(165, 199, 235, 0.18);
}

.hero-intake-tab.active {
    border-color: transparent;
    background: var(--accent-color);
    color: #12253b;
}

.hero-intake-tab-full {
    grid-column: 1 / 2;
    justify-self: stretch;
}

.hero-intake-form {
    display: grid;
    gap: 1.25rem;
}

.hero-intake-field label {
    display: block;
    margin-bottom: 0.65rem;
    color: rgba(225, 237, 248, 0.74);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-intake-field select,
.hero-intake-field input {
    width: 100%;
    min-height: 74px;
    border-radius: 18px;
    border: 2px solid rgba(157, 198, 234, 0.42);
    background: rgba(129, 170, 213, 0.12);
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.02rem;
    padding: 1rem 1.1rem;
}

.hero-intake-field select:focus,
.hero-intake-field input:focus {
    border-color: rgba(255, 211, 92, 0.85);
    box-shadow: none;
    outline: none;
}

.hero-intake-field input::placeholder {
    color: rgba(227, 238, 247, 0.62);
}

.hero-intake-field select option {
    color: #102a43;
}

.hero-intake-submit {
    margin-top: 0.45rem;
    width: 100%;
    min-height: 78px;
    border-radius: 14px;
    font-size: clamp(1.22rem, 1.8vw, 1.92rem);
    font-weight: 700;
}


/* Section Styling Extras */

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

.section-header {
    margin-bottom: var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.section-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.section-link a:hover {
    color: var(--primary-color);
    gap: 0.75rem;
}


/* Accident Types Grid */

.accident-types-showcase {
    background: #e8e8e8;
    padding: 4.25rem 0 3.25rem;
}

.accident-types-showcase .container {
    max-width: 980px;
}

.showcase-title {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    font-size: clamp(2rem, 4.25vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.showcase-title-accent {
    color: var(--accent-color);
}

.showcase-subtitle {
    color: var(--text-muted);
    font-size: clamp(1.02rem, 1.35vw, 1.6rem);
    margin: 0 0 2.45rem;
}

.accident-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
}

.accident-showcase-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    min-height: 260px;
}

.accident-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.accident-showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 44, 86, 0.05) 32%, rgba(8, 44, 86, 0.93) 100%);
}

.accident-showcase-card span {
    position: absolute;
    left: 1.15rem;
    right: 6.3rem;
    bottom: 0.95rem;
    color: #fff;
    font-size: clamp(1.15rem, 1.28vw, 1.58rem);
    font-weight: 700;
    line-height: 1.2;
}

.accident-showcase-card::after {
    content: '\2192';
    position: absolute;
    right: 1.15rem;
    bottom: 0.85rem;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
}

.showcase-cta {
    margin-top: 2.25rem;
}

.showcase-cta-btn {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #10233a;
    min-width: 360px;
    min-height: 66px;
    border-radius: 3px;
    font-size: clamp(1.15rem, 1.35vw, 1.5rem);
    font-weight: 700;
    padding: 0.95rem 1.5rem;
}

.showcase-cta-btn:hover,
.showcase-cta-btn:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #0d1e33;
}

.accident-types-panel {
    background: linear-gradient(165deg, rgba(58, 122, 185, 0.94) 0%, rgba(49, 109, 170, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 34px;
    padding: clamp(1rem, 2.4vw, 1.8rem);
    box-shadow: 0 22px 70px rgba(6, 29, 52, 0.2);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 auto;
}

.type-card {
    background: rgba(129, 171, 214, 0.12);
    border: 2px solid rgba(162, 202, 236, 0.42);
    border-radius: 18px;
    padding: 0.8rem;
    text-align: left;
    text-decoration: none;
    color: var(--text-light);
    transition: all var(--transition-base);
    cursor: pointer;
    min-height: 244px;
    display: flex;
    flex-direction: column;
}

.type-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 30px rgba(9, 37, 64, 0.26);
    color: var(--text-light);
}

.type-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-bottom: 0.85rem;
}

.type-card h3 {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #f5f9ff;
}

.type-card span {
    font-size: 0.84rem;
    color: rgba(227, 238, 247, 0.82);
}


/* Steps Grid (How It Works) */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bg-dark), var(--bg-dark), transparent);
    z-index: 0;
}

.step-card {
    background: var(--bg-color);
    border: 1px solid var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-light);
    box-shadow: var(--shadow-lg);
}

.step-card .step-number {
    position: static;
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto var(--spacing-lg);
    color: var(--primary-dark);
}

.step-card .step-icon {
    width: 64px;
    height: 64px;
    background: rgba(31, 111, 178, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--secondary-color);
    font-size: 1.75rem;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}


/* Calculator Section */

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.calculator-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.calculator-content p {
    color: var(--text-muted);
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.calculator-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl) 0;
}

.calculator-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-color);
}

.calculator-features li i {
    color: var(--success-color);
}

.calculator-widget {
    background: var(--bg-color);
    border: 1px solid var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--bg-dark);
}

.widget-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.widget-badge {
    background: rgba(31, 111, 178, 0.1);
    color: var(--secondary-color);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.widget-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.widget-field label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.widget-field select,
.widget-field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-dark);
    background: var(--bg-light);
    color: var(--text-color);
    font-size: 0.95rem;
    font-family: inherit;
}

.widget-result {
    background: linear-gradient(135deg, rgba(31, 111, 178, 0.1) 0%, rgba(31, 111, 178, 0.05) 100%);
    border: 1px solid rgba(31, 111, 178, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.widget-result-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.widget-result-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.widget-result-range {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: 0.5rem;
}


/* Testimonials Carousel */

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-color);
    border: 1px solid var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.quote-icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 185, 66, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--accent-color);
    font-size: 1.25rem;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--accent-color);
}

.testimonial-carousel .testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
    font-style: normal;
}

.testimonial-carousel .testimonial-author {
    justify-content: center;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light);
    background: var(--secondary-color);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: var(--font-size-base);
}

.author-info span {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-xl);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 5px;
}


/* Video Testimonials */

.video-testimonials-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #eef5fc 0%, #ffffff 65%);
}

.video-testimonials-section::before {
    content: "";
    position: absolute;
    left: -12%;
    right: -12%;
    bottom: 12%;
    height: 220px;
    background: radial-gradient(circle at center, rgba(31, 111, 178, 0.16) 0%, rgba(31, 111, 178, 0) 70%);
    pointer-events: none;
}

.video-testimonials-section .container {
    position: relative;
    z-index: 1;
}

.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
}

.video-testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(11, 44, 77, 0.12);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(11, 44, 77, 0.12);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.video-testimonial-card:nth-child(2) {
    transform: translateY(14px);
}

.video-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(11, 44, 77, 0.2);
    border-color: rgba(31, 111, 178, 0.35);
}

.video-testimonial-card:nth-child(2):hover {
    transform: translateY(8px);
}

.video-testimonial-media {
    position: relative;
    aspect-ratio: 4 / 5;
    min-height: 360px;
    background: var(--primary-light);
}

.video-testimonial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-testimonial-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 44, 77, 0.08) 0%, rgba(11, 44, 77, 0.2) 40%, rgba(11, 44, 77, 0.65) 100%);
    pointer-events: none;
}

.video-top-meta {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

.video-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.36rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--primary-dark);
    background: rgba(245, 185, 66, 0.95);
    border: 1px solid rgba(6, 27, 47, 0.12);
}

.video-play-btn {
    position: absolute;
    left: 0.9rem;
    bottom: 0.9rem;
    z-index: 2;
    border: 1px solid rgba(11, 44, 77, 0.12);
    border-radius: 999px;
    padding: 0.56rem 0.92rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.video-play-btn i {
    width: 1.32rem;
    height: 1.32rem;
    border-radius: 50%;
    background: var(--secondary-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
}

.video-play-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(11, 44, 77, 0.22);
    color: var(--primary-color);
}

.video-testimonial-content {
    margin-top: 0;
    padding: 0 1rem 1rem;
    color: var(--text-color);
}

.video-rating {
    color: var(--accent-color);
    letter-spacing: 0.08rem;
    font-size: 0.82rem;
    margin-bottom: 0.3rem;
}

.video-testimonial-content h3 {
    color: var(--primary-color);
    font-size: 1.07rem;
    margin: 0;
}

.video-case-type {
    margin: 0.12rem 0 0.4rem;
    font-size: 0.82rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.video-testimonial-copy {
    margin: 0 0 0.72rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-color);
}

.video-result-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 0.36rem 0.78rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border: 1px solid rgba(11, 44, 77, 0.15);
}


/* Trust Logos Section */

.trust-logos-section {
    background: var(--bg-light);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--bg-dark);
}

.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.logo-placeholder {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-muted);
    letter-spacing: -0.5px;
}


/* Final CTA Section */

.final-cta {
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 185, 66, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cta-box h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.cta-phone-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}


/* Responsive Styles for New Layout */

@media (max-width: 991.98px) {
    .accident-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .showcase-cta-btn {
        min-width: 320px;
    }
    .home-hero {
        min-height: auto;
        background-position: 34% 16%;
    }
    .home-hero .container {
        padding-top: 120px;
        padding-bottom: 56px;
    }
    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .home-hero-title {
        font-size: clamp(1.32rem, 6vw, 2.4rem);
    }
    .home-feature-grid {
        grid-template-columns: 1fr;
    }
    .home-hero-subtitle {
        max-width: 100%;
    }
    .home-hero-pill {
        min-height: 62px;
    }
    .home-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 520px;
    }
    .hero-intake-card {
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
        padding: 1.4rem;
    }
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    .calculator-content {
        text-align: center;
    }
    .video-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
        gap: 1.1rem;
    }
    .video-testimonial-card:nth-child(2),
    .video-testimonial-card:nth-child(2):hover {
        transform: none;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .home-hero .container {
        padding-top: 104px;
        padding-bottom: 44px;
    }
    .home-hero {
        background-position: 40% 18%;
    }
    .home-hero-title {
        line-height: 1.08;
        margin-bottom: 1.1rem;
    }
    .home-feature-section {
        padding: 2.2rem 0;
    }
    .home-feature-media img {
        border-radius: 14px;
    }
    .home-feature-content h2 {
        font-size: 1.7rem;
    }
    .home-feature-content p {
        font-size: 0.98rem;
    }
    .home-feature-cta {
        width: 100%;
    }
    .home-hero-subtitle {
        font-size: 1.07rem;
        margin-bottom: 1.3rem;
    }
    .home-hero-pill {
        /* width: 100%; */
        min-height: 44px;
        border-radius: 18px;
        font-size: 0.82rem;
    }
    .home-hero-stats {
        margin-top: 1rem;
        gap: 0.9rem 0.8rem;
    }
    .home-hero-stat-value {
        font-size: 1.35rem;
    }
    .home-hero-stat-label {
        font-size: 0.72rem;
    }
    .hero-intake-card {
        border-radius: 22px;
        padding: 1.1rem;
    }
    .hero-intake-tabs {
        gap: 0.65rem;
        padding-bottom: 1.1rem;
        margin-bottom: 1.1rem;
    }
    .hero-intake-tab {
        min-height: 58px;
        padding: 0.7rem;
        font-size: 0.93rem;
        gap: 0.55rem;
    }
    .hero-intake-submit {
        min-height: 58px;
        font-size: 1.18rem;
    }
    .accident-types-showcase {
        padding: 3rem 0 2.5rem;
    }
    .showcase-title {
        font-size: clamp(1.7rem, 9.5vw, 2.35rem);
    }
    .showcase-subtitle {
        font-size: 1rem;
        margin-bottom: 1.55rem;
    }
    .accident-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .accident-showcase-card {
        min-height: 220px;
    }
    .accident-showcase-card span {
        right: 4.85rem;
    }
    .accident-showcase-card::after {
        width: 46px;
        height: 46px;
        font-size: 1.6rem;
        right: 0.8rem;
        bottom: 0.7rem;
    }
    .showcase-cta-btn {
        min-width: 100%;
        min-height: 56px;
        font-size: 1.1rem;
    }
    .accident-types-panel {
        border-radius: 22px;
        padding: 0.8rem;
    }
    .types-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .type-card {
        min-height: 185px;
        padding: 0.62rem;
    }
    .type-card h3 {
        font-size: 0.95rem;
    }
    .type-card span {
        font-size: 0.72rem;
    }
    .testimonial-carousel {
        padding: var(--spacing-xl);
    }
    .testimonial-carousel .testimonial-text {
        font-size: 1.1rem;
    }
    .video-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .video-testimonial-media {
        min-height: 340px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-buttons .btn {
        width: 100%;
    }
}


/* ============================================
   9. PAGE TEMPLATE STYLES
   ============================================ */


/* Compact Hero (for inner pages) */

.hero-compact {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: var(--spacing-3xl);
}

.hero-compact .hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.hero-compact .hero-subtitle {
    font-size: var(--font-size-lg);
    max-width: 700px;
}


/* Injuries Page Redesign */

.injuries-redesign-hero {
    background: #214b79;
    padding-top: clamp(4.875rem, 9vw, 9rem);
    padding-bottom: clamp(2.5rem, 5vw, 5rem);
}

.injuries-redesign-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.injuries-redesign-copy h1 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 5.1rem);
    line-height: 1.05;
    margin: 0 0 1rem;
}

.injuries-redesign-copy h1 span {
    color: var(--accent-color);
}

.injuries-redesign-copy p {
    color: rgba(236, 244, 252, 0.95);
    font-size: clamp(1rem, 1.35vw, 2rem);
    line-height: 1.55;
    margin: 0 0 1.15rem;
    max-width: 650px;
}

.injuries-redesign-copy ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.injuries-redesign-copy li {
    color: #f1f7fd;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.injuries-redesign-copy li i {
    color: #cfd9e2;
}

.injuries-redesign-hero-media img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.injuries-redesign-fact {
    background: #ececec;
    padding: clamp(2.4rem, 5vw, 4.6rem) 0;
}

.injuries-redesign-fact-wrap {
    position: relative;
    min-height: 470px;
}

.injuries-redesign-fact-media {
    max-width: 700px;
}

.injuries-redesign-fact-media img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.injuries-redesign-fact-card {
    position: absolute;
    right: 0;
    top: 24px;
    width: min(100%, 630px);
    background: rgba(67, 102, 142, 0.9);
    color: #fff;
    border-radius: 24px;
    padding: clamp(1.3rem, 2.5vw, 2rem);
    font-size: clamp(1.03rem, 1.25vw, 1.8rem);
    line-height: 1.42;
    font-weight: 600;
}

@media (min-width: 992px) {
    .injuries-redesign-fact-card.accidents-fact-card {
        top: 96px;
        max-width: 660px;
        font-size: clamp(0.94rem, 1.02vw, 1.14rem);
        line-height: 1.55;
    }
}

.injuries-redesign-fact-card.accidents-fact-card p {
    margin: 0 0 0.78rem;
}

.injuries-redesign-fact-card.accidents-fact-card p:last-of-type {
    margin-bottom: 0.66rem;
}

.injuries-redesign-fact-card.accidents-fact-card ul {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.3rem;
}

.injuries-redesign-fact-card.accidents-fact-card li {
    font-size: 0.96em;
}

.injuries-redesign-process {
    background: #ececec;
    padding: 0 0 clamp(2.4rem, 5vw, 4.8rem);
}

.injuries-redesign-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    gap: clamp(1.5rem, 3vw, 2.6rem);
    align-items: start;
}

.injuries-redesign-process-copy h2 {
    color: #0f3156;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.85rem, 4.2vw, 4.3rem);
    line-height: 1.1;
    margin: 0 0 0.9rem;
}

.injuries-redesign-process-copy h2 span {
    color: var(--accent-color);
}

.injuries-redesign-process-copy p {
    color: #1f3f5f;
    font-size: clamp(1rem, 1.2vw, 1.55rem);
    margin: 0 0 0.65rem;
}

.injuries-redesign-process-copy ol {
    margin: 0;
    padding-left: 1.2rem;
    color: #16385a;
    font-size: clamp(1rem, 1.1vw, 1.4rem);
    line-height: 1.58;
}

.injuries-redesign-process-media {
    position: relative;
    min-height: 560px;
}

.process-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(11, 37, 63, 0.18);
}

.process-image img {
    width: 100%;
    display: block;
}

.process-image-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 78%;
}

.process-image-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 68%;
}

.injuries-faq-section {
    background: #f6f8fb;
}

.injuries-subhub-showcase {
    padding-top: clamp(2.3rem, 4.2vw, 4rem);
    padding-bottom: clamp(2.5rem, 4.8vw, 4.5rem);
}


/* Featured state hero */

.state-feature-hero {
    background: linear-gradient(140deg, #0b2c4d 0%, #1a4a75 52%, #2a699f 100%);
}

.state-feature-hero::before {
    display: none;
}

.state-feature-hero .container {
    padding-top: clamp(66px, 5.9vw, 83px);
    padding-bottom: clamp(34px, 5vw, 58px);
}

.state-feature-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: clamp(1.25rem, 3vw, 2.4rem);
    align-items: end;
}

.state-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.46rem 0.92rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #eef6ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.state-feature-pill-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent-color);
}

.state-feature-copy .hero-title {
    margin-top: 0.9rem;
    margin-bottom: 0.85rem;
    font-size: clamp(2rem, 4.2vw, 3.45rem);
}

.state-feature-copy .hero-subtitle {
    max-width: 60ch;
    margin-bottom: 1.15rem;
}

.state-feature-media {
    width: min(100%, 430px);
    justify-self: end;
}

.state-feature-media img {
    width: 100%;
    display: block;
    border-radius: 22px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 18px 30px rgba(6, 25, 42, 0.28);
}

.state-feature-fact {
    margin-top: 0.85rem;
    background: rgba(7, 30, 52, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    color: #f4f8fc;
    backdrop-filter: blur(2px);
}

.state-feature-fact h3 {
    margin: 0 0 0.45rem;
    color: #fff;
    font-size: 0.96rem;
}

.state-feature-fact ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.32rem;
}

.state-feature-fact li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.7rem;
    font-size: 0.82rem;
}

.state-feature-fact li span {
    color: rgba(226, 240, 255, 0.84);
}

.state-feature-fact li strong {
    color: #fff;
    text-align: right;
}

@media (min-width: 992px) {
    .state-feature-copy {
        position: relative;
        top: -81px;
    }
}

@media (max-width: 991.98px) {
    .state-feature-hero .container {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    .state-feature-hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.15rem;
    }
    .state-feature-media {
        width: 100%;
        max-width: 560px;
        justify-self: center;
    }
    .state-feature-actions .btn {
        width: 100%;
        max-width: 340px;
    }
}

@media (max-width: 767.98px) {
    .state-feature-hero .container {
        padding-top: 55px;
        padding-bottom: 32px;
    }
    .state-feature-pill {
        font-size: 0.75rem;
        padding: 0.4rem 0.78rem;
    }
    .state-feature-copy .hero-title {
        font-size: clamp(1.85rem, 9vw, 2.5rem);
    }
    .state-feature-copy .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .state-feature-media img {
        border-radius: 16px;
        padding: 0.36rem;
    }
    .state-feature-fact {
        padding: 0.68rem 0.76rem;
    }
    .state-feature-fact li {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }
    .state-feature-fact li strong {
        text-align: left;
    }
}

.states-directory-section {
    background: #eef3f8;
}

.states-directory-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.states-directory-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 130px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 22px rgba(10, 37, 63, 0.18);
}

.states-directory-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.states-directory-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 44, 86, 0.1) 38%, rgba(8, 44, 86, 0.9) 100%);
}

.states-directory-card span {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.55rem;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.15;
}

.injuries-image-reveal {
    transform: translateY(32px) scale(0.97);
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.injuries-image-reveal.animated {
    transform: translateY(0) scale(1);
    opacity: 1;
}

@media (max-width: 991.98px) {
    .states-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .injuries-redesign-hero-grid,
    .injuries-redesign-process-grid {
        grid-template-columns: 1fr;
    }
    .injuries-redesign-fact-wrap {
        min-height: unset;
        display: grid;
        gap: 1rem;
    }
    .injuries-redesign-fact-card {
        position: static;
        width: 100%;
    }
    .injuries-redesign-process-media {
        min-height: unset;
        display: grid;
        gap: 1rem;
    }
    .process-image-top,
    .process-image-bottom {
        position: static;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .states-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .states-directory-card {
        min-height: 112px;
    }
    .states-directory-card span {
        font-size: 0.8rem;
    }
    .injuries-redesign-hero {
        padding-top: 4.2rem;
        padding-bottom: 2.1rem;
    }
    .injuries-redesign-copy h1 {
        font-size: 2.6rem;
    }
    .injuries-redesign-copy p {
        font-size: 1.05rem;
    }
    .injuries-redesign-fact,
    .injuries-redesign-process {
        padding-bottom: 2.2rem;
    }
    .injuries-redesign-process-copy ol {
        padding-left: 1rem;
    }
}


/* Content Blocks */

.content-block h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-lg);
}

.content-block h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.content-block p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.content-block ul,
.content-block ol {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.content-block li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}


/* Legal Essay Pages */

.legal-essay-section {
    background: #f6f8fc;
}

.legal-essay-shell {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.25rem, 2vw, 2.25rem);
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(20, 35, 55, 0.08);
}

.legal-essay-header {
    text-align: center;
    margin-bottom: clamp(1rem, 2vw, 1.75rem);
}

.legal-essay-title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    color: #13253a;
}

.legal-essay-content {
    color: #26374c;
    line-height: 1.8;
}

.legal-essay-content h2,
.legal-essay-content h3,
.legal-essay-content h4 {
    margin-top: 1.5rem;
    color: #13253a;
}

.legal-essay-content p,
.legal-essay-content ul,
.legal-essay-content ol {
    margin-bottom: 0.95rem;
}

.legal-essay-content ul,
.legal-essay-content ol {
    padding-left: 1.35rem;
}

.legal-essay-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e6eaf2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.legal-essay-link {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-essay-link:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .legal-essay-shell {
        padding: 1rem;
    }
}


/* Inline CTA */

.cta-inline {
    border: none;
}

.cta-inline h4 {
    font-size: var(--font-size-xl);
}


/* Sidebar Form */

.sidebar-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.sidebar-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.sidebar-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    color: var(--text-light);
}


/* Accordion Styles */

.accordion-button {
    font-weight: 600;
    padding: var(--spacing-lg);
    background: var(--bg-color);
}

.accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.15);
}

.accordion-body {
    padding: var(--spacing-lg);
    line-height: 1.8;
}


/* Hover Shadow Effect */

.hover-shadow {
    transition: all var(--transition-base);
}

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


/* Animation Delays */

.delay-0 {
    transition-delay: 0ms;
}

.delay-1 {
    transition-delay: 100ms;
}

.delay-2 {
    transition-delay: 200ms;
}

.delay-3 {
    transition-delay: 300ms;
}


/* Results Box (for tools) */

.results-box {
    border: 2px solid var(--bg-dark);
}


/* Type Card improvements for hub pages */

.type-card .badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
}


/* Breadcrumbs in hero */

.hero-section .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.hero-section .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.hero-section .breadcrumb-item a:hover {
    color: var(--text-light);
}

.hero-section .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.hero-section .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}


/* Print Styles */

@media print {
    .hero-section,
    .sidebar-cta,
    .mobile-bar,
    .final-cta,
    .cta-inline {
        display: none !important;
    }
    .content-block {
        page-break-inside: avoid;
    }
}


/* ----------------------------------------
   HERO COMPACT & IMAGE SUPPORT
   ---------------------------------------- */


/* Compact hero for inner pages */

.hero-compact {
    min-height: auto !important;
    padding: 120px 0 var(--spacing-2xl);
}

@media (max-width: 991.98px) {
    .hero-compact {
        padding-top: 104px;
    }
}

@media (max-width: 767.98px) {
    .hero-compact {
        padding-top: 96px;
    }
}


/* Hero with background image */

.hero-with-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Hero overlay for text readability */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 44, 77, 0.88) 0%, rgba(31, 111, 178, 0.82) 100%);
    z-index: 1;
}


/* Ensure container is above overlay */

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


/* ----------------------------------------
   CONTENT IMAGES
   ---------------------------------------- */


/* Responsive content images */

.content-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: var(--spacing-lg) 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.content-image.animate-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Image with caption */

.content-image-wrapper {
    margin: var(--spacing-xl) 0;
}

.content-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.content-image-wrapper figcaption {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--spacing-sm);
    font-style: italic;
}


/* Side-by-side image and text */

.content-with-image {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
    margin: var(--spacing-xl) 0;
}

.content-with-image .content-image {
    flex: 0 0 40%;
    max-width: 40%;
    margin: 0;
}

@media (max-width: 768px) {
    .content-with-image {
        flex-direction: column;
    }
    .content-with-image .content-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Settlement Calculator V1 */

.home-settlement-calculator {
    border: 1px solid rgba(11, 44, 77, 0.12);
    border-radius: 1rem;
    box-shadow: 0 20px 45px rgba(8, 30, 52, 0.14);
    background: linear-gradient(165deg, #ffffff 0%, #f7fbff 100%);
}

.home-settlement-calculator .widget-header {
    margin-bottom: 1rem;
}

.calc-progress {
    margin-bottom: 1rem;
}

.calc-step-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.45rem;
}

.calc-progress-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(11, 44, 77, 0.1);
    overflow: hidden;
}

.calc-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--secondary-color) 0%, #5fb4ff 100%);
    transition: width 0.32s ease;
}

.calc-error {
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.calc-step {
    display: none;
    animation: calc-fade-slide 0.32s ease;
}

.calc-step.active {
    display: block;
}

.calc-step-title {
    margin: 0 0 0.95rem;
    font-size: 1.14rem;
    color: var(--primary-dark);
}

.calc-injury-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.calc-injury-card {
    border: 1px solid rgba(11, 44, 77, 0.12);
    border-radius: 0.85rem;
    background: #ffffff;
    text-align: left;
    padding: 0.75rem;
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 120px;
}

.calc-injury-card:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 111, 178, 0.55);
    box-shadow: 0 10px 20px rgba(8, 30, 52, 0.1);
}

.calc-injury-card.selected {
    border-color: var(--secondary-color);
    background: rgba(31, 111, 178, 0.06);
    box-shadow: 0 8px 18px rgba(31, 111, 178, 0.18);
}

.calc-injury-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 111, 178, 0.13);
    color: var(--secondary-color);
    margin-bottom: 0.45rem;
}

.calc-injury-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.calc-injury-desc {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.home-settlement-calculator .widget-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color);
}

.home-settlement-calculator .widget-field select,
.home-settlement-calculator .widget-field input {
    border: 1px solid rgba(11, 44, 77, 0.18);
    border-radius: 0.75rem;
    background: #fff;
}

.home-settlement-calculator .widget-field select:focus,
.home-settlement-calculator .widget-field input:focus {
    border-color: rgba(31, 111, 178, 0.65);
    box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.16);
    outline: none;
}

.calc-hint {
    margin-top: 0.45rem;
    display: block;
    color: var(--text-muted);
    font-size: 0.76rem;
}

.calc-nav {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.calc-nav .btn {
    min-height: 44px;
}

.calc-processing {
    border-radius: 0.9rem;
    border: 1px solid rgba(31, 111, 178, 0.18);
    background: rgba(31, 111, 178, 0.05);
    text-align: center;
    padding: 1.2rem 1rem;
}

.calc-spinner {
    display: inline-flex;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.calc-spinner span {
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 999px;
    background: var(--secondary-color);
    animation: calc-pulse 0.92s ease-in-out infinite;
}

.calc-spinner span:nth-child(2) {
    animation-delay: 0.12s;
}

.calc-spinner span:nth-child(3) {
    animation-delay: 0.24s;
}

.calc-processing-message {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 600;
}

.home-calc-result {
    margin-bottom: 0.8rem;
}

.calc-result-values {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.calc-result-range-low,
.calc-result-range-high {
    font-size: clamp(1.7rem, 4.4vw, 2.25rem);
    font-weight: 800;
    color: var(--secondary-color);
}

.calc-range-sep {
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.calc-disclaimer {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.calc-value-drivers {
    list-style: none;
    margin: 0 0 0.95rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.calc-value-drivers li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    color: var(--primary-dark);
    font-size: 0.84rem;
    line-height: 1.4;
}

.calc-value-drivers i {
    margin-top: 0.12rem;
    color: var(--secondary-color);
}

@keyframes calc-fade-slide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes calc-pulse {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.55;
    }
    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .home-settlement-calculator {
        margin-top: 0.3rem;
    }
    .calc-injury-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .calc-injury-grid {
        grid-template-columns: 1fr;
    }
    .calc-nav {
        flex-wrap: wrap;
    }
    .calc-nav .btn,
    .home-settlement-calculator #calcToLeadformCta {
        width: 100%;
    }
}