/* ============================================
   Charger IT Design System
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: #171717;
    background: #F8F9FA;
}

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

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

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.15;
    color: #171717;
}

h1 {
    font-size: 64px;
    letter-spacing: -2px;
}

h2 {
    font-size: 44px;
    letter-spacing: -1px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 20px;
}

p {
    color: #404040;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-light {
    background: #F8F9FA;
    padding: 80px 0;
}

.section-white {
    background: #FFFFFF;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #555;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #1D3FAA;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 10000;
    font-size: 14px;
}

.skip-link:focus {
    top: 8px;
}

/* ============================================
   Header / Sticky Nav
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}

.site-logo img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.site-header.scrolled {
    background: #0F2942;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo {
    filter: brightness(0) invert(1);
}

.main-nav .nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav .nav-list li a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.main-nav .nav-list li a:hover {
    color: #fff;
}

.header-cta {
    font-size: 15px;
    padding: 10px 20px;
    height: auto;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.mobile-toggle .close-icon {
    display: none;
}

.mobile-toggle[aria-expanded="true"] .hamburger-icon {
    display: none;
}

.mobile-toggle[aria-expanded="true"] .close-icon {
    display: block;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    border-radius: 100px;
    padding: 16px 32px;
    height: 57px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(252deg, #1D3FAA 0%, #1B0958 100%);
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
}

.btn-primary:hover {
    box-shadow: rgba(29, 63, 170, 0.4) 0px 6px 20px;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-ghost:hover {
    border-color: #1D3FAA;
    background: rgba(29, 63, 170, 0.1);
}

/* On light backgrounds */
.section-light .btn-ghost,
.section-white .btn-ghost {
    border-color: rgba(27, 9, 88, 0.2);
    color: #1B0958;
}

.section-light .btn-ghost:hover,
.section-white .btn-ghost:hover {
    border-color: #1D3FAA;
    background: rgba(29, 63, 170, 0.06);
}

.btn-lg {
    font-size: 20px;
    padding: 18px 40px;
    height: 63px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0F2942 0%, #1B0958 100%);
    color: #F7F8F8;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(29, 63, 170, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero--large {
    padding: 160px 0 100px;
    text-align: center;
}

.hero--standard {
    padding: 140px 0 60px;
}

.hero--large .container {
    max-width: 900px;
}

.hero-title {
    color: #F7F8F8;
    margin-bottom: 20px;
}

.hero--standard .hero-title {
    font-size: 48px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 640px;
    line-height: 1.6;
}

.hero--large .hero-subtitle {
    margin: 0 auto 32px;
}

.hero--standard .hero-subtitle {
    margin-bottom: 24px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero--large .hero-ctas {
    justify-content: center;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb-sep {
    margin: 0 8px;
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   Cards
   ============================================ */
.card-grid {
    display: grid;
    gap: 24px;
}

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

.card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 32px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08), 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #1D3FAA;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.card-title {
    margin-bottom: 12px;
}

.card-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #1D3FAA;
    transition: gap 0.2s ease;
}

.card-link:hover {
    gap: 10px;
}

.card-link-arrow {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    padding: 64px 0;
}

.stats-section--light {
    background: #F8F9FA;
}

.stats-section--dark {
    background: linear-gradient(135deg, #0F2942 0%, #1B0958 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #1D3FAA;
    line-height: 1;
    margin-bottom: 8px;
}

.stats-section--dark .stat-value {
    color: #61CE70;
}

.stat-label {
    font-size: 15px;
    font-weight: 500;
    color: #555;
}

.stats-section--dark .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, #0F2942 0%, #1B0958 100%);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.cta-banner-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(29, 63, 170, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner .container {
    position: relative;
}

.cta-banner-title {
    color: #F7F8F8;
    margin-bottom: 16px;
}

.cta-banner-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ============================================
   Logo Ticker
   ============================================ */
