/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green: #008000;
    --green-light: #00a651;
    --green-dark: #005a00;
    --orange: #f7931e;
    --gold: #ffcc00;
    --dark: #0a0a0a;
    --dark-2: #111111;
    --dark-3: #1a1a1a;
    --dark-4: #222222;
    --gray: #888888;
    --gray-light: #cccccc;
    --white: #ffffff;
    --font: 'Outfit', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --radius: 16px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }


/* ===== LOADING ANIMATION (logo + loading bar) ===== */
#preloader {
    position: fixed; inset: 0; background: var(--dark);
    z-index: 10000; display: flex; align-items: center; justify-content: center;
}

.opener {
    position: relative; z-index: 3;
    display: flex; flex-direction: column; align-items: center;
    gap: 24px;
}

.opener-logo-group {
    display: flex; align-items: center; gap: 20px;
    opacity: 0; transform: scale(0.8);
    animation: openerLogoIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.opener-logo {
    width: 90px; height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 166, 81, 0.3));
}

.opener-text { display: flex; flex-direction: column; }

.opener-line {
    display: block; opacity: 0;
    transform: translateX(-20px);
    font-weight: 800; letter-spacing: 3px;
}

.opener-line-1 {
    font-size: 1.8rem; color: var(--orange);
    animation: openerTextSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.opener-line-2 {
    font-size: 0.9rem; color: var(--green-light); letter-spacing: 5px;
    animation: openerTextSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.opener-tagline {
    font-size: 0.8rem; color: var(--gray); letter-spacing: 3px;
    text-transform: uppercase; opacity: 0;
    animation: openerFadeIn 0.8s ease 1.3s forwards;
}

.opener-bar {
    width: 240px; height: 2px; background: var(--dark-3);
    border-radius: 2px; overflow: hidden; opacity: 0;
    animation: openerFadeIn 0.5s ease 1.5s forwards;
}

.opener-progress {
    width: 0%; height: 100%;
    background: linear-gradient(90deg, var(--green), var(--orange));
    border-radius: 2px;
    animation: openerLoad 1.5s ease-in-out 1.6s forwards;
}

.opener-curtain {
    position: absolute; top: 0; width: 50%; height: 100%;
    background: var(--dark); z-index: 2;
    transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.opener-curtain-left { left: 0; transform-origin: left; }
.opener-curtain-right { right: 0; transform-origin: right; }

#preloader.reveal .opener {
    animation: openerZoomOut 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

#preloader.reveal .opener-curtain-left { transform: translateX(-100%); }
#preloader.reveal .opener-curtain-right { transform: translateX(100%); }

#preloader.done {
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s 0.2s, visibility 0.4s 0.2s;
}

@keyframes openerLogoIn { to { opacity: 1; transform: scale(1); } }
@keyframes openerTextSlide { to { opacity: 1; transform: translateX(0); } }
@keyframes openerFadeIn { to { opacity: 1; } }
@keyframes openerLoad { to { width: 100%; } }
@keyframes openerZoomOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.6); }
}


/* ===== HERO (scroll-driven doors + reveal) ===== */
.hero-wrapper {
    height: 220vh;
    position: relative;
}

.hero {
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    background: #050505;
    perspective: 2200px;
    perspective-origin: 50% 50%;
}

/* Background office scene */
.hero-bg { position: absolute; inset: 0; z-index: 1; }

.hero-bg-img {
    position: absolute; inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) saturate(0.85);
    transform: scale(1.05);
    will-change: transform, opacity;
}
.hero-bg-img-secondary { opacity: 0; }

.hero-bg-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(5,5,5,0.5) 0%, rgba(5,5,5,0.15) 35%, rgba(5,5,5,0.2) 65%, rgba(5,5,5,0.75) 100%),
        radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0,0,0,0.5) 100%);
}

/* Particle canvas */
#heroCanvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Hero doors (foreground layer, scroll-driven rotation) */
.hero-doors {
    position: absolute; inset: 0;
    z-index: 10;
    pointer-events: none;
    transform-style: preserve-3d;
}

.hero-door {
    position: absolute; top: 0; bottom: 0;
    width: 50vw;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.55) 0%, transparent 15%, transparent 85%, rgba(0,0,0,0.55) 100%),
        linear-gradient(180deg, #141414 0%, #080808 55%, #0b0b0b 100%);
    box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.75);
    will-change: transform, box-shadow;
}

.hero-door::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(180deg,
        transparent 0, transparent 2px,
        rgba(255,255,255,0.014) 2px, rgba(255,255,255,0.014) 3px);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-door::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.hero-door-left { left: 0; transform-origin: left center; }
.hero-door-right { right: 0; transform-origin: right center; }

.hero-door-face {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}

.hero-door-etch { opacity: 0.14; filter: grayscale(0.5); transition: opacity 0.5s ease; }
.hero-door-etch-logo { width: 180px; height: auto; }
.hero-door-etch-text { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.hero-door-etch-main {
    font-family: var(--font-display);
    font-size: 1.8rem; font-weight: 800;
    letter-spacing: 7px; color: var(--gray-light);
}
.hero-door-etch-sub {
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 9px; color: var(--gray);
}

.hero-door-handle {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 6px; height: 100px;
    background: linear-gradient(180deg, #3e3e3e, #1a1a1a);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(0,0,0,0.7), inset 1px 0 0 rgba(255,255,255,0.14);
}
.hero-door-left .hero-door-handle { right: 22px; }
.hero-door-right .hero-door-handle { left: 22px; }

.hero-door-seam {
    position: absolute; top: 0; bottom: 0; left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 166, 81, 0.45) 18%,
        rgba(247, 147, 30, 0.8) 50%,
        rgba(0, 166, 81, 0.45) 82%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(0,166,81,0.5), 0 0 50px rgba(247,147,30,0.35);
    opacity: 0;
    z-index: 11;
    will-change: opacity;
    pointer-events: none;
}

/* Revealed content wrapper (centered, appears as doors open) */
.hero-content-wrapper {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px 80px;
    will-change: transform, opacity;
}

.hero-content {
    max-width: 860px;
    width: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 26px;
    text-align: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(80px) rotateX(40deg);
    transform-origin: bottom;
}

.title-amp {
    display: inline-block; color: var(--orange);
    opacity: 0; transform: scale(0); margin: 0 8px;
}

.title-line-2 { display: block; }

.title-word.accent {
    background: linear-gradient(135deg, var(--green-light), var(--orange));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-slogan {
    font-size: 1.02rem; color: var(--gray-light);
    max-width: 620px; line-height: 1.75; margin: 0;
    opacity: 0; transform: translateY(30px);
    text-align: center;
}

.hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
    opacity: 0; transform: translateY(30px);
}

/* Stats row */
.hero-stats-row {
    display: flex; align-items: center; justify-content: center; gap: 40px;
    margin-top: 8px;
    opacity: 0; transform: translateY(20px);
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.7rem; color: var(--gray); margin-top: 2px;
    text-transform: uppercase; letter-spacing: 1px;
}

.stat-divider {
    width: 1px; height: 32px; background: rgba(255,255,255,0.1);
}

/* ===== NAVBAR (floating pill) ===== */
.navbar {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
    z-index: 1000; width: calc(100% - 32px); max-width: 1180px;
    padding: 8px 12px 8px 20px;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.78);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    outline: none; border-radius: 12px; padding: 4px 8px 4px 4px;
    transition: background 0.3s ease;
}
.nav-logo:hover { background: rgba(255, 255, 255, 0.03); }
.nav-logo:focus-visible { box-shadow: 0 0 0 2px var(--green-light); }
.nav-logo-img { height: 36px; width: auto; transition: height var(--transition); filter: drop-shadow(0 0 12px rgba(0,166,81,0.15)); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-main { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; color: var(--white); }
.nav-logo-sub { font-size: 0.55rem; font-weight: 600; letter-spacing: 2.5px; color: var(--green-light); margin-top: 3px; }

.nav-menu {
    position: relative;
    display: flex; align-items: center; gap: 2px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.nav-indicator {
    position: absolute;
    top: 4px; left: 0;
    height: calc(100% - 8px);
    width: 0;
    background: linear-gradient(135deg, rgba(0, 128, 0, 0.35), rgba(247, 147, 30, 0.25));
    border: 1px solid rgba(0, 166, 81, 0.35);
    border-radius: 999px;
    transform: translateX(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    will-change: transform, width;
}
.nav-indicator.visible { opacity: 1; }

.nav-link {
    position: relative; z-index: 1;
    padding: 9px 14px; font-size: 0.78rem; font-weight: 500;
    color: var(--gray-light); border-radius: 999px;
    transition: color 0.25s ease;
    outline: none;
    white-space: nowrap;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--white); }
.nav-link:focus-visible { box-shadow: 0 0 0 2px var(--green-light); }

.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white);
    font-size: 0.82rem; font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0, 128, 0, 0.35);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s ease, background 0.3s ease;
    will-change: transform;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-cta:hover { box-shadow: 0 10px 30px rgba(0, 128, 0, 0.5); }
