/* ==========================================================================
   Google reviews ("Voices from the Cockpit", home)
   The reviews come from a third-party SociableKit widget that cannot be restyled, so this sheet only frames
   it: a full-width navy band with the section head, a "Rated on Google" trust row, a large decorative quote
   mark, and a light rounded card holding the widget. The card keeps a min-height with a skeleton until the
   widget has rendered, so the page does not jump; if the widget never loads the card simply stays calm.
   ========================================================================== */
.reviews-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(56px, 7vw, 104px) 0;
    background: linear-gradient(160deg, #09212b 0%, #0b2836 55%, #0d2f3f 100%);
    color: #fff;
}

/* Soft sky glow + faint horizon line so the band does not read flat. */
.reviews-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(45% 55% at 85% 0%, rgba(51, 189, 255, 0.16) 0%, rgba(51, 189, 255, 0) 70%),
        radial-gradient(40% 50% at 8% 100%, rgba(51, 189, 255, 0.1) 0%, rgba(51, 189, 255, 0) 70%);
    pointer-events: none;
}

.reviews-section__quote {
    position: absolute;
    top: -0.3em;
    left: -0.12em;
    z-index: -1;
    color: rgba(51, 189, 255, 0.13);
    font-family: "DM Serif Display", serif;
    font-size: clamp(9rem, 6rem + 8vw, 15rem);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.reviews-header {
    position: relative;
    max-width: 640px;
    margin: 0 auto clamp(32px, 4vw, 52px);
    text-align: center;
}

.reviews-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid rgba(51, 189, 255, 0.35);
    border-radius: 999px;
    background: rgba(51, 189, 255, 0.1);
    color: #8fdcff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.3;
    text-transform: uppercase;
}

.reviews-title {
    margin-bottom: 14px;
    color: #fff;
    font-family: "DM Serif Display", serif;
    font-size: clamp(1.9rem, 1.2rem + 2vw, 2.75rem);
    font-weight: 400;
    line-height: 1.15;
}

.reviews-subtitle {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
    line-height: 1.6;
}

.reviews-trust {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 22px 0 0;
    padding: 7px 16px 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.reviews-trust__g {
    display: block;
    width: 26px;
    height: 26px;
    padding: 5px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

/* --- The light card holding the widget ----------------------------------- */
.reviews-card {
    position: relative;
    min-height: 380px;
    padding: clamp(14px, 2.4vw, 32px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.04);
    color: #4e4e4e;
}

.reviews-card .sk-ww-google-reviews {
    position: relative;
    z-index: 1;
}

/* Skeleton: three quiet placeholder cards, shown until the widget has put anything into its container. */
.reviews-card__skeleton {
    position: absolute;
    inset: clamp(14px, 2.4vw, 32px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 20px);
    pointer-events: none;
}

.reviews-card:has(.sk-ww-google-reviews > *) .reviews-card__skeleton {
    display: none;
}

.reviews-card__ghost {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background:
        radial-gradient(circle 23px at 47px 51px, #e6edf3 96%, transparent 100%) 0 0 / 100% 100% no-repeat,
        linear-gradient(#eef3f7, #eef3f7) 84px 40px / 40% 12px no-repeat,
        linear-gradient(#eef3f7, #eef3f7) 24px 100px / calc(100% - 48px) 10px no-repeat,
        linear-gradient(#eef3f7, #eef3f7) 24px 124px / calc(100% - 72px) 10px no-repeat,
        linear-gradient(#eef3f7, #eef3f7) 24px 148px / calc(100% - 110px) 10px no-repeat,
        #f7fafc;
    border: 1px solid rgba(9, 33, 43, 0.05);
}

.reviews-card__ghost::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 70%);
    transform: translateX(-100%);
    animation: reviews-shimmer 1.6s ease-in-out 6;
}

@keyframes reviews-shimmer {
    to {
        transform: translateX(100%);
    }
}

@media (max-width: 991.98px) {
    .reviews-card__skeleton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-card__ghost:nth-child(3) {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .reviews-card {
        min-height: 340px;
        border-radius: 16px;
    }

    .reviews-card__skeleton {
        grid-template-columns: minmax(0, 1fr);
    }

    .reviews-card__ghost:nth-child(2) {
        display: none;
    }

    .reviews-trust {
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reviews-card__ghost::after {
        animation: none;
        display: none;
    }
}

/* ==========================================================================
   Shared slick dots (also used by the mobile team slider on the About page)
   ========================================================================== */
.slick-dots {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
    gap: 8px;
}

.slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: none;
    text-indent: -9999px;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slick-dots li.slick-active button {
    width: 35px;
    border-radius: 10px;
    background: #33BDFF;
}

@media (max-width: 768px) {
    .slick-dots {
        margin-top: 25px;
        gap: 10px;
    }

    .slick-dots li button {
        width: 10px;
        height: 10px;
    }

    .slick-dots li.slick-active button {
        width: 30px;
    }
}
