
.xc-hero {
    margin-top: clamp(16px, 3vw, 32px);
}

.xc-hero__panel {
    --xc-hero-bg-opacity: .45;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(16px, 3vw, 24px);
    padding: clamp(22px, 4vw, 44px) clamp(16px, 3.4vw, 48px);
    border: 1px solid var(--xc-lav-2);
    border-radius: clamp(16px, 2.4vw, 28px);
    background: var(--xc-lav);
    text-align: center;
}

/* optional blurred picture behind the text (public/images/home/hero-bg.*) */
.xc-hero__panel::before {
    content: "";
    position: absolute;
    inset: -14px;
    z-index: -2;
    background: var(--xc-hero-bg) center / cover no-repeat;
    filter: blur(8px);
    /* opacity: .6; */
    opacity: var(--xc-hero-bg-opacity);
}

.xc-hero__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--xc-lav) 22%, rgba(245, 241, 251, .55) 100%);
}

.xc-hero__text {
    min-width: 0;
}

.xc-hero__title {
    margin: 0;
    font-size: clamp(1.9rem, 4.8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--xc-corporateblack);
}

.xc-hero__title-mobile {
    display: inline;
}

.xc-hero__title-desktop {
    display: none;
}

.xc-hero__sub {
    margin: 10px 0 12px;
    font-size: clamp(1.05rem, 2.3vw, 1.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--xc-corporateblack);
}

.xc-hero__desc {
    max-width: 560px;
    margin: 0 auto;
    font-size: clamp(.9rem, 1.6vw, 1.05rem);
    line-height: 1.5;
    color: var(--xc-corporateblack);
}

.xc-hero__desc span {
    display: block;
}

.xc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.xc-hero__explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 clamp(24px, 4vw, 44px);
    border-radius: 999px;
    background: linear-gradient(100deg, var(--xc-magenta), var(--xc-plum));
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    text-decoration: none;
    transition: filter .15s;
}

.xc-hero__explore:hover {
    filter: brightness(1.08);
    text-decoration: none;
}

/* Explore: text and arrow icon always white */
.xc-hero__explore,
.xc-hero__explore:hover,
.xc-hero__explore:focus,
.xc-hero__explore span,
.xc-hero__explore i {
    color: #fff !important;
}

.xc-aud:focus-visible,
.xc-htab:focus-visible,
.xc-hero__explore:focus-visible,
.xc-dl a:focus-visible {
    outline: 3px solid var(--xc-magenta);
    outline-offset: 3px;
}

/* Download App pill */
.xc-dl {
    display: inline-flex;
    align-items: stretch;
    min-height: 52px;
    border: 2px solid var(--xc-magenta);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}

.xc-dl a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--xc-magenta);
    text-decoration: none;
    transition: background .15s;
}

.xc-dl a:hover {
    background: var(--xc-lav);
    color: var(--xc-magenta);
    text-decoration: none;
}

.xc-dl__label,
.xc-dl__label:hover,
.xc-dl__label:focus,
.xc-dl__label span {
    color: var(--xc-magenta) !important;
}

.xc-dl__label {
    gap: 10px;
    padding: 0 clamp(14px, 2.4vw, 24px);
    font-size: clamp(.95rem, 2vw, 1.15rem);
    font-weight: 700;
    white-space: nowrap;
}

.xc-dl__mark {
    display: block;
    width: 28px;
    height: 28px;
    background: var(--xc-magenta);
    -webkit-mask: var(--xc-icon) center / contain no-repeat;
    mask: var(--xc-icon) center / contain no-repeat;
}

.xc-dl__store {
    width: clamp(40px, 6vw, 52px);
    border-left: 1px solid var(--xc-lav-2);
    font-size: 1.25rem;
}

/* ---------------------------------------------------------
   EXPLORE PANEL
   --------------------------------------------------------- */
.xc-explore {
    margin-top: clamp(14px, 2.4vw, 24px);
}

.xc-explore__panel {
    padding: clamp(16px, 3vw, 32px);
    border: 1px solid var(--xc-lav-2);
    border-radius: clamp(16px, 2.4vw, 28px);
    background: var(--xc-lav);
}

.xc-explore__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 3vw, 32px);
    align-items: stretch;
}

.xc-explore__left {
    min-width: 0;
    text-align: center;
}

/* For Me / For My Business toggle */
.xc-explore__audience {
    display: flex;
    width: min(340px, 100%);
    margin: 0 0 14px;
    border-radius: 999px;
    background: var(--xc-lav-2);
}

.xc-aud {
    flex: 1 1 0;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--xc-magenta);
    font-size: clamp(.85rem, 1.4vw, 1rem);
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.xc-aud.is-active {
    background: linear-gradient(100deg, var(--xc-magenta), var(--xc-plum));
    color: #fff;
}

