/* ==========================================================
   TASMBA DESIGN SYSTEM v2.0
   Designed for SiteOrigin Page Builder
   ========================================================== */

:root {
    /* Brand colours */
    --tasmba-white: #ffffff;
    --tasmba-black: #000000;
    --tasmba-charcoal: #171717;
    --tasmba-dark: #222222;
    --tasmba-grey-100: #f4f4f4;
    --tasmba-grey-200: #e5e5e5;
    --tasmba-grey-500: #6b6b6b;
    --tasmba-lilac: #c1b8c8;

    --tasmba-teal: #0d7d7b;
    --tasmba-teal-dark: #075e5c;
    --tasmba-teal-light: #e6f3f2;
    --tasmba-yellow: #fec70b;
    --tasmba-orange: #e97424;
    --tasmba-red: #b21f24;

    /* Widths */
    --tasmba-page-width: 1200px;
    --tasmba-content-width: 860px;
    --tasmba-narrow-width: 700px;

    /* Spacing */
    --tasmba-space-1: 8px;
    --tasmba-space-2: 16px;
    --tasmba-space-3: 24px;
    --tasmba-space-4: 32px;
    --tasmba-space-5: 48px;
    --tasmba-space-6: 64px;
    --tasmba-space-7: 90px;

    /* Shape */
    --tasmba-radius-small: 7px;
    --tasmba-radius-medium: 12px;
    --tasmba-radius-large: 18px;
    --tasmba-radius-pill: 999px;

    /* Shadows */
    --tasmba-shadow-small:
        0 5px 15px rgba(0, 0, 0, 0.11);

    --tasmba-shadow-card:
        0 14px 34px rgba(0, 0, 0, 0.14);

    --tasmba-shadow-hover:
        0 24px 55px rgba(0, 0, 0, 0.21);

    /* Motion */
    --tasmba-transition-fast: 0.2s ease;
    --tasmba-transition: 0.3s ease;
}


/* ==========================================================
   SITEORIGIN ROW HELPERS

   Add these under:
   Edit Row → Attributes → Row Class
   ========================================================== */

.tasmba-section {
    box-sizing: border-box;
    width: 100%;
    padding-top: var(--tasmba-space-6);
    padding-bottom: var(--tasmba-space-6);
}

.tasmba-section-small {
    padding-top: var(--tasmba-space-5);
    padding-bottom: var(--tasmba-space-5);
}

.tasmba-section-large {
    padding-top: var(--tasmba-space-7);
    padding-bottom: var(--tasmba-space-7);
}

.tasmba-section-white {
    background: var(--tasmba-white);
}

.tasmba-section-grey {
    background: var(--tasmba-grey-100);
}

.tasmba-section-teal {
    background: var(--tasmba-teal);
    color: var(--tasmba-white);
}

.tasmba-section-dark {
    background: var(--tasmba-charcoal);
    color: var(--tasmba-white);
}

.tasmba-row-width {
    box-sizing: border-box;
    width: min(
        var(--tasmba-page-width),
        calc(100% - 48px)
    );
    margin-right: auto;
    margin-left: auto;
}

.tasmba-content-width {
    width: min(
        var(--tasmba-content-width),
        100%
    );
    margin-right: auto;
    margin-left: auto;
}

.tasmba-narrow-width {
    width: min(
        var(--tasmba-narrow-width),
        100%
    );
    margin-right: auto;
    margin-left: auto;
}


/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

.tasmba-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--tasmba-teal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.3;
    text-transform: uppercase;
}

.tasmba-section-teal .tasmba-eyebrow,
.tasmba-section-dark .tasmba-eyebrow {
    color: var(--tasmba-yellow);
}

