/* ==========================================================================
   Landing Page Styles
   Scoped under .lander-page (body class) to avoid conflicts with the main
   theme stylesheet. Bootstrap 5 grid utilities are expected to be loaded
   alongside this file.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Variables (mirrors lander-solution SCSS variables)
   --------------------------------------------------------------------------- */
:root {
    --lander-primary:        #000;
    --lander-secondary:      #007BC2;
    --lander-secondary-dark: #005f99;
    --lander-midnight:       #00213E;
    --lander-neutral:        #eee;
    --lander-cream:          #F7F4F0;
    --lander-white:          #fff;
    --lander-black:          #000;
    --lander-grey:           #666;
    --lander-grey-light:     #f5f5f5;
    --lander-accent-green:   #A1D707;
    --lander-font:           'Mulish', sans-serif;
    --lander-overlay:        rgba(0, 0, 0, 0.7);
}


/* ---------------------------------------------------------------------------
   Base / Reset for Lander
   --------------------------------------------------------------------------- */
.lander-page {
    font-family: var(--lander-font);
    font-size: 14px;
    color: var(--lander-black);
    line-height: 1.6;
}

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

.lander-page h1,
.lander-page h2,
.lander-page h3,
.lander-page h4 {
    font-family: var(--lander-font);
    font-weight: 900;
    line-height: 1.2;
    margin-top: 0;
}

.lander-page h2 { font-size: 2rem;   margin-bottom: 1rem; }
.lander-page h3 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.lander-page h4,
.lander-page .h4 { font-size: 1.5rem; }
.lander-page .h3 { font-size: 1.75rem; font-weight: 900; }

.lander-page p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

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


/* ---------------------------------------------------------------------------
   Hide default theme elements on lander pages
   --------------------------------------------------------------------------- */
/* Reset the theme body padding that accounts for the fixed .header */
body.lander-page {
    padding-top: 0 !important;
}

.lander-page .header,
.lander-page .header__stripe,
.lander-page .footer--call,
.lander-page .footer:not(.lander-footer) {
    display: none !important;
}


/* ---------------------------------------------------------------------------
   Lander Navigation
   --------------------------------------------------------------------------- */
.lander-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--lander-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    height: 80px;
}

/* Offset sticky header so it isn't hidden behind the WP admin bar when logged in. */
.admin-bar .lander-nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .lander-nav {
        top: 46px;
    }
}

.lander-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.lander-nav__logo-link {
    display: flex;
    align-items: center;
}

.lander-page .lander-nav__logo {
    height: 35px;
    width: auto;
}

.lander-page .lander-nav__logo--mobile {
    height: 28px;
}

.lander-nav__btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--lander-secondary);
    color: var(--lander-white) !important;
    text-decoration: none;
    font-family: var(--lander-font);
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.lander-nav__btn:hover {
    background-color: var(--lander-secondary-dark);
    color: var(--lander-white) !important;
}


/* ---------------------------------------------------------------------------
   Overlay Utility (hero & body-hero backgrounds)
   --------------------------------------------------------------------------- */
.lander-page .overlay {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lander-page .overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lander-page .overlay.dark::before {
    background: var(--lander-overlay);
}

.lander-page .overlay.overlay-light::before {
    background: rgba(255, 255, 255, 0.7);
}

.lander-page .overlay > .container {
    position: relative;
    z-index: 2;
}


/* ---------------------------------------------------------------------------
   Hero Section
   --------------------------------------------------------------------------- */
.lander-hero {
    padding: 100px 0 80px;
    background-size: cover;
    background-position: top center;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.lander-hero__title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--lander-white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.lander-hero__subtitle {
    font-size: 1.25rem;
    color: var(--lander-white);
    margin-bottom: 2rem;
    font-weight: 400;
}


/* ---------------------------------------------------------------------------
   Buttons (hero CTAs)
   --------------------------------------------------------------------------- */
.lander-hero__btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 340px;
}

.lander-btn--primary {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--lander-secondary);
    color: var(--lander-white) !important;
    text-align: center;
    text-decoration: none;
    font-family: var(--lander-font);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: 1.3;
}

.lander-btn--primary:hover {
    background-color: var(--lander-secondary-dark);
    color: var(--lander-white) !important;
}

.lander-btn__subtext {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 2px;
    opacity: 0.9;
}

.lander-btn--secondary {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--lander-white) !important;
    text-align: center;
    text-decoration: none;
    font-family: var(--lander-font);
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--lander-white);
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.lander-btn--secondary:hover {
    background: var(--lander-white);
    color: var(--lander-black) !important;
}

