/*
 * Enhanced content sections (home + About page). Logo palette: deep navy, royal blue, gold.
 * Light is the default; html[data-theme="dark"] rules at the end switch to the dark look.
 */

/* ======================= about ======================= */
.tq-about {
    --tq-navy: #06256f;
    --tq-blue: #0d4ecd;
    --tq-gold: #e0a514;
    --tq-gold-text: #a87300;
    --tq-text: #4a5468;
    --tq-card: #ffffff;
    --tq-card-border: rgba(6, 37, 111, .08);
    --tq-card-shadow: 0 18px 40px rgba(6, 37, 111, .1);
    --tq-frame: #ffffff;

    position: relative;
    padding: 50px 0;
    overflow: hidden;
}

/* the About page counter strip had no spacing of its own */
.main>.counter-area {
    padding: 50px 0;
}

/* ---------- visual ---------- */
.tq-about__visual {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 40px 70px 0;
}

.tq-about__dots {
    position: absolute;
    left: -24px;
    top: -24px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(rgba(13, 78, 205, .28) 2px, transparent 2.5px);
    background-size: 16px 16px;
}

.tq-about__glow {
    position: absolute;
    right: -40px;
    bottom: 0;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 188, 30, .3), transparent 65%);
    filter: blur(10px);
}

.tq-about__photo {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.tq-about__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.tq-about__photo:hover img {
    transform: scale(1.05);
}

.tq-about__photo--main {
    z-index: 1;
    width: 78%;
    aspect-ratio: 4 / 5;
    border-radius: 32px;
    box-shadow: var(--tq-card-shadow);
}

/* the second photo overlaps the first in a white frame */
.tq-about__photo--side {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    width: 48%;
    aspect-ratio: 3 / 4;
    border-radius: 26px;
    border: 8px solid var(--tq-frame);
    box-shadow: 0 24px 50px rgba(6, 37, 111, .22);
}

.tq-about__badge {
    position: absolute;
    z-index: 3;
    top: 34px;
    right: 6px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    color: #fff;
    text-shadow: 0 1px 2px rgba(60, 30, 0, .45);
    box-shadow: 0 0 0 8px rgba(224, 165, 20, .18), 0 18px 34px rgba(160, 110, 10, .35);
}

.tq-about__badge strong {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.tq-about__badge strong span {
    font-size: 26px;
}

.tq-about__badge small {
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
}

.tq-about__chip {
    position: absolute;
    z-index: 3;
    left: -10px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    border-radius: 18px;
    background: var(--tq-card);
    border: 1px solid var(--tq-card-border);
    box-shadow: var(--tq-card-shadow);
    white-space: nowrap;
}

.tq-about__chip-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #116bdd, #06256f);
    color: #fff;
    font-size: 19px;
}

.tq-about__chip strong {
    display: block;
    color: var(--tq-navy);
    font-size: 15px;
    line-height: 1.25;
}

.tq-about__chip small {
    color: var(--tq-text);
    font-size: 12.5px;
}

/* ---------- content ---------- */
.tq-about__text {
    margin: 0 0 24px;
    color: var(--tq-text);
    font-size: 16.5px;
    line-height: 1.75;
}

.tq-about__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.tq-about__points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tq-navy);
    font-size: 15.5px;
    font-weight: 600;
}

.tq-about__points i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(13, 78, 205, .1);
    color: var(--tq-blue);
    font-size: 11px;
}

.tq-about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.tq-about__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
    background: var(--tq-card);
    border: 1px solid var(--tq-card-border);
    box-shadow: 0 8px 24px rgba(6, 37, 111, .06);
    transition: box-shadow .3s ease, border-color .3s ease;
}

.tq-about__feature:hover {
    border-color: rgba(13, 78, 205, .25);
    box-shadow: var(--tq-card-shadow);
}

.tq-about__feature-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #116bdd, #06256f);
    color: #fff;
    font-size: 21px;
    box-shadow: 0 10px 20px rgba(13, 78, 205, .25);
}

.tq-about__feature-icon--gold {
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    box-shadow: 0 10px 20px rgba(224, 165, 20, .3);
}

.tq-about__feature h6 {
    margin: 2px 0 6px;
    color: var(--tq-navy);
    font-size: 17px;
    font-weight: 700;
}

.tq-about__feature p {
    margin: 0;
    color: var(--tq-text);
    font-size: 14px;
    line-height: 1.6;
}

.tq-about__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}

.tq-about__btn {
    height: 54px;
    padding: 0 28px;
    font-size: 16px;
}

.tq-about__btn i {
    transition: transform .25s ease;
}

.tq-about__btn:hover i {
    transform: translateX(4px);
}

.tq-about__call {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.tq-about__call-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(13, 78, 205, .1);
    color: var(--tq-blue);
    font-size: 19px;
    transition: background .25s ease, color .25s ease;
}

.tq-about__call:hover .tq-about__call-icon {
    background: var(--tq-blue);
    color: #fff;
}

.tq-about__call small {
    display: block;
    color: var(--tq-text);
    font-size: 13px;
}

