:root {
    --bg: #08090c;
    --surface: #101218;
    --surface-hover: #171a22;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f4f4f5;
    --muted: #9ca3af;
    --gold: #f5b82e;
    --gold-hover: #ffd05b;
    --radius: 14px;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden; }

.arch-grid-bg {
    position: fixed; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none; z-index: -1;
}

.container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 56px; }
a { color: inherit; text-decoration: none; }

/* HEADER */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(8, 9, 12, 0.88); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 20px; }
.brand-logo { display: flex; align-items: center; gap: 14px; }
.logo-img { height: 48px; width: auto; object-fit: contain; border-radius: 6px; }
.logo-fallback-mark {
    width: 44px; height: 44px; display: grid; place-items: center;
    background: #fff; color: #000; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; border-radius: 8px;
}
.brand-text strong {
    display: block; font-family: var(--font-display); font-size: 1.28rem;
    letter-spacing: 0.05em; text-transform: uppercase; color: #fff; line-height: 1.1;
}
.brand-text small {
    display: block; font-size: 0.7rem; color: var(--gold);
    letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 0.94rem; font-weight: 500; color: #d4d4d8; transition: 0.2s; position: relative; padding: 10px 0; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after {
    content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
    height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-highlight {
    background: rgba(245, 184, 46, 0.12); border: 1px solid rgba(245, 184, 46, 0.4);
    color: var(--gold) !important; padding: 8px 18px; border-radius: 999px;
}
.nav-highlight:hover { background: var(--gold); color: #000 !important; }
.nav-highlight.active::after { display: none; }

/* MEGA MENU */
.nav-dropdown { position: static; }
.mega-menu {
    position: absolute; left: 0; right: 0; top: 86px;
    background: rgba(12, 13, 18, 0.98); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0,0,0,0.65);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.25s ease; padding: 36px 0 28px;
}
.nav-dropdown:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu-inner { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 56px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 28px; }
.mega-col-title { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.mega-items { display: flex; flex-direction: column; gap: 10px; }
.mega-items-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 10px; transition: 0.2s; }
.mega-item:hover { background: var(--surface-hover); }
.mega-icon {
    width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center;
    background: rgba(245, 184, 46, 0.08); border: 1px solid rgba(245, 184, 46, 0.22);
    border-radius: 9px; color: var(--gold);
}
.mega-item-text strong { display: block; font-size: 0.88rem; font-weight: 600; color: #fff; }
.mega-item-text small { display: block; font-size: 0.76rem; color: var(--muted); line-height: 1.35; }
.mega-footer {
    margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switcher {
    display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600;
    background: var(--surface); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px;
}
.lang-switcher a { color: var(--muted); transition: 0.2s; }
.lang-switcher a.active, .lang-switcher a:hover { color: var(--gold); }
.lang-switcher span { color: #3f3f46; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
    cursor: pointer; border: none; transition: 0.25s;
}
.btn-gold { background: var(--gold); color: #09090b; }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); }
.btn-outline { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.22); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* HERO FULL-WIDTH */
.hero-full {
    position: relative; min-height: 82vh; display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; border-bottom: 1px solid var(--border);
}
.hero-slide {
    position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 0.9s ease; pointer-events: none;
}
.hero-slide.active { opacity: 1; }
.hero-bg-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    filter: brightness(0.42) contrast(1.05); transform: scale(1.02);
}
.hero-vignette {
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(circle at center, rgba(8,9,12,0.35) 0%, rgba(8,9,12,0.88) 100%);
}
.hero-center-content { position: relative; z-index: 2; width: 100%; max-width: 100%; padding: 80px 100px; }

.hero-badge {
    display: inline-block; font-size: 0.78rem; letter-spacing: 0.14em; font-weight: 600;
    color: var(--gold); border: 1px solid rgba(245, 184, 46, 0.45);
    background: rgba(12, 13, 18, 0.78); backdrop-filter: blur(8px);
    padding: 8px 18px; border-radius: 999px; margin-bottom: 24px;
    text-transform: uppercase; transition: opacity 0.35s ease, transform 0.35s ease;
}
.hero-title {
    font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 4.6rem);
    line-height: 1.08; font-weight: 700; margin-bottom: 24px; letter-spacing: -0.02em; color: #fff;
    width: 100%; max-width: 100%;
}
.hero-subtitle {
    font-size: 1.15rem; color: #d4d4d8; width: 100%; max-width: 100%; margin: 0 auto 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-latest-pill {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 34px;
    padding: 8px 16px; border-radius: 999px; background: rgba(16,18,24,0.82);
    border: 1px solid rgba(255,255,255,0.14); font-size: 0.82rem; color: #d4d4d8;
    backdrop-filter: blur(10px); transition: 0.2s;
}
.hero-latest-pill:hover { border-color: var(--gold); color: #fff; }

/* STATS STRIP */
.stats-strip { border-bottom: 1px solid var(--border); background: rgba(16,18,24,0.72); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); }
.stat-item span { font-size: 0.9rem; color: #d4d4d8; font-weight: 500; }

/* SECTIONS */
.section { padding: 84px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 42px; }
.section-tag { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; display: block; margin-bottom: 8px; text-transform: uppercase; }
.section-title { font-family: var(--font-display); font-size: clamp(1.85rem, 3.2vw, 2.7rem); line-height: 1.15; }

/* BENTO SERVICES GRID */
.bento-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 22px; }
.bento-card-tall {
    position: relative; overflow: hidden; min-height: 300px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
    padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; transition: 0.25s;
}
.bento-card-tall::before, .bento-card-wide::before, .bento-card-sm::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(16,18,24,0.42) 0%, rgba(16,18,24,0.95) 78%);
    z-index: 1;
}
.bento-card-bg {
    position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.24; transition: 0.4s;
}
.bento-card-tall:hover .bento-card-bg,
.bento-card-wide:hover .bento-card-bg,
.bento-card-sm:hover .bento-card-bg { opacity: 0.36; transform: scale(1.04); }
.bento-card-tall > *:not(.bento-card-bg),
.bento-card-wide > *:not(.bento-card-bg),
.bento-card-sm > *:not(.bento-card-bg) { position: relative; z-index: 2; }
.bento-card-tall:hover, .bento-card-wide:hover, .bento-card-sm:hover {
    border-color: rgba(245, 184, 46, 0.45); transform: translateY(-3px);
}
.bento-card-tall h3 { font-family: var(--font-display); font-size: 1.28rem; margin: 16px 0 8px; }
.bento-card-tall p { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; }

