/*
Theme Name: Eckhard Jokisch
Theme URI: https://eckhard-jokisch.com
Author: Mohamed Shaheen
Author URI: mailto:work.mshaheen@gmail.com
Description: A premium, modern compliance consulting theme for Eckhard Jokisch. Features structured compliance certification services, custom compliance standard post type, full Customizer integration, contact form with submissions, and comprehensive SEO.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eckhard-jokisch
Tags: one-column, custom-menu, featured-images, translation-ready, blog
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
*/

/* ══════════════════════════════════════════════
   CSS VARIABLES
   ══════════════════════════════════════════════ */
:root {
    --bg: #FAF9F6;
    --bg-alt: #F3F1EC;
    --bg-card: #FFFFFF;
    --bg-dark: #1B1B1B;
    --bg-dark-alt: #252525;

    --gold: #B8860B;
    --gold-light: #D4A843;
    --gold-pale: #F5EFE0;
    --gold-glow: rgba(184,134,11,0.15);

    --text: #1B1B1B;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-on-dark: #E8E6E1;
    --white: #FFFFFF;

    --border: #E5E2DB;
    --border-light: #EDEAE4;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --font-display: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Montserrat', system-ui, sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
}

/* ══════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
img { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1040;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}
.nav.scrolled {
    background: rgba(250,249,246,0.92);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}
.nav__brand span { color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav__links a {
    font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
    transition: color 0.3s; position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px;
    background: var(--gold); transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta-link {
    padding: 0.625rem 1.5rem;
    background: var(--text);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}
.nav__cta-link:hover { background: var(--gold); transform: translateY(-1px); box-shadow: 0 4px 16px var(--gold-glow); }
.nav__cta-link::after { display: none !important; }

/* Mobile nav */
.nav__mobile {
    display: none; width: 44px; height: 44px; align-items: center;
    justify-content: center; position: relative; z-index: 1100;
}
.nav__hamburger { width: 22px; height: 16px; position: relative; }
.nav__hamburger span {
    display: block; width: 100%; height: 2px; background: var(--text);
    position: absolute; left: 0; transition: all 0.35s var(--ease); border-radius: 2px;
}
.nav__hamburger span:nth-child(1) { top: 0; }
.nav__hamburger span:nth-child(2) { top: 7px; }
.nav__hamburger span:nth-child(3) { bottom: 0; }
.nav__mobile.active .nav__hamburger span:nth-child(1) { top: 7px; transform: rotate(45deg); background: var(--white); }
.nav__mobile.active .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav__mobile.active .nav__hamburger span:nth-child(3) { bottom: 7px; transform: rotate(-45deg); background: var(--white); }

