/*
 * Landing page styles.
 *
 * Every rule is scoped under .lp-page (the class set on <body> in index.php) so
 * these styles apply ONLY to the landing page markup and can never leak into
 * other Moodle pages or collide with theme / plugin styles.
 */

.lp-page {
    --landing-bg: #f3f6fb;
    --landing-dark: #081827;
    --landing-dark-2: #0d1f36;
    --landing-primary: #2563eb;
    --landing-primary-dark: #1d4ed8;
    --landing-accent: #f4a428;
    --landing-accent-dark: #ef8f2e;
    --landing-white: #ffffff;
    --landing-text: #16212f;
    --landing-muted: #5e6d7c;
    --landing-border: rgba(255,255,255,0.14);
    --landing-shadow: 0 22px 50px rgba(7, 24, 39, 0.14);

    /* Shared card tokens - every "card" component on the page (feature cards,
       lawyer cards, FAQ items, panels, table wraps, etc.) should pull its
       corner radius and elevation from these instead of one-off values, so
       depth reads the same everywhere. Cards floating on a light section use
       the plain tokens; cards floating on a dark/navy section (Hero, How It
       Works, Why 1912AI?) use the *-dark tokens since a light shadow is
       invisible there. */
    --radius-card: 20px;
    --shadow-card: 0 16px 36px rgba(18, 35, 53, 0.09);
    --shadow-card-hover: 0 26px 52px rgba(18, 35, 53, 0.15);
    --shadow-card-dark: 0 20px 44px rgba(0, 0, 0, 0.35);
    --shadow-card-dark-hover: 0 30px 60px rgba(0, 0, 0, 0.45);
    --card-lift-hover: translateY(-6px);

    margin: 0;
    /* A page that reuses this header/footer (e.g. about-us.php) may still load
       its own site CSS for its body content; some of those older stylesheets
       push the whole <body> down with padding-top to clear a fixed header
       that no longer applies here (our header is sticky, not fixed). Pin it
       back to 0 so no blank gap appears above the header. */
    padding-top: 0 !important;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--landing-bg);
    color: var(--landing-text);
    scroll-behavior: smooth;
}

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

.lp-page a { text-decoration: none; }
.lp-page img { max-width: 100%; display: block; }

.lp-page .landing-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.lp-page .landing-header {
    background: #05090f;
    color: var(--landing-white);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(96, 165, 250, 0.14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.lp-page .landing-header-inner {
    width: min(1280px, calc(100% - 24px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lp-page .landing-brand-wrap {
    flex: 0 0 auto;
}

.lp-page .landing-brand {
    color: var(--landing-white);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.lp-page .landing-brand span {
    color: #8ad0ff;
}

.lp-page .landing-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    flex: 1 1 auto;
}

.lp-page .nav-item {
    position: relative;
}

.lp-page .landing-nav > a,
.lp-page .nav-item > a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
}

.lp-page .landing-nav > a:hover,
.lp-page .nav-item > a:hover {
    color: #8ad0ff;
}

.lp-page .caret {
    width: 14px;
    height: 14px;
    display: inline-block;
    opacity: 0.75;
    transition: transform 0.18s ease;
}

.lp-page .nav-item.open .caret {
    transform: rotate(180deg);
    opacity: 1;
}

.lp-page .nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    background: rgba(10, 27, 43, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: none;
    padding: 8px 0;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.lp-page .nav-item.open .nav-dropdown {
    display: block;
}

.lp-page .nav-dropdown a {
    display: block;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.lp-page .nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #8ad0ff;
}

.lp-page .landing-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.lp-page .action-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px 7px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--landing-white);
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1;
}

.lp-page .action-icon:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.lp-page .action-label {
    white-space: nowrap;
}

.lp-page .icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--landing-white);
    flex: 0 0 auto;
}

.lp-page .icon-badge svg {
    width: 15px;
    height: 15px;
    display: block;
}

.lp-page .icon-green { background: #07c160; }  /* WeChat brand */
.lp-page .icon-teal { background: #25d366; }   /* WhatsApp brand */
.lp-page .icon-blue { background: #3b82f6; }   /* Live chat */
.lp-page .icon-dark { background: #f4a428; }   /* Email */

.lp-page .landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lp-page .landing-btn:focus-visible {
    outline: 2px solid var(--landing-primary);
    outline-offset: 2px;
}

.lp-page .landing-btn-primary {
    background: linear-gradient(135deg, #f4a428 0%, #ef8f2e 100%);
    color: #1a1205;
    box-shadow: 0 8px 20px rgba(244, 164, 40, 0.22);
}

.lp-page .landing-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(244, 164, 40, 0.34);
}

.lp-page .landing-btn-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--landing-white);
}

.lp-page .landing-btn-ghost {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.5);
    color: var(--landing-white);
}

.lp-page .landing-btn-ghost:hover {
    background: rgba(37, 99, 235, 0.24);
    border-color: rgba(96, 165, 250, 0.75);
}

.lp-page .landing-hero {
    position: relative;
    background: var(--landing-dark);
    color: var(--landing-white);
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

.lp-page .landing-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(ellipse 1100px 620px at 18% 0%, rgba(37, 99, 235, 0.35), transparent 62%),
        radial-gradient(ellipse 900px 560px at 88% 92%, rgba(244, 164, 40, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(4, 10, 20, 0.95) 0%, rgba(8, 20, 38, 0.7) 40%, rgba(4, 11, 22, 0.94) 100%),
        url('pics/hero-bg.jpg');
    background-position: center, center, center, center;
    background-size: cover, cover, cover, cover;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}

.lp-page .landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    box-shadow: inset 0 0 160px 40px rgba(2, 6, 14, 0.65);
}

.lp-page .landing-hero-inner {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 900px;
}

.lp-page .landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--landing-accent);
    background: linear-gradient(180deg, rgba(60, 41, 16, 0.55) 0%, rgba(30, 20, 8, 0.6) 100%);
    border: 1px solid rgba(244, 164, 40, 0.45);
    box-shadow: inset 0 1px 14px rgba(244, 164, 40, 0.2), 0 8px 24px rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.lp-page .landing-hero-inner h1 {
    margin: 22px 0 16px;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.lp-page .landing-hero-sub {
    margin: 0 auto 14px;
    max-width: 760px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-weight: 700;
    color: var(--landing-accent);
    text-shadow: 0 2px 20px rgba(244, 164, 40, 0.25);
}

.lp-page .landing-hero-desc {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    line-height: 1.8;
}

.lp-page .landing-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.lp-page .landing-trust {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 26px;
}

.lp-page .landing-trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 600;
}

.lp-page .trust-ic {
    color: var(--landing-accent);
    font-size: 0.95rem;
}

.lp-page .landing-points {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.lp-page .landing-points li {
    position: relative;
    padding-left: 18px;
    color: rgba(255,255,255,0.9);
}

.lp-page .landing-points li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #f4a428;
    font-size: 1.4rem;
    line-height: 1;
}

.lp-page .landing-hero-panel {
    flex: 0 0 440px;
}

.lp-page .hero-info-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 26px;
    padding: 18px;
    box-shadow: var(--landing-shadow);
}

