/* =========================================================
   Design tokens
   Root font-size is 10px (set by Bootstrap), so 1rem = 10px.
   ========================================================= */
:root {
    /* Brand — deep blue, anchored on the logo palette */
    --brand-900: #16324f;   /* headings, footer */
    --brand-800: #1b4a73;
    --brand-700: #215a8c;
    --brand-600: #2f6fb0;
    --brand-500: #337ab7;   /* legacy anchor — harmonizes with inline banner blue */
    --brand-400: #6fa3d6;
    --brand-200: #b7cee8;
    --brand-100: #e8f0f8;   /* tint background */
    --brand-050: #f4f8fc;

    /* CTA accent — modern emerald */
    --accent:       #16a34a;
    --accent-hover: #15803d;
    --accent-100:   #dcfce7;

    /* Neutrals */
    --ink:     #1a2230;   /* body text */
    --muted:   #5b6472;
    --line:    #e4e8ee;   /* borders */
    --surface: #f6f8fb;
    --bg:      #ffffff;

    /* Status */
    --error:   #dc2626;
    --success: #16a34a;

    /* Radius */
    --radius-sm:   8px;
    --radius:      12px;
    --radius-lg:   16px;
    --radius-pill: 999px;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(16, 32, 64, .06), 0 1px 3px rgba(16, 32, 64, .05);
    --shadow:    0 6px 20px rgba(16, 32, 64, .08);
    --shadow-lg: 0 20px 45px rgba(16, 32, 64, .12);

    /* Type */
    --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --transition: .2s ease;
}


/* =========================================================
   Base
   ========================================================= */
html {
    scroll-behavior: smooth;
}

body, html {
    height: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin: 0;
    max-width: 100vw;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--brand-900);
    letter-spacing: -.01em;
}

a {
    color: var(--brand-600);
    transition: color var(--transition);
}

a:hover {
    color: var(--brand-800);
}

:focus-visible {
    outline: 3px solid rgba(47, 111, 176, .45);
    outline-offset: 2px;
}


/* =========================================================
   Header / Navbar
   ========================================================= */
header {
    background-color: #fff;
}

.navbar {
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
    min-height: 0;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

.navbar h4 {
    font-size: 30px !important;
    font-weight: 600;
    color: var(--brand-600);
}

/* Phone number click-to-call */
.ringto {
    font-size: 30px !important;
    font-weight: 700;
    color: var(--brand-700);
    line-height: 1.1;
}

.ringto a {
    color: var(--brand-700);
    text-decoration: none;
}

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

.navbar h5 {
    font-size: 22px !important;
    font-weight: 600;
}

/* "Get a Free Case Evaluation" eyebrow label */
.ringtocta {
    font-size: 15px !important;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.navbar-title {
    width: 100%;
    font-weight: 700;
    font-size: 32px !important;
}

.navbar-title img {
    width: 100%;
    max-width: 220px;
}


/* =========================================================
   Professional header (index)
   ========================================================= */
.site-header {
    padding: 12px 0;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark svg {
    display: block;
    width: 44px;
    height: 44px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 21px;
    color: var(--brand-900);
    letter-spacing: -.01em;
}

.brand-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3px;
}

.header-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.header-cta-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--accent);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .01em;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(22, 163, 74, .28);
    transition: all var(--transition);
}

.phone-pill:hover {
    background: var(--accent-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(22, 163, 74, .34);
}

.phone-ic {
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 600px) {
    .header-bar {
        justify-content: center;
        gap: 14px;
    }

    .brand {
        justify-content: center;
    }

    .header-cta {
        align-items: center;
        width: 100%;
    }

    .phone-pill {
        width: 100%;
        justify-content: center;
        font-size: 22px;
        padding: 13px 20px;
    }
}


/* =========================================================
   Hero
   ========================================================= */
.hero-image {
    /* Brand-tinted gradient overlay for depth + readable white text */
    background-image:
        linear-gradient(120deg, rgba(15, 30, 48, .90) 0%, rgba(22, 50, 79, .72) 45%, rgba(22, 50, 79, .48) 100%),
        url("../images/accident_bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-content {
    padding-top: 3.5em !important;
    padding-bottom: 3.5em;
}

.oc-content {
    font-family: var(--font-head);
    color: #fff;
}

.oc-content h1 {
    color: #fff;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.oc-content h2 {
    color: #eaf1f9;
    font-weight: 600;
    font-size: clamp(18px, 2.2vw, 23px);
    line-height: 1.4;
}

/* Hero benefit bullets with modern check markers */
.content-ul {
    list-style: none;
    padding-left: 0;
    margin-top: 26px;
}

.content-li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 12px;
}

.content-li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .15em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
    box-shadow: 0 2px 6px rgba(22, 163, 74, .35);
}

