/* ================================================================
   WS Three Cards — v1.0.0
   ================================================================ */

.ws3c {
    --ws3c-primary:      #54D4D1;
    --ws3c-primary-dark: #35ADA5;
    --ws3c-dark:         #144041;
    --ws3c-tab-border:   #E1E6E8;
    --ws3c-radius:       16px;
    --ws3c-gap:          24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    box-sizing: border-box;
    font-family: "Geomanist";
    color: var(--ws3c-dark) 
}

/* ── Header ─────────────────────────────────────────────────── */

.ws3c__header {
    text-align: center;
    max-width: 680px;
    padding: 0 16px;
}

.ws3c__title {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}

.ws3c__desc {
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

/* ── Tab navigation ─────────────────────────────────────────── */

.ws3c__tabs {
    display: flex;
    gap: 6px;
    padding: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.ws3c__tab {
    border: none;
    padding: 0.875em 1em;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ws3c-dark);
    background-color: #FFF !important;
    border: 2px solid var(--ws3c-tab-border);
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    border-radius: 50px !important;
    text-shadow: none !important;
}

.ws3c__tab.is-active {
    background: var(--ws3c-dark) !important;
    color: #fff;
    border: 2px solid var(--ws3c-dark);
}

.ws3c__tab:hover:not(.is-active) {
    background-color: var(--ws3c-dark) !important;
    color: #fff;
    border-color: var(--ws3c-dark);
}

/* ── Panels ─────────────────────────────────────────────────── */

.ws3c__panels {
    width: 100%;
}

.ws3c__panel {
    display: none;
}

.ws3c__panel.is-active {
    display: block;
}

/* ── Cards grid ─────────────────────────────────────────────── */

.ws3c__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--ws3c-gap);
    align-items: start;
}

/* ── Shared card base ───────────────────────────────────────── */

.ws3c__card {
    border-radius: var(--ws3c-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ws3c__card:after{

}

/* ── Secondary card ─────────────────────────────────────────── */

.ws3c__card--secondary {
    background: #fff;
    border: 2px solid #E1E6E8
}

.ws3c__card--secondary .ws3c__card-inner {
    padding: 32px 28px;
}

/* ── Primary card ───────────────────────────────────────────── */

.ws3c__card--primary {
    background: var(--ws3c-primary);
}

.ws3c__card-badge {
    background: var(--ws3c-primary-dark);
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.ws3c__card--primary .ws3c__card-inner {
    padding: 28px 28px 36px;
}

/* ── Card inner ─────────────────────────────────────────────── */

.ws3c__card-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

/* ── Small text ─────────────────────────────────────────────── */

.ws3c__card-small {
    font-size: 12px;
    color: #888;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ws3c__card--primary .ws3c__card-small {
    color: rgba(255, 255, 255, 0.70);
}

/* ── Card title ─────────────────────────────────────────────── */

.ws3c__card-title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1;
}

.ws3c__card--primary .ws3c__card-title {
    color: #fff;
}

/* ── Benefit list ───────────────────────────────────────────── */

.ws3c__card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ws3c__card-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.45;
}

.ws3c__card-list li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--ws3c-primary);
    margin-top: 4px;
}

.ws3c__card--primary .ws3c__card-list li {
    color: #1a1a1a;
}

.ws3c__card--primary .ws3c__card-list li::before {
    background: var(--ws3c-primary-dark);
}

/* ── Buttons ────────────────────────────────────────────────── */

.ws3c__btn {
    display: block;
    text-align: center;
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
    transition: opacity 0.2s ease, transform 0.15s ease;
    margin-top: auto;
}

.ws3c__btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.ws3c__btn--secondary {
    background: var(--ws3c-dark);
    color: #fff;
}

.ws3c__btn--primary {
    background: var(--ws3c-primary-dark);
    color: #fff;
}

/* ================================================================
   DESKTOP (≥ 900px)
   ================================================================ */

@media (min-width: 900px) {

    /* Reorder: tabs first, then header, then panels */
    .ws3c__header { order: 2; }
    .ws3c__tabs   { order: 1; }
    .ws3c__panels { order: 3; }

    /* 3-column grid */
    .ws3c__cards {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: start;
        padding: 8px 0 24px;
    }

    /* Primary card elevated — extends above and below secondary cards */
    .ws3c__card--primary {
        margin-top: -20px;
        margin-bottom: 20px;
    }
}

/* ================================================================
   TABLET (600–899px) — 2-up but primary centered full-width
   ================================================================ */

@media (min-width: 600px) and (max-width: 899px) {
    .ws3c__cards {
        grid-template-columns: 1fr 1fr;
    }
    /* Primary card spans both columns, centered */
    .ws3c__card--primary {
        grid-column: 1 / -1;
        max-width: 420px;
        justify-self: center;
        width: 100%;
    }
}

/* ================================================================
   WS CAROUSEL 2 PHOTOS — ws2p
   ================================================================ */