.lander-btn--submit {
    display: inline-block;
    min-width: 260px;
    padding: 14px 40px;
    background-color: var(--lander-secondary);
    color: var(--lander-white) !important;
    text-decoration: none;
    font-family: var(--lander-font);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lander-btn--submit:hover {
    background-color: var(--lander-secondary-dark);
}

.lander-btn--submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


/* ---------------------------------------------------------------------------
   Section Spacing & Backgrounds
   --------------------------------------------------------------------------- */
.lander-section {
    padding: 60px 0;
}

.lander-section--sm {
    padding: 50px 0;
}

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

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

.lander-bg--secondary.dark,
.lander-bg--secondary.dark h3,
.lander-bg--secondary.dark .h4,
.lander-bg--secondary.dark p {
    color: var(--lander-white);
}


/* ---------------------------------------------------------------------------
   Badge Icons (Accolades)
   --------------------------------------------------------------------------- */
.lander-badges {
    margin-top: 1.5rem;
}

.lander-badge-icon {
    height: 72px;
    width: 72px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

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


/* ---------------------------------------------------------------------------
   Icon Row (Maximize Compensation, Take Action)
   --------------------------------------------------------------------------- */
.lander-icon-row {
    margin-top: 1.5rem;
}

.lander-icon-row > [class*="col"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lander-icon {
    height: 72px;
    width: 72px;
    object-fit: contain;
    flex-shrink: 0;
    margin-bottom: 1rem;
    display: block;
    padding: 4px;
    box-sizing: border-box;
}

.lander-icon-row h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    min-height: 2.4em;
    display: flex;
    align-items: center;
}

.lander-icon-row p {
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}


/* ---------------------------------------------------------------------------
   FAQ Accordion
   --------------------------------------------------------------------------- */
.lander-faq .accordion-button {
    font-family: var(--lander-font);
    font-weight: 700;
    font-size: 1rem;
    color: var(--lander-black);
    background-color: var(--lander-white);
}

.lander-faq .accordion-button:not(.collapsed) {
    color: var(--lander-secondary);
    background-color: var(--lander-white);
    box-shadow: none;
}

.lander-faq .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 194, 0.25);
}

.lander-faq .accordion-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--lander-grey);
}


/* ---------------------------------------------------------------------------
   Client Reviews
   --------------------------------------------------------------------------- */
.lander-reviews {
    background-color: var(--lander-white);
}

.lander-review {
    background: var(--lander-grey-light);
    border-radius: 8px;
    padding: 24px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.lander-review__rating img {
    height: 20px;
    width: auto;
    margin-bottom: 12px;
}

.lander-review__body p {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--lander-grey);
    margin-bottom: 12px;
}

.lander-review__author {
    font-size: 0.9rem;
}

.lander-review__author .from-google::before,
.lander-review__author .from-facebook::before {
    display: inline-block;
    margin-right: 4px;
    font-size: 0.75rem;
    vertical-align: middle;
}

.lander-review__author .from-google::before {
    content: '★ Google';
    color: #4285f4;
}

.lander-review__author .from-facebook::before {
    content: '★ Facebook';
    color: #1877f2;
}


/* ---------------------------------------------------------------------------
   Body Hero (mid-page CTA)
   --------------------------------------------------------------------------- */
.lander-body-hero {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}

.lander-body-hero .h3 {
    color: var(--lander-white);
    margin-bottom: 2rem;
    line-height: 1.3;
}


/* ---------------------------------------------------------------------------
   Lead Form
   --------------------------------------------------------------------------- */
.lander-lead-form {
    margin-top: 2rem;
}

.lander-form-item {
    margin-bottom: 1.25rem;
    padding: 0 12px;
}

.lander-form-item label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--lander-black);
}

.lander-lead-form .form-control,
.lander-lead-form .form-select {
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
    font-family: var(--lander-font);
    border: 1px solid #ccc;
    border-radius: 4px;
    color: var(--lander-black);
    background-color: var(--lander-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lander-lead-form .form-control:focus,
.lander-lead-form .form-select:focus {
    outline: none;
    border-color: var(--lander-secondary);
    box-shadow: 0 0 0 3px rgba(0, 123, 194, 0.15);
}

.lander-form-error {
    display: block;
    color: #dc3545;
    font-size: 0.8rem;
    min-height: 1.2em;
    margin-top: 3px;
}

.lander-form-item.has-error .form-control,
.lander-form-item.has-error .form-select {
    border-color: #dc3545;
}

.lander-tcpa {
    font-size: 0.75rem;
    color: var(--lander-grey);
    line-height: 1.5;
}

.lander-tcpa a {
    color: var(--lander-secondary);
    text-decoration: underline;
}


/* ---------------------------------------------------------------------------
   Lander Footer
   --------------------------------------------------------------------------- */
.lander-footer {
    background-color: var(--lander-midnight);
    color: var(--lander-white);
    padding: 40px 0 30px;
}

.lander-footer a {
    color: var(--lander-white);
    text-decoration: none;
}

.lander-footer a:hover {
    text-decoration: underline;
}

.lander-footer__logo {
    height: 35px;
    width: auto;
    margin-bottom: 16px;
}

.lander-footer__copyright {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.lander-footer__links {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.lander-footer__links span {
    color: rgba(255, 255, 255, 0.5);
}

.lander-footer__disclaimer {
    max-width: 900px;
    margin: 0 auto;
}

.lander-footer__disclaimer p {
    font-size: 0.7rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.lander-footer__disclaimer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
    .lander-hero {
        padding: 60px 0;
        min-height: auto;
    }

    .lander-hero__title {
        font-size: 2rem;
    }

    .lander-hero__btns {
        max-width: 100%;
    }

    .lander-body-hero {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .lander-hero__title {
        font-size: 1.8rem !important;
    }

    .lander-hero__subtitle {
        margin-top: 0.8rem !important;
        font-size: 1.1rem !important;
    }

    .lander-section {
        padding: 40px 0;
    }

    .lander-section--sm {
        padding: 35px 0;
    }

    .lander-page h2 {
        font-size: 1.6rem;
    }

    .lander-page h3 {
        font-size: 1.4rem;
    }

    .lander-nav {
        height: 60px;
    }

    .lander-page .lander-nav__logo {
        height: 28px;
    }

    .lander-nav__btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .lander-hero {
        padding: 40px 0;
    }

    .lander-hero__title {
        font-size: 1.5rem !important;
    }

    .lander-body-hero {
        padding: 40px 0;
    }

    .lander-body-hero .h3 {
        font-size: 1.3rem;
    }

    .lander-review {
        padding: 16px 14px;
    }
}