.content-li p {
    margin: 0;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.45;
}


/* =========================================================
   Content sections (.content-section)
   ========================================================= */
.content-section {
    padding: 56px 0;
}

.content-section h2 {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: clamp(22px, 2.6vw, 28px);
}

.content-section p {
    padding: 8px 0;
    /* No forced color — inherit so dark-bg banners keep their white text */
}

.content-section ul {
    padding-left: 1.2em;
}

.content-section ul li {
    margin-bottom: 6px;
    padding-left: 4px;
}

.content-section ul li::marker {
    color: var(--accent);
}

/* Responsive card grid — replaces flat bullet lists so content fills the
   width instead of leaving dead space. */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    color: var(--brand-900);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-ic {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-100);
    color: var(--accent);
}

.feature-ic svg {
    width: 18px;
    height: 18px;
}


/* =========================================================
   Trust bar
   ========================================================= */
.trust-bar {
    background: var(--brand-050);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 220px;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--brand-900);
}

.trust-ic {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--brand-100);
    color: var(--brand-600);
    box-shadow: var(--shadow-sm);
}

.trust-ic svg {
    width: 21px;
    height: 21px;
}


/* =========================================================
   Section heading block
   ========================================================= */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
    margin: 0 0 12px;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
    margin: 0;
}


/* =========================================================
   How It Works — steps
   ========================================================= */
.steps-section {
    padding: 64px 0;
    background: #fff;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 26px 26px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--brand-600), var(--brand-900));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 18px;
    box-shadow: 0 8px 18px rgba(47, 111, 176, .3);
}

.step-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 10px;
}

.step-card p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.55;
    margin: 0;
}


/* =========================================================
   Page hero (title band for legal / secondary pages)
   ========================================================= */
.page-hero {
    background: linear-gradient(120deg, var(--brand-900) 0%, var(--brand-600) 100%);
    padding: 46px 0;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 34px);
    margin: 0;
    letter-spacing: -.01em;
}

.page-hero p {
    color: #cfe0f2;
    font-size: 16px;
    margin: 10px 0 0;
}


/* =========================================================
   Professional footer
   ========================================================= */
.site-footer {
    padding: 0;
    text-indent: 0;
}

.site-footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    padding: 44px 0 32px;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    color: #fff;
}

.footer-logo svg {
    width: 34px;
    height: 34px;
}

.footer-brand p {
    color: #9fb2c6;
    font-size: 15px;
    line-height: 1.6;
    margin: 14px 0 18px;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
}

.footer-phone svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.footer-phone:hover {
    color: var(--brand-200);
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6f8296;
    margin-bottom: 4px;
}

.site-footer .footer-links a {
    color: #cdd7e2;
    font-size: 15px;
    white-space: nowrap;
}

.site-footer .footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 18px 0;
    font-size: 13px;
    color: #7f92a6;
}

@media screen and (max-width: 600px) {
    .steps-section {
        padding: 44px 0;
    }
    .site-footer .footer-top {
        gap: 24px;
        padding: 32px 0 24px;
    }
    .trust-item {
        justify-content: flex-start;
    }
}


/* ---------------------------------------------------------
   Inline dark/colored sections (blue CTA banners + black
   disclaimer) declare white text on the section itself.
   The global heading colour + .content-section paragraph rules would
   otherwise override that inherited white and render the
   text dark/invisible. Keep it white and full-width here.
   --------------------------------------------------------- */
[style*="color: #fff"] h1, [style*="color: #fff"] h2, [style*="color: #fff"] h3,
[style*="color: #fff"] h4, [style*="color: #fff"] h5, [style*="color: #fff"] h6,
[style*="color:#fff"] h1, [style*="color:#fff"] h2, [style*="color:#fff"] h3,
[style*="color: #FFF"] h2, [style*="color: white"] h2 {
    color: #fff;
}

[style*="color: #fff"] p, [style*="color:#fff"] p,
[style*="color: #FFF"] p, [style*="color: white"] p {
    color: #fff;
    max-width: none !important;
}

/* Blue CTA banners → modern brand gradient, centered */
section[style*="#337ab7"] {
    background: linear-gradient(120deg, var(--brand-800) 0%, var(--brand-500) 100%) !important;
    text-align: center;
}

