/* ─────────────────────────────────────────────────────────
   T'knoWeb showcase — "fun edition"
   Brand colors keep the legacy green, but with motion,
   gradients, glow effects and a more playful tone.
   ───────────────────────────────────────────────────────── */

:root {
    --tkw-green: #32913f;
    --tkw-green-dark: #267330;
    --tkw-green-bright: #4ec562;
    --tkw-lime: #b6e362;
    --tkw-cyan: #2bd9c0;
    --tkw-green-soft: rgba(50, 145, 63, .1);
    --tkw-dark: #1a1f1c;
    --tkw-darker: #0f1311;
    --tkw-yellow: #ffd166;
    --tkw-pink: #ff6b9d;
    --tkw-light: #f6faf6;
    --tkw-muted: #6c757d;

    --bs-primary: #32913f;
    --bs-primary-rgb: 50, 145, 63;
    --bs-link-color: #32913f;
    --bs-link-hover-color: #267330;
    --bs-link-color-rgb: 50, 145, 63;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Raleway', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--tkw-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

a { color: var(--tkw-green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tkw-green-dark); }

h1, h2 { font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }

/* ─── Scroll reveal — JS toggles .is-visible ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .4s; }

/* ─── Bootstrap recolor ─── */
.btn-primary {
    --bs-btn-bg: var(--tkw-green);
    --bs-btn-border-color: var(--tkw-green);
    --bs-btn-hover-bg: var(--tkw-green-dark);
    --bs-btn-hover-border-color: var(--tkw-green-dark);
    --bs-btn-active-bg: var(--tkw-green-dark);
    --bs-btn-active-border-color: var(--tkw-green-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 50%);
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(50, 145, 63, .35);
}
.btn-primary:hover::before { opacity: 1; }

.btn-outline-primary {
    --bs-btn-color: var(--tkw-green);
    --bs-btn-border-color: var(--tkw-green);
    --bs-btn-hover-bg: var(--tkw-green);
    --bs-btn-hover-border-color: var(--tkw-green);
}

.btn-glow {
    position: relative;
    isolation: isolate;
}
.btn-glow::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(120deg, var(--tkw-green), var(--tkw-lime), var(--tkw-cyan), var(--tkw-green));
    background-size: 300% 300%;
    z-index: -1;
    filter: blur(10px);
    opacity: .7;
    animation: btnGlow 4s linear infinite;
}
@keyframes btnGlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-bg-primary {
    background-color: var(--tkw-green) !important;
    color: #fff !important;
}

.form-control, .form-select { transition: border-color .2s, box-shadow .2s; }
.form-control:focus, .form-select:focus {
    border-color: var(--tkw-green);
    box-shadow: 0 0 0 .25rem rgba(50, 145, 63, .2);
}

/* ─── Navbar ─── */
.navbar-tkw {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(50, 145, 63, .12);
    transition: background .3s, box-shadow .3s, padding .2s;
    padding-top: .35rem;
    padding-bottom: .35rem;
}
.navbar-tkw.is-scrolled {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 6px 24px rgba(15, 23, 42, .07);
}

.navbar-tkw .navbar-brand { padding: 0; margin: 0; }
.navbar-tkw .navbar-brand img {
    height: 56px; width: auto;
    transition: transform .3s;
}
.navbar-tkw .navbar-brand:hover img { transform: rotate(-4deg) scale(1.04); }