.lp-page .mini-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 16px;
    color: rgba(255,255,255,0.8);
}

.lp-page .mini-card strong {
    font-size: 1.5rem;
    color: var(--landing-white);
}

.lp-page .hero-image-box {
    background: #dfeefc;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
}

.lp-page .hero-image-box img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.lp-page .hero-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px 4px;
    color: rgba(255,255,255,0.9);
}

.lp-page .hero-bottom-row a {
    color: #8ad0ff;
    font-weight: 700;
}

.lp-page .landing-stats {
    background: var(--landing-white);
    padding: 30px 0 0;
}

.lp-page .landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: -36px;
}

.lp-page .stat-box {
    background: #f8fbff;
    border: 1px solid #e4edf7;
    box-shadow: var(--landing-shadow);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
}

.lp-page .stat-box strong {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--landing-dark);
}

.lp-page .stat-box span {
    color: var(--landing-muted);
    font-size: 0.96rem;
}

.lp-page .landing-features {
    padding: 90px 0 70px;
    background: var(--landing-white);
}

.lp-page .landing-section-title {
    text-align: center;
    margin-bottom: 34px;
}

.lp-page .landing-section-title span {
    display: inline-block;
    color: var(--landing-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.lp-page .landing-section-title h2 {
    margin: 10px 0 0;
    font-size: clamp(2.1rem, 3vw, 3rem);
    color: var(--landing-dark);
}

.lp-page .light-title h2 { color: var(--landing-white); }

.lp-page .landing-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.lp-page .landing-feature-item {
    background: #f9fbff;
    border-radius: 22px;
    border: 1px solid #edf2f8;
    padding: 28px 22px;
    box-shadow: 0 8px 18px rgba(18, 35, 53, 0.04);
}

.lp-page .landing-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    color: var(--landing-primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.lp-page .landing-feature-item h3 {
    margin: 0 0 10px;
    font-size: 1.32rem;
    color: var(--landing-dark);
}

.lp-page .landing-feature-item p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.7;
}

.lp-page .landing-process {
    background: linear-gradient(135deg, #0d1f36, #112f4a);
    padding: 86px 0 90px;
}

.lp-page .process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.lp-page .process-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 26px 18px;
    color: var(--landing-white);
}

.lp-page .process-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(244, 164, 40, 0.16);
    color: #ffd388;
    font-weight: 800;
    margin-bottom: 16px;
}

.lp-page .process-item h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
}

.lp-page .process-item p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
}

.lp-page .landing-cta-banner {
    background: linear-gradient(90deg, #f1c769 0%, #ef9f4d 100%);
    padding: 34px 0;
}

.lp-page .landing-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.lp-page .landing-cta-inner h2 {
    margin: 0 0 6px;
    font-size: clamp(1.7rem, 2.2vw, 2.6rem);
    color: #1a1a1a;
}

.lp-page .landing-cta-inner p {
    margin: 0;
    color: rgba(17, 24, 39, 0.7);
}

.lp-page .landing-footer {
    background: linear-gradient(180deg, #071827 0%, #050f1c 100%);
    color: rgba(255,255,255,0.86);
    padding: 56px 0 22px;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 1;
}

.lp-page .landing-footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
    gap: 34px;
    padding-bottom: 26px;
}

.lp-page .landing-footer-brand p,
.lp-page .landing-footer li,
.lp-page .landing-footer a {
    color: rgba(223,231,241,0.8);
    text-decoration: none;
    line-height: 1.8;
}

.lp-page .footer-brand {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--landing-white);
    margin-bottom: 14px;
}

.lp-page .footer-brand span {
    color: #8ad0ff;
}

.lp-page .landing-footer-brand p {
    margin: 0 0 20px;
    font-size: 0.92rem;
    max-width: 360px;
}

.lp-page .footer-social-title {
    display: block;
    color: var(--landing-white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}

.lp-page .footer-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lp-page .social-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: var(--landing-white);
}

.lp-page .social-ic:hover {
    background: var(--landing-accent);
    border-color: var(--landing-accent);
    color: #1a1205;
}

.lp-page .social-ic svg {
    width: 18px;
    height: 18px;
    display: block;
}

.lp-page .landing-footer h4 {
    margin: 0 0 12px;
    color: var(--landing-white);
    font-size: 1.05rem;
}

.lp-page .landing-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-page .footer-col li {
    font-size: 0.92rem;
}

.lp-page .footer-col a:hover {
    color: #8ad0ff;
}

.lp-page .footer-subhead {
    margin-top: 12px;
}

.lp-page .footer-subhead:first-child {
    margin-top: 0;
}

.lp-page .footer-subhead a {
    color: var(--landing-white) !important;
    font-weight: 700;
}

.lp-page .landing-copy-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-align: center;
}

.lp-page .landing-disclaimer {
    margin-top: 22px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}

.lp-page .landing-disclaimer p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.75;
    color: rgba(223,231,241,0.72);
}

.lp-page .landing-disclaimer strong {
    color: var(--landing-white);
}

.lp-page .landing-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 14px;
}

.lp-page .landing-legal-links a {
    color: #8ad0ff;
    font-size: 0.85rem;
    font-weight: 600;
}

