/*
Theme Name: Enfold Child - SBPS
Description: Child theme for Enfold customizations on sbpslondon.com.
Author: SBPS
Template: enfold
Version: 1.0.0
*/

.sbps-internal-links {
    margin-top: 36px;
    padding: 24px;
    border: 1px solid #c1ab80;
    background: #050505;
}

.sbps-internal-links h2 {
    margin: 0 0 14px;
    color: #c1ab80;
    font-size: 22px;
}

.sbps-internal-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.sbps-internal-links a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.sbps-internal-links a:hover {
    color: #c1ab80;
    border-bottom-color: #c1ab80;
}

.sbps-faq {
    margin-top: 36px;
    padding: 24px;
    border: 1px solid #c1ab80;
    background: #070707;
}

.sbps-faq h2 {
    margin: 0 0 14px;
    color: #c1ab80;
    font-size: 22px;
}

.sbps-faq details {
    border-top: 1px solid rgba(193, 171, 128, 0.35);
    padding: 12px 0;
}

.sbps-faq details:first-of-type {
    border-top: 0;
}

.sbps-faq summary {
    cursor: pointer;
    color: #ffffff;
    font-weight: 600;
}

.sbps-faq p {
    margin: 10px 0 0;
    color: #dfdfdf;
}

.sbps-conversion-cta {
    margin-top: 36px;
    padding: 24px;
    border: 1px solid #c1ab80;
    background: #050505;
}

.sbps-conversion-cta h2 {
    margin: 0 0 10px;
    color: #c1ab80;
    font-size: 24px;
}

.sbps-conversion-cta p {
    margin: 0 0 14px;
    color: #ffffff;
}

.sbps-conversion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sbps-btn {
    display: inline-block;
    padding: 10px 16px;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.sbps-btn-gold {
    background: #c1ab80;
    color: #000000 !important;
    border: 1px solid #c1ab80;
}

.sbps-btn-outline {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid #ffffff;
}

.sbps-mobile-callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: #c1ab80;
    text-align: center;
    display: none;
}

.sbps-mobile-callbar a {
    display: block;
    padding: 12px 14px;
    color: #000000 !important;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 12px;
}

@media (max-width: 768px) {
    .sbps-mobile-callbar {
        display: block;
    }

    body {
        padding-bottom: 48px;
    }
}

.sbps-home-preview {
    background: #050505;
    color: #ffffff;
}

body.sbps-homepage-preview,
body.sbps-homepage-preview #main,
body.sbps-homepage-preview .main_color,
body.sbps-homepage-preview .container_wrap,
body.sbps-homepage-preview .template-page,
body.sbps-homepage-preview .entry-content-wrapper,
body.sbps-homepage-preview .entry-content,
body.sbps-homepage-preview #top .container,
body.sbps-homepage-preview .html_header_transparency #top #wrap_all .main_color.av_header_transparency,
body.sbps-homepage-preview #top #main {
    background: #050505 !important;
    color: #ffffff;
}

body.sbps-homepage-preview .container_wrap_first,
body.sbps-homepage-preview .avia-section,
body.sbps-homepage-preview .content,
body.sbps-homepage-preview .post-entry,
body.sbps-homepage-preview .entry-content-header {
    background: #050505 !important;
}

body.sbps-homepage-preview .template-page.content,
body.sbps-homepage-preview .template-page .post-entry,
body.sbps-homepage-preview .template-page .entry-content-wrapper {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

body.sbps-homepage-preview #top .template-page {
    padding-top: 0 !important;
}

.sbps-home-preview__hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    --sbps-hero-brightness: 0.82;
    --sbps-hero-scale: 1.02;
    --sbps-hero-overlay: 0.18;
}

.sbps-home-preview__hero-media {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    filter: brightness(var(--sbps-hero-brightness)) contrast(1.04);
    transform: scale(var(--sbps-hero-scale));
    transform-origin: center center;
    transition: filter 0.2s linear, transform 0.2s linear;
}

.sbps-home-preview__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.34) 44%, rgba(0, 0, 0, var(--sbps-hero-overlay)) 100%);
    transition: background 0.2s linear;
}

.sbps-home-preview__inner,
.sbps-home-preview__section {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.sbps-home-preview__inner {
    padding: 120px 0 110px;
}

.sbps-home-preview__eyebrow,
.sbps-home-preview__kicker,
.sbps-home-preview__section-label {
    margin: 0 0 12px;
    color: #c1ab80;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
}

.sbps-home-preview__hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 0.98;
    text-transform: none;
    letter-spacing: -0.02em;
}

.sbps-home-preview__lead {
    max-width: 620px;
    margin: 0 0 30px;
    color: #dfdfdf;
    font-size: 19px;
    line-height: 1.75;
}

.sbps-home-preview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.sbps-home-preview__section {
    padding: 88px 0;
}

.sbps-home-preview__intro,
.sbps-home-preview__quote,
.sbps-home-preview__cta {
    max-width: 820px;
}

.sbps-home-preview__grid--intro {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 64px;
}

