/* =========================================================================
   PrimeProject.az — sayt dizaynı (v2)
   Memarlıq və mühəndis layihələndirmə şirkəti üçün: təmiz, memarlıq ruhlu,
   qızılı vurğulu, tam responsiv. Kitabxanasız (vanilla JS ilə işləyir).
   ========================================================================= */

/* ---------- Şrift (öz serverdən, Google Fonts sorğusu olmadan) ---------- */
/* Manrope (variable 400–800) — SIL Open Font License 1.1, https://fonts.google.com/specimen/Manrope */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-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; }

/* ---------- Tokenlər ---------- */
:root {
    --ink: #0e1116;
    --ink-2: #161b23;
    --ink-3: #222934;
    --paper: #f6f4ef;
    --paper-2: #efebe3;
    --white: #ffffff;
    --line: #e4dfd4;
    --line-dark: rgba(255, 255, 255, .1);
    --text: #2a2f37;
    --muted: #6d7280;
    --muted-dark: #9aa1ad;
    --gold: #c9a24a;
    --gold-2: #b48c35;
    --gold-soft: rgba(201, 162, 74, .14);
    --gold-text: #8a6a22;

    --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --radius: 14px;
    --radius-lg: 22px;
    --header-h: 84px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 12px 32px -16px rgba(14, 17, 22, .18);
    --shadow-lg: 0 30px 60px -30px rgba(14, 17, 22, .35);
}

/* ---------- Əsaslar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.ic { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section.is-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section.is-dark { background: var(--ink); color: var(--muted-dark); }
.section.is-dark h1, .section.is-dark h2, .section.is-dark h3, .section.is-dark h4 { color: var(--white); }
.section.is-white { background: var(--white); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Tipoqrafiya ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.is-dark .eyebrow, .eyebrow.is-light { color: var(--gold); }
.h-display { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.h-1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); letter-spacing: -.03em; line-height: 1.08; }
.h-2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.h-3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.75; color: var(--muted); }
.is-dark .lead { color: var(--muted-dark); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div { max-width: 720px; }
.section-head .lead { margin-top: 16px; }

/* ---------- Düymələr ---------- */
.btn {
    --bg: var(--ink); --fg: var(--white); --bd: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px;
    border: 1px solid var(--bd); border-radius: 999px;
    background: var(--bg); color: var(--fg);
    font-size: 15px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); }