section[style*="#337ab7"] h2 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* The "See How Much" banner button → white on the blue gradient */
section[style*="#337ab7"] .btn {
    background: #fff;
    color: var(--brand-800);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    width: auto;
    padding-left: 34px;
    padding-right: 34px;
}

section[style*="#337ab7"] .btn:hover {
    background: var(--brand-050);
    color: var(--brand-900);
    transform: translateY(-1px);
}


/* =========================================================
   Footer
   ========================================================= */
.oc-footer {
    min-height: 0;
    padding: 26px 3em;
    text-indent: 0;
    background: var(--brand-900);
    color: #cdd7e2;
    font-size: 15px;
    line-height: 2;
}

.oc-footer a {
    color: #cdd7e2;
    transition: color var(--transition);
    white-space: nowrap;
}

.oc-footer a:hover {
    text-decoration: none;
    color: #fff;
}


/* =========================================================
   Responsive
   ========================================================= */
@media screen and (min-width: 600px) {
    .only-mobile {
        display: none !important;
    }
}

@media screen and (max-width: 600px) {

    .navbar-header {
        text-align: center;
    }

    .navbar-title {
        font-size: 22px !important;
    }

    .navbar h4 {
        font-size: 20px !important;
    }

    .ringto {
        font-size: 22px !important;
    }

    .navbar h5 {
        font-size: 18px !important;
        margin-top: 16px;
    }

    .ringtocta {
        font-size: 13px !important;
        margin-top: 16px;
    }

    .hero-content {
        padding-top: 1.5em !important;
    }

    .no-mobile {
        display: none !important;
    }

    .mobile-text-left {
        text-align: left !important;
    }

    .mobile-text-center {
        text-align: center !important;
    }

    .content-section {
        padding: 36px 0;
    }

    .oc-footer {
        padding: 22px 1.25em;
    }
}


/* =========================================================
   Animations (unchanged)
   ========================================================= */
@-moz-keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@-webkit-keyframes bounceLeft {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
  }
  60% {
    -webkit-transform: translateX(15px);
    transform: translateX(15px);
  }
}
@-moz-keyframes bounceLeft {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(30px);
  }
  60% {
    transform: translateX(15px);
  }
}
@keyframes bounceLeft {
  0%, 20%, 50%, 80%, 100% {
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -ms-transform: translateX(30px);
    transform: translateX(30px);
  }
  60% {
    -ms-transform: translateX(15px);
    transform: translateX(15px);
  }
}
/* /left bounce */

/* right bounce */
@-webkit-keyframes bounceRight {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -webkit-transform: translateX(-30px);
    transform: translateX(-30px);
  }
  60% {
    -webkit-transform: translateX(-15px);
    transform: translateX(-15px);
  }
}
@-moz-keyframes bounceRight {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(-30px);
  }
  60% {
    transform: translateX(-15px);
  }
}
@keyframes bounceRight {
  0%, 20%, 50%, 80%, 100% {
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -ms-transform: translateX(-30px);
    transform: translateX(-30px);
  }
  60% {
    -ms-transform: translateX(-15px);
    transform: translateX(-15px);
  }
}
/* /right bounce */

/* assign bounce */
.fa-arrow-right {
  -webkit-animation: bounceRight 2s infinite;
  animation: bounceRight 2s infinite;
  float: right;
}

.fa-arrow-left {
  -webkit-animation: bounceLeft 2s infinite;
  animation: bounceLeft 2s infinite;
}

.fa-chevron-down {
  -moz-animation: bounceDown 2s infinite;
  -webkit-animation: bounceDown 2s infinite;
  animation: bounceDown 2s infinite;
  text-align: center;
  display: block;
}

.credits {
    padding-top: 50px;
    display: block;
    clear: both;
}


/* =========================================================
   Arrow callout box (unchanged)
   ========================================================= */
.arrow_box {
    position: relative;
    background: #fff;
    border-left: 2px solid #aaa;
    border-top: 2px solid #aaa;
    border-bottom: 2px solid #aaa;
    width: 300px;
    padding: 8px 20px 8px 40px;
    box-sizing: border-box;
}
.arrow_box:after, .arrow_box:before {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 1;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.arrow_box:after {
    border-color: rgba(255, 255, 255, 0);
    border-left-color: #fff;
    border-width: 17px;
    margin-top: -17px;
}
.arrow_box:before {
    border-color: rgba(170, 170, 170, 0);
    border-left-color: #aaa;
    border-width: 19px;
    margin-top: -19px;
}
