/**
Theme Name: Media Spearhead
Author: Media Spearhead
Author URI: https://mediaspearhead.com
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: media-spearhead
Template: astra
*/

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

:root {
    /* RGB for overlays (matches --primary-blue #0A1C3C) */
    --primary-blue-rgb: 10, 28, 60;
    --primary-blue: #0A1C3C;
    --navy-blue: #162C56;
    --accent-yellow: #FFC90B;
    --accent-yellow-hover: #E5B200;
    --text-dark: #333333;
    --text-muted: #4b5563;
    --text-light: #F4F6F9;
    --background-grey: #F8F9FA;
    --white: #FFFFFF;
    --font-family: 'Outfit', sans-serif;
    /* Type scale (16px root): comfortable reading + hierarchy */
    --fs-body: 1.125rem;
    --fs-body-sm: 1.0625rem;
    --fs-lead: 1.25rem;
    --fs-xl: 1.375rem;
    --lh-prose: 1.65;
    --lh-snug: 1.35;
    --lh-heading: 1.18;
}

body {
    font-family: var(--font-family);
    font-size: var(--fs-body);
    color: var(--text-dark);
    line-height: var(--lh-prose);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}
.clf-landing{
    margin-top:0 !important;
}
input,
textarea,
select,
button {
    font-size: var(--fs-body-sm);
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: var(--lh-heading);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: var(--fs-lead);
    line-height: var(--lh-prose);
    max-width: 42rem;
    margin: 0 auto 40px;
    color: var(--text-muted);
}

.subtitle-yellow {
    color: var(--accent-yellow);
    font-weight: 600;
    text-transform: uppercase;
}

.center-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    line-height: var(--lh-heading);
    text-wrap: balance;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: var(--fs-body-sm);
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-yellow {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
}

.btn-yellow:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 201, 11, 0.3);
}

.btn-outline-dark {
    background-color: var(--navy-blue);
    color: var(--white);
    border: 2px solid var(--navy-blue);
    width: 100%;
}

.btn-outline-dark:hover {
    background-color: transparent;
    color: var(--navy-blue);
}

.btn-large {
    font-size: var(--fs-lead);
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 201, 11, 0.4);
}

.btn-full {
    width: 100%;
}

.btn-text {
    color: var(--accent-yellow);
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--fs-body-sm);
    display: inline-block;
    margin-top: 10px;
}

/* Top Bar */
.top-bar {
    background-color: var(--background-grey);
    padding: 10px 0;
    font-size: var(--fs-body);
    line-height: var(--lh-snug);
    color: var(--text-muted);
}

.top-bar__inner {
    text-align: right;
}

.top-bar__inner p {
    margin: 0;
}

/* Header Navigation */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    line-height: 0;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: clamp(150px, 22vw, 200px);
    height: auto;
    min-height: 70px;
    aspect-ratio: 180 / 84;
    object-fit: contain;
    object-position: left center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a:not(.btn) {
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--fs-body);
    letter-spacing: 0.01em;
}

.main-nav a:not(.btn):hover {
    color: var(--accent-yellow);
}

/* Mobile menu toggle (visible ≤768px) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    flex-shrink: 0;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

.nav-toggle__bar {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Fullscreen mobile menu — panel from right */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.35s;
}

.mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s;
}

.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 28, 60, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-menu.is-open .mobile-menu__backdrop {
    opacity: 1;
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 340px);
    max-width: 100%;
    background-color: var(--white);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
}

.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #e8ecf1;
}

.mobile-menu__brand-img {
    display: block;
    height: auto;
    max-height: 44px;
    width: auto;
    max-width: 200px;
}

.mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -8px -8px -8px 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-blue);
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-menu__close:hover {
    color: var(--navy-blue);
    background-color: var(--background-grey);
}

.mobile-menu__close:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