.tq-about__call strong {
    color: var(--tq-navy);
    font-size: 18px;
    font-weight: 800;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    .tq-about__visual {
        margin-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .tq-about__visual {
        padding: 0 16px 56px 0;
    }

    .tq-about__dots {
        left: -10px;
        top: -14px;
        width: 100px;
        height: 100px;
    }

    .tq-about__badge {
        top: 16px;
        right: 0;
        width: 96px;
        height: 96px;
        box-shadow: 0 0 0 6px rgba(224, 165, 20, .18), 0 12px 24px rgba(160, 110, 10, .35);
    }

    .tq-about__badge strong {
        font-size: 30px;
    }

    .tq-about__badge strong span {
        font-size: 20px;
    }

    .tq-about__badge small {
        font-size: 10.5px;
    }

    .tq-about__photo--side {
        border-width: 5px;
    }

    .tq-about__chip {
        left: 0;
        bottom: 12px;
        padding: 8px 12px 8px 8px;
        gap: 8px;
    }

    .tq-about__chip-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .tq-about__chip strong {
        font-size: 13px;
    }

    .tq-about__chip small {
        font-size: 11px;
    }

    .tq-about__points,
    .tq-about__features {
        grid-template-columns: 1fr;
    }

    .tq-about__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tq-about__photo img,
    .tq-about__feature {
        transition: none;
    }
}

/* ---------- dark mode ---------- */
html[data-theme="dark"] .tq-about {
    --tq-navy: #ffffff;
    --tq-blue: #4d8fff;
    --tq-gold-text: #f3bc1e;
    --tq-text: #c9d1db;
    --tq-card: #161616;
    --tq-card-border: rgba(255, 255, 255, .1);
    --tq-card-shadow: 0 18px 40px rgba(0, 0, 0, .5);
    --tq-frame: #161616;
}

html[data-theme="dark"] .tq-about__dots {
    background-image: radial-gradient(rgba(77, 143, 255, .35) 2px, transparent 2.5px);
}

html[data-theme="dark"] .tq-about__glow {
    background: radial-gradient(circle, rgba(13, 78, 205, .35), transparent 65%);
}

html[data-theme="dark"] .tq-about__points i,
html[data-theme="dark"] .tq-about__call-icon {
    background: rgba(77, 143, 255, .14);
}

html[data-theme="dark"] .tq-about__feature:hover {
    border-color: rgba(77, 143, 255, .35);
}

/* ======================= why toqona (bento grid) ======================= */
.tq-why {
    --tq-navy: #06256f;
    --tq-blue: #0d4ecd;
    --tq-text: #4a5468;
    --tq-card: #ffffff;
    --tq-card-border: rgba(6, 37, 111, .08);
    --tq-card-shadow: 0 18px 40px rgba(6, 37, 111, .1);

    position: relative;
    padding: 50px 0;
    background: linear-gradient(180deg, transparent, rgba(13, 78, 205, .04) 50%, transparent);
}

.tq-why__intro {
    margin: 14px 0 0;
    color: var(--tq-text);
    font-size: 17px;
}

/* tall feature card on the left, six reason cards in two columns beside it */
.tq-why__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.tq-why__lead {
    position: relative;
    grid-row: span 3;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 36px;
    border-radius: 28px;
    background: radial-gradient(circle at 85% 10%, rgba(243, 188, 30, .28), transparent 40%),
        linear-gradient(160deg, #116bdd 0%, #0d4ecd 35%, #06256f 100%);
    color: #fff;
    box-shadow: 0 30px 60px rgba(6, 37, 111, .3);
}

/* faint rings in the corner */
.tq-why__lead-ring {
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 40px rgba(255, 255, 255, .03);
    pointer-events: none;
}

.tq-why__lead-label {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #ffd76a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tq-why__lead h3 {
    margin: 20px 0 12px;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.tq-why__lead p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15.5px;
    line-height: 1.7;
}

.tq-why__big {
    margin-top: auto;
    padding-top: 30px;
}

.tq-why__big strong {
    display: block;
    color: #ffd76a;
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.tq-why__big small {
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
}

.tq-why__mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 22px 0 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.tq-why__mini strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.tq-why__mini small {
    color: rgba(255, 255, 255, .72);
    font-size: 12.5px;
    line-height: 1.3;
}

.tq-why__btn {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    height: 52px;
    padding: 0 26px;
    font-size: 15.5px;
}

.tq-why__btn i {
    transition: transform .25s ease;
}

.tq-why__btn:hover i {
    transform: translateX(4px);
}

.tq-why__card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 22px;
    background: var(--tq-card);
    border: 1px solid var(--tq-card-border);
    box-shadow: 0 8px 24px rgba(6, 37, 111, .06);
    transition: box-shadow .3s ease, border-color .3s ease;
}

.tq-why__card:hover {
    border-color: rgba(13, 78, 205, .2);
    box-shadow: var(--tq-card-shadow);
}

/* big outlined number in the corner */
.tq-why__num {
    position: absolute;
    top: 14px;
    right: 20px;
    color: transparent;
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    -webkit-text-stroke: 1.5px rgba(13, 78, 205, .16);
    transition: -webkit-text-stroke-color .3s ease;
}

.tq-why__card:hover .tq-why__num {
    -webkit-text-stroke-color: rgba(224, 165, 20, .55);
}

.tq-why__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #116bdd, #06256f);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 20px rgba(13, 78, 205, .25);
    transition: transform .3s ease;
}

.tq-why__icon--gold {
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    box-shadow: 0 10px 20px rgba(224, 165, 20, .3);
}

.tq-why__card:hover .tq-why__icon {
    transform: rotate(-8deg) scale(1.06);
}

.tq-why__card h4 {
    margin: 0 0 8px;
    color: var(--tq-navy);
    font-size: 18px;
    font-weight: 700;
}

.tq-why__card p {
    margin: 0;
    color: var(--tq-text);
    font-size: 14.5px;
    line-height: 1.65;
}

@media (max-width: 1199px) {
    .tq-why__grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
    }

    .tq-why__lead {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .tq-why__big {
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .tq-why__grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }

    .tq-why__lead {
        padding: 26px;
        border-radius: 22px;
    }

    .tq-why__lead h3 {
        font-size: 26px;
    }

    .tq-why__big strong {
        font-size: 44px;
    }

    .tq-why__mini strong {
        font-size: 19px;
    }

    .tq-why__btn {
        width: 100%;
        justify-content: center;
    }

    .tq-why__card {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tq-why__card,
    .tq-why__icon {
        transition: none;
    }
}

html[data-theme="dark"] .tq-why {
    --tq-navy: #ffffff;
    --tq-blue: #4d8fff;
    --tq-text: #c9d1db;
    --tq-card: #161616;
    --tq-card-border: rgba(255, 255, 255, .1);
    --tq-card-shadow: 0 18px 40px rgba(0, 0, 0, .5);
    background: linear-gradient(180deg, transparent, rgba(13, 78, 205, .08) 50%, transparent);
}

html[data-theme="dark"] .tq-why__lead {
    box-shadow: 0 30px 60px rgba(13, 78, 205, .25);
}

html[data-theme="dark"] .tq-why__num {
    -webkit-text-stroke-color: rgba(255, 255, 255, .14);
}

html[data-theme="dark"] .tq-why__card:hover {
    border-color: rgba(77, 143, 255, .35);
}

/* ======================= package cards (.tq-plan) ======================= */
/* same layout as before: image on the left, details on the right, stacked where the card is narrow */
.tq-plan {
    --tq-navy: #06256f;
    --tq-blue: #0d4ecd;
    --tq-gold-text: #a87300;
    --tq-text: #4a5468;
    --tq-card: #ffffff;
    --tq-edge: rgba(6, 37, 111, .09);
    --tq-muted: #8a93a3;
    --tq-tint: rgba(13, 78, 205, .05);

    display: flex;
    gap: 22px;
    height: 100%;
    padding: 14px;
    border: 1.5px solid transparent;
    border-radius: 24px;
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(var(--tq-edge), var(--tq-edge)) border-box;
    box-shadow: 0 10px 30px rgba(6, 37, 111, .07);
    transition: box-shadow .3s ease;
}

/* blue-to-gold border on hover (no movement) */
.tq-plan:hover {
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(135deg, #0d4ecd, #e0a514) border-box;
    box-shadow: 0 22px 46px rgba(6, 37, 111, .14);
}

/* ---------- image ---------- */
.tq-plan__media {
    position: relative;
    flex: 0 0 240px;
    min-height: 260px;
    overflow: hidden;
    border-radius: 18px;
    background: #eef2fb;
}

.tq-plan__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.tq-plan:hover .tq-plan__media img {
    transform: scale(1.06);
}

/* soft navy shade at the bottom */
.tq-plan__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(6, 37, 111, .4));
    pointer-events: none;
}

/* shown only when the uploaded image is missing */
.tq-plan__fallback {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    text-align: center;
    background: radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 2px) 0 0 / 18px 18px,
        radial-gradient(circle at 80% 12%, rgba(243, 188, 30, .4), transparent 45%),
        linear-gradient(150deg, #116bdd, #06256f);
    color: #fff;
}

.tq-plan__media.is-empty .tq-plan__fallback {
    display: flex;
}

.tq-plan__fallback i {
    width: 64px;
    height: 64px;
    margin-bottom: 4px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .1), 0 12px 24px rgba(0, 0, 0, .25);
    text-shadow: 0 1px 2px rgba(60, 30, 0, .45);
}

