/*
 * Dynamic Content Hub design tokens and shared layout primitives.
 */

:root {
    --dch-navy: #334155;
    --dch-navy-dark: #1e293b;
    --dch-red: #dc2626;
    --dch-red-dark: #b91c1c;
    --dch-bg-soft: #f8fafc;
    --dch-card-bg: #ffffff;
    --dch-text-main: #1e293b;
    --dch-text-muted: #64748b;
    --dch-border: #e2e8f0;
    --dch-shadow-soft: 0 16px 40px rgba(51, 65, 85, 0.08);
    --dch-shadow-hover: 0 20px 48px rgba(51, 65, 85, 0.12);
    --dch-shadow-card: 0 8px 28px rgba(15, 23, 42, 0.08);
    --dch-font-light: 300;
    --dch-font-normal: 400;
    --dch-font-medium: 500;
    --dch-font-semibold: 600;
    --dch-font-bold: 700;
    --dch-font-extrabold: 800;

    --dch-leading-tight: 1.25;
    --dch-leading-snug: 1.375;
    --dch-leading-normal: 1.5;
    --dch-leading-relaxed: 1.625;

    --font-primary: 'Inter', sans-serif;
    --font-bold: var(--dch-font-bold);
    --font-extrabold: var(--dch-font-extrabold);

    --color-primary: var(--dch-navy);
    --color-secondary: var(--dch-navy-dark);
    --color-accent: var(--dch-red);
    --color-text-primary: var(--dch-text-main);
    --color-text-secondary: #475569;
    --color-text-muted: var(--dch-text-muted);
    --color-text-light: #ffffff;
    --color-bg-white: #ffffff;
    --color-bg-light: #eef2f7;

    --shadow-md: var(--dch-shadow-soft);
    --shadow-lg: var(--dch-shadow-card);
    --shadow-xl: var(--dch-shadow-hover);

    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;

    --space-2: var(--dch-space-2);
    --space-3: var(--dch-space-3);
    --space-4: var(--dch-space-4);
    --space-5: var(--dch-space-5);
    --space-6: var(--dch-space-6);
    --space-8: var(--dch-space-8);
    --space-10: var(--dch-space-10);
    --space-12: var(--dch-space-12);

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    --leading-tight: var(--dch-leading-tight);
    --leading-snug: var(--dch-leading-snug);
    --leading-normal: var(--dch-leading-normal);
    --leading-relaxed: var(--dch-leading-relaxed);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--dch-text-main);
    background: var(--dch-bg-white, #ffffff);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--dch-font-bold);
    line-height: var(--dch-leading-tight);
    color: var(--dch-navy);
    margin-top: 0;
}

h1 { font-size: var(--text-5xl); letter-spacing: -0.02em; font-weight: var(--dch-font-extrabold); }
h2 { font-size: var(--text-4xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.btn,
.btn-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--dch-radius-btn);
    padding: 12px 24px;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn-soft:hover {
    transform: translateY(-2px);
}

.btn--primary,
.btn-soft {
    background: var(--dch-navy);
    color: #ffffff;
}

.btn--primary:hover,
.btn-soft:hover {
    background: var(--dch-navy-dark);
    color: #ffffff;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.animate-fade-up {
    animation: dchFadeUp 0.8s ease both;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dch-navy);
    margin: 0 0 48px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--dch-text-muted);
}

.breadcrumb a {
    color: inherit;
    font-weight: 600;
}

.breadcrumb--center {
    justify-content: center;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 16px;
}

.dch-breadcrumb-strip {
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
    padding: 15px 0;
}

.page-banner {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.95), rgba(51, 65, 85, 0.6));
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.9), rgba(51, 65, 85, 0.6));
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    margin: 0 0 16px;
    line-height: 1.1;
}

.page-banner p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.65;
}

@keyframes dchFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .page-banner {
        padding: 140px 0 72px;
    }
}
