/* ============================================================
   LIATTO — Main Stylesheet
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --white: #ffffff;
    --light-blue: #F5F7FC;
    --dark-blue: #116FFF;
    --heading-color: #141414;
    --text-color: #000000;
    --nav-color: #70665C;
    --font-heading: 'Questrial', sans-serif;
    --font-label: 'Arimo', sans-serif;
    --font-body: 'Raleway', sans-serif;
    --font-ui: 'Inter', sans-serif;
    --max-width: 1400px;
    --section-pad: 96px 0;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(17,111,255,0.08);
    --shadow-card: 0 2px 16px rgba(0,0,0,0.07);
    --transition: 0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overscroll-behavior-x: none; }
body { font-family: var(--font-body); color: var(--text-color); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; overscroll-behavior-x: none; max-width: 100vw; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--heading-color); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { line-height: 1.78; font-size: 1.12rem; }

.section-label {
    font-family: var(--font-label);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin-bottom: 12px;
    display: block;
}
.section-title { margin-bottom: 20px; }
.section-desc { color: #444; max-width: 780px; margin-bottom: 16px; font-size: 1.08rem; }

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

/* ---- Buttons ---- */
.btn {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: 100px;
    display: inline-block;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--dark-blue);
    color: var(--white);
}
.btn-primary:hover { background: #0058e0; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(17,111,255,0.3); }
.btn-ghost {
    background: transparent;
    color: var(--heading-color);
    border: 1.5px solid #ddd;
}
.btn-ghost:hover { border-color: var(--dark-blue); color: var(--dark-blue); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition), background 0.3s ease;
    overflow: visible;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.navbar.menu-open {
    bottom: 0;
    background: #fff;
    backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
    overflow-y: auto;
}
.navbar.menu-open .nav-logo img { filter: none; }
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}
.nav-logo img { height: 32px; }
.nav-links {
    display: flex;
    gap: 36px;
    margin-left: auto;
}
.nav-links a {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--nav-color);
    transition: color var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--dark-blue);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.nav-links a:hover { color: var(--dark-blue); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 12px; padding: 10px 22px; font-size: 0.85rem; }
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; padding: 4px; margin-left: auto; background: none; border: none; outline: none; cursor: pointer; width: 32px; height: 32px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--heading-color); transition: transform 0.35s ease, opacity 0.25s ease, background 0.25s ease; transform-origin: center; }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--heading-color); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--heading-color); }

/* Fullscreen mobile overlay — expands inside .navbar.menu-open */
.nav-mobile {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    padding: 100px 40px 60px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}
.nav-mobile.open { transform: translateX(0); visibility: visible; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 0; list-style: none; padding: 0; margin: 0; }
.nav-mobile ul li { border-bottom: 1px solid rgba(15,26,43,0.1); }
.nav-mobile a { font-family: var(--font-heading); font-size: 2.15rem; color: var(--nav-color); display: block; padding: 20px 0; transition: color 0.2s; text-decoration: none; }
.nav-mobile a:hover { color: var(--dark-blue); }
.nav-mobile .btn,
.nav-mobile .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    min-width: 220px;
    font-size: 1.25rem;
    padding: 18px 42px;
    border-bottom: none;
    color: #fff !important;
}
.nav-mobile ul li:has(.btn) { border-bottom: none; }

/* ---- Mega dropdown ---- */
.nav-has-mega { position: relative; }
.nav-has-mega > a {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-chevron {
    width: 12px; height: 12px;
    flex-shrink: 0;
    transition: transform 0.22s ease;
    color: currentColor;
}
.nav-has-mega.mega-open > a .nav-chevron,
.nav-has-mega:hover > a .nav-chevron { transform: rotate(180deg); }

/* Active section indicator */
.nav-has-mega > a.in-section {
    color: var(--dark-blue);
}
.nav-has-mega > a.in-section::after { transform: scaleX(1); }

/* Panel */
.nav-mega-panel {
    position: absolute;
    top: calc(100% + 22px);
    left: -280px;
    transform: translateY(8px);
    width: min(1120px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    min-width: 920px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(14,30,61,0.16), 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 900;
}
.nav-has-mega.mega-open .nav-mega-panel {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* Blue accent top bar */
.nav-mega-panel::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-blue), #5ba5ff);
}

/* Inner grid */
.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 12px;
}

/* Each item */
.nav-mega-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px 20px;
    border-radius: 12px;
    color: inherit;
    position: relative;
    transition: background 0.15s;
}
.nav-mega-item:hover { background: var(--light-blue); }
.nav-mega-item.is-active {
    background: rgba(17,111,255,0.07);
}
.nav-mega-item.is-active::before {
    content: '';
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 3px;
    background: var(--dark-blue);
    border-radius: 0 3px 3px 0;
}
.nav-mega-num {
    font-family: var(--font-label);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-blue);
    opacity: 0.5;
}
.nav-mega-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    color: var(--heading-color);
    line-height: 1.25;
}
.nav-mega-desc {
    font-family: var(--font-ui);
    font-size: 0.76rem;
    color: #999;
    line-height: 1.5;
    margin-top: 1px;
}

