:root {
    --bg: #050a14;
    --bg-alt: #0a1628;
    --bg-card: #0f1d32;
    --blue: #0088ff;
    --blue-glow: #00c8ff;
    --gold: #c8a050;
    --green: #00e68a;
    --red: #ff4d6a;
    --text: #e8edf5;
    --text-m: rgba(232, 237, 245, .55);
    --text-s: rgba(232, 237, 245, .3);
    --border: rgba(255, 255, 255, .08);
    --r: 12px;
    --font-h: 'Outfit', system-ui, sans-serif;
    --font-b: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1)
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

button,
input,
select,
textarea {
    font-family: inherit
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    z-index: 100;
    transition: all .4s
}

.nav.scrolled {
    background: rgba(5, 10, 20, .95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border)
}

.nav-logo {
    font-family: var(--font-h);
    font-size: 20px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 2px;
    text-transform: uppercase
}

.nav-logo b {
    color: var(--text);
    font-weight: 300
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none
}

.nav-links a {
    color: var(--text-m);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color .3s
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue-glow)
}

.nav-cta {
    padding: 10px 24px !important;
    border: 1px solid rgba(0, 136, 255, .4) !important;
    border-radius: 6px;
    color: var(--blue-glow) !important;
    transition: all .3s !important
}

.nav-cta:hover {
    background: rgba(0, 136, 255, .12) !important
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: .3s
}

.mob-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, .97);
    z-index: 99;
    align-items: center;
    justify-content: center
}

.mob-menu.open {
    display: flex
}

.mob-menu ul {
    list-style: none;
    text-align: center
}

.mob-menu li {
    margin: 24px 0
}

.mob-menu a {
    font-family: var(--font-h);
    font-size: 28px;
    color: var(--text);
    transition: color .3s
}

.mob-menu a:hover {
    color: var(--blue)
}

/* HERO */
.hero-scroll-container {
    position: relative;
    height: 100vh;
}

.hero {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 10, 20, .4) 0%, rgba(5, 10, 20, .7) 60%, var(--bg) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-bg img,
.hero-bg,
canvas.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 10, 20, .4) 0%, rgba(5, 10, 20, .7) 60%, var(--bg) 100%);
    pointer-events: none;
}

.loader {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: opacity 0.5s;
}

.loader-bar-wrap {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--blue-glow);
    transition: width 0.1s;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid rgba(0, 136, 255, .3);
    border-radius: 30px;
    background: rgba(0, 136, 255, .08);
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-glow);
    margin-bottom: 32px
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-glow);
    animation: pulse 2s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.hero h1 {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px
}

.hero h1 em {
    font-style: italic;
    color: var(--blue-glow)
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-m);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 40px;
    font-weight: 300
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px
}

.hero-stat .val {
    font-family: var(--font-h);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--blue-glow)
}

.hero-stat .lbl {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-s)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all .4s var(--ease)
}

.btn:hover {
    background: var(--blue-glow);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 136, 255, .3)
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 136, 255, .4);
    color: var(--blue-glow)
}

.btn-outline:hover {
    background: rgba(0, 136, 255, .1);
    border-color: var(--blue-glow)
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-s);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 3
}

.scroll-arrow {
    animation: bounce 2s infinite
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(6px)
    }
}

/* MARQUEE */
.marquee {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg)
}

.marquee-track {
    display: flex;
    gap: 64px;
    animation: scroll 20s linear infinite;
    width: max-content
}

.marquee-track span {
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-s);
    white-space: nowrap
}

.marquee-track .sep {
    color: var(--blue)
}

@keyframes scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* SECTIONS */
.sec {
    position: relative;
    padding: 120px 48px;
    z-index: 10
}

.sec-dark {
    background: var(--bg)
}

.sec-alt {
    background: var(--bg-alt)
}

.sec-head {
    text-align: center;
    margin-bottom: 72px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto
}

.sec-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px
}

.sec-title {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px
}

.sec-title em {
    font-style: italic;
    color: var(--blue-glow)
}

.sec-sub {
    font-size: 15px;
    color: var(--text-m);
    line-height: 1.7;
    font-weight: 300
}