.btn-gold:hover { --bg: #d6b260; --bd: #d6b260; box-shadow: 0 12px 30px -12px rgba(201, 162, 74, .7); }
.btn-dark:hover { --bg: var(--ink-3); --bd: var(--ink-3); }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: rgba(14, 17, 22, .2); }
.btn-outline:hover { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn-ghost-light { --bg: rgba(255, 255, 255, .06); --fg: var(--white); --bd: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .2s var(--ease), color .2s; }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; color: var(--gold-text); }
.is-dark .link-arrow { color: var(--white); }
.is-dark .link-arrow:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--header-h);
    color: var(--white);
    transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), transform .35s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(8, 10, 14, .55), transparent); pointer-events: none; transition: opacity .35s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled { --header-h: 72px; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .brand img { height: 44px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; }
.main-nav a, .main-nav .nav-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    height: 44px; padding: 0 14px;
    border: 0; background: none;
    font-size: 15px; font-weight: 600;
    border-radius: 999px;
    transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav .nav-toggle:hover { background: rgba(255, 255, 255, .12); }
.is-scrolled .main-nav a:hover, .is-scrolled .main-nav .nav-toggle:hover { background: var(--paper-2); }
.main-nav a.is-active { color: var(--gold); }
.is-scrolled .main-nav a.is-active { color: var(--gold-text); }
.main-nav .nav-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.main-nav .has-sub:hover .nav-toggle svg, .main-nav .has-sub:focus-within .nav-toggle svg { transform: rotate(180deg); }
.sub-nav {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
    margin: 0; padding: 8px; list-style: none;
    background: var(--white); color: var(--ink);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.sub-nav::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: flex; width: 100%; height: auto; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.main-nav .sub-nav a:hover { background: var(--paper); color: var(--gold-text); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Telefon: ikon dairəsi + iki sətirli mətn */
.header-phone { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; line-height: 1.15; }
.header-phone-ic { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .28); transition: background .25s, border-color .25s, color .25s; }
.header-phone-ic svg { width: 17px; height: 17px; color: var(--gold); transition: color .25s; }
.header-phone-text { display: flex; flex-direction: column; font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.header-phone-text small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .65; margin-bottom: 2px; }
.header-phone:hover .header-phone-ic { background: var(--gold); border-color: var(--gold); }
.header-phone:hover .header-phone-ic svg { color: var(--ink); }
.is-scrolled .header-phone-ic { border-color: var(--line); }

/* Dil seçimi: seqment düymə (bayraqsız) */
.lang-switch { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 4px; gap: 2px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 34px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; opacity: .7; transition: background .25s var(--ease), color .25s var(--ease), opacity .2s; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.is-current { opacity: 1; background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.is-scrolled .lang-switch { border-color: var(--line); background: var(--paper); }
.is-scrolled .lang-switch a.is-current { background: var(--ink); color: var(--white); box-shadow: none; }

/* Əlaqə düyməsi: etiket + ox dairəsi */
.header-cta { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 5px 0 20px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.header-cta-ic { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold); transition: transform .35s var(--ease); }
.header-cta-ic svg { width: 16px; height: 16px; }
.header-cta:hover { background: #d6b260; box-shadow: 0 10px 26px -10px rgba(201, 162, 74, .8); transform: translateY(-1px); }
.header-cta:hover .header-cta-ic { transform: rotate(45deg); }

.burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: none; align-items: center; justify-content: center; }
.is-scrolled .burger { border-color: var(--line); }
.burger span { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* Mobil menyu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 150;
    display: flex; flex-direction: column;
    padding: 20px var(--gutter) 32px;
    background: var(--ink); color: var(--white);
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-menu-top img { height: 46px; width: auto; }
.mobile-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.mobile-close svg { width: 20px; height: 20px; }
.mobile-nav { list-style: none; margin: 0; padding: 0; }
.mobile-nav > li { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.mobile-menu.is-open .mobile-nav > li { opacity: 1; transform: none; }
.mobile-nav > li > a, .mobile-nav .m-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; border: 0; background: none; color: var(--white); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); font-weight: 700; letter-spacing: -.02em; text-align: left; }
.mobile-nav .m-toggle svg { width: 22px; height: 22px; transition: transform .25s; }
.mobile-nav .m-toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.mobile-nav ul { list-style: none; margin: 0 0 14px; padding: 0 0 0 14px; border-left: 1px solid var(--gold); }
.mobile-nav ul a { display: block; padding: 8px 0; color: var(--muted-dark); font-size: 17px; font-weight: 600; }
.mobile-menu-bottom { margin-top: auto; padding-top: 32px; display: grid; gap: 18px; }
.mobile-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; border: 1px solid var(--line-dark); }
.mobile-langs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 56px; border-radius: 12px; color: var(--muted-dark); transition: background .2s, color .2s; }
.mobile-langs strong { font-size: 15px; letter-spacing: .06em; }
.mobile-langs small { font-size: 11px; opacity: .75; }
.mobile-langs a.is-current { background: var(--gold); color: var(--ink); }
.mobile-contact a { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--muted-dark); }
.mobile-contact svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Hero slayder ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.hero-slide.is-active img { transform: scale(1.02); }
/* qaraltma hər slaydın içində: mətn (hero-content) onun üstündə qalır */
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(8, 10, 14, .85) 0%, rgba(8, 10, 14, .55) 45%, rgba(8, 10, 14, .15) 80%), linear-gradient(0deg, rgba(8, 10, 14, .8), transparent 50%); }
.hero-content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding-bottom: clamp(120px, 16vh, 180px); }
.hero-title { text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-text { max-width: 820px; }
.hero-text > * { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero-slide.is-active .hero-text > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-text > *:nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero-text > *:nth-child(3) { transition-delay: .24s; }
.hero-slide.is-active .hero-text > *:nth-child(4) { transition-delay: .36s; }
.hero-title { color: var(--white); margin-bottom: 22px; text-wrap: balance; }
.hero-sub { max-width: 600px; margin-bottom: 34px; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding-bottom: 34px; }
.hero-ui .container { display: flex; align-items: center; gap: 24px; }
.hero-progress { display: flex; flex: 1; gap: 10px; max-width: 520px; }
.hero-progress button { position: relative; flex: 1; height: 34px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-align: left; }
.hero-progress button::before, .hero-progress button i { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: rgba(255, 255, 255, .25); border-radius: 2px; }
.hero-progress button i { right: auto; width: 0; background: var(--gold); }
.hero-progress button.is-active { color: var(--white); }
.hero-progress button.is-active i { animation: hero-progress var(--dur, 7s) linear forwards; }
.hero.is-paused .hero-progress button.is-active i { animation-play-state: paused; }
@keyframes hero-progress { to { width: 100%; } }
.hero-arrows { display: flex; gap: 10px; margin-left: auto; }
.hero-arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); color: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s; }
.hero-arrows button:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero-arrows svg { width: 20px; height: 20px; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 120px; z-index: 4; writing-mode: vertical-rl; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 14px; }
.hero-scroll::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--gold), transparent); animation: scroll-hint 2.2s var(--ease) infinite; }
@keyframes scroll-hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Haqqımızda ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; padding: 0 12% 14% 0; }
.about-media .img-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
.about-media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .img-sub { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow-lg); }
.about-media .img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; left: -18px; bottom: 22%; display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--ink); color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge strong { font-size: 2.4rem; line-height: 1; color: var(--gold); font-weight: 800; }
.about-badge span { font-size: 13px; line-height: 1.35; font-weight: 600; color: var(--muted-dark); }
.about-body .h-1 { margin-bottom: 22px; text-wrap: balance; }
.about-body .lead { margin-bottom: 26px; }
.check-list { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-weight: 600; color: var(--ink); }
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-value { display: flex; align-items: baseline; gap: 2px; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.stat-value small { font-size: .5em; color: var(--gold); }
.stat-label { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Xidmətlər ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
    position: relative; display: flex; flex-direction: column;
    min-height: 440px; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--ink-2); color: var(--white); isolation: isolate;
}
.service-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.04); transition: transform .8s var(--ease), opacity .5s var(--ease); }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 17, 22, .1) 0%, rgba(14, 17, 22, .55) 45%, rgba(14, 17, 22, .96) 100%); }
.service-card:hover img { transform: scale(1.1); opacity: .7; }
.service-card .num { padding: 26px 28px 0; font-size: 14px; font-weight: 800; letter-spacing: .12em; color: var(--gold); }
.service-card .body { margin-top: auto; padding: 28px; }
.service-card .card-title { color: var(--white); font-size: 1.4rem; margin-bottom: 12px; text-wrap: balance; }
.service-card p { color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.service-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; font-size: 14px; color: var(--gold); }
.service-card .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.service-card:hover .more svg { transform: translateX(4px); }
.service-card::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card:hover::after { transform: scaleX(1); }