.tasmba-section-heading {
    max-width: 850px;
    margin: 0 0 18px;
    color: var(--tasmba-charcoal);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.tasmba-section-teal .tasmba-section-heading,
.tasmba-section-dark .tasmba-section-heading {
    color: var(--tasmba-white);
}

.tasmba-section-intro {
    max-width: 770px;
    margin: 0 0 34px;
    color: var(--tasmba-grey-500);
    font-size: 1.08rem;
    line-height: 1.7;
}

.tasmba-section-teal .tasmba-section-intro,
.tasmba-section-dark .tasmba-section-intro {
    color: rgba(255, 255, 255, 0.84);
}

.tasmba-heading-centre {
    text-align: center;
}

.tasmba-heading-centre .tasmba-section-heading,
.tasmba-heading-centre .tasmba-section-intro {
    margin-right: auto;
    margin-left: auto;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.tasmba-button {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 14px 24px;

    border: 2px solid transparent;
    border-radius: 9px;

    font-size: 0.87rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background var(--tasmba-transition-fast),
        border-color var(--tasmba-transition-fast),
        color var(--tasmba-transition-fast),
        box-shadow var(--tasmba-transition-fast),
        transform var(--tasmba-transition-fast);
}

.tasmba-button:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
}

.tasmba-button-primary {
    border-color: var(--tasmba-yellow);
    background: var(--tasmba-yellow);
    color: var(--tasmba-charcoal);
}

.tasmba-button-primary:hover {
    border-color: var(--tasmba-orange);
    background: var(--tasmba-orange);
    color: var(--tasmba-white);
}

.tasmba-button-secondary {
    border-color: var(--tasmba-teal);
    background: transparent;
    color: var(--tasmba-teal);
}

.tasmba-button-secondary:hover {
    background: var(--tasmba-teal);
    color: var(--tasmba-white);
}

.tasmba-button-white {
    border-color: var(--tasmba-white);
    background: transparent;
    color: var(--tasmba-white);
}

.tasmba-button-white:hover {
    background: var(--tasmba-white);
    color: var(--tasmba-charcoal);
}

.tasmba-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* ==========================================================
   PRODUCT GRID
   ========================================================== */

.tasmba-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    width: 100%;
}

.tasmba-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--tasmba-radius-large);
    background: var(--tasmba-charcoal);
    box-shadow: var(--tasmba-shadow-card);

    transition:
        border-color var(--tasmba-transition),
        box-shadow var(--tasmba-transition),
        transform var(--tasmba-transition);
}

.tasmba-product-card:hover {
    border-color: rgba(13, 125, 123, 0.25);
    box-shadow: var(--tasmba-shadow-hover);
    transform: translateY(-7px);
}


/* Product image */

.tasmba-product-image {
    position: relative;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #444444,
            #222222
        );
}

.tasmba-product-image::after {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 72%;

    background:
        linear-gradient(
            to top,
            rgba(2, 45, 44, 0.76) 0%,
            rgba(5, 70, 68, 0.28) 46%,
            rgba(0, 0, 0, 0) 100%
        );

    content: "";
    pointer-events: none;
}

.tasmba-product-image > a {
    display: block;
    width: 100%;
    height: 100%;
}

.tasmba-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        filter var(--tasmba-transition),
        transform 0.55s ease;
}

.tasmba-product-card:hover .tasmba-product-image img {
    filter: saturate(1.06) contrast(1.03);
    transform: scale(1.05);
}


/* Folded ribbon */

.tasmba-product-ribbon {
    position: absolute;
    z-index: 6;
    top: 18px;
    left: -6px;

    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 9px 17px 9px 21px;

    border-radius:
        0
        var(--tasmba-radius-small)
        var(--tasmba-radius-small)
        0;

    box-shadow: 4px 5px 14px rgba(0, 0, 0, 0.24);

    color: var(--tasmba-white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;

    transition:
        filter var(--tasmba-transition-fast),
        transform var(--tasmba-transition-fast);
}

.tasmba-product-ribbon::after {
    position: absolute;
    bottom: -7px;
    left: 0;

    width: 0;
    height: 0;

    border-top: 7px solid rgba(0, 0, 0, 0.42);
    border-left: 6px solid transparent;

    content: "";
}

.tasmba-product-card:hover .tasmba-product-ribbon {
    filter: brightness(1.08);
    transform: translateX(3px);
}

.tasmba-ribbon-guided {
    background: var(--tasmba-teal);
}

.tasmba-ribbon-self-guided {
    background: var(--tasmba-teal-dark);
}

.tasmba-ribbon-private {
    background: var(--tasmba-orange);
}

.tasmba-ribbon-shuttle {
    background: var(--tasmba-charcoal);
}

.tasmba-ribbon-bike-hire {
    background: var(--tasmba-red);
}


/* Price badge */

.tasmba-product-price {
    position: absolute;
    z-index: 6;
    top: 15px;
    right: 15px;

    min-width: 96px;
    overflow: hidden;

    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 11px;
    background: rgba(13, 125, 123, 0.96);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.27);

    color: var(--tasmba-white);
    text-align: center;
}

