/**
 * AFC Theme — front page section styles.
 */

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.0rem);
    line-height: 1.15;
    color: var(--afc-navy);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
}

.home .text-muted-2 {
    color: var(--afc-muted);
}

.home .bg-cloud {
    background: #f1f1f1;
}

.section-space {
    padding: 40px 0;
}

.section-space .container {
    max-width: 90%;
}

.btn-afc {
    padding: .8rem 1.6rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 2px;
}

.btn-afc.btn-danger {
    background: var(--afc-red);
    border-color: var(--afc-red);
}

.btn-afc.btn-danger:hover {
    background: var(--afc-red-2);
    border-color: var(--afc-red-2);
}

.eyebrow {
    color: #000;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: 1.7rem;
    margin-bottom: 0.2rem !important;
}

.fade-slider .small>p {
    margin-bottom: 0;
}

.swiper-pagination-bullets {
    display: none;
}

/* ---------- Hero ---------- */

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(420px, 62vh, 620px);
    color: #fff;
    background-color: var(--afc-navy);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(9 24 40 / 73%) 24%, rgb(9 24 36 / 0%) 47%, rgb(9 24 40 / 0%) 100%);
}

.hero-section__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 4rem 0;
}

.hero-content__eyebrow {
    color: var(--afc-gold);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-content__title {
    font-size: clamp(2.6rem, 7vw, 4.75rem);
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.25rem;
}

.hero-content__title-accent {
    color: var(--afc-red);
}

.hero-content__text {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 100%;
    margin-bottom: 1.75rem;
}

.hero-content__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

/* ---------- Trust bar ---------- */

.trust-bar {
    background: #091d31;
    color: #fff;
    border-top: 2px solid rgb(156 142 117);
}

ul.trust-bar__list.list-unstyled {
    padding: 20px 0px;
}

.trust-bar__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
}

ul.trust-bar__list.list-unstyled {
    padding: 20px 0px;
}


.trust-bar__item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem .5rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--afc-line);
}

.trust-bar__icon {
    flex: none;
    /* opacity: .85; */
    height: 47px;
    width: 47px;
}



/* ---------- Built Around ---------- */

.built-around__card {
    border: 2px solid #3333334a;
    padding: 0;
    border-radius: 12px;
    background: #FFFF;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(242, 242, 242, 1) 45%, rgb(241 241 241) 30%);

}

.built-around__image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: grayscale(1);
}

.built-around__image--placeholder {
    background: #cbd7e1;
}

.built-around__card .leftarea {
    padding: 20px 40px;
    text-align: center;
}

/* ---------- Information Block (centered title, bordered rows: label left, description right) ---------- */

.info-block__rows {
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
}

.info-block__row {
    display: flex;
    align-items: flex-start;
    gap: clamp(1.5rem, 4vw, 0.5rem);
    margin: 12px 0;
}

.info-block__row:last-child {
    border-bottom: 0;
}

.info-block__label {
    flex: 0 0 auto;
    width: clamp(140px, 20vw, 220px);
    color: #0c2033;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    background: #e8eaec;
    padding: 10px 20px;
}

.info-block__desc {
    flex: 1 1 auto;
    color: var(--afc-muted);
    font-size: .95rem;
    line-height: 1.5;
    background: #fff;
    padding: 5px 20px;
}

.info-block__desc>*:last-child {
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .info-block__rows {
        width: 100%;
    }

    .info-block__row {
        /* align-items was flex-start, so in a column direction each box just
           shrunk to fit its own content width instead of the row's width —
           the red label sat as a tiny badge and the description wrapped to
           a narrow, unreadable column. Stretch both to the full row width
           and drop the row's own gap so they read as one stacked card
           (label bar directly above its body text). */
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 12px 0;
    }

    .info-block__label,
    .info-block__desc {
        width: 100%;
    }
}

/* ---------- Fade slider (shared: Built Around card + Warbird CTA intro) ---------- */

.fade-slider {
    position: relative;
    width: 100%;
}

/* Fixed title above the slider — not part of the rotating slides. */
.fade-slider__fixed-title {
    margin-bottom: 1rem;
}