.tq-plan__fallback strong {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

/* ---------- details ---------- */
.tq-plan__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 6px 4px 0;
}

.tq-plan__title {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

.tq-plan__title a {
    color: var(--tq-navy);
    text-decoration: none;
    transition: color .2s ease;
}

.tq-plan__title a:hover {
    color: var(--tq-blue);
}

.tq-plan__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 14px;
}

/* rating badge: gold pill, stars filled to the exact rating, then the score */
.tq-plan__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 10px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 215, 106, .22), rgba(224, 165, 20, .1));
    border: 1px solid rgba(224, 165, 20, .35);
    line-height: 1;
}

.tq-plan__stars {
    position: relative;
    display: inline-block;
    font-size: 12.5px;
    letter-spacing: 2px;
    white-space: nowrap;
}

.tq-plan__stars-base {
    color: rgba(6, 37, 111, .15);
}

/* gold layer on top, cut to the rating width */
.tq-plan__stars-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--fill, 100%);
    overflow: hidden;
    background: linear-gradient(180deg, #ffd76a, #e0a514 60%, #c98f0a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tq-plan__rating strong {
    color: var(--tq-navy);
    font-size: 14px;
    font-weight: 800;
}

.tq-plan__rating small {
    margin-left: -5px;
    color: var(--tq-muted);
    font-size: 12px;
    font-weight: 600;
}

html[data-theme="dark"] .tq-plan__rating {
    background: linear-gradient(135deg, rgba(243, 188, 30, .16), rgba(243, 188, 30, .06));
    border-color: rgba(243, 188, 30, .35);
}