/* Mobile drawer */
.drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 1050; opacity: 0; visibility: hidden; transition: all 0.35s ease;
}
.drawer-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer {
    position: fixed; top: 0; right: 0; width: min(340px, 85vw); height: 100vh;
    height: 100dvh; background: var(--bg-dark); z-index: 1060;
    padding: 6rem 2rem 2rem; transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    display: flex; flex-direction: column;
}
.mobile-drawer.active { transform: translateX(0); }
.mobile-drawer ul { list-style: none; flex: 1; }
.mobile-drawer ul li { margin-bottom: 0.25rem; }
.mobile-drawer ul a {
    display: block; padding: 0.875rem 1rem; font-size: 1.0625rem;
    font-weight: 500; color: rgba(255,255,255,0.7); border-radius: 12px;
    transition: all 0.25s ease;
}
.mobile-drawer ul a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.mobile-drawer__cta {
    display: block; margin-top: auto; padding: 1rem; text-align: center;
    background: var(--gold); color: var(--bg-dark); border-radius: 14px;
    font-weight: 700; font-size: 0.9375rem; transition: all 0.3s ease;
}
.mobile-drawer__cta:hover { background: var(--gold-light); }

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 1.75rem; border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600;
    letter-spacing: 0.01em; text-decoration: none; cursor: pointer; border: none;
    transition: all 0.35s var(--ease);
}
.btn--primary {
    background: var(--text); color: var(--white);
    box-shadow: 0 2px 12px rgba(27,27,27,0.15);
}
.btn--primary:hover { background: #333; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(27,27,27,0.2); }
.btn--outline {
    background: transparent; color: var(--text);
    border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--light { background: var(--white); color: var(--bg-dark); }
.btn--light:hover { background: var(--gold-pale); transform: translateY(-2px); }
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ══════════════════════════════════════════════
   HERO — Split layout with credential cards
   ══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    background: var(--bg-alt);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--gold); margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
    content: ''; width: 28px; height: 1.5px; background: var(--gold);
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero__title em {
    font-style: italic;
    color: var(--gold);
}
.hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.8;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero right side — credential cards */
.hero__visual { position: relative; }
.hero__credential-stack { display: flex; flex-direction: column; gap: 1rem; }
.credential-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 1.75rem 2rem;
    display: flex; align-items: center; gap: 1.5rem;
    transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
}
.credential-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    opacity: 0; transition: opacity 0.4s var(--ease);
}
.credential-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(184,134,11,0.2); }
.credential-card:hover::before { opacity: 1; }
.credential-card__number {
    font-family: var(--font-display); font-weight: 800;
    font-size: 2.25rem; line-height: 1; color: var(--gold);
    min-width: 72px; flex-shrink: 0;
}
.credential-card__divider {
    width: 1px; height: 36px; background: var(--border); flex-shrink: 0;
}
.credential-card__desc { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.5; font-weight: 500; }

/* ══════════════════════════════════════════════
   SECTION COMMON
   ══════════════════════════════════════════════ */
.section { padding: clamp(5rem, 10vw, 7.5rem) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }

.section__eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.16em; color: var(--gold); margin-bottom: 1rem;
}
.section__eyebrow::before { content: ''; width: 20px; height: 1.5px; background: var(--gold); }
.section__title {
    font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 2.75rem);
    color: var(--text); font-weight: 600; line-height: 1.2; margin-bottom: 0.75rem;
    letter-spacing: -0.015em;
}
.section--dark .section__title { color: var(--white); }
.section__title em { font-style: italic; color: var(--gold); }
.section__subtitle { font-size: 1.0625rem; color: var(--text-muted); max-width: 520px; }
.section--dark .section__subtitle { color: var(--text-on-dark); }
.section__header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__header--center { text-align: center; }
.section__header--center .section__subtitle { margin: 0.5rem auto 0; }

/* Also support .section__label (used in compliance inner pages) */
.section__label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.16em; color: var(--gold); margin-bottom: 1rem;
}
.section__label::before { content: ''; width: 20px; height: 1.5px; background: var(--gold); }

/* ══════════════════════════════════════════════
   SOLUTIONS GRID
   ══════════════════════════════════════════════ */
.filter-bar { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-btn {
    padding: 0.5rem 1.25rem; border-radius: 100px; font-size: 0.8125rem;
    font-weight: 500; color: var(--text-muted); border: 1px solid var(--border);
    background: var(--bg-card); transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }

.solutions-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.solution-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 1.75rem;
    transition: all 0.4s var(--ease);
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(184,134,11,0.25); }
.solution-card.coming-soon { opacity: 0.55; }
.solution-card.coming-soon:hover { transform: none; box-shadow: none; }