.fade-slider__swiper {
    /* Smooth, gentle easing to match the Explore / Recent Projects sliders. */
    --swiper-wrapper-transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.fade-slider__swiper .swiper-wrapper {
    /* No autoHeight: the row's height is simply the tallest slide (normal
       CSS flex sizing), so shorter slides don't cause any vertical jump —
       just center them within that fixed height. */
    align-items: center;
}

.fade-slider__swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fade-slider__dots.swiper-pagination {
    /* Static (not absolute) so the dots sit in normal flow right after the
       slider's description, centered at the bottom of the slider. */
    position: static;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.1rem;
}

.fade-slider__dots .swiper-pagination-bullet {
    flex: none;
    width: 9px;
    height: 9px;
    margin: 0 4px !important;
    border-radius: 50%;
    background: #cbd7e1;
    opacity: 1;
}

.fade-slider__dots .swiper-pagination-bullet-active {
    background: var(--afc-red);
}

/* Warbird CTA intro: dots sit on the dark navy panel */
.warbird-cta__intro .fade-slider__dots .swiper-pagination-bullet {
    background: rgba(255, 255, 255, .35);
}

.warbird-cta__intro .fade-slider__dots .swiper-pagination-bullet-active {
    background: var(--afc-red);
}

/* ---------- Explore tabs + slider ---------- */

.explore__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2rem;
}

/* Heading with a rule on each side (laptop + desktop only).
   Flex keeps the lines vertically centred on the text and sized to the
   space left over, so they scale with the screen instead of fixed offsets. */
@media (min-width: 992px) {
    .headingbar.section-title {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(1rem, 2.5vw, 2.5rem);
    }

    .headingbar.section-title::before,
    .headingbar.section-title::after {
        content: '';
        flex: 1 1 0;
        min-width: 0;
        max-width: 27%;
        height: 2px;
        background: #ddd;
    }
}

.explore__tab {
    padding: .55rem 1.1rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--afc-navy);
    background: #eeeeee;
    border: 1px solid rgb(210, 215, 220);
    border-radius: 2px;
    cursor: pointer;
}

.explore__tab.is-active {
    color: #fff;
    background: var(--afc-red);
    border-color: var(--afc-red);
}

.explore__panel {
    position: relative;
}

.explore__panel[hidden] {
    display: none;
}

.explore-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: var(--afc-navy);
    background: #fff;
    border: 1px solid #e2ecf3;
}

.explore-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: #d7e0e8;
    overflow: hidden;
}

.explore-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-card__title {
    display: block;
    padding: .8rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
}

a.explore-card:hover .explore-card__title {
    color: var(--afc-red);
}

/* Shared slider: arrows on both sides, dots below (Explore + Recent Projects) */
.explore__slider,
.projects__slider {
    position: relative;
    padding: 0 3.25rem;
}

.explore__swiper,
.projects__swiper {
    overflow: hidden;
    /*padding-bottom: 2.75rem;*/
    /*Smooth, gentle easing for the slide transition (Swiper's own hook) */
    --swiper-wrapper-transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.explore__arrow,
.projects__arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--afc-navy);
    background: #fff;
    border: 1px solid #dbe4ec;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(16, 42, 67, .12);
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.explore__arrow:hover,
.projects__arrow:hover {
    background: var(--afc-red);
    border-color: var(--afc-red);
    color: #fff;
}

.explore__arrow--prev,
.projects__arrow--prev {
    left: 0;
}

.explore__arrow--next,
.projects__arrow--next {
    right: 0;
}

.explore__arrow.swiper-button-disabled,
.projects__arrow.swiper-button-disabled {
    opacity: .3;
    cursor: default;
    box-shadow: none;
}

.explore__arrow.swiper-button-disabled:hover,
.projects__arrow.swiper-button-disabled:hover {
    background: #fff;
    color: var(--afc-navy);
    border-color: #dbe4ec;
}

.explore__dots.swiper-pagination,
.projects__dots.swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    white-space: nowrap;
}

.explore__dots .swiper-pagination-bullet,
.projects__dots .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
    background: #cbd7e1;
    opacity: 1;
}

.explore__dots .swiper-pagination-bullet-active,
.projects__dots .swiper-pagination-bullet-active {
    background: var(--afc-red);
}