/* COMPARISON SECTION — SCROLL-DRIVEN */
.cmp-scroll-container {
    position: relative;
    height: 200vh
}

.cmp-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--bg)
}

.cmp-image-layer {
    position: absolute;
    inset: 0;
    z-index: 1
}

.cmp-image-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0
}

.cmp-img-before {
    z-index: 1
}

.cmp-img-after {
    z-index: 2;
    opacity: 0;
    transition: none
}

.cmp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 20, 0);
    z-index: 3;
    pointer-events: none
}

/* Title layer */
.cmp-title-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0
}

.cmp-title-inner {
    text-align: center;
    padding: 0 24px;
    max-width: 900px
}

.cmp-title-text {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text);
    text-shadow: 0 4px 60px rgba(0, 0, 0, .8)
}

.cmp-title-text em {
    font-style: italic;
    color: var(--blue-glow)
}

.cmp-title-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(232, 237, 245, .7);
    font-weight: 300;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .6)
}

/* Second title — hidden on desktop */
.cmp-title2-layer {
    display: none
}

.cmp-title-layer .sec-label {
    text-shadow: 0 2px 30px rgba(0, 0, 0, .6);
    margin-bottom: 16px
}

/* SOLUTION BENTO */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 136, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.bento-card:hover {
    border-color: rgba(0, 136, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-icon {
    font-size: 36px;
    margin-bottom: auto;
    padding-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 136, 255, 0.3));
}

.bento-card h3 {
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.bento-card p {
    font-size: 15px;
    color: var(--text-m);
    line-height: 1.6;
}

.bento-img {
    grid-column: span 2;
    grid-row: span 2;
    background: url('images/drone-action.jpg') no-repeat center center;
    background-size: cover;
    min-height: 400px;
    padding: 0;
}

.bento-img::before {
    display: none;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-img {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 300px;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-img {
        grid-column: span 1;
    }
}

/* SERVICES */
.svc-split {
    max-width: 1200px;
    margin: 0 auto
}

.svc-cat {
    margin-bottom: 80px
}

.svc-cat:last-child {
    margin-bottom: 0
}

.svc-cat-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 32px
}

.svc-cat-label.drone {
    background: rgba(0, 136, 255, .1);
    color: var(--blue-glow);
    border: 1px solid rgba(0, 136, 255, .2)
}

.svc-cat-label.resi {
    background: rgba(0, 230, 138, .08);
    color: var(--green);
    border: 1px solid rgba(0, 230, 138, .15)
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px
}

.svc-card {
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    transition: all .4s var(--ease)
}

.svc-card:hover {
    border-color: rgba(0, 136, 255, .2);
    transform: translateY(-4px)
}

.svc-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .6s var(--ease)
}

.svc-card:hover .svc-card-img {
    transform: scale(1.05)
}

.svc-card-body {
    padding: 28px
}

.svc-card h3 {
    font-family: var(--font-h);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px
}

.svc-card p {
    font-size: 14px;
    color: var(--text-m);
    line-height: 1.7;
    font-weight: 300
}

/* CASE STUDIES */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto
}

.case-card {
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    transition: all .4s var(--ease)
}

.case-card:hover {
    border-color: rgba(0, 136, 255, .2);
    transform: translateY(-4px)
}

.case-head {
    padding: 28px;
    border-bottom: 1px solid var(--border)
}

.case-name {
    font-family: var(--font-h);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px
}

.case-meta {
    font-size: 12px;
    color: var(--text-s);
    letter-spacing: 1px
}

.case-body {
    padding: 24px 28px
}

.case-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border)
}

.case-row:last-child {
    border-bottom: none
}

.case-lbl {
    font-size: 12px;
    color: var(--text-m);
    letter-spacing: 1px;
    text-transform: uppercase
}

.case-val {
    font-family: var(--font-h);
    font-size: 18px;
    font-weight: 600
}

.case-val.hi {
    color: var(--blue-glow)
}

.case-val.old {
    color: var(--red);
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 400
}

.case-save {
    margin-top: 16px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(0, 230, 138, .06);
    border: 1px solid rgba(0, 230, 138, .12);
    text-align: center
}

.case-save .amt {
    font-family: var(--font-h);
    font-size: 32px;
    font-weight: 700;
    color: var(--green)
}