html[data-theme="dark"] .tq-plan__stars-base {
    color: rgba(255, 255, 255, .18);
}

.tq-plan__includes {
    margin-bottom: 16px;
}

.tq-plan__includes>small {
    display: block;
    margin-bottom: 8px;
    color: var(--tq-muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tq-plan__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tq-plan__chips span {
    max-width: 100%;
    overflow: hidden;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--tq-tint);
    border: 1px solid var(--tq-edge);
    color: var(--tq-navy);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tq-plan__chips .tq-plan__chip-more {
    background: rgba(224, 165, 20, .12);
    border-color: rgba(224, 165, 20, .3);
    color: var(--tq-gold-text);
}

.tq-plan__desc {
    margin: -4px 0 16px;
    color: var(--tq-text);
    font-size: 14px;
    line-height: 1.6;
}

/* price panel */
.tq-plan__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 12px 12px 12px 16px;
    border-radius: 16px;
    background: var(--tq-tint);
}

.tq-plan__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
}

.tq-plan__price strong {
    color: var(--tq-navy);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.1;
}

.tq-plan__price del {
    color: var(--tq-muted);
    font-size: 14.5px;
    font-weight: 500;
}

/* discount percentage right after the struck-through price */
.tq-plan__off {
    align-self: center;
    padding: 3px 8px;
    border-radius: 50px;
    background: rgba(22, 163, 74, .12);
    color: #15803d;
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}

html[data-theme="dark"] .tq-plan__off {
    background: rgba(34, 197, 94, .16);
    color: #4ade80;
}

.tq-plan__btn {
    flex: 1 0 auto;
    height: 44px;
    padding: 0 20px;
    font-size: 14.5px;
}

.tq-plan__btn i {
    transition: transform .25s ease;
}

.tq-plan__btn:hover i {
    transform: translateX(4px);
}

/* image on top, details below below desktop width, where the card is too narrow to sit side by side */
@media (max-width: 1199px) {
    .tq-plan {
        flex-direction: column;
        gap: 16px;
    }

    .tq-plan__media {
        flex-basis: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .tq-plan__body {
        padding: 0 6px 6px;
    }

    .tq-plan__btn {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tq-plan,
    .tq-plan__media img {
        transition: none;
    }
}

html[data-theme="dark"] .tq-plan {
    --tq-navy: #ffffff;
    --tq-blue: #4d8fff;
    --tq-gold-text: #f3bc1e;
    --tq-text: #c9d1db;
    --tq-card: #161616;
    --tq-edge: rgba(255, 255, 255, .1);
    --tq-muted: #8e97a3;
    --tq-tint: rgba(255, 255, 255, .04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

html[data-theme="dark"] .tq-plan:hover {
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(135deg, #4d8fff, #f3bc1e) border-box;
    box-shadow: 0 22px 46px rgba(0, 0, 0, .6);
}

html[data-theme="dark"] .tq-plan__media {
    background: #1f1f1f;
}

/* ======================= discover toqona advantage (.tq-adv) ======================= */
.tq-adv {
    --tq-navy: #06256f;
    --tq-blue: #0d4ecd;
    --tq-text: #4a5468;
    --tq-card: #ffffff;
    --tq-edge: rgba(6, 37, 111, .09);
    --tq-tint: rgba(13, 78, 205, .05);

    position: relative;
    padding: 50px 0;
}

/* editorial header: heading on the left, intro on the right */
.tq-adv__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 20px 48px;
    margin-bottom: 36px;
}

.tq-adv__intro {
    margin: 0;
    padding-left: 22px;
    border-left: 3px solid #e0a514;
    color: var(--tq-text);
    font-size: 16.5px;
    line-height: 1.75;
}

/* ---------- photo card ---------- */
.tq-adv__photo {
    position: relative;
    height: 100%;
    min-height: 420px;
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(6, 37, 111, .16);
}

.tq-adv__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.tq-adv__photo:hover img {
    transform: scale(1.04);
}

.tq-adv__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(6, 37, 111, .78));
    pointer-events: none;
}

/* frosted strip with the learn > practice > earn journey */
.tq-adv__journey {
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 16px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
}

.tq-adv__journey-label {
    display: block;
    margin-bottom: 12px;
    color: #ffd76a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tq-adv__steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tq-adv__step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
}

.tq-adv__step-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--tq-blue);
    font-size: 17px;
}

.tq-adv__step:last-child .tq-adv__step-icon {
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    color: #fff;
}

.tq-adv__step-arrow {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
}

/* ---------- advantages as a connected list ---------- */
.tq-adv__list {
    position: relative;
    display: grid;
    gap: 14px;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* dashed line joining the icons */
.tq-adv__list::before {
    content: "";
    position: absolute;
    left: 45px;
    top: 40px;
    bottom: 40px;
    border-left: 2px dashed rgba(13, 78, 205, .2);
}

.tq-adv__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    background: var(--tq-card);
    border: 1px solid var(--tq-edge);
    box-shadow: 0 8px 22px rgba(6, 37, 111, .05);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.tq-adv__item:hover {
    background: linear-gradient(var(--tq-tint), var(--tq-tint)), var(--tq-card);
    border-color: rgba(13, 78, 205, .25);
    box-shadow: 0 16px 34px rgba(6, 37, 111, .1);
}

.tq-adv__icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #116bdd, #06256f);
    color: #fff;
    font-size: 21px;
    box-shadow: 0 10px 20px rgba(13, 78, 205, .25);
    transition: background .3s ease;
}

