/* ══════════════════════════════════════════════════════════════════════════
   SPARKFORGE — style.css
   Palette: #007978 teal | #00df81 green | #f1f7f6 light bg
   Dark mode: deep forest greens, same accent colours
   Fonts: Syne (headings) + DM Sans (body)
══════════════════════════════════════════════════════════════════════════ */

/* ── LIGHT THEME (default) ──────────────────────────────────────────── */
:root {
    --bg:           #f1f7f6;
    --bg-alt:       #e4f0ef;
    --surface:      #ffffff;
    --surface-2:    #edf5f4;
    --border:       rgba(0, 121, 120, 0.14);
    --border-strong:rgba(0, 121, 120, 0.28);
    --teal:         #007978;
    --teal-dark:    #005f5e;
    --green:        #00df81;
    --green-dim:    rgba(0, 223, 129, 0.12);
    --green-border: rgba(0, 223, 129, 0.28);
    --text-head:    #004c4b;
    --text-body:    #2e6160;
    --text-muted:   #5a9897;
    --text-faint:   #9dc8c7;
    --radius:       12px;
    --radius-lg:    20px;
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --shadow:       0 8px 32px rgba(0, 121, 120, 0.10);
    --shadow-lg:    0 20px 56px rgba(0, 121, 120, 0.16);
}

/* ── DARK THEME ─────────────────────────────────────────────────────── */
[data-theme="dark"] {
    --bg:           #071412;
    --bg-alt:       #0d1f1e;
    --surface:      #0d1f1e;
    --surface-2:    #132b29;
    --border:       rgba(0, 223, 129, 0.09);
    --border-strong:rgba(0, 223, 129, 0.2);
    --teal:         #00c4a0;
    --teal-dark:    #009e80;
    --green:        #00df81;
    --green-dim:    rgba(0, 223, 129, 0.10);
    --green-border: rgba(0, 223, 129, 0.22);
    --text-head:    #c8ede8;
    --text-body:    #7ec4bc;
    --text-muted:   #4d8f87;
    --text-faint:   #27504c;
    --shadow:       0 8px 32px rgba(0, 0, 0, 0.40);
    --shadow-lg:    0 20px 56px rgba(0, 0, 0, 0.55);
}

/* ── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 4px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-head);
    letter-spacing: -0.02rem;
}

/* ── LAYOUT ─────────────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── SECTION LABELS ─────────────────────────────────────────────────── */
.section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.85rem;
}
.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 1rem;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 3rem;
}

/* ── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 99px;
    padding: 13px 26px;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
    cursor: pointer;
    border: none;
}
.btn--primary {
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: #fff;
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 223, 129, 0.38);
}
.btn--ghost {
    color: var(--text-muted);
    background: transparent;
    padding: 13px 0;
}
.btn--ghost:hover { color: var(--teal); }
.btn--full { width: 100%; justify-content: center; }

/* ── SCROLL REVEAL ──────────────────────────────────────────────────── */
/* NOTE: starts visible — JS adds animation after observe fires */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.navbar.is-scrolled {
    background: var(--bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border), var(--shadow);
}
.nav-inner {
    max-width: 1160px; margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Syne', sans-serif; font-weight: 800;
}
.logo-img {
    width: 36px; height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    transition: opacity 0.3s;
}
.logo-img--inv { opacity: 0.95; }
.logo-name { font-size: 1.1rem; color: var(--text-head); }
.logo-name--inv { color: #fff !important; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
    font-size: 0.9rem; font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.nav-dropdown-toggle::after {
    content: '▼';
    font-size: 0.6rem;
    transition: transform 0.25s var(--ease);
}
.nav-dropdown.is-open .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}
.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease);
    box-shadow: var(--shadow);
    z-index: 1001;
    overflow: hidden;
}
.nav-dropdown.is-open .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-submenu li {
    display: list-item;
}
.nav-submenu li a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s var(--ease);
    border-left: 3px solid transparent;
}
.nav-submenu li:first-child a {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.nav-submenu li:last-child a {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.nav-submenu li a:hover {
    background: var(--bg-alt);
    color: var(--teal);
    border-left-color: var(--green);
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    transition: all 0.25s var(--ease);
    cursor: pointer;
    flex-shrink: 0;
}
.theme-toggle:hover {
    background: var(--green); color: #fff;
    border-color: var(--green);
    transform: rotate(15deg) scale(1.05);
}
.nav-cta {
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: #fff;
    padding: 9px 20px;
    border-radius: 99px;
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem; font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 223, 129, 0.35);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.hamburger span {
    width: 22px; height: 2px;
    background: var(--teal);
    border-radius: 2px; display: block;
    transition: 0.25s var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 1.5rem 24px 2rem;
}
.mobile-menu a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem; font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .mobile-cta {
    border-bottom: none;
    margin-top: 1rem;
    color: var(--green);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}
.mobile-dropdown-toggle {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}
.mobile-dropdown-toggle::after {
    content: '▼';
    font-size: 0.6rem;
    transition: transform 0.25s var(--ease);
}
.mobile-dropdown-toggle.is-open::after {
    transform: rotate(180deg);
}
.mobile-dropdown-toggle:hover {
    color: var(--teal);
}
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s var(--ease);
    border-bottom: 1px solid var(--border);
}
.mobile-submenu.is-open {
    max-height: 500px;
}
.mobile-submenu a {
    display: block;
    padding: 0.75rem 0 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.2s;
}
.mobile-submenu a:last-child {
    border-bottom: none;
}
.mobile-submenu a:hover {
    color: var(--teal);
}
.mobile-menu.is-open { display: flex; }

/* ════════════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 24px 90px;
    overflow: hidden;
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse at 60% 0%, black 30%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 0%, black 30%, transparent 72%);
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-orb--1 {
    width: 520px; height: 520px;
    background: rgba(0, 223, 129, 0.09);
    top: -130px; left: -90px;
}
.hero-orb--2 {
    width: 400px; height: 400px;
    background: rgba(0, 121, 120, 0.07);
    bottom: -60px; right: -100px;
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 1160px; margin: 0 auto; width: 100%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--green-dim);
    border: 1px solid var(--green-border);
    color: var(--teal);
    padding: 6px 14px; border-radius: 99px;
    font-size: 0.8rem; font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.1s forwards;
}
.hero-badge__dot {
    width: 7px; height: 7px;
    background: var(--green); border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.75); }
}
.hero-title {
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.0;
    color: var(--text-head);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.2s forwards;
}
.hero-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--text-muted);
}
.hero-title__accent {
    color: var(--teal);
    position: relative; display: inline-block;
}
.hero-title__accent::after {
    content: '';
    position: absolute;
    bottom: 6px; left: 0; right: 0;
    height: 5px;
    background: var(--green);
    border-radius: 3px;
    opacity: 0.45;
}
.hero-desc {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.3s forwards;
}
.hero-actions {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.4s forwards;
}
.hero-stats {
    display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s 0.55s forwards;
}
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat__value-wrapper {
    display: flex; flex-direction: row;
    align-items: baseline;
    gap: 2px;
}
.stat__num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem; font-weight: 800;
    color: var(--teal); line-height: 1;
}
.stat__plus { color: var(--green); font-size: 1.3rem; font-weight: 700; line-height: 1; }
.stat__label {
    font-size: 0.73rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-top: 4px;
}
.stat-sep { width: 1px; height: 38px; background: var(--border-strong); }
.hero-scroll {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-faint);
    font-size: 0.67rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-scroll__line {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, var(--text-faint), transparent);
    animation: scrollGrow 1.6s ease-in-out infinite;
}
@keyframes scrollGrow {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════════════════
   TICKER
════════════════════════════════════════════════════════════════════════ */
.ticker {
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    padding: 13px 0;
}
.ticker__track {
    display: flex; align-items: center; gap: 2rem;
    white-space: nowrap; width: max-content;
    animation: marquee 28s linear infinite;
}
.ticker__track span {
    font-family: 'Syne', sans-serif;
    font-size: 0.82rem; font-weight: 700;
    color: #fff;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.ticker__dot { font-size: 0.42rem !important; opacity: 0.4; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════════════════════ */
.services {
    padding: 100px 0 80px;
    background: var(--surface);
}

/* Two-col section header */
.services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.services-header .section-title { margin-bottom: 0; }
.services-header__sub {
    font-size: 0.97rem;
    color: var(--text-muted);
    max-width: 360px;
    line-height: 1.7;
    flex-shrink: 0;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Base card */
.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

/* Featured card */
.service-card--featured {
    background: linear-gradient(145deg, var(--surface-2), var(--bg));
    border-color: var(--border-strong);
}
.service-card--featured:hover {
    border-color: var(--green);
    box-shadow: 0 20px 60px rgba(0, 223, 129, 0.14);
}

/* AI card */
.service-card--ai:hover {
    border-color: var(--teal);
    box-shadow: 0 20px 60px rgba(0, 121, 120, 0.18);
}

/* Glow blob */
.service-card__glow {
    position: absolute;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(0, 223, 129, 0.13), transparent 70%);
    bottom: -90px; right: -70px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    transform: scale(0.6);
}
.service-card:hover .service-card__glow { opacity: 1; transform: scale(1); }
.service-card__glow--ai {
    background: radial-gradient(circle, rgba(0, 121, 120, 0.16), transparent 70%);
}

/* Card top row: icon + badge */
.service-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.service-card__icon {
    width: 48px; height: 48px;
    background: var(--green-dim);
    border: 1px solid var(--green-border);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal); font-size: 1.15rem;
    flex-shrink: 0;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.service-card:hover .service-card__icon {
    background: rgba(0, 223, 129, 0.22);
    transform: scale(1.08) rotate(-4deg);
}
.service-card__icon--ai { color: var(--teal); }

/* Number */
.service-card__num {
    font-family: 'Syne', sans-serif;
    font-size: 0.68rem; font-weight: 700;
    color: var(--text-faint);
    letter-spacing: 0.12em;
}

/* Title */
.service-card__title {
    font-size: 1.15rem; font-weight: 700;
    color: var(--text-head);
    margin-bottom: 0.55rem;
    transition: color 0.2s;
}
.service-card:hover .service-card__title { color: var(--teal); }

/* Description */
.service-card__desc {
    color: var(--text-muted);
    font-size: 0.875rem; line-height: 1.7;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

/* Feature list */
.service-card__list {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 1.5rem;
}
.service-card__list li {
    font-size: 0.82rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 9px;
}
.service-card__list li i {
    color: var(--green);
    font-size: 0.6rem;
    flex-shrink: 0;
    background: var(--green-dim);
    border-radius: 50%;
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
}

/* CTA link */
.service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Syne', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--teal);
    margin-top: auto;
    transition: gap 0.2s var(--ease), color 0.2s;
    width: fit-content;
}
.service-card__cta i {
    font-size: 0.72rem;
    transition: transform 0.2s var(--ease);
}
.service-card:hover .service-card__cta { color: var(--green); gap: 10px; }
.service-card:hover .service-card__cta i { transform: translateX(3px); }

/* Badges */
.service-card__badge {
    background: var(--green); color: #fff;
    font-size: 0.65rem; font-weight: 700;
    padding: 3px 10px; border-radius: 99px;
    text-transform: uppercase; letter-spacing: 0.06em;
    white-space: nowrap;
}
.service-card__badge--new { background: var(--teal); }

/* Bottom CTA strip */
.services-cta-strip {
    margin-top: 2rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.services-cta-strip p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.services-cta-strip strong {
    color: var(--text-head);
    font-family: 'Syne', sans-serif;
}

/* ════════════════════════════════════════════════════════════════════════
   PROCESS
════════════════════════════════════════════════════════════════════════ */
.process {
    padding: 96px 0;
    background: var(--bg);
}
.process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; margin-top: 3.5rem;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 2.6rem; left: 9%; right: 9%;
    height: 1px;
    background: var(--border-strong);
}
.process-step { text-align: center; padding: 1rem; }
.process-step__num {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem; font-weight: 800;
    color: var(--border-strong);
    margin-bottom: 1rem;
    display: inline-block;
    background: var(--bg); padding: 0 10px;
    position: relative;
    transition: color 0.25s;
}
.process-step:hover .process-step__num { color: var(--green); }
.process-step__title {
    font-size: 1.05rem; font-weight: 700;
    color: var(--text-head); margin-bottom: 0.6rem;
}
.process-step__desc {
    font-size: 0.85rem; color: var(--text-muted); line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════════════
   WORK
════════════════════════════════════════════════════════════════════════ */
.work {
    padding: 96px 0;
    background: var(--surface);
}
.work-filters {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin: 2.5rem 0;
}
.work-filter {
    padding: 8px 20px; border-radius: 99px;
    font-size: 0.85rem; font-weight: 500;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.work-filter:hover, .work-filter--active {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}
.work-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.work-item { cursor: pointer; }
.work-item.is-hidden { display: none !important; }
.work-item__thumb {
    height: 215px; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--c1), var(--c2));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem; color: rgba(255,255,255,0.42);
    position: relative; overflow: hidden;
    margin-bottom: 1rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.work-item:hover .work-item__thumb {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.work-item__overlay {
    position: absolute; inset: 0;
    background: rgba(0, 121, 120, 0.75);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.25s;
}
.work-item:hover .work-item__overlay { opacity: 1; }
.work-item__overlay span {
    color: #fff;
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem;
}
.work-item__cat {
    display: block;
    font-size: 0.72rem; font-weight: 700; color: var(--teal);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 3px;
}
.work-item__info h4 {
    font-size: 1rem; font-weight: 700; color: var(--text-head); margin-bottom: 3px;
}
.work-item__info p { font-size: 0.84rem; color: var(--text-muted); }

/* ════════════════════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════════════════════ */
.contact {
    padding: 96px 0;
    background: var(--surface);
}
.contact-wrap {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem;
    align-items: start;
}
.contact-info__desc {
    color: var(--text-muted); font-size: 1rem; line-height: 1.7;
    margin-bottom: 2.5rem;
}
.contact-items { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
}
a.contact-item:hover {
    border-color: var(--green-border);
    background: var(--green-dim);
}
.contact-item__icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--green-dim);
    border: 1px solid var(--green-border);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal); font-size: 0.9rem;
}
.contact-item__label {
    display: block;
    font-size: 0.7rem; font-weight: 700; color: var(--text-faint);
    text-transform: uppercase; letter-spacing: 0.07em;
    margin-bottom: 2px;
}
.contact-item__val {
    display: block; font-size: 0.88rem; font-weight: 500; color: var(--text-head);
}
.contact-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 1.1rem;
}
.form-field label {
    font-size: 0.75rem; font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em;
}
.form-field input,
.form-field select,
.form-field textarea {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-body);
    padding: 11px 14px;
    border-radius: 9px;
    font-family: 'DM Sans', sans-serif; font-size: 0.93rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-faint); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field select { cursor: pointer; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 223, 129, 0.12);
}
.form-success {
    display: none;
    align-items: center; gap: 10px;
    background: rgba(0, 223, 129, 0.1);
    border: 1px solid rgba(0, 223, 129, 0.3);
    color: var(--teal);
    padding: 13px 16px;
    border-radius: 9px;
    margin-top: 1rem;
    font-size: 0.88rem;
}
.form-success.is-visible { display: flex; }