@media (max-width: 575.98px) {

    .explore__slider,
    .projects__slider {
        padding: 0 2.25rem;
    }

    .explore__arrow,
    .projects__arrow {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 1.25rem;
    }
}

/* ---------- Find Your Aircraft ---------- */

.find-aircraft__panel {
    position: relative;
    overflow: hidden;
    background-color: var(--afc-navy);
    background-size: contain;
    background-position: left center;
    color: #dae6f0;
    padding: clamp(1.75rem, 4vw, 1.3rem);
    background-repeat: no-repeat;
}

.find-aircraft__form label.wpforms-field-label {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 0 0 5px 0 !important;
}

.find-aircraft__form button#wpforms-submit-101 {
    background: #c0392b;
    padding: 10px 20px;
    width: 75%;
}

.find-aircraft__panel--has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(90deg, rgba(11, 31, 51, .72) 0%, rgba(11, 31, 51, .82) 45%, rgba(11, 31, 51, .95) 100%);*/
}

.find-aircraft__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.85fr 1.7fr 0.6fr;
    gap: clamp(1.25rem, 3vw, 2.75rem);
    align-items: center;
}

.find-aircraft__space {
    align-self: stretch;
    display: grid;
    place-items: center;
    color: rgba(159, 179, 200, .35);
}

.find-aircraft__space svg {
    width: 100%;
    max-width: 150px;
    height: auto;
}

.find-aircraft__title {
    color: #fff;
    margin-bottom: .5rem;
}

.find-aircraft__text {
    color: #9fb3c8;
    margin-bottom: 1.25rem;
}

.find-aircraft__form :is(input, select, textarea) {
    width: 100%;
    padding: .6rem .8rem;
    margin-bottom: 1rem;
    border: 1px solid #35526c;
    background: #0e2740;
    color: #fff;
    border-radius: 2px;
}

.find-aircraft__placeholder {
    padding: 1rem;
    border: 1px dashed #35526c;
    color: #9fb3c8;
    font-size: .85rem;
}

.find-aircraft__aside {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--afc-line);
    padding: 1.5rem;
}

.find-aircraft__aside-title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: .5rem;
}

.find-aircraft__aside-text {
    font-size: .85rem;
    color: #9fb3c8;
}

@media (max-width: 991.98px) {
    .find-aircraft__grid {
        grid-template-columns: 1fr;
    }

    .find-aircraft__space {
        display: none;
    }
}

/* ---------- Inside Out ---------- */

.inside-out__checklist li,
.inside-out__points .inside-out__point {
    position: relative;
}

.inside-out__checklist li {
    padding-left: 1.4rem;
    margin-bottom: .5rem;
    font-weight: 600;
}

.inside-out__checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    background: url(../imgs/tickmark.png);
    background-size: cover;
    height: 12px;
    width: 12px;
    top: 6px;
}

.inside-out__image {
    max-width: 84%;
    height: auto;
    /*     filter: grayscale(1) contrast(1.05); */
}

.inside-out__image--placeholder {
    width: 100%;
    height: 260px;
    background: #cbd7e1;
}

/* Image with numbered hotspots overlaid */
.inside-out__figure {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.inside-out__spot {
    /* Default positions: tweak --spot-x / the top calc to match the artwork. */
    position: absolute;
    left: 60%;
    top: calc(15% + var(--spot-index, 0) * 18%);
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--afc-red);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 42, 67, .35);
    transition: transform .15s ease, box-shadow .15s ease;
}

.inside-out__spot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid var(--afc-red);
    border-radius: 50%;
    opacity: .45;
    transition: opacity .15s ease;
}

.inside-out__spot:hover,
.inside-out__spot:focus-visible,
.inside-out__spot.is-active {
    outline: none;
    transform: translate(-50%, -50%) scale(1.18);
    box-shadow: 0 4px 16px rgba(198, 12, 12, .55);
}

.inside-out__spot.is-active::after {
    opacity: .9;
}

.inside-out__points {
    margin: 0;
}

.inside-out__point {
    display: flex;
    gap: .85rem;
    padding: .9rem 0;
    /* border-bottom: 1px solid #e2ecf3; */
}

