.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container { padding: 0 var(--space-md); }
}

section {
    position: relative;
}

.section-pad {
    padding: var(--space-3xl) 0;
}

@media (max-width: 900px) {
    .section-pad { padding: var(--space-2xl) 0; }
}

.section-head {
    max-width: 680px;
    margin-bottom: var(--space-xl);
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head p {
    font-size: 1.1rem;
    max-width: 560px;
}

.section-dark {
    background: var(--color-dark);
    color: var(--color-light-gray);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--color-white);
}

.section-dark p { color: rgba(232, 236, 232, 0.75); }

.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

.flex {
    display: flex;
    align-items: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: var(--space-xl); }
}

.rounded-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.rounded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