/* ════════════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════════════ */
.footer {
    background: var(--teal-dark);
    padding: 70px 0 28px;
}
.footer-top {
    display: grid; grid-template-columns: 1.4fr 2fr;
    gap: 5rem; margin-bottom: 3.5rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand__desc {
    font-size: 0.87rem; color: rgba(255,255,255,0.68);
    line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65); font-size: 0.9rem;
    transition: all 0.2s;
}
.footer-socials a:hover { border-color: var(--green); color: var(--green); }
.footer-links {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.footer-col h5 {
    font-size: 0.75rem; font-weight: 700; color: var(--green);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 1.1rem;
}
.footer-col a,
.footer-col span {
    display: block;
    font-size: 0.86rem; color: rgba(255,255,255,0.58);
    margin-bottom: 0.55rem;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.42); }

/* ════════════════════════════════════════════════════════════════════════
   CHATBOT
════════════════════════════════════════════════════════════════════════ */
.chatbot { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }
.chatbot__toggle {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: #fff; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 121, 120, 0.42);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none; cursor: pointer;
}
.chatbot__toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(0, 121, 120, 0.5);
}
#chatCloseIcon { display: none; }
.chatbot__box {
    position: absolute; bottom: 64px; right: 0;
    width: 355px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none; flex-direction: column;
    max-height: 510px;
}
.chatbot__box.is-open {
    display: flex;
    animation: chatIn 0.22s var(--ease);
}
@keyframes chatIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.chatbot__header {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    padding: 14px 18px;
    display: flex; align-items: center; gap: 11px;
}
.chatbot__avatar {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.2);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.75rem;
}
.chatbot__header strong { display: block; font-size: 0.88rem; color: #fff; }
.chatbot__header span  { font-size: 0.72rem; color: rgba(255,255,255,0.72); }
.chatbot__messages {
    flex: 1; overflow-y: auto; padding: 14px;
    display: flex; flex-direction: column; gap: 9px;
    min-height: 140px;
    background: var(--bg);
}
.chat-msg {
    max-width: 85%; padding: 9px 13px; border-radius: 11px;
    font-size: 0.83rem; line-height: 1.5;
    animation: fadeUp 0.2s ease;
    white-space: pre-wrap;
}
.chat-msg.bot {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-body);
    align-self: flex-start; border-bottom-left-radius: 3px;
}
.chat-msg.user {
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: #fff;
    align-self: flex-end; border-bottom-right-radius: 3px;
    font-weight: 500;
}
.chatbot__quick {
    padding: 9px 12px;
    display: flex; flex-wrap: wrap; gap: 6px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}