.lp-page .landing-legal-links a:hover {
    text-decoration: underline;
}

.lp-page .landing-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    margin-top: 22px;
}

.lp-page .badge-note {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
}

.lp-page .footer-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.82);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (max-width: 980px) {
    .lp-page .landing-header-inner,
    .lp-page .landing-hero-inner,
    .lp-page .landing-cta-inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lp-page .landing-footer-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .lp-page .landing-header-inner {
        padding: 18px 0;
    }

    .lp-page .landing-nav,
    .lp-page .landing-actions {
        justify-content: flex-start;
    }

    .lp-page .landing-hero-panel {
        flex-basis: auto;
    }

    .lp-page .landing-stats-grid,
    .lp-page .landing-feature-grid,
    .lp-page .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .lp-page .landing-header .landing-container,
    .lp-page .landing-hero-inner,
    .lp-page .landing-cta-inner {
        grid-template-columns: 1fr;
        display: grid;
    }

    .lp-page .landing-header .landing-container {
        justify-content: flex-start;
        gap: 14px;
        padding: 18px 0;
    }

    .lp-page .landing-nav {
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .lp-page .landing-hero-visual {
        flex-basis: 100%;
    }

    .lp-page .landing-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lp-page .landing-stats-grid,
    .lp-page .landing-feature-grid,
    .lp-page .process-grid {
        grid-template-columns: 1fr;
    }

    .lp-page .landing-hero,
    .lp-page .landing-help,
    .lp-page .landing-steps,
    .lp-page .landing-why,
    .lp-page .landing-lawyers,
    .lp-page .landing-compare { padding: 60px 0; }
    .lp-page .landing-hero-copy h1 { font-size: 2.6rem; }
    .lp-page .landing-header-btn,
    .lp-page .landing-btn { width: 100%; }
    .lp-page .landing-cta-row { display: grid; }
    .lp-page .landing-points { display: grid; }
    .lp-page .landing-copy-row { display: grid; }
    .lp-page .landing-footer-inner { grid-template-columns: 1fr; }
    .lp-page .landing-badge-row { justify-content: flex-start; }
}

/* =========================================================
   "What do you need help with?" section (below the hero)
   ========================================================= */
.lp-page .landing-help {
    background: var(--landing-white);
    padding: 92px 0;
}

.lp-page .landing-help-head {
    text-align: center;
    margin-bottom: 34px;
}

.lp-page .landing-help-kicker {
    margin: 0 0 8px;
    color: var(--landing-accent);
    font-size: 1.05rem;
    font-weight: 600;
}

.lp-page .landing-help-head h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--landing-dark);
}

.lp-page .landing-help-sub {
    margin: 12px auto 0;
    max-width: 620px;
    color: var(--landing-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Five service options sit in a single row on wide screens. */
.lp-page .landing-help-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 0 auto;
}

.lp-page .landing-help-grid .help-card {
    padding: 30px 20px 24px;
}

.lp-page .landing-help-grid .help-card-btn {
    padding: 0 12px;
}

@media (max-width: 1200px) {
    .lp-page .landing-help-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .lp-page .landing-help-grid .help-card {
        padding: 32px 26px 28px;
    }
}

@media (max-width: 860px) {
    .lp-page .landing-help-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.lp-page .help-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid #e9eef6;
    border-radius: var(--radius-card);
    padding: 32px 26px 28px;
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    overflow: hidden;
}

/* Thin accent bar on top of each card, matching its icon colour. */
.lp-page .help-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--help-accent, #2563eb);
}

