/* Shared styles for the "Verticals We Serve" pages:
   food-and-beverage (Figma 1717:3606), construction-agriculture-landscaping (Figma 1728:4014) */
.fnb-page {
    --fnb-navy: #1A365E;
    --fnb-red: #D02C2F;
    --fnb-gray: #4A4F54;
    --fnb-text: #2F3336;
    --fnb-border: #BCBEC0;
    --fnb-tint: #E0ECFA;
    font-family: 'Inter', sans-serif;
    color: var(--fnb-text);
}

.fnb-page p { margin: 0; }

.fnb-heading {
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    color: var(--fnb-navy);
    margin: 0 0 30px;
}

.fnb-dash { color: var(--fnb-red); }

.fnb-lead {
    max-width: 800px;
    margin: -6px auto 36px !important;
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
    color: var(--fnb-gray);
}

.fnb-btn {
    padding: 16px 24px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
}

/* ---------- Hero ---------- */
.fnb-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 16px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.fnb-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.fnb-hero__inner {
    position: relative;
    max-width: 900px;
}

.fnb-hero__eyebrow {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 26px !important;
}

.fnb-hero__title {
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    color: #fff;
    margin: 0 0 16px;
}

.fnb-hero__subtitle {
    max-width: 820px;
    margin: 0 auto 32px !important;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.9;
}

.fnb-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 25px;
    justify-content: center;
}

.fnb-hero__ctas .btn { filter: drop-shadow(0 4px 25px rgba(0, 0, 0, 0.7)); }

/* ---------- Service that fits ---------- */
.fnb-fits { padding: 50px 0; background: #fff; }

.fnb-fits__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 80px;
    max-width: 732px;
    margin: 0 auto;
}

.fnb-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fnb-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.fnb-checklist img { flex-shrink: 0; margin: 1px; }

/* ---------- Cards (Why SVT + services) ---------- */
.fnb-why { background: #EDEDED; padding: 55px 0 89px; }

.fnb-card {
    height: 100%;
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fnb-card--shadow { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); min-height: 270px; }
.fnb-card--outline { border: 1px solid var(--fnb-border); gap: 10px; min-height: 195px; }

.fnb-card__icon { width: 42px; height: 42px; }
.fnb-card__icon--lg { width: 48px; height: 48px; }

.fnb-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--fnb-text);
    margin: 0;
}

.fnb-card__text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--fnb-gray);
}

/* ---------- Stats ---------- */
.fnb-stats { background: var(--fnb-navy); color: #fff; padding: 40px 0; }

.fnb-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.fnb-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: 0 24px;
}

.fnb-stat + .fnb-stat { border-left: 1px solid rgba(255, 255, 255, 0.4); }

.fnb-stat__value {
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 700;
    font-size: 58px;
    line-height: 1;
}

.fnb-stat__label {
    max-width: 350px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.75;
}

/* ---------- Photos ---------- */
.fnb-photos { padding: 82px 0 0; background: #fff; }

.fnb-photo { margin: 0; }

.fnb-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 382 / 240;
    object-fit: cover;
    border-radius: 8px;
}

.fnb-photo--right img { object-position: right center; }

.fnb-photo--fade { position: relative; }
.fnb-photo--fade::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    aspect-ratio: 382 / 240;
    border-radius: 8px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 78.846%, rgba(0, 0, 0, 0.6) 93.75%);
    pointer-events: none;
}

.fnb-photo figcaption {
    margin-top: 12px;
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #1C365E;
}

/* ---------- Every asset ---------- */
.fnb-assets { padding: 60px 0; background: #fff; }

.fnb-asset {
    height: 100%;
    min-height: 134px;
    background: var(--fnb-tint);
    border-radius: 4px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.fnb-asset img { width: 48px; height: 48px; }

.fnb-asset p {
    max-width: 224px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--fnb-navy);
}

/* ---------- Services ---------- */
.fnb-services { padding: 55px 0 70px; background: #fff; }

/* ---------- FAQ ---------- */
.fnb-faq { background: #EEE; padding: 55px 0; }
.fnb-faq .fnb-heading { margin-bottom: 30px; }

.fnb-faq__list {
    max-width: 665px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fnb-faq__item { background: #fff; border-radius: 6px; }

.fnb-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 16px 22px;
    background: none;
    border: 0;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--fnb-text);
    cursor: pointer;
}

.fnb-faq__q img { flex-shrink: 0; transition: transform 0.2s ease; }
.fnb-faq__q:not(.collapsed) img { transform: rotate(45deg); }

.fnb-faq__a {
    margin-top: -3px;
    padding: 0 64px 20px 22px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--fnb-text);
}

/* ---------- CTA banner ---------- */
.fnb-cta { background: var(--fnb-red); padding: 50px 0; min-height: 170px; display: flex; align-items: center; }
.fnb-cta > .container-lg { width: 100%; }

.fnb-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.fnb-cta__title {
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.fnb-btn--white {
    background: #fff;
    color: var(--fnb-red);
    font-weight: 700;
    padding: 16px 28px;
    white-space: nowrap;
}

.fnb-btn--white:hover,
.fnb-btn--white:focus { background: #fff; color: var(--fnb-red); opacity: 0.9; }

/* ---------- Construction page additions ---------- */
.fnb-hero--short { min-height: 470px; }

/* "Three verticals" cards: photo on top, text below, bordered */
.fnb-split { padding: 50px 0 60px; background: #fff; }

.fnb-vcard {
    height: 100%;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.fnb-vcard img {
    display: block;
    width: 100%;
    aspect-ratio: 382 / 240;
    object-fit: cover;
}

.fnb-vcard__body { padding: 16px 19px 24px; }

.fnb-vcard__title {
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #1C365E;
    margin: 0 0 8px;
}

.fnb-vcard__text {
    font-size: 16px;
    line-height: 1.2;
    color: var(--fnb-gray);
}

/* Two-column checklist under a section heading */
.fnb-fits__grid--wide { max-width: 670px; gap: 14px 65px; }
.fnb-checklist--caps li { text-transform: capitalize; }

/* Bulleted text inside service cards */
.fnb-card__list {
    margin: 0;
    padding-left: 21px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--fnb-gray);
}

.fnb-card--fixed { min-height: 214px; }

/* Centered CTA banner with wrapping title */
.fnb-cta__inner--center { justify-content: center; gap: 40px; }
.fnb-cta__inner--center .fnb-cta__title { max-width: 444px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .fnb-hero__title { font-size: 48px; }
    .fnb-stat__value { font-size: 44px; }
    .fnb-cta__inner { flex-direction: column; text-align: center; }
    .fnb-photo { margin-bottom: 8px; }
}

@media (max-width: 767px) {
    .fnb-heading, .fnb-cta__title { font-size: 28px; }
    .fnb-hero { min-height: 480px; }
    .fnb-hero__title { font-size: 38px; }
    .fnb-hero__subtitle, .fnb-lead { font-size: 16px; }
    .fnb-fits__grid { grid-template-columns: 1fr; max-width: 360px; }
    .fnb-stats__grid { grid-template-columns: 1fr; gap: 28px; }
    .fnb-stat + .fnb-stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.4); padding-top: 28px; }
    .fnb-photos { padding-top: 50px; }
    .fnb-faq__q { font-size: 16px; }
    .fnb-btn { font-size: 16px; white-space: normal; }
}