/* Bottom bar inside panel */
.nav-mega-footer {
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.nav-mega-footer a {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-mega-footer a::after { display: none; }
.nav-mega-footer a:hover { opacity: 0.75; }

@media (max-width: 1100px) {
    .nav-mega-panel {
        min-width: 0;
        width: min(720px, calc(100vw - 32px));
    }

    .nav-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile sub-items */
.nav-mobile-sub {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 12px 16px;
    border-left: 2px solid rgba(15,26,43,0.12);
}
.nav-mobile-sub.open { display: flex; }
.nav-mobile-sub a {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    color: var(--nav-color);
    padding: 8px 0;
    border-bottom: none;
}
.nav-mobile-sub a:hover { color: var(--dark-blue); }
.nav-mobile-sub a.is-active { color: var(--dark-blue); }
.nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}
.nav-mobile-toggle > a {
    font-family: var(--font-heading);
    font-size: 2.15rem;
    color: var(--nav-color);
}
.nav-mobile-toggle svg { stroke: var(--heading-color); transition: transform 0.2s; }
.nav-mobile-toggle.open svg { transform: rotate(180deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 120px 24px 140px;
    background: var(--white) url('../images/Homepage hero section background image.png') center 115% / 120% no-repeat;
    overflow: hidden;
    text-align: center;
    animation: waveCircle 14s linear infinite;
    margin-bottom: -36px;
    position: relative;
    z-index: 1;
}
@keyframes waveCircle {
    0%   { background-position: 55% 55%; }
    25%  { background-position: 45% 55%; }
    50%  { background-position: 45% 45%; }
    75%  { background-position: 55% 45%; }
    100% { background-position: 55% 55%; }
}
.hero-content {
    max-width: 860px;
    margin: 0 auto;
    padding-top: 28px;
    padding-bottom: 64px;
}
.hero-eyebrow {
    font-family: var(--font-label);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--heading-color);
    margin-bottom: 24px;
    display: block;
}
.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--heading-color);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-actions .btn-primary {
    border-radius: 100px;
    padding: 14px 32px;
}
.hero-actions .btn-ghost {
    border-radius: 100px;
    padding: 14px 32px;
    border: none;
    background: var(--white);
    color: var(--heading-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.hero-wave {
    width: 100%;
    margin-top: -20px;
}
.hero-wave img {
    width: 100%;
    display: block;
    object-fit: cover;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================================
   FOUR PILLARS
   ============================================================ */
.pillars {
    padding: var(--section-pad);
    background: var(--light-blue);
    position: relative;
    z-index: 2;
}
.pillars-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 64px;
}
.pillars-intro-text {
    padding-left: 100px;
}
.pillars-intro-text .section-title { margin-bottom: 28px; }
.pillars-intro-image { display: flex; justify-content: center; }
.pillars-hero-img {
    width: 55%;
    object-fit: contain;
    background: transparent;
    animation: float 6s ease-in-out infinite;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.pillar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}
.pillar-icon img { width: 100%; height: 100%; object-fit: contain; background: transparent; }
.pillar-card h3 { margin-bottom: 14px; font-size: 22px; }
.pillar-lead { font-weight: 600; color: var(--heading-color) !important; margin-bottom: 10px !important; line-height: 1.4; }
.pillar-card p { font-size: 1rem; color: #444; line-height: 1.65; margin-bottom: 20px; }
.pillar-link {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--heading-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition);
}
.pillar-link:hover { gap: 12px; }

/* ============================================================
   EXPERTISE
   ============================================================ */
.expertise {
    padding: var(--section-pad);
    background: var(--white);
}
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.expertise-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
}
.expertise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.expertise-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.expertise-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.expertise-card:hover .expertise-img img { transform: scale(1.04); }
.expertise-card h3, .expertise-card p, .expertise-card .pillar-link {
    padding: 0 20px;
}
.expertise-card h3 { padding-top: 24px; margin-bottom: 12px; font-size: 1.1rem; }
.expertise-card p { font-size: 1rem; color: #444; line-height: 1.6; padding-bottom: 4px; }
.expertise-card .pillar-link { display: block; padding-bottom: 24px; padding-top: 14px; }

/* ============================================================
   LOGO SLIDER
   ============================================================ */
.logos-section {
    padding: 24px 0 96px;
    background: var(--white);
    overflow: hidden;
    contain: paint;
}
.logos-label {
    font-family: var(--font-label);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    text-align: center;
    margin-bottom: 32px;
}
.logos-slider-wrapper {
    overflow: hidden;
    position: relative;
}
.logos-slider-wrapper::before,
.logos-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
}
.logos-slider-wrapper::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.logos-slider-wrapper::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.logos-track {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: slide 28s linear infinite;
    width: max-content;
}
.logos-track:hover { animation-play-state: paused; }
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.logo-item {
    display: flex;
    align-items: center;
    opacity: 0.65;
    transition: opacity var(--transition);
    flex-shrink: 0;
}
.logo-item:hover { opacity: 1; }
.logo-item img { height: 36px; width: auto; object-fit: contain; background: transparent; filter: grayscale(100%); transition: filter var(--transition); }
.logo-item:hover img { filter: grayscale(0%); }
.logo-text {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    color: #999;
    white-space: nowrap;
}

/* ============================================================
   AI MARKETING SCHEMA
   ============================================================ */
.ai-schema {
    padding: var(--section-pad);
    background: var(--light-blue);
    text-align: center;
}
.ai-schema .section-title { margin-bottom: 12px; }
.ai-schema .section-desc { margin: 0 auto 0; }
.ai-label { color: var(--heading-color); }
.ai-intro-grid, .ai-components-grid { text-align: left; }
.ai-intro-text .btn, .ai-component-text .btn {
    border-radius: 100px;
    margin-top: 24px;
}
.ai-intro-grid, .ai-components-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 5px;
}
.ai-components-grid { margin-top: 10px; }
.ai-intro-text h3, .ai-component-text h3 {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    margin-bottom: 20px;
    color: var(--heading-color);
}
.ai-intro-text {
    padding-left: 150px;
}
.ai-component-text {
    padding-right: 150px;
}
.ai-intro-text p, .ai-component-text p {
    color: #444;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.ai-intro-text .btn, .ai-component-text .btn { margin-top: 12px; }
.ai-intro-visual img, .ai-component-visual img {
    width: 100%;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}
.ai-intro-visual img {
    animation: planetSpin 120s linear infinite;
    transform-origin: center center;
}
@keyframes planetSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-studies-section {
    padding: var(--section-pad);
    background: var(--dark-blue);
}
.case-studies-section .section-label { color: rgba(255,255,255,0.65); }
.case-studies-section .section-title { color: var(--white); margin-bottom: 40px; }
.cs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cs-view-all {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}
.cs-view-all-link {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255,255,255,0.35);
    padding-bottom: 4px;
    transition: color var(--transition), border-color var(--transition);
}
.cs-view-all-link:hover {
    color: rgba(255,255,255,0.78);
    border-color: rgba(255,255,255,0.78);
}
.cs-card {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), background var(--transition);
    border: 1px solid rgba(255,255,255,0.12);
}
.cs-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); }
.cs-img { aspect-ratio: 16/10; overflow: hidden; }
.cs-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cs-card:hover .cs-img img { transform: scale(1.04); }
.cs-content { padding: 20px; }
.cs-content h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.cs-content p { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.6; margin-bottom: 16px; }
.cs-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cs-card-tag {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 3px 10px;
    border-radius: 100px;
}
.cs-link {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: var(--section-pad);
    background: var(--white);
}
.testimonials .section-title { text-align: center; margin-bottom: 48px; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--light-blue);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); }
.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial-author strong {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading-color);
}
.testimonial-author span {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    color: #888;
}

/* ============================================================
   FAQs
   ============================================================ */
.faqs {
    padding: var(--section-pad);
    background: var(--white);
}
.faqs .section-label { display: none; }
.faqs .section-title { text-align: center; margin-bottom: 48px; }
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}
.faq-item {
    border-bottom: 1px solid #e0e4ed;
    padding: 4px 0;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--heading-color);
    text-align: left;
    line-height: 1.5;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--dark-blue); }