/* Right-side points are inactive until the matching hotspot is hovered */
.inside-out__points .inside-out__point {
    opacity: .35;
    filter: grayscale(1);
    transition: opacity .2s ease, filter .2s ease;
}

.inside-out__points .inside-out__point.is-active {
    opacity: 1;
    filter: none;
}

@media (hover: none) {

    /* No hover on touch devices — keep every point readable. */
    .inside-out__points .inside-out__point {
        opacity: 1;
        filter: none;
    }

    .inside-out__num {
        cursor: pointer;
    }
}

.inside-out__num {
    flex: none;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--afc-red);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 4px;
}



.inside-out__point-title {
    display: block;
    font-weight: 700;
    color: var(--afc-navy);
}

.inside-out__point-text {
    display: block;
    font-size: .85rem;
    color: var(--afc-muted);
}

/* ---------- Capabilities ---------- */

.capabilities {
    background: #fff;
}

.capabilities__heading {
    margin-bottom: 0;
}

.capabilities__heading::after,
.capabilities__heading::before {
    width: calc(50% - 11%) !important;
}

.capabilities__grid {
    display: grid;
    grid-template-columns: repeat(var(--afc-cap-count, 6), 1fr);
    padding: 30px 0 0;
}

.capability {
    padding: 2.25rem 1.35rem;
    text-align: center;
    border-left: 1px solid #ddd;
}

.capability:first-child {
    border-left: 0;
}

.capability__icon {
    display: grid;
    place-items: center;
    min-height: 46px;
    margin-bottom: 1rem;
}

.capability__icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.capability__icon-dot {
    width: 40px;
    height: 40px;
    border: 2px solid var(--afc-red);
    border-radius: 50%;
}

.capability__title {
    margin: 0 0 .6rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #ba3a29;
}

.capability__text {
    margin: 0;
    font-size: .8rem;
    line-height: 1.55;
    color: var(--afc-muted);
}

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

    .capability:nth-child(3n+1) {
        border-left: 0;
    }

    .capability:nth-child(n+4) {
        border-top: 1px solid #e2ecf3;
    }
}

@media (max-width: 575.98px) {
    .capabilities__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capability:nth-child(3n+1) {
        border-left: 1px solid #e2ecf3;
    }

    .capability:nth-child(odd) {
        border-left: 0;
    }

    .capability:nth-child(n+3) {
        border-top: 1px solid #e2ecf3;
    }
}

/* ---------- Warbird CTA (full-bleed split band) ---------- */

.warbird-cta {
    background: var(--afc-navy);
    overflow: hidden;
}

.warbird-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    min-height: 460px;
}

/* Let grid children (and the Swiper inside) shrink instead of overflowing */
.warbird-cta__inner>*,
.warbird-cta__panel>*,
.warbird-cta .fade-slider,
.warbird-cta .fade-slider__swiper {
    min-width: 0;
    max-width: 100%;
}

.warbird-cta .fade-slider__swiper {
    overflow: hidden;
}

.warbird-cta__media {
    position: relative;
    overflow: hidden;
    background: #0b1728;
}

.warbird-cta__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.warbird-cta__media-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #17324c;
}

/* Right panel: intro block + divider + feature list / button */
.warbird-cta__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding: clamp(2rem, 4.5vw, 2rem);
    background: var(--afc-navy);
    text-align: center;
    align-content: center;
}

.warbird-cta__intro {
    align-self: center;
}

.warbird-cta__title {
    color: #fff;
    text-transform: uppercase;
    font-size: clamp(1.5rem, 2.6vw, 2.15rem);
    line-height: 1.15;
    margin: 0 0 0.7rem;
}

.warbird-cta__logo {
    margin: 0 auto 0.75rem;
}

.warbird-cta__text {
    color: #fff;
    font-size: 1.0rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.warbird-cta__aside {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-left: clamp(1.5rem, 3vw, 3rem);
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.warbird-cta__features {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin: 0;
}

.warbird-feature {
    display: flex;
    align-items: center;
    gap: .9rem;
    color: #fff;
    font-size: .9rem;
    line-height: 1.35;
}

.warbird-feature__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
}

.warbird-feature__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
}

.warbird-feature__icon-dot {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
}

