@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&family=Barlow:wght@300;400;500;600;700&display=swap');

.scafox-cards {
    --vt-bg: #f8f5ef;
    --vt-surface: #ffffff;
    --vt-text: #1d2640;
    --vt-muted: #677089;
    --vt-accent: #d9c06a;
    --vt-accent-soft: rgba(217,192,106,.16);
    --vt-border: rgba(29,38,64,.08);
    --vt-shadow: 0 24px 60px rgba(20, 29, 51, .12);
    --vt-shadow-strong: 0 30px 70px rgba(20, 29, 51, .2);
    --vt-radius-lg: 26px;
    --vt-radius-pill: 999px;
}

.cards-deck-swiper.scafox-cards {
    min-height: 80vh;
    padding: 100px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(217,192,106,.18), transparent 32%),
        linear-gradient(180deg, #fbf9f5 0%, #f3efe7 100%);
    color: var(--vt-text);
    font-family: "Barlow", system-ui, sans-serif;
}

.scafox-cards__inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 440px);
    gap: 72px;
    align-items: center;
}

@media (max-width: 980px) {
    .scafox-cards__inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

.scafox-cards__heading {
    max-width: 620px;
}

.scafox-cards__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: var(--vt-radius-pill);
    background: var(--vt-accent-soft);
    color: #8b7330;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .78rem;
    font-weight: 700;
}

.scafox-cards__title {
    font-family: "Lora", serif;
    font-size: clamp(2.35rem, 4vw, 3.6rem);
    line-height: 1.14;
    letter-spacing: .01em;
    font-weight: 500;
    margin: 0 0 16px;
    color: var(--vt-text);
}

.scafox-cards__subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    color: var(--vt-muted);
    max-width: 560px;
}

.scafox-cards__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.scafox-cards__chip {
    padding: 12px 16px;
    border-radius: var(--vt-radius-pill);
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(29,38,64,.08);
    color: var(--vt-muted);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s cubic-bezier(.25,1,.5,1);
    appearance: none;
    -webkit-appearance: none;
}

.scafox-cards__chip.is-active {
    background: #fff;
    color: var(--vt-text);
    border-color: rgba(217,192,106,.42);
    box-shadow: 0 10px 30px rgba(20, 29, 51, .08);
}

.cards-deck-swiper .stack-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 620px;
    position: relative;
    width: 100%;
}

.cards-deck-swiper .control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    z-index: 3;
}

.cards-deck-swiper .control_btn {
    width: 52px;
    height: 52px;
    border-radius: var(--vt-radius-pill);
    border: 1px solid rgba(29,38,64,.08);
    background: linear-gradient(180deg, #fff 0%, #f6f1e5 100%);
    box-shadow: 0 20px 45px rgba(20, 29, 51, .12);
    color: var(--vt-text);
    cursor: pointer;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s cubic-bezier(.25,1,.5,1);
}

.cards-deck-swiper .control_btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 24px 55px rgba(20, 29, 51, .18);
}

.cards-deck-swiper .control_btn:active {
    transform: scale(.96);
}

.cards-deck-swiper .stack {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 380px;
    position: relative;
    width: 100%;
}

.cards-deck-swiper .before {
    padding-top: 135%;
}

.cards-deck-swiper .collection,
.cards-deck-swiper .collection_list,
.cards-deck-swiper .list_item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cards-deck-swiper .item_card {
    position: absolute;
    inset: 0;
    border-radius: var(--vt-radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.3);
    background: #d9d1be;
    box-shadow: var(--vt-shadow);
    transition: all .3s cubic-bezier(.25,1,.5,1);
}

.cards-deck-swiper .list_item.is--active .item_card {
    box-shadow: var(--vt-shadow-strong);
}

.cards-deck-swiper .card_img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    z-index: 0;
}

.cards-deck-swiper .card_overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17,23,38,.12) 0%, rgba(17,23,38,.18) 28%, rgba(17,23,38,.78) 100%);
    z-index: 1;
}

.cards-deck-swiper .card_content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cards-deck-swiper .card_eyebrow {
    font-size: .74rem;
    line-height: 1;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,.78);
}

