/* =============================================================
   Limark Wellness — brand-page.css
   Brand universe pages (Safease, Limark)
   ============================================================= */

.brand-universe { overflow: hidden; }

/* ---- BRAND HERO ---------------------------------------- */
.brand-hero {
    position: relative;
    padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 10vw, 8rem);
    overflow: hidden;
    isolation: isolate;
}
.brand-hero__bg {
    position: absolute; inset: 0;
    z-index: -1;
    opacity: 0.9;
}
.brand-hero--safease .brand-hero__bg {
    background:
        radial-gradient(ellipse at 80% 10%, rgba(74,35,102,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 0% 90%, rgba(158,42,109,0.10) 0%, transparent 60%),
        linear-gradient(170deg, var(--safease-bg) 0%, #EEE0F0 100%);
}
.brand-hero--limark .brand-hero__bg {
    background:
        radial-gradient(ellipse at 85% 15%, rgba(212,168,75,0.16) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(27,42,91,0.10) 0%, transparent 60%),
        linear-gradient(170deg, var(--limark-bg) 0%, #EADFCC 100%);
}
.brand-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 1.5px);
    background-size: 28px 28px;
    z-index: -1;
    opacity: 0.6;
}

.brand-hero__content {
    max-width: 820px;
}
.brand-hero__eyebrow { margin-bottom: 1.25rem; }
.brand-hero__logo { margin-bottom: 1.5rem; }
.brand-hero__logo svg { height: clamp(50px, 8vw, 72px); width: auto; max-width: 100%; }
.brand-hero__heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6.5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.brand-hero__heading em {
    font-style: italic;
    font-weight: 400;
}
.brand-hero--safease .brand-hero__heading em { color: var(--safease-purple); }
.brand-hero--limark .brand-hero__heading em { color: var(--limark-berry); }
.brand-hero__sub {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 56ch;
    margin-bottom: 2rem;
}
.brand-hero__cta-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2.5rem;
}

.brand-hero__stats {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.12);
    max-width: 480px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.01em;
}
.stat__unit { font-size: 0.65em; margin-left: 2px; color: var(--text-secondary); font-weight: 400; }
.stat__label {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: var(--ls-widest);
    color: var(--text-secondary);
}

/* Limark hero — split layout with visual card (web2 inspiration) */
.brand-hero__content--split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: var(--container-wide);
    align-items: center;
}
@media (min-width: 1024px) {
    .brand-hero__content--split {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-2xl);
    }
}
.brand-hero__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
}
.brand-hero__visual-card {
    position: absolute;
    inset: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(27,42,91,0.12);
}
.brand-hero__visual-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: filter 0.6s var(--ease);
}
.brand-hero__visual:hover .brand-hero__visual-card img { filter: grayscale(0) contrast(1); }
.brand-hero__visual-price {
    position: absolute;
    right: -16px; bottom: -16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.brand-hero__visual-price h4 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 500;
    margin: 0;
}
.brand-hero__visual-price .product-card__price {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--limark-navy);
}

/* ---- BRAND PRODUCT CARDS -------------------------------- */
.brand-products { background: var(--white); }
.brand-products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}
@media (min-width: 768px) {
    .brand-products__grid { grid-template-columns: repeat(2, 1fr); }
}
.brand-product {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color var(--t-default);
}
.brand-product:hover { border-color: var(--text-primary); }
.brand-product__media {
    aspect-ratio: 7 / 8;
    overflow: hidden;
    background: var(--warm-gray);
}
.brand-product__media img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transition: transform 0.6s var(--ease);
}
.brand-product:hover .brand-product__media img { transform: scale(1.04); }
.brand-product__body {
    padding: clamp(1.25rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.brand-product__body h3 {
    font-size: var(--fs-2xl);
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0.25rem;
}
.brand-product__body p {
    color: var(--text-secondary);
    line-height: 1.6;
}
.brand-product__meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}
.brand-product__meta li strong {
    display: inline-block;
    min-width: 80px;
    color: var(--text-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    font-size: 11px;
    margin-right: 0.75rem;
}
.brand-product__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

/* ---- WHY BRAND GRID ------------------------------------- */
.why-brand { background: var(--off-white); }
.why-brand--safease { background: var(--safease-bg); }
.why-brand--limark { background: var(--limark-bg); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}
@media (min-width: 768px) {
    .why-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
}
.why-card {
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid transparent;
    transition: border-color var(--t-default), transform var(--t-default);
}
.why-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.why-brand--safease .why-card__icon { color: var(--safease-purple); }
.why-brand--limark .why-card__icon { color: var(--limark-navy); }
.why-card__icon {
    width: 44px; height: 44px;
}
.why-card h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}
.why-card p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.55;
}

/* ---- HOW IT WORKS --------------------------------------- */
.how-works { background: var(--white); }
.how-steps {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
    align-items: flex-start;
}
@media (min-width: 900px) {
    .how-steps {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 1.5rem;
    }
}
.how-step {
    padding: var(--space-md);
    background: var(--off-white);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.how-step__num {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 500;
    color: var(--limark-berry);
    line-height: 1;
    letter-spacing: -0.02em;
}
.brand-universe--safease .how-step__num { color: var(--safease-purple); }
.how-step h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 500;
}
.how-step p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.5;
}
.how-step-arrow {
    color: var(--text-tertiary);
    font-size: 1.5rem;
    align-self: center;
    display: none;
}
@media (min-width: 900px) { .how-step-arrow { display: block; } }

/* ---- REVIEWS SECTION ----------------------------------- */
.reviews-section {
    background: var(--off-white);
}
.reviews-grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- INGREDIENT SPOTLIGHT ------------------------------ */
.ingredient-spotlight { background: var(--limark-bg); }
.ingredient-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 900px;
    margin-inline: auto;
}
@media (min-width: 640px) { .ingredient-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ingredient-grid { grid-template-columns: repeat(5, 1fr); } }
.ingredient-pill {
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid transparent;
    transition: border-color var(--t-default);
}
.ingredient-pill:hover { border-color: var(--limark-navy); }
.ingredient-pill strong {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 500;
    color: var(--limark-navy);
    line-height: 1;
}
.ingredient-pill {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    color: var(--text-secondary);
}

/* ---- CROSS-SELL ---------------------------------------- */
.cross-sell {
    background: var(--white);
    border-top: 1px solid var(--border-light);
}
.cross-sell--to-limark { background: var(--limark-bg); }
.cross-sell--to-safease { background: var(--safease-bg); }
.cross-sell__grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .cross-sell__grid { grid-template-columns: repeat(2, 1fr); } }