.tasmba-product-price-label {
    display: block;
    padding: 5px 8px;

    background: var(--tasmba-white);
    color: var(--tasmba-charcoal);

    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
}

.tasmba-product-price-value {
    display: block;
    padding: 9px 8px 3px;

    font-size: 1.34rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1;
}

.tasmba-product-price-unit {
    display: block;
    padding: 2px 7px 8px;

    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}


/* Facts */

.tasmba-product-facts {
    position: absolute;
    z-index: 5;
    right: 14px;
    bottom: 14px;
    left: 14px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.tasmba-product-fact {
    position: relative;
    min-width: 0;
    min-height: 54px;
    padding: 8px 10px 8px 13px;

    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: var(--tasmba-radius-small);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(5px);
}

.tasmba-product-fact::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 0;

    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--tasmba-teal);

    content: "";
}

.tasmba-product-fact-label {
    display: block;
    margin-bottom: 3px;

    color: #626262;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.1;
    text-transform: uppercase;
}

.tasmba-product-fact-value {
    display: block;
    overflow: hidden;

    color: var(--tasmba-charcoal);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tasmba-skill-easy::before {
    background: var(--tasmba-teal);
}

.tasmba-skill-easy .tasmba-product-fact-value {
    color: var(--tasmba-teal-dark);
}

.tasmba-skill-intermediate::before {
    background: var(--tasmba-orange);
}

.tasmba-skill-intermediate .tasmba-product-fact-value {
    color: #bd4e0f;
}

.tasmba-skill-advanced::before {
    background: var(--tasmba-red);
}

.tasmba-skill-advanced .tasmba-product-fact-value {
    color: var(--tasmba-red);
}


/* Product content */

.tasmba-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 27px;
    color: var(--tasmba-white);
}

.tasmba-product-title {
    display: -webkit-box;
    min-height: 2.4em;
    margin: 0 0 14px;
    overflow: hidden;

    color: var(--tasmba-white);
    font-size: clamp(1.45rem, 2.1vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.2;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tasmba-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--tasmba-transition-fast);
}

.tasmba-product-title a:hover {
    color: var(--tasmba-yellow);
}

.tasmba-product-description {
    display: -webkit-box;
    min-height: 6.3em;
    margin: 0 0 25px;
    overflow: hidden;

    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.58;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.tasmba-product-buttons {
    display: grid;
    gap: 11px;
    margin-top: auto;
}

.tasmba-product-buttons .tasmba-button {
    width: 100%;
}

.tasmba-product-buttons .tasmba-button-primary {
    min-height: 56px;
}

.tasmba-product-buttons .tasmba-button-secondary {
    border-color: var(--tasmba-teal);
    color: var(--tasmba-white);
}

.tasmba-product-buttons .tasmba-button-secondary:hover {
    background: var(--tasmba-teal);
}


/* ==========================================================
   FEATURE CARDS
   ========================================================== */

.tasmba-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.tasmba-feature-card {
    padding: 28px 24px;
    border-radius: var(--tasmba-radius-medium);
    background: var(--tasmba-white);
    box-shadow: var(--tasmba-shadow-small);
}

.tasmba-feature-card h3 {
    margin: 0 0 10px;
    color: var(--tasmba-charcoal);
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.25;
}

.tasmba-feature-card p {
    margin: 0;
    color: var(--tasmba-grey-500);
    font-size: 0.96rem;
    line-height: 1.6;
}

.tasmba-feature-marker {
    display: block;
    width: 42px;
    height: 5px;
    margin-bottom: 18px;
    border-radius: var(--tasmba-radius-pill);
    background: var(--tasmba-yellow);
}


/* ==========================================================
   CTA PANEL
   ========================================================== */

.tasmba-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;

    padding: 40px;

    border-radius: var(--tasmba-radius-large);
    background:
        linear-gradient(
            135deg,
            var(--tasmba-teal-dark),
            var(--tasmba-teal)
        );
    box-shadow: var(--tasmba-shadow-card);

    color: var(--tasmba-white);
}