.nav-cta:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.nav-cta svg { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-cta:hover svg { transform: translateX(3px); }

/* Hidden on desktop, shown in drawer on mobile */
.nav-drawer-cta { display: none; }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    width: 38px; height: 38px;
    cursor: pointer; padding: 0; align-items: center;
    transition: background 0.3s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--white); border-radius: 2px; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* (old hero styles removed - replaced by cinematic split above) */

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 12px; font-size: 0.95rem;
    font-weight: 600; cursor: pointer; transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1);
    border: none; font-family: var(--font); outline: none;
    will-change: transform;
}
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white); box-shadow: 0 8px 30px rgba(0, 128, 0, 0.3);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(0, 128, 0, 0.5); }
.btn-primary i { transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.btn-primary:hover i { transform: translateY(2px); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.18); }
.btn-outline:hover { border-color: var(--green-light); background: rgba(0,128,0,0.08); }
.btn-full { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--green-light); margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.text-accent { color: var(--orange); }
.section-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--green), var(--orange)); border-radius: 3px; margin: 0 auto; }
.section-services, .section-contact { background: var(--dark-2); }

/* ===== ABOUT (editorial split + stats ribbon + certs row) ===== */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    margin-bottom: 48px;
    align-items: center;
}

.about-story-visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 560px;
    border: 1px solid rgba(255,255,255,0.06);
}
.about-story-visual::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(5,5,5,0.82) 100%);
    pointer-events: none;
    z-index: 1;
}
.about-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.about-story-visual:hover .about-image { transform: scale(1.05); }

.about-year-badge {
    position: absolute; bottom: 22px; left: 22px; z-index: 2;
    background: rgba(8,8,8,0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0,166,81,0.4);
    border-radius: 14px;
    padding: 14px 22px;
    display: flex; align-items: baseline; gap: 10px;
}
.year-number {
    font-family: var(--font-display);
    font-size: 2.2rem; font-weight: 900;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -1px;
}
.year-label {
    font-size: 0.66rem; color: var(--gray);
    text-transform: uppercase; letter-spacing: 1.5px;
    font-weight: 600;
}

.about-location-chip {
    position: absolute; top: 22px; right: 22px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: rgba(8,8,8,0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--gray-light);
}
.about-location-chip i { color: var(--green-light); font-size: 0.75rem; }

.about-story-text {
    padding: 0 8px;
    display: flex; flex-direction: column; gap: 20px;
}

.about-story-eyebrow {
    font-size: 0.72rem;
    color: var(--green-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.about-story-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0;
    color: var(--white);
}
.about-story-heading::after {
    content: '';
    display: block;
    width: 48px; height: 3px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--green), var(--orange));
    border-radius: 3px;
}

.about-story-desc {
    font-size: 1rem;
    color: var(--gray-light);
    line-height: 1.9;
    margin: 0;
}
.about-story-desc strong { color: var(--white); font-weight: 600; }

.dropcap {
    float: left;
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 0.9;
    padding: 6px 14px 0 0;
    color: var(--orange);
    letter-spacing: -2px;
}

.about-highlights {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 12px;
}
.about-highlights li {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.92rem;
    color: var(--gray-light);
    line-height: 1.5;
}
.about-highlights li i {
    color: var(--green-light);
    font-size: 1.1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(0,166,81,0.3));
}

/* Stats ribbon - horizontal editorial strip */
.about-stats-ribbon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
    padding: 32px 40px;
    margin-bottom: 24px;
    background:
        linear-gradient(135deg, rgba(0,128,0,0.05), rgba(247,147,30,0.05)),
        var(--dark-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
}
.about-stats-ribbon::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,166,81,0.6), rgba(247,147,30,0.6), transparent);
}
.about-stats-ribbon::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    top: -150px; right: -100px;
    background: radial-gradient(circle, rgba(247,147,30,0.08), transparent 70%);
    pointer-events: none;
}

.about-stat-item {
    flex: 1;
    text-align: center;
    display: flex; flex-direction: column; gap: 8px;
    position: relative; z-index: 1;
}
.about-stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -2px;
    display: flex; align-items: baseline; justify-content: center;
    gap: 1px;
}
.about-stat-suffix {
    font-family: var(--font-display);
    font-style: normal;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--green-light);
    line-height: 1;
}
.about-stat-label {
    font-size: 0.75rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}
.about-stat-divider {
    width: 1px; height: 56px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15) 30%, rgba(255,255,255,0.15) 70%, transparent);
    flex-shrink: 0;
}

/* Certifications row */
.about-certs-row {
    display: flex; align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 18px 24px;
    background: rgba(18,18,18,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    margin-bottom: 64px;
}
.about-certs-label {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.74rem;
    color: var(--green-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    white-space: nowrap;
}
.about-certs-label i { font-size: 0.85rem; }
.about-certs-row .cert-tags { flex: 1; }
.cert-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-tag {
    padding: 7px 16px;
    background: rgba(0,128,0,0.08);
    border: 1px solid rgba(0,166,81,0.22);
    border-radius: 8px;
    font-size: 0.78rem; font-weight: 600;
    color: var(--green-light);
    letter-spacing: 0.5px;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.cert-tag:hover {
    background: rgba(0,166,81,0.18);
    border-color: rgba(0,166,81,0.5);
    color: var(--white);
    transform: translateY(-2px);
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 56px;
}
.about-card {
    position: relative;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 30px 32px;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
}
.about-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--green), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.about-card:hover {
    border-color: rgba(0,166,81,0.3);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.about-card:hover::before { transform: scaleX(1); }
.about-card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }

.card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,128,0,0.25), rgba(247,147,30,0.2));
    border: 1px solid rgba(0,166,81,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--green-light);
    margin-bottom: 18px;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}
.about-card ul { list-style: none; padding: 0; margin: 0; }
.about-card ul li {
    font-size: 0.88rem;
    color: var(--gray-light);
    padding: 5px 0 5px 18px;
    position: relative;
    line-height: 1.55;
}
.about-card ul li::before {
    content: ''; position: absolute; left: 0; top: 13px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--green-light);
    box-shadow: 0 0 8px rgba(0,166,81,0.4);
}

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value-card {
    position: relative;
    text-align: center;
    padding: 30px 18px;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
}
.value-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.value-card:hover {
    border-color: rgba(247,147,30,0.3);
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}
.value-card:hover::after { transform: scaleX(1); }
.value-card:hover .value-icon { transform: rotate(10deg) scale(1.1); color: var(--green-light); }
.value-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,128,0,0.18), rgba(247,147,30,0.18));
    border: 1px solid rgba(247,147,30,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    color: var(--orange);
    margin: 0 auto 16px;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), color 0.3s ease;
}
.value-card h4 {
    font-size: 0.88rem;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}
.value-card p {
    font-size: 0.76rem;
    color: var(--gray);
    line-height: 1.55;
    margin: 0;
}