/* ---------- İş prosesi ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 0 28px 0 0; }
.process-step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 14px; font-weight: 800; letter-spacing: .12em; color: var(--gold-text); margin-bottom: 22px; }
.process-step .bar { position: relative; height: 1px; background: var(--line); margin-bottom: 28px; }
.process-step .bar::after { content: ""; position: absolute; left: 0; top: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px var(--gold-soft); }
.process-step h3 { font-size: 1.2rem; margin-bottom: 12px; }
.process-step p { color: var(--muted); font-size: 15px; }

/* ---------- Layihələr / qalereya ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; transition: .2s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip em { font-style: normal; font-size: 12px; opacity: .6; }


.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); padding: 0; border: 0; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(14, 17, 22, 0); transition: background .3s; }
.gallery-item:hover::after { background: rgba(14, 17, 22, .2); }
.gallery-item .zoom { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(8px); transition: .3s var(--ease); }
.gallery-item .zoom svg { width: 18px; height: 18px; }
.gallery-item:hover .zoom { opacity: 1; transform: none; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px); background: var(--ink); color: var(--muted-dark); isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 74, .28), transparent 65%); }
.cta::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { color: var(--white); margin-bottom: 16px; text-wrap: balance; }
.cta-side { display: grid; gap: 14px; justify-items: start; }
.cta-phone { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; }
.cta-phone svg { width: 26px; height: 26px; color: var(--gold); }

/* ---------- Səhifə başlığı (daxili səhifələr) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 96px); background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 17, 22, .92), rgba(14, 17, 22, .55)); }
.page-hero h1 { color: var(--white); max-width: 900px; text-wrap: balance; }
.page-hero .lead { color: rgba(255, 255, 255, .75); max-width: 720px; margin-top: 18px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current] { color: var(--white); }

/* ---------- Məqalə / statik səhifə məzmunu ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.content-layout.is-single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.prose { font-size: 17px; line-height: 1.85; color: var(--text); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.8em; margin-bottom: .2em; line-height: 1.25; }
.prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.35rem; }
.prose p:empty { display: none; }
.prose a { color: var(--gold-text); border-bottom: 1px solid currentColor; }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose ul li::marker { color: var(--gold); }
.prose img { border-radius: var(--radius); margin: 1.6em auto; height: auto !important; }
.prose table { width: 100% !important; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.prose blockquote { margin: 1.6em 0; padding: 8px 0 8px 22px; border-left: 3px solid var(--gold); font-size: 1.15em; color: var(--ink); }
/* Word/CKEditor-dən gələn inline stilləri dizayna uyğunlaşdır */
.prose span, .prose font { font-family: inherit !important; font-size: inherit !important; }
.prose [style*="font-size"] { font-size: inherit !important; }
.prose [style*="color"] { color: inherit !important; }
.prose [style*="line-height"] { line-height: inherit !important; }
.prose p, .prose li, .prose div { margin-left: 0 !important; margin-right: 0 !important; text-indent: 0 !important; }
.prose li > p { margin: 0; }
.side-card { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.side-card + .side-card { margin-top: 18px; }
.side-card .side-title { font-size: 1.1rem; margin-bottom: 14px; }
.side-card.is-dark { background: var(--ink); border-color: var(--ink); color: var(--muted-dark); }
.side-card.is-dark .side-title { color: var(--white); }
.side-card.is-dark p { margin-bottom: 20px; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: color .2s, padding .2s; }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a svg { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.side-nav a:hover, .side-nav a.is-active { color: var(--gold-text); }
.side-nav a:hover svg { transform: translateX(3px); color: var(--gold); }
.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- Layihə detalı ---------- */
.meta-list { list-style: none; margin: 0; padding: 0; }
.meta-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.meta-list li:last-child { border-bottom: 0; }
.meta-list span { color: var(--muted); }
.meta-list strong { color: var(--ink); text-align: right; }
.share { display: flex; gap: 8px; }
.share a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.share a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.share svg { width: 18px; height: 18px; }

/* ---------- Səhifələmə ---------- */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.pager a, .pager span { min-width: 46px; height: 46px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 15px; }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pager .is-disabled { opacity: .4; }

/* ---------- Boş vəziyyət ---------- */
.empty { padding: clamp(48px, 8vw, 96px) 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--white); }
.empty-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; display: flex; align-items: center; justify-content: center; background: var(--gold-soft); color: var(--gold-text); }
.empty-icon svg { width: 32px; height: 32px; }
.empty h2 { font-size: 1.5rem; margin-bottom: 10px; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto 26px; }

