/* Website product sections (resources/views/components/frontend/*) */

/* ---------- section heading ---------- */
.ps-heading {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
@media (min-width: 768px) {
    .ps-heading { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.ps-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .8rem;
    margin-bottom: .6rem;
    border-radius: 999px;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.ps-eyebrow-warning { background: rgba(255, 193, 7, .18); color: #ffc107; }
.ps-title { font-size: calc(1.4rem + 1vw); font-weight: 700; margin-bottom: .4rem; }
@media (min-width: 1200px) { .ps-title { font-size: 2.25rem; } }
.ps-text { color: var(--bs-secondary-color); margin-bottom: 0; max-width: 38rem; }
.ps-heading-dark .ps-title { color: #fff; }
.ps-heading-dark .ps-text { color: rgba(255, 255, 255, .65); }
.ps-heading-dark .ps-eyebrow { background: rgba(255, 255, 255, .12); color: #fff; }
.ps-score {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--bs-success-text-emphasis);
}

/* ---------- slider ---------- */
.ps-nav {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
}
.ps-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; }
.ps-tabs::-webkit-scrollbar { display: none; }
.ps-tab {
    flex: 0 0 auto;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    color: var(--bs-secondary-color);
    border-radius: 999px;
    padding: .4rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    transition: all .15s ease;
}
.ps-tab:hover { border-color: var(--bs-primary); color: var(--bs-primary); }
.ps-tab.active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.ps-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: .25rem .25rem 1rem;
    margin: 0 -.25rem;
}
.ps-track::-webkit-scrollbar { display: none; }
.ps-slide { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 576px) { .ps-slide { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (min-width: 992px) { .ps-slide { flex-basis: calc((100% - 2.5rem) / 3); } }
@media (min-width: 1200px) { .ps-slide { flex-basis: calc((100% - 3.75rem) / 4); } }

/* ---------- product card ---------- */
.pc {
    display: flex;
    flex-direction: column;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 .25rem 1rem rgba(18, 50, 56, .06);
    transition: transform .2s ease, box-shadow .2s ease;
    color: var(--bs-body-color);
}
.pc:hover { transform: translateY(-4px); box-shadow: 0 .75rem 2rem rgba(18, 50, 56, .14); }
.pc-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--bs-secondary-bg);
    overflow: hidden;
    flex-shrink: 0;
}
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pc:hover .pc-media img { transform: scale(1.06); }
.pc-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(9, 37, 39, .72));
    pointer-events: none;
}
.pc-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: var(--bs-secondary-color); }
.pc-badge {
    position: absolute;
    z-index: 1;
    top: .75rem;
    border-radius: 999px;
    padding: .3rem .7rem;
    font-size: .72rem;
    font-weight: 600;
}
.pc-badge-category { inset-inline-start: .75rem; background: rgba(255, 255, 255, .92); color: #123238; }
.pc-badge-sale { inset-inline-end: .75rem; background: var(--bs-danger); color: #fff; }
.pc-rank {
    position: absolute;
    z-index: 1;
    top: .75rem;
    inset-inline-start: .75rem;
    min-width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    border-radius: .75rem;
    background: #ffc107;
    color: #212529;
    font-weight: 700;
    font-size: .85rem;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .2);
}
.pc-type {
    position: absolute;
    z-index: 1;
    bottom: .75rem;
    inset-inline-start: .75rem;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.pc-featured { color: #ffc107; margin-inline-end: .25rem; }
.pc-body { display: flex; flex-direction: column; flex-grow: 1; padding: 1rem; }
.pc-kicker { font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-primary); }
.pc-rating { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.pc-rating .bi { color: #f5a524; }
.pc-rating span { font-weight: 400; color: var(--bs-secondary-color); }
.pc-title { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.pc-title button {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pc-title button:hover { color: var(--bs-primary); }
.pc-text {
    font-size: .85rem;
    color: var(--bs-secondary-color);
    min-height: 2.6em;
    margin-bottom: .9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pc-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: .5rem;
    flex-wrap: nowrap; /* price and button always on one line */
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px solid var(--bs-border-color-translucent);
}
.pc-from { display: block; font-size: .75rem; color: var(--bs-secondary-color); }
.pc-old { display: block; font-size: .78rem; color: var(--bs-secondary-color); text-decoration: line-through; }
.pc-price { display: block; font-size: 1.05rem; font-weight: 700; color: var(--bs-primary); line-height: 1.15; white-space: nowrap; }
.pc-footer > div { min-width: 0; }
.pc-book { white-space: nowrap; flex-shrink: 0; }

/* narrow cards: shrink the price and button so they still fit side by side */
.pc-body { container-type: inline-size; }
@container (max-width: 260px) {
    .pc-price { font-size: .95rem; }
    .pc-book { padding: .3rem .7rem !important; font-size: .78rem; }
    .pc-book .bi { display: none; }
}
@container (max-width: 200px) {
    .pc-price { font-size: .85rem; }
}

/* compact: shorter image, one-line text */
.pc-compact .pc-media { aspect-ratio: 16 / 9; }
.pc-compact .pc-text { -webkit-line-clamp: 1; min-height: 0; }

/* large: hero card of a bento grid */
.pc-large .pc-media { aspect-ratio: 16 / 10; flex-grow: 1; min-height: 240px; }
.pc-large .pc-body { padding: 1.25rem 1.5rem 1.5rem; flex-grow: 0; }
.pc-large .pc-title { font-size: 1.4rem; }
.pc-large .pc-title button { -webkit-line-clamp: 2; }
.pc-large .pc-text { font-size: .95rem; }
.pc-large .pc-price { font-size: 1.6rem; }
.pc-large .pc-book { padding: .5rem 1.25rem !important; font-size: .95rem; }

/* row: horizontal card for ranked lists */
.pc-row { flex-direction: row; align-items: stretch; }
.pc-row .pc-media { width: 34%; max-width: 180px; aspect-ratio: auto; min-height: 120px; }
.pc-row .pc-body { padding: .85rem 1rem; }
.pc-row .pc-footer { padding-top: .6rem; }
.pc-row .pc-rank { width: 2rem; height: 2rem; min-width: 2rem; font-size: .8rem; }

/* ---------- dark discount band ---------- */
.ps-band-dark {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(40rem 20rem at 10% 0%, rgba(24, 168, 102, .28), transparent 60%),
        radial-gradient(30rem 20rem at 100% 100%, rgba(13, 110, 253, .25), transparent 60%),
        linear-gradient(135deg, #0b2a2e, #123238);
    color: #fff;
}
.ps-spotlight {
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
}
.ps-ring {
    --p: 0;
    width: 4.5rem;
    height: 4.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1;
    background:
        radial-gradient(closest-side, #123238 78%, transparent 80% 100%),
        conic-gradient(#ffc107 calc(var(--p) * 1%), rgba(255, 255, 255, .15) 0);
}
.ps-ring strong { font-size: 1.1rem; color: #ffc107; }
.ps-ring span { font-size: .6rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .7); }
.ps-band-dark .pc { border-color: transparent; box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); }

/* ---------- page type tiles ---------- */
.ps-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
@media (min-width: 768px) { .ps-tiles { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; } }
@media (min-width: 1200px) { .ps-tiles { grid-template-columns: repeat(5, 1fr); } }
.ps-tile-wide { grid-column: span 2; grid-row: span 2; }
.ps-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #123238, #18a866);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}
.ps-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.ps-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(9, 37, 39, .05) 30%, rgba(9, 37, 39, .85));
}
.ps-tile:hover { color: #fff; }
.ps-tile:hover img { transform: scale(1.07); }
.ps-tile-body { display: flex; flex-direction: column; gap: .1rem; padding: 1rem 1.1rem; }
.ps-tile-body strong { font-size: 1.1rem; }
.ps-tile-wide .ps-tile-body strong { font-size: 1.75rem; }
.ps-tile-count {
    align-self: flex-start;
    padding: .15rem .6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(4px);
    font-size: .7rem;
    font-weight: 600;
}
.ps-tile-price { font-size: .8rem; color: rgba(255, 255, 255, .8); }
.ps-tile-go {
    position: absolute;
    top: .85rem;
    inset-inline-end: .85rem;
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: #123238;
    transition: transform .2s ease;
}
.ps-tile:hover .ps-tile-go { transform: rotate(45deg); }

/* clickable parts of a card (open the details popup) */
button.pc-text { color: var(--bs-secondary-color); text-align: start; width: 100%; }
button.pc-text:hover { color: var(--bs-body-color); }
.pc-zoom {
    position: absolute;
    z-index: 1;
    bottom: .6rem;
    inset-inline-end: .6rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: #123238;
    font-size: .8rem;
    opacity: 0;
    transform: scale(.8);
    transition: all .2s ease;
}
.pc-media:hover .pc-zoom, .pc-media:focus-visible .pc-zoom { opacity: 1; transform: scale(1); }
.pc-media:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: -3px; }

/* ---------- product details (popup + page) ---------- */
.pd-modal .modal-content { border: 0; border-radius: 1.5rem; }
@media (max-width: 767.98px) { .pd-modal .modal-content { border-radius: 0; } }
.pd-loading { display: grid; place-items: center; min-height: 420px; }
.pd-stage {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--bs-secondary-bg);
}
.pd-stage img { object-fit: cover; }
.pd-noimg { display: grid; place-items: center; font-size: 3rem; color: var(--bs-secondary-color); }
.pd-sale {
    position: absolute;
    z-index: 2;
    top: 1rem;
    inset-inline-start: 1rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: var(--bs-danger);
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
}
.pd-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #123238;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .2);
}
.pd-arrow-prev { inset-inline-start: .85rem; }
.pd-arrow-next { inset-inline-end: .85rem; }
[dir="rtl"] .pd-arrow .bi { display: inline-block; transform: scaleX(-1); }
.pd-counter {
    position: absolute;
    z-index: 2;
    bottom: .85rem;
    inset-inline-end: .85rem;
    padding: .2rem .65rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: .75rem;
}
.pd-thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: .2rem; }
.pd-thumb {
    flex: 0 0 5.5rem;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 2px solid transparent;
    border-radius: .75rem;
    overflow: hidden;
    opacity: .6;
    background: none;
    transition: all .15s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.active { opacity: 1; border-color: var(--bs-primary); }
.pd-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    font-size: .78rem;
    font-weight: 500;
}
.pd-chip-primary { background: var(--bs-primary-bg-subtle); color: var(--bs-primary-text-emphasis); }
.pd-chip-success { background: var(--bs-success-bg-subtle); color: var(--bs-success-text-emphasis); }
.pd-chip-warning { background: var(--bs-warning-bg-subtle); color: var(--bs-warning-text-emphasis); }
.pd-chip-danger { background: var(--bs-danger-bg-subtle); color: var(--bs-danger-text-emphasis); }
.pd-title { font-size: 1.6rem; font-weight: 700; margin-bottom: .35rem; }
.pd-rating { display: flex; align-items: center; gap: .4rem; font-size: .9rem; }
.pd-stars { color: #f5a524; letter-spacing: .05em; }
.pd-card {
    padding: 1rem 1.15rem;
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 1rem;
    background: var(--bs-body-bg);
}
.pd-price-card { background: linear-gradient(135deg, var(--bs-primary-bg-subtle), var(--bs-body-bg)); border-color: transparent; }
.pd-label { font-size: .75rem; color: var(--bs-secondary-color); text-transform: uppercase; letter-spacing: .05em; }
.pd-price { font-size: 2rem; font-weight: 800; color: var(--bs-primary); line-height: 1.1; }
.pd-old { font-size: 1rem; color: var(--bs-secondary-color); text-decoration: line-through; }
.pd-save { display: flex; align-items: center; gap: .4rem; margin-top: .35rem; color: var(--bs-success-text-emphasis); font-weight: 600; font-size: .9rem; }
.pd-note { display: flex; align-items: center; gap: .4rem; margin-top: .3rem; color: var(--bs-secondary-color); font-size: .82rem; }
.pd-short { color: var(--bs-secondary-color); }
.pd-card-title { display: flex; align-items: center; gap: .45rem; font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
.pd-card-title .bi { color: var(--bs-primary); }
.pd-highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.pd-highlights li { display: flex; align-items: flex-start; gap: .5rem; font-size: .92rem; }
.pd-highlights .bi { color: var(--bs-success); margin-top: .15rem; }
.pd-description { font-size: .92rem; color: var(--bs-body-color); }
.pd-description > :last-child { margin-bottom: 0; }
.pd-description img { max-width: 100%; height: auto; border-radius: .75rem; }
.pd-tag { padding: .25rem .7rem; border-radius: 999px; border: 1px dashed var(--bs-border-color); color: var(--bs-secondary-color); font-size: .78rem; }

@media (prefers-reduced-motion: reduce) {
    .pc, .pc-media img, .ps-tile img, .ps-tile-go, .ps-track { transition: none; scroll-behavior: auto; }
}

/* ---------- card parts are <button>s (open the details popup) ---------- */
.pc-media, .pc-title button, button.pc-text {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}
.pc-media { width: 100%; background: var(--bs-secondary-bg); }
.pc-row .pc-media { width: 34%; }
.pc-title button { width: 100%; text-align: start; font-weight: inherit; }
.pc-title button:focus-visible, button.pc-text:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 2px; border-radius: .25rem; }

/* ---------- content blocks: shared ---------- */
.cb-icon {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .9rem;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.cb-icon-light { background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .3); }
.cb-more { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--bs-primary); }
.cb-more .bi { transition: transform .2s ease; }

/* ---------- content blocks: insurance coverage (spotlight + list) ---------- */
.cb-coverage {
    position: relative;
    background:
        radial-gradient(36rem 18rem at 100% 0%, rgba(8, 127, 120, .12), transparent 65%),
        radial-gradient(30rem 18rem at 0% 100%, rgba(13, 110, 253, .08), transparent 60%),
        #f6faf9;
    border-radius: 1.5rem;
}
.cb-spot {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    min-height: 420px;
    padding: 0;
    border: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0b4a46, #087f78);
    color: #fff;
    text-align: start;
    isolation: isolate;
    box-shadow: 0 1rem 2.5rem rgba(8, 60, 56, .25);
}
.cb-spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.cb-spot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 40, 38, .05) 20%, rgba(5, 40, 38, .9)); }
.cb-spot:hover img { transform: scale(1.06); }
.cb-spot-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.75rem; }
.cb-spot-title { font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.cb-spot-text { color: rgba(255, 255, 255, .85); }
.cb-spot .cb-more { color: #fff; }
.cb-spot:hover .cb-more .bi { transform: translateX(4px); }
.cb-list { display: grid; gap: .85rem; height: 100%; align-content: space-between; }
.cb-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: .75rem;
    border: 1px solid rgba(8, 127, 120, .12);
    border-radius: 1.25rem;
    background: #fff;
    text-align: start;
    color: var(--bs-body-color);
    box-shadow: 0 .35rem 1.2rem rgba(18, 50, 56, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cb-item:hover { transform: translateX(4px); border-color: rgba(8, 127, 120, .35); box-shadow: 0 .75rem 1.8rem rgba(18, 50, 56, .12); }
.cb-item-media { position: relative; flex: 0 0 6.5rem; height: 5rem; border-radius: .9rem; overflow: hidden; background: #e6f2ef; }
.cb-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cb-item-media .cb-icon { position: absolute; bottom: .35rem; inset-inline-start: .35rem; width: 2rem; height: 2rem; border-radius: .6rem; font-size: .95rem; background: #fff; color: #087f78; }
.cb-item-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; flex: 1; }
.cb-item-title { font-weight: 700; color: #123238; }
.cb-item-text { font-size: .85rem; color: var(--bs-secondary-color); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cb-go { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #e6f2ef; color: #087f78; flex-shrink: 0; transition: all .2s ease; }
.cb-item:hover .cb-go { background: #087f78; color: #fff; transform: rotate(45deg); }
@media (max-width: 575.98px) {
    .cb-spot { min-height: 320px; }
    .cb-item-media { flex-basis: 5rem; height: 4.5rem; }
}

/* ---------- content blocks: "how it works" timeline ---------- */
.cb-steps {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
    border-radius: 1.5rem;
}
.cb-timeline {
    --steps: 4;
    position: relative;
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 992px) {
    .cb-timeline { grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); }
    /* connecting line through the step badges */
    .cb-timeline::before {
        content: "";
        position: absolute;
        top: 2.25rem;
        inset-inline: 2.5rem;
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--bs-primary) 0 10px, transparent 10px 18px);
        opacity: .35;
    }
}
.cb-step { position: relative; isolation: isolate; }
.cb-step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
    height: 100%;
    padding: 0 0 1.4rem;
    border: 0;
    background: none;
    text-align: start;
    color: var(--bs-body-color);
}
.cb-step-head { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; padding-inline-end: 1rem; }
.cb-step-dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, var(--bs-primary), #6f42c1);
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 .75rem 1.75rem rgba(13, 110, 253, .3);
    transition: transform .25s ease, border-radius .25s ease;
}
.cb-step-num {
    position: relative;
    z-index: 1;
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(13, 110, 253, .28);
}
.cb-step-card::after {
    content: "";
    position: absolute;
    inset: 2.25rem 0 0;
    z-index: -1;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 .5rem 1.5rem rgba(18, 50, 56, .07);
    transition: box-shadow .25s ease, transform .25s ease;
}
.cb-step-card > :not(.cb-step-head) { padding-inline: 1.25rem; }
.cb-step-head { padding-inline-start: 1.25rem; }
.cb-step-label { margin-top: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-primary); }
.cb-step-title { font-size: 1.1rem; font-weight: 700; color: #123238; }
.cb-step-text { font-size: .9rem; color: var(--bs-secondary-color); flex-grow: 1; }
.cb-step-card:hover .cb-step-dot { transform: translateY(-4px) rotate(-6deg); border-radius: 50%; }
.cb-step-card:hover::after { transform: translateY(-4px); box-shadow: 0 1rem 2.2rem rgba(18, 50, 56, .13); }
.cb-step-card:hover .cb-more .bi { transform: translateX(4px); }
.cb-step-card:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: 4px; border-radius: 1.25rem; }
@media (max-width: 991.98px) {
    /* vertical timeline on small screens */
    .cb-timeline::before {
        content: "";
        position: absolute;
        top: 1rem;
        bottom: 1rem;
        inset-inline-start: 3.5rem;
        width: 2px;
        background: repeating-linear-gradient(180deg, var(--bs-primary) 0 10px, transparent 10px 18px);
        opacity: .3;
        z-index: 0;
    }
}

/* ---------- content block popup ---------- */
.cb-modal-close { position: absolute; top: 1rem; inset-inline-end: 1rem; z-index: 3; padding: .6rem; border-radius: 50%; background-color: rgba(255, 255, 255, .92); opacity: 1; box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .15); }
.cb-detail-hero { position: relative; aspect-ratio: 21 / 9; }
.cb-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.cb-detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .35)); }
.cb-detail-icon {
    position: absolute;
    z-index: 1;
    bottom: -1.75rem;
    inset-inline-start: 1.75rem;
    display: grid;
    place-items: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, var(--bs-primary), #6f42c1);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 .75rem 1.5rem rgba(13, 110, 253, .3);
}
.cb-detail-icon-plain { position: relative; display: grid; bottom: auto; inset-inline-start: auto; margin: 1.75rem 1.75rem 0; }
.cb-detail-body { padding: 2.75rem 1.75rem 1.75rem; }
.cb-detail-icon-plain + .cb-detail-body { padding-top: 1rem; }
.cb-detail-title { font-size: 1.6rem; font-weight: 700; margin-bottom: .5rem; }
.cb-detail-lead { font-size: 1.05rem; color: var(--bs-secondary-color); }
.cb-detail-text { line-height: 1.7; }
.cb-detail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
@media (min-width: 576px) { .cb-detail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cb-detail-list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .92rem; }
.cb-detail-list .bi { color: var(--bs-success); margin-top: .15rem; }
[dir="rtl"] .cb-more .bi, [dir="rtl"] .cb-go .bi { transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
    .cb-spot img, .cb-item, .cb-go, .cb-step-dot, .cb-step-card::after, .cb-more .bi { transition: none; }
}