.faq-icon {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--dark-blue);
    flex-shrink: 0;
    transition: transform var(--transition);
    line-height: 1;
    margin-top: 2px;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    padding-bottom: 20px;
}
.faq-answer.open { max-height: 500px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 96px 24px;
    background: var(--dark-blue);
    text-align: center;
}
.cta-section h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 36px; line-height: 1.7; }
.cta-section .btn-primary { background: #fff; color: var(--dark-blue); }
.cta-section .btn-primary:hover { background: rgba(255,255,255,0.9); }
.cta-section.cta-section-light,
.cta-section.tl-cta {
    background: #fff;
}
.cta-section.cta-section-light h2,
.cta-section.tl-cta h2 {
    color: #141414;
}
.cta-section.cta-section-light p,
.cta-section.tl-cta p {
    color: #5b6472;
}
.cta-section.cta-section-light .btn-primary,
.cta-section.tl-cta .btn-primary {
    background: #116FFF;
    color: #fff;
}
.cta-section.cta-section-light .btn-primary:hover,
.cta-section.tl-cta .btn-primary:hover {
    background: #0058e0;
}

/* ============================================================
   EXPERTISE PAGES
   ============================================================ */
/* --- Main expertise.php hero --- */
.expertise-page-hero {
    margin-top: 10px;
    padding: 72px 0 64px;
    background: #fff;
}
.expertise-page-hero-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: center;
}
.expertise-page-copy { max-width: 100%; }
.expertise-page-copy h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
}
.expertise-page-lead {
    font-size: 1.18rem;
    line-height: 1.75;
    color: #3b3b3b;
    margin-bottom: 20px;
}
.expertise-page-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #444;
    margin-bottom: 28px;
}
.expertise-page-copy .hero-actions {
    justify-content: flex-start;
}
.expertise-page-visual {
    padding-top: 8px;
}
.expertise-page-visual img {
    width: 85%;
    display: block;
    object-fit: contain;
    border-radius: 0;
    margin: 0 auto;
}

/* --- Individual sector page hero (split-screen) --- */
.industry-page-hero {
    margin-top: 68px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
    overflow: hidden;
}
.ind-hero-copy-col {
    background: linear-gradient(160deg, #ffffff 0%, #f4f7ff 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 80px 64px 80px 40px;
}
.ind-hero-copy { max-width: 540px; width: 100%; }
.ind-hero-copy h1 {
    font-size: clamp(1.9rem, 2.8vw, 2.8rem);
    line-height: 1.12;
    margin-bottom: 20px;
}
.ind-hero-lead {
    font-size: 1.15rem;
    line-height: 1.78;
    color: #3b3b3b;
    margin-bottom: 16px;
}
.ind-hero-body {
    font-size: 1.1rem;
    line-height: 1.82;
    color: #444;
    margin-bottom: 32px;
}
.ind-hero-img-col { overflow: hidden; }
.ind-hero-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Shared section styles --- */
.expertise-page-section {
    padding: 96px 0;
    background: var(--white);
}
.expertise-page-section-soft { background: #f4f6fc; }
.expertise-page-section-dark {
    padding: 96px 0;
    background: var(--dark-blue);
}
.expertise-intro-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}
.expertise-rich-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.expertise-rich-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #444;
}

/* --- Sector cards (expertise.php) --- */
.expertise-sector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.expertise-sector-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(17,39,84,0.07);
    box-shadow: 0 8px 32px rgba(17,39,84,0.07);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.expertise-sector-card:hover {
    box-shadow: 0 20px 56px rgba(17,39,84,0.13);
    transform: translateY(-4px);
}
.expertise-sector-image {
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: #eef2ff;
}
.expertise-sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.expertise-sector-card:hover .expertise-sector-image img { transform: scale(1.04); }
.expertise-sector-body { padding: 32px; }
.expertise-sector-body h3 { font-size: 1.3rem; margin-bottom: 12px; }
.expertise-sector-body p { color: #444; font-size: 1.1rem; line-height: 1.75; margin-bottom: 20px; }

/* --- Service cards --- */
.expertise-service-grid {
    max-width: var(--max-width);
    margin: 48px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.expertise-service-card {
    padding: 32px 28px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.16);
}
.expertise-service-card-light {
    background: #fff;
    border: 1.5px solid rgba(17,39,84,0.08);
    border-top: 3px solid var(--dark-blue);
    box-shadow: 0 6px 24px rgba(17,39,84,0.06);
}
.expertise-service-card p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.72;
}
.expertise-service-card-light p { color: var(--heading-color); }

/* --- How We Can Help — editorial split layout --- */
.exp-help-split {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 48px;
}
.exp-help-intro {
    position: sticky;
    top: 100px;
}
.exp-help-intro .section-label { margin-bottom: 16px; }
.exp-help-intro h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); line-height: 1.2; margin-bottom: 16px; }
.exp-help-intro p { font-size: 1.1rem; color: #4a4a4a; line-height: 1.7; }
.exp-help-list { display: flex; flex-direction: column; }
.exp-help-row {
    display: flex;
    align-items: baseline;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid #eaecf5;
}
.exp-help-row:first-child { border-top: 1px solid #eaecf5; }
.exp-help-num {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--dark-blue);
    opacity: 0.45;
    min-width: 28px;
    flex-shrink: 0;
}
.exp-help-text {
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--heading-color);
    font-family: var(--font-body);
}

@media (max-width: 900px) {
    .exp-help-split { grid-template-columns: 1fr; gap: 32px; }
    .exp-help-intro { position: static; }
}

/* --- Sector hero — button right-aligned --- */
.ind-hero-copy .hero-actions { justify-content: flex-start; }

/* ============================================================
   THOUGHT LEADERSHIP PAGE
   ============================================================ */