.case-save .pct {
    font-size: 13px;
    color: var(--text-m);
    margin-top: 4px
}

/* GALLERY */
.gal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto
}

.gal-item {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer
}

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease)
}

.gal-item:hover img {
    transform: scale(1.05)
}

.gal-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px)
}

.gal-badge.before {
    background: rgba(255, 77, 106, .2);
    color: #ff8888;
    border: 1px solid rgba(255, 77, 106, .3)
}

.gal-badge.after {
    background: rgba(0, 136, 255, .15);
    color: var(--blue-glow);
    border: 1px solid rgba(0, 136, 255, .3)
}

/* TESTIMONIALS */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto
}

.testi-card {
    padding: 36px;
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all .4s var(--ease)
}

.testi-card:hover {
    border-color: rgba(0, 136, 255, .15)
}

.testi-stars {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px
}

.testi-text {
    font-size: 15px;
    color: var(--text-m);
    line-height: 1.7;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 24px
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #050a14
}

.testi-name {
    font-size: 14px;
    font-weight: 500
}

.testi-loc {
    font-size: 12px;
    color: var(--text-s)
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto
}

.faq-item {
    border-bottom: 1px solid var(--border)
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    font-family: var(--font-h);
    font-size: 18px;
    font-weight: 500;
    transition: color .3s
}

.faq-q:hover {
    color: var(--blue-glow)
}

.faq-q .icon {
    font-size: 24px;
    transition: transform .3s;
    color: var(--text-s)
}

.faq-item.open .faq-q .icon {
    transform: rotate(45deg);
    color: var(--blue)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease), padding .4s
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding-bottom: 24px
}

.faq-a p {
    font-size: 15px;
    color: var(--text-m);
    line-height: 1.8;
    font-weight: 300
}

/* CTA BANNER */
.cta-banner {
    padding: 100px 48px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 136, 255, .08), rgba(0, 200, 255, .04));
    border-top: 1px solid rgba(0, 136, 255, .1);
    border-bottom: 1px solid rgba(0, 136, 255, .1)
}

.cta-banner h2 {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px
}

.cta-banner p {
    font-size: 16px;
    color: var(--text-m);
    margin-bottom: 40px;
    font-weight: 300
}

/* CONTACT */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start
}

.contact-promise {
    font-size: 15px;
    color: var(--text-m);
    line-height: 1.7;
    font-weight: 300;
    margin: 16px 0 32px
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-m);
    font-size: 14px
}

.contact-item svg {
    color: var(--blue);
    flex-shrink: 0
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.form-g {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.form-g label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-m)
}

.form-g input,
.form-g select,
.form-g textarea {
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    transition: border-color .3s;
    outline: none;
    width: 100%
}

.form-g input:focus,
.form-g select:focus,
.form-g textarea:focus {
    border-color: var(--blue)
}

.form-g select {
    appearance: none;
    cursor: pointer
}

.form-g textarea {
    resize: vertical;
    min-height: 100px
}

.form-note {
    font-size: 12px;
    color: var(--text-s);
    text-align: center
}

/* FOOTER */
.footer {
    background: #030508;
    padding: 60px 48px 36px;
    border-top: 1px solid var(--border)
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px
}

.footer-brand .nav-logo {
    margin-bottom: 16px
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-s);
    line-height: 1.6
}

.footer-col h4 {
    font-family: var(--font-h);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--text-m)
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-s);
    margin-bottom: 10px;
    transition: color .3s
}

.footer-col a:hover {
    color: var(--blue)
}

.footer-bottom {
    max-width: 1200px;
    margin: 24px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-s)
}

.footer-bottom a {
    color: var(--blue);
    transition: color .3s
}

/* VIDEO SECTION */
.vid-sec {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.vid-sec video,
.vid-sec img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.vid-sec::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 20, .5)
}

.vid-sec .vid-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff
}

.vid-sec h2 {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 16px
}

.vid-sec p {
    font-size: 16px;
    color: rgba(255, 255, 255, .7);
    font-weight: 300
}

/* ABOUT PAGE */
.about-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-alt), var(--bg))
}

.about-hero h1 {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center
}

