/* ─────────────────────────────────────────
   GeoChifâ — Premium Stylesheet v2
   ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* ── Core palette ── */
    --primary:       #0e7490;
    --primary-light: #22d3ee;
    --primary-dark:  #064e5c;
    --secondary:     #059669;
    --secondary-light: #34d399;
    --tertiary:      #d97706;
    --tertiary-light: #fbbf24;

    /* ── Surfaces ── */
    --bg:            #f8fafc;
    --bg-alt:        #f1f5f9;
    --card:          #ffffff;
    --dark:          #0c1821;
    --dark-mid:      #132f3e;
    --dark-card:     #163348;

    /* ── Text ── */
    --ink:           #0f172a;
    --ink2:          #1e293b;
    --ink3:          #334155;
    --ink-on-dark:   #e2e8f0;
    --ink-on-dark2:  #94a3b8;

    /* ── Effects ── */
    --grid:          rgba(14,116,144,0.04);
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ── Shadows ── */
    --shadow-sm:     0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:     0 4px 16px rgba(0,0,0,.05), 0 2px 4px rgba(0,0,0,.04);
    --shadow-lg:     0 10px 40px rgba(0,0,0,.07), 0 4px 12px rgba(0,0,0,.04);
    --shadow-xl:     0 20px 60px rgba(0,0,0,.1), 0 8px 20px rgba(0,0,0,.05);

    /* ── Radius ── */
    --radius-sm:     0.5rem;
    --radius-md:     0.875rem;
    --radius-lg:     1.25rem;
    --radius-xl:     1.75rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p { margin: 0; text-align: justify; text-justify: inter-word; }
h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; line-height: 1.15; color: var(--ink); }
a { color: inherit; text-decoration: none; overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
button       { cursor: pointer; border: none; font-family: inherit; }
::selection  { background: var(--primary-light); color: #fff; }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'opsz' 24;
    vertical-align: middle;
}


/* ══════════════════════════════════════════
   LAYOUT & UTILITIES
══════════════════════════════════════════ */
.wrap  { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.label {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.label::before {
    content: '';
    width: 1.8rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}


/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 2.2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: .9rem;
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}
.btn--fill {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 20px rgba(14,116,144,.25), 0 0 0 0 rgba(14,116,144,0);
}
.btn--fill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(14,116,144,.35), 0 0 0 4px rgba(14,116,144,.08);
}
.btn--fill:active { transform: translateY(-1px); }

.btn--ghost {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid rgba(14,116,144,.2);
    backdrop-filter: blur(4px);
}
.btn--ghost:hover {
    border-color: var(--primary);
    background: rgba(14,116,144,.04);
    transform: translateY(-2px);
}

.btn--white {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}
.btn--white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn--ghost-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.2);
}
.btn--ghost-light:hover {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.08);
    transform: translateY(-2px);
}
.btn--sm { padding: .65rem 1.4rem; font-size: .82rem; }


/* ══════════════════════════════════════════
   ANIMATED GRID BACKGROUND
══════════════════════════════════════════ */
.grid-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.grid-bg::before {
    content: '';
    position: absolute;
    inset: -10%;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: drift 40s linear infinite;
}
@keyframes drift { to { transform: translate(60px, 60px); } }


/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
.rv {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.rv.vis { opacity: 1; transform: none; }


/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    transition: all .45s var(--ease);
}
.nav.stuck {
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,.04);
    box-shadow: 0 1px 8px rgba(0,0,0,.04);
    padding: .6rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo  { display: flex; align-items: center; gap: .6rem; }
.nav__logo img {
    height: 38px;
    transition: transform .3s var(--ease);
}
.nav__logo:hover img { transform: scale(1.05) rotate(-3deg); }
.nav__logo span {
    font-family: 'Montserrat';
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--ink), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav__links { display: flex; gap: 1.8rem; align-items: center; }
.nav__link {
    font-weight: 500;
    font-size: .88rem;
    color: var(--ink2);
    transition: color .25s var(--ease);
    position: relative;
    padding: .25rem 0;
}
.nav__link:hover { color: var(--primary); }
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform .3s var(--ease);
    transform-origin: right;
}
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta-link {
    padding: .6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .84rem;
    transition: all .3s var(--ease);
    box-shadow: 0 2px 10px rgba(14,116,144,.2);
}
.nav__cta-link:hover {
    box-shadow: 0 4px 18px rgba(14,116,144,.3);
    transform: translateY(-1px);
}
.nav__cta-link::after { display: none !important; }

.nav__burger { display: none; background: none; color: var(--ink); }