.solution-card__icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: var(--gold-pale); border: 1px solid rgba(184,134,11,0.12);
    display: flex; align-items: center;
    justify-content: center; margin-bottom: 1rem;
    transition: all 0.35s var(--ease);
}
.solution-card:hover .solution-card__icon { background: var(--gold); border-color: var(--gold); }
.solution-card__icon svg { width: 20px; height: 20px; color: var(--gold); transition: color 0.35s var(--ease); }
.solution-card:hover .solution-card__icon svg { color: var(--white); }
.solution-card__tag {
    display: inline-block; font-size: 0.6875rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold);
    margin-bottom: 0.625rem;
}
.solution-card__name {
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
    color: var(--text); margin-bottom: 0.5rem;
}
.solution-card__desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.solution-card__link {
    display: inline-flex; align-items: center; gap: 0.375rem;
    font-size: 0.8125rem; font-weight: 600; color: var(--text);
    transition: color 0.3s, gap 0.3s var(--ease);
}
.solution-card__link:hover { color: var(--gold); gap: 0.625rem; }
.solution-card__link svg { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════
   PROCESS STEPS (Timeline style)
   ══════════════════════════════════════════════ */
.process__intro {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
    align-items: center; margin-bottom: 4rem;
}
.process__photo {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-lg);
}
.process__photo img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; border-radius: var(--radius-lg);
}
.process__photo::after {
    content: ''; position: absolute; inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(184,134,11,0.2);
    pointer-events: none;
}
.process-timeline { position: relative; }
.process-timeline::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 28px;
    width: 1px; background: var(--border);
}
.process-step {
    display: flex; gap: 2rem; align-items: flex-start;
    position: relative; padding-bottom: 2.5rem;
}
.process-step:last-child { padding-bottom: 0; }
.process-step__marker {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--bg-card); border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; position: relative; z-index: 2;
    transition: all 0.35s var(--ease);
}
.process-step:hover .process-step__marker { border-color: var(--gold); background: var(--gold-pale); }
.process-step__marker span {
    font-family: var(--font-display); font-size: 1.125rem;
    font-weight: 600; color: var(--text);
}
.process-step__content { padding-top: 0.5rem; flex: 1; }
.process-step__title {
    font-family: var(--font-display); font-size: 1.25rem;
    font-weight: 600; color: var(--text); margin-bottom: 0.375rem;
}
.process-step__desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════
   METHODOLOGY (4 cards grid)
   ══════════════════════════════════════════════ */
.methodology-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.method-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 2rem;
    transition: all 0.35s var(--ease); position: relative;
}
.method-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.method-card__icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: var(--gold-pale); border: 1px solid rgba(184,134,11,0.12);
    display: flex; align-items: center;
    justify-content: center; margin-bottom: 1.25rem;
    transition: all 0.35s var(--ease);
}
.method-card:hover .method-card__icon { background: var(--gold); border-color: var(--gold); }
.method-card__icon svg { width: 22px; height: 22px; color: var(--gold); transition: color 0.35s var(--ease); }
.method-card:hover .method-card__icon svg { color: var(--white); }
.method-card__title {
    font-family: var(--font-display); font-size: 1.125rem; font-weight: 600;
    color: var(--text); margin-bottom: 0.5rem;
}
.method-card__desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════ */
.stats-bar {
    background: var(--bg-dark);
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.stats-bar__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
    text-align: center;
}
.stat__number {
    font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 600; color: var(--gold); margin-bottom: 0.375rem;
}
.stat__label { font-size: 0.875rem; color: var(--text-on-dark); font-weight: 400; }

/* ══════════════════════════════════════════════
   CASE STUDIES
   ══════════════════════════════════════════════ */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); overflow: hidden;
    transition: all 0.4s var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card__image { height: 200px; overflow: hidden; position: relative; }
.case-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.case-card:hover .case-card__image img { transform: scale(1.05); }
.case-card__body { padding: 1.5rem; }
.case-card__tag {
    display: inline-block; font-size: 0.6875rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold);
    margin-bottom: 0.5rem;
}
.case-card__title {
    font-family: var(--font-display); font-size: 1.125rem;
    font-weight: 600; color: var(--text); margin-bottom: 0.5rem;
}
.case-card__desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }
.case-card__link {
    display: inline-flex; align-items: center; gap: 0.375rem;
    font-size: 0.8125rem; font-weight: 600; color: var(--text);
    transition: color 0.3s, gap 0.3s var(--ease);
}
.case-card__link:hover { color: var(--gold); gap: 0.625rem; }
.case-card__link svg { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════
   WHY ME SECTION
   ══════════════════════════════════════════════ */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why__photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.why__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}