.warbird-cta__btn {
    align-self: self-start;
    margin-top: 0;
}

/* Laptop: panel is only ~57% wide, so stack intro above the feature list */
@media (max-width: 1199.98px) {
    .warbird-cta__panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
        padding: 2rem 1.75rem;
    }

    .warbird-cta__intro {
        align-self: start;
    }

    .warbird-cta__aside {
        padding-left: 0;
        padding-top: 1.75rem;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .18);
    }

    .warbird-cta__features {
        gap: 1.1rem;
    }

    .warbird-cta__btn {
        align-self: start;
    }
}

/* Tablet: photo on top, full-width panel below */
@media (max-width: 991.98px) {
    .warbird-cta__inner {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .warbird-cta__media {
        min-height: 340px;
    }

    .warbird-cta__panel {
        padding: 2.5rem 2rem;
    }
}


/* ---------- Projects ---------- */

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e2ecf3;
}

.project-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: #d7e0e8;
    overflow: hidden;
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card__body {
    display: block;
    padding: .9rem;
}

.project-card__title {
    display: block;
    font-weight: 700;
    color: var(--afc-navy);
}

.project-card__subtitle {
    display: block;
    font-size: .85rem;
    color: var(--afc-muted);
}

.project-card__tag {
    display: inline-block;
    margin-top: .5rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #123f67;
}

/* ---------- Standards ---------- */

/* Full-bleed top border; content sits flush against it, with a
   separator between the two halves. */
.home .section-space.standards {
    padding: 0;
    /* border-top: 1px solid #e2ecf3; */
}

.home .section-space.standards .container-fluid.row {
    width: 96%;
    margin: 0 auto;
}

.standards .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.standards .row>[class*="col-"] {
    padding: 30px 20px;
    background-color: #e7e7e7;
}

.standards__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 0;
}

.standards__item img {
    max-height: 69px;
    width: auto;
}

/* "We Proudly Support" auto-scrolling logo strip.
   Pure CSS animation, not Swiper — a JS-timed "auto slide" here fought
   Swiper's loop/autoplay init order (image sizing, layout timing) and kept
   stalling. A CSS keyframe loop can't stall: the browser drives it directly,
   with no JS re-calculation step that can race against page load. */
.standards__slider {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}

.standards__track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    /* Duration scales with item count so the scroll rate (px/sec) stays
       constant regardless of how many logos are configured. */
    animation: standards-marquee calc(var(--standards-items, 6) * 2.6s) linear infinite;
}

.standards__slider:hover .standards__track {
    animation-play-state: paused;
}

@keyframes standards-marquee {
    from {
        transform: translateX(0);
    }

    to {
        /* Exactly half the track (two identical, back-to-back copies), so
           the loop point is seamless. */
        transform: translateX(-50%);
    }
}

.standards__track .standards__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 160px;
}

.standards__track .standards__item img {
    max-width: 100%;
    max-height: 69px;
    object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
    .standards__track {
        animation: none;
    }
}

.standards__name {
    font-weight: 700;
    color: var(--afc-muted);
    letter-spacing: .05em;
}

/* ---------- FAQ ---------- */

.faq__accordion .accordion-button {
    font-size: .9rem;
    font-weight: 700;
    color: var(--afc-navy);
    background: #fff;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
}

.faq__accordion .accordion-button:not(.collapsed) {
    color: var(--afc-red);
    box-shadow: none;
}

.faq__accordion .accordion-button:focus {
    box-shadow: none;
    border-color: #dbe4ec;
}

.faq__accordion .accordion-item {
    border-color: #e2ecf3;
    margin: 10px 0px;
}

.faq__accordion .accordion-body {
    font-size: .88rem;
    color: var(--afc-muted);
    padding: 0 20px;
}

/* +/- toggle icon instead of the default chevron */
.faq__accordion .accordion-button::after {
    content: "+";
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 1rem;
    background-image: none;
    background-color: transparent;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--afc-red);
    transition: transform .2s ease;
    transform: none;
}

.faq__accordion .accordion-button:not(.collapsed)::after {
    content: "\2212";
    /* minus */
    transform: none;
}

section.section-space.bg-cloud.faq .container {
    width: 65%;
}