.lp-page .help-card-buy { --help-accent: #ef4444; }
.lp-page .help-card-sell { --help-accent: #ec4899; }
.lp-page .help-card-refi { --help-accent: #10b981; }
.lp-page .help-card-title { --help-accent: #f59e0b; }
.lp-page .help-card-other { --help-accent: #6366f1; }

.lp-page .help-card:hover {
    transform: var(--card-lift-hover);
    box-shadow: var(--shadow-card-hover);
}

.lp-page .help-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(18, 35, 53, 0.1);
}

.lp-page .help-card-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.lp-page .help-icon-buy {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.lp-page .help-icon-sell {
    background: rgba(236, 72, 153, 0.12);
    color: #ec4899;
}

.lp-page .help-icon-refi {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.lp-page .help-icon-title {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
}

.lp-page .help-icon-other {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.lp-page .help-card h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: var(--landing-dark);
}

.lp-page .help-card p {
    margin: 0 0 26px;
    color: var(--landing-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Full-width buttons pinned to the bottom so all four line up. */
.lp-page .help-card-btn {
    margin-top: auto;
    align-self: stretch;
    padding: 0 18px;
}

.lp-page .help-btn-blue {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: var(--landing-white);
}

.lp-page .help-btn-blue:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.28);
}

.lp-page .landing-help-foot {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.lp-page .remote-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---- Floating social-proof popup ---- */
.lp-page .lp-social-proof {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 60;
    width: min(320px, calc(100vw - 40px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.lp-page .lp-social-proof.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lp-page .lp-remote-badge {
    background: var(--landing-white);
    border: 1px solid #2563eb;
    color: #1d4ed8;
    padding: 8px 16px;
    font-size: 0.72rem;
    box-shadow: 0 10px 24px rgba(8, 24, 39, 0.16);
}

.lp-page .lp-sp-card {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 16px 18px;
    background: var(--landing-white);
    border: 1px solid #e9eef6;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(8, 24, 39, 0.22);
}

.lp-page .lp-social-proof.is-in .lp-sp-body {
    animation: lpSpPulse 0.5s ease;
}

@keyframes lpSpPulse {
    from { opacity: 0.25; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.lp-page .lp-sp-star {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(244, 164, 40, 0.16);
    color: #f4a428;
    font-size: 1rem;
}

.lp-page .lp-sp-body {
    flex: 1 1 180px;
    font-size: 0.88rem;
    color: var(--landing-text);
    line-height: 1.45;
}

.lp-page .lp-sp-body p {
    margin: 0;
}

.lp-page .lp-sp-time {
    display: block;
    margin-top: 2px;
    color: var(--landing-muted);
    font-size: 0.78rem;
}

.lp-page .lp-sp-btn {
    flex: 1 1 auto;
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.85rem;
}

/* ---- Virtual assistant button ---- */
.lp-page .lp-assistant {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 61;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd 0%, #0b4fcf 100%);
    box-shadow: 0 14px 30px rgba(13, 110, 253, 0.4);
    transition: transform 0.15s ease;
}

.lp-page .lp-assistant svg {
    width: 26px;
    height: 26px;
}

.lp-page .lp-assistant:hover {
    transform: translateY(-2px);
}

.lp-page .lp-assistant.is-active {
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.28), 0 14px 30px rgba(13, 110, 253, 0.4);
}

@media (max-width: 640px) {
    .lp-page .landing-help-grid {
        grid-template-columns: 1fr;
    }

    .lp-page .lp-social-proof {
        right: 12px;
        left: 12px;
        bottom: 88px;
        width: auto;
    }
}

/* =========================================================
   "How it works" - 4 simple steps (Screen 3)
   ========================================================= */
.lp-page .landing-steps {
    position: relative;
    overflow: hidden;
    background: #0b1f38;
    color: var(--landing-white);
    padding: 100px 0 96px;
}

.lp-page .landing-steps-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(ellipse 1000px 520px at 50% 15%, rgba(37, 99, 235, 0.18), transparent 65%),
        linear-gradient(135deg, rgba(11, 31, 56, 0.93) 0%, rgba(17, 47, 74, 0.9) 55%, rgba(9, 24, 43, 0.96) 100%),
        url('pics/hero-bg.svg');
    background-position: center, center, center;
    background-size: cover, cover, cover;
    background-repeat: no-repeat, no-repeat, no-repeat;
}

.lp-page .landing-steps-inner {
    position: relative;
    z-index: 1;
}

.lp-page .landing-steps-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.65);
}

.lp-page .landing-steps-head h2 {
    margin: 12px 0 8px;
    font-size: clamp(2.1rem, 4.4vw, 3.3rem);
    font-weight: 800;
    color: var(--landing-white);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.lp-page .landing-steps-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

.lp-page .steps-row {
    position: relative;
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.lp-page .steps-row::before {
    content: "";
    position: absolute;
    top: 55px;
    left: 49px;
    right: 49px;
    height: 2px;
    z-index: 0;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 12%,
        rgba(255, 255, 255, 0.3) 88%,
        rgba(255, 255, 255, 0) 100%);
}

.lp-page .step-col {
    position: relative;
    z-index: 1;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-card);
    padding: 30px 24px 28px;
    box-shadow: var(--shadow-card-dark), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-page .step-col:hover {
    transform: var(--card-lift-hover);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: var(--shadow-card-dark-hover), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.lp-page .step-num {
    position: absolute;
    top: 12px;
    right: 18px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.lp-page .step-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-white);
    margin-bottom: 20px;
}

.lp-page .step-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.lp-page .step-icon-blue { background: #2563eb; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4); }
.lp-page .step-icon-green { background: #16a34a; box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4); }

.lp-page .step-col h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: var(--landing-white);
}

.lp-page .step-col p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.6;
}

.lp-page .landing-steps-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 52px;
}

.lp-page .steps-cta {
    background: #f4a428;
    color: #10233b;
    border: 2px solid #2563eb;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.lp-page .steps-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(244, 164, 40, 0.28);
}

@media (max-width: 860px) {
    .lp-page .steps-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .lp-page .steps-row::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .lp-page .steps-row {
        grid-template-columns: 1fr;
    }

    .lp-page .landing-steps-foot {
        justify-content: center;
    }
}

/* =========================================================
   "Why 1912AI?" stats section
   ========================================================= */
.lp-page .landing-why {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #1e45c9 0%, #12275f 55%, #0b1f38 100%);
    padding: 92px 0;
}

.lp-page .landing-why::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 900px 480px at 82% 0%, rgba(244, 164, 40, 0.14), transparent 60%);
    pointer-events: none;
}

.lp-page .landing-why .landing-container {
    position: relative;
    z-index: 1;
}

.lp-page .landing-why-head {
    text-align: center;
    margin-bottom: 34px;
}

.lp-page .landing-why-head h2 {
    margin: 0 0 8px;
    color: var(--landing-accent);
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.lp-page .landing-why-head p {
    margin: 0;
    color: var(--landing-accent);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
}

.lp-page .landing-why-panel {
    max-width: 980px;
    margin: 0 auto;
    background: var(--landing-white);
    border-radius: var(--radius-card);
    padding: clamp(30px, 5.5vw, 58px);
    box-shadow: 0 38px 76px rgba(5, 18, 58, 0.48), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.lp-page .why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 52px;
}

.lp-page .why-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 18px;
}

.lp-page .why-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 42px;
    border-radius: 2px;
    background: #4f46e5;
}

.lp-page .why-stat-label {
    color: var(--landing-muted);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.lp-page .why-stat-num {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, #15803d 0%, #ea580c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lp-page .why-num-green {
    background: none;
    -webkit-text-fill-color: #15803d;
    color: #15803d;
}

.lp-page .why-num-orange {
    background: none;
    -webkit-text-fill-color: #ea580c;
    color: #ea580c;
}

.lp-page .why-stat-title {
    margin-top: 8px;
    color: var(--landing-dark);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.4;
}

.lp-page .why-stat-note {
    margin-top: 3px;
    color: var(--landing-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 620px) {
    .lp-page .why-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

/* =========================================================
   "Meet the Lawyers Behind the Match" carousel
   ========================================================= */
.lp-page .landing-lawyers {
    background: var(--landing-white);
    padding: 88px 0;
}

.lp-page .landing-lawyers-head {
    text-align: center;
    margin-bottom: 34px;
}

.lp-page .landing-lawyers-head h2 {
    margin: 0;
    color: var(--landing-dark);
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 800;
}

.lp-page .lawyers-carousel {
    display: flex;
    align-items: stretch;
    gap: 18px;
}

/* overflow:hidden here clips anything that bleeds past this box - including
   each card's own box-shadow, which otherwise gets cut off in a hard
   rectangular line instead of fading softly. Padding gives the shadow room
   to render before hitting that edge; the matching negative margin cancels
   the padding back out so it doesn't visually push the carousel taller. */
.lp-page .lawyers-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    padding: 56px 0;
    margin: -56px 0;
}

.lp-page .lawyers-prev,
.lp-page .lawyers-next {
    flex: 0 0 auto;
    align-self: center;
}

.lp-page .lawyers-track {
    list-style: none;
    margin: 0;
    padding: 10px 4px;
    display: flex;
    align-items: stretch;
    gap: 24px;
    will-change: transform;
    transition: transform 0.45s ease;
}

/* Every card is the same height (the row stretches them) and uses a column
   layout so the photo, name and text blocks land at the same position on
   every card, with "View Profile" pinned to the same baseline throughout. */
.lp-page .lawyer-card {
    flex: 0 0 calc((100% - 48px) / 3);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid #e9eef6;
    border-radius: var(--radius-card);
    padding: 34px 26px 26px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.lp-page .lawyer-card:hover {
    transform: var(--card-lift-hover);
    box-shadow: var(--shadow-card-hover);
}

.lp-page .lawyer-photo {
    width: 156px;
    height: 156px;
    flex: 0 0 auto;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    background: #e6ecf5;
    box-shadow: 0 10px 26px rgba(18, 35, 53, 0.18), 0 0 0 4px #ffffff, 0 0 0 5px #eef2f8;
}

.lp-page .lawyer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* This one source photo is a pre-cropped circular badge shot rather than a
   plain rectangular headshot, so it needs extra zoom to fill the circle the
   same way the rest of the portraits do. */
.lp-page .lawyer-photo--tight img {
    transform: scale(1.55);
    object-position: center 38%;
}

/* Stand-in shown in the photo circle until a headshot is supplied. */
.lp-page .lawyer-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: var(--landing-white);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.lp-page .lawyer-photo--lg .lawyer-initials {
    font-size: 4rem;
}

/* Alternate background so stacked profile sections read as separate blocks. */
.lp-page .landing-lawyers--alt {
    background: var(--landing-bg);
}

.lp-page .lawyer-name {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: var(--landing-dark);
}

.lp-page .lawyer-meta {
    margin: 0 0 18px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    color: var(--landing-muted);
    font-size: 0.9rem;
    line-height: 1.3;
}

.lp-page .lawyer-block {
    width: 100%;
    margin-bottom: 14px;
}

.lp-page .lawyer-block-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--landing-primary);
    margin-bottom: 4px;
}

.lp-page .lawyer-block p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--landing-text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Clamp both blocks to a fixed number of lines so every card shows the same
   amount of text regardless of how long each lawyer's list happens to be -
   the full list is always available on the profile page. */
.lp-page .lawyer-block-specialties p {
    -webkit-line-clamp: 3;
    min-height: calc(1.5em * 3);
}

.lp-page .lawyer-block-languages p {
    -webkit-line-clamp: 1;
    min-height: 1.5em;
}

.lp-page .lawyer-btn {
    width: 100%;
    margin-top: auto;
    min-height: 42px;
    padding: 0 22px;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: var(--landing-white);
}

.lp-page .lawyer-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.28);
}

@media (max-width: 900px) {
    .lp-page .lawyer-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 600px) {
    .lp-page .lawyer-card {
        flex-basis: 100%;
    }
}

/* ---- Individual lawyer profile page (lawyer.php) ---- */
.lp-page .lawyer-back {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.88rem;
    border-color: rgba(255, 255, 255, 0.35);
}

.lp-page .lawyer-profile {
    background: var(--landing-bg);
    padding: 54px 0 70px;
    min-height: 60vh;
}

.lp-page .lawyer-profile-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 42px;
    align-items: start;
}

.lp-page .lawyer-profile-side {
    background: var(--landing-white);
    border: 1px solid #e9eef6;
    border-radius: var(--radius-card);
    padding: 30px 26px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.lp-page .lawyer-photo--lg {
    width: 190px;
    height: 190px;
    margin-bottom: 20px;
}

.lp-page .lawyer-profile-side .lawyer-block {
    text-align: left;
}

.lp-page .lawyer-profile-cta {
    margin-top: 8px;
    width: 100%;
}

.lp-page .lawyer-profile-main {
    background: var(--landing-white);
    border: 1px solid #e9eef6;
    border-radius: var(--radius-card);
    padding: 38px 38px 44px;
    box-shadow: var(--shadow-card);
}

.lp-page .lawyer-profile-main h1 {
    margin: 6px 0 4px;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    color: var(--landing-dark);
}

.lp-page .lawyer-profile-role {
    margin: 0 0 24px;
    color: var(--landing-primary);
    font-weight: 700;
}

.lp-page .lawyer-profile-main h2 {
    margin: 24px 0 10px;
    font-size: 1.15rem;
    color: var(--landing-dark);
}

.lp-page .lawyer-spec-list {
    margin: 0;
    padding-left: 18px;
    color: var(--landing-text);
    line-height: 1.8;
}

.lp-page .lawyer-expertise-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.lp-page .lawyer-expertise-list li {
    position: relative;
    padding-left: 20px;
    color: var(--landing-muted);
    line-height: 1.65;
}

.lp-page .lawyer-expertise-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--landing-accent);
}

.lp-page .lawyer-expertise-list li strong {
    color: var(--landing-dark);
}

.lp-page .lawyer-priority {
    margin: 22px 0 0;
    padding: 16px 18px;
    border-left: 3px solid var(--landing-accent);
    background: #faf6ec;
    border-radius: 0 8px 8px 0;
    color: var(--landing-text);
    font-style: italic;
    line-height: 1.7;
}

.lp-page .lawyer-profile-main p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.8;
}

.lp-page .lawyer-profile-main .lawyer-priority {
    color: var(--landing-text);
}

@media (max-width: 760px) {
    .lp-page .lawyer-profile-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =========================================================
   "Quickly compare legal services" table
   ========================================================= */
.lp-page .landing-compare {
    background: #faf8f4;
    padding: 92px 0;
}

.lp-page .landing-compare-head {
    text-align: center;
    margin-bottom: 34px;
}

.lp-page .landing-compare-head h2 {
    margin: 0;
    padding: 0;
    color: var(--landing-dark);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.lp-page .compare-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    background: var(--landing-white);
    border: 1px solid #e9eef6;
    border-radius: var(--radius-card);
    padding: 10px 26px;
    box-shadow: var(--shadow-card);
}

.lp-page .compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.lp-page .compare-table th {
    padding: 16px;
    text-align: center;
    color: var(--landing-dark);
    font-weight: 700;
    border-bottom: 2px solid #e6ecf3;
    white-space: nowrap;
}

/* The feature column reads as body copy, so header and cells both sit
   left-aligned; the two icon columns stay centered, header and cells alike. */
.lp-page .compare-feature-col {
    text-align: left;
}

.lp-page .compare-col-brand {
    color: var(--landing-primary);
}

.lp-page .compare-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

.lp-page .compare-table tbody tr:nth-child(even) {
    background: #fafbfd;
}

.lp-page .compare-table tbody tr:hover {
    background: #f5f8ff;
}

.lp-page .compare-feature {
    text-align: left;
    color: var(--landing-text);
    font-weight: 600;
}

.lp-page .compare-cell {
    text-align: center;
    width: 160px;
}

.lp-page .compare-yes,
.lp-page .compare-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: transform 0.15s ease;
}

.lp-page .compare-table tbody tr:hover .compare-yes,
.lp-page .compare-table tbody tr:hover .compare-no {
    transform: scale(1.08);
}

.lp-page .compare-yes {
    background: #16a34a;
    color: var(--landing-white);
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.32);
}