.why__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(184,134,11,0.2);
    pointer-events: none;
}
.why__content-side { display: flex; flex-direction: column; gap: 2rem; }
.why__metrics { display: flex; flex-direction: column; gap: 1.5rem; }
.why-metric {
    display: flex; align-items: flex-start; gap: 1.25rem;
    padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); transition: all 0.35s var(--ease);
}
.why-metric:hover { box-shadow: var(--shadow-md); }
.why-metric__number {
    font-family: var(--font-display); font-size: 1.75rem;
    font-weight: 600; color: var(--gold); flex-shrink: 0; min-width: 72px;
}
.why-metric__title { font-weight: 600; color: var(--text); font-size: 0.9375rem; margin-bottom: 0.25rem; }
.why-metric__desc { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

/* ══════════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════════ */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block; font-size: 0.8125rem; font-weight: 600;
    color: var(--text); margin-bottom: 0.375rem;
}
.form-input {
    width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: 0.9375rem; color: var(--text);
    background: var(--bg-card); transition: border-color 0.25s, box-shadow 0.25s;
    -webkit-appearance: none;
}
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
textarea.form-input { min-height: 120px; resize: vertical; }
select.form-input { cursor: pointer; }
.form-submit {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 2rem; background: var(--text); color: var(--white);
    border: none; border-radius: var(--radius-sm); font-size: 0.9375rem;
    font-weight: 600; cursor: pointer; transition: all 0.35s var(--ease);
}
.form-submit:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 16px var(--gold-glow); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-message {
    padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem;
    font-size: 0.875rem; font-weight: 500; display: none;
}
.form-message.visible { display: block; }
.form-message--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.form-message--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
    background: var(--bg-dark);
    padding: 2.5rem 0;
}
.footer__inner {
    display: flex; align-items: center; justify-content: space-between;
}
.footer__copy { font-size: 0.8125rem; color: var(--text-on-dark); opacity: 0.6; }
.footer__links { display: flex; gap: 2rem; list-style: none; }
.footer__links a {
    font-size: 0.8125rem; color: var(--text-on-dark); opacity: 0.6;
    transition: opacity 0.3s;
}
.footer__links a:hover { opacity: 1; }

/* ══════════════════════════════════════════════
   COMPLIANCE INNER PAGE — HERO
   ══════════════════════════════════════════════ */
.ej-compliance-page .hero {
    min-height: auto;
    display: block;
    background: var(--bg-alt);
    padding: 160px 0 96px;
    text-align: center;
    overflow: visible;
}
.ej-compliance-page .hero::before {
    display: none;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
    max-width: 760px;
    margin: 0 auto 20px;
}
.hero-title em {
    font-style: italic;
    color: var(--gold);
}
.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto 40px;
}

/* ══════════════════════════════════════════════
   COMPLIANCE INNER PAGE — SECTION LAYOUT
   ══════════════════════════════════════════════ */
.ej-compliance-page .section {
    padding: 96px 0;
}
.section-header {
    margin-bottom: 56px;
}
.section-header--center {
    text-align: center;
}
.section-header--center .eyebrow {
    justify-content: center;
}
.section-header--center .eyebrow::before {
    display: none;
}
.section-header--center .eyebrow::after {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.section-header--center .section-subtitle {
    margin: 0 auto;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}
.section-title em {
    font-style: italic;
    color: var(--gold);
}
.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

/* ══════════════════════════════════════════════
   COMPLIANCE INNER PAGE — BUTTONS
   ══════════════════════════════════════════════ */
.btn--gold {
    background: var(--gold);
    color: var(--white);
}
.btn--gold:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(184,134,11,0.3);
}

/* ══════════════════════════════════════════════
   COMPLIANCE INNER PAGE — CHALLENGES
   ══════════════════════════════════════════════ */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.challenge-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(184,134,11,0.3);
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--gold);
}
.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.card-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ══════════════════════════════════════════════
   COMPLIANCE INNER PAGE — APPROACH STEPS
   ══════════════════════════════════════════════ */