.navbar-tkw .nav-link {
    color: var(--tkw-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: .04em;
    position: relative;
    padding-top: .55rem;
    padding-bottom: .55rem;
}
.navbar-tkw .nav-link::after {
    content: '';
    position: absolute;
    left: .9rem; right: .9rem;
    bottom: .35rem;
    height: 2px;
    background: var(--tkw-green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.navbar-tkw .nav-link:hover::after,
.navbar-tkw .nav-link.active::after { transform: scaleX(1); }
.navbar-tkw .nav-link:hover,
.navbar-tkw .nav-link.active { color: var(--tkw-green); }

/* ─── Hero — animated mesh + blobs ─── */
.hero {
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, var(--tkw-green) 0%, var(--tkw-green-dark) 100%);
    overflow: hidden;
    isolation: isolate;
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    z-index: -1;
    animation: blobFloat 18s ease-in-out infinite;
}
.hero::before {
    width: 480px; height: 480px;
    top: -120px; left: -120px;
    background: var(--tkw-lime);
}
.hero::after {
    width: 520px; height: 520px;
    bottom: -160px; right: -120px;
    background: var(--tkw-cyan);
    animation-delay: -8s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.06); }
    66% { transform: translate(-30px, 40px) scale(.96); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    z-index: -1;
}

.hero h1 {
    line-height: 1.05;
    text-transform: none;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

.hero .gradient-text {
    background: linear-gradient(120deg, #fff, var(--tkw-lime), #fff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shineSlide 6s linear infinite;
}
@keyframes shineSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero .badge {
    background: rgba(255, 255, 255, .92) !important;
    color: var(--tkw-green) !important;
    font-weight: 600;
}

.hero-card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}

.hero-icon {
    background: #fff;
    color: var(--tkw-green);
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    animation: bobble 3s ease-in-out infinite;
}
@keyframes bobble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero-stat-row {
    border-top: 1px solid rgba(255, 255, 255, .25);
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}
.hero-stat .num {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}
.hero-stat .lbl { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }

.scroll-hint {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .8);
    font-size: 1.4rem;
    animation: arrowDown 1.6s ease-in-out infinite;
}
@keyframes arrowDown {
    0%, 100% { transform: translate(-50%, 0); opacity: .65; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ─── Marquee tech stack ─── */
.marquee {
    overflow: hidden;
    background: linear-gradient(90deg, var(--tkw-dark), var(--tkw-darker));
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 1.25rem 0;
    position: relative;
}
.marquee::before, .marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; width: 80px;
    z-index: 2;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--tkw-dark), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--tkw-dark), transparent); }
.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: 1.25rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    opacity: .85;
}
.marquee-item .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--tkw-lime);
    box-shadow: 0 0 12px var(--tkw-lime);
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── Section spacing helpers ─── */
.py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
@media (max-width: 991.98px) { .py-lg-6 { padding-top: 3rem !important; padding-bottom: 3rem !important; } }

.page-header-section {
    background: linear-gradient(180deg, var(--tkw-light), #ffffff);
    border-bottom: 1px solid rgba(50, 145, 63, .15);
    position: relative;
    overflow: hidden;
}
.page-header-section::after {
    content: '';
    position: absolute;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--tkw-green-soft), transparent 70%);
    top: -180px; right: -120px;
    z-index: 0;
}
.page-header-section > .container { position: relative; z-index: 1; }
.page-header-section h1 {
    text-transform: none;
    margin: 0 0 .5rem;
}

/* ─── Section heading "kicker" ─── */
.kicker {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--tkw-green);
    background: var(--tkw-green-soft);
    padding: .35rem .8rem;
    border-radius: 999px;
    margin-bottom: .75rem;
}

/* ─── Service cards (with tilt) ─── */
.service-card {
    --rotX: 0deg;
    --rotY: 0deg;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.6rem;
    height: 100%;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
    transform: perspective(1000px) rotateX(var(--rotX)) rotateY(var(--rotY)) translateZ(0);
    will-change: transform;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-cyan));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.service-card:hover {
    box-shadow: 0 24px 50px -20px rgba(50, 145, 63, .35);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-bright));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 24px -8px rgba(50, 145, 63, .55);
    transition: transform .3s;
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }

/* ─── Step cards ─── */
.step-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.4rem;
    height: 100%;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -14px rgba(50, 145, 63, .25);
}
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-bright));
    color: #fff;
    font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 8px 20px -6px rgba(50, 145, 63, .55);
}

.big-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-bright));
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 14px 30px -10px rgba(50, 145, 63, .55);
}

/* ─── Portfolio ─── */
.portfolio-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}
.portfolio-card:hover {
    transform: translateY(-6px) rotate(-.4deg);
    box-shadow: 0 22px 50px -18px rgba(50, 145, 63, .35);
}
.portfolio-thumb {
    height: 150px;
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.6rem;
    position: relative; overflow: hidden;
}
.portfolio-thumb::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .25), transparent 60%);
}
.portfolio-card:hover .portfolio-thumb { animation: thumbShake .5s ease-in-out; }
@keyframes thumbShake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