/* Mobile menu */
.mob-menu {
    display: none;
    position: fixed; inset: 0;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.mob-menu.open { display: flex; }
.mob-menu a {
    font-family: 'Montserrat';
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    transition: color .2s;
}
.mob-menu a:hover { color: var(--primary); }
.mob-menu__x {
    position: absolute;
    top: 1.5rem; right: 2rem;
    background: none; border: none;
    color: var(--ink);
}


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg) 0%, #e0f7fa 40%, var(--bg) 100%);
}

/* Dimmed decorative background logo */
.hero__bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/logo-bg.webp') no-repeat center center;
    background-size: contain;
    mix-blend-mode: multiply;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
    gap: 4rem;
    align-items: center;
}
.hero__content { position: relative; z-index: 2; }
.hero__tag {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.5rem;
}
.hero__tag::before {
    content: '';
    width: 2.2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}
.hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__sub {
    font-size: 1.15rem;
    color: var(--ink2);
    max-width: 30rem;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__visual {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
}
.hero__orbit {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}
.hero__orbit::before {
    content: '';
    position: absolute;
    inset: -8%;
    border: 2px dashed rgba(14,116,144,.1);
    border-radius: 50%;
    animation: spin 60s linear infinite;
}
.hero__orbit::after {
    content: '';
    position: absolute;
    inset: -18%;
    border: 1px dashed rgba(14,116,144,.05);
    border-radius: 50%;
    animation: spin 100s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__logo-img {
    width: 78%;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 20px 60px rgba(14,116,144,.15));
    animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Floating dots */
.dots { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.dot {
    position: absolute;
    width: 6px; height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: .2;
    animation: pulse 4s ease-in-out infinite;
}
.dot:nth-child(1){top:12%;left:8%;animation-delay:0s}
.dot:nth-child(2){top:28%;left:88%;animation-delay:.6s}
.dot:nth-child(3){top:60%;left:4%;animation-delay:1.1s}
.dot:nth-child(4){top:82%;left:92%;animation-delay:1.6s}
.dot:nth-child(5){top:45%;left:55%;animation-delay:2.1s}
.dot:nth-child(6){top:18%;left:65%;animation-delay:.3s}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:.2} 50%{transform:scale(2.5);opacity:.45} }


/* ══════════════════════════════════════════
   PILLARS / VALUE PROPS
══════════════════════════════════════════ */
.pillars {
    position: relative;
    z-index: 10;
    margin-top: -2.5rem;
}
.pillars__inner {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2.8rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,.03);
}
.pillar {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}
.pillar__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 3px 12px rgba(14,116,144,.2);
}
.pillar__icon .material-symbols-outlined { font-size: 1.15rem; }
.pillar__txt strong {
    display: block;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink);
    margin-bottom: .2rem;
}
.pillar__txt span { font-size: .8rem; color: var(--ink3); line-height: 1.5; }


/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about { padding: 8rem 0; }
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}
.about__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,.04);
}
.about__illustration { border-radius: var(--radius-lg); overflow: hidden; }
.about__img img,
.about__img svg {
    width: 100%;
    display: block;
}
.about__txt h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin: .8rem 0 1.3rem;
    letter-spacing: -.02em;
}
.about__txt p     { color: var(--ink2); font-size: 1.02rem; margin-bottom: 1.1rem; line-height: 1.75; }
.about__txt p:last-of-type { margin-bottom: 2.2rem; }


/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services {
    padding: 8rem 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.services .grid-bg::before {
    background-image:
        linear-gradient(rgba(14,116,144,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14,116,144,.03) 1px, transparent 1px);
}
.services__head { position: relative; z-index: 2; margin-bottom: 3.5rem; }
.services__head .label { color: var(--primary-light); }
.services__head .label::before { background: linear-gradient(90deg, var(--primary-light), var(--secondary-light)); }
.services__head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-top: .8rem;
}
.services__head p {
    color: var(--ink-on-dark2);
    max-width: 34rem;
    margin-top: 1rem;
    font-size: 1.02rem;
    line-height: 1.75;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}
