@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/dm-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url('../fonts/syne-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url('../fonts/syne-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.btn-primary svg,
.btn-secondary svg,
.blog-back svg,
.blog-chip svg,
.service-icon svg,
.hero-bento-item svg {
    display: block;
    overflow: visible;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

:root {
    --bg: #000000;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.18);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dim: rgba(255, 255, 255, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
}

.font-display { font-family: 'Syne', ui-sans-serif, system-ui, sans-serif; }

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 1; }

.nav-bar {
    display: grid;
    align-items: center;
    gap: 0.75rem;
    grid-template-columns: 2.75rem 1fr 2.75rem;
}

.nav-menu-btn {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    position: relative;
}

.nav-menu-btn .nav-menu-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity 0.25s;
}

.nav-logo:hover { opacity: 0.85; }

.nav-link {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #fff;
}

.nav-links {
    display: none;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
}

.nav-end {
    position: relative;
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .nav-bar {
        grid-template-columns: auto 1fr auto;
    }

    .nav-menu-btn { display: none; }

    .nav-logo {
        grid-column: 1;
        justify-self: start;
    }

    .nav-links {
        display: flex;
    }

    .nav-end {
        grid-column: 3;
        justify-self: end;
        display: block;
    }

    .glass-btn {
        width: 2.25rem;
        height: 2.25rem;
    }
}

[dir="rtl"] .nav-menu-btn { justify-self: center; }
[dir="rtl"] .nav-end { justify-self: center; }

@media (min-width: 768px) {
    [dir="rtl"] .nav-logo { justify-self: end; }
    [dir="rtl"] .nav-end { justify-self: start; }
}

#siteNav {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
}

#siteNav.scrolled {
    background: rgba(0, 0, 0, 0.88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: border-color 0.35s, transform 0.35s;
}

.glass-card:hover { border-color: var(--border-strong); }

.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    margin: 0;
    font: inherit;
    line-height: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: #fff;
    transition: all 0.25s;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.glass-btn svg {
    display: block;
    flex-shrink: 0;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-strong);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 60;
    min-width: 10rem;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.25rem;
    transform-origin: top right;
    transition: opacity 0.2s, transform 0.2s;
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
    transform-origin: top left;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.lang-option:hover, .lang-option.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    visibility: hidden;
    pointer-events: none;
}

.mobile-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
    opacity: 1;
}

.mobile-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(88vw, 320px);
    height: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    border-right: 1px solid var(--border);
    transform: translateX(-105%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 1.25rem 1.5rem 1.5rem;
    overflow-y: auto;
}

.mobile-drawer.is-open .mobile-drawer__panel {
    transform: translateX(0);
}

.mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.mobile-drawer__logo {
    display: flex;
    align-items: center;
}

.mobile-drawer__close {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.mobile-drawer__link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.35s ease, transform 0.35s ease, color 0.25s ease;
}

.mobile-drawer.is-open .mobile-drawer__link {
    opacity: 1;
    transform: none;
}

.mobile-drawer.is-open .mobile-drawer__link:nth-child(1) { transition-delay: 0.06s; }
.mobile-drawer.is-open .mobile-drawer__link:nth-child(2) { transition-delay: 0.1s; }
.mobile-drawer.is-open .mobile-drawer__link:nth-child(3) { transition-delay: 0.14s; }
.mobile-drawer.is-open .mobile-drawer__link:nth-child(4) { transition-delay: 0.18s; }
.mobile-drawer.is-open .mobile-drawer__link:nth-child(5) { transition-delay: 0.22s; }

.mobile-drawer__link:hover,
.mobile-drawer__link:active {
    color: #fff;
}

.mobile-drawer__link-num {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-dim);
}

.mobile-drawer__link-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
}

.mobile-drawer__link-arrow {
    font-size: 0.75rem;
    color: var(--text-dim);
    transition: transform 0.25s ease, color 0.25s ease;
}

.mobile-drawer__link:hover .mobile-drawer__link-arrow {
    color: #fff;
    transform: translateX(4px);
}

.mobile-drawer__foot {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.mobile-drawer__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.25s;
}