/* ===== SERVICES (bento grid) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 20px;
}
.service-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
    will-change: transform;
}
.service-card::before {
    content: '';
    position: absolute; inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(0,166,81,0.5), rgba(247,147,30,0.5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-img { transform: scale(1.08); filter: brightness(0.85); }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }

.service-card-featured { grid-column: span 2; grid-row: span 2; }
.service-card-featured .service-img-wrapper { height: 60%; min-height: 260px; }
.service-card-featured .service-body { padding: 32px 36px; }
.service-card-featured h3 { font-size: 1.4rem; }
.service-card-featured p { font-size: 0.95rem; }
.service-card-featured .service-number { font-size: 5rem; }

.service-img-wrapper { height: 160px; overflow: hidden; flex-shrink: 0; }
.service-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
}

.service-body {
    padding: 24px 26px 28px;
    position: relative;
    flex: 1;
    display: flex; flex-direction: column;
}
.service-number {
    font-family: var(--font-display);
    font-size: 3rem; font-weight: 900;
    color: rgba(255,255,255,0.04);
    position: absolute; top: 10px; right: 18px;
    line-height: 1;
    letter-spacing: -2px;
}
.service-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--white);
    margin: -42px 0 14px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,128,0,0.35);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.35;
    letter-spacing: -0.2px;
}
.service-card p {
    font-size: 0.85rem;
    color: var(--gray-light);
    line-height: 1.65;
    margin: 0;
}
.service-arrow {
    margin-top: auto; padding-top: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: var(--green-light);
    opacity: 0; transform: translateX(-4px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* ===== SECTORS ===== */
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.sector-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,166,81,0.35);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.sector-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55) saturate(0.95);
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1), filter 0.5s ease;
}
.sector-card:hover .sector-img { transform: scale(1.08); filter: brightness(0.4) saturate(1); }

.sector-card::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(5,5,5,0.3) 0%, transparent 40%, rgba(5,5,5,0.95) 100%);
    pointer-events: none;
}

.sector-content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex; flex-direction: column;
    justify-content: space-between;
    padding: 20px 22px;
}
.sector-icon {
    align-self: flex-start;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(10,10,10,0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,166,81,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--green-light);
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.35s ease;
}
.sector-card:hover .sector-icon {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white);
    border-color: transparent;
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 8px 20px rgba(0,128,0,0.4);
}
.sector-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    margin: 0 0 4px;
}
.sector-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--green-light);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.sector-cta i { transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.sector-card:hover .sector-cta { opacity: 1; transform: translateY(0); }
.sector-card:hover .sector-cta i { transform: translateX(4px); }

/* ===== EXPERTISE ===== */
.section-expertise { position: relative; overflow: hidden; }
.expertise-bg { position: absolute; inset: 0; }
.expertise-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.09) saturate(0.45);
}
.expertise-bg::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0,166,81,0.08), transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(247,147,30,0.06), transparent 50%);
}
.section-expertise .container { position: relative; z-index: 2; }

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 48px;
}
.expertise-item {
    position: relative;
    display: flex; align-items: center; gap: 16px;
    padding: 22px 26px 22px 30px;
    background: rgba(18,18,18,0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
    overflow: hidden;
}
.expertise-item::before {
    content: '';
    position: absolute; left: 0; top: 20%; bottom: 20%;
    width: 2px;
    background: linear-gradient(180deg, var(--green-light), var(--orange));
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.expertise-item:hover {
    border-color: rgba(0,166,81,0.3);
    transform: translateY(-4px);
    background: rgba(0,128,0,0.08);
    box-shadow: 0 14px 34px rgba(0,0,0,0.4);
}
.expertise-item:hover::before { transform: scaleY(1); }
.expertise-item:hover i { color: var(--green-light); transform: rotate(-8deg) scale(1.1); }

.expertise-item i {
    font-size: 1.3rem;
    color: var(--orange);
    min-width: 30px;
    text-align: center;
    transition: color 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.expertise-item span {
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.1px;
}

.expertise-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tools-section {
    padding: 30px 32px;
    background: rgba(18,18,18,0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.tools-section:hover {
    border-color: rgba(0,166,81,0.25);
    box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
.tools-section h4 {
    font-size: 0.82rem;
    margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px;
    color: var(--green-light);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
}
.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-tags span {
    padding: 8px 18px;
    background: rgba(247,147,30,0.08);
    border: 1px solid rgba(247,147,30,0.22);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 0.3px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.tool-tags span:hover {
    background: rgba(247,147,30,0.2);
    border-color: rgba(247,147,30,0.5);
    transform: translateY(-2px);
}

/* ===== PARTNERS ===== */
.section-partners { background: var(--dark); overflow: hidden; }
.partners-carousel {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.partners-track {
    display: flex; gap: 24px;
    animation: scrollPartners 30s linear infinite;
    width: max-content;
}
.partners-carousel:hover .partners-track { animation-play-state: paused; }
.partner-item {
    flex-shrink: 0;
    padding: 26px 44px;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.partner-item::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,166,81,0.08), rgba(247,147,30,0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
}
.partner-item:hover {
    border-color: rgba(0,166,81,0.3);
    transform: translateY(-3px);
}
.partner-item:hover::before { opacity: 1; }
.partner-item span {
    position: relative;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--gray-light);
    white-space: nowrap;
    transition: color 0.3s ease;
}
.partner-item:hover span { color: var(--white); }
@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}

/* ===== TEAM / FOUNDER ===== */
.section-team { background: var(--dark); }
.team-grid { display: flex; justify-content: center; }

.founder-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    max-width: 1000px;
    width: 100%;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.founder-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--green), var(--orange));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.founder-card:hover {
    border-color: rgba(0,166,81,0.3);
    transform: translateY(-5px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.5);
}
.founder-card:hover::before { transform: scaleX(1); }

.founder-portrait {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.founder-photo {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.founder-card:hover .founder-photo { transform: scale(1.05); }

.founder-badge {
    position: absolute; top: 16px; left: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: rgba(8,8,8,0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(247,147,30,0.4);
    border-radius: 999px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--orange);
}
.founder-badge i { font-size: 0.75rem; }

.founder-body { display: flex; flex-direction: column; padding: 6px 8px 6px 0; }

.founder-quote { position: relative; padding-right: 44px; margin-bottom: 26px; }
.founder-quote > i {
    position: absolute; top: -6px; right: 0;
    font-size: 2rem;
    color: rgba(247,147,30,0.28);
}
.founder-quote p {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--gray-light);
    font-style: italic;
    margin: 0;
    letter-spacing: -0.2px;
}

.founder-meta { margin-bottom: 20px; }
.founder-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -0.4px;
    line-height: 1.2;
}
.founder-role {
    font-size: 0.85rem;
    color: var(--green-light);
    font-weight: 600;
    letter-spacing: 1.2px;
    margin: 0;
    text-transform: uppercase;
}

.founder-track {
    list-style: none;
    padding: 18px 0;
    margin: 0 0 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex; flex-direction: column; gap: 12px;
}
.founder-track li {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.88rem;
    color: var(--gray-light);
    line-height: 1.45;
}
.founder-track li i {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(247,147,30,0.12);
    border: 1px solid rgba(247,147,30,0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    font-size: 0.85rem;
}

.founder-socials { display: flex; gap: 10px; margin-top: auto; }
.founder-socials a {
    width: 42px; height: 42px; border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-light);
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.founder-socials a:hover {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
    position: relative;
    display: flex; align-items: flex-start; gap: 18px;
    padding: 22px 24px;
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.contact-card::before {
    content: '';
    position: absolute; left: 0; top: 15%; bottom: 15%; width: 2px;
    background: linear-gradient(180deg, var(--green-light), var(--orange));
    transform: scaleY(0); transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.contact-card:hover {
    border-color: rgba(0,166,81,0.3);
    transform: translateX(4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.3);
}
.contact-card:hover::before { transform: scaleY(1); }
.contact-card:hover .contact-icon { transform: rotate(-6deg) scale(1.06); }

.contact-icon {
    width: 48px; height: 48px; min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(0,128,0,0.25);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.contact-card h4 {
    font-size: 0.72rem;
    margin-bottom: 6px;
    color: var(--green-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}
.contact-card p {
    font-size: 0.92rem;
    color: var(--white);
    line-height: 1.5;
    margin: 0;
}

.contact-trust {
    display: flex; flex-wrap: wrap; gap: 10px;
    padding: 14px 16px;
    background: rgba(0,128,0,0.06);
    border: 1px solid rgba(0,166,81,0.18);
    border-radius: 12px;
    font-size: 0.78rem;
    color: var(--gray-light);
}
.contact-trust span { display: inline-flex; align-items: center; gap: 6px; }
.contact-trust i { color: var(--green-light); font-size: 0.85rem; }

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 4px;
}

.contact-form-wrapper {
    position: relative;
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 40px;
    overflow: hidden;
}
.contact-form-wrapper::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--green), var(--orange));
}
.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0 0 24px;
    letter-spacing: -0.3px;
}
.contact-form-wrapper h3 + p {
    font-size: 0.88rem;
    color: var(--gray-light);
    margin: -16px 0 26px;
    line-height: 1.55;
}
.form-group { position: relative; margin-bottom: 28px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 18px 0 10px;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.3s ease;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group label {
    position: absolute; top: 18px; left: 0;
    font-size: 0.9rem;
    color: var(--gray);
    pointer-events: none;
    transition: top 0.3s cubic-bezier(0.16,1,0.3,1), font-size 0.3s ease, color 0.3s ease;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -4px;
    font-size: 0.72rem;
    color: var(--green-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}
.form-group .form-line {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--green), var(--orange));
    transition: width 0.45s cubic-bezier(0.16,1,0.3,1);
}
.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line { width: 100%; }

/* ===== FOOTER ===== */
.footer {
    position: relative;
    background: var(--dark-2);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 70px 0 0;
}
.footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,166,81,0.4), rgba(247,147,30,0.4), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand p {
    font-size: 0.88rem;
    color: var(--gray);
    margin-top: 18px;
    line-height: 1.7;
    max-width: 320px;
}
.footer-logo-img { height: 56px; width: auto; }
.footer-socials {
    display: flex; gap: 8px;
    margin-top: 20px;
}
.footer-socials a {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-light);
    font-size: 0.85rem;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.footer-socials a:hover {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.72rem;
    margin-bottom: 18px;
    color: var(--white);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}
.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 24px; height: 2px;
    background: linear-gradient(90deg, var(--green), var(--orange));
    border-radius: 2px;
}
.footer-links a {
    display: block;
    font-size: 0.86rem;
    color: var(--gray);
    padding: 5px 0;
    transition: color 0.25s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.footer-links a:hover { color: var(--green-light); transform: translateX(5px); }

.footer-contact p {
    font-size: 0.86rem;
    color: var(--gray);
    padding: 6px 0;
    display: flex; align-items: flex-start; gap: 10px;
    line-height: 1.5;
}
.footer-contact p i {
    color: var(--green-light);
    min-width: 16px;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 22px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: var(--gray);
    letter-spacing: 0.5px;
}

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--green), var(--green-light)); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; box-shadow: 0 8px 30px rgba(0,128,0,0.3); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--transition); z-index: 100; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ===== ANIMATIONS ===== */
[data-animate] { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].animated { opacity: 1; transform: translate(0, 0); }

