/* hero.css
   Hero band and the case review form card. Used by the home page
   and every practice area page. */

/* ---------- hero ---------- */

.hero {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 58vh;
    padding: 48px var(--gutter);
    box-sizing: border-box;
    /* gap: 10%; */
    flex-wrap: wrap;
    background-image: url(/static/images/hero-background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(2px);
    color: white;
    font-family: "Lora", serif;
    font-size: clamp(16px, 2.1vw, 23px);
    overflow: hidden;
    z-index: 0;
}

.blur {
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
    background-color: rgba(1, 1, 1, 0.1);
    background-image: linear-gradient(to right, rgba(6, 22, 40, 0.85), rgba(6, 22, 40, 0.45) 55%, rgba(6, 22, 40, 0.7));
}

.hero img {
    position: absolute;
    height: 99%;
    max-height: 700px;
    bottom: 0;
    right: calc(var(--gutter) + 300px);
    left: auto;
    z-index: 1;
    animation: rise-up 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero .left {
    display: flex;
    flex: 1;
    flex-direction: column;
    position: relative;
    z-index: 2;

}


.hero .left .content {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
    max-width: 640px;
    gap: 5px;

}

.hero .left .content h5 {
    color: #4a9eea;
    letter-spacing: 1.8px;
    font-weight: 700;
    font-size: clamp(11px, 1.3vw, 15px);
    animation: fade-in-left 0.9s ease both 0.1s;
}

.hero .left .content h1 {
    font-size: clamp(34px, 4.2vw, 64px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.5px;
    animation: fade-in-left 0.9s ease both 0.25s;
}

.hero .left .content h1 i {
    color: #0872bd;
    font-style: normal;
}


.hero .left .content .below {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 470px;
    font-family: "Montserrat", sans-serif;
    gap: 8px;
    margin-top: 14px;
    animation: fade-in-left 0.9s ease both 0.4s;
}

.hero .left .content p {
    font-size: clamp(13px, 1.4vw, 15px);
    line-height: 1.6;
}

.hero .left .content .below button {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #075d9b;
    align-self: flex-start;
    padding: 16px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    border: none;
    cursor: pointer;
    outline: none;
    font-size: clamp(11px, 1.3vw, 14px);
    margin-top: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero .left .content .below button:hover {
    background-color: #0872bd;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(8, 114, 189, 0.4);
}

.hero .left .content .below button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(calc(13px*2), 2.7vw, calc(15px*2));
    transition: transform 0.3s ease;
}

.hero .left .content .below button:hover i {
    transform: translateX(5px);
}

.hero .left .content .below .no-fee {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    font-family: "Montserrat", sans-serif;
    margin-top: 14px;

}

.hero .left .content .below .no-fee i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6aa9dd;
}

.hero .right {
    display: flex;
    flex: 0 1 460px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.hero .right .get-free-case {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    padding: 26px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: rgba(9, 32, 57, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(1, 1, 1, 0.35);
    animation: fade-in-right 1s ease both 0.35s;
}

.hero .right .get-free-case h3 {
    font-family: "Lora", serif;
    font-size: clamp(17px, 1.9vw, 21px);
    font-weight: 600;
}

.hero .right .get-free-case > p {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(11px, 1.2vw, 13px);
    color: rgba(255, 255, 255, 0.75);
    margin-top: 5px;
    line-height: 1.5;
}

.hero .right .get-free-case .form-note {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
    animation: fade-in-right 0.5s ease both;
}

.hero .right .get-free-case .form-note i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 2px;
}

.hero .right .get-free-case .form-note p {
    font-size: clamp(10px, 1.1vw, 12px);
    line-height: 1.6;
}

.hero .right .get-free-case .form-note.ok {
    background-color: rgba(46, 160, 96, 0.18);
    border: 1px solid rgba(46, 160, 96, 0.5);
    color: #9ae0b5;
}

.hero .right .get-free-case .form-note.bad {
    background-color: rgba(214, 84, 76, 0.18);
    border: 1px solid rgba(214, 84, 76, 0.5);
    color: #f0a9a4;
}

.hero .right form {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin-top: 15px;
    gap: 11px;
}

.hero .right form .inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero .right form .inputs input,
.hero .right form .inputs textarea {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(11px, 1.2vw, 13px);
    padding: 10px 13px;
    border-radius: 5px;
    border: 1px solid transparent;
    outline: none;
    background-color: #e9ecef;
    color: #0d2b4a;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero .right form .inputs textarea {
    min-height: 62px;
    resize: vertical;
}

.hero .right form .inputs input:focus,
.hero .right form .inputs textarea:focus {
    background-color: white;
    border-color: #0872bd;
    box-shadow: 0 0 0 3px rgba(8, 114, 189, 0.25);
}

.hero .right form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #075d9b;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(10px, 1.1vw, 12px);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .right form button:hover {
    background-color: #0872bd;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(8, 114, 189, 0.4);
}

.hero .right form button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 2.0vw, 22px);
    transition: transform 0.3s ease;
}