.svc {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    border: 1px solid rgba(255,255,255,.05);
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
}
.svc::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(14,116,144,.08), transparent);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.svc:hover::before { opacity: 1; }
.svc:hover {
    border-color: rgba(34,211,238,.15);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.svc__icon {
    width: 3rem; height: 3rem;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 1;
}
.svc__icon--blue  { background: rgba(34,211,238,.1);   color: var(--primary-light); }
.svc__icon--green { background: rgba(52,211,153,.1);   color: var(--secondary-light); }
.svc__icon--amber { background: rgba(251,191,36,.1);   color: var(--tertiary-light); }
.svc__icon .material-symbols-outlined { font-size: 1.35rem; }
.svc h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
}
.svc__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    position: relative;
    z-index: 1;
}
.svc__list li {
    display: flex; align-items: flex-start; gap: .7rem;
    color: var(--ink-on-dark2);
    font-size: .88rem; line-height: 1.55;
}
.svc__list li .material-symbols-outlined { font-size: 1rem; margin-top: .18rem; flex-shrink: 0; }
.svc--blue  .svc__list li .material-symbols-outlined { color: var(--primary-light); }
.svc--green .svc__list li .material-symbols-outlined { color: var(--secondary-light); }
.svc--amber .svc__list li .material-symbols-outlined { color: var(--tertiary-light); }


/* ══════════════════════════════════════════
   SECTORS
══════════════════════════════════════════ */
.sectors { padding: 8rem 0; background: var(--bg-alt); }
.sectors__head { text-align: center; margin-bottom: 3.5rem; }
.sectors__head .label::before { display: none; }
.sectors__head .label { justify-content: center; }
.sectors__head h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-top: .8rem;
}
.sectors__head p { color: var(--ink2); max-width: 32rem; margin: 1rem auto 0; line-height: 1.75; }
.sectors__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.sector {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.5rem;
    text-align: center;
    transition: all .35s var(--ease);
    border: 1px solid rgba(0,0,0,.04);
    position: relative;
    overflow: hidden;
}
.sector::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform .35s var(--ease);
    transform-origin: left;
}
.sector:hover::before { transform: scaleX(1); }
.sector:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14,116,144,.08);
}
.sector .material-symbols-outlined {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: .8rem;
    display: block;
    transition: transform .3s var(--ease-spring);
}
.sector:hover .material-symbols-outlined { transform: scale(1.15); }
.sector h4 { font-size: .95rem; font-weight: 700; margin-bottom: .45rem; }
.sector p  { font-size: .82rem; color: var(--ink3); line-height: 1.55; }


/* ══════════════════════════════════════════
   PROJECTS / RÉALISATIONS
══════════════════════════════════════════ */
.projects { padding: 8rem 0; }
.projects__head { margin-bottom: 3.5rem; }
.projects__head h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-top: .8rem;
}
.projects__head p { color: var(--ink2); max-width: 34rem; margin-top: .7rem; font-size: .95rem; line-height: 1.75; }

.proj-list { display: flex; flex-direction: column; gap: 2.5rem; }