.logo-ticker {
    padding: 40px 0;
    background: #FFFFFF;
    overflow: hidden;
}

.logo-ticker-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9CA3AF;
    margin-bottom: 24px;
}

.logo-ticker-track {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-ticker-slide {
    display: flex;
    gap: 64px;
    animation: ticker-scroll 30s linear infinite;
    width: max-content;
}

.logo-ticker-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 40px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.logo-ticker-item:hover {
    opacity: 1;
}

.logo-ticker-item svg {
    height: 32px;
    width: auto;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: #0F2942;
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Industry Blocks
   ============================================ */
.industry-block {
    padding: 48px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.industry-block:last-child {
    border-bottom: none;
}

.industry-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.industry-icon {
    width: 48px;
    height: 48px;
    color: #1D3FAA;
}

.industry-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.industry-desc {
    font-size: 17px;
    color: #404040;
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 20px;
}

.industry-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 700px;
}

.industry-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #404040;
}

@media (max-width: 768px) {
    .industry-highlights {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Benefits List
   ============================================ */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    color: #404040;
    line-height: 1.5;
}

.benefit-icon {
    width: 22px;
    height: 22px;
    stroke: #1D3FAA;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   Service Intro
   ============================================ */
.service-intro {
    padding: 16px 0;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 16px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    stroke: #1D3FAA;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-item strong {
    display: block;
    color: #171717;
    margin-bottom: 2px;
}

.contact-info-item p {
    font-size: 15px;
}

.contact-info-item a {
    color: #1D3FAA;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* ============================================
   Case Studies
   ============================================ */
.case-study {
    padding: 48px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.case-study:last-child {
    border-bottom: none;
}

.case-study-header {
    margin-bottom: 24px;
}

.case-study-industry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1D3FAA;
    margin-bottom: 12px;
}

.case-study-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.case-study-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.case-study-section h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1B0958;
}

.case-study-section p {
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   Assessment Page
   ============================================ */
.assessment-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.assessment-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.assessment-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.assessment-item strong {
    color: #171717;
}

@media (max-width: 768px) {
    .contact-grid,
    .assessment-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .case-study-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================
   Scroll Animations
   ============================================ */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.js-loaded .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   WPForms Overrides
   ============================================ */
.wpforms-container .wpforms-form .wpforms-field-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    color: #171717;
}

.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form textarea,
.wpforms-container .wpforms-form select {
    font-family: 'Inter', system-ui, sans-serif;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form textarea:focus,
.wpforms-container .wpforms-form select:focus {
    border-color: #1D3FAA;
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 63, 170, 0.1);
}

.wpforms-container .wpforms-form .wpforms-submit-container button {
    background: linear-gradient(252deg, #1D3FAA 0%, #1B0958 100%);
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 100px;
    padding: 16px 32px;
    height: 57px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
}

.wpforms-container .wpforms-form .wpforms-submit-container button:hover {
    box-shadow: rgba(29, 63, 170, 0.4) 0px 6px 20px;
    transform: translateY(-2px);
}

/* ============================================
   Contact Form (native)
   ============================================ */
.cit-contact-form {
    max-width: 100%;
}

.cit-contact-form label {
    display: block;
    font-weight: 600;
    color: #171717;
    margin-bottom: 8px;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.cit-contact-form .required { color: #dc2626; }

.cit-contact-form .form-group {
    display: block;
    margin-bottom: 0;
}

.cit-contact-form input[type="text"],
.cit-contact-form input[type="email"],
.cit-contact-form input[type="tel"],
.cit-contact-form textarea,
.cit-contact-form select {
    display: block;
    width: 100%;
    font-family: 'Inter', system-ui, sans-serif;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    color: #171717;
    -webkit-appearance: none;
    appearance: none;
}

.cit-contact-form input::placeholder,
.cit-contact-form textarea::placeholder {
    color: #9CA3AF;
}

.cit-contact-form input:focus,
.cit-contact-form textarea:focus,
.cit-contact-form select:focus {
    border-color: #1D3FAA;
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 63, 170, 0.1);
}

.cit-contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.cit-contact-form .form-row {
    margin-bottom: 20px;
}

.cit-contact-form .form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cit-contact-form .btn-full {
    width: 100%;
    text-align: center;
    font-size: 18px;
    padding: 16px 32px;
    height: 57px;
    cursor: pointer;
}

@media (max-width: 640px) {
    .cit-contact-form .form-row--2col { grid-template-columns: 1fr; }
}

/* ============================================
   Legal Pages (Privacy, Terms)
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 12px;
    color: #1B0958;
}

.legal-content h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 8px;
    color: #171717;
}

.legal-content p {
    margin-bottom: 16px;
    color: #404040;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content ul li {
    margin-bottom: 8px;
    color: #404040;
}

.legal-content .legal-updated {
    font-size: 14px;
    color: #6B7280;
    font-style: italic;
    margin-bottom: 32px;
}

.legal-content .legal-contact {
    list-style: none;
    padding-left: 0;
}

.legal-content .legal-contact li {
    margin-bottom: 4px;
}

.legal-content a {
    color: #1D3FAA;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #1B0958;
}

/* ============================================
   Blog
   ============================================ */

/* --- Blog Listing --- */
.blog-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #404040;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    border-color: #1D3FAA;
    color: #1D3FAA;
}

.filter-pill.active {
    background: linear-gradient(252deg, #1D3FAA 0%, #1B0958 100%);
    color: #fff;
    border-color: transparent;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.blog-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #E5E7EB;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.03);
}

.blog-card-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1D3FAA;
    margin-bottom: 8px;
}

.blog-card-body .card-title {
    margin-bottom: 8px;
    font-size: 22px;
}

.blog-card-body .card-title a {
    color: #171717;
    transition: color 0.2s;
}

.blog-card-body .card-title a:hover {
    color: #1D3FAA;
}

.blog-card-body .card-text {
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-card-footer time {
    font-size: 13px;
    color: #6B7280;
}

.blog-pagination {
    margin-top: 48px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #404040;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.blog-pagination .page-numbers.current {
    background: #1D3FAA;
    color: #fff;
    border-color: #1D3FAA;
}

.blog-pagination .page-numbers:hover:not(.current) {
    border-color: #1D3FAA;
    color: #1D3FAA;
}

.blog-pagination .prev,
.blog-pagination .next {
    width: auto;
    padding: 0 16px;
    font-size: 14px;
}

.blog-empty {
    text-align: center;
    padding: 80px 0;
}

.blog-empty h3 {
    margin-bottom: 12px;
    color: #171717;
}

.blog-empty p {
    font-size: 18px;
    color: #555;
}

/* --- Single Post --- */
.post-category-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #61CE70;
    margin-bottom: 12px;
    transition: opacity 0.2s;
}

.post-category-badge:hover {
    opacity: 0.8;
}

.post-meta-hero {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
}

.post-meta-sep {
    color: rgba(255, 255, 255, 0.3);
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: start;
}

.post-featured-image {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Prose — blog post body typography */
.prose {
    font-size: 17px;
    line-height: 1.8;
    color: #404040;
}

.prose h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 16px;
    color: #171717;
}

.prose h3 {
    font-size: 22px;
    margin-top: 36px;
    margin-bottom: 12px;
    color: #171717;
}

.prose p {
    margin-bottom: 20px;
}

.prose ul, .prose ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: 8px;
    color: #404040;
}

.prose blockquote {
    border-left: 4px solid #1D3FAA;
    margin: 32px 0;
    padding: 16px 24px;
    background: #F8F9FA;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #333;
}

.prose img {
    border-radius: 8px;
    margin: 24px 0;
}

.prose a {
    color: #1D3FAA;
    text-decoration: underline;
}

.prose a:hover {
    color: #1B0958;
}

.prose code {
    background: #F3F4F6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'SFMono-Regular', Consolas, monospace;
}

.prose pre {
    background: #1E293B;
    color: #E2E8F0;
    padding: 20px 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}

.prose pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Post tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    background: #F3F4F6;
    transition: all 0.2s ease;
}

.tag-pill:hover {
    background: #E5E7EB;
    color: #1D3FAA;
}

/* Post sidebar */
.post-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-cta {
    text-align: center;
}

.sidebar-cta h3 {
    margin-bottom: 8px;
}

.sidebar-related h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #171717;
}

.related-post-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.2s;
}

.related-post-link:last-child {
    border-bottom: none;
}

.related-post-link:hover .related-post-title {
    color: #1D3FAA;
}

.related-post-title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #171717;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.related-post-date {
    font-size: 13px;
    color: #6B7280;
}