.hero .right form button:hover i {
    transform: translateX(5px);
}

.hero .right form > p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(10px, 1.1vw, 12px);
    color: rgba(255, 255, 255, 0.75);
}

.hero .right form > p i {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ---------- conversion hero: lead, trust strip, dual cta ---------- */

.hero .left .content .lead {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin-top: 16px;
}

.hero .left .content .lead b {
    color: white;
    font-weight: 700;
}

.hero .left .content .trust {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 18px;
}

.hero .left .content .trust .item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}

.hero .left .content .trust .item i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6aa9dd;
    font-size: clamp(17px, 1.9vw, 21px);
    margin-top: 2px;
}

.hero .left .content .trust .item .text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero .left .content .trust .item .text b {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(11px, 1.3vw, 14px);
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.hero .left .content .trust .item .text span {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(10px, 1.15vw, 12.5px);
    color: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
}

.hero .left .content .actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.hero .left .content .actions .primary,
.hero .left .content .actions .call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 0 26px;
    box-sizing: border-box;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(11px, 1.3vw, 14px);
    letter-spacing: 0.4px;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.hero .left .content .actions .primary {
    background-color: #0872bd;
    color: white;
    border: none;
}

.hero .left .content .actions .primary:hover {
    background-color: #0d82d4;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(8, 114, 189, 0.45);
}

.hero .left .content .actions .primary i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 2vw, 22px);
    transition: transform 0.3s ease;
}

.hero .left .content .actions .primary:hover i {
    transform: translateX(5px);
}

.hero .left .content .actions .call {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero .left .content .actions .call:hover {
    background-color: white;
    color: #0d2b4a;
    transform: translateY(-3px);
}

.hero .left .content .actions .call i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(13px, 1.4vw, 15px);
}

.hero .left .content .micro {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(10px, 1.1vw, 12px);
    color: rgba(255, 255, 255, 0.65);
}

.hero .left .content .micro i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6aa9dd;
    font-size: 13px;
}

.hero .left .content .micro em {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
}


/* ---------- form card: intro, select, secure line, reviews ---------- */

.hero .right .get-free-case .intro b {
    color: #6aa9dd;
    font-weight: 700;
}

.hero .right form .inputs select {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(11px, 1.2vw, 13px);
    padding: 10px 13px;
    border-radius: 5px;
    border: 1px solid transparent;
    outline: none;
    background-color: #e9ecef;
    color: #0d2b4a;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230d2b4a' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 32px;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero .right form .inputs select:focus {
    background-color: white;
    border-color: #0872bd;
    box-shadow: 0 0 0 3px rgba(8, 114, 189, 0.25);
}

.hero .right form .secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(10px, 1.0vw, 11px);
    color: rgba(255, 255, 255, 0.6);
}

.hero .right form .secure i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .right .get-free-case .reviews-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero .right .get-free-case .reviews-badge .stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #e8a33d;
    font-size: 12px;
}

.hero .right .get-free-case .reviews-badge .stars i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .right .get-free-case .reviews-badge b {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(12px, 1.3vw, 14px);
    color: white;
}

.hero .right .get-free-case .reviews-badge span {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(10px, 1.0vw, 11px);
    color: rgba(255, 255, 255, 0.6);
}


/* ---------- stats bar under the hero ---------- */

.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px var(--gutter);
    box-sizing: border-box;
    background-color: #f6f8fa;
}

.stats-bar .inner {
    display: flex;
    flex: 1;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 26px 20px;
    box-sizing: border-box;
    background-color: white;
    border: 1px solid rgba(1, 1, 1, 0.07);
    border-radius: 10px;
    box-shadow: 0 20px 46px rgba(13, 43, 74, 0.12);
    position: relative;
    z-index: 3;
}

.stats-bar .inner .stat {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 200px;
    padding: 6px 18px;
    border-right: 1px solid rgba(1, 1, 1, 0.08);
}

.stats-bar .inner .stat:last-child {
    border-right: none;
}

.stats-bar .inner .stat i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #075d9b;
    font-size: clamp(22px, 2.5vw, 28px);
    transition: transform 0.4s ease;
}

.stats-bar .inner .stat:hover i {
    transform: translateY(-4px) scale(1.06);
}

.stats-bar .inner .stat .text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stats-bar .inner .stat .text b {
    font-family: "Lora", serif;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 700;
    color: #0d2b4a;
    white-space: nowrap;
}

.stats-bar .inner .stat .text span {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(10px, 1.1vw, 12px);
    color: rgba(1, 1, 1, 0.55);
}

.hero .right .get-free-case .reviews-badge .g-logo {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}


/* the sticky navbar must not sit on top of the form when a cta jumps to it */
#case-form {
    scroll-margin-top: 110px;
}

.hero .left .content .actions a.primary,
.cta-band .content .actions a,
.attorney .right a.cta,
.faq .left a.cta,
.pa-cta .action a.cta {
    text-decoration: none;
}


/* honeypot: off-screen rather than display:none, since some bots skip hidden inputs */
.hero .right form .hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