/* ---------- Əlaqə ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: .2s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.is-dark .socials a, .site-footer .socials a, .mobile-menu .socials a { border-color: var(--line-dark); color: var(--white); }

.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea {
    width: 100%; padding: 22px 18px 10px;
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--paper); color: var(--ink);
    font: inherit; font-size: 16px; line-height: 1.5;
    transition: border-color .2s, background .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 18px; top: 16px; color: var(--muted); font-size: 16px; pointer-events: none; transition: .18s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px var(--gold-soft); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--gold-text); }
.field.has-error input, .field.has-error textarea { border-color: #dc2626; background: #fff7f7; }
.field-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #dc2626; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 320px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin-bottom: 22px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); }

/* ---------- Xəbərlər ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card .media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card time { font-size: 13px; font-weight: 700; color: var(--gold-text); letter-spacing: .04em; }
.news-card h3 { font-size: 1.2rem; }
.news-card p { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-top: clamp(64px, 8vw, 100px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 340px; margin-bottom: 24px; font-size: 15px; }
.site-footer .footer-title { color: var(--white); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-links a { transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact { display: grid; gap: 14px; font-size: 15px; }
.footer-contact a, .footer-contact div { display: flex; gap: 12px; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--gold); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; background: rgba(8, 10, 14, .94); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); user-select: none; }
.lightbox button { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .18); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--muted-dark); font-weight: 700; font-size: 14px; letter-spacing: .1em; }

/* ---------- Kiçik elementlər ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--ink); }
.to-top svg { width: 20px; height: 20px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 14px; background: var(--ink); color: var(--white); font-weight: 600; box-shadow: var(--shadow-lg); transform: translate(-50%, 140%); visibility: hidden; opacity: 0; transition: transform .4s var(--ease), opacity .4s, visibility .4s; }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; opacity: 1; }
.toast svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }
.toast.is-error svg { color: #f87171; }

/* Görünüş animasiyası (scroll) */
/* yalnız JS işləyəndə gizlədilir — JS xətası olsa belə məzmun görünür */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 404 */
.error-page { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; background: var(--ink); color: var(--muted-dark); text-align: center; }
.error-code { font-size: clamp(6rem, 4rem + 12vw, 13rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--gold); }
.error-page h1 { color: var(--white); margin: 20px 0 14px; }
.error-page p { max-width: 460px; margin: 0 auto 32px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1399.98px) {
    .header-phone-text { display: none; }
}
@media (max-width: 1199.98px) {
    .main-nav, .header-phone { display: none; }
    .burger { display: inline-flex; }
    .header-actions { margin-left: auto; }
    .services-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .content-layout { grid-template-columns: 1fr; }
    .sticky-side { position: static; }
}
@media (max-width: 991.98px) {
    :root { --header-h: 76px; }
    .about-grid, .cta-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 640px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .gallery-item:nth-child(6) { grid-column: auto; }
    .hero-scroll { display: none; }
}
@media (max-width: 767.98px) {
    body { font-size: 15.5px; }
    .header-cta { display: none; }
    .lang-switch { height: 42px; }
    .lang-switch a { min-width: 34px; height: 32px; padding: 0 8px; font-size: 12px; }
    .services-grid, .news-grid, .process { grid-template-columns: 1fr; }
    .service-card { min-height: 380px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-content { padding-bottom: 150px; }
    .hero-arrows button { width: 46px; height: 46px; }
    .hero-ui { padding-bottom: 24px; }
    .about-badge { left: 8px; bottom: 18%; padding: 12px 14px; }
    .about-badge strong { font-size: 1.8rem; }
    .prose { font-size: 16px; }
    .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
    .lb-prev { left: 16px; }
    .lb-next { right: 16px; }
}
@media (max-width: 479.98px) {
    .brand img { height: 44px; }
    .stat { padding-right: 8px; }
    .stat + .stat { padding-left: 12px; }
    .stat-label { font-size: 12.5px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
    .hero-actions .btn { flex: 1 1 100%; }
}

/* =========================================================================
   HAQQIMIZDA səhifəsi
   ========================================================================= */
.about-hero, .contact-hero { position: relative; display: flex; align-items: flex-end; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.about-hero { min-height: min(94vh, 860px); padding: calc(var(--header-h) + 100px) 0 64px; }
.about-hero-media, .contact-hero-bg { position: absolute; inset: 0; z-index: -2; }
.about-hero-media img, .contact-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; animation: slow-zoom 22s ease-out both; }
@keyframes slow-zoom { from { transform: scale(1.15); } to { transform: scale(1); } }
.about-hero::after, .contact-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 17, 22, .95) 0%, rgba(14, 17, 22, .55) 50%, rgba(14, 17, 22, .35) 100%), linear-gradient(90deg, rgba(14, 17, 22, .6), transparent 70%); }
.about-hero h1, .contact-hero h1 { color: var(--white); max-width: 960px; text-wrap: balance; }
.about-hero .lead, .contact-hero .lead { color: rgba(255, 255, 255, .78); max-width: 660px; margin-top: 22px; }
.about-hero-stats { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.about-hero-stats div { display: flex; flex-direction: column; }
.about-hero-stats strong { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--gold); }
.about-hero-stats span:not([data-count]) { margin-top: 8px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro-media { position: relative; min-height: 560px; }
.intro-img { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.intro-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro-img:hover img { transform: scale(1.05); }
.intro-img.is-a { left: 0; top: 0; width: 74%; height: 78%; }
.intro-img.is-b { right: 0; bottom: 0; width: 52%; height: 50%; border: 8px solid var(--paper); }
.intro-seal { position: absolute; right: 6%; top: 4%; width: 128px; height: 128px; border-radius: 50%; background: var(--ink); color: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); }
.intro-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.intro-seal text { font-size: 9.5px; font-weight: 700; letter-spacing: 2.6px; fill: rgba(255, 255, 255, .8); }
.intro-seal strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
@keyframes spin { to { transform: rotate(360deg); } }
.intro-body .h-1 { margin-bottom: 22px; text-wrap: balance; }
.intro-body .lead { margin-bottom: 18px; }
.intro-p { color: var(--muted); margin-bottom: 28px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { position: relative; padding: 32px 26px 30px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s; }
.value-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: var(--white); }
.value-card:hover::before { transform: scaleX(1); }
.value-num { position: absolute; right: 22px; top: 14px; font-size: 3.4rem; font-weight: 800; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--line); line-height: 1; transition: -webkit-text-stroke-color .4s; }
.value-card:hover .value-num { -webkit-text-stroke-color: var(--gold); }
.value-ic { width: 54px; height: 54px; margin-bottom: 26px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-soft); color: var(--gold-text); }
.value-ic .ic { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 15px; }