/* ===== RESPONSIVE ===== */

/* Desktop squeeze */
@media (max-width: 1200px) {
    .nav-container { gap: 10px; }
    .nav-link { padding: 9px 11px; font-size: 0.75rem; letter-spacing: 0; }
    .nav-logo-main { font-size: 0.78rem; letter-spacing: 1px; }
    .nav-logo-sub { font-size: 0.54rem; letter-spacing: 2px; }
    .section-header { margin-bottom: 56px; }
}

/* Tablet landscape */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
    .service-card-featured { grid-column: span 2; grid-row: auto; }
    .service-card-featured .service-img-wrapper { height: 220px; min-height: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-story { gap: 40px; }
    .about-story-visual { max-height: 480px; }
    .section { padding: 88px 0; }
}

/* Mobile breakpoint (nav switches to drawer) */
@media (max-width: 900px) {
    .navbar { padding: 8px 8px 8px 16px; }
    .nav-logo-text { display: none; }
    .nav-menu {
        position: fixed; top: 0; right: 0; width: min(320px, 85vw); height: 100vh;
        background: rgba(10, 10, 10, 0.96); backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column; align-items: stretch; gap: 4px;
        padding: 100px 20px 24px;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
        border: 0; border-left: 1px solid rgba(255,255,255,0.06);
        border-radius: 0;
        overflow-y: auto;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-link { padding: 14px 18px; font-size: 0.95rem; border-radius: 12px; letter-spacing: 0.3px; }
    .nav-indicator { display: none; }
    .nav-cta { display: none; }
    .nav-drawer-cta {
        display: inline-flex; align-items: center; justify-content: center;
        gap: 10px;
        margin-top: 18px;
        padding: 15px 20px;
        background: linear-gradient(135deg, var(--green), var(--green-light));
        color: var(--white);
        font-size: 0.92rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 128, 0, 0.4);
        transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
    }
    .nav-drawer-cta:hover,
    .nav-drawer-cta:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0, 128, 0, 0.55);
    }
    .nav-drawer-cta svg { transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
    .nav-drawer-cta:hover svg { transform: translateX(4px); }
    .nav-drawer-cta:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
    .nav-toggle { display: flex; }

    .about-story { grid-template-columns: 1fr; gap: 32px; }
    .about-story-visual { aspect-ratio: 16 / 10; max-height: 340px; }
    .about-stats-ribbon { padding: 22px 18px; flex-wrap: wrap; gap: 18px; }
    .about-stat-item { flex: 1 0 calc(50% - 12px); }
    .about-stat-divider { display: none; }
    .about-certs-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .about-cards { grid-template-columns: 1fr; }
    .dropcap { font-size: 3rem; padding: 4px 10px 0 0; }

    .values-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .value-card { padding: 22px 14px; }

    .services-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .service-card-featured { grid-column: auto; }
    .service-card-featured .service-img-wrapper { height: 180px; min-height: 0; }
    .service-card-featured h3 { font-size: 1.1rem; }
    .service-card-featured .service-number { font-size: 3rem; }

    .founder-card { grid-template-columns: 1fr; gap: 28px; padding: 20px; }
    .founder-portrait { max-width: 340px; margin: 0 auto; aspect-ratio: 4/5; }
    .founder-quote p { font-size: 1.05rem; }
    .founder-name { font-size: 1.3rem; }

    .sectors-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .expertise-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .expertise-tools { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .contact-form-wrapper { padding: 28px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }

    .hero-wrapper { height: 180vh; }
    .hero-content-wrapper { padding: 90px 20px 40px; }
    .hero-title { font-size: clamp(2rem, 9vw, 3.4rem); letter-spacing: -1px; }
    .hero-slogan { font-size: 0.95rem; }
    .hero-stats-row { flex-wrap: wrap; gap: 20px; }
    .stat-number { font-size: 1.7rem; }

    .hero-door-etch-logo { width: 90px; }
    .hero-door-etch-main { font-size: 1rem; letter-spacing: 3.5px; }
    .hero-door-etch-sub { font-size: 0.6rem; letter-spacing: 4px; }
    .hero-door-handle { height: 64px; width: 5px; }

    /* Subpages */
    .subpage-hero { padding: 120px 0 56px; }
    .subpage-title { font-size: clamp(2rem, 7vw, 2.8rem); }
    .subpage-subtitle { font-size: 0.96rem; }
    .subpage-anchors { gap: 8px; }
    .subpage-anchor { font-size: 0.76rem; padding: 9px 14px; }
    .service-detail { padding: 64px 0; }
    .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .service-detail-grid-reverse .service-detail-visual { grid-column: 1; grid-row: 1; }
    .service-detail-grid-reverse .service-detail-content { grid-column: 1; grid-row: 2; }
    .service-detail-visual {
        position: relative; top: auto;
        aspect-ratio: 16/10;
        max-height: 320px;
    }
    .service-detail-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .service-detail-blocks { grid-template-columns: 1fr; gap: 14px; }
    .service-detail-number { font-size: 4rem; }
    .subpage-cta { padding: 64px 0; }
    .subpage-cta-inner { padding: 36px 22px; }
    .subpage-cta-inner h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

    /* Devis */
    .devis-section { padding: 48px 0 72px; }
    .devis-form-card { padding: 28px 22px; }
    .devis-fields-grid { grid-template-columns: 1fr; gap: 0; }
    .form-group-full { grid-column: auto; }
    .devis-progress { flex-wrap: wrap; gap: 14px; }
    .devis-progress-line { display: none; }
    .devis-fieldset { margin-bottom: 28px; }
    .devis-fieldset legend { font-size: 1rem; }
    .devis-badges { gap: 6px; margin-top: 24px; }
    .devis-badge { font-size: 0.68rem; padding: 7px 12px; letter-spacing: 0.5px; }
    .devis-upload { padding: 26px 16px; }
    .devis-grid { grid-template-columns: 1fr; gap: 24px; }
    .devis-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 14px; }
    .devis-side-card { flex: 1 1 260px; padding: 22px 20px; }
}