/* ---------- Bottom CTA ---------- */

.cta-band {
    position: relative;
    background-color: var(--afc-red);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 20px 0;
    overflow: hidden;
}

/* Photo background sits under a red overlay */
.cta-band--has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--afc-red);
    opacity: .9;
    mix-blend-mode: multiply;
}

.cta-band--has-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(234 59 50 / 73%);
}

.cta-band>.container {
    position: relative;
    z-index: 1;
    width: 68%;
}

.cta-band__inner {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
}

.cta-band__lead {
    flex: 0 1 32rem;
}

.cta-band__title {
    color: #fff;
    text-transform: uppercase;
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 .6rem;
}

.cta-band__text {
    color: rgba(255, 255, 255, .9);
    font-size: .9rem;
    line-height: 1.55;
    margin: 0;
}

.cta-band__action {
    flex: none;
}

.cta-band .btn-light {
    color: var(--afc-red);
    font-weight: 700;
}

.cta-band__btn {
    border-radius: 0;
    white-space: nowrap;
}

.cta-band__aside {
    flex: none;
    margin-left: auto;
    padding-left: clamp(1.5rem, 4vw, 3.5rem);
    border-left: 1px solid rgba(255, 255, 255, .4);
}

.cta-band__features {
    display: flex;
    align-items: flex-start;
    gap: clamp(1.25rem, 3.5vw, 3rem);
    margin: 0;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .7rem;
    max-width: 8.5rem;
}

.cta-feature__icon {
    display: grid;
    place-items: center;
    min-height: 46px;
}

.cta-feature__icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.cta-feature__icon-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.cta-feature__label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1.35;
}


@media screen and (max-width: 1380px) {
    .cta-band>.container {
        width: 90%;
    }

    .built-around .row.g-5.align-items-start {
        display: flex;
        flex-direction: column;
    }

    .built-around .row.g-5.align-items-start .col-sm-12 {
        width: 100%;
    }

    .warbird-cta__media img {
        position: relative;
    }

    .warbird-cta__inner {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .trust-bar__list {
        grid-template-columns: repeat(8, 1fr);
    }


    .trust-bar__item {
        flex-direction: column;
        text-align: center;
        border-bottom: 0;
        border-right: 1px solid rgb(156 142 117);
    }

    .trust-bar__item:last-child {
        border-right: 0;
    }
}


@media (max-width: 991.98px) {
    .cta-band__inner {
        flex-wrap: wrap;
        gap: 1.75rem;
    }

    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        width: 100%;
        max-width: 100% !important;
    }

    section.section-space.bg-cloud.faq .container {
        width: 85%;
    }


    .built-around .built-around__card>.row>div {
        width: 100%;
    }

    .info-block__rows {
        width: 96%;
    }

    .cta-band__lead {
        flex-basis: 100%;
    }

    .cta-band__aside {
        flex-basis: 100%;
        margin-left: 0;
        padding-left: 0;
        padding-top: 1.75rem;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .4);
    }

    .cta-band__features {
        justify-content: space-between;
    }

    .site-footer__nav,
    .site-footer__right,
    .site-footer .widget {
        margin: 0;
    }
}

@media (max-width: 575.98px) {
    .cta-band__features {
        gap: 1rem;
    }

    .cta-feature__label {
        font-size: .62rem;
    }
}




/* Mobile */
@media (max-width: 767.98px) {
    .warbird-cta__media {
        min-height: 240px;
    }

    .warbird-cta__panel {
        padding: 2rem 1.25rem;
        gap: 1.5rem;
    }

    .warbird-cta__logo {
        max-width: 100%;
        height: auto;
    }

    .warbird-cta__text {
        font-size: .95rem;
    }

    .warbird-cta__aside {
        gap: 1.5rem;
        padding-top: 1.5rem;
    }

    .warbird-feature {
        font-size: .88rem;
        text-align: left;
    }

    .warbird-cta__btn {
        align-self: stretch;
        text-align: center;
    }
}

/* Built Around: keep the title's line breaks (Built Around / The Aircraft / Since 1967) on laptop, tablet and mobile */
@media (max-width: 1399.98px) {
    .built-around .section-title br {
        display: block;
        content: "";
    }
}