/* ==========================================================
   FindApart Homepage — matches approved mock-up
   ========================================================== */

.fa-homepage {
    margin: 0;
    padding: 0;
    background: #0b0f16;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- HERO ---------- */

.fa-home-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    background-image: url('/wp-content/uploads/2026/06/background-image.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}

.fa-home-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9,13,20,0.85) 0%, rgba(9,13,20,0.45) 60%, rgba(9,13,20,0.25) 100%);
    z-index: 1;
}

.fa-home-hero > *:not(.fa-home-overlay) {
    position: relative;
    z-index: 2;
}

/* ---------- HEADER ---------- */

.fa-header {
    background: rgba(8, 11, 17, 0.85);
    padding: 14px 0;
}

.fa-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.fa-header-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.fa-header-logo img {
    height: 88px;
    width: auto;
    display: block;
}

.fa-logo-tagline {
    color: #d9a827;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
}

.fa-nav {
    display: flex;
    gap: 32px;
}

.fa-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.fa-nav a:hover {
    color: #f2c230;
}

.fa-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f2c230;
    border: 1px solid #d9a827;
    border-radius: 32px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.fa-login:hover {
    background: #d9a827;
    color: #0d1117;
}

/* ---------- HERO BODY ---------- */

.fa-hero-body {
    flex: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 56px 32px 64px;
}

.fa-hero-copy {
    max-width: 520px;
}

.fa-hero-copy h1 {
    font-size: 52px;
    line-height: 1.12;
    font-weight: 800;
    margin: 0 0 14px;
    color: #ffffff;
}

.fa-hero-copy h1 span {
    color: #f2c230;
}

.fa-gold-line {
    width: 56px;
    height: 4px;
    background: #d9a827;
    margin: 0 0 18px;
}

.fa-hero-copy p {
    font-size: 17px;
    line-height: 1.6;
    color: #d6d9de;
    margin: 0;
}

/* ---------- SEARCH PANEL ---------- */

.fa-search-panel {
    max-width: 860px;
    background: rgba(13, 17, 24, 0.88);
    border: 1px solid #d9a827;
    border-radius: 14px;
    padding: 28px 36px 32px;
    margin-top: 44px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.fa-search-panel h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 22px;
    text-align: center;
    color: #ffffff;
}

.fa-search-grid {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: start;
    gap: 18px;
}

.fa-reg-column h3,
.fa-manual-column h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #f2c230;
}

.fa-reg-box {
    display: flex;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.fa-reg-flag {
    background: #003fa3;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    flex-shrink: 0;
}

.fa-reg-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0 16px;
    text-transform: uppercase;
    min-width: 0;
}

.fa-reg-box input::placeholder {
    color: #8b919b;
}

.fa-reg-column small {
    display: block;
    color: #9aa0a8;
    font-size: 13px;
    margin: 8px 0 14px;
}

.fa-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #f2c230;
    color: #14181f;
    border: none;
    border-radius: 8px;
    height: 50px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.fa-btn-primary:hover {
    background: #ffd24a;
}

.fa-or-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.fa-or-divider::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.fa-or-divider span {
    position: relative;
    width: 52px;
    height: 52px;
    background: #0d1118;
    border: 1px solid #d9a827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #ffffff;
}

.fa-manual-column p {
    color: #d6d9de;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 18px;
}

.fa-btn-secondary {
    width: 100%;
    background: transparent;
    color: #ffffff;
    border: 1px solid #d9a827;
    border-radius: 8px;
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.fa-btn-secondary:hover {
    background: rgba(217, 168, 39, 0.15);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
    .fa-nav { gap: 20px; }
    .fa-hero-copy h1 { font-size: 44px; }
}

@media (max-width: 820px) {
    .fa-nav { display: none; }

    .fa-hero-copy h1 { font-size: 36px; }

    .fa-search-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fa-or-divider { min-height: 52px; }

    .fa-or-divider::before {
        top: 50%;
        bottom: auto;
        left: 0;
        right: 0;
        width: auto;
        height: 1px;
    }

    .fa-search-panel {
        padding: 24px 20px 28px;
    }
}

/* ---------- HOW IT WORKS ---------- */

.fa-how-it-works {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 32px 56px;
}

.fa-section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 40px;
}