/* Phone - tighter grids */
@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .section { padding: 72px 0; }
    .section-header { margin-bottom: 44px; }

    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .sectors-grid { grid-template-columns: 1fr; }
    .expertise-grid { grid-template-columns: 1fr; }

    .about-stats-ribbon { padding: 18px 14px; gap: 14px; }
    .about-stat-value { font-size: 2rem; letter-spacing: -1px; }
    .about-stat-label { font-size: 0.68rem; letter-spacing: 1.2px; }
    .about-stat-suffix { font-size: 1.2rem; }

    .dropcap { font-size: 2.6rem; padding: 3px 8px 0 0; }
    .about-story-heading { font-size: clamp(1.25rem, 5vw, 1.75rem); }

    .hero-wrapper { height: 160vh; }
    .hero-content-wrapper { padding: 86px 18px 36px; }
    .hero-content { gap: 20px; }
    .hero-title { font-size: clamp(1.85rem, 10vw, 2.8rem); line-height: 1.08; }
    .hero-slogan { font-size: 0.9rem; line-height: 1.7; }
    .hero-actions { gap: 10px; width: 100%; }
    .btn { padding: 12px 20px; font-size: 0.88rem; }
    .btn-full { padding: 14px 20px; }
    .hero-stats-row { gap: 18px; }
    .stat-divider { height: 24px; }

    .hero-door-etch-logo { width: 70px; }
    .hero-door-etch-main { font-size: 0.85rem; letter-spacing: 2.5px; }
    .hero-door-etch-sub { font-size: 0.55rem; letter-spacing: 3px; }
    .hero-door-handle { height: 54px; width: 4px; }

    .service-card .service-body { padding: 20px 22px 22px; }
    .service-card-featured .service-number { font-size: 2.8rem; }
    .sector-card { height: 200px; }
    .sector-card h4 { font-size: 0.92rem; }

    .founder-card { padding: 18px; }
    .founder-quote p { font-size: 0.98rem; }
    .founder-name { font-size: 1.2rem; }
    .founder-role { font-size: 0.78rem; }
    .founder-badge { font-size: 0.64rem; padding: 6px 10px; letter-spacing: 1px; }

    .contact-form-wrapper { padding: 24px 18px; }
    .contact-form-wrapper h3 { font-size: 1.05rem; }
    .contact-form-wrapper h3 + p { font-size: 0.82rem; }
    .form-group { margin-bottom: 22px; }

    /* Subpages */
    .subpage-hero { padding: 110px 0 48px; }
    .subpage-title { font-size: clamp(1.75rem, 8vw, 2.3rem); }
    .subpage-subtitle { font-size: 0.9rem; margin-bottom: 24px; }
    .subpage-anchors { gap: 6px; }
    .subpage-anchor { font-size: 0.72rem; padding: 8px 12px; }
    .subpage-anchor span { font-size: 0.72rem; }
    .service-detail { padding: 56px 0; }
    .service-detail-tag { font-size: 0.66rem; padding: 6px 12px; letter-spacing: 1.5px; }
    .service-detail-block { padding: 18px 20px; }
    .service-detail-deliverables { padding: 14px 16px; }
    .service-detail-number { font-size: 3rem; }
    .subpage-cta-inner { padding: 32px 20px; }
    .subpage-cta-actions { flex-direction: column; gap: 10px; }
    .subpage-cta-actions .btn { width: 100%; justify-content: center; }
    .service-detail-cta { flex-direction: column; gap: 10px; }
    .service-detail-cta .btn { width: 100%; justify-content: center; }

    /* Devis */
    .devis-form-card { padding: 24px 18px; }
    .devis-fieldset legend { flex-wrap: wrap; gap: 8px; font-size: 0.95rem; }
    .devis-leg-num { font-size: 0.78rem; padding: 3px 8px; }
    .devis-consent label { font-size: 0.8rem; }
    .devis-sidebar { flex-direction: column; }
    .devis-side-card { flex: 1 1 auto; }
    .devis-reason-num { font-size: 1.1rem; min-width: 40px; }
    .devis-badges { gap: 5px; }
    .devis-badge { font-size: 0.62rem; padding: 6px 10px; gap: 6px; }
    .devis-upload-inner { gap: 6px; }
    .devis-upload-title { font-size: 0.84rem; }
}

/* Small phone */
@media (max-width: 420px) {
    .values-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }

    .hero-title { font-size: clamp(1.7rem, 11vw, 2.4rem); }
    .hero-slogan { font-size: 0.85rem; }
    .hero-stats-row { gap: 12px; }
    .stat-number { font-size: 1.4rem; }
    .stat-label { font-size: 0.58rem; letter-spacing: 0.5px; }
    .stat-divider { display: none; }
    .btn { padding: 11px 18px; font-size: 0.82rem; }

    .hero-door-etch-logo { width: 56px; }
    .hero-door-etch-main { font-size: 0.75rem; letter-spacing: 2px; }
    .hero-door-etch-sub { font-size: 0.5rem; letter-spacing: 2.5px; }
    .hero-door-handle { height: 46px; width: 4px; }
    .hero-door-left .hero-door-handle { right: 12px; }
    .hero-door-right .hero-door-handle { left: 12px; }

    .subpage-hero { padding: 100px 0 40px; }
    .subpage-title { font-size: clamp(1.55rem, 9vw, 2rem); }
    .service-detail-title { font-size: clamp(1.35rem, 6vw, 1.8rem); }
    .founder-badge span { font-size: 0.6rem; letter-spacing: 0.8px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .partners-track { animation: none !important; }
    [data-animate] { opacity: 1 !important; transform: none !important; }
    .hero-content-wrapper { transform: none !important; opacity: 1 !important; }
    .hero-bg-img { transform: scale(1.05) !important; }
    .title-word, .title-amp, .hero-slogan, .hero-actions, .hero-stats-row {
        opacity: 1 !important; transform: none !important;
    }
    .hero-doors { display: none !important; }
    .hero-wrapper { height: 100vh !important; }
    .hero { position: relative !important; }
    #preloader { display: none !important; }
}


/* ===== SUBPAGE (services.html) ===== */
body.subpage { background: var(--dark); }

.navbar.navbar-solid {
    background: rgba(10, 10, 10, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}

.subpage-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.subpage-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0,166,81,0.14), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(247,147,30,0.1), transparent 55%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    z-index: 0;
}
.subpage-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,166,81,0.4), rgba(247,147,30,0.4), transparent);
}
.subpage-hero .container { position: relative; z-index: 1; }

.breadcrumb {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.78rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.breadcrumb a {
    color: var(--gray-light);
    transition: color 0.25s ease;
}
.breadcrumb a:hover { color: var(--green-light); }
.breadcrumb-sep { color: rgba(255,255,255,0.2); }

.subpage-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 18px;
}

.subpage-subtitle {
    font-size: 1.02rem;
    color: var(--gray-light);
    line-height: 1.75;
    max-width: 720px;
    margin: 0 0 36px;
}

.subpage-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.subpage-anchor {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-light);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.subpage-anchor:hover {
    background: rgba(0,128,0,0.1);
    border-color: rgba(0,166,81,0.35);
    color: var(--white);
    transform: translateY(-2px);
}
.subpage-anchor span {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--orange);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.service-detail {
    padding: 100px 0;
    scroll-margin-top: 90px;
    position: relative;
}
.service-detail-alt { background: var(--dark-2); }

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.service-detail-grid-reverse .service-detail-visual { grid-column: 2; grid-row: 1; }
.service-detail-grid-reverse .service-detail-content { grid-column: 1; grid-row: 1; }