/* RRESHTI I MESIT I BËRË MË I TRASHË (230px SA RRESHTI POSHTË) */
.bento-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.bento-card-wide {
    position: relative; overflow: hidden; min-height: 230px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; transition: 0.25s;
}
.bento-wide-left { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.bento-card-wide h3 { font-family: var(--font-display); font-size: 1.22rem; margin-bottom: 6px; }
.bento-card-wide p { font-size: 0.88rem; color: var(--muted); }

.bento-bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bento-card-sm {
    position: relative; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 26px; display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; transition: 0.25s;
}
.bento-card-sm h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 16px 0 6px; }
.bento-card-sm p { font-size: 0.84rem; color: var(--muted); margin-bottom: 14px; }

/* SERVICE GALLERY DRAG STRIP + INLINE EXPAND */
.srv-carousel-wrap { position: relative; margin-bottom: 28px; }
.srv-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.srv-carousel-track::-webkit-scrollbar { display: none; }
.srv-carousel-track.is-dragging { cursor: grabbing; }

.srv-slide-item {
    flex: 0 0 430px;
    min-width: 320px;
    height: 310px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border);
    position: relative;
    background: var(--surface);
    user-select: none;
    transition: border-color 0.25s, transform 0.25s;
}
.srv-slide-item:hover { border-color: rgba(245, 184, 46, 0.55); }
.srv-slide-item.active-thumb { border-color: var(--gold); }
.srv-slide-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: 0.35s; }
.srv-slide-item:hover img { transform: scale(1.03); }
.srv-slide-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85)); font-size: 0.84rem; color: #fff;
}

/* INLINE EXPANDED STAGE INSIDE PAGE */
.srv-expanded-stage {
    display: none;
    margin-bottom: 36px;
    background: #0c0d12;
    border: 1px solid rgba(245, 184, 46, 0.4);
    border-radius: 18px;
    padding: 20px;
    position: relative;
    text-align: center;
    animation: fadeExpand 0.3s ease;
}
.srv-expanded-stage.open { display: block; }
.srv-expanded-stage img {
    width: 100%;
    max-height: 74vh;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}
.srv-expanded-close {
    position: absolute; top: 18px; right: 18px; z-index: 5;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(8,9,12,0.85); border: 1px solid rgba(255,255,255,0.25);
    color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center;
}
.srv-expanded-close:hover { background: var(--gold); color: #000; border-color: var(--gold); }
@keyframes fadeExpand { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* CARDS & PROJECTS */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.split-layout > .arch-card { height: 100%; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.arch-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; transition: 0.25s; display: flex; flex-direction: column; justify-content: space-between;
}
.arch-card:hover { border-color: rgba(245, 184, 46, 0.45); transform: translateY(-3px); }
.arch-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 14px 0 8px; }
.arch-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 16px; }
.card-link { font-size: 0.85rem; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }

