/* ============================================
   LAYOUT — Container, Grid, Sections
   ============================================ */

:root { --container-max: 1280px; --gutter: 24px; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--sm { padding: 48px 0; }

/* Grid */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-5 { grid-template-columns: repeat(5,1fr); }

/* Flex */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.gap-xl { gap: 32px; }
.text-center { text-align: center; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 32px; }
.mb-2xl { margin-bottom: 48px; }
.w-full { width: 100%; }
.hidden { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(255,255,255,0.2); box-shadow: 0 2px 40px rgba(18,28,42,0.03); }
.site-header__nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; max-width: 1280px; margin: 0 auto; }

/* Footer */
.site-footer { background: #f8fafc; padding: 64px 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.site-footer__bottom { max-width: 1280px; margin: 64px auto 0; padding-top: 32px; border-top: 1px solid #e2e8f0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.875rem; color: #94a3b8; }

/* Mobile Sticky CTA */
.sticky-cta { position: fixed; bottom: 0; left: 0; width: 100%; display: flex; justify-content: space-around; align-items: center; padding: 12px 16px 24px; background: #fff; border-top: 1px solid #f1f5f9; border-radius: 32px 32px 0 0; box-shadow: 0 -4px 20px rgba(0,74,198,0.1); z-index: 50; }
.sticky-cta__item { display: flex; flex-direction: column; align-items: center; color: #64748b; padding: 8px 20px; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-container)); padding: 96px 24px; position: relative; overflow: hidden; }

/* Responsive */
@media (max-width: 767px) {
    .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .md-show { display: none; }
}
@media (min-width: 768px) {
    .mobile-only { display: none; }
    .sticky-cta { display: none; }
}