.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201, 162, 74, .1)); }
.timeline-item { position: relative; padding-top: 40px; }
.timeline-dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(201, 162, 74, .18), 0 0 24px rgba(201, 162, 74, .5); }
.timeline-year { display: block; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--white); margin-bottom: 10px; }
.timeline-item h3 { font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 12px; }
.timeline-item p { font-size: 15px; }

.expertise-list { border-top: 1px solid var(--line); }
.expertise-item { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 56px; align-items: center; gap: 24px; padding: 30px 8px; border-bottom: 1px solid var(--line); transition: background .35s var(--ease), padding .35s var(--ease); }
.expertise-num { font-size: 14px; font-weight: 800; letter-spacing: .12em; color: var(--gold-text); }
.expertise-title { font-size: clamp(1.2rem, 1rem + .8vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; transition: color .3s; }
.expertise-text { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.expertise-go { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: .35s var(--ease); justify-self: end; }
.expertise-preview { position: absolute; z-index: 2; right: 120px; top: 50%; width: 200px; height: 140px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-50%) rotate(-4deg) scale(.85); pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.expertise-item:hover { background: var(--white); padding-left: 24px; padding-right: 24px; }
.expertise-item:hover .expertise-title { color: var(--gold-text); }
.expertise-item:hover .expertise-go { background: var(--ink); border-color: var(--ink); color: var(--gold); transform: rotate(45deg); }
@media (hover: hover) and (min-width: 1100px) {
    .expertise-item:hover .expertise-preview { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }
}

.marquee { overflow: hidden; padding: 8px 0 clamp(56px, 7vw, 96px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { flex-shrink: 0; width: clamp(240px, 26vw, 380px); aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); }
.marquee-item:nth-child(even) { aspect-ratio: 3 / 3.4; align-self: center; }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.marquee-item:hover img { transform: scale(1.07); }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

.mission { padding-top: 0; }
.mission-quote { max-width: 980px; margin: 0 auto; text-align: center; }
.mission-quote .eyebrow { justify-content: center; }
.mission-quote .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.mission-quote blockquote { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.6rem); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.mission-quote figcaption { margin-top: 24px; font-weight: 700; color: var(--gold-text); }
.about-more { max-width: 900px; margin: clamp(48px, 6vw, 80px) auto 0; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.about-more summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.about-more summary::-webkit-details-marker { display: none; }
.about-more summary .ic { color: var(--gold); transition: transform .3s; }
.about-more[open] summary .ic { transform: rotate(45deg); }
.about-more .prose { padding: 0 28px 28px; font-size: 16px; }

/* =========================================================================
   ƏLAQƏ səhifəsi
   ========================================================================= */
.contact-hero { min-height: min(80vh, 720px); padding: calc(var(--header-h) + 90px) 0 64px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.quick-action { display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); line-height: 1.2; font-weight: 700; transition: background .3s var(--ease), border-color .3s, transform .3s var(--ease); }
.quick-action small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 3px; }
.qa-ic { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: var(--ink); flex-shrink: 0; }
.qa-ic.is-wa { background: #25d366; color: #fff; }
.quick-action:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); transform: translateY(-2px); }

.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-aside .h-3 { margin-bottom: 20px; }
.channel-list { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.channel:hover { border-color: rgba(201, 162, 74, .6); box-shadow: var(--shadow); }
.channel-ic { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-soft); color: var(--gold-text); }
.channel-body { flex: 1; min-width: 0; line-height: 1.35; }
.channel-body small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.channel-body a, .channel-body span { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.channel-body a:hover { color: var(--gold-text); }
.channel-copy { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); background: none; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: .25s var(--ease); }
.channel-copy .ic { width: 17px; height: 17px; }
.channel-copy:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.channel-copy.is-done { background: #16a34a; border-color: #16a34a; color: #fff; }
.contact-follow { margin-top: 28px; }
.contact-follow small { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.reply-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 16px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-text); font-size: 14px; font-weight: 600; }

.contact-form-card { position: relative; }
.contact-form-card [data-form-body] > h2 { margin-bottom: 8px; }
.contact-form-card [data-form-body] > p { color: var(--muted); margin-bottom: 28px; }
.topics { border: 0; margin: 0 0 22px; padding: 0; }
.topics legend { padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.4; transition: .2s var(--ease); }
.topic-chip:hover { border-color: var(--ink); }
.topic-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.field-counter { position: absolute; right: 14px; bottom: 10px; font-size: 12px; font-weight: 600; color: var(--muted); pointer-events: none; }
.field-counter.is-near { color: #b45309; }
.field-error:empty { display: none; }
.field textarea { padding-bottom: 30px; }
.btn-submit.is-loading { pointer-events: none; opacity: .85; }
.btn-submit.is-loading .ic { animation: spin .8s linear infinite; }

.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: clamp(24px, 5vw, 56px) 0; animation: rise .6s var(--ease) both; }
.form-success p { color: var(--muted); max-width: 420px; margin: 12px auto 28px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.success-mark { width: 88px; height: 88px; margin: 0 auto 24px; }
.success-mark svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .7s .1s var(--ease) forwards; }
.success-mark path { stroke: var(--ink); stroke-width: 3.5; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .65s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Xəritə: solda ünvan paneli, sağda xəritə (Google-un öz kartı örtülmür) */
.contact-location { padding-top: 0; }
.location-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.location-info { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(32px, 4vw, 56px); color: #fff; }
.location-address { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: #fff; max-width: 20ch; }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.location-actions .btn svg { width: 18px; height: 18px; }
.location-map { position: relative; min-height: 360px; background: var(--paper-2); }
.location-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 1199.98px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
    .timeline::before { display: none; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-aside { position: static; }
}
@media (max-width: 991.98px) {
    .intro-grid { grid-template-columns: 1fr; }
    .intro-media { min-height: 0; aspect-ratio: 1 / .9; max-width: 640px; width: 100%; }
    .expertise-item { grid-template-columns: 52px minmax(0, 1fr) 50px; }
    .expertise-text { display: none; }
    .location-card { grid-template-columns: 1fr; min-height: 0; }
    .location-address { max-width: none; }
}
@media (max-width: 767.98px) {
    .about-hero, .contact-hero { min-height: 0; }
    .about-hero-stats { gap: 20px 32px; }
    .values-grid, .timeline { grid-template-columns: 1fr; }
    .timeline { padding-left: 28px; border-left: 1px solid rgba(201, 162, 74, .35); gap: 40px; }
    .timeline-item { padding-top: 0; }
    .timeline-dot { left: -36px; top: 10px; }
    .intro-seal { width: 96px; height: 96px; }
    .intro-seal strong { font-size: 1.3rem; }
    .intro-seal text { font-size: 12px; }
    .expertise-item { gap: 14px; padding: 22px 0; }
    .expertise-item:hover { padding-left: 0; padding-right: 0; background: none; }
    .expertise-go { width: 42px; height: 42px; }
    .quick-action { flex: 1 1 100%; }
    .location-map { min-height: 320px; }
    .location-actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
}

/* =========================================================================
   Layihələr (portfel): kart, ana səhifə vitrini, siyahı, layihə səhifəsi
   ========================================================================= */
.work-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-2); isolation: isolate; color: var(--white); transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .45s var(--ease); }
.work-card[hidden] { display: none; }
.work-card:hover { box-shadow: 0 30px 60px -28px rgba(14, 17, 22, .6); }
.work-media { position: absolute; inset: 0; z-index: -1; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.06); }
.work-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 17, 22, .4) 0%, rgba(14, 17, 22, 0) 26%, rgba(14, 17, 22, 0) 42%, rgba(14, 17, 22, .9) 100%); transition: opacity .5s; }
.work-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.work-cat, .work-count { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--white); background: rgba(14, 17, 22, .42); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.work-cat { text-transform: uppercase; color: #f1d796; }
.work-count { margin-left: auto; }
.work-count svg { width: 14px; height: 14px; }
.work-info { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 26px); }
.work-title { margin: 0; color: var(--white); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.25; text-wrap: balance; text-shadow: 0 2px 18px rgba(14, 17, 22, .45); }
.work-card.is-large .work-title { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.2rem); max-width: 640px; }
.work-excerpt { margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .78); transition: max-height .5s var(--ease), opacity .4s, margin .4s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.work-card:hover .work-excerpt, .work-card:focus-visible .work-excerpt, .work-card.is-large .work-excerpt { max-height: 4.8em; opacity: 1; margin-top: 10px; }
.work-card.is-large .work-excerpt { max-width: 560px; }
.work-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.work-go { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease); }
.work-go svg { width: 18px; height: 18px; }
.work-card:hover .work-go, .work-card:focus-visible .work-go { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(45deg); }

