/* Illustration service page — scoped under .illustration-page */

.illustration-page {
    --ill-forest: #0d1f18;
    --ill-forest-mid: #153528;
    --ill-cream: #f6f3ec;
    --ill-paper: #fffcf7;
    --ill-text: #0f172a;
    --ill-muted: #5c6b63;
    --ill-accent: #ca3200;
    --ill-accent-dark: #9e2900;
    --ill-lime: #b8e986;
    --ill-radius: 18px;
    --ill-shadow: 0 8px 32px rgba(13, 31, 24, 0.12);
    --ill-shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.06);
    color: var(--ill-text);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* ----- Hero ----- */
.illustration-hero {
    position: relative;
    width: 100%;
    min-height: clamp(400px, 58vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.illustration-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--ill-forest);
}

.illustration-hero-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
    max-width: none;
}

.illustration-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        160deg,
        rgba(13, 31, 24, 0.85) 0%,
        rgba(13, 31, 24, 0.55) 45%,
        rgba(13, 31, 24, 0.88) 100%
    );
}

.illustration-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3.5rem 1.25rem 4rem;
    max-width: 920px;
    margin: 0 auto;
}

.illustration-hero-inner h1 {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: clamp(2.35rem, 5.5vw, 3.75rem);
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
    line-height: 1.1;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.illustration-hero-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ill-lime);
    margin-bottom: 0.75rem;
}

.illustration-hero-tagline {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    line-height: 1.55;
    margin: 0 auto 1.75rem;
    max-width: 38rem;
}

.illustration-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    align-items: center;
}

.illustration-hero-actions .btn-primary {
    padding: 0.65rem 1.6rem;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(202, 50, 0, 0.35);
}

.illustration-hero-actions .btn-outline-light {
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    font-weight: 600;
    border-width: 2px;
}

/* Trust strip */
.illustration-trust {
    background: var(--ill-cream);
    border-bottom: 1px solid rgba(13, 31, 24, 0.08);
    padding: 1.15rem 0;
}

.illustration-trust-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ill-muted);
}

.illustration-trust-inner span {
    opacity: 0.85;
}

.illustration-trust-inner .dot {
    opacity: 0.35;
}

/* Section shells */
.illustration-section {
    padding: 4rem 0;
}

.illustration-section--cream {
    background: var(--ill-cream);
}

.illustration-section--paper {
    background: var(--ill-paper);
}

.illustration-section--forest {
    background: linear-gradient(180deg, var(--ill-forest-mid) 0%, var(--ill-forest) 100%);
    color: #e8f0ec;
}

.illustration-section--forest h2,
.illustration-section--forest h3 {
    color: #fff;
}

.illustration-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ill-accent-dark);
    margin-bottom: 0.5rem;
}

.illustration-section--forest .illustration-kicker {
    color: var(--ill-lime);
}

.illustration-section-title {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: clamp(1.65rem, 3.2vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ill-text);
}

.illustration-section--forest .illustration-section-title {
    color: #fff;
}

.illustration-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--ill-muted);
    margin-bottom: 0;
}

.illustration-section--forest .illustration-lead {
    color: rgba(232, 240, 236, 0.88);
}

/* Value split */
.illustration-value-visual {
    border-radius: var(--ill-radius);
    overflow: hidden;
    box-shadow: var(--ill-shadow);
    background: #fff;
}

.illustration-value-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* Platform grid */
.illustration-platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.illustration-platform-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--ill-radius);
    padding: 1.5rem 1.35rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.illustration-platform-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 233, 134, 0.35);
}

.illustration-platform-card .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(184, 233, 134, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--ill-lime);
    font-size: 1.25rem;
}

.illustration-platform-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.illustration-platform-card p {
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
    color: rgba(232, 240, 236, 0.82);
}

/* Process */
.illustration-process-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.illustration-process-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.92);
}

.illustration-process-list li:last-child {
    border-bottom: 0;
}

.illustration-process-list .step-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(184, 233, 134, 0.2);
    color: var(--ill-lime);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA band */
.illustration-mid-cta {
    background: linear-gradient(135deg, var(--ill-forest) 0%, #1a3d2e 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.illustration-mid-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 80% 50%, rgba(202, 50, 0, 0.18), transparent 55%);
    pointer-events: none;
}

.illustration-mid-cta .container {
    position: relative;
    z-index: 1;
}

.illustration-mid-cta h2 {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

.illustration-mid-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    max-width: 520px;
}

/* Portfolio */
.illustration-portfolio {
    background: var(--ill-paper);
    padding: 4rem 0 4.5rem;
}

.illustration-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem auto 1.5rem;
    max-width: 900px;
}

.illustration-filter-btn {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: var(--ill-muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.illustration-filter-btn:hover {
    color: var(--ill-text);
    border-color: rgba(202, 50, 0, 0.35);
    background: rgba(202, 50, 0, 0.04);
}

.illustration-filter-btn.active {
    background: linear-gradient(180deg, var(--ill-accent) 0%, var(--ill-accent-dark) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(202, 50, 0, 0.3);
}

.illustration-filter-heading {
    text-align: center;
    min-height: 5.5rem;
    margin-bottom: 1.5rem;
}

.illustration-filter-heading h3 {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--ill-text);
    margin: 0 0 0.5rem;
}

.illustration-filter-heading p {
    color: var(--ill-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto;
}

.illustration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.35rem;
}

.illustration-grid .column {
    display: none;
}

.illustration-grid .column.show {
    display: block;
    animation: illFade 0.35s ease;
}

@keyframes illFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.illustration-card {
    border-radius: var(--ill-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ill-shadow-soft);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    height: 100%;
}

.illustration-card:hover {
    box-shadow: var(--ill-shadow);
    transform: translateY(-3px);
}

.illustration-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.illustration-card-body {
    padding: 1rem 1.1rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ill-muted);
}

/* FAQ */
.illustration-faq .accordion-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px !important;
    margin-bottom: 0.65rem;
    overflow: hidden;
    background: #fff;
}

.illustration-faq .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 1.1rem 1.25rem;
}

.illustration-faq .accordion-button:not(.collapsed) {
    background: rgba(202, 50, 0, 0.06);
    color: var(--ill-accent-dark);
}

.illustration-faq .accordion-body {
    color: var(--ill-muted);
    line-height: 1.65;
    padding-top: 0;
}

/* Systems teaser */
.illustration-systems-card {
    background: var(--ill-cream);
    border-radius: var(--ill-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--ill-shadow-soft);
    border: 1px solid rgba(13, 31, 24, 0.06);
}

@media (max-width: 767.98px) {
    .illustration-hero-inner {
        padding: 2.5rem 1rem 3rem;
    }

    .illustration-section {
        padding: 3rem 0;
    }

    .illustration-filter-heading {
        min-height: auto;
    }
}