.tq-adv__icon--gold {
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    box-shadow: 0 10px 20px rgba(224, 165, 20, .3);
}

/* hovered row: icon swaps to the other brand colour */
.tq-adv__item:hover .tq-adv__icon {
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
}

.tq-adv__item:hover .tq-adv__icon--gold {
    background: linear-gradient(135deg, #116bdd, #06256f);
}

.tq-adv__item h5 {
    margin: 2px 0 6px;
    color: var(--tq-navy);
    font-size: 17.5px;
    font-weight: 700;
}

.tq-adv__item p {
    margin: 0;
    color: var(--tq-text);
    font-size: 14.5px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .tq-adv__head {
        grid-template-columns: 1fr;
        margin-bottom: 28px;
    }

    .tq-adv__photo {
        min-height: 360px;
    }
}

@media (max-width: 575px) {
    .tq-adv__photo {
        min-height: 300px;
        border-radius: 22px;
    }

    .tq-adv__journey {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
    }

    .tq-adv__step {
        flex-direction: column;
        gap: 6px;
        font-size: 13px;
    }

    .tq-adv__step-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .tq-adv__item {
        padding: 16px;
        gap: 14px;
    }

    .tq-adv__list::before {
        left: 41px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tq-adv__photo img,
    .tq-adv__item,
    .tq-adv__icon {
        transition: none;
    }
}

html[data-theme="dark"] .tq-adv {
    --tq-navy: #ffffff;
    --tq-blue: #4d8fff;
    --tq-text: #c9d1db;
    --tq-card: #161616;
    --tq-edge: rgba(255, 255, 255, .1);
    --tq-tint: rgba(77, 143, 255, .08);
}

html[data-theme="dark"] .tq-adv__photo {
    box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
}

html[data-theme="dark"] .tq-adv__list::before {
    border-left-color: rgba(77, 143, 255, .3);
}

html[data-theme="dark"] .tq-adv__item {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .tq-adv__step-icon {
    background: #161616;
    color: #4d8fff;
}

/* ======================= founder & co-founders (.tq-founders) ======================= */
/* one profile card per person: photo on one side, name, role and story on the other; the second card mirrors the first */
.tq-founders {
    --tq-navy: #06256f;
    --tq-blue: #0d4ecd;
    --tq-text: #4a5468;
    --tq-card: #ffffff;
    --tq-edge: rgba(6, 37, 111, .09);
    --tq-tint: rgba(13, 78, 205, .06);

    position: relative;
    padding: 50px 0;
}

.tq-founders__list {
    display: grid;
    gap: 28px;
}

.tq-founder {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 34px;
    padding: 18px;
    border: 1.5px solid transparent;
    border-radius: 24px;
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(var(--tq-edge), var(--tq-edge)) border-box;
    box-shadow: 0 10px 30px rgba(6, 37, 111, .07);
    transition: box-shadow .3s ease;
}

.tq-founder:nth-child(even) {
    flex-direction: row-reverse;
}

/* blue-to-gold border on hover (no movement), same as the package cards */
.tq-founder:hover {
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(135deg, #0d4ecd, #e0a514) border-box;
    box-shadow: 0 22px 46px rgba(6, 37, 111, .14);
}

/* ---------- photo ---------- */
.tq-founder__media {
    position: relative;
    flex: 0 0 320px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 18px;
    background: #eef2fb;
}

.tq-founder__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .6s ease;
}

.tq-founder:hover .tq-founder__media img {
    transform: scale(1.05);
}

/* navy shade at the bottom so the badge stays readable on any photo */
.tq-founder__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6, 37, 111, .55));
    pointer-events: none;
}

/* shown only when no photo is uploaded or the file is missing */
.tq-founder__fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 2px) 0 0 / 18px 18px,
        radial-gradient(circle at 80% 12%, rgba(243, 188, 30, .4), transparent 45%),
        linear-gradient(150deg, #116bdd, #06256f);
}

.tq-founder__media.is-empty .tq-founder__fallback {
    display: flex;
}

.tq-founder__fallback i {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    color: #fff;
    font-size: 40px;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .1), 0 0 0 24px rgba(255, 255, 255, .05), 0 16px 30px rgba(0, 0, 0, .25);
    text-shadow: 0 1px 2px rgba(60, 30, 0, .45);
}

.tq-founder__badge {
    position: absolute;
    z-index: 1;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-shadow: 0 1px 2px rgba(60, 30, 0, .4);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}

/* ---------- details ---------- */
.tq-founder__body {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 22px 22px 8px 0;
}

.tq-founder:nth-child(even) .tq-founder__body {
    padding: 22px 0 8px 22px;
}

/* big faint quote mark in the corner */
.tq-founder__quote {
    position: absolute;
    top: 14px;
    right: 18px;
    color: rgba(224, 165, 20, .18);
    font-size: 64px;
    line-height: 1;
    pointer-events: none;
}

.tq-founder__name {
    margin: 0 0 10px;
    padding-right: 70px;
    color: var(--tq-navy);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.tq-founder__role {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--tq-tint);
    border: 1px solid rgba(13, 78, 205, .14);
    color: var(--tq-blue);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .02em;
}

/* short gold rule between the role and the story */
.tq-founder__bio {
    position: relative;
    margin-top: 22px;
    padding-top: 22px;
}

.tq-founder__bio::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f5d65f, #e0a514 55%, #d5902a);
}