.mobile-menu__list {
    list-style: none;
    padding: 16px 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu__list a:not(.btn) {
    display: block;
    padding: 14px 12px;
    font-weight: 600;
    font-size: var(--fs-body);
    color: var(--text-dark);
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu__list a:not(.btn):hover {
    background-color: var(--background-grey);
    color: var(--primary-blue);
}

.mobile-menu__cta {
    margin-top: 12px;
    padding-top: 8px;
}

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1511632765486-a01980e01a18?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    padding: clamp(72px, 12vw, 110px) 0 clamp(120px, 18vw, 170px);
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    /* Brand navy tint across full width (avoids gray/warm cast on the right) */
    background:
        linear-gradient(
            105deg,
            rgba(var(--primary-blue-rgb), 0.97) 0%,
            rgba(var(--primary-blue-rgb), 0.88) 38%,
            rgba(var(--primary-blue-rgb), 0.78) 72%,
            rgba(var(--primary-blue-rgb), 0.72) 100%
        );
}

/* Uses .container: same 1400px max-width + horizontal padding as trust bar, services, etc. */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: clamp(24px, 3vw, 40px);
}

@media (min-width: 1101px) {
    .hero-content {
        text-align: left;
    }

    .hero-text {
        text-align: left;
    }
}

.hero-text {
    /* flex-grow: 0 — copy stays left; form aligns right via space-between */
    flex: 0 1 560px;
    max-width: 560px;
    min-width: 0;
    width: 100%;
}

.hero-text h1 {
    font-size: clamp(2.25rem, 1.5rem + 3.5vw, 3.75rem);
    font-weight: 800;
    margin-bottom: 18px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color:#fff;
}

.hero-subtext {
    font-size: clamp(1.25rem, 1rem + 1.2vw, 1.625rem);
    font-weight: 500;
    line-height: var(--lh-snug);
    margin-bottom: 10px;
    max-width: 38rem;
}

.hero-disclaimer {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 20px;
    max-width: 38rem;
}

.trust-logos {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: var(--fs-body-sm);
    line-height: var(--lh-snug);
}

/* Desktop (two-column hero) only — below trust badges */
.hero-call-btn {
    display: none;
    margin-top: 22px;
    padding: 14px 26px;
    font-size: var(--fs-body);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1101px) {
    .hero-call-btn {
        display: inline-block;
    }
}

.hero-call-btn:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 3px;
}

.hero-form-box {
    background-color: rgba(var(--primary-blue-rgb), 0.94);
    backdrop-filter: blur(12px);
    padding: 36px 32px 40px;
    border-radius: 12px;
    width: 100%;
    flex: 0 0 auto;
    max-width: 400px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.18),
        0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 5px solid var(--accent-yellow);
}

.hero-form-box h2 {
    color: var(--white);
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    margin-bottom: 22px;
    text-align: center;
    line-height: var(--lh-heading);
    font-weight: 800;
}

.consultation-form input,
.consultation-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.97);
    border-radius: 6px;
    font-family: inherit;
}

.consultation-form textarea {
    min-height: 96px;
    resize: vertical;
}

.ghl-form-embed {
    width: 100%;
    min-height: 370px;
    height: 370px;
}

.ghl-form-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.privacy-note {
    font-size: var(--fs-body-sm);
    line-height: var(--lh-prose);
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    margin-top: 15px;
}

/* Hero form only: clearer privacy line on navy */
.hero-section .privacy-note {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.88);
    margin-top: 18px;
}

/* Trust Bar */
.trust-bar-section {
    position: relative;
    margin-top: -80px;
    z-index: 10;
    padding-bottom: 80px;
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.trust-summary {
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.trust-summary h3 {
    font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
    color: var(--accent-yellow);
    margin-bottom: 5px;
    line-height: var(--lh-heading);
}

.review-card p {
    font-size: var(--fs-body);
    line-height: var(--lh-prose);
    font-style: italic;
    color: var(--text-muted);
}

.stars {
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.testimonial-card .stars {
    display: inline-block;
    font-size: var(--fs-lead);
    line-height: 1;
    letter-spacing: 0.06em;
}

.review-author {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

/* Why Choose Us — two-column + checklist */
.why-choose-section {
    padding: clamp(72px, 10vw, 104px) 0;
    background-color: var(--white);
}

.why-choose__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}

.why-choose__title {
    font-size: clamp(1.85rem, 1.35rem + 1.8vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-blue);
    line-height: var(--lh-heading);
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    text-align: left;
}

.why-choose__lead {
    font-size: var(--fs-lead);
    line-height: var(--lh-prose);
    color: var(--text-muted);
    margin: 0 0 1.75rem;
    max-width: 38rem;
}

.why-choose__list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.why-choose__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.why-choose__item:last-child {
    margin-bottom: 0;
}

.why-choose__check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: 2px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
}

.why-choose__item-text {
    font-size: var(--fs-body-sm);
    line-height: var(--lh-prose);
    color: var(--text-muted);
}

.why-choose__item-text strong {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: var(--fs-body);
}

.why-choose__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}

.why-choose__btn-primary {
    padding: 14px 26px;
    font-weight: 700;
    font-size: var(--fs-body-sm);
    box-shadow: 0 4px 16px rgba(255, 201, 11, 0.35);
}

.why-choose__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: var(--fs-body-sm);
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    border: 2px solid var(--primary-blue);
    border-radius: 4px;
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.why-choose__btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.why-choose__visual {
    position: relative;
}

.why-choose__visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    box-shadow:
        0 24px 48px rgba(10, 28, 60, 0.12),
        0 8px 16px rgba(10, 28, 60, 0.06);
}