.mobile-drawer__contact:hover { color: #fff; }

.nav-menu-icon--close.hidden { display: none; }

body.menu-open { overflow: hidden; }

[dir="rtl"] .mobile-drawer__panel {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 1px solid var(--border);
    transform: translateX(105%);
}

[dir="rtl"] .mobile-drawer.is-open .mobile-drawer__panel {
    transform: translateX(0);
}

[dir="rtl"] .mobile-drawer__link {
    transform: translateX(20px);
}

[dir="rtl"] .mobile-drawer__link-arrow {
    transform: rotate(180deg);
}

[dir="rtl"] .mobile-drawer__link:hover .mobile-drawer__link-arrow {
    transform: rotate(180deg) translateX(4px);
}

.no-motion .mobile-drawer__panel,
.no-motion .mobile-drawer__backdrop,
.no-motion .mobile-drawer__link {
    transition: none !important;
}

.no-motion .mobile-drawer__link {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-drawer__panel,
    .mobile-drawer__backdrop,
    .mobile-drawer__link {
        transition-duration: 0.01ms !important;
    }
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #fff;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #000;
    transition: transform 0.25s, opacity 0.25s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: 1px solid var(--border-strong);
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.25s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: min(70vw, 640px);
    height: min(70vw, 640px);
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 40%, transparent 70%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 85%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 4rem;
        align-items: center;
        min-height: calc(100svh - 9rem);
    }
}

.hero-copy {
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-copy {
        align-self: center;
        min-height: 100%;
    }
}

.hero-panel {
    position: relative;
    width: 100%;
    min-height: 320px;
    will-change: transform, opacity;
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-panel {
        min-height: auto;
        align-self: center;
    }
}

.hero-panel-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(100%, 420px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.hero-panel-ring::before {
    content: '';
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.hero-panel-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Syne', sans-serif;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
}

.hero-bento {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
}

.hero-bento-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.1rem 1.15rem;
    min-height: 88px;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.hero-bento-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
}

.hero-bento-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    min-height: 72px;
}

.hero-bento-item i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.45);
}

.hero-bento-item span {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.35;
}

.hero-bento-wide span {
    font-size: 0.95rem;
}

/* Logo mark (header) */
.logo-mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    flex-shrink: 0;
}

.logo-mark--nav {
    width: 2.75rem;
    height: 2.75rem;
}

.logo-mark--hero {
    width: min(88vw, 420px);
    height: min(88vw, 420px);
}

.logo-mark__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-mark__ring--1 { inset: 0; }
.logo-mark__ring--2 { inset: 14%; border-color: rgba(255, 255, 255, 0.07); }
.logo-mark__ring--3 { inset: 28%; border-color: rgba(255, 255, 255, 0.04); }

.logo-mark__dot {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.75;
}

.logo-mark--nav .logo-mark__dot {
    width: 3px;
    height: 3px;
    margin-left: -1.5px;
    top: -1px;
}

.logo-mark__icon {
    position: relative;
    z-index: 1;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
}

.logo-mark--nav .logo-mark__icon { font-size: 0.7rem; }
.logo-mark--hero .logo-mark__icon { font-size: clamp(2.5rem, 8vw, 4.25rem); }

.logo-mark--hero .logo-mark__ring--3 {
    animation: logo-pulse 4s ease-in-out infinite;
}

.logo-mark--nav .logo-mark__ring--1,
.logo-mark--hero .logo-mark__ring--1 {
    animation: logo-spin 22s linear infinite;
}

.logo-mark--nav .logo-mark__ring--1 {
    animation-duration: 28s;
}

.logo-mark--hero .logo-mark__ring--2 {
    animation: logo-spin 16s linear infinite reverse;
}

@keyframes logo-spin {
    to { transform: rotate(360deg); }
}

@keyframes logo-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.98); }
}

.no-motion .logo-mark__ring,
.no-motion .logo-mark__dot {
    animation: none !important;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

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

.hero-title-muted {
    color: rgba(255, 255, 255, 0.35);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.45rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.45;
    max-width: 34rem;
}

.hero-desc {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    color: rgba(255, 255, 255, 0.42);
    max-width: 32rem;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}


.hero-bottom {
    position: absolute;
    bottom: 2rem;
    left: 1.5rem;
    display: flex;
    justify-content: flex-start;
}

.hero-scroll-hint {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dim);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    position: relative;
}

.hero-scroll-line span {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    animation: scroll-line-h 2s ease infinite;
}

