/* ==========================================================================
   Homepage additions (2026-10-18): verified trust strip, hero enquiry card,
   "Find your perfect safari" tabs, fly-in strip, safaris by interest and
   "How it works". Colours follow the site palette (forest #18391E/#095228,
   CTA orange, accent #FFA500, green text #00894D).
   ========================================================================== */

.c-home-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #00894D; margin: 0 0 6px; }
.c-home-eyebrow--light { color: #A5D152; }
.c-home-h2 { font-family: var(--poa-font-heading); font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; color: #131516; margin: 0 0 var(--space-5); }

/* ---- Trust strip ---- */
.c-trust-strip { background: #fff; border-bottom: 1px solid var(--poa-color-border); }
.c-trust-strip__list { list-style: none; margin: 0 auto; padding-block: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.c-trust-strip__item, .c-trust-strip__link { display: flex; align-items: center; gap: 10px; color: #131516; text-decoration: none; }
.c-trust-strip__item i { font-size: 1.25rem; color: #00894D; }
.c-trust-strip__item .bi-star-fill { color: #FFA500; }
.c-trust-strip__item b { display: block; font-size: .95rem; line-height: 1.2; }
.c-trust-strip__item small { display: block; font-size: .78rem; color: #555F61; }
.c-trust-strip__link:hover b, .c-trust-strip__link:focus-visible b { text-decoration: underline; }
.c-trust-strip__link:focus-visible { outline: 3px solid #FFA500; outline-offset: 3px; border-radius: 6px; }

/* ---- Hero enquiry card (wide screens only) ---- */
.c-hero-enquiry { display: none; }
@media (min-width: 1280px) {
    .c-hero { container-type: inline-size; } /* cqw = the hero's own width (it stops growing on very wide screens) */
    .c-hero-enquiry {
        display: block; position: absolute; z-index: 6; top: 50%; transform: translateY(-50%);
        right: max(96px, calc((100cqw - 1320px) / 2 + 96px)); width: 340px;
        background: rgba(255, 255, 255, .97); border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); padding: 18px 20px 18px;
    }
}
.c-hero-enquiry__title { font-family: var(--poa-font-heading); font-size: 1.35rem; font-weight: 700; margin: 0; color: #131516; }
.c-hero-enquiry__sub { font-size: .85rem; color: #555F61; margin: 2px 0 12px; }
.c-hero-enquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.c-hero-enquiry__field { display: flex; flex-direction: column; gap: 3px; margin: 0; min-width: 0; }
.c-hero-enquiry__field--wide { grid-column: 1 / -1; }
.c-hero-enquiry__field span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #555F61; }
.c-hero-enquiry .c-form__input, .c-hero-enquiry .c-form__select { height: 40px; min-height: 0; padding: 4px 10px; font-size: .88rem; width: 100%; border-radius: 10px; }
.c-hero-enquiry__submit { width: 100%; margin-top: 12px; }
.c-hero-enquiry [data-form-status] { font-size: .85rem; margin: 10px 0 0; }

/* ---- Find your perfect safari ---- */
.c-finder__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 10px; margin-bottom: var(--space-4); }
.c-finder__tabs::-webkit-scrollbar { display: none; }
.c-finder__tab { flex: 0 0 auto; border: 1.5px solid var(--poa-color-border); background: #fff; color: #131516; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: .92rem; cursor: pointer; }
.c-finder__tab[aria-selected="true"] { background: #18391E; border-color: #18391E; color: #fff; }
.c-finder__tab:focus-visible { outline: 3px solid #FFA500; outline-offset: 2px; }
.c-finder__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.c-finder__card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--poa-color-border); border-radius: 20px; overflow: hidden; color: #131516; text-decoration: none; box-shadow: var(--poa-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.c-finder__card:hover, .c-finder__card:focus-visible { transform: translateY(-3px); box-shadow: var(--poa-shadow-lg); }
.c-finder__card:focus-visible { outline: 3px solid #FFA500; outline-offset: 2px; }
.c-finder__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.c-finder__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.c-finder__meta { font-size: .8rem; color: #555F61; }
.c-finder__meta i, .c-finder__price i { color: #00894D; }
.c-finder__title { font-weight: 800; line-height: 1.3; }
.c-finder__price { margin-top: auto; font-weight: 700; color: #095228; font-size: .9rem; }
.c-finder__all { margin: 16px 0 0; }
.c-finder__all a { color: #095228; font-weight: 700; }
.c-finder__hub { text-align: center; margin: var(--space-6) 0 0; }

/* ---- Fly-in strip ---- */
.c-flyin { background: linear-gradient(120deg, #18391E, #095228); color: #fff; padding-block: var(--space-7); }
.c-flyin__inner { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 992px) { .c-flyin__inner { grid-template-columns: 1fr 1.1fr; } }
.c-flyin__title { font-family: var(--poa-font-heading); font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 10px; color: #fff; }
.c-flyin__text p { color: rgba(255, 255, 255, .85); margin: 0; }
.c-flyin__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.c-flyin__list a { display: flex; flex-direction: column; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; }
.c-flyin__list a:hover, .c-flyin__list a:focus-visible { background: rgba(255, 255, 255, .16); }
.c-flyin__list span { font-weight: 700; }
.c-flyin__list small { color: rgba(255, 255, 255, .78); }

/* ---- Safaris by interest ---- */
.c-themes.l-section { padding-block: var(--space-7); background: #F2F3F4; }
.c-themes__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.c-themes__item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #18391E; color: #fff; text-decoration: none; }
.c-themes__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .3s ease; }
.c-themes__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent 60%); }
.c-themes__item:hover .c-themes__img { transform: scale(1.05); }
.c-themes__item:focus-visible { outline: 3px solid #FFA500; outline-offset: 2px; }
.c-themes__label { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; font-weight: 800; }

/* ---- How it works ---- */
.c-how.l-section { padding-block: var(--space-8); }
.c-how__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.c-how__step { background: #fff; border: 1px solid var(--poa-color-border); border-radius: 20px; padding: 22px; box-shadow: var(--poa-shadow-sm); }
.c-how__icon { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #18391E; color: #fff; font-size: 1.5rem; }
.c-how__num { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: #FFA500; color: #18391E; font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.c-how__title { font-size: 1.1rem; font-weight: 800; margin: 14px 0 6px; }
.c-how__text { color: #555F61; margin: 0; }
.c-how__cta { margin: var(--space-5) 0 0; text-align: center; }

@media (prefers-reduced-motion: reduce) {
    .c-finder__card, .c-themes__img { transition: none; }
    .c-finder__card:hover { transform: none; }
}
@media (max-width: 575px) {
    .c-trust-strip__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding-inline: 16px; }
    .c-trust-strip__item, .c-trust-strip__link { gap: 8px; align-items: flex-start; }
    .c-trust-strip__item i { font-size: 1rem; margin-top: 2px; }
    .c-trust-strip__item b { font-size: .82rem; }
    .c-trust-strip__item small { font-size: .72rem; }
}

/* Hero text must never run under the enquiry card (owner screenshots 2026-10-18):
   on screens that show the card, the headline and text use only the space to its
   left and wrap into balanced lines. Card = 340px wide, at least 96px from the right
   edge; 260px leaves the left margin plus a gap. */
@media (min-width: 1280px) {
    body .c-hero .c-hero__headline,
    body .c-hero .c-hero__subheading,
    body .c-hero .c-hero__cta-group {
        /* space left of the card: viewport − card's right offset − card width − content's left offset − 40px gap */
        max-width: calc(100cqw - max(96px, (100cqw - 1320px) / 2 + 96px) - 340px - max(64px, (100cqw - 1320px) / 2 + 80px) - 40px) !important;
    }
    body .c-hero .c-hero__headline { text-wrap: balance; font-size: clamp(2.6rem, 4.4vw, 4.6rem) !important; line-height: 1.04 !important; }
    body .c-hero .c-hero__subheading { text-wrap: pretty; }
}