/* --- Hero --- */
.tl-hero {
    margin-top: 68px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 640px;
    overflow: hidden;
}
.tl-hero-copy-col {
    background: linear-gradient(160deg, #ffffff 0%, #f4f7ff 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 80px 64px 80px 40px;
}
.tl-hero-copy {
    max-width: 560px;
    width: 100%;
}
.tl-hero-h1 {
    font-size: clamp(2.6rem, 3.8vw, 4rem);
    line-height: 1.08;
    margin-bottom: 20px;
    color: var(--heading-color);
}
.tl-hero-text {
    color: #444;
    font-size: 1.15rem;
    line-height: 1.78;
    margin-bottom: 32px;
    max-width: 480px;
}
.tl-hero-img-col {
    overflow: hidden;
    position: relative;
}
.tl-hero-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Problem --- */
.tl-problem {
    padding: 100px 0;
    background: #fff;
}
.tl-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.tl-problem-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
}
.tl-problem-visual-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #0a3378 0%, #061a50 55%, #020d2e 100%);
}
.tl-problem-visual-bg::before {
    content: '';
    position: absolute;
    bottom: -80px; right: -80px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17,111,255,0.28) 0%, transparent 68%);
}
.tl-problem-visual-bg::after {
    content: '';
    position: absolute;
    top: -40px; left: -40px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100,170,255,0.15) 0%, transparent 70%);
}
.tl-problem-visual-content {
    position: relative;
    z-index: 1;
    padding: 48px 44px;
}
.tl-pv-num {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 10vw, 8.5rem);
    color: #fff;
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}
.tl-pv-text {
    color: rgba(255,255,255,0.68);
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 290px;
    font-family: var(--font-body);
}
.tl-problem-copy h2 {
    margin-bottom: 20px;
}
.tl-problem-copy p {
    color: #444;
    font-size: 1.12rem;
    line-height: 1.78;
    margin-bottom: 14px;
}

/* --- Framework --- */
.tl-framework {
    padding: 100px 0;
    background: #f4f6fc;
}
.tl-framework-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.tl-framework-h2 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 20px;
}
.tl-framework-lead {
    color: #444;
    font-size: 1.15rem;
    line-height: 1.78;
}
.tl-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.tl-card {
    background: #fff;
    border: 1px solid rgba(17,39,84,0.07);
    border-top: 3px solid #116FFF;
    border-radius: 16px;
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(17,39,84,0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.tl-card:hover {
    box-shadow: 0 16px 48px rgba(17,39,84,0.11);
    transform: translateY(-4px);
}
.tl-card-num {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    line-height: 1;
    color: var(--dark-blue);
    opacity: 0.12;
    letter-spacing: -0.02em;
    margin-bottom: -4px;
}
.tl-card-title {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.35;
    color: var(--heading-color);
}
.tl-card-body {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.72;
}

/* --- Influence --- */
.tl-influence {
    padding: 96px 0;
    background: #116FFF;
}
.tl-influence-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    padding: 0 24px;
}
.tl-influence-h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}
.tl-influence-copy p {
    color: rgba(255,255,255,0.82);
    font-size: 1.12rem;
    line-height: 1.75;
    margin-bottom: 16px;
}
.tl-this-is-for {
    color: #fff;
    font-weight: 600;
    font-size: 1.12rem;
    margin-top: 28px;
    margin-bottom: 14px;
}
.tl-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tl-bullet-list li {
    color: rgba(255,255,255,0.88);
    font-size: 1.08rem;
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
}
.tl-bullet-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    position: absolute;
    left: 0;
    top: 10px;
}
.tl-sphere-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}
.tl-influence-visual img {
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(115,202,255,0.3);
    display: block;
    margin: 0 auto;
}

/* --- CTA --- */
.tl-cta {
    padding-top: 96px;
    padding-bottom: 96px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #F5F4F0;
    color: var(--heading-color);
    padding: 72px 24px 0;
}
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

/* Brand column */
.footer-brand-col img { margin-bottom: 14px; }
.footer-brand-col > p { font-size: 0.88rem; line-height: 1.65; color: #555; max-width: 220px; }
.footer-partner-block { margin-top: 28px; }
.footer-partner-label {
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
    display: block;
    margin-bottom: 10px;
}
.footer-partner-block img { opacity: 0.85; }

/* Nav columns */
.footer-col-label {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 18px;
    display: block;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
    list-style: none;
}
.footer-col a {
    font-size: 0.9rem;
    color: #444;
    transition: color var(--transition);
    line-height: 1.4;
}
.footer-col a:hover { color: var(--dark-blue); }

/* Connect column */
.footer-connect-list { display: flex; flex-direction: column; gap: 11px; list-style: none; }
.footer-connect-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #444;
    transition: color var(--transition);
}
.footer-connect-link:hover { color: var(--dark-blue); }
.footer-connect-link svg { flex-shrink: 0; opacity: 0.7; }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 20px 0;
}
.footer-bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.footer-bottom p { font-size: 0.82rem; color: #aaa; }

/* ============================================================
   CASE STUDY DETAIL PAGE
   ============================================================ */

/* Breadcrumb */
.csd-breadcrumb {
    padding: 28px 24px 0;
    max-width: var(--max-width);
    margin: 68px auto 0;
}
.csd-breadcrumb a {
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}
.csd-breadcrumb a:hover { color: var(--dark-blue); }

/* Hero */
.csd-hero {
    padding: 48px 24px 80px;
    background: var(--white);
}
.csd-hero-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.csd-meta {
    display: flex;
    flex-direction: column;
    padding-left: 80px;
    padding-right: 50px;
}
.csd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.csd-tag {
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-blue);
    background: rgba(17,111,255,0.07);
    padding: 5px 14px;
    border-radius: 100px;
}
.csd-client-name {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: 1.08;
    color: var(--heading-color);
    margin-bottom: 20px;
}
.csd-summary {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 40px;
}
.csd-logo-block { display: flex; flex-direction: column; gap: 8px; }
.csd-logo-label {
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
}
.csd-logo-block img {
    height: 36px;
    width: auto;
    object-fit: contain;
    object-position: left;
}
.csd-hero-image {
    position: relative;
}
.csd-hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(0,0,0,0.12);
    display: block;
}

/* Stats bar */
.csd-stats {
    background: #116FFF;
    padding: 64px 24px;
}
.csd-stats-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.csd-stat {
    text-align: center;
    padding: 0 40px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.csd-stat:last-child { border-right: none; }
.csd-stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}
.csd-stat-label {
    font-family: var(--font-ui);
    font-size: 18px;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}

/* Body sections: Challenge / Approach / Results */
.csd-section {
    padding: var(--section-pad);
}
.csd-section.light { background: var(--white); }
.csd-section.tinted { background: var(--light-blue); }
.csd-section-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: flex-start;
    padding: 0 24px;
}
.csd-section-heading {
    position: sticky;
    top: 100px;
}
.csd-section-label {
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin-bottom: 10px;
    display: block;
}
.csd-section-heading h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--heading-color);
    line-height: 1.2;
}
.csd-section-body p {
    font-size: 1.08rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}
.csd-section-body p:last-child { margin-bottom: 0; }