/* Adi şəbəkə (oxşar layihələr) və bento (layihələr səhifəsi) */
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.works-grid .work-card { aspect-ratio: 4 / 3.6; }
.works-grid.is-bento { grid-auto-flow: dense; grid-auto-rows: clamp(250px, 24vw, 340px); }
.works-grid.is-bento .work-card { aspect-ratio: auto; }
.works-grid.is-bento .work-card.is-large { grid-column: span 2; grid-row: span 2; }
.works-grid.is-switching .work-card { opacity: 0; transform: translateY(14px) scale(.98); }

.works-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(28px, 4vw, 40px); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.works-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.works-total { font-size: 14px; font-weight: 700; color: var(--text); }

/* Ana səhifə vitrini */
.works-showcase { position: relative; overflow: hidden; }
.works-showcase::before { content: ""; position: absolute; top: -30%; right: -15%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(201, 162, 74, .13), transparent 62%); pointer-events: none; }
.works-showcase .container { position: relative; }
.works-showcase .lead { color: var(--muted-dark); }
.works-all { display: inline-flex; align-items: center; gap: 18px; color: var(--white); }
.works-all > span:first-child { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.works-all b { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--gold); }
.works-all-go { width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: inline-flex; align-items: center; justify-content: center; transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease); }
.works-all-go svg { width: 22px; height: 22px; }
.works-all:hover .works-all-go { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(45deg); }
.works-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: calc(clamp(36px, 5vw, 56px) * -0.4) 0 28px; }
.works-cats a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.works-cats a em { font-style: normal; font-size: 12px; color: var(--gold); }
.works-cats a:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.works-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(230px, 22vw, 320px); gap: 18px; }
.works-bento .work-card { border: 1px solid rgba(255, 255, 255, .06); }
.works-bento .work-card.is-large { grid-column: span 2; grid-row: span 2; }
.works-bento.is-1 { grid-template-columns: 1fr; grid-auto-rows: clamp(320px, 40vw, 520px); }
.works-bento.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(300px, 32vw, 460px); }
.works-bento.is-4 .work-card:last-child { grid-column: span 3; }
.works-bento.is-5 .work-card:nth-child(4) { grid-column: span 2; }