.sbps-home-preview__intro h2,
.sbps-home-preview__quote h2,
.sbps-home-preview__cta h2 {
    margin: 0 0 16px;
    color: #c1ab80;
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.sbps-home-preview__intro h2 {
    max-width: 520px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.08;
}

.sbps-home-preview__intro p,
.sbps-home-preview__quote p,
.sbps-home-preview__cta p {
    margin: 0;
    color: #f2f2f2;
    font-size: 18px;
    line-height: 1.8;
}

.sbps-home-preview__intro-copy p {
    margin: 0;
    color: #ebebeb;
    font-size: 18px;
    line-height: 1.9;
    max-width: 620px;
}

.sbps-home-preview__grid {
    display: grid;
    gap: 24px;
}

.sbps-home-preview__grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sbps-home-preview__card {
    border: 1px solid rgba(193, 171, 128, 0.22);
    background: #070707;
    overflow: hidden;
}

.sbps-home-preview__card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 816 / 442;
    object-fit: contain;
    background: #050505;
}

.sbps-home-preview__card h3 {
    margin: 22px 22px 10px;
    color: #c1ab80;
    font-size: 22px;
    line-height: 1.1;
}

.sbps-home-preview__card p {
    margin: 0 22px 24px;
    color: #e4e4e4;
    line-height: 1.8;
}

.sbps-home-preview__section--split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: start;
}

.sbps-home-preview__copy h2 {
    margin: 0 0 18px;
    color: #c1ab80;
    font-size: clamp(28px, 4vw, 42px);
}

.sbps-home-preview__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sbps-home-preview__list li {
    margin: 0 0 14px;
    padding-left: 22px;
    position: relative;
    color: #f2f2f2;
    line-height: 1.7;
}

.sbps-home-preview__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c1ab80;
}

.sbps-home-preview__fleet-header {
    margin-bottom: 28px;
}

.sbps-home-preview__fleet-header h2 {
    margin: 0;
    color: #c1ab80;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.sbps-home-preview__section--fleet-white {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #f7f5ef;
    padding: 82px clamp(32px, 6vw, 72px);
}

.sbps-home-preview__section--fleet-white .sbps-home-preview__fleet-showcase {
    max-width: 1140px;
    margin: 0 auto;
}

.sbps-home-preview__section--fleet-white .sbps-home-preview__fleet-header {
    margin-bottom: 34px;
    text-align: center;
}

.sbps-home-preview__section--fleet-white .sbps-home-preview__fleet-header h2 {
    color: #c1ab80;
    font-size: clamp(24px, 3.1vw, 34px);
    letter-spacing: 0;
}

.sbps-home-preview__grid--fleet {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 30px;
}

.sbps-home-preview__fleet-card {
    border: 0;
    background: transparent;
    padding: 0;
    text-align: center;
}

.sbps-home-preview__fleet-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1080 / 500;
    object-fit: contain;
    margin: 0 auto 14px;
    background: transparent;
}

.sbps-home-preview__fleet-card h3 {
    margin: 0;
    color: #c1ab80;
    font-size: 18px;
    line-height: 1.15;
    position: relative;
    padding: 0 0 0 0;
}

.sbps-home-preview__fleet-card h3::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(193, 171, 128, 0.35);
    margin: 10px auto 0;
    width: min(170px, 74%);
}

.sbps-home-preview__section--cta {
    padding-bottom: 96px;
}

.sbps-home-preview__cta {
    padding: 40px 44px;
    border: 1px solid rgba(193, 171, 128, 0.22);
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.96) 0%, rgba(6, 6, 6, 0.96) 100%);
}

.sbps-home-preview__whatsapp {
    position: fixed;
    right: 22px;
    bottom: 26px;
    z-index: 99998;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #c1ab80;
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.96);
    color: #c1ab80;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: default;
}

.sbps-home-preview__whatsapp-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.sbps-home-preview__whatsapp-icon svg {
    width: 100%;
    height: 100%;
    fill: #c1ab80;
}

.sbps-home-preview__whatsapp-text {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 989px) {
    .sbps-home-preview__grid--intro,
    .sbps-home-preview__grid--services,
    .sbps-home-preview__grid--fleet,
    .sbps-home-preview__section--split {
        grid-template-columns: 1fr;
    }

    .sbps-home-preview__card img {
        aspect-ratio: 816 / 442;
    }
}

@media (max-width: 767px) {
    .sbps-home-preview__inner,
    .sbps-home-preview__section {
        width: min(100% - 32px, 1180px);
    }

    .sbps-home-preview__inner {
        padding: 92px 0 72px;
    }

    .sbps-home-preview__hero {
        min-height: 68vh;
    }

    .sbps-home-preview__hero h1 {
        font-size: clamp(30px, 9vw, 44px);
    }

    .sbps-home-preview__lead,
    .sbps-home-preview__intro-copy p,
    .sbps-home-preview__intro p,
    .sbps-home-preview__quote p,
    .sbps-home-preview__cta p {
        font-size: 16px;
    }

    .sbps-home-preview__cta {
        padding: 28px 24px;
    }

    .sbps-home-preview__whatsapp {
        right: 14px;
        bottom: 70px;
        padding: 11px 14px;
    }

    .sbps-home-preview__whatsapp-text {
        display: none;
    }
}