/* Inline quote within results */
.csd-inline-quote {
    border-left: 3px solid var(--dark-blue);
    padding: 20px 24px;
    margin: 32px 0;
    background: rgba(17,111,255,0.04);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.csd-inline-quote p {
    font-family: var(--font-heading);
    font-size: 1.2rem !important;
    color: var(--heading-color) !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
}
.csd-inline-quote cite {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: #888;
    font-style: normal;
}

/* Case studies index page */
.cs-index {
    padding: var(--section-pad);
    background: var(--white);
}
.cs-index .section-title { margin-bottom: 48px; }

/* Body text formatting */
.csd-lead {
    font-family: var(--font-heading);
    font-size: 1.2rem !important;
    color: var(--heading-color) !important;
    line-height: 1.45 !important;
    margin-bottom: 20px !important;
}
.csd-body-subheading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--heading-color);
    margin: 32px 0 12px;
}
.csd-body-subheading:first-child { margin-top: 0; }
.csd-list {
    list-style: none;
    margin: 4px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.csd-list li {
    font-size: 1.08rem;
    color: #444;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}
.csd-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--dark-blue);
    font-size: 0.85rem;
    top: 2px;
}

/* Body + Sidebar layout */
.csd-body-outer {
    background: var(--light-blue);
    padding: 72px 24px;
}
.csd-body-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}
.csd-main-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid #eaecf4;
    overflow: hidden;
}
.csd-content-section {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    padding: 56px 48px;
    border-bottom: 1px solid #eef0f6;
    align-items: flex-start;
}
.csd-content-section:last-child { border-bottom: none; }
.csd-content-section .csd-section-heading {
    position: sticky;
    top: 100px;
}

/* Sidebar */
.csd-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.csd-sidebar-card {
    background: var(--white);
    border: 1.5px solid #eaecf4;
    border-radius: var(--radius-lg);
    padding: 28px;
}
.csd-sidebar-label {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 16px;
}
.csd-sidebar-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.csd-sidebar-pill {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--heading-color);
    background: var(--light-blue);
    border: 1.5px solid #dde2ef;
    padding: 5px 14px;
    border-radius: 100px;
    transition: all var(--transition);
}
.csd-sidebar-pill:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}
.csd-sidebar-cta { background: var(--dark-blue); border-color: var(--dark-blue); }
.csd-sidebar-cta .csd-sidebar-label { color: rgba(255,255,255,0.5); }
.csd-sidebar-cta p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 20px;
}
.csd-sidebar-btn {
    display: block;
    text-align: center;
    background: var(--white) !important;
    color: var(--dark-blue) !important;
    border-color: var(--white) !important;
    width: 100%;
}
.csd-sidebar-btn:hover {
    background: rgba(255,255,255,0.88) !important;
}

/* Results — tab interface */
.csd-results-tabs { margin-top: 8px; }
.csd-tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.csd-tab-btn {
    font-family: var(--font-label);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #888;
    background: transparent;
    border: 1.5px solid #dde2ef;
    padding: 8px 22px;
    border-radius: 100px;
    transition: all var(--transition);
}
.csd-tab-btn:hover {
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}
.csd-tab-btn.active {
    color: var(--white);
    background: var(--dark-blue);
    border-color: var(--dark-blue);
}
.csd-tab-panel { display: none; }
.csd-tab-panel.active { display: block; }

/* Metric cards */
.csd-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.csd-metric-card {
    background: var(--light-blue);
    border: 1.5px solid #e8ecf5;
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.csd-metric-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: rgba(17,111,255,0.2);
}
.csd-metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-blue);
    line-height: 1;
    letter-spacing: -0.02em;
}
.csd-metric-label {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: #444;
    line-height: 1.3;
}
.csd-metric-extra {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    color: #aaa;
    margin-top: 2px;
}

/* Project details strip — dark redesign */
.csd-details {
    background: #0c0c18;
    padding: 72px 24px;
}
.csd-details-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.csd-detail-block {
    padding: 0 48px 0 0;
    border-right: 1px solid rgba(255,255,255,0.08);
    margin-right: 48px;
}
.csd-detail-block:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}
.csd-detail-label {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    display: block;
    margin-bottom: 14px;
}
.csd-detail-value {
    font-family: var(--font-heading);
    font-size: 1.15rem !important;
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}
.csd-detail-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.csd-service-pill {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 5px 14px;
    border-radius: 100px;
    transition: all var(--transition);
    cursor: default;
}
.csd-service-pill:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

/* Responsive — case study */
@media (max-width: 1100px) {
    .csd-body-layout { grid-template-columns: 1fr 300px; gap: 24px; }
    .csd-content-section { grid-template-columns: 180px 1fr; gap: 32px; padding: 44px 36px; }
}
@media (max-width: 1024px) {
    .csd-hero-grid { gap: 48px; }
    .csd-section-grid { grid-template-columns: 200px 1fr; gap: 48px; }
    .csd-metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .csd-body-layout { grid-template-columns: 1fr; }
    .csd-sidebar { position: static; }
}
@media (max-width: 768px) {
    .csd-hero-grid { grid-template-columns: 1fr; }
    .csd-hero-image { order: -1; }
    .csd-meta {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        align-items: flex-start;
        text-align: left;
    }
    .csd-client-name,
    .csd-summary {
        width: 100%;
        max-width: none;
    }
    .csd-tags {
        justify-content: flex-start;
    }
    .csd-stats-grid { grid-template-columns: 1fr; gap: 40px; }
    .csd-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0 0 40px; }
    .csd-stat:last-child { border-bottom: none; padding-bottom: 0; }
    .csd-section-grid { grid-template-columns: 1fr; gap: 24px; }
    .csd-section-heading { position: static; }
    .csd-content-section { grid-template-columns: 1fr; gap: 16px; padding: 36px 24px; }
    .csd-content-section .csd-section-heading { position: static; }
    .csd-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .csd-metric-value { font-size: 1.6rem; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .pillars-intro { grid-template-columns: 1fr; }
    .pillars-intro-text { padding-left: 0; }
    .pillars-intro-image { display: none; }
    .pillars-grid, .expertise-grid, .cs-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .expertise-page-hero-grid,
    .expertise-intro-grid,
    .expertise-sector-grid {
        grid-template-columns: 1fr 1fr;
    }
    .expertise-service-grid { grid-template-columns: repeat(2, 1fr); }
    .tl-card-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
    .ai-intro-grid, .ai-components-grid { gap: 40px; }
    .ai-intro-text { padding-left: 0; }
    .ai-component-text { padding-right: 0; }
}

