/* EJYISOFT design system */
:root {
    --brand: #1368e8;
    --brand-strong: #0b4eb8;
    --brand-soft: #eaf2ff;
    --accent: #17c3a2;
    --ink: #0c1830;
    --text: #40506b;
    --muted: #6b7890;
    --surface: #ffffff;
    --surface-alt: #f5f8fc;
    --surface-raised: #ffffff;
    --border: #dfe7f2;
    --header-bg: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 10px 30px rgba(17, 43, 83, 0.08);
    --shadow-lg: 0 24px 70px rgba(17, 43, 83, 0.14);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;
    --header-height: 82px;
}

[data-theme="dark"] {
    --brand: #62a3ff;
    --brand-strong: #8bbcff;
    --brand-soft: #122a4c;
    --accent: #4dd9bd;
    --ink: #f4f7fc;
    --text: #c1ccdd;
    --muted: #95a4bb;
    --surface: #08111f;
    --surface-alt: #0d192b;
    --surface-raised: #122139;
    --border: #263751;
    --header-bg: rgba(8, 17, 31, 0.9);
    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.24);
    --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.38);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
    margin: 0;
    padding-top: var(--header-height);
    overflow-x: hidden;
    background: var(--surface);
    color: var(--text);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    transition: background-color .25s ease, color .25s ease;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.18; letter-spacing: -.025em; }
p:last-child { margin-bottom: 0; }
section { position: relative; }
.section-space { padding: 6rem 0; }
.section-muted { background: var(--surface-alt); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    color: var(--brand);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title { max-width: 760px; margin-inline: auto; }
.section-title h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin-bottom: 1rem; }
.section-title p { max-width: 650px; margin-inline: auto; color: var(--muted); font-size: 1.06rem; }
.content-narrow { max-width: 650px; }
.faq-wrap { max-width: 850px; }
.text-muted, .text-dark, .lead { color: var(--text) !important; }
.bg-white { background: var(--surface) !important; }
.bg-light { background: var(--surface-alt) !important; }
.skip-link { position: fixed; top: -80px; left: 1rem; z-index: 1200; padding: .8rem 1rem; background: var(--ink); color: var(--surface); border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; color: var(--surface); }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 2000; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--brand)); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* Navigation */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1030;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    background: var(--header-bg);
    backdrop-filter: blur(18px);
    transition: height .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header .navbar { height: 100%; padding: 0; }
.site-header .container { position: relative; }
.navbar-brand { display: inline-flex; align-items: center; padding: 0; }
.navbar-brand img { width: auto; height: 58px; object-fit: contain; }
[data-theme="dark"] .navbar-brand img, [data-theme="dark"] .footer-brand img { filter: brightness(0) invert(1); }
.navbar-nav { align-items: center; gap: .15rem; }
.navbar-nav .nav-link {
    position: relative;
    padding: .7rem .85rem !important;
    border-radius: 10px;
    color: var(--ink) !important;
    font-size: .9rem;
    font-weight: 600;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--brand) !important; background: var(--brand-soft); }
.nav-cta { margin-left: .6rem; }
.nav-cta .btn { padding: .68rem 1rem; font-size: .86rem; }
.nav-actions { display: flex; align-items: center; gap: .55rem; margin-left: .7rem; }
.icon-button, .navbar-toggler {
    display: inline-grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-raised);
    color: var(--ink);
    box-shadow: none;
}
.icon-button:hover, .navbar-toggler:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.icon-button:focus-visible, .navbar-toggler:focus-visible, .btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(19, 104, 232, .35);
    outline-offset: 3px;
    box-shadow: none;
}
.navbar-toggler { display: none; font-size: 1.15rem; }