.service-detail-visual {
    position: sticky; top: 100px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    aspect-ratio: 4/5;
    max-height: 580px;
}
.service-detail-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.service-detail-visual:hover img { transform: scale(1.04); }
.service-detail-visual::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5,5,5,0.6) 100%);
    pointer-events: none;
}
.service-detail-number {
    position: absolute;
    bottom: 16px; right: 20px;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.9;
    color: rgba(255,255,255,0.08);
    letter-spacing: -4px;
}

.service-detail-content {
    display: flex; flex-direction: column;
    gap: 22px;
}

.service-detail-tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    background: rgba(0,128,0,0.08);
    border: 1px solid rgba(0,166,81,0.25);
    border-radius: 999px;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--green-light);
    align-self: flex-start;
}
.service-detail-tag i { font-size: 0.8rem; }

.service-detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0;
}

.service-detail-desc {
    font-size: 1.02rem;
    color: var(--gray-light);
    line-height: 1.75;
    margin: 0;
}

.service-detail-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 4px;
}
.service-detail-block {
    padding: 22px 24px;
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
}
.service-detail-alt .service-detail-block { background: var(--dark-3); }
.service-detail-block h4 {
    font-size: 0.76rem;
    color: var(--green-light);
    margin: 0 0 14px;
    display: flex; align-items: center; gap: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}
.service-detail-block h4 i {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: rgba(0,166,81,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
}
.service-detail-block ul,
.service-detail-block ol {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 9px;
}
.service-detail-block ul li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--gray-light);
    line-height: 1.55;
}
.service-detail-block ul li::before {
    content: '';
    position: absolute; left: 0; top: 10px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px rgba(247,147,30,0.4);
}
.service-detail-block ol {
    counter-reset: step;
}
.service-detail-block ol li {
    position: relative;
    padding-left: 32px;
    font-size: 0.88rem;
    color: var(--gray-light);
    line-height: 1.5;
    counter-increment: step;
}
.service-detail-block ol li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; left: 0; top: 0;
    font-family: var(--font-display);
    font-size: 0.75rem; font-weight: 800;
    color: var(--green-light);
    letter-spacing: 0.5px;
}
.service-detail-block ol li strong { color: var(--white); font-weight: 600; }

.service-detail-deliverables {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 10px 14px;
    padding: 16px 20px;
    background: rgba(247,147,30,0.05);
    border: 1px solid rgba(247,147,30,0.18);
    border-radius: 12px;
    margin-top: 8px;
}
.service-detail-deliverables > span {
    font-size: 0.72rem; font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.deliverable-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.deliverable-tags span {
    padding: 6px 12px;
    background: rgba(8,8,8,0.5);
    border: 1px solid rgba(247,147,30,0.2);
    border-radius: 6px;
    font-size: 0.78rem;
    color: var(--gray-light);
    font-weight: 500;
}

.service-detail-cta {
    display: flex; flex-wrap: wrap; gap: 14px;
    margin-top: 14px;
}
.service-detail-cta .btn { padding: 12px 24px; font-size: 0.9rem; }

.subpage-cta {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--dark-2), var(--dark));
    border-top: 1px solid rgba(255,255,255,0.05);
}
.subpage-cta-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 40px;
    background: var(--dark-3);
    border: 1px solid rgba(0,166,81,0.2);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.subpage-cta-inner::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--green), var(--orange));
}
.subpage-cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin: 0 0 14px;
}
.subpage-cta-inner p {
    font-size: 1rem;
    color: var(--gray-light);
    margin: 0 0 28px;
    line-height: 1.6;
}
.subpage-cta-actions {
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}

/* ===== DEVIS PAGE ===== */
.nav-cta.active-cta { box-shadow: 0 10px 30px rgba(0, 128, 0, 0.5); }

.devis-badges {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 32px;
}
.devis-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: rgba(0,128,0,0.08);
    border: 1px solid rgba(0,166,81,0.25);
    border-radius: 999px;
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--green-light);
}
.devis-badge i { color: var(--orange); font-size: 0.8rem; }

.devis-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
}

.devis-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Form card */
.devis-form-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 44px 48px;
    position: relative;
    overflow: hidden;
}
.devis-form-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--green), var(--orange));
}

.devis-progress {
    display: flex; align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.devis-progress-step {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--gray);
    background: transparent;
    border: none;
    padding: 0;
    font-family: var(--font);
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.3s ease;
}
.devis-progress-step:disabled,
.devis-progress-step[data-locked="true"] {
    cursor: not-allowed;
    opacity: 0.6;
}
.devis-progress-step span {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 0.78rem; font-weight: 700;
    color: var(--gray-light);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.devis-progress-step.active { color: var(--green-light); }
.devis-progress-step.active span {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.15);
}
.devis-progress-step.completed { color: var(--green-light); }
.devis-progress-step.completed span {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white);
    border-color: transparent;
    font-size: 0;
}
.devis-progress-step.completed span::after {
    content: '';
    width: 10px; height: 6px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg) translateY(-1px);
}
.devis-progress-line {
    flex: 1; height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.devis-progress-line::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--green-light), var(--orange));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.devis-progress-line.completed::before { transform: scaleX(1); }

/* Steps */
.devis-step {
    display: none;
    animation: devisStepIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.devis-step.active { display: block; }
@keyframes devisStepIn {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

.devis-step-nav {
    display: flex; gap: 14px; align-items: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.devis-step-nav .devis-prev { flex: 0 0 auto; }
.devis-step-nav .devis-next,
.devis-step-nav button[type="submit"] {
    flex: 1;
    justify-content: center;
    padding: 14px 28px;
}

/* Invalid field state */
.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
    border-bottom-color: #ef4444 !important;
}
.form-group input.invalid ~ label,
.form-group textarea.invalid ~ label,
.form-group select.invalid ~ label {
    color: #ef4444 !important;
}
.form-group input.invalid ~ .form-line,
.form-group textarea.invalid ~ .form-line,
.form-group select.invalid ~ .form-line {
    width: 100%;
    background: #ef4444;
}
.devis-consent.invalid input[type="checkbox"] {
    border-color: #ef4444;
}
.devis-consent.invalid span { color: #ef4444; }

.devis-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 36px;
}
.devis-fieldset legend {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 800;
    color: var(--white);
    margin-bottom: 22px;
    letter-spacing: -0.3px;
}
.devis-leg-num {
    font-family: var(--font-display);
    font-size: 0.85rem; font-weight: 800;
    color: var(--orange);
    padding: 4px 10px;
    background: rgba(247,147,30,0.1);
    border: 1px solid rgba(247,147,30,0.25);
    border-radius: 6px;
    letter-spacing: 1px;
}
.devis-leg-note {
    font-size: 0.75rem; font-weight: 500;
    color: var(--gray);
    letter-spacing: 0;
    text-transform: none;
}

.devis-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
}
.form-group-full { grid-column: span 2; }

.devis-form-card .form-group {
    margin-bottom: 12px;
}
.devis-form-card .form-group select,
.devis-form-card .form-group input[type="date"] {
    width: 100%;
    padding: 18px 0 10px;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    color-scheme: dark;
}
.devis-form-card .form-group select option {
    background: var(--dark-2);
    color: var(--white);
}
.devis-form-card .has-select::after {
    content: '';
    position: absolute;
    right: 6px; top: 24px;
    width: 8px; height: 8px;
    border-right: 2px solid var(--gray-light);
    border-bottom: 2px solid var(--gray-light);
    transform: rotate(45deg);
    pointer-events: none;
    transition: border-color 0.3s ease;
}
.devis-form-card .has-select:hover::after { border-color: var(--green-light); }
.devis-form-card .form-group select:focus ~ label,
.devis-form-card .form-group select:valid ~ label,
.devis-form-card .form-group input[type="date"]:focus ~ label,
.devis-form-card .form-group input[type="date"]:valid ~ label,
.devis-form-card .form-group .label-static {
    top: -4px;
    font-size: 0.72rem;
    color: var(--green-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* File upload */
.devis-upload {
    display: block;
    padding: 36px 24px;
    background: rgba(18,18,18,0.6);
    border: 1.5px dashed rgba(255,255,255,0.15);
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    text-align: center;
}
.devis-upload:hover,
.devis-upload.dragging {
    background: rgba(0,128,0,0.06);
    border-color: rgba(0,166,81,0.45);
}
.devis-upload input[type="file"] {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    border: 0;
}
.devis-upload-inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px;
    pointer-events: none;
}
.devis-upload-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,128,0,0.15), rgba(247,147,30,0.15));
    border: 1px solid rgba(0,166,81,0.3);
    display: flex; align-items: center; justify-content: center;
    color: var(--green-light);
    font-size: 1.2rem;
    margin-bottom: 6px;
}
.devis-upload-title {
    font-size: 0.92rem;
    color: var(--gray-light);
    font-weight: 500;
}
.devis-upload small {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 0.5px;
}
.devis-upload-files {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255,255,255,0.1);
    justify-content: center;
}
.devis-upload-files:empty { display: none; }
.devis-file-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    background: rgba(0,128,0,0.1);
    border: 1px solid rgba(0,166,81,0.25);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--gray-light);
}
.devis-file-chip i { color: var(--green-light); }