.proj {
    background: var(--card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,.04);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.proj:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

/* Card header bands */
.proj__top {
    padding: 2.2rem 2.8rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}
.proj--blue .proj__top   { background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); }
.proj--green .proj__top  { background: linear-gradient(135deg, #064e3b, var(--secondary-light)); }
.proj--amber .proj__top  { background: linear-gradient(135deg, #78350f, var(--tertiary-light)); }

.proj__top-left { flex: 1; }
.proj__cat {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .35rem .85rem;
    border-radius: 2rem;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,.9);
    margin-bottom: .9rem;
}
.proj__cat .material-symbols-outlined { font-size: .85rem; }
.proj__name {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: .35rem;
}
.proj__tagline { font-size: .92rem; color: rgba(255,255,255,.65); }
.proj__top-icon {
    width: 4.5rem; height: 4.5rem;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.proj__top-icon .material-symbols-outlined {
    font-size: 2.2rem;
    color: rgba(255,255,255,.75);
    font-variation-settings: 'FILL' 1, 'wght' 300, 'opsz' 40;
}

/* Card body */
.proj__body { padding: 2.2rem 2.8rem 2.8rem; }

.proj__desc {
    font-size: .96rem;
    color: var(--ink2);
    line-height: 1.75;
    max-width: 68rem;
    margin-bottom: 1.8rem;
}

.proj__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; }
.proj__grid--full { grid-template-columns: 1fr; }

.proj__block-title {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: .9rem;
}

.proj__feat-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.proj__feat-list li {
    display: flex; align-items: flex-start; gap: .7rem;
    font-size: .88rem; color: var(--ink2); line-height: 1.55;
}
.proj__feat-list li .material-symbols-outlined {
    font-size: .95rem;
    margin-top: .18rem;
    flex-shrink: 0;
}
.proj--blue  .proj__feat-list li .material-symbols-outlined { color: var(--primary); }
.proj--green .proj__feat-list li .material-symbols-outlined { color: var(--secondary); }
.proj--amber .proj__feat-list li .material-symbols-outlined { color: var(--tertiary); }

/* Pipeline steps */
.proj__pipeline { display: flex; flex-direction: column; gap: .85rem; }
.pipe-step {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}
.pipe-step__n {
    width: 1.7rem; height: 1.7rem;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--primary-light);
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: .68rem;
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: .08rem;
    transition: all .3s var(--ease);
}
.pipe-step:hover .pipe-step__n {
    background: var(--primary-light);
    color: #fff;
}
.proj--green .pipe-step__n { border-color: var(--secondary-light); color: var(--secondary); }
.proj--green .pipe-step:hover .pipe-step__n { background: var(--secondary-light); color: #fff; }
.pipe-step__txt strong { font-size: .86rem; font-weight: 700; display: block; margin-bottom: .12rem; }
.pipe-step__txt span   { font-size: .8rem; color: var(--ink3); line-height: 1.5; }

/* Benefit chips */
.proj__benefits { display: flex; flex-wrap: wrap; gap: .6rem; }
.benefit-chip {
    display: flex; align-items: center; gap: .4rem;
    padding: .45rem 1rem;
    border-radius: 2rem;
    font-size: .8rem; font-weight: 600;
    background: var(--bg-alt);
    color: var(--ink2);
    border: 1px solid rgba(0,0,0,.04);
    transition: all .25s var(--ease);
}
.benefit-chip:hover { border-color: var(--secondary-light); background: rgba(5,150,105,.05); }
.benefit-chip .material-symbols-outlined { font-size: .9rem; color: var(--secondary); }

/* Tech stack */
.proj__stack {
    display: flex; flex-wrap: wrap; gap: .6rem;
    margin-top: 1.8rem; padding-top: 1.5rem;
    border-top: 1px solid var(--bg-alt);
}
.tech-chip {
    padding: .35rem .85rem;
    border-radius: var(--radius-sm);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .03em;
    background: var(--bg-alt);
    color: var(--ink2);
    transition: all .25s var(--ease);
}
.tech-chip:hover { transform: translateY(-1px); }
.tech-chip--blue  { background: rgba(14,116,144,.08);  color: var(--primary); }
.tech-chip--green { background: rgba(5,150,105,.08);   color: var(--secondary); }
.tech-chip--amber { background: rgba(217,119,6,.08);   color: var(--tertiary); }

/* Project footer with link */
.proj__footer { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--bg-alt); }
.proj__link {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 600;
    font-size: .88rem;
    transition: gap .25s var(--ease), color .25s var(--ease);
}
.proj--blue  .proj__link { color: var(--primary); }
.proj--amber .proj__link { color: var(--tertiary); }
.proj__link:hover { gap: .85rem; }
.proj__link .material-symbols-outlined { font-size: 1rem; }


/* ══════════════════════════════════════════
   APPROACH
══════════════════════════════════════════ */
.approach { padding: 8rem 0; background: var(--bg-alt); }
.approach__head { text-align: center; margin-bottom: 3.5rem; }
.approach__head .label::before { display: none; }
.approach__head .label { justify-content: center; }
.approach__head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-top: .8rem; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; position: relative; }
.steps::before {
    content: '';
    position: absolute;
    top: 2.5rem; left: 12%; right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-light), var(--tertiary-light), var(--primary));
    opacity: .2;
    border-radius: 2px;
}
.step { text-align: center; position: relative; }
.step__n {
    width: 3.2rem; height: 3.2rem;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.4rem;
    font-family: 'Montserrat';
    font-weight: 800;
    color: var(--primary);
    font-size: .95rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 3px 14px rgba(14,116,144,.12);
    transition: all .35s var(--ease);
}
.step:hover .step__n {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(14,116,144,.25);
}
.step h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.step p  { font-size: .83rem; color: var(--ink2); max-width: 13rem; margin: 0 auto; line-height: 1.55; }


/* ══════════════════════════════════════════
   CTA
══════════════════════════════════════════ */
.cta { padding: 8rem 0; }
.cta__box {
    background: linear-gradient(135deg, var(--dark), var(--dark-mid));
    border-radius: var(--radius-xl);
    padding: 5rem 4rem;
    text-align: center;
    position: relative; overflow: hidden;
}
.cta__box::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(14,116,144,.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta__box::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(5,150,105,.06) 0%, transparent 70%);
    pointer-events: none;
}
.cta__box h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    max-width: 38rem;
    margin: 0 auto 1.4rem;
    position: relative;
    z-index: 1;
}
.cta__box p {
    color: var(--ink-on-dark2);
    font-size: 1.05rem;
    max-width: 30rem;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}
.cta__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* CTA Animations */
.cta__anim {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 250px;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
}
.cta__anim--left { left: 5%; }
.cta__anim--right { right: 5%; }