.about-hero h1 em {
    color: var(--blue-glow);
    font-style: italic
}

.story-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center
}

.story-wrap img {
    border-radius: var(--r);
    width: 100%;
    border: 1px solid var(--border)
}

.story-text h2 {
    font-family: var(--font-h);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2
}

.story-text h2 em {
    color: var(--blue-glow);
    font-style: italic
}

.story-text p {
    font-size: 15px;
    color: var(--text-m);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 16px
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto
}

.value-card {
    padding: 40px 32px;
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--bg-card);
    text-align: center;
    transition: all .4s var(--ease)
}

.value-card:hover {
    border-color: rgba(0, 136, 255, .2);
    transform: translateY(-4px)
}

.value-icon {
    font-size: 40px;
    margin-bottom: 20px
}

.value-card h3 {
    font-family: var(--font-h);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px
}

.value-card p {
    font-size: 14px;
    color: var(--text-m);
    line-height: 1.7;
    font-weight: 300
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto
}

.team-card {
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    transition: all .4s var(--ease)
}

.team-card:hover {
    border-color: rgba(0, 136, 255, .15);
    transform: translateY(-4px)
}

.team-card img {
    width: 100%;
    height: 320px;
    object-fit: cover
}

.team-info {
    padding: 28px
}

.team-info h3 {
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px
}

.team-info .role {
    font-size: 13px;
    color: var(--blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px
}

.team-info p {
    font-size: 14px;
    color: var(--text-m);
    line-height: 1.7;
    font-weight: 300
}

/* TEAM SHOWCASE */
.team-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto
}

.team-member-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    transition: all .5s var(--ease);
    display: flex;
    flex-direction: column
}

.team-member-card:hover {
    border-color: rgba(0, 136, 255, .25);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 136, 255, .08)
}

.team-member-img-wrap {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden
}

.team-member-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease)
}

.team-member-card:hover .team-member-img-wrap img {
    transform: scale(1.05)
}

.team-member-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 10, 20, .8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px
}

.team-member-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0, 136, 255, .15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 136, 255, .3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-glow)
}

.team-member-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.team-member-body h3 {
    font-family: var(--font-h);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px
}

.team-member-role {
    font-size: 13px;
    color: var(--blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px
}

.team-member-body p {
    font-size: 14px;
    color: var(--text-m);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 12px
}

.team-member-highlight {
    position: relative;
    padding: 16px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 136, 255, .06), rgba(0, 200, 255, .03));
    border-left: 3px solid var(--blue);
    margin-top: auto;
    font-style: italic;
    color: var(--text) !important;
    font-weight: 400 !important
}

/* PROGRESS */
.progress {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--blue-glow));
    z-index: 100;
    transition: width .15s
}