/* Layihə səhifəsi */
.section.pt-0 { padding-top: 0; }
.project-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(86vh, 780px); padding: calc(var(--header-h) + 60px) 0 clamp(48px, 7vw, 88px); background: var(--ink); color: var(--white); }
.project-hero-bg { position: absolute; inset: 0; z-index: -1; }
.project-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 14s var(--ease) both; }
.project-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 17, 22, .6) 0%, rgba(14, 17, 22, .12) 34%, rgba(14, 17, 22, .9) 100%); }
.project-hero-inner { width: 100%; }
.project-hero h1 { color: var(--white); max-width: 920px; margin: 0; }
.project-cat { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(201, 162, 74, .18); border: 1px solid rgba(201, 162, 74, .45); color: #f1d796; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .25s; }
.project-cat:hover { background: rgba(201, 162, 74, .32); }
.project-cat svg { width: 14px; height: 14px; }
.project-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 20px 0 0; padding: 0; color: rgba(255, 255, 255, .82); font-size: 15px; font-weight: 600; }
.project-facts li { display: inline-flex; align-items: center; gap: 8px; }
.project-facts svg { width: 18px; height: 18px; color: var(--gold); }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.project-actions .btn svg { width: 18px; height: 18px; }

.project-gallery-section { padding-top: clamp(36px, 5vw, 64px); }
.project-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); grid-auto-flow: dense; gap: 14px; }
.project-tile { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); cursor: zoom-in; }
.project-tile[hidden] { display: none; }
.project-tile:first-child { grid-column: span 2; grid-row: span 2; }
.project-bento.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 28vw, 420px); }
.project-bento.is-2 .project-tile:first-child { grid-column: auto; grid-row: auto; }
.project-bento.is-3 .project-tile:not(:first-child) { grid-column: span 2; }
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-tile:hover img { transform: scale(1.05); }
.project-tile .zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--white); color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.project-tile .zoom svg { width: 18px; height: 18px; }
.project-tile:hover .zoom, .project-tile:focus-visible .zoom { opacity: 1; transform: none; }
.project-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(14, 17, 22, .62); color: var(--white); font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); font-weight: 800; }

