/* ============================= */
/* SECTION BASE SYSTEM */
/* ============================= */

.section {
    position: relative;
     padding: 5rem 0 4rem;
    overflow: hidden;
    scroll-margin-top: var(--header-height);
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0 5rem;
}

/* Soft Background Variant */
.section-soft {
    background: linear-gradient(
        135deg,
        #f8fafc 0%,
        #f1f5f9 100%
    );
}

/* Dark Variant (if using theme system) */
.section-dark {
    background: var(--color-bg);
}

/* ============================= */
/* SECTION HEADER SYSTEM */
/* ============================= */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Optional left-aligned modifier */
.section-header--left {
    text-align: left;
    margin-left: 0;
}

/* ============================= */
/* GRID SYSTEM (Hero-Aligned) */
/* ============================= */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; /* same rhythm as hero */
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* ============================= */
/* CARD BASE SYSTEM */
/* ============================= */

.card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* ============================= */
/* CONTENT WIDTH CONTROL */
/* ============================= */

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}