/* Post navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.post-nav-link {
    display: block;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.post-nav-link:hover {
    border-color: #1D3FAA;
    box-shadow: 0 4px 12px rgba(29, 63, 170, 0.1);
}

.post-nav-next {
    text-align: right;
}

.post-nav-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
    margin-bottom: 6px;
}

.post-nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #171717;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    h1 { font-size: 48px; letter-spacing: -1.5px; }
    h2 { font-size: 36px; }

    .hero--large { padding: 140px 0 80px; }
    .hero--standard .hero-title { font-size: 40px; }

    .card-grid--3col { grid-template-columns: repeat(2, 1fr); }
    .card-grid--4col { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }

    h1 { font-size: 38px; letter-spacing: -1px; }
    h2 { font-size: 30px; letter-spacing: -0.5px; }
    h3 { font-size: 22px; }

    /* Blog responsive */
    .blog-grid { grid-template-columns: 1fr; gap: 24px; }
    .post-layout { grid-template-columns: 1fr; gap: 40px; }
    .post-sidebar { position: static; }
    .post-nav { grid-template-columns: 1fr; gap: 16px; }
    .post-nav-next { text-align: left; }
    .post-meta-hero { flex-wrap: wrap; }

    .container { padding: 0 16px; }

    .section-light, .section-white { padding: 60px 0; }

    /* Header mobile */
    .main-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0F2942;
        padding: 32px 24px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .main-nav .nav-list li a {
        display: block;
        padding: 16px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-inner { height: 64px; padding: 0 16px; }
    .site-logo img { height: 32px; }
    .header-cta { display: none; }
    .mobile-toggle { display: block; }
    .main-nav { top: 64px; }

    /* Hero mobile */
    .hero--large { padding: 100px 0 56px; }
    .hero--standard { padding: 96px 0 40px; }
    .hero-title { font-size: 32px; letter-spacing: -1px; }
    .hero-subtitle { font-size: 16px; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { justify-content: center; }

    /* Logo ticker mobile */
    .logo-ticker { padding: 24px 0; }
    .logo-ticker-label { font-size: 11px; margin-bottom: 16px; }
    .logo-ticker-slide { gap: 40px; }
    .logo-ticker-item svg { height: 28px; }

    /* Cards mobile */
    .card-grid--2col,
    .card-grid--3col,
    .card-grid--4col {
        grid-template-columns: 1fr;
    }

    .card { padding: 24px; }

    /* Stats mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-value { font-size: 36px; }

    /* CTA Banner */
    .cta-banner { padding: 60px 0; }
    .cta-banner-title { font-size: 30px; }

    /* Footer mobile */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-logo { height: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    /* Legal pages mobile */
    .legal-content h2 { font-size: 20px; margin-top: 32px; }
    .legal-content h3 { font-size: 16px; }
}

@media (max-width: 480px) {
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }

    .btn { font-size: 16px; padding: 14px 24px; height: 50px; }
    .btn-lg { font-size: 17px; padding: 15px 28px; height: 54px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-value { font-size: 30px; }
}
