/* ═══════════════════════════════════════════════════
   Flight Floor Plans — Frontend Styles v1.1
   Scoped to body.single-floor_plan — zero impact on
   any other page on the site.
═══════════════════════════════════════════════════ */

/* ── Break out of Hello Elementor theme containers ── */
body.single-floor_plan .site-main,
body.single-floor_plan .page-content,
body.single-floor_plan .entry-content,
body.single-floor_plan article,
body.single-floor_plan .hentry {
    margin:  0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

body.single-floor_plan {
    overflow-x: hidden;
}

*, *::before, *::after { box-sizing: border-box; }

/* ════════════════════════════════════════════════
   HERO — full-viewport, centred, dark overlay
════════════════════════════════════════════════ */
.ffp-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}
/* offset for WP admin bar */
.admin-bar .ffp-hero { min-height: calc(100vh - 32px); }
@media screen and (max-width: 782px) {
    .admin-bar .ffp-hero { min-height: calc(100vh - 46px); }
}

.ffp-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 1;
}

.ffp-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px 80px;
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
}

.ffp-hero__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 18px;
    opacity: 0.8;
}

.ffp-hero__title {
    font-size: clamp(44px, 8vw, 90px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 22px;
    line-height: 1.05;
    text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

.ffp-hero__subtitle {
    font-size: clamp(14px, 2.2vw, 18px);
    color: rgba(255,255,255,0.85);
    margin: 0 auto 40px;
    max-width: 620px;
    line-height: 1.65;
}

.ffp-hero__cta {
    display: inline-block;
    padding: 16px 42px;
    background: #ffffff;
    color: #000000 !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    border-radius: 50px;
    border: 2px solid #ffffff;
    transition: background 0.22s ease, color 0.22s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.ffp-hero__cta:hover {
    background: transparent;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ════════════════════════════════════════════════
   GALLERY GRID — edge-to-edge, dark bg
════════════════════════════════════════════════ */
.ffp-gallery-section {
    width: 100%;
    padding: 16px;
    margin: 0;
    background: #0d0d0d;
    display: block;
}

.ffp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.ffp-gal-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    text-decoration: none;
}

.ffp-gal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.3s ease;
    filter: brightness(0.9);
}
.ffp-gal-thumb:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

@media (max-width: 768px) {
    .ffp-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ffp-gallery-section { padding: 12px; }
}
@media (max-width: 480px) {
    .ffp-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ffp-gallery-section { padding: 8px; }
}

/* ════════════════════════════════════════════════
   DETAILS SECTION
════════════════════════════════════════════════ */
.ffp-details-section {
    width: 100%;
    background: #ffffff;
    padding: 72px 48px;
}

.ffp-details-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 960px) {
    .ffp-details-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .ffp-details-col--diagram { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .ffp-details-inner { grid-template-columns: 1fr; gap: 28px; }
    .ffp-details-section { padding: 44px 24px; }
}

.ffp-col-title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin: 0 0 14px;
    border-bottom: 2px solid #111;
    padding-bottom: 10px;
}

.ffp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ffp-feature-list li {
    font-size: 15px;
    color: #333;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
}
.ffp-feature-list li:last-child { border-bottom: none; }

.ffp-finish-box {
    background: #f8f8f8;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 16px 18px;
    margin-bottom: 12px;
}
.ffp-finish-box:last-child { margin-bottom: 0; }
.ffp-finish-box--cta {
    background: #111111;
    border-color: #111111;
    text-align: center;
    padding: 28px 22px;
}
.ffp-finish-box--cta .ffp-finish-label { color: rgba(255,255,255,0.6); display: block; margin-bottom: 8px; }

body.single-floor_plan .ffp-questions-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.55) !important;
    margin: 0 0 10px !important;
    display: block !important;
}
body.single-floor_plan .ffp-questions-text {
    font-size: 14px !important;
    color: #ffffff !important;
    line-height: 1.6 !important;
    margin: 0 0 20px !important;
}
body.single-floor_plan .ffp-call-btn,
body.single-floor_plan .ffp-call-btn:visited {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 28px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    border: 2px solid #ffffff !important;
    transition: background 0.22s ease, color 0.22s ease, transform 0.15s ease;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent;
}
body.single-floor_plan .ffp-call-btn:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.ffp-finish-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 6px;
    display: block;
}
.ffp-finish-box p {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.55;
}

.ffp-diagram-img {
    width: 100%;
    max-width: 300px;
    display: block;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    margin-top: 10px;
    transition: box-shadow 0.22s ease;
}
.ffp-diagram-img:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.14); }
@media (max-width: 960px) { .ffp-diagram-img { max-width: 260px; } }

/* ════════════════════════════════════════════════
   CTA SECTION (bottom)
════════════════════════════════════════════════ */
.ffp-cta-section {
    width: 100%;
    background: #111111;
    padding: 88px 40px;
    text-align: center;
}
.ffp-cta-inner { max-width: 620px; margin: 0 auto; }

.ffp-cta-inner h2 {
    font-size: clamp(18px, 3.2vw, 28px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.3;
}
.ffp-cta-inner p {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    margin: 0 0 34px;
    line-height: 1.65;
}

.ffp-cta-btn {
    display: inline-block;
    padding: 16px 44px;
    background: #ffffff;
    color: #000000 !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    border-radius: 50px;
    border: 2px solid #ffffff;
    transition: background 0.22s ease, color 0.22s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.ffp-cta-btn:hover {
    background: transparent;
    color: #ffffff !important;
    transform: translateY(-2px);
}
@media (max-width: 600px) { .ffp-cta-section { padding: 60px 24px; } }

/* ════════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════════ */
.ffp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}
.ffp-lightbox.is-open { display: flex; }

.ffp-lb-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    width: 100%;
    height: 100%;
}
.ffp-lb-img-wrap img {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    display: block;
    border-radius: 3px;
}

.ffp-lb-close,
.ffp-lb-prev,
.ffp-lb-next {
    position: fixed;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    padding: 12px;
    z-index: 1000000;
    opacity: 0.72;
    transition: opacity 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.ffp-lb-close:hover,
.ffp-lb-prev:hover,
.ffp-lb-next:hover { opacity: 1; }

.ffp-lb-close { top: 16px; right: 20px; font-size: 46px; }
.ffp-lb-prev  { left: 12px; top: 50%; transform: translateY(-50%); font-size: 60px; }
.ffp-lb-next  { right: 12px; top: 50%; transform: translateY(-50%); font-size: 60px; }

@media (max-width: 600px) {
    .ffp-lb-img-wrap { padding: 56px 48px; }
    .ffp-lb-prev { left: 2px; font-size: 44px; }
    .ffp-lb-next { right: 2px; font-size: 44px; }
    .ffp-lb-close { top: 10px; right: 10px; font-size: 38px; }
}