.proj-spec-table { width: 100%; border-collapse: collapse; }
.proj-spec-table tr { border-bottom: 1px solid var(--border); }
.proj-spec-table tr:last-child { border-bottom: none; }
.proj-spec-table th {
    text-align: left; padding: 14px 10px; font-size: 0.78rem; letter-spacing: 0.1em;
    color: var(--gold); text-transform: uppercase; width: 34%;
}
.proj-spec-table td { text-align: right; padding: 14px 10px; font-size: 0.96rem; color: #fff; font-weight: 500; }

.project-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: 0.25s; display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(245, 184, 46, 0.45); }
.project-thumb { height: 280px; overflow: hidden; position: relative; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-body { padding: 24px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.project-cat-badge {
    display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold); background: rgba(245,184,46,0.1);
    border: 1px solid rgba(245,184,46,0.28); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; align-self: flex-start;
}
.project-title-clean { font-family: var(--font-display); font-size: 1.25rem; color: #fff; margin-bottom: 12px; }
.project-meta-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; padding-top: 10px; border-top: 1px solid var(--border); }
.project-meta-list li { display: flex; justify-content: space-between; font-size: 0.84rem; gap: 12px; }
.project-meta-list span { color: var(--muted); }
.project-meta-list strong { color: #e4e4e7; font-weight: 500; text-align: right; }

/* LIGHTBOX MODAL (për Projektet) */
.lightbox-modal {
    position: fixed; inset: 0; z-index: 9999; background: rgba(5,6,9,0.94);
    backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox-modal.open { display: flex; }
.lightbox-modal img { max-width: 90vw; max-height: 85vh; border-radius: 12px; border: 1px solid var(--border); object-fit: contain; }
.lb-btn {
    position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem;
    cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: var(--gold); color: #000; }
.lb-close { top: 22px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* BLOG COMING SOON */
.blog-coming-box {
    background: linear-gradient(135deg, rgba(16,18,24,0.95), rgba(245,184,46,0.06));
    border: 1px dashed rgba(245, 184, 46, 0.4); border-radius: 20px; padding: 48px 42px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* TEAM & MAP */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.team-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
    overflow: hidden; display: grid; grid-template-columns: 200px 1fr; align-items: center;
}
.team-photo { height: 240px; background: #141720; display: grid; place-items: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--gold); }
.team-info { padding: 26px; }
.team-info h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 4px; }
.team-role { color: var(--gold); font-size: 0.88rem; font-weight: 600; margin-bottom: 14px; display: block; }
.map-frame { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: 12px; filter: grayscale(25%) invert(90%) contrast(92%); }

/* CTA BANNER */
.cta-box {
    background: linear-gradient(135deg, #161820 0%, #0e1015 100%);
    border: 1px solid rgba(245, 184, 46, 0.3); border-radius: 22px; padding: 48px;
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.cta-box h2 { font-family: var(--font-display); font-size: clamp(1.45rem, 2.5vw, 2.05rem); max-width: 750px; }

/* FOOTER FULL-WIDTH */
.site-footer { border-top: 1px solid var(--border); padding: 68px 0 28px; background: #060709; }
.footer-rich-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 0.9fr; gap: 36px; margin-bottom: 44px; }
.footer-col h4 { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--muted); font-size: 0.87rem; transition: 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; color: #d4d4d8; font-size: 0.88rem; margin-top: 12px; }
.footer-rating-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    padding: 22px; text-align: center; align-self: start;
}
.footer-rating-card strong { font-family: var(--font-display); font-size: 1.5rem; display: block; }
.footer-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; margin: 6px 0; }
.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 22px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.82rem;
}

.page-hero { padding: 64px 0 38px; border-bottom: 1px solid var(--border); }
.form-control {
    width: 100%; background: #0c0d12; border: 1px solid var(--border); color: #fff;
    padding: 13px 16px; border-radius: 10px; font-family: inherit; font-size: 0.95rem;
}
.form-control:focus { outline: none; border-color: var(--gold); }
.alert-success { background: rgba(34, 197, 94, 0.12); border: 1px solid #22c55e; color: #86efac; padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; }
.alert-error { background: rgba(239, 68, 68, 0.12); border: 1px solid #ef4444; color: #fca5a5; padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 24px; height: 2px; background: #fff; }

@media (max-width: 1024px) {
    .container, .mega-menu-inner { padding: 0 20px; }
    .bento-top, .bento-mid, .bento-bottom, .cards-grid-3, .stats-grid, .split-layout, .form-grid-2, .team-grid, .footer-rich-grid { grid-template-columns: 1fr; }
    .team-card { grid-template-columns: 1fr; }
    .srv-slide-item { flex: 0 0 85%; min-width: 260px; height: 240px; }
    .hero-center-content { padding: 60px 20px; }
    .cta-box, .blog-coming-box { flex-direction: column; align-items: flex-start; padding: 30px; }
    .mobile-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 86px; left: 0; right: 0; bottom: 0;
        background: #08090c; flex-direction: column; align-items: flex-start;
        padding: 24px; overflow-y: auto; display: none;
    }
    .main-nav.open { display: flex; }
    .mega-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; padding: 16px 0; box-shadow: none; }
    .nav-dropdown.mobile-open .mega-menu { display: block; }
    .mega-grid, .mega-items-2col { grid-template-columns: 1fr; }
}