/* Consent */
.devis-consent {
    padding: 18px 20px;
    background: rgba(18,18,18,0.5);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    margin-bottom: 24px;
}
.devis-consent label {
    display: flex; align-items: flex-start; gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--gray-light);
    line-height: 1.55;
}
.devis-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px; height: 20px;
    margin-top: 2px;
    border-radius: 5px;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.2);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.devis-consent input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    border-color: transparent;
}
.devis-consent input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px; top: 2px;
    width: 5px; height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}
.devis-consent a { color: var(--green-light); text-decoration: underline; }
.devis-consent a:hover { color: var(--orange); }

/* Submit */
.devis-submit-row { display: flex; flex-direction: column; gap: 14px; }
.devis-submit-note {
    display: flex; align-items: center; gap: 8px;
    justify-content: center;
    font-size: 0.78rem;
    color: var(--gray);
    margin: 0;
}
.devis-submit-note i { color: var(--green-light); font-size: 0.8rem; }

/* Sidebar */
.devis-sidebar {
    display: flex; flex-direction: column; gap: 18px;
    position: sticky; top: 100px;
}
.devis-side-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 26px 28px;
    position: relative;
    overflow: hidden;
}
.devis-side-card h4 {
    font-size: 0.78rem;
    color: var(--green-light);
    margin: 0 0 18px;
    display: flex; align-items: center; gap: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
}
.devis-side-card h4 i {
    width: 26px; height: 26px;
    border-radius: 8px;
    background: rgba(0,166,81,0.15);
    border: 1px solid rgba(0,166,81,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    color: var(--green-light);
}

.devis-reasons {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.devis-reasons li {
    display: flex; align-items: center; gap: 14px;
    font-size: 0.9rem;
    color: var(--gray-light);
}
.devis-reason-num {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 900;
    color: var(--orange);
    min-width: 44px;
    letter-spacing: -0.5px;
    line-height: 1;
}

.devis-steps {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 14px;
    counter-reset: dstep;
}
.devis-steps li {
    position: relative;
    padding-left: 38px;
    font-size: 0.86rem;
    color: var(--gray-light);
    line-height: 1.5;
    counter-increment: dstep;
}
.devis-steps li::before {
    content: counter(dstep);
    position: absolute; left: 0; top: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(247,147,30,0.12);
    border: 1px solid rgba(247,147,30,0.25);
    color: var(--orange);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    display: flex; align-items: center; justify-content: center;
}
.devis-steps li strong { color: var(--white); font-weight: 600; }

.devis-contact-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--gray-light);
    transition: color 0.25s ease;
}
.devis-contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.devis-contact-item:first-of-type { padding-top: 0; }
a.devis-contact-item:hover { color: var(--green-light); }
.devis-contact-item > i {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(0,166,81,0.12);
    border: 1px solid rgba(0,166,81,0.25);
    display: flex; align-items: center; justify-content: center;
    color: var(--green-light);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.devis-contact-item div {
    display: flex; flex-direction: column; gap: 2px;
    min-width: 0;
}
.devis-contact-label {
    font-size: 0.68rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.devis-contact-item strong {
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 500;
    word-break: break-word;
}

@media (max-width: 1024px) {
    .devis-grid { grid-template-columns: 1fr; }
    .devis-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .devis-side-card { flex: 1 1 280px; }
}

/* ===== SUBPAGE + DEVIS RESPONSIVE (after component defaults) ===== */
@media (max-width: 900px) {
    .subpage-hero { padding: 120px 0 56px; }
    .subpage-title { font-size: clamp(2rem, 7vw, 2.8rem); }
    .subpage-subtitle { font-size: 0.96rem; }
    .subpage-anchors { gap: 8px; }
    .subpage-anchor { font-size: 0.76rem; padding: 9px 14px; }

    .service-detail { padding: 64px 0; }
    .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .service-detail-grid-reverse .service-detail-visual { grid-column: 1; grid-row: 1; }
    .service-detail-grid-reverse .service-detail-content { grid-column: 1; grid-row: 2; }
    .service-detail-visual {
        position: relative; top: auto;
        aspect-ratio: 16/10;
        max-height: 320px;
    }
    .service-detail-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .service-detail-blocks { grid-template-columns: 1fr; gap: 14px; }
    .service-detail-number { font-size: 4rem; }
    .subpage-cta { padding: 64px 0; }
    .subpage-cta-inner { padding: 36px 22px; }
    .subpage-cta-inner h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

    .devis-section { padding: 48px 0 72px; }
    .devis-form-card { padding: 28px 22px; }
    .devis-fields-grid { grid-template-columns: 1fr; gap: 0; }
    .form-group-full { grid-column: auto; }
    .devis-progress { flex-wrap: wrap; gap: 14px; }
    .devis-progress-line { display: none; }
    .devis-fieldset { margin-bottom: 28px; }
    .devis-fieldset legend { font-size: 1rem; }
    .devis-badges { gap: 6px; margin-top: 24px; }
    .devis-badge { font-size: 0.68rem; padding: 7px 12px; letter-spacing: 0.5px; }
    .devis-upload { padding: 26px 16px; }
    .devis-grid { grid-template-columns: 1fr; gap: 24px; }
    .devis-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 14px; }
    .devis-side-card { flex: 1 1 260px; padding: 22px 20px; }
}

@media (max-width: 640px) {
    .subpage-hero { padding: 110px 0 48px; }
    .subpage-title { font-size: clamp(1.75rem, 8vw, 2.3rem); }
    .subpage-subtitle { font-size: 0.9rem; margin-bottom: 24px; }
    .subpage-anchors { gap: 6px; }
    .subpage-anchor { font-size: 0.72rem; padding: 8px 12px; }
    .subpage-anchor span { font-size: 0.72rem; }

    .service-detail { padding: 56px 0; }
    .service-detail-tag { font-size: 0.66rem; padding: 6px 12px; letter-spacing: 1.5px; }
    .service-detail-block { padding: 18px 20px; }
    .service-detail-deliverables { padding: 14px 16px; }
    .service-detail-number { font-size: 3rem; }
    .subpage-cta-inner { padding: 32px 20px; }
    .subpage-cta-actions { flex-direction: column; gap: 10px; }
    .subpage-cta-actions .btn { width: 100%; justify-content: center; }
    .service-detail-cta { flex-direction: column; gap: 10px; }
    .service-detail-cta .btn { width: 100%; justify-content: center; }

    .devis-form-card { padding: 24px 18px; }
    .devis-fieldset legend { flex-wrap: wrap; gap: 8px; font-size: 0.95rem; }
    .devis-leg-num { font-size: 0.78rem; padding: 3px 8px; }
    .devis-consent label { font-size: 0.8rem; }
    .devis-sidebar { flex-direction: column; }
    .devis-side-card { flex: 1 1 auto; }
    .devis-reason-num { font-size: 1.1rem; min-width: 40px; }
    .devis-badges { gap: 5px; }
    .devis-badge { font-size: 0.62rem; padding: 6px 10px; gap: 6px; }
    .devis-upload-inner { gap: 6px; }
    .devis-upload-title { font-size: 0.84rem; }
}

@media (max-width: 420px) {
    .subpage-hero { padding: 100px 0 40px; }
    .subpage-title { font-size: clamp(1.55rem, 9vw, 2rem); }
    .service-detail-title { font-size: clamp(1.35rem, 6vw, 1.8rem); }
}


/* ===== PRINT (export PDF pour client) ===== */
@media print {
    :root { --dark: #0a0a0a; }
    html, body { background: #0a0a0a !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    #preloader { display: none !important; }
    .navbar { position: absolute !important; top: 16px !important; page-break-inside: avoid; }
    .back-to-top { display: none !important; }

    /* Hero: unstick + force reveal */
    .hero-wrapper { height: auto !important; }
    .hero {
        position: static !important;
        height: auto !important;
        min-height: 90vh !important;
        overflow: visible !important;
        perspective: none !important;
    }
    .hero-doors { display: none !important; }
    .hero-bg-img-primary { opacity: 0 !important; }
    .hero-bg-img-secondary { opacity: 1 !important; }
    .hero-content-wrapper {
        opacity: 1 !important; transform: none !important;
        position: relative !important; inset: auto !important;
        padding: 160px 32px 80px !important;
    }
    .title-word, .title-amp, .hero-slogan, .hero-actions, .hero-stats-row, .visual-card {
        opacity: 1 !important; transform: none !important;
    }
    [data-animate] { opacity: 1 !important; transform: none !important; }

    /* Section breaks */
    .section, .service-detail, .subpage-hero, .thanks-hero, .thanks-next, .thanks-urgent, .thanks-explore {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    .section-header { page-break-after: avoid; }

    /* Disable motion */
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .partners-track { animation: none !important; transform: none !important; }
}


/* ===== THANK-YOU PAGE (merci.html) ===== */
.thanks-hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.thanks-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0,166,81,0.18), transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(247,147,30,0.1), transparent 55%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    z-index: 0;
}
.thanks-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,166,81,0.4), rgba(247,147,30,0.4), transparent);
}
.thanks-hero .container { position: relative; z-index: 1; }