.lp-page .compare-yes svg {
    width: 24px;
    height: 24px;
}

.lp-page .compare-no {
    background: #fde3e1;
    color: #dc2626;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.16);
}

.lp-page .compare-no svg {
    width: 24px;
    height: 24px;
}

.lp-page .compare-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.lp-page .landing-compare-head p {
    margin: 10px auto 0;
    max-width: 620px;
    color: var(--landing-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Text variant: each cell shows the yes/no icon followed by a short answer. */
.lp-page .compare-table-text .compare-cell {
    width: 34%;
    text-align: left;
}

.lp-page .compare-table-text th:not(.compare-feature-col) {
    text-align: left;
}

.lp-page .compare-cell-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-page .compare-table-text .compare-yes,
.lp-page .compare-table-text .compare-no {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
}

.lp-page .compare-table-text .compare-yes svg,
.lp-page .compare-table-text .compare-no svg {
    width: 17px;
    height: 17px;
}

.lp-page .compare-text {
    color: var(--landing-text);
    line-height: 1.45;
}

.lp-page .compare-table-text td:nth-child(2) .compare-text {
    font-weight: 600;
    color: var(--landing-dark);
}

@media (max-width: 560px) {
    .lp-page .compare-table-wrap {
        padding: 6px 12px;
    }

    .lp-page .compare-table-text .compare-cell {
        width: auto;
    }

    .lp-page .compare-cell-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .lp-page .compare-table-text .compare-yes,
    .lp-page .compare-table-text .compare-no {
        width: 24px;
        height: 24px;
    }

    .lp-page .compare-table-text .compare-yes svg,
    .lp-page .compare-table-text .compare-no svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 560px) {
    .lp-page .compare-table {
        font-size: 0.86rem;
    }

    .lp-page .compare-table th,
    .lp-page .compare-table td {
        padding: 11px 10px;
    }

    .lp-page .compare-cell {
        width: 88px;
    }

    .lp-page .compare-yes,
    .lp-page .compare-no {
        width: 34px;
        height: 34px;
    }

    .lp-page .compare-yes svg,
    .lp-page .compare-no svg {
        width: 19px;
        height: 19px;
    }
}

/* =========================================================
   "Clear pricing, no surprises" (#pricing)
   ========================================================= */
.lp-page .landing-pricing {
    background: var(--landing-white);
    padding: 92px 0;
}

.lp-page .landing-pricing-head {
    text-align: center;
    margin-bottom: 40px;
}

.lp-page .landing-pricing-head h2 {
    margin: 0 0 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    color: var(--landing-dark);
}

.lp-page .landing-pricing-head p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 1.02rem;
}

.lp-page .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.lp-page .pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    border: 1px solid #e9eef6;
    border-radius: var(--radius-card);
    padding: 32px 26px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.lp-page .pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--landing-accent) 0%, var(--landing-accent-dark) 100%);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.lp-page .pricing-card:hover {
    transform: var(--card-lift-hover);
    box-shadow: var(--shadow-card-hover);
}