/* Buttons */
.btn { border-radius: 12px; font-weight: 650; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(19, 104, 232, .2); }
.btn-primary:hover, .btn-primary:focus { border-color: var(--brand-strong); background: var(--brand-strong); color: #fff; }
.btn-outline-primary { border-color: var(--border); background: var(--surface-raised); color: var(--ink); }
.btn-outline-primary:hover, .btn-outline-primary.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.btn-light { color: #0c1830; }
.btn-lg { padding: .9rem 1.35rem; font-size: .98rem; }

/* Home hero */
.hero {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(23, 195, 162, .2), transparent 25%),
        radial-gradient(circle at 12% 78%, rgba(64, 138, 255, .2), transparent 30%),
        linear-gradient(135deg, #07142a 0%, #0b2654 55%, #0d4182 100%);
    color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent); }
.hero .container { position: relative; z-index: 2; padding-block: 5rem; }
.hero h1 { max-width: 880px; color: #fff; font-size: clamp(2.65rem, 6.2vw, 5.6rem); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 span { color: #69dbc6; }
.hero-copy { max-width: 670px; color: #cbd8ea; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 3rem; color: #d9e4f2; font-size: .9rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: .55rem; }
.hero-proof i { color: #69dbc6; }
.hero-visual { position: relative; max-width: 470px; margin-left: auto; }
.hero-panel { position: relative; z-index: 2; padding: 1.25rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); background: rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.25); backdrop-filter: blur(15px); }
.hero-screen { position: relative; overflow: hidden; border-radius: 0 0 20px 20px; background: #0b1729; }
.hero-panel img { width: 100%; height: 300px; border-radius: 0 0 20px 20px; object-fit: cover; object-position: top center; transition: opacity .25s ease, transform .45s cubic-bezier(.2,.75,.25,1); }
.hero-panel.is-switching img { opacity: 0; transform: scale(1.025); }
.hero-browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 .75rem; border-radius: 20px 20px 0 0; background: rgba(4, 15, 32, .92); }
.hero-browser-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; }
.hero-browser-bar > span:nth-child(2) { background: #ffd166; }
.hero-browser-bar > span:nth-child(3) { background: #4dd9bd; }
.hero-browser-bar small { margin-left: auto; color: #8da3bf; font-size: .62rem; }
.hero-gallery-controls { position: absolute; bottom: 2rem; left: 2rem; z-index: 5; display: flex; gap: .38rem; padding: .45rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(3,12,27,.72); backdrop-filter: blur(12px); }
.hero-gallery-controls button { position: relative; width: 24px; height: 24px; padding: 0; overflow: hidden; border: 0; border-radius: 999px; background: transparent; transition: width .25s ease; }
.hero-gallery-controls button::before { content: ""; position: absolute; top: 8px; left: 8px; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.48); transition: width .25s ease, background-color .25s ease; }
.hero-gallery-controls button::after { content: ""; position: absolute; top: 8px; left: 8px; width: 26px; height: 8px; border-radius: 999px; background: #69dbc6; transform: scaleX(0); transform-origin: left; }
.hero-gallery-controls button.is-active { width: 42px; }
.hero-gallery-controls button.is-active::before { width: 26px; background: rgba(255,255,255,.28); }
.hero-gallery-controls button.is-active::after { animation: galleryProgress 5s linear forwards; }
.hero-panel:hover .hero-gallery-controls button.is-active::after, .hero-panel:focus-within .hero-gallery-controls button.is-active::after { animation-play-state: paused; }
.hero-gallery-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.floating-card { position: absolute; z-index: 3; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(7,20,42,.88); color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.28); font-size: .85rem; }
.floating-card i { margin-right: .45rem; color: #69dbc6; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: .45rem; border-radius: 50%; background: #69dbc6; box-shadow: 0 0 0 5px rgba(105, 219, 198, .16); animation: livePulse 2s infinite; }
.floating-card--top { top: -18px; right: -14px; animation: floatY 4.5s ease-in-out infinite; }
.floating-card--bottom { bottom: -18px; left: -24px; animation: floatY 5s ease-in-out -1.4s infinite; }
.hero-mini-project { position: absolute; right: -30px; bottom: 45px; z-index: 4; display: flex; align-items: center; gap: .65rem; padding: .55rem .8rem .55rem .55rem; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(7,20,42,.94); box-shadow: 0 18px 42px rgba(0,0,0,.3); color: #fff; pointer-events: none; }
.hero-mini-project img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.hero-mini-project strong, .hero-mini-project small { display: block; line-height: 1.25; }
.hero-mini-project strong { font-size: .78rem; }
.hero-mini-project small { color: #9fb2c9; font-size: .62rem; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 8px rgba(105, 219, 198, 0); } }

.capability-strip { overflow: hidden; border-bottom: 1px solid var(--border); background: var(--surface-raised); }
.capability-marquee { display: flex; width: max-content; animation: capabilityMarquee 24s linear infinite; }
.capability-strip:hover .capability-marquee { animation-play-state: paused; }
.capability-track { display: flex; flex: none; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); min-height: 76px; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.capability-track span { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; color: var(--muted); font-size: .78rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.capability-track i { color: var(--brand); font-size: 1rem; }

.impact-strip { border-bottom: 1px solid var(--border); background: var(--surface-alt); }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.impact-item { position: relative; display: flex; min-height: 128px; flex-direction: column; justify-content: center; padding: 1.35rem clamp(1rem, 3vw, 2.25rem); border-right: 1px solid var(--border); }
.impact-item:last-child { border-right: 0; }
.impact-item strong { color: var(--ink); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; letter-spacing: -.05em; }
.impact-item > span { margin-top: .5rem; color: var(--muted); font-size: .78rem; font-weight: 600; }
.impact-item--place strong { color: var(--brand); }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

@keyframes galleryProgress { to { transform: scaleX(1); } }
@keyframes floatY { 50% { transform: translateY(-8px); } }
@keyframes capabilityMarquee { to { transform: translateX(-50%); } }

/* Cards, services and products */
.card, .surface-card, .contact-info, .contact-form, .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-raised);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}
.service-card, .portfolio-card, .value-card { height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover, .portfolio-card:hover, .value-card:hover { transform: translateY(-6px); border-color: rgba(19,104,232,.4); box-shadow: var(--shadow-lg); }
.service-card { position: relative; z-index: 0; overflow: hidden; padding: 1.8rem; }
.service-card--featured { min-height: 320px; padding: clamp(2rem, 4vw, 3rem); background: linear-gradient(135deg, var(--surface-raised), var(--brand-soft)); }
.service-card--featured h3 { max-width: 400px; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.service-card--featured p { max-width: 550px; font-size: 1rem; }
.service-icon { display: grid; width: 54px; height: 54px; margin-bottom: 1.3rem; place-items: center; border-radius: 15px; background: var(--brand-soft); color: var(--brand); font-size: 1.25rem; }
.service-card--featured .service-icon { background: var(--brand); color: #fff; box-shadow: 0 12px 30px rgba(19,104,232,.22); }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--muted); font-size: .93rem; }
.service-points { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.35rem 0; padding: 0; list-style: none; }
.service-points li { padding: .35rem .65rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-raised); color: var(--ink); font-size: .72rem; font-weight: 600; }
.service-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; font-size: .82rem; font-weight: 700; }
[data-spotlight] { --spot-x: 50%; --spot-y: 50%; position: relative; isolation: isolate; }
[data-spotlight]::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(380px circle at var(--spot-x) var(--spot-y), rgba(98,163,255,.13), transparent 55%); transition: opacity .25s ease; }
[data-spotlight]:hover::before { opacity: 1; }
.process-number { display: inline-grid; width: 38px; height: 38px; margin-bottom: 1rem; place-items: center; border-radius: 50%; background: var(--ink); color: var(--surface); font-size: .85rem; font-weight: 700; }
.product-showcase { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.product-media { position: relative; min-height: 410px; display: grid; overflow: hidden; place-items: center; padding: 2rem; background: linear-gradient(145deg, var(--brand-soft), var(--surface-alt)); }
.product-media::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(19,104,232,.13); filter: blur(2px); }
.product-media::after { content: ""; position: absolute; inset: 12% 8%; border: 1px solid rgba(98,163,255,.22); border-radius: 28px; transform: rotate(-4deg); }
.product-media img { position: relative; z-index: 2; width: min(76%, 320px); max-height: 320px; border-radius: 24px; object-fit: contain; filter: drop-shadow(0 24px 32px rgba(10, 39, 83, .18)); }
.product-showcase--rdcdeal .product-media img { width: min(82%, 380px); }
.product-copy { padding: clamp(2rem, 5vw, 4.5rem); }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .7rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(23,195,162,.15); }
.portfolio-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-bottom: 2.2rem; }
.portfolio-filters .btn { padding: .6rem .9rem; font-size: .8rem; }
.portfolio-item[hidden] { display: none !important; }
.portfolio-card { overflow: hidden; }
.portfolio-image { position: relative; overflow: hidden; background: var(--surface-alt); }
.portfolio-image img { width: 100%; height: 260px; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.portfolio-item--featured .portfolio-image img { height: 330px; }
.portfolio-item--logo .portfolio-image { background: radial-gradient(circle at 50% 45%, var(--brand-soft), var(--surface-alt) 70%); }
.portfolio-item--logo .portfolio-image img { padding: clamp(2rem, 6vw, 4rem); object-fit: contain; }
.portfolio-card:hover .portfolio-image img { transform: scale(1.04); }
.portfolio-card .card-body { padding: 1.5rem; }
.portfolio-card .card-text { color: var(--muted); font-size: .9rem; }
.portfolio-item--featured .portfolio-card .card-body { padding: 1.8rem; }
.portfolio-item--featured .portfolio-card h3 { font-size: 1.35rem; }
.project-tag { color: var(--brand); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Testimonials and about */
.testimonial-card { height: 100%; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); }
.testimonial-card blockquote { color: var(--text); font-size: .94rem; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.author-name { color: var(--ink); font-size: .9rem; font-weight: 700; }
.author-company { color: var(--muted); font-size: .78rem; }
.about-hero { padding: 6rem 0; overflow: hidden; background: var(--surface-alt); }
.about-hero h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); }
.about-image { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); object-fit: cover; object-position: center; box-shadow: var(--shadow-lg); }
.value-card { padding: 1.6rem; }
.team-card { height: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.team-card-img-container { height: 270px; overflow: hidden; background: var(--surface-alt); }
.team-card-img-container img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card-content { padding: 1.4rem; }
.team-card-name { margin: 0; font-size: 1.05rem; }
.team-card-title { margin: .3rem 0 .8rem; color: var(--brand); font-size: .82rem; font-weight: 600; }
.team-card-bio { color: var(--muted); font-size: .84rem; }
.team-card-social { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.team-card-social a, .social-link { display: inline-grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--border); border-radius: 10px; color: var(--text); }
.team-card-social a:hover, .social-link:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.accordion { --bs-accordion-border-color: transparent; --bs-accordion-bg: transparent; }
.accordion-item { overflow: hidden; margin-bottom: .8rem; box-shadow: none; }
.accordion-button { padding: 1.25rem 1.4rem; background: var(--surface-raised); color: var(--ink); font-weight: 650; box-shadow: none !important; }
.accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand); }
.accordion-button::after { filter: none; }
[data-theme="dark"] .accordion-button::after { filter: invert(1); }
.accordion-body { color: var(--text); }

/* Contact */
.contact-info, .contact-form { height: 100%; padding: clamp(1.5rem, 4vw, 2.2rem); }
.contact-line { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-line i { display: grid; flex: 0 0 40px; height: 40px; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.contact-line h3 { margin: 0 0 .15rem; font-size: .9rem; }
.contact-line p, .contact-line a { color: var(--muted); font-size: .9rem; }
.form-label { color: var(--ink); font-size: .84rem; font-weight: 600; }
.form-control {
    min-height: 50px;
    padding: .72rem .9rem;
    border-color: var(--border);
    border-radius: 11px;
    background: var(--surface);
    color: var(--ink);
}
.form-control:focus { border-color: var(--brand); background: var(--surface); color: var(--ink); box-shadow: 0 0 0 .22rem rgba(19,104,232,.13); }
.form-control::placeholder { color: var(--muted); opacity: .8; }
.form-honeypot { position: absolute !important; left: -9999px !important; }
.form-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; font-size: .86rem; }
.form-status:empty { display: none; }
.form-status--success { background: rgba(23,195,162,.13); color: #087a66; }
.form-status--danger { background: rgba(225,67,67,.12); color: #b52a2a; }
.form-status--info { background: var(--brand-soft); color: var(--brand); }
[data-theme="dark"] .form-status--success { color: #68e3cb; }
[data-theme="dark"] .form-status--danger { color: #ff9898; }
.quick-brief { padding: 1rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-alt); }
.quick-brief__label { display: block; margin-bottom: .7rem; color: var(--ink); font-size: .78rem; font-weight: 700; }
.quick-brief__choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.quick-brief__choices button { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-raised); color: var(--text); font-size: .74rem; font-weight: 600; }
.quick-brief__choices button:hover, .quick-brief__choices button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }

/* Project pages */
.project-hero { min-height: 520px; display: flex; align-items: end; overflow: hidden; background-position: center; background-size: cover; }
.project-hero--uplbot { background-image: url("images/optimized/uplbot.webp"); }
.project-hero--gschool { background-image: url("images/optimized/fraisscolaire.webp"); }
.project-hero--pepites { background-image: url("images/optimized/pepites.webp"); }
.project-hero--gendealers { background-image: url("images/optimized/gendealers.webp"); }
.project-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,12,27,.96), rgba(3,12,27,.2)); }
.project-hero-content { position: relative; z-index: 2; width: 100%; padding: 5rem 0 4rem; }
.project-hero h1 { color: #fff; font-size: clamp(2.7rem, 6vw, 5rem); }
.project-hero p { color: #d4dfed !important; }
.project-info-bar { position: relative; z-index: 3; margin-top: -28px; }
.project-info-bar .container { padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); box-shadow: var(--shadow-lg); }
.project-info-card { height: 100%; padding: .7rem 1rem; border-right: 1px solid var(--border); }
.project-info-bar [class*="col-"]:last-child .project-info-card { border-right: 0; }
.info-title { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.info-value { color: var(--ink); font-size: .92rem; font-weight: 650; }
.project-content { max-width: 920px; }
.project-content section { padding: 2.2rem 0; border-bottom: 1px solid var(--border); }
.project-content h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.project-content img { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.project-back { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.4rem; color: #d4dfed; font-size: .78rem; font-weight: 650; }
.project-back:hover { color: #fff; }
.project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding-top: 2rem; }
.project-nav a { display: flex; min-height: 72px; align-items: center; justify-content: center; gap: .55rem; padding: 1rem; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-raised); color: var(--ink); font-size: .84rem; font-weight: 700; text-align: center; }
.project-nav a:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); transform: translateY(-2px); }
.tech-list { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; list-style: none; }
.tech-list li { padding: .45rem .75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-alt); color: var(--ink); font-size: .8rem; font-weight: 600; }
.legal-page { min-height: 70vh; padding: 5rem 0; }
.legal-page .legal-content { max-width: 850px; }
.legal-page h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.legal-page h2 { margin-top: 2.5rem; font-size: 1.35rem; }
.legal-page ul { padding-left: 1.2rem; }
.error-page { min-height: calc(100vh - var(--header-height)); display: grid; place-items: center; padding: 4rem 0; text-align: center; background: var(--surface-alt); }
.error-code { color: var(--brand); font-size: clamp(5rem, 18vw, 10rem); font-weight: 700; line-height: .9; letter-spacing: -.08em; }