.side-card .share { margin-top: 18px; }
.share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: none; color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.share button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.share button svg { width: 18px; height: 18px; }

.project-nav { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-nav-inner { display: grid; grid-template-columns: 1fr 1fr; }
.project-nav-inner.only-next { grid-template-columns: 1fr; }
.project-nav-link { display: flex; align-items: center; gap: 18px; padding: 28px 28px 28px 0; color: var(--ink); min-width: 0; }
.project-nav-link.is-next { flex-direction: row-reverse; text-align: right; padding: 28px 0 28px 28px; border-left: 1px solid var(--line); }
.only-next .project-nav-link.is-next { border-left: 0; }
.project-nav-thumb { width: 104px; height: 76px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.project-nav-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-nav-link:hover .project-nav-thumb img { transform: scale(1.08); }
.project-nav-text { min-width: 0; }
.project-nav-text small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project-nav-text small svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.project-nav-link.is-prev:hover small svg { transform: translateX(-4px); }
.project-nav-link.is-next:hover small svg { transform: translateX(4px); }
.project-nav-text strong { display: block; margin-top: 6px; font-size: 1.1rem; line-height: 1.3; transition: color .2s; }
.project-nav-link:hover strong { color: var(--gold-text); }

@media (hover: none) {
    .work-excerpt { max-height: 4.8em; opacity: 1; margin-top: 10px; text-shadow: 0 1px 10px rgba(14, 17, 22, .5); }
    .work-card::after { background: linear-gradient(180deg, rgba(14, 17, 22, .4) 0%, rgba(14, 17, 22, 0) 24%, rgba(14, 17, 22, .25) 40%, rgba(14, 17, 22, .94) 100%); }
    .project-tile .zoom { opacity: 1; transform: none; }
}
@media (max-width: 991.98px) {
    .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .works-grid.is-bento .work-card.is-large { grid-column: span 2; grid-row: span 1; }
    .works-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 36vw, 320px); }
    .works-bento .work-card.is-large { grid-column: span 2; grid-row: span 1; }
    .works-bento.is-4 .work-card:last-child, .works-bento.is-5 .work-card:nth-child(4) { grid-column: auto; }
    .works-bento.is-5 .work-card:last-child { grid-column: span 2; }
    .project-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-bento.is-3 .project-tile:not(:first-child) { grid-column: auto; }
}
@media (max-width: 767.98px) {
    .works-grid, .works-bento, .works-bento.is-2 { grid-template-columns: minmax(0, 1fr); }
    .works-grid.is-bento, .works-bento { grid-auto-rows: 320px; }
    .works-grid.is-bento .work-card.is-large, .works-bento .work-card.is-large, .works-bento.is-5 .work-card:last-child { grid-column: auto; }
    .works-grid .work-card { aspect-ratio: 4 / 3.8; }
    .works-all b { font-size: 2.2rem; }
    .works-all-go { width: 50px; height: 50px; }
    .project-hero { min-height: 78vh; }
    .project-bento { grid-auto-rows: 150px; }
    .project-nav-inner { grid-template-columns: 1fr; }
    .project-nav-link, .project-nav-link.is-next { padding: 20px 0; }
    .project-nav-link.is-next { border-left: 0; border-top: 1px solid var(--line); }
    .only-next .project-nav-link.is-next { border-top: 0; }
    .project-nav-thumb { width: 76px; height: 58px; }
}