.cards-deck-swiper .card_title {
    font-family: "Lora", serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.02;
    letter-spacing: .01em;
    color: #ffffff;
    text-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.cards-deck-swiper .card_caption {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255,255,255,.94);
    max-width: 92%;
}

.cards-deck-swiper .card_highlight {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 6px;
    padding: 10px 14px;
    border-radius: var(--vt-radius-pill);
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    font-size: .84rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

@media (max-width: 980px) {
    .cards-deck-swiper.scafox-cards {
        padding: 82px 18px;
    }

    .cards-deck-swiper .control {
        width: 56px;
    }
}

@media (max-width: 640px) {
    .scafox-cards__title {
        font-size: clamp(2rem, 10vw, 2.6rem);
    }

    .cards-deck-swiper .stack {
        max-width: 320px;
    }

    .cards-deck-swiper .item_card {
        padding: 20px;
    }

    .cards-deck-swiper .card_caption {
        font-size: .95rem;
        max-width: 100%;
    }
}


.scafox-cards__chip:hover {
    transform: translateY(-1px);
    border-color: rgba(217,192,106,.42);
    color: var(--vt-text);
}

.scafox-cards__chip:focus-visible {
    outline: 2px solid rgba(217,192,106,.55);
    outline-offset: 2px;
}


/* Elementor/theme override protection */
.cards-deck-swiper .scafox-cards__chips .scafox-cards__chip,
.cards-deck-swiper .scafox-cards__chips button.scafox-cards__chip,
.elementor .cards-deck-swiper .scafox-cards__chips .scafox-cards__chip,
.elementor .cards-deck-swiper .scafox-cards__chips button.scafox-cards__chip {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: #ffffff !important;
    background-image: none !important;
    color: var(--vt-text-soft) !important;
    border: 1px solid rgba(17, 23, 38, .12) !important;
    border-radius: var(--vt-radius-pill) !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    min-height: 48px !important;
    line-height: 1 !important;
    font-size: .95rem !important;
    font-weight: 600 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

.cards-deck-swiper .scafox-cards__chips .scafox-cards__chip:hover,
.cards-deck-swiper .scafox-cards__chips button.scafox-cards__chip:hover,
.elementor .cards-deck-swiper .scafox-cards__chips .scafox-cards__chip:hover,
.elementor .cards-deck-swiper .scafox-cards__chips button.scafox-cards__chip:hover {
    background: #fffdf7 !important;
    color: var(--vt-text) !important;
    border-color: rgba(217,192,106,.42) !important;
    transform: translateY(-1px) !important;
}

.cards-deck-swiper .scafox-cards__chips .scafox-cards__chip.is-active,
.cards-deck-swiper .scafox-cards__chips button.scafox-cards__chip.is-active,
.elementor .cards-deck-swiper .scafox-cards__chips .scafox-cards__chip.is-active,
.elementor .cards-deck-swiper .scafox-cards__chips button.scafox-cards__chip.is-active {
    background: linear-gradient(135deg, #d9c06a 0%, #b99232 100%) !important;
    color: #1a223d !important;
    border-color: transparent !important;
    box-shadow: 0 10px 24px rgba(185,146,50,.28) !important;
}

.cards-deck-swiper .scafox-cards__chips .scafox-cards__chip:focus,
.cards-deck-swiper .scafox-cards__chips button.scafox-cards__chip:focus,
.cards-deck-swiper .scafox-cards__chips .scafox-cards__chip:active,
.cards-deck-swiper .scafox-cards__chips button.scafox-cards__chip:active,
.elementor .cards-deck-swiper .scafox-cards__chips .scafox-cards__chip:focus,
.elementor .cards-deck-swiper .scafox-cards__chips button.scafox-cards__chip:focus,
.elementor .cards-deck-swiper .scafox-cards__chips .scafox-cards__chip:active,
.elementor .cards-deck-swiper .scafox-cards__chips button.scafox-cards__chip:active {
    color: inherit !important;
    outline: none !important;
}