/* REVEAL */
.rv {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.rv.vis {
    opacity: 1 !important;
    transform: translateY(0) !important
}

/* RESPONSIVE */
@media(max-width:1024px) {

    .cases-grid,
    .testi-grid,
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 500px
    }

    .team-showcase {
        grid-template-columns: 1fr;
        max-width: 600px
    }

    .gal-grid {
        grid-template-columns: 1fr
    }

    .contact-wrap,
    .story-wrap {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .svc-grid {
        grid-template-columns: 1fr
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }
}

@media(max-width:768px) {
    .nav {
        padding: 0 20px;
        height: 60px
    }

    .nav-links {
        display: none
    }

    .burger {
        display: flex
    }

    .sec {
        padding: 80px 20px
    }

    .hero h1 {
        font-size: 2rem
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .cmp-title-text {
        font-size: 1.6rem
    }

    .cmp-image-layer img {
        object-position: 60% 65%
    }
}

/* Very portrait screens (real phones ~9:19+) — Pan animation */
@media (max-aspect-ratio: 2/3) {
    .cmp-scroll-container {
        height: 400vh
    }

    .cmp-sticky {
        height: 100vh
    }

    .cmp-image-layer img {
        object-position: 75% center
    }

    .cmp-title2-layer {
        display: flex
    }
}

@media(max-width:768px) {
    .footer-inner {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px
    }

    .team-grid {
        grid-template-columns: 1fr
    }

    .team-showcase {
        grid-template-columns: 1fr
    }

    .team-member-img-wrap {
        height: 280px
    }

    .team-member-body {
        padding: 24px
    }
}

/* DROPDOWN MENU */
.dropdown-wrap {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(11, 11, 16, 0.95);
  backdrop-filter: blur(10px);
  min-width: 220px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}
.dropdown-wrap:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li {
  margin: 0;
  padding: 0;
}
.dropdown-menu li a {
  padding: 10px 20px;
  display: block;
  font-size: 0.95rem;
  color: #fff;
}
.dropdown-menu li a:hover {
  background: rgba(0, 210, 255, 0.1);
  color: var(--blue);
}

/* ═══════════════════════════════════════
   ZONES MÉDIAS — galerie photos & vidéos
   Emplacements à remplir : déposez vos fichiers dans
   images/galerie/ et videos/ (voir LISEZMOI.txt).
   ═══════════════════════════════════════ */
.media-videos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 24px
}

.media-videos .media-slot:only-child {
    grid-column: 1 / -1;
    max-width: 860px;
    width: 100%;
    margin: 0 auto
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.media-grid.media-grid-4 {
    grid-template-columns: repeat(4, 1fr)
}

.media-slot {
    position: relative;
    margin: 0;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    aspect-ratio: 4 / 3;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s
}

.media-slot:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
    border-color: rgba(0, 136, 255, .35)
}

.media-slot.video-slot,
.media-videos .media-slot {
    aspect-ratio: 16 / 9
}

.media-slot img,
.media-slot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000
}

/* Skeleton : la photo reste invisible tant qu'elle n'a pas chargé avec succès
   (évite l'icône « image cassée » pendant la détection des emplacements vides) */
.media-slot[data-photo] img {
    opacity: 0;
    transition: opacity .5s var(--ease)
}

.media-slot.is-loaded img {
    opacity: 1
}

.media-slot-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(5, 10, 20, .85));
    font-size: 13px;
    color: var(--text);
    letter-spacing: .5px;
    pointer-events: none
}

.media-slot-empty {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 24px;
    color: var(--text-s);
    background: linear-gradient(135deg, rgba(0, 136, 255, .06), transparent 60%), var(--bg-card)
}

.media-slot-empty svg {
    opacity: .55
}

.media-slot-empty span {
    font-family: var(--font-h);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase
}

.media-slot-file {
    display: none;
    font-size: 11px;
    color: var(--blue-glow);
    background: rgba(0, 136, 255, .08);
    border: 1px dashed rgba(0, 136, 255, .35);
    border-radius: 6px;
    padding: 6px 10px;
    word-break: break-all
}

.media-slot.is-empty {
    border-style: dashed
}

.media-slot.is-empty img,
.media-slot.is-empty video,
.media-slot.is-empty .media-slot-caption {
    display: none
}

.media-slot.is-empty .media-slot-empty {
    display: flex
}

/* Site en ligne : les emplacements vides sont invisibles pour les visiteurs.
   En local (file:// ou localhost) ou avec ?apercu dans l'URL, ils s'affichent
   avec le nom du fichier à déposer. */
body:not(.media-edit) .media-slot.is-empty {
    display: none
}

body:not(.media-edit) .media-section.all-empty {
    display: none
}

body.media-edit .media-slot-file {
    display: inline-block
}

/* Emplacements insérés dans les grilles existantes du portfolio */
.pf-video-large-grid .media-slot {
    aspect-ratio: auto;
    height: 400px
}

.pf-gallery-grid .media-slot {
    aspect-ratio: auto;
    height: 300px
}

@media (max-width: 968px) {
    .media-videos {
        grid-template-columns: 1fr
    }

    .media-grid,
    .media-grid.media-grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .pf-video-large-grid .media-slot {
        height: auto;
        aspect-ratio: 16 / 9
    }
}

@media (max-width: 568px) {

    .media-grid,
    .media-grid.media-grid-4 {
        grid-template-columns: 1fr
    }
}

/* ═══════════════════════════════════════
   ACCESSIBILITÉ — réduction des animations
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    .marquee-track {
        animation: none;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 12px
    }

    .scroll-arrow {
        animation: none
    }

    .rv {
        transition: none !important
    }
}
