/* ==========================================================================
   Afrikan Accent Adventures — 2026 Client Updates Stylesheet
   Covers:
     1. 3-Row Right-to-Left Sliding Reviews Marquee
     2. Special Offer Countdown Banner
     3. Book-a-Seat Page & 4x4 Safari Land Cruiser Seat Picker
     4. Pop-up "Get a Quote" Command Box & Floating Trigger
     5. Footer Awards Link Badge & Partner Document Modal
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 3-Row Sliding Reviews Marquee
   -------------------------------------------------------------------------- */
.aaa-reviews--marquee {
    overflow: hidden;
    padding-bottom: 72px;
}

.aaa-rev-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.aaa-rev__stats--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.aaa-rev-rows {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.aaa-rev-row__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.aaa-rev-row__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.aaa-rev-row__badge i {
    color: var(--plat-color, #d4a030);
    font-size: 15px;
}

.aaa-rev-row__link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.aaa-rev-row__link:hover {
    color: #f3c65f;
}

.aaa-rev-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.aaa-rev-marquee__track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: aaa-marquee-rtl var(--marquee-speed, 42s) linear infinite;
    will-change: transform;
}

.aaa-rev-marquee:hover .aaa-rev-marquee__track {
    animation-play-state: paused;
}

.aaa-rev__card--slide {
    flex: 0 0 360px;
    max-width: 85vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.aaa-rev__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.aaa-rev__plat-dot {
    font-size: 16px;
    opacity: 0.9;
}

.aaa-rev__card--slide .aaa-rev__quote {
    margin: 0 0 16px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

@keyframes aaa-marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .aaa-rev-marquee__track {
        animation: none;
        overflow-x: auto;
    }
}

/* --------------------------------------------------------------------------
   2. Special Offer Countdown Banner + Search Bar Overlap Fix + Family Hero Fix
   -------------------------------------------------------------------------- */
.elementor-widget-aaa_planner {
    position: relative;
    z-index: 8;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (min-width: 769px) {
    .elementor-widget-aaa_planner {
        height: 0 !important;
        overflow: visible !important;
    }
    .elementor-widget-aaa_planner .aaa-planner {
        margin-top: -124px !important;
        margin-bottom: 0 !important;
    }
}

.elementor-widget-aaa_special_offer {
    position: relative;
    z-index: 2;
    margin-top: 0 !important;
    width: 100% !important;
}

.aaa-offer-banner {
    background: linear-gradient(135deg, #c99a3a 0%, #b58328 55%, #9e6f1e 100%);
    color: #fff;
    padding: 20px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    clear: both;
}

.aaa-offer-banner__dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.aaa-offer-banner__dates-lbl {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #141414;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 10px;
    border-radius: 999px;
}

.aaa-offer-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #141414 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid rgba(243, 198, 95, 0.65) !important;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.16s ease, background 0.16s ease;
}

.aaa-offer-date-pill:hover {
    background: #0a1a2f !important;
    color: #f3c65f !important;
    transform: translateY(-1px);
}

.aaa-offer-date-pill__new {
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f3c65f;
    color: #141414;
}

/* Match Family Journeys hero (855d56c / a05c552) to Small Group Safaris full-width design */
.elementor-element-a05c552 > .e-con-inner,
.elementor-element-855d56c,
.elementor-element-855d56c .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.elementor-element-855d56c .aaa-hero .aaa-container {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.elementor-element-855d56c .aaa-hero__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    max-width: 780px !important;
}

.elementor-element-855d56c .aaa-hero h1 {
    white-space: normal !important;
    max-width: none !important;
}

.elementor-element-855d56c .aaa-hero__sub {
    max-width: 680px !important;
    margin-bottom: 12px !important;
}

.elementor-element-855d56c .aaa-hero__cta {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
}

.aaa-offer-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 24px;
}

.aaa-offer-banner__left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.aaa-offer-banner__pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    background: #141414;
    color: #f3c65f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aaa-offer-banner__copy h3 {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.aaa-offer-banner__copy p {
    margin: 2px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
}

.aaa-offer-banner__timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aaa-offer-banner__unit {
    min-width: 56px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #141414;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.aaa-offer-banner__unit b {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.aaa-offer-banner__unit small {
    display: block;
    margin-top: 2px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f3c65f;
}

.aaa-offer-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #6b4b1a;
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: background 0.2s ease, transform 0.2s ease;
}