/* ─── KPIs ─── */
.kpi-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform .25s;
}
.kpi-card:hover { transform: scale(1.03); }
.kpi-number {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(120deg, var(--tkw-green), var(--tkw-green-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.value-list { list-style: none; padding-left: 0; }
.value-list li {
    padding-left: 2.2rem;
    position: relative;
    margin-bottom: 1rem;
    transition: transform .2s;
}
.value-list li:hover { transform: translateX(4px); }
.value-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    color: var(--tkw-green);
    position: absolute;
    left: 0; top: .15rem;
    font-size: .9rem;
    background: var(--tkw-green-soft);
    width: 26px; height: 26px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    line-height: 1;
}

/* ─── Job offers ─── */
.job-card, .job-row-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.4rem;
    color: var(--tkw-dark);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}
.job-card:hover, .job-row-card:hover {
    transform: translateY(-4px);
    color: var(--tkw-dark);
    border-color: var(--tkw-green);
    box-shadow: 0 18px 40px -16px rgba(50, 145, 63, .35);
}
.job-row-card { padding: 1.4rem 1.6rem; }
.job-row-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--tkw-green), var(--tkw-green-bright));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s;
}
.job-row-card:hover::before { transform: scaleY(1); }

.job-detail {
    border-left: 4px solid var(--tkw-green);
    padding-left: 1.5rem;
}
.job-detail p { line-height: 1.75; }

.apply-aside {
    background: linear-gradient(160deg, var(--tkw-light), #fff);
    border: 1px solid rgba(50, 145, 63, .25);
    border-radius: 1rem;
    top: 1.5rem;
    box-shadow: 0 12px 30px -16px rgba(50, 145, 63, .35);
}

/* ─── CTA & footer ─── */
.cta-band {
    background: linear-gradient(135deg, var(--tkw-dark), var(--tkw-darker));
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    background: var(--tkw-green);
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    top: -100px; left: 30%;
    animation: blobFloat 20s ease-in-out infinite;
}
.cta-band > .container { position: relative; z-index: 1; }

.site-footer {
    background: linear-gradient(180deg, var(--tkw-dark), var(--tkw-darker));
    color: rgba(255, 255, 255, .85);
}
.site-footer h5, .site-footer h6 { color: #fff; }
.site-footer a { color: rgba(255, 255, 255, .85); transition: color .2s, transform .2s; display: inline-block; }
.site-footer a:hover { color: var(--tkw-lime); transform: translateX(2px); }
.site-footer .footer-logo img { width: 220px; max-width: 100%; }
.site-footer .footer-icon {
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-bright));
    border-radius: 50%;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(50, 145, 63, .55);
}

/* ─── Legal pages ─── */
.legal-content { line-height: 1.8; }
.legal-content h2 { margin-top: 2rem; }

.contact-info {
    background: linear-gradient(160deg, var(--tkw-light), #fff);
    border: 1px solid rgba(50, 145, 63, .2);
    border-radius: 1rem;
    padding: 1.6rem;
}

/* ─── Hiring badge ─── */
.hiring-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-bright));
    color: #fff;
    padding: .35rem .9rem;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .08em;
    box-shadow: 0 8px 24px -8px rgba(50, 145, 63, .55);
    animation: wobble 2.4s ease-in-out infinite;
    transform-origin: center;
}
@keyframes wobble {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}
.hiring-badge .pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .9);
    animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .9); }
    70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ─── Alerts ─── */
.alert-success {
    border: 0;
    background: linear-gradient(135deg, #d4f5dc, #f6faf6);
    color: var(--tkw-green-dark);
    border-left: 4px solid var(--tkw-green);
    animation: slideIn .5s cubic-bezier(.2, .8, .2, 1);
}
.alert-danger {
    border: 0;
    background: linear-gradient(135deg, #ffd9dc, #fff5f6);
    color: #9a000a;
    border-left: 4px solid #9a000a;
    animation: slideIn .5s cubic-bezier(.2, .8, .2, 1);
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: none; }
}

/* ─── Section heading utility ─── */
.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: .5rem; }
.section-heading p { color: var(--tkw-muted); margin-bottom: 0; }

/* ─── Confetti container ─── */
.confetti-piece {
    position: fixed;
    width: 10px; height: 10px;
    pointer-events: none;
    z-index: 9999;
    will-change: transform, opacity;
}

/* ─────────────────────────────────────────────────────────
   Click-to-call dans la navbar.
   Desktop (≥ lg): badge texte + icône à côté du bouton Contact.
   Mobile (< lg): bouton rond icône-only à côté du burger.
   ───────────────────────────────────────────────────────── */

/* Desktop variant — pill-style with the full number, hidden on mobile
   because the dedicated mobile button takes over outside the collapse. */