/* Footer */
.site-footer { padding: 4.5rem 0 1.5rem; border-top: 1px solid var(--border); background: var(--surface-alt); }
.footer-brand img { height: 62px; width: auto; }
.site-footer h2 { font-size: 1rem; }
.site-footer p, .site-footer a { color: var(--muted); font-size: .88rem; }
.site-footer a:hover { color: var(--brand); }
.footer-links { padding: 0; list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
#backToTop { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1000; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); }
body.has-chatbot #backToTop { right: 8rem; }
.bpFabWrapper { display: none !important; }
.chatbot-fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 9997; display: inline-flex; min-width: 58px; height: 58px; align-items: center; justify-content: center; gap: .5rem; padding: 0 1rem; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--brand), #17a98e); color: #fff; box-shadow: 0 14px 36px rgba(10, 71, 164, .3); font: inherit; font-size: .78rem; font-weight: 750; transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease; }
.chatbot-fab:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 42px rgba(10, 71, 164, .38); }
.chatbot-fab i { font-size: 1.2rem; }
.chatbot-fab.is-loading i { animation: livePulse 1s infinite; }
body.chatbot-open .chatbot-fab { opacity: 0; visibility: hidden; transform: scale(.85); pointer-events: none; }
body.chatbot-unavailable .chatbot-fab { filter: grayscale(.45); }
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
.whatsapp-fab { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 1000; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem; border-radius: 999px; background: #19a463; color: #fff; box-shadow: 0 12px 32px rgba(13, 112, 64, .28); font-size: .8rem; font-weight: 700; }
.whatsapp-fab:hover { color: #fff; background: #138452; transform: translateY(-2px); }
.whatsapp-fab i { font-size: 1.2rem; }
.mobile-action-bar { display: none; }

/* Responsive */
/* Vitrine des produits et de la recherche EJYISOFT */
.product-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.product-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .15rem; min-height: 46px; }
.status-pill--live { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid rgba(23,195,162,.35); background: rgba(23,195,162,.12); color: var(--ink); }
.status-pill--live .live-dot { position: static; flex: 0 0 auto; }
.project-art { position: relative; display: flex; min-height: 275px; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; overflow: hidden; isolation: isolate; color: #fff; }
.project-art::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.045), 0 0 0 95px rgba(255,255,255,.03); }
.project-art i { font-size: clamp(4rem, 8vw, 6rem); filter: drop-shadow(0 12px 24px rgba(0,0,0,.18)); transition: transform .4s ease; }
.portfolio-card:hover .project-art i { transform: scale(1.1) rotate(-5deg); }
.project-art span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.project-art--ai { background: linear-gradient(135deg, #171b4a, #4d44ae 60%, #9f59c9); }
.innovation-note { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); color: var(--text); }
.innovation-note i { flex: 0 0 auto; font-size: 1.45rem; color: var(--brand); }
.product-showcase .product-copy p { max-width: 46ch; }
@media (max-width: 575.98px) {
    .product-actions { flex-direction: column; }
    .product-actions .btn { width: 100%; }
    .innovation-note { align-items: flex-start; padding: 1.15rem; }
    .project-art { min-height: 220px; }
}

@media (max-width: 991.98px) {
    :root { --header-height: 72px; }
    .site-header .navbar > .container { flex-wrap: nowrap; }
    .navbar-brand img { height: 48px; }
    .navbar-toggler { display: inline-grid; }
    .nav-actions { margin-left: auto; }
    .navbar-collapse {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-height));
        max-height: calc(100svh - var(--header-height));
        overflow-y: auto;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        background: var(--surface);
        box-shadow: var(--shadow-lg);
    }
    .navbar-collapse .navbar-nav { align-items: stretch; gap: .35rem; padding: 1rem max(1rem, calc((100vw - 720px) / 2)); }
    .navbar-nav .nav-link { display: flex; align-items: center; min-height: 48px; padding: .75rem 1rem !important; }
    .nav-cta { margin: .45rem 0 0; }
    .nav-cta .btn { width: 100%; padding: .85rem 1rem; }
    .hero .container { padding-block: 4rem; }
    .hero-visual { max-width: 560px; margin: 4rem auto 0; }
    .hero-panel img { height: 340px; }
    .product-media { min-height: 320px; }
    .about-image { margin-top: 2rem; }
}

