/* ==========================================================================
   Layout — Concentio Website
   Navigation, sections, footer
   ========================================================================== */

/* --- Navigation --- */
.site-nav {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition: background 0.2s, box-shadow 0.2s;
    z-index: 1030;
}

.site-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-xs);
}

.site-nav .nav-brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.site-nav .nav-brand img {
    height: 28px;
    width: auto;
}

.site-nav .nav-link {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    transition: color 0.15s;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--neutral-900);
}

/* --- Sections --- */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 6.5rem 0;
}

.section-alt {
    background: var(--neutral-50);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-500);
    max-width: 600px;
}

.section-subtitle.mx-auto { text-align: center; }

/* --- Hero --- */
.hero {
    padding: 6rem 0 3.5rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--neutral-950);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-500);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-cta .btn { padding: 0.625rem 1.5rem; font-weight: 600; }
.hero-cta .btn + .btn { margin-left: 0.75rem; }

.hero-note {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--neutral-400);
}

/* --- Footer --- */
.site-footer {
    background: var(--neutral-50);
    border-top: 1px solid var(--neutral-200);
    padding: 3.5rem 0 2rem;
    font-size: 0.875rem;
    color: var(--neutral-500);
}

.site-footer .footer-brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.site-footer .footer-brand img {
    height: 24px;
    width: auto;
}

.site-footer h6 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--neutral-400);
    margin-bottom: 0.75rem;
}

.site-footer a {
    color: var(--neutral-600);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer a:hover { color: var(--neutral-900); }

.site-footer .footer-bottom {
    border-top: 1px solid var(--neutral-200);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    color: var(--neutral-400);
    font-size: 0.8125rem;
}

/* --- Skip link --- */
.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--brand-600);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

/* --- Responsive table wrapper --- */
.table-responsive-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- Responsive --- */
@media (max-width: 767.98px) {
    .hero { padding: 3.5rem 0 3rem; }
    .hero-title { font-size: 2.125rem; }
    .hero-subtitle { font-size: 1.0625rem; }
    .section { padding: 3rem 0; }
    .section-lg { padding: 4rem 0; }
    .section-title { font-size: 1.625rem; }
    .hero-cta .btn + .btn { margin-left: 0; margin-top: 0.5rem; }
    .hero-cta { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
    .hero-cta .btn + .btn { margin-left: 0; }
}
