/* ==========================================================================
   Sections — headings, grids, CTA banner, feature strip, stat boxes.
   ========================================================================== */

/* --- Page Hero --- */

.page-hero {
    color: var(--white);
}

.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero p,
.page-hero li,
.page-hero a {
    color: var(--white) !important;
}

.page-hero p {
    opacity: 0.9;
}

/* --- Section heading --- */

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-heading h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.1;
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--text);
    max-width: 640px;
}

/* --- Grids --- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Column variants */
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* --- CTA Banner --- */

.cta-banner {
    background: linear-gradient(135deg, #ffffff, #f2f4ff);
    border: 1px solid var(--border);
    border-radius: 34px;
    padding: 44px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
}

/* CTA banner has its own light background — override gradient parent forcing white */
.cta-banner h1,
.cta-banner h2,
.cta-banner h3,
.cta-banner h4,
.cta-banner strong { color: var(--dark) !important; }

.cta-banner p,
.cta-banner li,
.cta-banner a:not(.btn),
.cta-banner span { color: var(--text) !important; }

.cta-banner .stat-box strong { color: var(--secondary) !important; }
.cta-banner .stat-box span { color: var(--muted) !important; }

.cta-banner h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    margin-bottom: 14px;
}

.cta-banner p {
    color: var(--text) !important;
    font-size: 17px;
    margin-bottom: 22px;
    max-width: 620px;
}

/* --- Checklist --- */

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin-bottom: 26px;
    color: var(--text);
    font-weight: 600;
}

.check-list div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(109, 124, 255, 0.14), rgba(138, 75, 214, 0.18));
    color: var(--secondary);
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

/* --- Stat boxes --- */

.stats-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 22px;
    text-align: center;
}

.stat-box strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--secondary);
}

.stat-box span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

/* --- Spacer / divider --- */

.lb-spacer--small  { height: 24px; }
.lb-spacer--medium { height: 48px; }
.lb-spacer--large  { height: 80px; }
.lb-spacer--xl     { height: 120px; }

.lb-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

.lb-divider--narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Text block widths --- */

.lb-text--narrow  { max-width: 720px; }
.lb-text--medium  { max-width: 960px; }
.lb-text--full    { max-width: var(--container); }

.lb-text-center   { text-align: center; }
.lb-text-right    { text-align: right; }

/* --- Video embed --- */

.lb-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.lb-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Responsive --- */

@media (max-width: 1200px) {
    .product-grid,
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .cta-banner,
    .feature-strip,
    .guides-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .product-grid,
    .category-grid,
    .stats-boxes,
    .check-list {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }
}