.tq-founder__bio p {
    margin: 0 0 12px;
    color: var(--tq-text);
    font-size: 15.5px;
    line-height: 1.75;
}

.tq-founder__bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .tq-founder__media {
        flex-basis: 280px;
    }
}

@media (max-width: 991px) {
    .tq-founder {
        gap: 24px;
    }

    .tq-founder__media {
        flex-basis: 230px;
    }

    .tq-founder__body,
    .tq-founder:nth-child(even) .tq-founder__body {
        padding: 10px 6px 6px;
    }

    .tq-founder__name {
        font-size: 24px;
    }
}

/* photo on top, details below on phones */
@media (max-width: 767px) {

    .tq-founder,
    .tq-founder:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 14px;
        border-radius: 22px;
    }

    .tq-founder__media {
        flex-basis: auto;
        aspect-ratio: 1 / 1;
    }

    .tq-founder__body,
    .tq-founder:nth-child(even) .tq-founder__body {
        padding: 0 6px 8px;
    }

    .tq-founder__quote {
        top: -2px;
        right: 6px;
        font-size: 48px;
    }

    .tq-founder__name {
        padding-right: 50px;
        font-size: 22px;
    }

    .tq-founder__bio {
        margin-top: 18px;
        padding-top: 18px;
    }

    .tq-founder__bio p {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tq-founder,
    .tq-founder__media img {
        transition: none;
    }
}

html[data-theme="dark"] .tq-founders {
    --tq-navy: #ffffff;
    --tq-blue: #4d8fff;
    --tq-text: #c9d1db;
    --tq-card: #161616;
    --tq-edge: rgba(255, 255, 255, .1);
    --tq-tint: rgba(77, 143, 255, .1);
}

html[data-theme="dark"] .tq-founder {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

html[data-theme="dark"] .tq-founder:hover {
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(135deg, #4d8fff, #f3bc1e) border-box;
    box-shadow: 0 22px 46px rgba(0, 0, 0, .6);
}

html[data-theme="dark"] .tq-founder__media {
    background: #1f1f1f;
}

html[data-theme="dark"] .tq-founder__role {
    border-color: rgba(77, 143, 255, .25);
}

html[data-theme="dark"] .tq-founder__quote {
    color: rgba(243, 188, 30, .2);
}

/* ======================= meet our best instructors (.tq-tutors) ======================= */
/* portrait cards in the owl slider: photo (or initials panel) with the rating on it, then name and role */
.tq-tutors {
    --tq-navy: #06256f;
    --tq-blue: #0d4ecd;
    --tq-card: #ffffff;
    --tq-edge: rgba(6, 37, 111, .09);
    --tq-tint: rgba(13, 78, 205, .06);
    --tq-dot: rgba(6, 37, 111, .18);

    position: relative;
    padding: 50px 0;
}

/* room for the card shadows, which the slider would otherwise cut off */
.tq-tutors__slider .owl-stage-outer {
    padding: 8px 0 26px;
}

.tq-tutor {
    height: 100%;
    padding: 12px;
    border: 1.5px solid transparent;
    border-radius: 24px;
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(var(--tq-edge), var(--tq-edge)) border-box;
    box-shadow: 0 10px 26px rgba(6, 37, 111, .07);
    transition: box-shadow .3s ease;
}

/* blue-to-gold border on hover (no movement), same as the package and founder cards */
.tq-tutor:hover {
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(135deg, #0d4ecd, #e0a514) border-box;
    box-shadow: 0 18px 38px rgba(6, 37, 111, .14);
}

/* ---------- photo ---------- */
.tq-tutor__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 18px;
    background: #eef2fb;
}

.tq-tutors .tq-tutor__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .6s ease;
}

.tq-tutor:hover .tq-tutor__media img {
    transform: scale(1.06);
}

.tq-tutor__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(6, 37, 111, .5));
    pointer-events: none;
}

/* initials on a branded panel, shown only when there is no photo or the file is missing */
.tq-tutor__fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 2px) 0 0 / 18px 18px,
        radial-gradient(circle at 80% 12%, rgba(243, 188, 30, .4), transparent 45%),
        linear-gradient(150deg, #116bdd, #06256f);
}

.tq-tutor__media.is-empty .tq-tutor__fallback {
    display: flex;
}

.tq-tutor__fallback span {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .1), 0 0 0 20px rgba(255, 255, 255, .05), 0 14px 28px rgba(0, 0, 0, .25);
    text-shadow: 0 1px 2px rgba(60, 30, 0, .45);
    transition: transform .4s ease;
}

.tq-tutor:hover .tq-tutor__fallback span {
    transform: scale(1.06);
}

/* frosted rating chip in the corner of the photo */
.tq-tutor__rating {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #06256f;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
}

.tq-tutor__rating i {
    color: #e0a514;
    font-size: 12px;
}

/* ---------- details ---------- */
.tq-tutor__body {
    padding: 16px 6px 6px;
    text-align: center;
}