@keyframes scroll-line-h {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hero load animation */
.anim-load {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.anim-load.is-loaded {
    opacity: 1;
    transform: none;
}

/* ── Sections ── */
.section {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Scroll reveal animations */
.anim {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

.anim[data-animate="fade-up"] { transform: translateY(36px); }
.anim[data-animate="fade-left"] { transform: translateX(-36px); }
.anim[data-animate="fade-right"] { transform: translateX(36px); }
.anim[data-animate="scale-in"] { transform: scale(0.92); }
.anim[data-animate="blur-in"] { transform: translateY(20px); filter: blur(8px); }

.anim.in-view {
    opacity: 1;
    transform: none;
    filter: none;
}

[dir="rtl"] .anim[data-animate="fade-left"] { transform: translateX(36px); }
[dir="rtl"] .anim[data-animate="fade-right"] { transform: translateX(-36px); }

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card { padding: 1.75rem; }

.service-card:hover { transform: translateY(-4px); }

.service-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.service-icon i { color: rgba(255, 255, 255, 0.5); }

/* Process */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 2rem;
    bottom: 2rem;
    width: 1px;
    background: linear-gradient(to bottom, var(--border), transparent);
}

@media (min-width: 768px) {
    .process-steps::before { left: 1.75rem; }
}

.process-step-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding: 1.75rem;
    position: relative;
}

.process-step-num {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    background: #000;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.process-step-body h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-step-body p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Stats */
.stat-card { padding: 1.5rem; text-align: center; }

.stat-value {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* Tech marquee */
.marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.marquee-track.reverse {
    animation-direction: reverse;
    animation-duration: 32s;
}

.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 9999px;
    white-space: nowrap;
}

.tech-pill i { font-size: 1.2rem; color: rgba(255, 255, 255, 0.4); }

/* Contact */
.contact-glow {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    overflow: hidden;
}

.contact-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04), transparent 65%);
    pointer-events: none;
}

/* Reduced motion */
.no-motion .anim,
.no-motion .anim-load {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
}

.no-motion .marquee-track { animation: none; }

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

@media (max-width: 639px) {
    .hero-inner { padding: 5.5rem 1.25rem 4rem; }
    .hero-panel { min-height: auto; }
    .hero-panel-ring,
    .hero-panel-mark { display: none; }
    .hero-actions { flex-direction: column; }
    .hero-actions a { width: 100%; justify-content: center; }
    .process-steps::before { left: 1.35rem; }
    .process-step-card { padding: 1.25rem; gap: 1rem; }
    .service-card { padding: 1.25rem; }
}

@media (max-height: 700px) {
    .hero-bottom { display: none; }
}

[dir="rtl"] .marquee-track { animation-direction: reverse; }
[dir="rtl"] .marquee-track.reverse { animation-direction: normal; }

/* ── Blog ── */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card { overflow: hidden; padding: 0; }

.blog-card__link { display: block; color: inherit; height: 100%; }

.blog-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image img { transform: scale(1.04); }

.blog-card__body { padding: 1.25rem 1.35rem 1.35rem; }

.blog-card__category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.65rem;
}

.blog-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.blog-card__excerpt {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.blog-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    transition: all 0.25s;
}

.blog-chip:hover,
.blog-chip.active {
    color: #fff;
    border-color: var(--border-strong);
    background: rgba(255,255,255,0.05);
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    transition: color 0.25s;
}

.blog-back:hover { color: #fff; }

.blog-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.blog-post-cover {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.blog-post-cover img { width: 100%; height: auto; display: block; }

.prose-dark h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #fff;
}

.prose-dark h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: rgba(255,255,255,0.9);
}

.prose-dark p {
    color: rgba(255,255,255,0.62);
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.prose-dark ul {
    margin: 0 0 1.25rem 1.25rem;
    color: rgba(255,255,255,0.58);
}

.prose-dark li { margin-bottom: 0.45rem; line-height: 1.65; }

.prose-dark a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,0.35);
}

.prose-dark a:hover { text-decoration-color: #fff; }

.blog-related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

.blog-related-list { display: flex; flex-direction: column; gap: 0.75rem; }

.blog-related-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    color: rgba(255,255,255,0.7);
    transition: border-color 0.25s, transform 0.25s;
}

.blog-related-item:hover {
    transform: translateX(4px);
    color: #fff;
}

.blog-post-cta { margin-top: 3rem; }

.legal-content { padding: 2rem 1.75rem; }

.legal-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 1.75rem 0 0.75rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
    color: rgba(255,255,255,0.58);
    line-height: 1.75;
    margin-bottom: 0.85rem;
}

.legal-content ul { margin-left: 1.25rem; }

.legal-content a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