@media (max-width: 767.98px) {
    .section-space { padding: 4.5rem 0; }
    .hero { text-align: left; }
    .hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-proof { display: grid; gap: .7rem; }
    .hero-visual { margin-top: 3.5rem; }
    .floating-card--top { top: -14px; right: -4px; }
    .floating-card--bottom { bottom: -15px; left: -5px; }
    .product-media { min-height: 260px; padding: 1.25rem; }
    .portfolio-image img, .portfolio-item--featured .portfolio-image img { height: 250px; }
    .project-hero { min-height: 430px; }
    .project-info-bar { margin-top: -18px; }
    .project-info-card { padding: .85rem .6rem; border-right: 0; border-bottom: 1px solid var(--border); }
    .project-info-bar [class*="col-"]:nth-last-child(-n+2) .project-info-card { border-bottom: 0; }
    .site-footer { padding-top: 3.5rem; padding-bottom: 6rem; }
    .capability-track { gap: 2.5rem; min-height: 66px; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-item { min-height: 108px; border-bottom: 1px solid var(--border); }
    .impact-item:nth-child(2) { border-right: 0; }
    .impact-item:nth-last-child(-n+2) { border-bottom: 0; }
    .whatsapp-fab { display: none; }
    .mobile-action-bar { position: fixed; z-index: 1050; inset: auto .75rem .75rem; display: grid; grid-template-columns: 1fr 1.65fr; gap: .45rem; padding: .45rem; border: 1px solid var(--border); border-radius: 17px; background: color-mix(in srgb, var(--surface-raised) 90%, transparent); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(18px); backdrop-filter: blur(18px); transition: opacity .25s ease, visibility .25s ease, transform .25s ease; }
    .mobile-action-bar.show { opacity: 1; visibility: visible; transform: none; }
    .mobile-action-bar a { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; border-radius: 12px; color: var(--ink); font-size: .78rem; font-weight: 700; }
    .mobile-action-bar__primary { background: var(--brand); color: #fff !important; }
    #backToTop { bottom: 5.8rem; }
    body.has-chatbot #backToTop { right: 5.5rem; }
    .chatbot-fab { right: 1rem; bottom: 5.65rem; width: 56px; min-width: 56px; height: 56px; padding: 0; }
    .chatbot-fab span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .hero-mini-project { right: -4px; bottom: 38px; }
    .hero-panel img { height: 260px; }
    .hero-gallery-controls { bottom: 1.4rem; left: 1.4rem; }
    .project-nav { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .navbar-brand img { height: 43px; }
    .nav-actions { gap: .4rem; }
    .icon-button, .navbar-toggler { width: 39px; height: 39px; border-radius: 10px; }
    .hero-panel { padding: .75rem; }
    .floating-card { padding: .65rem .75rem; font-size: .72rem; }
    .hero-mini-project { transform: scale(.9); transform-origin: right bottom; }
    .quick-brief__choices { display: grid; grid-template-columns: 1fr; }
    .quick-brief__choices button { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .capability-marquee { animation: none; }
    .capability-track[aria-hidden="true"] { display: none; }
}