.nav-call .nav-call-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--tkw-green-soft);
    color: var(--tkw-green) !important;
    border: 1px solid rgba(50, 145, 63, .25);
    padding: .35rem .85rem !important;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
    transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.nav-call .nav-call-link::after { display: none; } /* override the default underline */
.nav-call .nav-call-link:hover,
.nav-call .nav-call-link:focus-visible {
    background: var(--tkw-green);
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -8px rgba(50, 145, 63, .55);
    outline: none;
}
.nav-call .nav-call-link .bi {
    animation: navCallRing 2.4s ease-in-out infinite;
    transform-origin: top center;
}
@keyframes navCallRing {
    0%, 60%, 100% { transform: rotate(0); }
    65% { transform: rotate(15deg); }
    70% { transform: rotate(-12deg); }
    75% { transform: rotate(10deg); }
    80% { transform: rotate(-8deg); }
    85% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
    .nav-call .nav-call-link .bi { animation: none; }
}

/* Inside the collapsed mobile menu, the desktop pill stretches across
   so it remains touch-friendly and easy to spot. */
@media (max-width: 991.98px) {
    .nav-call { margin-top: .5rem; }
    .nav-call .nav-call-link {
        justify-content: center;
        padding: .65rem .9rem !important;
        font-size: .95rem;
    }
}

/* Mobile-only icon button (sits next to the burger, always visible). */
.btn-call-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-dark));
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(50, 145, 63, .55);
    border: 0;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.btn-call-mobile:hover,
.btn-call-mobile:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -6px rgba(50, 145, 63, .7);
    outline: none;
}
.btn-call-mobile .bi { font-size: 1.05rem; }

/* ─────────────────────────────────────────────────────────
   PORTFOLIO — bento layout, varied tag colors, fun hovers
   ───────────────────────────────────────────────────────── */

.portfolio-hero {
    position: relative;
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-dark));
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    padding: 4rem 0 5rem;
}
.portfolio-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 209, 102, .25), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(43, 217, 192, .3), transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(182, 227, 98, .25), transparent 45%);
}
.portfolio-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -.02em;
    text-transform: none;
    line-height: 1.05;
}

/* Floating shapes drifting in the background. */
.floating-shape {
    position: absolute;
    pointer-events: none;
    z-index: -1;
    opacity: .6;
    animation: floatDrift 14s ease-in-out infinite;
}
.floating-shape svg { display: block; }
.floating-shape.s1 { top: 10%; left: 6%; animation-delay: 0s; }
.floating-shape.s2 { top: 20%; right: 8%; animation-delay: -3s; }
.floating-shape.s3 { bottom: 14%; left: 12%; animation-delay: -7s; }
.floating-shape.s4 { bottom: 20%; right: 14%; animation-delay: -10s; }
@keyframes floatDrift {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    33% { transform: translate(20px, -25px) rotate(8deg); }
    66% { transform: translate(-18px, 18px) rotate(-6deg); }
}

/* Bento grid for project cards. */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 220px;
    gap: 1.25rem;
}
.bento-item {
    position: relative;
    border-radius: 1.25rem;
    padding: 1.5rem;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: default;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
    isolation: isolate;
}
.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    z-index: -1;
}
.bento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .25), transparent 60%);
    z-index: -1;
    pointer-events: none;
}
.bento-item:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .35);
}
.bento-item .b-icon {
    font-size: 3rem;
    align-self: flex-start;
    margin-bottom: auto;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), filter .4s;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .25));
}
.bento-item:hover .b-icon { transform: rotate(-8deg) scale(1.15); }
.bento-item .b-tag {
    align-self: flex-start;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .25rem .65rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    margin-bottom: .5rem;
}
.bento-item h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 .35rem; line-height: 1.2; }
.bento-item p { font-size: .85rem; opacity: .92; margin: 0; line-height: 1.5; }