.tasmba-cta h2 {
    margin: 0 0 10px;
    color: var(--tasmba-white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
}

.tasmba-cta p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.04rem;
    line-height: 1.65;
}


/* ==========================================================
   IMAGE AND TEXT SECTION
   ========================================================== */

.tasmba-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 48px;
}

.tasmba-split-image {
    overflow: hidden;
    border-radius: var(--tasmba-radius-large);
    box-shadow: var(--tasmba-shadow-card);
}

.tasmba-split-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tasmba-split-content h2 {
    margin-top: 0;
}


/* ==========================================================
   TESTIMONIAL
   ========================================================== */

.tasmba-testimonial {
    padding: 38px;
    border-left: 6px solid var(--tasmba-yellow);
    border-radius: var(--tasmba-radius-medium);
    background: var(--tasmba-white);
    box-shadow: var(--tasmba-shadow-card);
}

.tasmba-testimonial-stars {
    margin-bottom: 14px;
    color: var(--tasmba-yellow);
    font-size: 1.3rem;
    letter-spacing: 0.06em;
}

.tasmba-testimonial blockquote {
    margin: 0 0 18px;
    color: var(--tasmba-charcoal);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.55;
}

.tasmba-testimonial cite {
    color: var(--tasmba-grey-500);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 700;
}


/* ==========================================================
   FAQ
   ========================================================== */

.tasmba-faq {
    display: grid;
    gap: 12px;
}

.tasmba-faq details {
    overflow: hidden;
    border: 1px solid var(--tasmba-grey-200);
    border-radius: var(--tasmba-radius-medium);
    background: var(--tasmba-white);
    box-shadow: 0 4px 13px rgba(0, 0, 0, 0.07);
}

.tasmba-faq summary {
    position: relative;
    padding: 20px 54px 20px 22px;

    color: var(--tasmba-charcoal);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    list-style: none;
}

.tasmba-faq summary::-webkit-details-marker {
    display: none;
}

.tasmba-faq summary::after {
    position: absolute;
    top: 50%;
    right: 22px;

    color: var(--tasmba-teal);
    content: "+";
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
}

.tasmba-faq details[open] summary::after {
    content: "−";
}

.tasmba-faq-answer {
    padding: 0 22px 22px;
    color: var(--tasmba-grey-500);
    font-size: 0.98rem;
    line-height: 1.65;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 980px) {

    .tasmba-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tasmba-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tasmba-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .tasmba-row-width {
        width: calc(100% - 32px);
    }

    .tasmba-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .tasmba-section-large {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .tasmba-product-grid,
    .tasmba-feature-grid,
    .tasmba-split {
        grid-template-columns: 1fr;
    }

    .tasmba-product-grid {
        gap: 26px;
    }

    .tasmba-product-image {
        aspect-ratio: 4 / 3;
    }

    .tasmba-product-content {
        padding: 23px;
    }

    .tasmba-product-title {
        min-height: auto;
        font-size: 1.6rem;
        -webkit-line-clamp: unset;
    }

    .tasmba-product-description {
        min-height: auto;
        -webkit-line-clamp: unset;
    }

    .tasmba-product-ribbon {
        top: 14px;
    }

    .tasmba-product-price {
        top: 12px;
        right: 12px;
    }

    .tasmba-product-facts {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .tasmba-cta {
        padding: 30px 24px;
    }

    .tasmba-split {
        gap: 30px;
    }
}

@media (max-width: 390px) {

    .tasmba-product-price {
        min-width: 86px;
    }

    .tasmba-product-price-value {
        font-size: 1.2rem;
    }

    .tasmba-product-fact {
        padding-right: 7px;
        padding-left: 10px;
    }

    .tasmba-product-fact-value {
        font-size: 0.78rem;
    }

    .tasmba-product-ribbon {
        font-size: 0.65rem;
    }
}