.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.approach-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 32px 36px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    align-items: start;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.approach-step:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
}
.step-title {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.step-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
}
.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #F3F1EC;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.step-callout {
    background: var(--gold-pale);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 0.9rem;
    color: #7a5c00;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}
.step-callout svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ══════════════════════════════════════════════
   COMPLIANCE INNER PAGE — FEATURES GRID
   ══════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.feature-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   COMPLIANCE INNER PAGE — TIMELINE
   ══════════════════════════════════════════════ */
.timeline {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 0;
    width: 1px;
    background: var(--border);
}
.timeline-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 36px;
    position: relative;
}
.timeline-item:last-of-type {
    margin-bottom: 0;
}
.timeline-circle {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--gold-pale);
    border: 1px solid rgba(184,134,11,0.12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}
.timeline-circle--success {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}
.timeline-circle svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.timeline-content {
    padding-top: 12px;
}
.timeline-title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.timeline-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   CTA SECTION (dark banner)
   ══════════════════════════════════════════════ */
.cta-section {
    background: var(--bg-dark);
    padding: 96px 0;
    text-align: center;
}
.cta-section__content {
    max-width: 600px;
    margin: 0 auto;
}
.cta-section .section-title {
    color: var(--text-on-dark);
    margin-bottom: 16px;
}
.cta-section .section-subtitle {
    color: rgba(232, 230, 225, 0.7);
    margin: 0 auto 40px;
}

/* ══════════════════════════════════════════════
   CONTENT SECTION (generic fallback)
   ══════════════════════════════════════════════ */
.content-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}
.content-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
    align-items: start;
}
.content-grid--reverse { direction: rtl; }
.content-grid--reverse > * { direction: ltr; }
.content-grid p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.feature-list__item { display: flex; gap: 0.75rem; }
.feature-list__icon {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--gold-pale); display: flex;
    align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.feature-list__icon svg { width: 14px; height: 14px; color: var(--gold); }
.feature-list__text h4 { font-size: 0.9375rem; font-weight: 600; color: var(--text); margin-bottom: 0.125rem; }
.feature-list__text p { font-size: 0.8125rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   POLICY PAGES (Terms, Privacy, Imprint)
   ══════════════════════════════════════════════ */
.policy-hero {
    padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 4rem);
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.policy-hero__dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
}
.policy-hero__inner { position: relative; z-index: 2; }
.policy-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600; color: var(--text);
    margin-bottom: 0.75rem;
}
.policy-hero__subtitle {
    font-size: 1.0625rem; color: var(--text-muted);
    max-width: 500px; margin: 0 auto;
}