.ws2p {
    --ws2p-bg:   #144041;
    --ws2p-text: #ffffff;

    background-color: var(--ws2p-bg);
    color: var(--ws2p-text);
    width: 100%;
    box-sizing: border-box;
    font-family: "Geomanist";
    overflow: hidden;
}

/* ── Outer layout: mobile = single column (center only) ─────── */

.ws2p__layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "center";
}

/* ── Photo columns: hidden on mobile ────────────────────────── */

.ws2p__photo-col {
    display: none;
}

/* ── Center column ───────────────────────────────────────────── */

.ws2p__center {
    grid-area: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 48px 24px;
    text-align: center;
}

/* ── Logo ────────────────────────────────────────────────────── */

.ws2p__logo img {
    display: block;
    max-width: 100px;
    height: auto;
}

/* ── Tab navigation ─────────────────────────────────────────── */

.ws2p__tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.ws2p__tab {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid transparent;
    border-radius: 50px !important;
    padding: 0.875em 1em;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ws2p-text);
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.ws2p__tab.is-active {
    background: var(--ws2p-text);
    border-color: var(--ws2p-text);
    color: var(--ws2p-bg);
}

.ws2p__tab:hover:not(.is-active) {
    border-color: var(--ws2p-text);
    background: rgba(255, 255, 255, 0.10);
}

/* ── Panels ─────────────────────────────────────────────────── */

.ws2p__panels {
    width: 100%;
}

.ws2p__panel {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ws2p__panel.is-active {
    display: flex;
}

/* ── Text ────────────────────────────────────────────────────── */

.ws2p__title {
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 700;
    margin: 0;
    line-height: 1.15;
    color: var(--ws2p-text);
}

.ws2p__desc {
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    color: var(--ws2p-text);
    opacity: 0.85;
    max-width: 480px;
}

/* ── CTA boxes ──────────────────────────────────────────────── */

.ws2p__boxes {
    display: flex;
    flex-direction: column;     /* mobile: stacked */
    gap: 24px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ws2p__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 280px;
}

.ws2p__box-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: var(--ws2p-text);
    line-height: 1.4;
}

.ws2p__box-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.60);
    background: transparent;
    color: var(--ws2p-text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ws2p__box-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--ws2p-text);
    color: var(--ws2p-text);
}

/* ── Photo inside column: hidden by default ─────────────────── */

.ws2p__photo {
    display: none;
    position: absolute;
    inset: 0;
}

.ws2p__photo.is-active {
    display: block;
}

.ws2p__photo img {
    width: auto;
    height: 100% !important;
    object-fit: scale-down;
    display: block;
}

.ws2p__photo-col--right .ws2p__photo img{
    float: right;
}

/* ================================================================
   DESKTOP (≥ 900px)
   ================================================================ */

@media (min-width: 900px) {

    /* 3-column grid: photo-col | center | photo-col */
    .ws2p__layout {
        grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
        grid-template-areas: "left center right";
        align-items: stretch;
    }

    /* Show photo columns */
    .ws2p__photo-col {
        display: block;
        position: relative;
        min-height: 360px;
    }

    .ws2p__photo-col--left  { grid-area: left; }
    .ws2p__photo-col--right { grid-area: right; }

    /* Center column: add more breathing room */
    .ws2p__center {
        padding: 48px 60px;
    }

    /* Boxes side-by-side */
    .ws2p__boxes {
        flex-direction: row;
        align-items: flex-start;
    }

    .ws2p__box {
        flex: 1;
        max-width: none;
    }
}

/* ================================================================
   WS TABS OLX — wsto
   ================================================================ */

.wsto {
    --wsto-active: #144041;
    --wsto-border: #E1E6E8;

    font-family: "Geomanist", inherit;
    width: 100%;
    box-sizing: border-box;
}

/* ── Tab navigation ─────────────────────────────────────────── */

.wsto__tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wsto__tab {
    background-color: #fff;
    border: 2px solid var(--wsto-border);
    border-radius: 50px;
    padding: 0.75em 1.25em;
    font-size: 1rem;
    font-weight: 500;
    color: var(--wsto-active);
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-shadow: none;
}

.wsto__tab.is-active {
    background: var(--wsto-active);
    border-color: var(--wsto-active);
    color: #fff;
}

.wsto__tab:hover:not(.is-active) {
    background: var(--wsto-active);
    border-color: var(--wsto-active);
    color: #fff;
}

/* ── Panels ─────────────────────────────────────────────────── */

.wsto__panels {
    width: 100%;
}

.wsto__panel {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding-top: 32px;
}

.wsto__panel.is-active {
    display: flex;
}

/* ── Content elements ───────────────────────────────────────── */

.wsto__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.wsto__subtitle {
    font-size: 16px;
    margin: 0;
    opacity: 0.75;
    line-height: 1.5;
}

.wsto__content {
    font-size: 15px;
    line-height: 1.65;
}

.wsto__content > *:first-child { margin-top: 0; }
.wsto__content > *:last-child  { margin-bottom: 0; }