.lp-page .pricing-card:hover::before,
.lp-page .pricing-card-featured::before {
    opacity: 1;
}

.lp-page .pricing-card-featured {
    border-color: rgba(244, 164, 40, 0.45);
}

.lp-page .pricing-tag {
    position: absolute;
    top: 22px;
    right: 22px;
    background: var(--landing-accent);
    color: var(--landing-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(244, 164, 40, 0.35);
}

.lp-page .pricing-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(244, 164, 40, 0.14);
    color: var(--landing-accent-dark);
    box-shadow: 0 6px 16px rgba(244, 164, 40, 0.18);
}

.lp-page .pricing-icon svg {
    width: 26px;
    height: 26px;
}

.lp-page .pricing-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--landing-dark);
}

.lp-page .pricing-card p {
    margin: 0 0 18px;
    color: var(--landing-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.lp-page .pricing-amount-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
    padding-top: 14px;
    border-top: 1px dashed #e9eef6;
    width: 100%;
}

.lp-page .pricing-amount-label {
    font-size: 0.82rem;
    color: var(--landing-muted);
}

.lp-page .pricing-amount {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--landing-dark);
}

.lp-page .pricing-btn {
    width: 100%;
    margin-top: auto;
    background: var(--landing-dark);
    color: var(--landing-white);
    min-height: 48px;
    font-size: 0.94rem;
}

.lp-page .pricing-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(8, 24, 39, 0.28);
}

.lp-page .pricing-quote-cta {
    margin-top: 44px;
    padding-top: 40px;
    border-top: 1px solid #eef2f7;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.lp-page .pricing-quote-cta p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 1rem;
}

