/* ============ Tech Zone — dark premium gold-on-black ============ */

@font-face {
    font-family: 'Aime';
    src: url('../fonts/aime-700-l9dBI5cD.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Aime';
    src: url('../fonts/aime-800-DDqHn9FK.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: 'KMR Melange Grotesk';
    src: url('../fonts/melange-grotesk-400-BQ0DoJin.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

:root {
    --bg: #0d0a08;
    --bg-soft: #120e0a;
    --panel: #16110c;
    --line: #2a2118;
    --gold: #d4a24e;
    --gold-deep: #b9832f;
    --text: #f2ead9;
    --muted: #b8ac97;
    --dim: #8f8471;
    --font-body: 'Cairo', 'KMR Melange Grotesk', 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Aime', 'Cairo', serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

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

.wrap {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* ---------- Nav ---------- */
.nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 50;
    background: rgba(13, 10, 8, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 68px;
}
.nav-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.14em;
    color: var(--text);
    white-space: nowrap;
}
.nav-brand em { color: var(--gold); font-style: normal; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: auto;
}
.nav-links a {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(212, 162, 78, 0.08); }
.nav-links a.active { color: var(--gold); }
.nav-lang {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    padding: 7px 15px;
    border-radius: 999px;
    cursor: pointer;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: background 0.2s;
}
.nav-lang:hover { background: rgba(212, 162, 78, 0.15); }
.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #181008;
    font-weight: 800;
    font-size: 13.5px;
    padding: 9px 18px;
    border-radius: 999px;
    white-space: nowrap;
    transition: filter 0.2s;
}
.nav-cta:hover { filter: brightness(1.1); }
.nav-burger {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.nav-mobile {
    display: none;
    flex-direction: column;
    border-top: 1px solid var(--line);
    padding: 8px 24px 16px;
}
.nav-mobile a {
    padding: 12px 4px;
    font-weight: 700;
    color: var(--muted);
    border-bottom: 1px solid rgba(42, 33, 24, 0.6);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active { color: var(--gold); }
.nav.open .nav-mobile { display: flex; }

@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: flex; margin-inline-start: auto; }
    .nav-lang { margin-inline-start: 0; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 96vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
    from { transform: scale(1.04) translateY(0); }
    to { transform: scale(1.1) translateY(-12px); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 10, 8, 0.98) 6%, rgba(13, 10, 8, 0.6) 48%, rgba(13, 10, 8, 0.28) 100%);
}
.hero-content {
    position: relative;
    width: 100%;
    padding-bottom: 72px;
    padding-top: 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.hero-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(38px, 6vw, 64px);
    letter-spacing: 0.14em;
    line-height: 1.05;
}
.hero-brand em { color: var(--gold); font-style: normal; }
.hero-tagline {
    font-size: 12px;
    letter-spacing: 0.32em;
    color: var(--gold);
    font-weight: 700;
}
.hero-title {
    font-size: clamp(26px, 3.6vw, 44px);
    font-weight: 900;
    line-height: 1.4;
    color: #ffffff;
    max-width: 18em;
}
.hero-title .gold {
    background: linear-gradient(120deg, #ecc270, var(--gold) 55%, var(--gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    color: #d8cbb6;
    font-size: 16.5px;
    max-width: 40em;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.hero-scroll {
    position: absolute;
    bottom: 22px;
    inset-inline-end: 28px;
    color: var(--dim);
    font-size: 11px;
    letter-spacing: 0.28em;
    writing-mode: vertical-rl;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #181008;
    font-weight: 800;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 12px;
    text-align: center;
    transition: filter 0.2s, transform 0.2s;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-ghost {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}
.btn-ghost:hover { background: rgba(212, 162, 78, 0.1); filter: none; }

/* ---------- Marquee ---------- */
.marquee {
    border-block: 1px solid var(--line);
    background: var(--bg-soft);
    overflow: hidden;
    padding: 16px 0;
}
.marquee-track {
    display: flex;
    gap: 42px;
    width: max-content;
    animation: marquee 36s linear infinite;
}
.marquee-track span {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--dim);
    white-space: nowrap;
}
.marquee-track span i {
    color: var(--gold);
    font-style: normal;
    margin-inline-end: 42px;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
[dir='rtl'] .marquee-track {
    animation-name: marquee-rtl;
}
@keyframes marquee-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

/* ---------- Stats ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}
.stat {
    background: var(--bg-soft);
    padding: 38px 16px;
    text-align: center;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.6vw, 52px);
    font-weight: 800;
    color: var(--gold);
    line-height: 1.15;
}
.stat-label {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 8px;
}
@media (min-width: 768px) {
    .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .stats { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0 24px; }
.section.tight { padding-top: 64px; }
.eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.eyebrow::after {
    content: '';
    height: 1px;
    width: 56px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.section-title {
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.45;
    margin-bottom: 16px;
    max-width: 22em;
}
.section-lead {
    color: var(--muted);
    max-width: 44em;
    margin-bottom: 34px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: 170px 0 72px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(700px 300px at 85% 0%, rgba(212, 162, 78, 0.13), transparent 65%),
        var(--bg);
}
.page-hero h1 {
    font-size: clamp(30px, 4.6vw, 52px);
    font-weight: 900;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 14px;
}
.page-hero p { color: var(--muted); max-width: 44em; }

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.service:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 162, 78, 0.45);
    box-shadow: 0 18px 40px -18px rgba(212, 162, 78, 0.25);
}
.service-num {
    font-family: var(--font-display);
    color: var(--gold);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.12em;
}
.service-title { font-weight: 800; font-size: 18px; color: #f7f1e3; }
.service-detail { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* ---------- Process steps ---------- */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    counter-reset: step;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 18px;
}
.step-num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}
.step-title { font-weight: 800; color: #f7f1e3; margin-bottom: 6px; font-size: 15.5px; }
.step-detail { color: var(--dim); font-size: 13.5px; line-height: 1.75; }

/* ---------- Partners ---------- */
.partners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) { .partners { grid-template-columns: repeat(4, 1fr); } }
.partner {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 15px 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14.5px;
    color: #e6dcc8;
    transition: border-color 0.2s, color 0.2s;
}
.partner:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Work ---------- */
.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 700px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 3 / 2;
    background: var(--panel);
}
.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.work-card:hover img { transform: scale(1.06); }
.work-card-label {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 40px 18px 16px;
    background: linear-gradient(to top, rgba(13, 10, 8, 0.92), transparent);
    font-weight: 800;
    font-size: 15.5px;
    color: #fff;
}
.work-card-label small {
    display: block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

/* ---------- Testimonials ---------- */
.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.testimonial blockquote {
    color: #d8cbb6;
    font-size: 15px;
    line-height: 1.85;
}
.testimonial blockquote::before {
    content: '\201C';
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 0;
    vertical-align: -14px;
    margin-inline-end: 6px;
}
.testimonial figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.testimonial .name { font-weight: 800; color: #f7f1e3; font-size: 15px; }
.testimonial .role { color: var(--dim); font-size: 13px; }

/* ---------- Feature split (talent / about) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: var(--panel);
}
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1.1fr; }
    .split.flip { grid-template-columns: 1.1fr 1fr; }
    .split.flip .split-media { order: 2; }
}
.split-media { min-height: 280px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body {
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    justify-content: center;
}

/* ---------- Bullet list ---------- */
.ticks { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.ticks li {
    position: relative;
    padding-inline-start: 30px;
    color: #e6dcc8;
    font-size: 15px;
    line-height: 1.8;
}
.ticks li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    box-shadow: 0 0 12px rgba(212, 162, 78, 0.6);
}

/* ---------- Value cards ---------- */
.values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px 22px;
}
.value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 162, 78, 0.12);
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 14px;
}
.value-title { font-weight: 800; color: #f7f1e3; font-size: 16.5px; margin-bottom: 6px; }
.value-detail { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* ---------- Contact ---------- */
.contact-card {
    background:
        radial-gradient(600px 260px at 50% 0%, rgba(212, 162, 78, 0.14), transparent 70%),
        var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 56px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    margin-top: 8px;
}
@media (min-width: 640px) {
    .contact-actions { flex-direction: row; max-width: none; justify-content: center; }
}
.branches {
    margin-top: 36px;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 30px;
}
.branches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
}
@media (min-width: 700px) { .branches-grid { grid-template-columns: repeat(3, 1fr); } }
.branch {
    background: rgba(13, 10, 8, 0.55);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 14px;
}
.branch-city { font-weight: 800; color: #f7f1e3; font-size: 16px; }
.branch-detail { color: var(--dim); font-size: 13px; margin-top: 4px; }

/* ---------- Footer ---------- */
.footer {
    margin-top: 96px;
    border-top: 1px solid #241c14;
    padding: 40px 0 30px;
}
.footer-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-top { flex-direction: row; justify-content: space-between; text-align: start; }
}
.footer-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.14em;
}
.footer-brand em { color: var(--gold); font-style: normal; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--dim); font-size: 13.5px; font-weight: 700; }
.footer-links a:hover { color: var(--gold); }
.footer-tagline {
    color: var(--dim);
    font-size: 12px;
    letter-spacing: 0.14em;
    margin-top: 6px;
}
.footer-line {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(36, 28, 20, 0.7);
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.24em;
    color: #6e6353;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-img { animation: none; }
    .marquee-track { animation: none; }
}