.policy-content { padding: clamp(3rem, 6vw, 5rem) 0; }
.policy-content__inner { max-width: 720px; margin: 0 auto; }
.policy-content__inner h2 {
    font-family: var(--font-display); font-size: 1.375rem;
    font-weight: 600; color: var(--text);
    margin: 2.5rem 0 0.75rem; padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.policy-content__inner h2:first-of-type { margin-top: 0; }
.policy-content__inner p { margin-bottom: 1rem; font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }
.policy-content__inner ul { margin: 0 0 1rem 1.5rem; }
.policy-content__inner li { margin-bottom: 0.5rem; font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }
.policy-content__inner a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.policy-content__inner a:hover { color: var(--text); }
.policy-meta { font-size: 0.8125rem; color: var(--text-muted); }

.imprint-block {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.imprint-block p { margin-bottom: 0.25rem; }
.imprint-block a { color: var(--gold); text-decoration: underline; }
.imprint-block a:hover { color: var(--text); }

/* ══════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════ */
.error-404 {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 6rem 0;
    position: relative;
    text-align: center;
}
.error-404__bg {
    position: absolute; inset: 0;
}
.error-404__dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 24px 24px; opacity: 0.3;
}
.error-404__content { position: relative; z-index: 2; }
.error-404__code {
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 800;
    background: linear-gradient(180deg, var(--gold-pale) 0%, transparent 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: -1rem;
}
.error-404__icon {
    width: 80px; height: 80px; margin: 0 auto 2rem;
}
.error-404__icon svg { width: 100%; height: 100%; }
.error-404__title {
    font-family: var(--font-display); font-size: 1.75rem;
    font-weight: 600; color: var(--text); margin-bottom: 0.75rem;
}
.error-404__desc {
    font-size: 1rem; color: var(--text-muted);
    max-width: 400px; margin: 0 auto 2rem;
}
.error-404__actions { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; }
.error-404__btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: var(--radius-sm);
    font-size: 0.875rem; font-weight: 600; transition: all 0.3s var(--ease);
}
.error-404__btn--primary { background: var(--text); color: var(--white); }
.error-404__btn--primary:hover { background: var(--gold); transform: translateY(-1px); }
.error-404__btn--secondary { border: 1px solid var(--border); color: var(--text); }
.error-404__btn--secondary:hover { border-color: var(--gold); color: var(--gold); }
.error-404__btn svg { width: 16px; height: 16px; }
.error-404__links-label { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1rem; }
.error-404__quick-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.error-404__chip {
    padding: 0.375rem 1rem; border-radius: 100px;
    font-size: 0.8125rem; font-weight: 500;
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-secondary); transition: all 0.25s ease;
}
.error-404__chip:hover { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════════════════════
   CRA CHECK PAGE
   ══════════════════════════════════════════════ */
.hero--cra {
    min-height: auto;
    background: var(--bg-alt);
    padding: clamp(8rem, 14vw, 11rem) 0 clamp(4rem, 8vw, 6rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero--cra::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
    clip-path: none;
    width: 100%;
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.hero--cra .hero__eyebrow {
    display: inline-flex; align-items: center; gap: 0.625rem;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.16em; color: var(--gold); margin-bottom: 1.75rem;
    background: var(--gold-pale); border: 1px solid rgba(184,134,11,0.2);
    padding: 0.4rem 1rem; border-radius: 100px;
}
.hero--cra .hero__eyebrow::before { display: none; }
.hero--cra .hero__subtitle { max-width: 600px; margin: 0 auto; }

.cra-section { padding: clamp(3rem, 6vw, 5rem) 0; }

/* Progress bar */
.cra-progress { max-width: 800px; margin: 0 auto 3rem; }
.cra-progress__bar { height: 6px; background: var(--border); border-radius: 100px; overflow: hidden; margin-bottom: 0.75rem; }
.cra-progress__fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 100px; transition: width 0.6s var(--ease); width: 0%; }
.cra-progress__label { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--text-muted); font-weight: 500; }
.cra-progress__score { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 600; color: var(--gold); }

/* Board grid */
.cra-board { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; max-width: 900px; margin: 0 auto 3rem; }
.cra-square {
    width: 130px; height: 130px; border-radius: var(--radius-md); border: 2px solid var(--border);
    background: var(--bg-card); display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 0.75rem; text-align: center; opacity: 0.35;
    transition: all 0.4s var(--ease); position: relative; cursor: default; flex-shrink: 0;
}
.cra-square--active { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-glow), var(--shadow-lg); transform: scale(1.04); cursor: pointer; }
.cra-square--visited { opacity: 1; border-color: #2E7D32; background: #E8F5E9; }
.cra-square__icon { font-size: 2rem; margin-bottom: 0.375rem; line-height: 1; }
.cra-square__label { font-size: 0.6875rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.cra-square--visited .cra-square__label { color: #2E7D32; }
.cra-square__check {
    position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%;
    background: #2E7D32; color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; border: 2px solid var(--bg);
}

/* Question modal */
.cra-modal-overlay {
    position: fixed; inset: 0; background: rgba(27,27,27,0.7);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.cra-modal-overlay.active { display: flex; }
.cra-modal {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem); max-width: 640px; width: 100%; box-shadow: var(--shadow-xl);
    animation: craModalIn 0.35s var(--ease);
}
@keyframes craModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.cra-modal__icon { font-size: 3.5rem; text-align: center; margin-bottom: 1rem; line-height: 1; }
.cra-modal__question {
    font-family: var(--font-display); font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600; color: var(--text); text-align: center; margin-bottom: 2rem; line-height: 1.4;
}
.cra-modal__options { display: flex; flex-direction: column; gap: 0.625rem; }
.cra-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    background: var(--bg); font-size: 0.9375rem; font-weight: 500; color: var(--text);
    cursor: pointer; transition: all 0.25s var(--ease); text-align: left; width: 100%;
}
.cra-option:hover { border-color: var(--gold); background: var(--gold-pale); transform: translateX(4px); }
.cra-option__pts { font-size: 0.8125rem; font-weight: 700; color: var(--gold); flex-shrink: 0; margin-left: 0.75rem; }

/* Result sections */
.cra-result { max-width: 800px; margin: 0 auto; display: none; }
.cra-result.active { display: block; }

.cra-not-applicable {
    text-align: center; padding: 3rem 2rem; background: #FFEBEE;
    border: 2px solid rgba(198,40,40,0.2); border-radius: var(--radius-lg);
}
.cra-not-applicable__icon { font-size: 4rem; margin-bottom: 1rem; }
.cra-not-applicable__title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: #C62828; margin-bottom: 0.5rem; }
.cra-not-applicable__desc { font-size: 1rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

.cra-applicable { background: var(--bg-card); border: 2px solid rgba(46,125,50,0.2); border-radius: var(--radius-lg); overflow: hidden; }
.cra-applicable__header { background: linear-gradient(135deg, #2E7D32, #1B5E20); padding: 2.5rem 2rem; text-align: center; color: var(--white); }
.cra-applicable__header-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.cra-applicable__header-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; margin-bottom: 0.375rem; }
.cra-applicable__header-sub { font-size: 0.9375rem; opacity: 0.85; }

.cra-details { padding: 2rem; display: grid; gap: 0.75rem; }
.cra-detail {
    display: flex; align-items: center; gap: 1.25rem; padding: 1.125rem 1.25rem;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
}
.cra-detail:hover { box-shadow: var(--shadow-sm); border-color: rgba(184,134,11,0.2); }
.cra-detail__icon { font-size: 1.75rem; flex-shrink: 0; line-height: 1; }
.cra-detail__label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.125rem; }
.cra-detail__value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--text); }
.cra-detail__note { font-size: 0.75rem; color: var(--text-muted); font-style: italic; margin-top: 0.125rem; }

/* Funnel */
.cra-funnel { margin: 3rem auto; max-width: 800px; }
.cra-funnel__sources { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.cra-funnel__box { padding: 1.5rem; border-radius: var(--radius-md); text-align: center; transition: all 0.35s var(--ease); }
.cra-funnel__box:hover { transform: translateY(-3px); }
.cra-funnel__box--existing { background: #E3F2FD; border: 1.5px solid rgba(21,101,192,0.25); }
.cra-funnel__box--new { background: var(--gold-pale); border: 1.5px solid rgba(184,134,11,0.25); }
.cra-funnel__box-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.cra-funnel__box-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
.cra-funnel__box-desc { font-size: 0.8125rem; color: var(--text-muted); }
.cra-funnel__arrow { text-align: center; margin-bottom: 2rem; color: var(--gold); }
.cra-funnel__arrow svg { width: 32px; height: 32px; animation: craArrowBounce 2s infinite; }
@keyframes craArrowBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Result actions */
.cra-actions { padding: 0 2rem 2rem; display: grid; gap: 0.75rem; }
.cra-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.625rem;
    padding: 1rem 1.5rem; border-radius: var(--radius-sm); font-size: 1rem;
    font-weight: 600; cursor: pointer; transition: all 0.35s var(--ease); border: none; width: 100%; text-align: center;
}
.cra-btn--primary { background: var(--gold); color: var(--white); box-shadow: 0 4px 16px var(--gold-glow); }
.cra-btn--primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 24px var(--gold-glow); }
.cra-btn--outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.cra-btn--outline:hover { border-color: var(--gold); color: var(--gold); }

/* Path trail */
.cra-path { max-width: 800px; margin: 2rem auto 0; }
.cra-path__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.cra-path__trail { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.cra-path__step {
    display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem;
    background: #E8F5E9; border: 1px solid rgba(46,125,50,0.2); border-radius: 100px;
    font-size: 0.75rem; font-weight: 600; color: #2E7D32;
}
.cra-path__arrow { color: var(--text-muted); font-size: 0.75rem; }

/* CTA Section */
.cra-cta { background: var(--bg-dark); padding: clamp(4rem, 8vw, 6rem) 0; text-align: center; margin-top: clamp(3rem, 6vw, 5rem); }
.cra-cta__title { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; color: var(--white); margin-bottom: 1rem; letter-spacing: -0.015em; }
.cra-cta__title em { font-style: italic; color: var(--gold); }
.cra-cta__subtitle { font-size: 1.0625rem; color: var(--text-on-dark); max-width: 520px; margin: 0 auto 2rem; }
.cra-cta__btn {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem;
    background: var(--gold); color: var(--white); border-radius: var(--radius-sm);
    font-size: 0.9375rem; font-weight: 600; transition: all 0.35s var(--ease);
}
.cra-cta__btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 24px var(--gold-glow); }
.cra-cta__btn svg { transition: transform 0.3s var(--ease); }
.cra-cta__btn:hover svg { transform: translateX(3px); }

/* Nav active link */
.nav__links a.active-link { color: var(--gold); }
.nav__links a.active-link::after { width: 100%; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero::before { display: none; }
    .hero__visual { order: 1; }
    .hero__credential-stack { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
    .credential-card { flex: 1; min-width: 220px; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid { grid-template-columns: 1fr; gap: 3rem; }
    .why__photo { max-width: 500px; margin: 0 auto; }
    .process__intro { grid-template-columns: 1fr; gap: 2rem; }
    .process__photo { max-width: 500px; margin: 0 auto; }
    .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .methodology-grid { grid-template-columns: repeat(2, 1fr); }
    .challenges-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .challenges-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__mobile { display: flex; }
    .hero { min-height: auto; padding-top: 7rem; }
    .ej-compliance-page .hero { padding: 128px 0 72px; }
    .ej-compliance-page .section { padding: 72px 0; }
    .hero__credential-stack { flex-direction: column; }
    .credential-card { min-width: auto; }
    .solutions-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .methodology-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .process-timeline::before { left: 20px; }
    .process-step__marker { width: 42px; height: 42px; }
    .footer__inner { flex-direction: column; gap: 1rem; text-align: center; }
    .challenges-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .approach-steps { max-width: 100%; }
    .approach-step { grid-template-columns: 1fr; gap: 16px; }
    .step-number { width: 40px; height: 40px; font-size: 0.9375rem; }
    .timeline::before { left: 24px; }
    .timeline-circle { width: 48px; height: 48px; font-size: 0.75rem; }
    .cra-board { gap: 0.75rem; }
    .cra-square { width: 100px; height: 100px; }
    .cra-square__icon svg { width: 22px; height: 22px; }
    .cra-square__label { font-size: 0.6rem; }
    .cra-funnel__sources { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-bar__grid { grid-template-columns: 1fr 1fr; }
    .filter-bar { gap: 0.375rem; }
    .filter-btn { padding: 0.375rem 0.875rem; font-size: 0.75rem; }
    .error-404__actions { flex-direction: column; align-items: center; }
    .approach-step { padding: 24px 20px; }
    .cra-board { gap: 0.5rem; }
    .cra-square { width: 90px; height: 90px; padding: 0.5rem; border-radius: var(--radius-sm); }
}