.lp-page .pricing-quote-btn {
    background: transparent;
    border: 2px solid var(--landing-dark);
    color: var(--landing-dark);
}

.lp-page .pricing-quote-btn:hover {
    background: var(--landing-dark);
    color: var(--landing-white);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .lp-page .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .lp-page .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Intake section (#intake) - promo + "Send us a message" form
   ========================================================= */
.lp-page .landing-intake {
    background: var(--landing-bg);
    padding: 92px 0;
}

.lp-page .landing-intake-grid {
    display: grid;
    grid-template-columns: 38fr 62fr;
    gap: 40px;
    align-items: start;
}

.lp-page .intake-promo {
    background: linear-gradient(165deg, #f7f4ee 0%, #f0ebe0 100%);
    border: 1px solid #e7e2d6;
    border-radius: var(--radius-card);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
}

.lp-page .intake-promo h2 {
    margin: 0 0 22px;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    color: var(--landing-dark);
}

.lp-page .intake-form-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #16212f;
    color: var(--landing-white);
    font-weight: 700;
    font-size: 0.98rem;
}

.lp-page .intake-form-link svg {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}

.lp-page .intake-chat-lead {
    margin: 24px 0 12px;
    font-weight: 700;
    color: var(--landing-dark);
}

.lp-page .intake-chat-btn {
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-page .intake-points {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.lp-page .intake-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--landing-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.lp-page .intake-check {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #16a34a;
    color: var(--landing-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lp-page .intake-check svg {
    width: 13px;
    height: 13px;
}

.lp-page .intake-card {
    background: var(--landing-white);
    border: 1px solid #e9eef6;
    border-radius: var(--radius-card);
    padding: 38px 36px 40px;
    box-shadow: var(--shadow-card);
}

.lp-page .intake-card h2 {
    margin: 0 0 22px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: var(--landing-dark);
}

.lp-page .intake-form {
    display: grid;
    gap: 14px;
}

/* .intake-form sets display:grid, which would otherwise beat [hidden]. */
.lp-page .landing-intake [hidden] {
    display: none !important;
}

.lp-page .intake-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Country code + number, combined as "+1-4165551234" for submit.php. */
.lp-page .intake-phone {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
}

.lp-page .intake-message {
    padding: 11px 14px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.9rem;
}

.lp-page .intake-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.lp-page .intake-success {
    text-align: center;
    padding: 24px 0 8px;
}

.lp-page .intake-success .intake-check {
    width: 56px;
    height: 56px;
}

.lp-page .intake-success .intake-check svg {
    width: 28px;
    height: 28px;
}

.lp-page .intake-success h3 {
    margin: 16px 0 8px;
    color: var(--landing-dark);
    font-size: 1.4rem;
}

.lp-page .intake-success p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.6;
}

.lp-page .intake-form input,
.lp-page .intake-form select,
.lp-page .intake-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d9e0ea;
    border-radius: 8px;
    font: inherit;
    color: var(--landing-text);
    background: var(--landing-white);
}

.lp-page .intake-form textarea {
    resize: vertical;
    min-height: 110px;
}

.lp-page .intake-form input::placeholder,
.lp-page .intake-form textarea::placeholder {
    color: #97a2b0;
}

.lp-page .intake-form input:focus,
.lp-page .intake-form select:focus,
.lp-page .intake-form textarea:focus {
    outline: none;
    border-color: var(--landing-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.lp-page .intake-service-linkwrap {
    margin: -4px 0 0;
}

.lp-page .intake-service-link {
    color: var(--landing-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.lp-page .intake-privacy {
    display: flex;
    gap: 8px;
    margin: 4px 0 2px;
    color: var(--landing-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.lp-page .intake-lock {
    flex: 0 0 auto;
}

.lp-page .intake-submit {
    width: 100%;
    margin-top: 4px;
    gap: 10px;
}

.lp-page .intake-submit svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

@media (max-width: 860px) {
    .lp-page .landing-intake-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lp-page .intake-row {
        grid-template-columns: 1fr;
    }
}

/* ---- Individual service page (service.php) ---- */
.lp-page .service-page {
    background: var(--landing-bg);
    padding: 56px 0 72px;
    min-height: 60vh;
}

.lp-page .service-page-inner {
    max-width: 760px;
    background: var(--landing-white);
    border: 1px solid #e9eef6;
    border-radius: var(--radius-card);
    padding: 42px 40px 46px;
    box-shadow: var(--shadow-card);
}

.lp-page .service-page-inner h1 {
    margin: 6px 0 12px;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    color: var(--landing-dark);
}

.lp-page .service-summary {
    margin: 0 0 8px;
    color: var(--landing-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.lp-page .service-page-inner h2 {
    margin: 26px 0 12px;
    font-size: 1.15rem;
    color: var(--landing-dark);
}

.lp-page .service-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.lp-page .service-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--landing-text);
    line-height: 1.5;
}

.lp-page .service-check {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #16a34a;
    color: var(--landing-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lp-page .service-check svg {
    width: 13px;
    height: 13px;
}

.lp-page .service-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.lp-page .service-cta-ghost {
    border-color: #cdd6e2;
    color: var(--landing-text);
}

/* ---- Privacy Policy page (privacy-policy.php) ---- */
.lp-page .privacy-page {
    background: var(--landing-bg);
    padding: 56px 0 80px;
    min-height: 60vh;
}

.lp-page .privacy-page-inner {
    max-width: 820px;
    background: var(--landing-white);
    border: 1px solid #e9eef6;
    border-radius: var(--radius-card);
    padding: 42px 44px 52px;
    box-shadow: var(--shadow-card);
}

.lp-page .privacy-page-inner h1 {
    margin: 6px 0 8px;
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    color: var(--landing-dark);
}

.lp-page .privacy-effective {
    margin: 0 0 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef2f7;
    color: var(--landing-muted);
    font-size: 0.92rem;
}

.lp-page .privacy-page-inner .privacy-lead {
    margin: 0 0 14px;
    color: var(--landing-text);
    font-size: 1.02rem;
    line-height: 1.7;
}

.lp-page .privacy-page-inner h2 {
    margin: 34px 0 12px;
    font-size: 1.25rem;
    color: var(--landing-dark);
}

.lp-page .privacy-page-inner h3 {
    margin: 20px 0 10px;
    font-size: 1.02rem;
    color: var(--landing-dark);
}

.lp-page .privacy-page-inner p {
    margin: 0 0 14px;
    color: var(--landing-text);
    font-size: 0.96rem;
    line-height: 1.7;
}

.lp-page .privacy-list {
    margin: 0 0 14px;
    padding: 0 0 0 22px;
    display: grid;
    gap: 6px;
}

.lp-page .privacy-list li {
    color: var(--landing-text);
    font-size: 0.96rem;
    line-height: 1.6;
}

.lp-page .privacy-contact {
    margin-top: 4px;
    padding: 18px 20px;
    background: var(--landing-bg);
    border-radius: 14px;
    font-size: 0.96rem;
    line-height: 1.7;
}

.lp-page .privacy-contact a {
    color: var(--landing-accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.lp-page .privacy-contact a:hover {
    text-decoration: underline;
}

.lp-page .privacy-page-inner .privacy-notice {
    margin-top: 22px;
    padding: 16px 20px;
    background: #fff8eb;
    border-left: 4px solid var(--landing-accent);
    border-radius: 10px;
}

@media (max-width: 600px) {
    .lp-page .privacy-page-inner {
        padding: 32px 22px 40px;
    }
}

/* =========================================================
   "Frequently asked questions" section (#faq)
   ========================================================= */
.lp-page .landing-faq {
    background: var(--landing-white);
    padding: 92px 0;
}

.lp-page .landing-faq-head {
    text-align: center;
    margin-bottom: 34px;
}

.lp-page .landing-faq-head h2 {
    margin: 0 0 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    color: var(--landing-dark);
}

.lp-page .landing-faq-head p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--landing-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.lp-page .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
    max-width: 920px;
    margin: 0 auto;
    align-items: start;
}

.lp-page .faq-item {
    background: #faf9f6;
    border: 1px solid #ece8df;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-page .faq-item[open],
.lp-page .faq-item:hover {
    border-color: #e2dccb;
    box-shadow: var(--shadow-card-hover);
}

.lp-page .faq-item summary {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--landing-text);
    font-size: 0.92rem;
    line-height: 1.45;
}

.lp-page .faq-item summary::-webkit-details-marker {
    display: none;
}

.lp-page .faq-plus {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(244, 164, 40, 0.16);
    color: var(--landing-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lp-page .faq-plus svg {
    width: 12px;
    height: 12px;
}

.lp-page .faq-item[open] .faq-plus {
    transform: rotate(45deg);
    background: var(--landing-accent);
    color: var(--landing-white);
}

.lp-page .faq-answer {
    padding: 0 16px 16px 50px;
    color: var(--landing-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.lp-page .faq-more {
    text-align: center;
    margin: 34px 0 0;
    font-weight: 700;
    color: var(--landing-dark);
}

.lp-page .faq-more a {
    color: var(--landing-primary);
    text-decoration: underline;
}

@media (max-width: 700px) {
    .lp-page .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   "Hear From Our Customers" testimonial carousel (#reviews)
   ========================================================= */
.lp-page .landing-reviews {
    background: var(--landing-bg);
    padding: 92px 0;
}

.lp-page .landing-reviews-head {
    text-align: center;
    margin-bottom: 34px;
}

.lp-page .landing-reviews-head h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 800;
    color: var(--landing-dark);
}

.lp-page .reviews-carousel {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

/* Same shadow-clipping fix as .lawyers-viewport - see comment there. */
.lp-page .reviews-viewport {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 56px 0;
    margin: -56px 0;
}

.lp-page .reviews-track {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    display: flex;
    transition: transform 0.45s ease;
}

.lp-page .review-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    background: var(--landing-white);
    border: 1px solid #eef2f7;
    border-radius: var(--radius-card);
    padding: 44px 48px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.lp-page .review-stars {
    color: var(--landing-accent);
    font-size: 1.15rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.lp-page .review-quote {
    margin: 0 auto 18px;
    max-width: 520px;
    color: var(--landing-text);
    font-size: 1rem;
    line-height: 1.75;
}

.lp-page .review-author {
    margin: 0;
    font-weight: 700;
    color: var(--landing-dark);
    font-size: 0.92rem;
}

.lp-page .reviews-arrow {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: var(--landing-white);
    color: var(--landing-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(18, 35, 53, 0.08);
    transition: background 0.15s ease, transform 0.15s ease;
}

.lp-page .reviews-arrow:hover {
    background: #f3f6fb;
    transform: translateY(-1px);
}

.lp-page .reviews-arrow svg {
    width: 18px;
    height: 18px;
}

.lp-page .reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.lp-page .reviews-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #c7d0dc;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.lp-page .reviews-dot.is-active {
    width: 22px;
    background: var(--landing-primary);
}

@media (max-width: 640px) {
    .lp-page .reviews-carousel {
        gap: 8px;
    }

    .lp-page .review-card {
        padding: 32px 22px;
    }

    .lp-page .reviews-arrow {
        width: 40px;
        height: 40px;
    }
}

/* =========================================================
   Closing CTA - "Real estate law has never been easier"
   ========================================================= */
.lp-page .landing-final-cta {
    background: #f7f2e6;
    padding: 92px 0;
    text-align: center;
}

.lp-page .landing-final-cta-inner {
    max-width: 720px;
}

.lp-page .landing-final-cta h2 {
    margin: 0 0 12px;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: var(--landing-dark);
}

.lp-page .landing-final-cta p {
    margin: 0 auto 26px;
    max-width: 560px;
    color: var(--landing-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.lp-page .cta2-brand {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(244, 164, 40, 0.16);
    color: #b5771a;
    font-weight: 700;
}

.lp-page .cta2-btn {
    background: var(--landing-dark);
    color: var(--landing-white);
    padding: 0 28px;
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(8, 24, 39, 0.2);
}

.lp-page .cta2-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(8, 24, 39, 0.25);
}