/* Geo Anim (Map Pin) */
.anim-geo { width: 100%; height: 100%; }
.geo-ripple { fill: none; stroke: var(--primary); stroke-width: 1.5; opacity: 0; transform-origin: 50% 70%; animation: rippleOut 3s ease-out infinite; }
.ripple-1 { animation-delay: 0s; }
.ripple-2 { animation-delay: 1s; }
.ripple-3 { animation-delay: 2s; }
.geo-pin { fill: var(--primary-light); filter: drop-shadow(0 4px 6px rgba(14,116,144,0.3)); transform-origin: 50% 70%; animation: floatPin 3s ease-in-out infinite; }
.geo-pin-hole { animation: floatPin 3s ease-in-out infinite; }

/* Data Anim (Right) */
.anim-data { width: 100%; height: 100%; }
.data-link { fill: none; stroke: rgba(5, 150, 105, 0.4); stroke-width: 2; stroke-dasharray: 200; stroke-dashoffset: 200; animation: drawDataLine 4s ease-in-out infinite alternate; }
.data-node { fill: var(--secondary); animation: glowNode 3s ease-in-out infinite alternate; }
.node-a { animation-delay: 0s; }
.node-b { fill: var(--secondary-light); animation-delay: 0.5s; r: 5;}
.node-c { animation-delay: 1s; }
.node-d { animation-delay: 1.5s; }
.node-e { animation-delay: 2s; }
.data-pulse { fill: #fff; transform-origin: 50px 40px; animation: pulseData 2s ease-out infinite; }

@keyframes rippleOut { 0% { transform: scale(0.3); opacity: 0.8; stroke-width: 3; } 100% { transform: scale(3.5); opacity: 0; stroke-width: 0.5; } }
@keyframes floatPin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drawDataLine { 0% { stroke-dashoffset: 200; } 100% { stroke-dashoffset: 0; } }
@keyframes glowNode { 0% { filter: drop-shadow(0 0 2px rgba(5,150,105,0.2)); } 100% { filter: drop-shadow(0 0 10px var(--secondary-light)); } }
@keyframes pulseData { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(4); opacity: 0; } }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer { background: var(--dark); padding: 5rem 0 2.5rem; }
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer__brand-name {
    font-family: 'Montserrat';
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.footer__brand-name span.accent {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer__brand > p {
    color: var(--ink-on-dark2);
    font-size: .85rem;
    max-width: 17rem;
    line-height: 1.7;
}
.footer__col h3 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-on-dark2);
    margin-bottom: 1.2rem;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer__col a {
    color: rgba(255,255,255,.75);
    font-size: .88rem;
    transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.footer__col a:hover { color: var(--primary-light); padding-left: .3rem; }
.footer__bottom {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.05);
    display: flex; justify-content: space-between; align-items: center;
}
.footer__bottom p  { color: rgba(255,255,255,.25); font-size: .78rem; }
.footer__socials   { display: flex; gap: .8rem; }
.footer__socials a {
    color: rgba(255,255,255,.3);
    transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer__socials a:hover { color: var(--primary-light); transform: translateY(-2px); }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero__grid         { grid-template-columns: 1fr; gap: 3rem; }
    .hero__visual       { max-width: 380px; margin: 0 auto; }
    .pillars__inner     { grid-template-columns: repeat(2,1fr); }
    .about__grid        { grid-template-columns: 1fr; }
    .services__grid     { grid-template-columns: 1fr 1fr; }
    .sectors__grid      { grid-template-columns: repeat(2,1fr); }
    .proj__grid         { grid-template-columns: 1fr; }
    .steps              { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .steps::before      { display: none; }
    .footer__grid       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav__links         { display: none; }
    .nav__burger        { display: block; }
    .hero               { min-height: auto; padding: 7rem 0 3rem; }
    .hero h1            { font-size: clamp(1.9rem, 7vw, 2.6rem); }
    .pillars__inner     { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.2rem; }
    .services__grid,
    .sectors__grid      { grid-template-columns: 1fr; }
    .proj__top          { flex-direction: column-reverse; gap: .75rem; }
    .proj__top-icon     { width: 3rem; height: 3rem; }
    .proj__top-icon .material-symbols-outlined { font-size: 1.6rem; }
    .proj__body,
    .proj__top          { padding: 1.5rem; }
    .steps              { grid-template-columns: 1fr 1fr; }
    .cta__box           { padding: 3rem 1.5rem; }
    .cta__anim          { display: none; }
    .footer__grid       { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom     { flex-direction: column; gap: .8rem; text-align: center; }
}