@media (max-width: 992px) {
    .why-choose__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose__visual {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .why-choose__title,
    .why-choose__lead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .why-choose__lead {
        max-width: 40rem;
    }

    .why-choose__actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .why-choose__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .why-choose__btn-primary,
    .why-choose__btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* Services */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
    text-align: center;
}

.service-content h3 {
    font-size: var(--fs-xl);
    margin-bottom: 0;
    color: var(--primary-blue);
    line-height: var(--lh-snug);
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-weight: 600;
    font-size: var(--fs-body-sm);
    line-height: var(--lh-snug);
    color: var(--text-muted);
}

/* Process Section */
.process-section {
    background-color: var(--background-grey);
    padding: 100px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.process-card h3 {
    color: var(--primary-blue);
    font-size: var(--fs-lead);
    margin-bottom: 15px;
    line-height: var(--lh-snug);
}

.process-card p {
    font-size: var(--fs-body);
    line-height: var(--lh-prose);
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Testimonials & Attorney Section */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.testimonial-card {
    padding: 30px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-align: center;
}

.testimonial-card p {
    font-size: var(--fs-body);
    line-height: var(--lh-prose);
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.testimonial-card strong {
    font-size: var(--fs-body-sm);
    font-style: normal;
    font-weight: 700;
    color: var(--text-dark);
}

/* Attorney — full-width navy band (long-form bio) */
.attorney-section {
    position: relative;
    padding: 72px 0 88px;
    color: #e8edf5;
    background-color: #070f1f;
    background-image: linear-gradient(165deg, #0a1c3c 0%, #0d2247 45%, #081428 100%);
}

.attorney-section__inner {
    max-width: 1400px;
}

.attorney-hero {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
}

.attorney-hero__intro {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 40px 52px;
    align-items: start;
}

.attorney-hero__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.attorney-hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.attorney-hero__accent {
    position: absolute;
    bottom: 8px;
    left: -10px;
    width: min(52%, 200px);
    height: min(38vw, 180px);
    max-height: 200px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #e5b200 100%);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
    z-index: 0;
    opacity: 0.88;
}

.attorney-hero__photo-wrap {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.attorney-hero__photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Badges / marks under portrait */
.attorney-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    justify-content: flex-start;
}

.attorney-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.attorney-trust--google,
.attorney-trust--avvo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    padding: 10px 8px;
    flex-shrink: 0;
}

.attorney-trust__stars {
    color: var(--accent-yellow);
    font-size: var(--fs-body-sm);
    letter-spacing: -0.07em;
    line-height: 1;
    margin-bottom: 2px;
}

.attorney-trust__line {
    font-size: var(--fs-body-sm);
    line-height: 1.2;
}

.attorney-trust__score {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.attorney-trust__sub {
    font-size: var(--fs-body-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.attorney-trust__brand {
    font-size: var(--fs-body-sm);
    font-weight: 700;
    color: #5c6578;
    margin-top: 3px;
}

.attorney-trust--logo {
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 48px;
    font-size: var(--fs-body-sm);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.attorney-section__title {
    color: var(--accent-yellow);
    font-size: clamp(1.85rem, 1.5rem + 2vw, 2.85rem);
    font-weight: 800;
    line-height: var(--lh-heading);
    margin: 0;
    text-align: left;
    letter-spacing: -0.02em;
}

.attorney-bio {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

.attorney-bio p {
    margin: 0 0 1.15rem;
    font-size: var(--fs-body);
    line-height: var(--lh-prose);
    color: rgba(255, 255, 255, 0.95);
    max-width: none;
}

.attorney-bio p:last-child {
    margin-bottom: 0;
}

.attorney-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.attorney-meta__block--education {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.attorney-meta__block--awards {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.attorney-meta__heading {
    font-size: var(--fs-body-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-yellow);
    margin-bottom: 12px;
}

.attorney-meta__list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: var(--fs-body-sm);
    line-height: var(--lh-prose);
    color: rgba(255, 255, 255, 0.92);
    list-style-position: outside;
}

.attorney-meta__list li {
    margin-bottom: 0.5rem;
    padding-left: 0.15rem;
}

.attorney-meta__list li:last-child {
    margin-bottom: 0;
}

/* Awards: two balanced columns on wider viewports */
.attorney-meta__list--awards {
    column-count: 2;
    column-gap: 2.5rem;
    padding-left: 1.2rem;
}

.attorney-meta__list--awards li {
    break-inside: avoid;
}

.follow-section {
    padding: 56px 0 0;
    background-color: var(--white);
}

.follow-us {
    text-align: center;
}

.follow-us p {
    font-size: var(--fs-lead);
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--navy-blue);
    color: var(--white);
    border-radius: 50%;
    font-size: var(--fs-body-sm);
    font-weight: 700;
}

/* Book Section — light layout, book on yellow disc + copy with accent rule */
.book-section {
    background-color: var(--white);
    padding: 72px 0 88px;
}

.book-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px 64px;
    max-width: 1120px;
    margin: 0 auto;
}

.book-visual {
    position: relative;
    flex: 0 1 40%;
    max-width: 420px;
    min-width: 220px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    box-sizing: border-box;
}

.book-visual__disc {
    position: absolute;
    width: min(100%, 300px);
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: var(--accent-yellow);
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.book-visual__book {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.book-visual__book img {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
    box-shadow: none;
}

.book-copy {
    flex: 1 1 58%;
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.book-copy__inner {
    border-left: 3px solid var(--primary-blue);
    padding: 4px 8px 4px 28px;
    width: 100%;
    box-sizing: border-box;
}

.book-sub {
    font-size: var(--fs-body-sm);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: var(--text-muted);
}

.book-heading {
    font-size: clamp(2rem, 1.6rem + 2vw, 2.65rem);
    font-weight: 800;
    line-height: var(--lh-heading);
    margin: 0 0 16px;
    color: #111827;
    letter-spacing: -0.02em;
}

.book-tagline-bar {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 22px;
    padding: 18px 22px;
    background-color: var(--primary-blue);
    font-size: var(--fs-body);
    line-height: var(--lh-prose);
}

.book-tagline-bar em {
    font-style: italic;
    font-weight: 500;
    color: #fef3c7;
}

.book-body {
    margin: 0 0 16px;
    font-size: var(--fs-body);
    line-height: var(--lh-prose);
    color: #1f2937;
}

.book-copy .book-body:last-of-type {
    margin-bottom: 22px;
}

.book-cta {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 800;
    font-size: var(--fs-lead);
    line-height: var(--lh-snug);
    color: #111827;
    background-color: var(--accent-yellow);
    border: none;
    border-radius: 2px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.book-cta:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-1px);
}

/* Clients Section — infinite marquee */
.clients-section {
    padding: 80px 0;
}

.clients-marquee {
    width: 100%;
    margin: 0 auto 40px;
    max-width: 100%;
}

.clients-marquee__viewport {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 0 clamp(8px, 2vw, 24px);
    /* Softer edge fade so logos are not visually cut off */
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.clients-marquee__track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: clients-marquee-scroll 50s linear infinite;
}

.clients-marquee:hover .clients-marquee__track {
    animation-play-state: paused;
}

.clients-marquee__set {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    padding-right: clamp(28px, 4vw, 56px);
    flex-shrink: 0;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 12px;
}

.client-logo img {
    display: block;
    max-width: min(220px, 32vw);
    max-height: 88px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

@keyframes clients-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .clients-marquee__viewport {
        mask-image: none;
        -webkit-mask-image: none;
        overflow-x: auto;
    }

    .clients-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        padding-bottom: 8px;
    }

    .clients-marquee__set[aria-hidden="true"] {
        display: none;
    }

    .clients-marquee__set {
        padding-right: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px 40px;
    }
}

/* Footer */
.main-footer {
    background-color: #0b2239;
    color: var(--white);
    padding-top: 64px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 28px;
    padding-bottom: 48px;
}

.footer-col {
    min-width: 0;
}

.footer-brand-link {
    display: inline-block;
    line-height: 0;
    margin-bottom: 20px;
}

.footer-brand-link img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-heading {
    font-size: var(--fs-lead);
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    line-height: var(--lh-snug);
}

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

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--fs-body-sm);
    font-weight: 500;
    line-height: var(--lh-prose);
}

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

.footer-contact-quote {
    margin: 0 0 14px;
    font-size: var(--fs-body);
    line-height: var(--lh-prose);
    color: rgba(255, 255, 255, 0.9);
}

.footer-by-appt {
    margin: 0 0 12px;
    font-size: var(--fs-body-sm);
    font-weight: 700;
    color: var(--accent-yellow);
    letter-spacing: 0.04em;
}

.footer-phone,
.footer-email {
    margin: 0 0 8px;
    font-size: var(--fs-body);
    line-height: var(--lh-snug);
}

.footer-phone a,
.footer-email a {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 22px;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0.92;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-social__link:hover {
    color: var(--accent-yellow);
    opacity: 1;
}

.footer-badge-img {
    display: block;
    height: auto;
    margin-top: 4px;
    object-fit: contain;
}

.footer-badge-img--law500 {
    max-width: 150px;
    width: 100%;
}

.footer-badge-img--super {
    max-width: 220px;
    width: 100%;
    margin-top: 8px;
}

.footer-badge-img--ssl {
    max-width: 140px;
    width: 100%;
    margin-top: 8px;
}

.footer-bottom-bar {
    background-color: var(--accent-yellow);
    color: #111827;
    padding: 14px 0;
    font-weight: 700;
    font-size: var(--fs-lead);
    line-height: var(--lh-snug);
}

.footer-bottom-bar__inner {
    text-align: center;
}

.footer-bottom-bar p {
    margin: 0;
}

.footer-bottom-bar a {
    color: #111827;
    text-decoration: none;
    font-weight: 800;
}

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

/* Hero: mobile — stack, copy + form centered */
@media (max-width: 1100px) {
    .hero-content {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        align-content: flex-start;
        text-align: center;
        /* Tight stack: avoid large strip of background between badges and form */
        gap: 18px;
    }

    /* Row: flex-basis 560px = width. Column: same rule becomes HEIGHT → huge empty strip. Reset. */
    .hero-text {
        flex: 0 1 auto;
        align-self: stretch;
        max-width: 640px;
        margin-bottom: 0;
    }

    .hero-form-box {
        align-self: center;
        width: 100%;
        max-width: 400px;
        margin-top: 0;
    }

    .trust-logos {
        justify-content: center;
        margin-bottom: 0;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .trust-bar-grid, 
    .services-grid, 
    .process-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-bar-section {
        margin-top: 40px;
    }

    .attorney-hero__intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .attorney-hero__visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .attorney-trust-strip {
        justify-content: center;
    }

    .attorney-section__title {
        text-align: center;
    }

    .book-container {
        flex-direction: column;
        gap: 36px 0;
    }

    .book-copy {
        flex: 1 1 auto;
        width: 100%;
    }

    .book-copy__inner {
        border-left: none;
        border-top: 3px solid var(--primary-blue);
        padding: 24px 0 0;
        text-align: left;
    }

    .book-visual {
        flex: 0 0 auto;
        width: 100%;
        max-width: 380px;
        min-height: 260px;
        margin: 0 auto;
        padding: 20px 12px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero-content {
        gap: 12px;
    }

    .hero-section .hero-subtext {
        margin-bottom: 8px;
    }

    .hero-section .hero-disclaimer {
        margin-bottom: 16px;
    }

    .hero-section .trust-logos {
        display: none;
    }

    .hero-section .hero-form-box {
        margin-top: 35px;
    }

    .ghl-form-embed {
        min-height: 420px;
        height: 420px;
    }
    
    .trust-bar-grid, 
    .services-grid, 
    .process-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .attorney-section {
        padding: 48px 0 56px;
    }

    .attorney-meta__list--awards {
        column-count: 1;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }
}