.chatbot__quick button {
    padding: 5px 11px; font-size: 0.73rem;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 99px; color: var(--text-muted); cursor: pointer;
    transition: all 0.2s;
}
.chatbot__quick button:hover { border-color: var(--teal); color: var(--teal); }
.chatbot__input {
    display: flex; gap: 8px; padding: 11px 14px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}
.chatbot__input input {
    flex: 1;
    background: var(--bg); border: 1px solid var(--border);
    color: var(--text-body);
    padding: 8px 13px; border-radius: 99px;
    font-family: 'DM Sans', sans-serif; font-size: 0.83rem;
    outline: none; transition: border-color 0.2s;
}
.chatbot__input input:focus { border-color: var(--green); }
.chatbot__input input::placeholder { color: var(--text-faint); }
.chatbot__input button {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; flex-shrink: 0;
    transition: transform 0.2s;
}
.chatbot__input button:hover { transform: scale(1.1); }

/* ════════════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1020px) {
    .services-header { flex-direction: column; align-items: flex-start; }
    .services-header__sub { max-width: 100%; }
    .services-grid    { grid-template-columns: repeat(2, 1fr); }
    .work-grid        { grid-template-columns: repeat(2, 1fr); }
    .footer-top       { grid-template-columns: 1fr; gap: 3rem; }
    .process-grid     { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .hamburger { display: flex; }
    .hero { padding: 90px 20px 60px; }
    .hero-title { font-size: clamp(2.8rem, 9vw, 4.5rem); }
    .hero-stats { gap: 1.5rem; }
    .stat-sep   { display: none; }
    .contact-wrap  { grid-template-columns: 1fr; gap: 3rem; }
    .form-row      { grid-template-columns: 1fr; }
    .footer-links  { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
    .chatbot__box  { width: calc(100vw - 48px); }
    .services-cta-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .services-grid  { grid-template-columns: 1fr; }
    .work-grid      { grid-template-columns: 1fr; }
    .process-grid   { grid-template-columns: 1fr; }
    .footer-links   { grid-template-columns: 1fr; }
    .hero-actions   { flex-direction: column; align-items: flex-start; }
    .hero-scroll    { display: none; }
}