/* ---------- content blocks: "why book with us" (dark intro + benefit tiles) ---------- */
.cb-why {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(22rem 14rem at 0% 0%, rgba(24, 168, 102, .45), transparent 70%),
        radial-gradient(20rem 16rem at 100% 100%, rgba(13, 110, 253, .45), transparent 70%),
        #0f2c31;
    color: #fff;
    isolation: isolate;
}
.cb-why .ps-eyebrow { align-self: flex-start; background: rgba(255, 255, 255, .14); color: #fff; }
.cb-why-title { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; margin-bottom: .75rem; }
.cb-why-text { color: rgba(255, 255, 255, .75); margin-bottom: 1.25rem; }
.cb-why-points { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .6rem; }
.cb-why-points li { display: flex; align-items: center; gap: .55rem; font-weight: 600; }
.cb-why-points .bi { color: #5be3a5; font-size: 1.15rem; }
.cb-why-mark { position: absolute; z-index: -1; inset-inline-end: -1.5rem; bottom: -2.5rem; font-size: 11rem; color: rgba(255, 255, 255, .05); line-height: 1; }
.cb-benefit-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); height: 100%; }
@media (min-width: 768px) { .cb-benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cb-benefit-wide { grid-column: span 2; } }
.cb-benefit {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
    padding: 1.4rem;
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 1.25rem;
    background: #fff;
    text-align: start;
    color: var(--bs-body-color);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cb-benefit::before {
    content: "";
    position: absolute;
    inset-inline-end: -3rem;
    top: -3rem;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, .12), transparent 70%);
    transition: transform .4s ease;
}
.cb-benefit:hover { transform: translateY(-5px); border-color: rgba(13, 110, 253, .35); box-shadow: 0 1rem 2.2rem rgba(18, 50, 56, .12); }
.cb-benefit:hover::before { transform: scale(1.8); }
.cb-benefit-icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: .5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #18a866, #0d6efd);
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 .6rem 1.4rem rgba(13, 110, 253, .25);
}
.cb-benefit-title { font-size: 1.1rem; font-weight: 700; color: #123238; }
.cb-benefit-text { font-size: .9rem; color: var(--bs-secondary-color); padding-inline-end: 2rem; }
.cb-benefit-wide { background: linear-gradient(135deg, #f1f7ff, #fff); }
.cb-benefit-wide .cb-benefit-title { font-size: 1.35rem; }
.cb-benefit-plus {
    position: absolute;
    inset-inline-end: 1rem;
    bottom: 1rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    transition: all .25s ease;
}
.cb-benefit:hover .cb-benefit-plus { background: var(--bs-primary); color: #fff; transform: rotate(90deg); }
.cb-benefit:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: 3px; }

/* ---------- service page hero (packages, umrah, rent car ...) ---------- */
.sv-hero {
    position: relative;
    margin-top: 1rem;
    border-radius: 1.75rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2c31, #18a866);
    color: #fff;
    isolation: isolate;
}
.sv-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sv-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 37, 39, .88), rgba(9, 37, 39, .5) 60%, rgba(9, 37, 39, .2)); }
.sv-hero-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; min-height: 420px; padding: 3rem; }
.sv-hero-copy { max-width: 600px; }
.sv-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .9rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(6px);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.sv-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; margin-bottom: 1rem; }
.sv-hero p { font-size: 1.1rem; color: rgba(255, 255, 255, .85); margin-bottom: 1.75rem; }
.sv-stats {
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 1.25rem 1.5rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(10px);
}
.sv-stats dt { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .7); }
.sv-stats dd { margin: 0; font-size: 1.4rem; font-weight: 800; white-space: nowrap; }
.sv-stats dd .bi { color: #ffc107; font-size: 1rem; margin-inline-end: .25rem; }
.sv-stats small { font-size: .75rem; font-weight: 500; color: rgba(255, 255, 255, .7); }
@media (max-width: 767.98px) {
    .sv-hero-inner { padding: 2rem 1.5rem; min-height: 380px; }
    .sv-stats { width: 100%; justify-content: space-between; gap: 1rem; padding: 1rem; }
    .sv-stats dd { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .cb-benefit, .cb-benefit::before, .cb-benefit-plus { transition: none; }
}
.sv-hero-search .sv-hero-inner { padding-bottom: 6rem; }
@media (max-width: 767.98px) { .sv-hero-search .sv-hero-inner { padding-bottom: 4.5rem; } }