.fa-section-title span {
    color: #e03a3a;
}

.fa-hiw-grid {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
    align-items: stretch;
    gap: 12px;
}

.fa-hiw-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 34px 22px 26px;
    text-align: center;
}

.fa-hiw-num {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 30px;
    height: 30px;
    background: #f2c230;
    color: #14181f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}

.fa-hiw-icon svg {
    width: 46px;
    height: 46px;
    color: #ffffff;
    margin-bottom: 14px;
}

.fa-hiw-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
}

.fa-hiw-card p {
    font-size: 14px;
    line-height: 1.55;
    color: #c7ccd3;
    margin: 0;
}

.fa-hiw-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f2c230;
    font-size: 30px;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .fa-hiw-grid {
        grid-template-columns: 1fr 1fr;
    }
    .fa-hiw-arrow { display: none; }
}

@media (max-width: 560px) {
    .fa-hiw-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- TRUST BAR ---------- */

.fa-trust-bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 56px;
}

.fa-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px 10px;
}

.fa-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.fa-trust-item:last-child {
    border-right: none;
}

.fa-trust-icon svg {
    width: 40px;
    height: 40px;
    color: #f2c230;
    flex-shrink: 0;
}

.fa-trust-text h3 {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
}

.fa-trust-text p {
    font-size: 13.5px;
    line-height: 1.5;
    color: #c7ccd3;
    margin: 0;
}

@media (max-width: 1024px) {
    .fa-trust-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 26px;
    }
    .fa-trust-item:nth-child(2) { border-right: none; }
}

@media (max-width: 560px) {
    .fa-trust-grid { grid-template-columns: 1fr; }
    .fa-trust-item { border-right: none; }
}

/* ---------- STATS BAR ---------- */

.fa-stats-bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 56px;
}

.fa-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px 10px;
}

.fa-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.fa-stat:last-child {
    border-right: none;
}

.fa-stat-icon svg {
    width: 38px;
    height: 38px;
    color: #f2c230;
    flex-shrink: 0;
}

.fa-stat-text {
    display: flex;
    flex-direction: column;
}

.fa-stat-text strong {
    font-size: 26px;
    font-weight: 800;
    color: #f2c230;
    line-height: 1.15;
}

.fa-stat-text span {
    font-size: 13.5px;
    color: #c7ccd3;
    margin-top: 3px;
}

@media (max-width: 1024px) {
    .fa-stats-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 24px;
    }
    .fa-stat:nth-child(2) { border-right: none; }
}

@media (max-width: 560px) {
    .fa-stats-grid { grid-template-columns: 1fr; }
    .fa-stat { border-right: none; }
}

/* ---------- CTA BANNER ---------- */

.fa-cta-banner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 72px;
}

.fa-cta-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 34px 40px;
}

.fa-cta-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fa-cta-icon svg {
    width: 38px;
    height: 38px;
    color: #ffffff;
}

.fa-cta-text {
    flex: 1;
}

.fa-cta-text h2 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
}

.fa-cta-text p {
    font-size: 15px;
    color: #c7ccd3;
    margin: 0;
    line-height: 1.5;
}

.fa-cta-text .fa-cta-gold {
    color: #f2c230;
    font-weight: 700;
    margin-top: 4px;
}

.fa-cta-button {
    background: #f2c230;
    color: #14181f;
    border-radius: 8px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.fa-cta-button:hover {
    background: #ffd24a;
}

@media (max-width: 820px) {
    .fa-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }
}

/* ---------- FOOTER ---------- */

.fa-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0e14;
}

.fa-footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 32px 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 0.9fr;
    gap: 36px;
}

.fa-footer-brand img {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
}

