/* =========================================================
   MANTAP SELECT (PARTNERS) - PAGE STYLESHEET
   ---------------------------------------------------------
   Self-contained. Depends only on main.css (site-wide:
   colours, fonts, buttonstyle1, whitebg, specialxltext,
   standardimg, nav-link).

   Contents:
    0. Local tokens + orphan helpers (section-label, reveal,
       hero-kicker, back-link, footer-copy, cta-shape)
    1. Hero
    2. Intro
    3. Brand sections (visual plate + copy blocks + CTA)
    4. Per-brand accent colours
    5. Closing CTA
   ========================================================= */


/* =========================================================
   0. LOCAL TOKENS + ORPHAN HELPERS
   ========================================================= */
:root {
    --amber: #f5b82c;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border: 1.5px solid currentColor;
    border-radius: 50rem;
    margin-bottom: 1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.hero-kicker {
    display: inline-block;
    background: white;
    color: var(--accent3);
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent3);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}
.back-link:hover { color: var(--accent1); }

.footer-copy {
    font-size: 0.9rem;
    color: #666;
}

.cta-shape {
    position: absolute;
    font-weight: 900;
    font-size: clamp(10rem, 28vw, 22rem);
    line-height: 1;
    opacity: 0.1;
    pointer-events: none;
    user-select: none;
}
.cta-shape.l { top: -3rem;    left: -1rem;  color: var(--accent2); }
.cta-shape.r { bottom: -5rem; right: -1rem; color: var(--amber);   }


/* =========================================================
   1. HERO
   ========================================================= */
.select-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent3) 0%, var(--accent2) 60%, var(--accent1) 130%);
    color: white;
    isolation: isolate;
}
.select-hero-shape {
    position: absolute;
    font-weight: 900;
    font-size: clamp(9rem, 28vw, 26rem);
    line-height: 1;
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
}
.select-hero-shape.s1 { top: -3rem;    left: -2rem;  color: var(--accent1); }
.select-hero-shape.s2 { bottom: -6rem; right: -3rem; color: var(--amber);   }

.select-hero-title {
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin: 0;
}
.select-hero-accent { color: var(--amber); }

.select-hero-sub {
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    font-weight: 600;
    opacity: 0.95;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   2. INTRO
   ========================================================= */
.intro-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    max-width: 720px;
    margin: 0 auto;
}


/* =========================================================
   3. BRAND SECTIONS
   ========================================================= */
.brand-section {
    padding: 4rem 0;
}
.brand-section--alt {
    background: #f7f7f5;
}

/* Visual side: a coloured panel holding the brand logo on a white plate */
.brand-visual {
    border-radius: 28px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.brand-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.18) 0, transparent 34%),
        radial-gradient(circle at 82% 78%, rgba(255,255,255,0.14) 0, transparent 30%);
    z-index: -1;
}
.brand-logo-plate {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.brand-logo-plate img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Copy side */
.brand-index {
    display: block;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--accent1);
    margin-bottom: 0.75rem;
}
.brand-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: white;
    background: var(--accent3);
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    margin-bottom: 1rem;
}
.brand-name {
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}
.brand-block {
    margin-bottom: 1.5rem;
}
.brand-block-label {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent1);
    margin-bottom: 0.5rem;
}
.brand-block p {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* Brand CTA button (funnel to their website) */
.brand-cta {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 50rem;
    font-weight: 900;
    font-size: 0.95rem;
    text-decoration: none;
    color: white;
    background: var(--accent3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    color: white;
}


/* =========================================================
   4. PER-BRAND ACCENT COLOURS
   ---------------------------------------------------------
   Each brand gets its own panel colour + matching CTA so the
   four sections feel distinct while staying on-palette.
   ========================================================= */
.brand-visual--tupai    { background: linear-gradient(140deg, var(--accent3), var(--accent2)); }
.brand-visual--fitness  { background: linear-gradient(140deg, var(--accent1), #7a1d46); }
.brand-visual--wellness { background: linear-gradient(140deg, var(--accent2), var(--accent3)); }
.brand-visual--calisto  { background: linear-gradient(140deg, var(--accent4), #8a6220); }

.brand-cta--tupai    { background: var(--accent3); }
.brand-cta--fitness  { background: var(--accent1); }
.brand-cta--wellness { background: var(--accent2); }
.brand-cta--calisto  { background: var(--accent4); }


/* =========================================================
   5. CLOSING CTA
   ========================================================= */
.select-cta {
    background: var(--accent1);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.select-cta-lead {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Closing CTA button: give buttonstyle1 proper pill padding and kill the
   default link underline so it matches the clean pill look of the labels. */
.select-cta .buttonstyle1 {
    display: inline-block;
    padding: 0.85rem 2rem;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.select-cta .buttonstyle1:hover {
    text-decoration: none;
    color: white;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
    .brand-section { padding: 3rem 0; }
    .brand-visual {
        aspect-ratio: 16 / 10;
        padding: 2rem;
    }
    .brand-name { margin-bottom: 1.25rem; }
}