.aaa-offer-banner__cta:hover {
    background: #141414;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   3. Book-a-Seat Page & 4x4 Land Cruiser Seat Picker
   -------------------------------------------------------------------------- */
.aaa-bas-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.aaa-bas-step {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(10, 26, 47, 0.04);
}

.aaa-bas-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #0a1a2f;
    color: #f3c65f;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 14px;
}

.aaa-bas-step h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.aaa-bas-step p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

.aaa-seat-picker {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    margin: 28px 0;
}

.aaa-seat-picker__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.aaa-seat-picker__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: #475569;
}

.aaa-seat-picker__legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.aaa-seat-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}
.aaa-seat-dot--open     { background: #fff; border: 2px solid #0a1a2f; }
.aaa-seat-dot--selected { background: #1781fe; border: 2px solid #1781fe; }
.aaa-seat-dot--booked   { background: #cbd5e1; border: 2px solid #94a3b8; }

.aaa-vehicle-cabin {
    max-width: 380px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #0a1a2f;
    border-radius: 32px 32px 18px 18px;
    padding: 20px 22px 24px;
    box-shadow: 0 12px 28px rgba(10, 26, 47, 0.08);
}

.aaa-vehicle-cabin__windshield {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px dashed #cbd5e1;
}

.aaa-vehicle-row {
    display: grid;
    grid-template-columns: 1fr 28px 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.aaa-vehicle-aisle {
    text-align: center;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
}

.aaa-seat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 12px;
    border: 2px solid #0a1a2f;
    background: #fff;
    color: #0a1a2f;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.aaa-seat-btn small {
    font-size: 10.5px;
    font-weight: 500;
    opacity: 0.78;
}

.aaa-seat-btn:hover:not(:disabled) {
    border-color: #1781fe;
    background: #eff6ff;
}

.aaa-seat-btn.is-selected {
    background: #1781fe;
    border-color: #1781fe;
    color: #fff;
}

.aaa-seat-btn.is-booked,
.aaa-seat-btn.is-driver {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
}

.aaa-seat-picker__summary {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   4. Pop-up "Get a Quote" Command Box & Floating Trigger
   -------------------------------------------------------------------------- */
.aaa-quote-fab {
    position: fixed !important;
    right: 22px !important;
    left: auto !important;
    bottom: 86px !important;
    z-index: 9980 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 11px 18px !important;
    border-radius: 999px !important;
    background: #0a1a2f !important;
    color: #ffffff !important;
    border: 2px solid #d4a030 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    box-shadow: 0 10px 26px rgba(10, 26, 47, 0.34) !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
}

.aaa-quote-fab:hover {
    background: #1781fe !important;
    border-color: #1781fe !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.aaa-quote-fab span,
.aaa-quote-fab i {
    color: #ffffff !important;
}

.aaa-quote-modal[hidden] {
    display: none !important;
}

.aaa-quote-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.aaa-quote-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 47, 0.72);
    backdrop-filter: blur(4px);
}

.aaa-quote-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.aaa-quote-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0a1a2f;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aaa-quote-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.aaa-quote-modal__field {
    margin-bottom: 12px;
}

.aaa-quote-modal__field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #0a1a2f;
    margin-bottom: 5px;
}

.aaa-quote-modal__field input,
.aaa-quote-modal__field select,
.aaa-quote-modal__field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
}

.aaa-quote-modal__status {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
}

.aaa-quote-modal__status.is-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.aaa-quote-modal__status.is-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* --------------------------------------------------------------------------
   5. Footer Awards Link Badge
   -------------------------------------------------------------------------- */
.aaa-footer-award__link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.aaa-footer-award__link:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.aaa-footer-award__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #0a1a2f;
    border: 2px solid #d4a030;
    color: #f3c65f;
    font-size: 22px;
}

.aaa-footer-award__title {
    color: #0a1a2f !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-align: center;
}

/* --------------------------------------------------------------------------
   6. Detailed DIY Trip Builder Chips
   -------------------------------------------------------------------------- */
.aaa-diy-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.aaa-diy-chip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0 !important;
}

.aaa-diy-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.aaa-diy-chip span {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0a1a2f;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.16s ease;
}

.aaa-diy-chip input:checked + span {
    background: #0a1a2f;
    border-color: #0a1a2f;
    color: #f3c65f;
}

/* --------------------------------------------------------------------------
   7. Mobile Footer Left/Right Padding & Clean Mobile Floating Bar
   -------------------------------------------------------------------------- */
.aaa-footer > .aaa-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    .aaa-footer > .aaa-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .aaa-quote-modal__grid {
        grid-template-columns: 1fr;
    }
    .aaa-quote-fab {
        display: none !important;
    }
}