@media (max-width: 768px) {
    :root { --section-pad: 64px 0; }
    p,
    .section-desc,
    .hero-subtitle,
    .expertise-rich-text p,
    .ai-intro-text p,
    .ai-component-text p,
    .faq-answer p,
    .csd-summary,
    .csd-section-body p,
    .csd-lead,
    .tl-hero-text,
    .tl-problem-copy p,
    .tl-framework-lead,
    .tl-card-body,
    .tl-influence-copy p,
    .ind-hero-lead,
    .ind-hero-body {
        font-size: 1.2rem;
        line-height: 1.65;
    }
    .hero {
        padding: 100px 24px 0;
        min-height: calc(100svh - 68px);
        background-image: url('../images/Mobile Home Liatto Hero.jpg');
        background-position: center bottom;
        background-size: cover;
    }
    .hero-title { font-size: clamp(2rem, 6vw, 3rem); }
    .hero-subtitle br { display: none; }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .pillars-grid, .expertise-grid { grid-template-columns: 1fr; }
    .cs-grid { grid-template-columns: repeat(2, 1fr); }
    .expertise-page-hero-grid,
    .expertise-intro-grid,
    .expertise-sector-grid,
    .expertise-service-grid { grid-template-columns: 1fr; }
    .industry-page-hero { grid-template-columns: 1fr; min-height: auto; }
    .ind-hero-copy-col { justify-content: flex-start; padding: 64px 24px 56px; }
    .ind-hero-img-col { min-height: 300px; }
    .tl-hero { grid-template-columns: 1fr; min-height: auto; }
    .tl-hero-copy-col { justify-content: flex-start; padding: 64px 24px 56px; }
    .tl-hero-img-col { min-height: 320px; }
    .tl-problem-grid,
    .tl-influence-grid { grid-template-columns: 1fr; gap: 40px; }
    .tl-card-grid { grid-template-columns: 1fr; }
    .tl-influence-grid { padding: 0 24px; }
    .tl-influence-visual img { width: min(320px, 80%); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .ai-intro-grid, .ai-components-grid { grid-template-columns: 1fr; gap: 32px; }
    .ai-intro-text { order: 2; }
    .ai-intro-visual { order: 1; }
    .ai-intro-text h3 { margin-top: 10px; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .cs-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-brand-col { grid-column: 1 / -1; }
    .hero-actions { flex-direction: column; }
    .btn { text-align: center; }
}

/* ============================================================
   AI MARKETING SCHEMA PAGE
   ============================================================ */

/* --- Hero --- */
.ais-hero {
    margin-top: 68px;
    background: #f0f3f8;
    overflow: hidden;
}
.ais-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    align-items: stretch;
}
.ais-hero-left {
    padding: 80px 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ais-hero-eyebrow {
    text-align: left;
    display: block;
    margin-bottom: 28px;
    padding: 0;
}
.ais-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1.06;
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.ais-hero-sub {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: 0.01em;
    margin-bottom: 28px;
}
.ais-hero-desc {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #444;
    max-width: 520px;
    margin-bottom: 40px;
}
.ais-hero-actions {
    justify-content: flex-start !important;
    margin-top: 0 !important;
}
.ais-hero-right {
    overflow: hidden;
    min-height: 400px;
}
.ais-hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 400px;
}

/* --- Problem --- */
.ais-problem {
    padding: 80px 0;
    background: #fff;
}
.ais-problem-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    margin-bottom: 56px;
}
.ais-problem-copy h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
}
.ais-problem-copy p {
    font-size: 1.1rem;
    line-height: 1.82;
    color: #444;
}
.ais-highlight { color: var(--dark-blue); }
.ais-problem-visual img {
    width: 100%;
    border-radius: 20px;
    display: block;
}
.ais-problem-subhead {
    font-family: var(--font-label);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--heading-color);
    margin-bottom: 24px;
}
.ais-problem-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.ais-problem-card {
    background: #fafbff;
    border: 1.5px solid rgba(17,39,84,0.07);
    border-radius: 16px;
    padding: 32px;
}
.ais-problem-x {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff0f0;
    color: #e03e3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.ais-problem-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}
.ais-problem-card p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #4a4a4a;
    margin: 0;
}

/* --- Solution --- */
.ais-solution {
    padding: 80px 0;
    background: var(--light-blue);
}
.ais-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ais-solution-visual img {
    width: 100%;
    border-radius: 20px;
    display: block;
}
.ais-solution-copy h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 20px;
}
.ais-solution-copy p {
    font-size: 1.1rem;
    line-height: 1.82;
    color: #444;
    margin-bottom: 16px;
}

/* --- Why Now --- */
.ais-why {
    padding: 80px 0;
    background: #fff;
}
.ais-center-title {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    text-align: center;
    margin-bottom: 12px;
}
.ais-center-sub {
    text-align: center;
    color: #4a4a4a;
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.ais-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.ais-why-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(17,39,84,0.07);
    background: #fff;
}
.ais-why-img {
    height: 200px;
    overflow: hidden;
}
.ais-why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ais-why-card:hover .ais-why-img img { transform: scale(1.04); }
.ais-why-body {
    padding: 28px 28px 32px;
}
.ais-why-body h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}
.ais-why-body p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #4a4a4a;
    margin: 0;
}

/* --- Impact --- */
.ais-impact {
    padding: 80px 0;
    background: var(--light-blue);
}
.ais-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ais-impact-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1.5px solid rgba(17,39,84,0.06);
}
.ais-impact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef3ff;
    margin-bottom: 18px;
    position: relative;
}
.ais-impact-icon::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 4px;
    background: var(--dark-blue);
    opacity: 0.6;
}
.ais-card-icon-img { overflow: hidden; background: none !important; }
.ais-card-icon-img::after { display: none !important; }
.ais-card-icon-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

.ais-impact-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}
.ais-impact-card p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #4a4a4a;
    margin: 0;
}

/* --- Framework --- */
.ais-framework {
    padding: 80px 0;
    background: #fff;
}
.ais-framework-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}
.ais-framework-intro {
    position: sticky;
    top: 100px;
}
.ais-framework-intro h2 {
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    line-height: 1.18;
    margin-bottom: 20px;
}
.ais-framework-intro p {
    font-size: 1.08rem;
    line-height: 1.78;
    color: #4a4a4a;
}
.ais-components-list {
    display: flex;
    flex-direction: column;
}
.ais-component {
    display: flex;
    gap: 28px;
    padding: 32px 0;
    border-bottom: 1px solid #eaecf5;
    align-items: flex-start;
}
.ais-component:first-child { border-top: 1px solid #eaecf5; }
.ais-comp-num {
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--dark-blue);
    opacity: 0.45;
    min-width: 28px;
    padding-top: 6px;
    flex-shrink: 0;
}
.ais-component h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}
.ais-component p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #4a4a4a;
    margin: 0;
}

/* --- Built for Growth --- */
.ais-growth {
    padding: 80px 0;
    background: var(--light-blue);
}
.ais-growth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ais-growth-copy h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 20px;
}
.ais-growth-copy p {
    font-size: 1.1rem;
    line-height: 1.82;
    color: #444;
    margin-bottom: 16px;
}
.ais-growth-visual img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