/* Bento color variants — each card gets its own gradient. */
.bento-item.bv-1 { background: linear-gradient(135deg, #32913f, #4ec562); }
.bento-item.bv-2 { background: linear-gradient(135deg, #2bd9c0, #1d8e7f); }
.bento-item.bv-3 { background: linear-gradient(135deg, #ffd166, #f0a800); color: #1a1f1c; }
.bento-item.bv-3 .b-tag { background: rgba(26, 31, 28, .15); color: #1a1f1c; }
.bento-item.bv-4 { background: linear-gradient(135deg, #ff6b9d, #c2185b); }
.bento-item.bv-5 { background: linear-gradient(135deg, #1a1f1c, #2d3a30); }
.bento-item.bv-6 { background: linear-gradient(135deg, #b6e362, #6db028); color: #1a1f1c; }
.bento-item.bv-6 .b-tag { background: rgba(26, 31, 28, .15); color: #1a1f1c; }

/* Bento sizing — wide / tall / square mix. */
.bento-item.size-md  { grid-column: span 2; grid-row: span 1; }
.bento-item.size-lg  { grid-column: span 3; grid-row: span 2; }
.bento-item.size-wide { grid-column: span 4; grid-row: span 1; }
.bento-item.size-tall { grid-column: span 2; grid-row: span 2; }

@media (max-width: 991.98px) {
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .bento-item.size-md, .bento-item.size-lg, .bento-item.size-wide, .bento-item.size-tall {
        grid-column: span 1; grid-row: span 1;
    }
    .bento-item.size-lg, .bento-item.size-tall { grid-row: span 2; }
}
@media (max-width: 575.98px) {
    .bento { grid-template-columns: 1fr; }
    .bento-item.size-lg, .bento-item.size-tall { grid-row: span 2; }
}

/* Testimonials marquee. */
.testimonials-track {
    display: flex;
    gap: 1.5rem;
    animation: marqueeScroll 50s linear infinite;
    width: max-content;
}
.testimonial-card {
    flex-shrink: 0;
    width: 360px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .15);
}
.testimonial-card .quote-mark {
    font-size: 2.2rem;
    color: var(--tkw-green);
    line-height: 1;
    margin-bottom: .25rem;
}
.testimonial-card p {
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--tkw-dark);
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.testimonial-card .avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-bright));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
}

/* Stats strip used on portfolio page. */
.stats-strip {
    background: linear-gradient(135deg, var(--tkw-dark), var(--tkw-darker));
    color: #fff;
    border-radius: 1.25rem;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}
.stats-strip::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: var(--tkw-green);
    filter: blur(80px);
    opacity: .35;
    top: -100px; right: -50px;
    animation: blobFloat 16s ease-in-out infinite;
}
.stats-strip .stat-num {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(120deg, var(--tkw-lime), var(--tkw-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.stats-strip .stat-lbl {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .85;
    margin-top: .3rem;
}

/* ─────────────────────────────────────────────────────────
   CONTACT — choice cards, FAQ, animated icons
   ───────────────────────────────────────────────────────── */

.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #f6faf6 0%, #ffffff 100%);
    overflow: hidden;
    padding: 4rem 0 3rem;
}
.contact-hero::before {
    content: '';
    position: absolute;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(50, 145, 63, .18), transparent 65%);
    top: -160px; right: -120px;
    animation: blobFloat 18s ease-in-out infinite;
    z-index: 0;
}
.contact-hero::after {
    content: '';
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43, 217, 192, .14), transparent 65%);
    bottom: -120px; left: -80px;
    animation: blobFloat 22s ease-in-out infinite;
    animation-delay: -7s;
    z-index: 0;
}
.contact-hero > .container { position: relative; z-index: 1; }
.contact-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    text-transform: none;
    letter-spacing: -.02em;
}
.contact-hero h1 .gradient-text-green {
    background: linear-gradient(120deg, var(--tkw-green), var(--tkw-green-bright), var(--tkw-cyan));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shineSlide 6s linear infinite;
}

/* Cards "what type of request" with emoji-like icons. */
.choice-card {
    display: block;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    text-decoration: none;
    color: var(--tkw-dark);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
    height: 100%;
    cursor: pointer;
    position: relative;
}
.choice-card:hover {
    transform: translateY(-6px);
    color: var(--tkw-dark);
    text-decoration: none;
    border-color: var(--tkw-green);
    box-shadow: 0 18px 40px -16px rgba(50, 145, 63, .35);
}
.choice-card .emoji {
    font-size: 2.4rem;
    display: inline-block;
    margin-bottom: .75rem;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1.6);
}
.choice-card:hover .emoji { transform: scale(1.2) rotate(-8deg); }
.choice-card h3 { font-size: .95rem; font-weight: 800; margin: 0 0 .25rem; }
.choice-card p { font-size: .8rem; color: var(--tkw-muted); margin: 0; }
.choice-card .check {
    position: absolute;
    top: 8px; right: 8px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--tkw-green);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0;
    transform: scale(.5);
    transition: opacity .25s, transform .25s;
}
.choice-card.is-active {
    border-color: var(--tkw-green);
    background: linear-gradient(160deg, rgba(50, 145, 63, .06), #fff);
}
.choice-card.is-active .check { opacity: 1; transform: scale(1); }
.choice-card.is-active .emoji { transform: scale(1.15) rotate(-4deg); }

/* Fancy form card. */
.contact-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
}
.contact-form-card::before {
    content: '';
    position: absolute;
    inset: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tkw-green), var(--tkw-cyan), var(--tkw-lime), var(--tkw-green));
    background-size: 300% 100%;
    animation: btnGlow 8s linear infinite;
}

/* Floating-label inputs. */
.tkw-floating {
    position: relative;
}
.tkw-floating > input,
.tkw-floating > textarea,
.tkw-floating > .form-control {
    width: 100%;
    border: 1px solid #d8dde2;
    border-radius: .65rem;
    padding: 1.4rem .9rem .55rem;
    font-size: 1rem;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.tkw-floating > textarea, .tkw-floating > .form-control {
    min-height: 130px;
    resize: vertical;
}
.tkw-floating > input:focus,
.tkw-floating > textarea:focus,
.tkw-floating > .form-control:focus {
    outline: none;
    border-color: var(--tkw-green);
    box-shadow: 0 0 0 .25rem rgba(50, 145, 63, .18);
}
.tkw-floating > label {
    position: absolute;
    left: .9rem;
    top: 1rem;
    color: var(--tkw-muted);
    pointer-events: none;
    transition: top .2s, font-size .2s, color .2s;
    background: #fff;
    padding: 0 .25rem;
}
.tkw-floating > input:focus + label,
.tkw-floating > input:not(:placeholder-shown) + label,
.tkw-floating > textarea:focus + label,
.tkw-floating > textarea:not(:placeholder-shown) + label,
.tkw-floating > .form-control:focus + label,
.tkw-floating > .form-control:not(:placeholder-shown) + label {
    top: -.55rem;
    font-size: .75rem;
    color: var(--tkw-green);
    font-weight: 600;
}

/* Animated contact-method cards. */
.method-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--tkw-dark);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    margin-bottom: .75rem;
}
.method-card:hover {
    transform: translateX(4px);
    color: var(--tkw-dark);
    text-decoration: none;
    border-color: var(--tkw-green);
    box-shadow: 0 12px 28px -16px rgba(50, 145, 63, .3);
}
.method-card .m-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-bright));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform .35s;
}
.method-card:hover .m-icon { transform: rotate(-10deg) scale(1.08); }
.method-card .m-icon.icon-shake .bi { animation: bellShake 1.2s infinite; transform-origin: top center; }
@keyframes bellShake {
    0%, 50%, 100% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
}
.method-card .m-icon.icon-bounce .bi {
    display: inline-block;
    animation: iconBounce 1.6s ease-in-out infinite;
}
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.method-card .m-title { font-weight: 700; margin: 0; line-height: 1.2; }
.method-card .m-sub { font-size: .8rem; color: var(--tkw-muted); margin: 0; }
.method-card .arrow {
    margin-left: auto;
    color: var(--tkw-green);
    transition: transform .25s;
}
.method-card:hover .arrow { transform: translateX(4px); }

/* FAQ accordion (without JS — uses <details>). */
.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0;
    margin-bottom: .75rem;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] {
    border-color: var(--tkw-green);
    box-shadow: 0 12px 28px -16px rgba(50, 145, 63, .25);
}
.faq-item > summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 700;
    user-select: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    margin-left: auto;
    color: var(--tkw-green);
    transition: transform .25s;
    font-weight: 400;
}
.faq-item[open] > summary::after { transform: rotate(180deg); }
.faq-item .q-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--tkw-green-soft);
    color: var(--tkw-green);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: .9rem;
}
.faq-item .answer {
    padding: 0 1.4rem 1.2rem 4.05rem;
    color: var(--tkw-muted);
    line-height: 1.7;
    animation: faqSlide .35s ease-out;
}
@keyframes faqSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* Promise band on contact page. */
.promise-band {
    background: linear-gradient(135deg, var(--tkw-green), var(--tkw-green-dark));
    color: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.promise-band::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .15), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .1), transparent 40%);
}
.promise-band .promise-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .2);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