.tq-tutor__name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0 0 10px;
    color: var(--tq-navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.tq-tutor__name i {
    flex-shrink: 0;
    color: var(--tq-blue);
    font-size: 15px;
}

.tq-tutor__role {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--tq-tint);
    border: 1px solid rgba(13, 78, 205, .14);
    color: var(--tq-blue);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ---------- slider dots: small navy dots, the active one a wide gold pill ---------- */
.tq-tutors__slider .owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.tq-tutors__slider .owl-dots .owl-dot span {
    display: block;
    width: 9px;
    height: 9px;
    margin: 0;
    border-radius: 50px;
    background: var(--tq-dot);
    transition: width .3s ease, background .3s ease;
}

.tq-tutors__slider .owl-dots .owl-dot.active span {
    width: 28px;
    background: linear-gradient(90deg, #f5d65f, #e0a514 55%, #d5902a);
}

/* one card per slide on phones: a square photo keeps it from getting too tall */
@media (max-width: 599px) {
    .tq-tutor__media {
        aspect-ratio: 1 / 1;
    }

    .tq-tutor__name {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tq-tutor,
    .tq-tutors .tq-tutor__media img,
    .tq-tutor__fallback span,
    .tq-tutors__slider .owl-dots .owl-dot span {
        transition: none;
    }
}

html[data-theme="dark"] .tq-tutors {
    --tq-navy: #ffffff;
    --tq-blue: #4d8fff;
    --tq-card: #161616;
    --tq-edge: rgba(255, 255, 255, .1);
    --tq-tint: rgba(77, 143, 255, .1);
    --tq-dot: rgba(255, 255, 255, .22);
}

html[data-theme="dark"] .tq-tutor {
    box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

html[data-theme="dark"] .tq-tutor:hover {
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(135deg, #4d8fff, #f3bc1e) border-box;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .6);
}

html[data-theme="dark"] .tq-tutor__media {
    background: #1f1f1f;
}

html[data-theme="dark"] .tq-tutor__role {
    border-color: rgba(77, 143, 255, .25);
}

html[data-theme="dark"] .tq-tutor__rating {
    background: rgba(22, 22, 22, .85);
    color: #fff;
}

/* ===== Testimonials: Google-review style ===== */
.testimonial-area .gr-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: max-content;
    max-width: 100%;
    margin: -10px auto 40px;
    padding: 12px 26px;
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(6, 37, 111, .08);
}
.testimonial-area .gr-logo { width: 30px; height: 30px; flex: none; }
.testimonial-area .gr-score { font-size: 34px; font-weight: 800; line-height: 1; color: var(--color-dark); }
.testimonial-area .gr-meta { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.testimonial-area .gr-meta span { font-size: 13px; color: #5f6b85; }
.testimonial-area .gr-stars { display: inline-flex; gap: 2px; color: #fbbc04; font-size: 14px; }
.testimonial-area .gr-stars .off { color: #d5dae5; }

.testimonial-area .gr-card {
    height: 100%;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(6, 37, 111, .07);
    transition: box-shadow .3s ease, border-color .3s ease;
}
.testimonial-area .gr-card:hover {
    border-color: #cfd8ee;
    box-shadow: 0 16px 40px rgba(13, 78, 205, .15);
}
.testimonial-area .gr-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testimonial-area .gr-avatar {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2fb;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px #e5e9f2;
}
.testimonial-area .gr-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-area .gr-user { flex: 1; min-width: 0; }
.testimonial-area .gr-user h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.testimonial-area .gr-user span { font-size: 13px; color: #6b7691; }
.testimonial-area .gr-g { flex: none; width: 24px; height: 24px; }
.testimonial-area .gr-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.testimonial-area .gr-rating .gr-stars { font-size: 16px; }
.testimonial-area .gr-verified { font-size: 12px; font-weight: 600; color: #1a8f4c; }
.testimonial-area .gr-text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--body-text-color); }

html[data-theme="dark"] .testimonial-area .gr-summary,
html[data-theme="dark"] .testimonial-area .gr-card {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
html[data-theme="dark"] .testimonial-area .gr-score,
html[data-theme="dark"] .testimonial-area .gr-user h5 { color: #fff; }
html[data-theme="dark"] .testimonial-area .gr-meta span,
html[data-theme="dark"] .testimonial-area .gr-user span { color: #aab4cf; }
html[data-theme="dark"] .testimonial-area .gr-text { color: #cdd5ea; }
html[data-theme="dark"] .testimonial-area .gr-avatar { box-shadow: 0 0 0 3px #0b1530, 0 0 0 4px rgba(255, 255, 255, .15); }
html[data-theme="dark"] .testimonial-area .gr-stars .off { color: rgba(255, 255, 255, .2); }
@media (max-width: 575px) {
    .testimonial-area .gr-summary { padding: 10px 18px; gap: 10px; }
    .testimonial-area .gr-score { font-size: 28px; }
}

/* ======================= frequently asked questions (.tq-faq) ======================= */
/* heading and a support card on the left (sticky on desktop), numbered question cards on the right */
.tq-faq {
    --tq-navy: #06256f;
    --tq-blue: #0d4ecd;
    --tq-text: #4a5468;
    --tq-card: #ffffff;
    --tq-edge: rgba(6, 37, 111, .09);
    --tq-tint: rgba(13, 78, 205, .07);

    position: relative;
    padding: 50px 0 90px;
}

/* ---------- left column ---------- */
.tq-faq__aside {
    position: sticky;
    top: 120px;
}

.tq-faq__lead {
    margin: 16px 0 28px;
    padding-left: 18px;
    border-left: 3px solid #e0a514;
    color: var(--tq-text);
    font-size: 16.5px;
    line-height: 1.75;
}

/* navy support card */
.tq-faq__help {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px 18px;
    padding: 26px;
    border-radius: 24px;
    background: radial-gradient(rgba(255, 255, 255, .1) 1.5px, transparent 2px) 0 0 / 18px 18px,
        radial-gradient(circle at 90% 10%, rgba(243, 188, 30, .35), transparent 45%),
        linear-gradient(150deg, #116bdd, #06256f 70%);
    color: #fff;
    box-shadow: 0 24px 50px rgba(6, 37, 111, .2);
}

.tq-faq__help-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .1), 0 12px 24px rgba(0, 0, 0, .25);
    text-shadow: 0 1px 2px rgba(60, 30, 0, .45);
}

.tq-faq__help h5 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.tq-faq__help p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 14.5px;
    line-height: 1.55;
}

.tq-faq__cta {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    border-radius: 50px;
    background: #fff;
    color: #06256f;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.tq-faq__cta:hover {
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    color: #fff;
}

.tq-faq__cta i {
    transition: transform .25s ease;
}

.tq-faq__cta:hover i {
    transform: translateX(4px);
}

/* ---------- question cards ---------- */
.tq-faq__list {
    display: grid;
    gap: 14px;
}

.tq-faq__item {
    border: 1.5px solid transparent;
    border-radius: 20px;
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(var(--tq-edge), var(--tq-edge)) border-box;
    box-shadow: 0 8px 22px rgba(6, 37, 111, .05);
    transition: box-shadow .3s ease;
}

.tq-faq__item:hover {
    box-shadow: 0 14px 32px rgba(6, 37, 111, .1);
}

/* open question: blue-to-gold border, same as the cards elsewhere on the page */
.tq-faq__item:has(.tq-faq__btn:not(.collapsed)) {
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(135deg, #0d4ecd, #e0a514) border-box;
    box-shadow: 0 18px 40px rgba(6, 37, 111, .12);
}

.tq-faq__head {
    margin: 0;
}

.tq-faq__btn {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    border: 0;
    background: none;
    color: var(--tq-navy);
    text-align: left;
    cursor: pointer;
}

.tq-faq__num {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--tq-tint);
    color: var(--tq-blue);
    font-size: 15px;
    font-weight: 800;
    transition: background .3s ease, color .3s ease;
}

.tq-faq__q {
    flex: 1;
    min-width: 0;
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.4;
    transition: color .3s ease;
}

/* plus that turns into a cross when open */
.tq-faq__icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--tq-tint);
    color: var(--tq-blue);
    font-size: 14px;
    transition: background .3s ease, color .3s ease;
}

.tq-faq__icon i {
    transition: transform .3s ease;
}

.tq-faq__btn:hover .tq-faq__q {
    color: var(--tq-blue);
}

.tq-faq__btn:not(.collapsed) .tq-faq__num {
    background: linear-gradient(135deg, #116bdd, #06256f);
    color: #fff;
}

.tq-faq__btn:not(.collapsed) .tq-faq__icon {
    background: linear-gradient(135deg, #f5d65f, #e0a514 55%, #d5902a);
    color: #fff;
}

.tq-faq__btn:not(.collapsed) .tq-faq__icon i {
    transform: rotate(135deg);
}

.tq-faq__btn:focus-visible {
    outline: 2px solid var(--tq-blue);
    outline-offset: -2px;
    border-radius: 20px;
}

/* answer, lined up under the question text */
.tq-faq__body {
    margin: 0 20px 0 82px;
    padding: 2px 54px 22px 0;
    color: var(--tq-text);
    font-size: 15.5px;
    line-height: 1.75;
}

/* answers are pasted from a rich-text editor with fixed fonts, sizes and colours; make them match the site */
.tq-faq__body *,
.tq-faq__body font {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    background: transparent !important;
}

.tq-faq__body p {
    margin: 0 0 10px;
}

.tq-faq__body> :last-child {
    margin-bottom: 0;
}

.tq-faq__body ul,
.tq-faq__body ol {
    margin: 0 0 10px;
    padding-left: 20px;
}

@media (max-width: 991px) {
    .tq-faq {
        padding-bottom: 60px;
    }

    .tq-faq__aside {
        position: static;
    }
}

@media (max-width: 575px) {
    .tq-faq__help {
        padding: 22px 20px;
        border-radius: 22px;
    }

    .tq-faq__btn {
        gap: 12px;
        padding: 14px;
    }

    .tq-faq__num {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 13.5px;
    }

    .tq-faq__q {
        font-size: 15.5px;
    }

    .tq-faq__icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .tq-faq__body {
        margin: 0 14px;
        padding: 2px 0 18px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tq-faq__item,
    .tq-faq__num,
    .tq-faq__q,
    .tq-faq__icon,
    .tq-faq__icon i,
    .tq-faq__cta,
    .tq-faq__cta i {
        transition: none;
    }
}

html[data-theme="dark"] .tq-faq {
    --tq-navy: #ffffff;
    --tq-blue: #4d8fff;
    --tq-text: #c9d1db;
    --tq-card: #161616;
    --tq-edge: rgba(255, 255, 255, .1);
    --tq-tint: rgba(77, 143, 255, .12);
}

html[data-theme="dark"] .tq-faq__item {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
}

html[data-theme="dark"] .tq-faq__item:has(.tq-faq__btn:not(.collapsed)) {
    background: linear-gradient(var(--tq-card), var(--tq-card)) padding-box,
        linear-gradient(135deg, #4d8fff, #f3bc1e) border-box;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}

html[data-theme="dark"] .tq-faq__help {
    box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
}