/* tabs: All | Booking | Shopping | Jobs   (For My Business: Marketing | Sales) */
.xc-explore__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: clamp(16px, 3vw, 17px);
}

.xc-explore__tabs[hidden] {
    display: none;
}

.xc-htab {
    position: relative;
    padding: 8px 14px;
    border: 0;
    background: transparent;
    color: var(--xc-ink-2);
    font-size: clamp(.8rem, 1.3vw, .95rem);
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
}

.xc-htab+.xc-htab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 18px;
    transform: translateY(-50%);
    background: var(--xc-ink-2);
    opacity: .6;
}

.xc-htab::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--xc-magenta);
    transform: scaleX(0);
    transition: transform .15s;
}

.xc-htab.is-active {
    color: var(--xc-magenta);
}

.xc-htab.is-active::after {
    transform: scaleX(1);
}

.xc-explore .xc-htab:first-child {
    padding-left: 0;
}

.xc-explore .xc-htab:first-child::after {
    left: 0;
}

/* tab content */
.xc-tabcontent[hidden] {
    display: none;
}

.xc-tabcontent__title {
    margin: 0;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--xc-corporateblack);
}

.xc-tabcontent__desc {
    margin: 0 0 10px;
    font-size: clamp(.92rem, 1.5vw, 1.08rem);
    color: var(--xc-corporateblack);
}

.xc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.xc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--xc-lav-2);
    border-radius: 999px;
    background: #fff;
    font-size: .82rem;
    font-weight: 600;
    color: var(--xc-corporateblack);
}

.xc-chip i {
    font-size: .65rem;
    color: var(--xc-magenta);
}

.xc-explore__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 26px;
    border-radius: 999px;
    background: linear-gradient(100deg, var(--xc-magenta), var(--xc-plum));
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: filter .15s;
}

.xc-explore__cta,
.xc-explore__cta:hover,
.xc-explore__cta:focus,
.xc-explore__cta span,
.xc-explore__cta i {
    color: #fff !important;
}

.xc-explore__cta:hover {
    filter: brightness(1.08);
    text-decoration: none;
}

.xc-explore__cta:focus-visible {
    outline: 3px solid var(--xc-magenta);
    outline-offset: 3px;
}

/* ---------------------------------------------------------
   SLIDES (admin homepage carousel)
   The picture fills the whole card. Title (pill) + caption sit on top of it.
   Recommended image size: 1600 x 900 px (16:9)
   --------------------------------------------------------- */
.xc-explore__right {
    min-width: 0;
    align-self: center;
}

.xc-explore__right[hidden] {
    display: none;
}

.xc-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: clamp(14px, 2vw, 22px);
    background: transparent;
}

.xc-visual__track {
    position: absolute;
    inset: 0;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.xc-visual__track::-webkit-scrollbar {
    display: none;
}

.xc-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
}

.xc-slide[hidden] {
    display: none;
}

.xc-slide__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xc-slide__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: clamp(14px, 2.4vw, 24px);
    background: linear-gradient(180deg, rgba(31, 0, 43, .72) 0%, rgba(31, 0, 43, .35) 40%, rgba(31, 0, 43, 0) 65%);
    text-align: center;
    pointer-events: none;
}

.xc-slide__pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--xc-ink-2);
}
.xc-slide__title {
    max-width: 85%;
    margin: 0 auto;
    font-size: clamp(1.05rem, 2.4vw, 1.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.xc-visual__ctrl {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(58, 11, 51, .25);
}

.xc-visual__ctrl[hidden] {
    display: none;
}

.xc-visual__dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.xc-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--xc-lav-2);
    cursor: pointer;
    transition: width .2s, background .2s;
}

.xc-dot.is-active {
    width: 22px;
    background: var(--xc-magenta);
}

.xc-visual__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--xc-ink-2);
    font-size: .75rem;
    cursor: pointer;
}

.xc-visual__arrow--next {
    background: var(--xc-magenta);
    color: #fff;
}

.xc-visual__arrow:hover {
    background: var(--xc-lav);
}

.xc-visual__arrow--next:hover {
    background: var(--xc-plum);
}

.xc-dot:focus-visible,
.xc-visual__arrow:focus-visible {
    outline: 2px solid var(--xc-magenta);
    outline-offset: 2px;
}


/* ---------------------------------------------------------
   PREVIOUS / NEXT (below the grid, centered, always visible)
   --------------------------------------------------------- */
.xc-explore__nav {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: clamp(14px, 2.4vw, 22px);
}

.xc-nav__pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border: 1px solid var(--xc-lav-2);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(58, 11, 51, .1);
}

.xc-nav__dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.xc-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--xc-lav-2);
    cursor: pointer;
    transition: width .2s, background .2s;
}

.xc-dot.is-active {
    width: 22px;
    background: var(--xc-magenta);
}