/* --- Quote --- */
.ais-quote {
    padding: 80px 0;
    background: #0e1e3d;
}
.ais-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ais-quote-mark {
    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 0.6;
    color: var(--dark-blue);
    display: block;
    margin-bottom: 24px;
}
.ais-quote-text {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.5vw, 3.6rem);
    line-height: 1.15;
    color: #fff;
    margin: 0;
}
.ais-quote-right p {
    font-size: 1.1rem;
    line-height: 1.82;
    color: rgba(255,255,255,0.72);
    margin-bottom: 20px;
}
.ais-quote-right p:last-child { margin-bottom: 0; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .ais-hero-layout { grid-template-columns: 1fr; }
    .ais-hero-left { padding: 56px 32px 40px; }
    .ais-hero-right { min-height: 320px; }
    .ais-hero-right img { object-position: center top; }
    .ais-problem-top,
    .ais-solution-grid,
    .ais-growth-grid,
    .ais-quote-grid { grid-template-columns: 1fr; gap: 40px; }
    .ais-problem-cards,
    .ais-why-grid,
    .ais-impact-grid { grid-template-columns: 1fr 1fr; }
    .ais-framework-grid { grid-template-columns: 1fr; gap: 40px; }
    .ais-framework-intro { position: static; }
    .ais-quote-mark { font-size: 5rem; }
}
@media (max-width: 600px) {
    .ais-problem-cards,
    .ais-why-grid,
    .ais-impact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PROCESS PAGE
   ============================================================ */

/* Hero */
.process-hero {
    margin-top: 10px;
    padding: 80px 0 72px;
    background: #fff;
}
.process-hero-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 64px;
    align-items: center;
}
.process-hero .hero-actions { justify-content: flex-start; }
.process-hero-copy h1 {
    font-size: clamp(2.2rem, 3.2vw, 3.2rem);
    line-height: 1.12;
    margin-bottom: 20px;
}
.process-hero-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #3b3b3b;
    margin-bottom: 16px;
}
.process-hero-body {
    font-size: 1.1rem;
    line-height: 1.82;
    color: #444;
    margin-bottom: 32px;
}
.process-hero-visual img {
    width: 70%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Services list */
.process-services {
    padding: 80px 0;
    background: var(--light-blue);
}
.process-services h2 {
    margin-bottom: 48px;
}
.process-service-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(17,39,84,0.1);
}
.process-service-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(17,39,84,0.1);
    transition: background 0.2s;
}
.process-service-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.process-service-num {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--dark-blue);
    opacity: 0.5;
}
.process-service-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.process-service-label {
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin-bottom: 8px;
}
.process-service-body h3 {
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    line-height: 1.25;
    margin-bottom: 10px;
}
.process-service-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: #4a4a4a;
    max-width: 580px;
    margin: 0;
}
.process-service-link {
    flex-shrink: 0;
}

/* Philosophy */
.process-philosophy {
    padding: 80px 0;
    background: #fff;
}

/* How they connect */
.process-connect {
    padding: 80px 0;
}
.process-connect-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
}
.process-connect-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 32px;
    border: 1.5px solid rgba(17,39,84,0.08);
}
.process-connect-num {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--dark-blue);
    opacity: 0.45;
    display: block;
    margin-bottom: 12px;
}
.process-connect-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.process-connect-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0;
}
.process-connect-arrow {
    font-size: 1.4rem;
    color: var(--dark-blue);
    opacity: 0.35;
    padding: 0 16px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .process-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-service-row { grid-template-columns: 60px 1fr; }
    .process-service-link { grid-column: 2; }
    .process-connect-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .process-connect-arrow { display: none; }
}
@media (max-width: 600px) {
    .process-connect-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resources-hero {
    padding: 96px 0 50px;
    background: #fff;
}
.resources-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 16px 0 20px;
}
.resources-hero-lead {
    font-size: 1.18rem;
    color: #444;
    max-width: 640px;
    line-height: 1.7;
}
/* Resources filter bar */
.resources-filter {
    padding: 0 0 36px;
    background: #fff;
}
.resources-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}
.filter-btn {
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 20px;
    border: 1.5px solid #e0e4ed;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.filter-btn:hover { border-color: var(--dark-blue); color: var(--dark-blue); }
.filter-btn.active { background: var(--dark-blue); border-color: var(--dark-blue); color: #fff; }
.filter-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.filter-select {
    appearance: none;
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 40px 10px 18px;
    border-radius: 20px;
    border: 1.5px solid #e0e4ed;
    background: #fff;
    color: #666;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}
.filter-select:hover, .filter-select:focus { border-color: var(--dark-blue); color: var(--dark-blue); }
.filter-select-arrow {
    position: absolute;
    right: 14px;
    pointer-events: none;
    font-size: 0.75rem;
    color: #aaa;
}

.resources-section {
    padding: 64px 0 96px;
    background: var(--light-blue);
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.resource-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
    color: inherit;
}
.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(17,111,255,0.12);
}
.resource-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.resource-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.resource-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.resource-card-body h2 {
    font-size: 1.15rem;
    line-height: 1.3;
}
.resource-card-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
    flex: 1;
}
.resource-tag {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-blue);
}
.resource-date {
    font-family: var(--font-label);
    font-size: 0.78rem;
    color: #aaa;
    margin-top: 4px;
}
.resources-empty {
    text-align: center;
    padding: 80px 0;
    color: #888;
    font-size: 1.05rem;
}
@media (max-width: 1024px) {
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .resources-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ARTICLE / RESOURCE POST PAGE
   ============================================================ */
.article-header {
    padding: 80px 0 48px;
    background: #fff;
}
.article-back {
    font-family: var(--font-label);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--dark-blue);
    display: inline-block;
    margin-bottom: 24px;
    transition: opacity var(--transition);
}
.article-back:hover { opacity: 0.7; }
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.article-date {
    font-family: var(--font-label);
    font-size: 0.82rem;
    color: #aaa;
}
.article-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    margin-bottom: 20px;
}
.article-lead {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.7;
}
.article-hero-img {
    background: var(--light-blue);
    padding: 0 0 48px;
}
.article-hero-img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
}
.article-layout {
    padding: 56px 0 80px;
    background: #fff;
}
.article-body-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Highlights box */
.article-highlights {
    background: var(--light-blue);
    border-left: 4px solid var(--dark-blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 28px 32px;
    margin-bottom: 48px;
}
.article-highlights-label {
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin-bottom: 14px !important;
    font-size: 0.78rem !important;
}
.article-highlights ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.article-highlights ul li {
    position: relative;
    padding-left: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2a2a2a;
}
.article-highlights ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--dark-blue);
    font-weight: 700;
}