.thanks-icon {
    width: 110px; height: 110px;
    margin: 0 auto 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, rgba(0, 166, 81, 0.25), rgba(0, 128, 0, 0.08));
    border: 1px solid rgba(0, 166, 81, 0.45);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    animation: thanksIconPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
    box-shadow: 0 20px 60px rgba(0, 166, 81, 0.3),
                inset 0 0 40px rgba(0, 166, 81, 0.15);
}
.thanks-icon::before {
    content: '';
    position: absolute; inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(0, 166, 81, 0.25);
    animation: thanksRing 1.8s ease-out 0.7s infinite;
    opacity: 0;
}
@keyframes thanksIconPop {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes thanksRing {
    0%   { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.thanks-check { width: 72px; height: 72px; }
.thanks-check-circle {
    stroke: var(--green-light);
    stroke-width: 3;
    stroke-dasharray: 290;
    stroke-dashoffset: 290;
    animation: thanksCircleDraw 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}
.thanks-check-path {
    stroke: var(--green-light);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: thanksCheckDraw 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.9s forwards;
    filter: drop-shadow(0 0 6px rgba(0, 166, 81, 0.5));
}
@keyframes thanksCircleDraw {
    to { stroke-dashoffset: 0; }
}
@keyframes thanksCheckDraw {
    to { stroke-dashoffset: 0; }
}

.thanks-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--green-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
}

.thanks-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin: 0 0 20px;
    max-width: 820px;
    margin-left: auto; margin-right: auto;
}

.thanks-subtitle {
    font-size: 1.05rem;
    color: var(--gray-light);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 32px;
}
.thanks-subtitle strong { color: var(--white); font-weight: 600; }

.thanks-ref {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 22px;
    background: rgba(18, 18, 18, 0.7);
    border: 1px solid rgba(0, 166, 81, 0.25);
    border-radius: 999px;
    margin-bottom: 36px;
}
.thanks-ref-label {
    font-size: 0.68rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}
.thanks-ref-code {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 1.5px;
}

.thanks-actions {
    display: flex; flex-wrap: wrap; gap: 14px;
    justify-content: center;
}

/* Timeline */
.thanks-next { padding: 100px 0; background: var(--dark-2); }

.thanks-timeline {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}
.thanks-timeline::before {
    content: '';
    position: absolute; top: 12px; bottom: 12px; left: 17px;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(0, 166, 81, 0.5) 0%,
        rgba(247, 147, 30, 0.5) 100%);
    border-radius: 2px;
}

.thanks-timeline-item {
    position: relative;
    margin-bottom: 28px;
    padding: 24px 28px;
    background: var(--dark-3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.thanks-timeline-item:last-child { margin-bottom: 0; }
.thanks-timeline-item:hover {
    border-color: rgba(0, 166, 81, 0.3);
    transform: translateX(4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.thanks-timeline-num {
    position: absolute;
    left: -40px; top: 18px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--dark-2);
    border: 2px solid rgba(0, 166, 81, 0.5);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--green-light);
    letter-spacing: 0.5px;
    z-index: 1;
}

.thanks-timeline-body h3 {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}
.thanks-timeline-body h3 i {
    color: var(--orange);
    font-size: 1rem;
}
.thanks-timeline-body p {
    font-size: 0.92rem;
    color: var(--gray-light);
    line-height: 1.65;
    margin: 0;
}

/* Urgent contact strip */
.thanks-urgent { padding: 60px 0; background: var(--dark); }

.thanks-urgent-inner {
    display: flex; align-items: center; gap: 24px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(0, 128, 0, 0.08), rgba(247, 147, 30, 0.06));
    border: 1px solid rgba(247, 147, 30, 0.25);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.thanks-urgent-inner::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--green), var(--orange));
}

.thanks-urgent-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0, 128, 0, 0.35);
}

.thanks-urgent-text { flex: 1; min-width: 0; }
.thanks-urgent-text h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 700;
    margin: 0 0 4px;
    letter-spacing: -0.2px;
}
.thanks-urgent-text p {
    font-size: 0.88rem;
    color: var(--gray-light);
    margin: 0;
    line-height: 1.5;
}

/* Explore cards */
.thanks-explore { padding: 100px 0; background: var(--dark-2); }

.thanks-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.thanks-card {
    display: flex; flex-direction: column;
    padding: 28px 30px;
    background: var(--dark-3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.thanks-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--green), var(--orange));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.thanks-card:hover {
    border-color: rgba(0, 166, 81, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}
.thanks-card:hover::before { transform: scaleX(1); }
.thanks-card:hover .thanks-card-cta i { transform: translateX(5px); }

.thanks-card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 128, 0, 0.2), rgba(247, 147, 30, 0.2));
    border: 1px solid rgba(0, 166, 81, 0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    color: var(--green-light);
    margin-bottom: 18px;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.thanks-card:hover .thanks-card-icon { transform: rotate(-8deg) scale(1.08); }

.thanks-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}
.thanks-card p {
    font-size: 0.88rem;
    color: var(--gray-light);
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
}
.thanks-card-cta {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--green-light);
}
.thanks-card-cta i { transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }

@media (max-width: 900px) {
    .thanks-hero { padding: 120px 0 64px; }
    .thanks-icon { width: 90px; height: 90px; }
    .thanks-check { width: 56px; height: 56px; }
    .thanks-title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
    .thanks-subtitle { font-size: 0.95rem; }
    .thanks-next { padding: 72px 0; }
    .thanks-explore { padding: 72px 0; }
    .thanks-cards { grid-template-columns: 1fr; gap: 14px; }
    .thanks-urgent-inner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 22px; }
    .thanks-urgent-inner .btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
    .thanks-hero { padding: 110px 0 56px; }
    .thanks-icon { width: 78px; height: 78px; }
    .thanks-check { width: 46px; height: 46px; }
    .thanks-ref { padding: 10px 16px; gap: 8px; }
    .thanks-actions { flex-direction: column; }
    .thanks-actions .btn { width: 100%; justify-content: center; }
    .thanks-timeline { padding-left: 32px; }
    .thanks-timeline::before { left: 13px; }
    .thanks-timeline-num { width: 30px; height: 30px; left: -32px; font-size: 0.7rem; }
    .thanks-timeline-item { padding: 20px 22px; }
    .thanks-card { padding: 24px 22px; }
}