.xc-nav__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--xc-ink-2);
    font-size: .8rem;
    cursor: pointer;
    transition: background .15s;
}

.xc-nav__arrow--next {
    background: var(--xc-magenta);
    color: #fff;
}

.xc-nav__arrow:hover {
    background: var(--xc-lav);
}

.xc-nav__arrow--next:hover {
    background: var(--xc-plum);
}

.xc-dot:focus-visible,
.xc-nav__arrow:focus-visible {
    outline: 2px solid var(--xc-magenta);
    outline-offset: 2px;
}
/* ---------------------------------------------------------
   PARTNERS ROW (inside the explore panel)
   --------------------------------------------------------- */
.xc-explore__partners {
    margin-top: clamp(18px, 3vw, 28px);
    padding-top: clamp(16px, 2.6vw, 24px);
    border-top: 1px solid var(--xc-line);
}

.xc-partners__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px clamp(24px, 5vw, 56px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.xc-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.xc-partner__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(32px, 5vw, 44px);
}

.xc-partner__logo img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 150px;
    object-fit: contain;
}

.xc-partner__caption {
    font-size: .8rem;
    line-height: 1.3;
    color: var(--xc-link);
}

/* ---------------------------------------------------------
   APP CARDS
   --------------------------------------------------------- */
.xc-apps {
    margin-top: clamp(14px, 2.4vw, 28px);
}

.xc-apps__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(12px, 2vw, 24px);
}

.xc-card {
    position: relative;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.xc-card picture,
.xc-card img {
    display: block;
    width: 100%;
    height: auto;
}

.xc-card__link {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: inherit;
}

.xc-card__link:focus-visible {
    outline: 2px solid var(--xc-magenta);
    outline-offset: 4px;
    border-radius: 16px;
}

.xc-card__missing {
    padding: 48px 16px;
    color: var(--xc-link);
    font-size: .9rem;
    text-align: center;
}

/* Left section centered on every screen size */
.xc-explore__left {
    text-align: center;
}

.xc-explore__audience {
    margin-inline: auto;
}

.xc-explore__tabs {
    justify-content: center;
}

.xc-explore .xc-htab,
.xc-explore .xc-htab:first-child {
    padding-left: 14px;
}

.xc-explore .xc-htab::after,
.xc-explore .xc-htab:first-child::after {
    left: 14px;
}

.xc-tabcontent {
    text-align: center;
}

.xc-chips {
    justify-content: center;
}

.xc-explore__cta {
    display: flex;
    width: fit-content;
    margin-inline: auto;
}

/* ---------------------------------------------------------
   BREAKPOINTS
   --------------------------------------------------------- */
@media (min-width: 768px) {
    .xc-hero__panel {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 32px;
    }

    .xc-hero__title-desktop {
        display: inline;
    }

    .xc-hero__title-mobile {
        display: none;
    }

    .xc-hero__desc {
        margin: 0;
    }

    .xc-hero__desc span {
        display: inline;
    }

    .xc-hero__actions {
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        width: clamp(240px, 26vw, 320px);
    }

    .xc-hero__actions .xc-dl {
        width: 100%;
    }

    .xc-hero__actions .xc-dl__label {
        flex: 1 1 auto;
    }

    .xc-explore__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .xc-explore__grid--single {
        grid-template-columns: minmax(0, 1fr);
    }

    .xc-apps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .xc-explore__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    }

    .xc-explore__grid--single {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* phones / small tablets: center the tabs and the Explore button */
@media (max-width: 767.98px) {
    .xc-explore__tabs {
        justify-content: center;
    }

    .xc-explore .xc-htab:first-child {
        padding-left: 14px;
    }

    .xc-explore .xc-htab:first-child::after {
        left: 14px;
    }

    .xc-explore__cta {
        display: flex;
        width: fit-content;
        margin-inline: auto;
    }

    .xc-tabcontent {
        text-align: center;
    }

    .xc-chips {
        justify-content: center;
    }

    .xc-explore__audience {
        margin-inline: auto;
    }
}

/* small phones: 4 tabs (All | Booking | Shopping | Jobs) must fit in one row */
@media (max-width: 575.98px) {
    .xc-explore .xc-htab,
    .xc-explore .xc-htab:first-child {
        padding: 8px 9px;
        font-size: .76rem;
        letter-spacing: 0;
    }

    .xc-explore .xc-htab::after,
    .xc-explore .xc-htab:first-child::after {
        left: 9px;
        right: 9px;
    }
}

@media (max-width: 359.98px) {
    .xc-explore .xc-htab,
    .xc-explore .xc-htab:first-child {
        padding: 8px 7px;
        font-size: .7rem;
    }

    .xc-explore .xc-htab::after,
    .xc-explore .xc-htab:first-child::after {
        left: 7px;
        right: 7px;
    }
}