/* Article body typography */
.article-content {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.82;
    color: #222;
}
.article-content h1 { font-family: var(--font-heading); font-size: 2.6rem; margin: 2em 0 0.6em; color: var(--heading-color); }
.article-content h2 { font-family: var(--font-heading); font-size: 2rem; margin: 1.8em 0 0.5em; color: var(--heading-color); }
.article-content h3 { font-family: var(--font-heading); font-size: 1.55rem; margin: 1.5em 0 0.4em; color: var(--heading-color); }
.article-content h4 { font-family: var(--font-heading); font-size: 1.3rem; margin: 1.2em 0 0.4em; color: var(--heading-color); }
.article-content p  { margin-bottom: 1.4em; font-size: 1.25rem; line-height: 1.82; color: #222; }
.article-content a  { color: var(--dark-blue); border-bottom: 1px solid rgba(17,111,255,0.3); transition: border-color var(--transition); }
.article-content a:hover { border-color: var(--dark-blue); }
.article-content ul, .article-content ol { margin: 0 0 1.4em 1.6em; }
.article-content li { margin-bottom: 0.5em; font-size: 1.25rem; line-height: 1.7; }
.article-content blockquote {
    border-left: 4px solid var(--dark-blue);
    margin: 2em 0;
    padding: 0.8em 1.6em;
    color: #555;
    font-style: italic;
    background: var(--light-blue);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content strong { font-weight: 700; color: #141414; }

/* Sources section */
.article-sources {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid #eaecf5;
}
.article-sources h3 {
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 16px;
}
.article-sources ol {
    margin-left: 1.2em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.article-sources li {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}
.article-sources a { color: var(--dark-blue); }

/* Prev / Next navigation */
.article-nav {
    max-width: 960px;
    margin: 56px auto 0;
    padding: 32px 24px 0;
    border-top: 1px solid #eaecf5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}
.article-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 44%;
    color: inherit;
    transition: opacity 0.2s;
}
.article-nav-link:hover { opacity: 0.7; }
.article-nav-link.next { text-align: right; margin-left: auto; }
.article-nav-dir {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
}
.article-nav-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--heading-color);
    line-height: 1.3;
}
.article-nav-arrow {
    font-size: 1.1rem;
    color: var(--dark-blue);
}

@media (max-width: 768px) {
    .article-title { font-size: 1.8rem; }
    .article-hero-img img { max-height: 280px; }
    .article-highlights { padding: 20px 20px 20px 24px; }
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.cm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14,30,61,0.55);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cm-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.cm-panel {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.cm-overlay.open .cm-panel {
    transform: translateY(0);
}
.cm-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.cm-close:hover { background: #e5e7eb; color: #141414; }
.cm-header { margin-bottom: 32px; }
.cm-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 8px 0 10px;
    color: var(--heading-color);
}
.cm-sub { font-size: 0.95rem; color: #666; line-height: 1.6; }
.cm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.cm-field { display: flex; flex-direction: column; gap: 5px; }
.cm-field-full { grid-column: 1 / -1; margin-bottom: 16px; }
.cm-field label {
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
}
.cm-field input, .cm-field textarea {
    padding: 11px 14px;
    border: 1.5px solid #e0e4ed;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #141414;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.cm-field input:focus, .cm-field textarea:focus { border-color: var(--dark-blue); }
.cm-field textarea { resize: vertical; min-height: 100px; }
.cm-field input::placeholder, .cm-field textarea::placeholder { color: #bbb; }

/* Interest chips */
.cm-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}
.cm-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #e0e4ed;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: #555;
    cursor: pointer;
    transition: all 0.18s;
    user-select: none;
}
.cm-chip input[type="checkbox"] { display: none; }
.cm-chip:hover { border-color: var(--dark-blue); color: var(--dark-blue); }
.cm-chip.checked { background: var(--dark-blue); border-color: var(--dark-blue); color: #fff; }

/* Submit row */
.cm-submit-row {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.cm-submit {
    min-width: 180px;
    position: relative;
}
.cm-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.cm-calendar {
    font-size: 0.88rem;
    color: #888;
}
.cm-calendar a { color: var(--dark-blue); border-bottom: 1px solid rgba(17,111,255,0.3); transition: border-color 0.2s; }
.cm-calendar a:hover { border-color: var(--dark-blue); }

/* Error messages */
.cm-field-error {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 2px;
}
.cm-field input.error, .cm-field textarea.error { border-color: #dc2626; }
.cm-form-error {
    background: #fff0f0;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: #b91c1c;
    margin-bottom: 16px;
    display: none;
}

/* Success state */
.cm-success {
    text-align: center;
    padding: 32px 0 8px;
}
.cm-success-icon {
    width: 64px;
    height: 64px;
    background: var(--dark-blue);
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.cm-success h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 10px;
}
.cm-success p { color: #555; margin-bottom: 8px; }

@media (max-width: 600px) {
    .cm-panel { padding: 32px 24px; }
    .cm-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Hero */
.about-hero {
    padding: 140px 0 80px;
    background: var(--light-blue);
    text-align: center;
}
.about-hero-h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.15;
    max-width: 820px;
    margin: 16px auto 24px;
    color: #141414;
}
.about-hero-lead {
    font-size: 1.15rem;
    color: #555;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Story */
.about-story {
    padding: 100px 0;
}
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
    align-items: start;
}
.about-story-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
    margin: 16px 0 28px;
}
.about-story-copy p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 18px;
}
.about-story-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 32px;
    background: var(--light-blue);
    border-radius: 16px;
    margin-top: 8px;
}
.about-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--dark-blue);
    line-height: 1;
    margin-bottom: 6px;
}
.about-stat-label {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

/* Values */
.about-values {
    padding: 100px 0;
    background: #0e1e3d;
    color: #fff;
}
.about-values-header {
    max-width: 600px;
    margin-bottom: 60px;
}
.about-values .section-label {
    color: rgba(255,255,255,0.6);
}
.about-values-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    margin-top: 12px;
    color: #fff;
}
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.about-value-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 36px 32px;
}
.about-value-num {
    display: block;
    font-family: var(--font-label);
    font-size: 0.85rem;
    color: var(--dark-blue);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.about-value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 12px;
}
.about-value-card p {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .about-story-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-story-stats { flex-direction: row; flex-wrap: wrap; }
    .about-stat { flex: 1; min-width: 120px; }
    .about-values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .about-hero { padding: 120px 0 60px; }
    .about-values-grid { grid-template-columns: 1fr; }
}