.fa-footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #9aa0a8;
    margin: 0;
    max-width: 260px;
}

.fa-footer-col h4 {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
}

.fa-footer-col a {
    display: block;
    color: #c7ccd3;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
}

.fa-footer-col a:hover {
    color: #f2c230;
}

.fa-footer-social {
    display: flex;
    gap: 12px;
}

.fa-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.fa-footer-social svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.fa-footer-social a:hover {
    background: #f2c230;
}

.fa-footer-social a:hover svg {
    color: #14181f;
}

@media (max-width: 1024px) {
    .fa-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .fa-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ---------- REFINEMENTS: centred panel + tighter HIW ---------- */

.fa-search-panel {
    margin-left: auto;
    margin-right: auto;
}

.fa-how-it-works {
    max-width: 1100px;
    padding: 56px 32px 48px;
}

.fa-section-title {
    font-size: 26px;
    margin-bottom: 30px;
}

.fa-hiw-grid {
    grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr;
    gap: 8px;
}

.fa-hiw-card {
    padding: 26px 16px 20px;
    border-radius: 10px;
    transition: border-color 0.2s;
}

.fa-hiw-card:hover {
    border-color: #d9a827;
}

.fa-hiw-num {
    width: 26px;
    height: 26px;
    font-size: 13px;
    top: 11px;
    left: 11px;
}

.fa-hiw-icon svg {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
}

.fa-hiw-card h3 {
    font-size: 16px;
    margin-bottom: 7px;
}

.fa-hiw-card p {
    font-size: 13px;
}

.fa-hiw-arrow {
    font-size: 24px;
}

/* ---------- REFINEMENT: align hero copy with centred panel ---------- */

.fa-hero-body {
    max-width: 924px;
    padding-top: 44px;
}

.fa-search-panel {
    margin-top: 36px;
}

/* ---------- HERO v2: side-by-side ---------- */

.fa-hero2 {
    flex: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 32px 64px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
}

.fa-hero2-copy h1 {
    font-size: 50px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 14px;
    color: #ffffff;
    text-transform: uppercase;
}

.fa-hero2-copy h1 span {
    color: #f2c230;
}

.fa-hero2-copy p {
    font-size: 17px;
    line-height: 1.65;
    color: #d6d9de;
    margin: 0 0 30px;
    max-width: 440px;
}

.fa-hero2-copy p strong {
    color: #f2c230;
}

.fa-hero2-stats {
    display: flex;
    gap: 34px;
}

.fa-hero2-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fa-hero2-stat svg {
    width: 30px;
    height: 30px;
    color: #f2c230;
    flex-shrink: 0;
}

.fa-hero2-stat strong {
    display: block;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.fa-hero2-stat span {
    font-size: 12.5px;
    color: #b7bcc4;
}

/* ---------- SEARCH PANEL v2 ---------- */

.fa-sp2 {
    background: rgba(13, 17, 24, 0.92);
    border: 1px solid #d9a827;
    border-radius: 14px;
    padding: 26px 30px 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.fa-sp2 h2 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fa-sp2 h2 span {
    color: #f2c230;
}

.fa-sp2-step {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.fa-sp2-num {
    width: 24px;
    height: 24px;
    background: #f2c230;
    color: #14181f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}

.fa-sp2-step h3 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.fa-sp2 .fa-reg-box {
    background: #ffffff;
    border: none;
    margin-bottom: 12px;
}

.fa-sp2 .fa-reg-box input {
    color: #111111;
}

.fa-sp2 .fa-reg-box input::placeholder {
    color: #7a7f88;
}

.fa-sp2 .fa-btn-primary {
    text-transform: uppercase;
    font-size: 15px;
}

.fa-sp2-or {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px 0;
    color: #9aa0a8;
    font-weight: 700;
    font-size: 13px;
}

.fa-sp2-or::before,
.fa-sp2-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.fa-sp2 .fa-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 14px;
}

.fa-btn-arrow {
    font-size: 20px;
    color: #f2c230;
    line-height: 1;
}

.fa-sp2-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #9aa0a8;
    font-size: 12px;
    margin: 14px 0 0;
}

@media (max-width: 1024px) {
    .fa-hero2 {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .fa-hero2-copy h1 { font-size: 42px; }
    .fa-sp2 { max-width: 520px; }
}

/* ---------- REFINEMENT: tighter, aligned hero columns ---------- */

.fa-hero2 {
    max-width: 1120px;
    gap: 40px;
    align-items: center;
}

/* ---------- HOW IT WORKS v2: photo cards ---------- */

.fa-section-sub {
    text-align: center;
    color: #b7bcc4;
    font-size: 15px;
    margin: -22px 0 32px;
}

.fa-section-title span {
    color: #f2c230;
}

.fa-hiw2-grid {
    display: grid;
    grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr;
    align-items: center;
    gap: 10px;
}

.fa-hiw2-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s;
}

.fa-hiw2-card:hover {
    transform: translateY(-4px);
}

.fa-hiw2-card img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .fa-hiw2-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .fa-hiw-arrow { display: none; }
}

@media (max-width: 560px) {
    .fa-hiw2-grid { grid-template-columns: 1fr; }
}

/* ---------- POPULAR PARTS ---------- */

.fa-popular-parts {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 56px;
}

.fa-pp-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.fa-pp-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 14px 16px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.fa-pp-card:hover {
    border-color: #d9a827;
    transform: translateY(-3px);
}

.fa-pp-img {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.fa-pp-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.fa-pp-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
}

.fa-pp-link {
    font-size: 13px;
    font-weight: 700;
    color: #f2c230;
}

@media (max-width: 1024px) {
    .fa-pp-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
    .fa-pp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---------- PART SEARCH PAGE ---------- */

.fa-ps-hero {
    min-height: 100vh;
}

.fa-ps-body {
    flex: 1;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 32px 64px;
}

.fa-ps-heading {
    text-align: center;
    margin-bottom: 28px;
}

.fa-ps-heading h1 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
}

.fa-ps-heading h1 span {
    color: #f2c230;
}

.fa-ps-heading p {
    font-size: 16px;
    color: #d6d9de;
    margin: 0;
    line-height: 1.6;
}

/* ---------- REFINEMENT: close hero -> how-it-works gap ---------- */

.fa-hero2 {
    padding-bottom: 28px;
}

.fa-how-it-works {
    padding-top: 32px;
}

/* ---------- REFINEMENT: darken HIW section to match card edges ---------- */

.fa-how-it-works {
    background: #05070b;
    max-width: none;
}

.fa-hiw2-grid,
.fa-section-title,
.fa-section-sub {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.fa-hiw2-grid { padding: 0 32px; }

/* ---------- REFINEMENT: breathing room above Popular Parts ---------- */

.fa-popular-parts {
    padding-top: 48px;
}

/* ---------- MOBILE REFINEMENTS ---------- */

@media (max-width: 820px) {

    /* hide the 4 step photo cards on mobile */
    .fa-how-it-works {
        display: none;
    }

    /* centre the hero copy */
    .fa-hero2-copy {
        text-align: center;
    }

    .fa-gold-line {
        margin-left: auto;
        margin-right: auto;
    }

    .fa-hero2-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .fa-hero2-stats {
        justify-content: center;
    }
}

/* ---------- MOBILE: stats row fit ---------- */

@media (max-width: 820px) {

    .fa-hero2-stats {
        flex-wrap: wrap;
        gap: 14px 22px;
    }

    .fa-hero2-stat svg {
        width: 24px;
        height: 24px;
    }

    .fa-hero2-stat strong {
        font-size: 16px;
    }

    .fa-hero2-stat span {
        font-size: 11.5px;
    }
}

/* ---------- MOBILE: search panel centred and contained ---------- */

@media (max-width: 820px) {

    .fa-hero2 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .fa-sp2 {
        width: 100%;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

/* ---------- MOBILE: kill horizontal overflow ---------- */

@media (max-width: 820px) {

    html, body {
        overflow-x: hidden;
    }

    .fa-homepage {
        overflow-x: hidden;
    }

    .fa-hero2,
    .fa-hero2 * {
        box-sizing: border-box;
        max-width: 100%;
    }

    .fa-hero2-copy p {
        max-width: 100%;
    }
}

/* ---------- MOBILE: fix grid track blowout (1fr min-content floor) ---------- */

@media (max-width: 820px) {

    .fa-hero2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .fa-hero2-copy,
    .fa-sp2 {
        min-width: 0;
    }
}

/* ---------- MOBILE: darker background framing ---------- */

@media (max-width: 820px) {
    .fa-home-hero {
        background-position: center left;
    }
}

/* ---------- FOOTER EST LINE ---------- */

.fa-footer-est {
    color: #f2c230;
    font-size: 13.5px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 0.3px;
}

/* ---------- FOOTER TIDY (override theme .fa-footer centering) ---------- */

.fa-footer {
    text-align: left;
    padding: 0;
}

.fa-footer-brand img {
    height: 48px;
    margin-bottom: 14px;
}

.fa-footer-col h4 {
    margin-bottom: 14px;
}

.fa-footer-col a {
    font-size: 13.5px;
    margin-bottom: 9px;
}

.fa-footer-est {
    font-size: 13px;
}

.fa-footer-brand p {
    font-size: 13.5px;
}

@media (max-width: 560px) {
    .fa-footer {
        text-align: center;
    }
    .fa-footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }
    .fa-footer-social {
        justify-content: center;
    }
}

/* ---------- FOOTER EST TWO LINES ---------- */

.fa-footer-est {
    font-size: 16px;
    margin-bottom: 3px;
}

.fa-footer-sub {
    color: #c7ccd3;
    font-size: 13px;
    margin: 0;
}

/* ---------- FOOTER LOGO SIZE ---------- */

.fa-footer-brand img {
    height: 72px;
}

/* ---------- MOBILE: footer brand centred (final word) ---------- */

@media (max-width: 560px) {

    .fa-footer,
    .fa-footer-brand,
    .fa-footer-est,
    .fa-footer-sub {
        text-align: center;
    }
}

/* ---------- FOOTER LOGO SIZE v2 ---------- */

.fa-footer-brand img {
    height: 96px;
}

/* ---------- MOBILE: footer centred at the standard breakpoint ---------- */

@media (max-width: 820px) {

    .fa-footer,
    .fa-footer-brand,
    .fa-footer-est,
    .fa-footer-sub {
        text-align: center;
    }

    .fa-footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .fa-footer-social {
        justify-content: center;
    }
}

/* ---------- FOOTER ALIGNMENT: outrank theme .fa-footer rule ---------- */

.fa-homepage .fa-footer {
    text-align: left;
}

.fa-homepage .fa-footer-brand img {
    display: block;
    margin: 0 0 14px;
}

@media (max-width: 820px) {

    .fa-homepage .fa-footer {
        text-align: center;
    }

    .fa-homepage .fa-footer-brand img {
        margin: 0 auto 14px;
    }
}

/* ---------- MOBILE: footer single column at standard breakpoint ---------- */

@media (max-width: 820px) {

    .fa-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ---------- FOOTER: remove stale 260px cap on brand paragraphs ---------- */

.fa-homepage .fa-footer-brand p {
    max-width: none;
}

/* ---------- FOOTER: tidy brand column on desktop ---------- */

.fa-homepage .fa-footer-brand img {
    margin-bottom: 10px;
}

.fa-homepage .fa-footer-grid {
    align-items: start;
}

/* ---------- FOOTER: brand block centred as a unit on desktop ---------- */

.fa-homepage .fa-footer-brand {
    text-align: center;
    max-width: 300px;
}

.fa-homepage .fa-footer-brand img {
    margin-left: auto;
    margin-right: auto;
}
