/* =====================================================================
   CTS — Caspian Testing Services · saytın dizaynı
   Rənglər admin paneldən dəyişdirilir (--brand, --dark, --accent).
===================================================================== */
@view-transition { navigation: auto; }

:root {
    --brand: #006a30; --brand-rgb: 0, 106, 48;
    --dark: #003219; --dark-rgb: 0, 50, 25;
    --accent: #a3d65c; --accent-rgb: 163, 214, 92; --on-accent: #003219;
    --ink: #0f2419; --body: #3d5247; --muted: #6b7d73;
    --line: #e2ebe5; --light: #f4f8f5; --mint: #ebf6ee;
    --white: #fff;
    --r-sm: 10px; --r: 18px; --r-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(var(--dark-rgb), .06);
    --shadow: 0 18px 50px -18px rgba(var(--dark-rgb), .25);
    --shadow-lg: 0 30px 80px -24px rgba(var(--dark-rgb), .35);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-h: 'Manrope', 'Inter', system-ui, sans-serif;
    --wrap: 1240px;
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dark); }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
h1, .h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.hl { color: var(--brand); position: relative; }
.bg-dark .hl, .bg-brand .hl, .hero .hl, .page-hero .hl, .cta-box .hl, .f-cta .hl { color: var(--accent); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }
.muted { color: var(--muted); }
.center-row { display: flex; justify-content: center; margin-top: 40px; gap: 12px; flex-wrap: wrap; }
:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .9); outline-offset: 2px; }
::selection { background: rgba(var(--accent-rgb), .45); color: var(--dark); }

/* ---------- Düymələr ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1.2; border: 2px solid transparent; transition: all .25s var(--ease); white-space: nowrap; text-align: center; }
.btn i { font-size: .85em; transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--brand-rgb), .7); }
.btn-primary:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb), .8); }
.btn-accent:hover { background: #fff; color: var(--dark); transform: translateY(-2px); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--dark); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.bg-dark .btn-outline, .bg-brand .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--brand); }
.link-arrow i { transition: transform .25s var(--ease); }

/* ---------- Admin rejimi ---------- */
.admin-bar { position: relative; z-index: 120; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 20px; background: #111827; color: #e5e7eb; font-size: .82rem; }
.admin-bar a, .admin-bar button { color: #fff; background: rgba(255, 255, 255, .1); border: 0; border-radius: 6px; padding: 5px 10px; margin-left: 6px; font-size: .8rem; }
.admin-bar a:hover, .admin-bar button:hover { background: var(--accent); color: var(--dark); }
.draft-bar { background: #fef3c7; color: #92400e; text-align: center; padding: 8px; font-size: .88rem; font-weight: 600; }
.edit-pill { position: absolute; z-index: 40; top: 14px; left: 50%; transform: translate(-50%, -6px); display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; background: rgba(17, 24, 39, .88); color: #fff; font-size: .78rem; font-weight: 500; opacity: 0; pointer-events: none; transition: all .2s; backdrop-filter: blur(6px); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); white-space: nowrap; }
.edit-pill b { background: var(--accent); color: var(--dark); border-radius: 999px; padding: 4px 10px; font-weight: 700; }
.edit-pill:hover { color: #fff; background: #111827; }
.is-admin [data-block] { position: relative; }
.is-admin [data-block]:hover { outline: 2px dashed rgba(var(--accent-rgb), .9); outline-offset: -2px; }
.is-admin [data-block]:hover > .edit-pill { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.is-admin.hide-edit .edit-pill { display: none; }
.is-admin.hide-edit [data-block]:hover { outline: 0; }
.alert-inline { background: #fee2e2; color: #991b1b; padding: 12px 16px; border-radius: 10px; margin: 20px 0; }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); color: rgba(255, 255, 255, .78); font-size: .82rem; position: relative; z-index: 60; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 22px; }
.topbar a { color: rgba(255, 255, 255, .78); display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--accent); }
.topbar i { color: var(--accent); font-size: .8em; }
.tb-hours { display: inline-flex; align-items: center; gap: 8px; }
.tb-social { display: flex; gap: 4px; }
.tb-social a { width: 28px; height: 28px; justify-content: center; border-radius: 50%; }
.tb-social a:hover { background: rgba(255, 255, 255, .1); }
.tb-social i { color: inherit; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); white-space: nowrap; }
.chip .sep { opacity: .4; }
.chip[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(var(--dark-rgb), .06); transition: background .3s, box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(var(--dark-rgb), .25); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand-wrap { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.brand { display: block; position: relative; flex-shrink: 0; }
.brand img { height: var(--logo-h); width: auto; transition: opacity .3s; }
.brand .logo-white { position: absolute; inset: 0; opacity: 0; }
.partner-lockup { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding-left: 18px; border-left: 1px solid var(--line); color: var(--ink); position: relative; padding-right: 16px; min-height: 40px; }
.partner-lockup small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; white-space: nowrap; }
.partner-lockup img { height: 26px; width: auto; max-width: 140px; object-fit: contain; }
.partner-lockup strong { font-family: var(--font-h); font-size: .95rem; white-space: nowrap; }
.partner-lockup > i { position: absolute; right: 0; top: 4px; font-size: .6rem; color: var(--muted); opacity: 0; transition: opacity .2s; }
.partner-lockup:hover > i { opacity: 1; }
.partner-lockup:hover img { transform: scale(1.03); }

/* ana səhifədə header şəffaf başlayır */
.is-home .site-header.over-hero:not(.is-scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; }
.is-home .site-header.over-hero { position: fixed; left: 0; right: 0; }
.is-home .topbar + .site-header.over-hero { top: 42px; }
.is-home .site-header.over-hero.is-scrolled { top: 0; }
.is-home .admin-bar ~ .site-header.over-hero:not(.is-scrolled) { top: 80px; }
@media (min-width: 1181px) {
    .is-home .over-hero:not(.is-scrolled) .logo-white { opacity: 1; }
    .is-home .over-hero:not(.is-scrolled) .logo-color { opacity: 0; }
    .is-home .over-hero:not(.is-scrolled) .nav-list > li > a, .is-home .over-hero:not(.is-scrolled) .dd-btn, .is-home .over-hero:not(.is-scrolled) .lang-btn { color: #fff; }
    .is-home .over-hero:not(.is-scrolled) .partner-lockup { border-color: rgba(255, 255, 255, .25); color: #fff; }
    .is-home .over-hero:not(.is-scrolled) .partner-lockup small, .is-home .over-hero:not(.is-scrolled) .partner-lockup > i { color: rgba(255, 255, 255, .7); }
    .is-home .over-hero:not(.is-scrolled) .partner-lockup img { filter: brightness(0) invert(1); }
    .is-home .over-hero:not(.is-scrolled) .nav-list > li > a::after { background: var(--accent); }
}

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 12px; font-weight: 600; font-size: .93rem; color: var(--ink); position: relative; white-space: nowrap; }
.nav-list > li > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s var(--ease); transform-origin: left; }
.nav-list > li:hover > a::after, .nav-list > li.is-active > a::after { transform: scaleX(1); }
.has-dd > a { padding-right: 2px !important; }
.has-dd > a::after { right: 2px !important; }
.dd-btn { border: 0; background: none; color: var(--ink); padding: 10px 8px 10px 4px; font-size: .62rem; transition: transform .25s; }
.has-dd:hover .dd-btn i { transform: rotate(180deg); }
.dd-btn i { transition: transform .25s; display: block; }
.dd { position: absolute; top: 100%; left: -10px; min-width: 260px; padding-top: 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s var(--ease); }
.dd ul { list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.dd-right { left: auto; right: -10px; }
.has-dd:hover > .dd, .has-dd.is-open > .dd, .has-dd:focus-within > .dd { opacity: 1; visibility: visible; transform: translateY(0); }
.dd a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; color: var(--ink); font-weight: 500; font-size: .92rem; }
.dd a:hover, .dd a.is-active { background: var(--mint); color: var(--brand); }
.dd-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--brand); flex-shrink: 0; font-size: .9rem; transition: all .2s; }
.dd a:hover .dd-icon { background: var(--brand); color: #fff; }
.dd-mega ul { display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr)); gap: 2px; min-width: 560px; }
.nav-head, .nav-foot { display: none; }
.nav-partner { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--mint); color: var(--ink); }
.nav-partner small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav-partner img { height: 28px; width: auto; max-width: 160px; object-fit: contain; }
.nav-partner strong { font-family: var(--font-h); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { padding-right: 16px; margin-right: 6px; border-right: 1px solid var(--line); }
.is-home .over-hero:not(.is-scrolled) .lang { border-color: rgba(255, 255, 255, .25); }
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--ink); font-weight: 700; font-size: .85rem; padding: 8px 6px; }
.lang-btn img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.lang-btn .fa-chevron-down { font-size: .6rem; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); min-width: 180px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; z-index: 10; }
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: .9rem; font-weight: 500; }
.lang-menu a:hover, .lang-menu a.is-active { background: var(--mint); color: var(--brand); }
.header-cta { padding: 11px 20px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--mint); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(var(--dark-rgb), .5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: all .3s; z-index: 140; }

/* ---------- Bölmələr (ümumi) ---------- */
.blk { position: relative; }
.sp-normal { padding: clamp(64px, 8vw, 110px) 0; }
.sp-compact { padding: clamp(40px, 5vw, 64px) 0; }
.sp-large { padding: clamp(80px, 10vw, 140px) 0; }
.sp-none { padding: 0; }
.bg-light { background: var(--light); }
.bg-mint { background: var(--mint); }
.bg-dark { background: var(--dark); color: rgba(255, 255, 255, .75); }
.bg-brand { background: linear-gradient(135deg, var(--brand), var(--dark)); color: rgba(255, 255, 255, .8); }
.bg-dark h2, .bg-dark h3, .bg-brand h2, .bg-brand h3 { color: #fff; }
.bg-dark::before, .bg-brand::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background: radial-gradient(600px 300px at 90% 0%, rgba(var(--accent-rgb), .12), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(var(--brand-rgb), .35), transparent 70%); }
.bg-dark > *, .bg-brand > * { position: relative; }

.sec-head { margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head-center { text-align: center; max-width: 780px; margin-left: auto; margin-right: auto; }
.sec-head-left { max-width: 720px; }
.sec-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.sec-head-split .sec-head-main { max-width: 720px; }
.sec-head h2 { margin-bottom: .35em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head-center .eyebrow::after { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.bg-dark .eyebrow, .bg-brand .eyebrow { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); }
.bg-dark .lead, .bg-brand .lead { color: rgba(255, 255, 255, .7); }

/* boş şəkil yeri */
.img-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; background: linear-gradient(135deg, var(--mint), #d7eadc); color: rgba(var(--brand-rgb), .35); font-size: 2.2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--dark); overflow: hidden; display: grid; }
.hero-full { min-height: max(640px, min(100svh, 980px)); }
.hero-large { min-height: max(600px, min(86svh, 860px)); }
.hero-medium { min-height: 520px; }
.hero-slide { grid-area: 1 / 1; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg .img-ph { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-active .hero-bg img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(var(--dark-rgb), .94) 0%, rgba(var(--dark-rgb), .78) 38%, rgba(var(--dark-rgb), .25) 75%, rgba(var(--dark-rgb), .1) 100%), linear-gradient(0deg, rgba(var(--dark-rgb), .6), transparent 40%); }
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 90px); padding-bottom: 190px; }
.hero-content > * { max-width: 760px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
.hero h1, .hero .h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 22px; font-family: var(--font-h); font-weight: 800; }
.hero-text { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .8); max-width: 620px; }
.hero-slide.is-active .hero-content > * { animation: rise .9s var(--ease) both; }
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: .24s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 130px; display: flex; justify-content: space-between; align-items: center; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 54px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero-dots button span { display: block; height: 100%; width: 0; background: var(--accent); }
.hero-dots button.is-active span { animation: progress 7s linear forwards; }
@keyframes progress { to { width: 100%; } }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; backdrop-filter: blur(6px); transition: all .2s; }
.hero-arrows button:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.hero-badges { position: absolute; z-index: 3; left: 0; right: 0; bottom: 64px; }
.hero-badges .wrap { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.hero-badges span { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .88); }
.hero-badges i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--accent-rgb), .16); color: var(--accent); font-size: .85rem; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; z-index: 3; fill: #fff; }
.hero + .stats-strip .stats-grid { margin-top: -40px; }

/* ---------- Səhifə başlığı ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--dark); padding: clamp(80px, 11vw, 150px) 0 clamp(90px, 10vw, 130px); }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img, .page-hero-bg .img-ph { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(var(--dark-rgb), .95) 10%, rgba(var(--dark-rgb), .72) 55%, rgba(var(--dark-rgb), .45)); }
.ph-brand { background: linear-gradient(135deg, var(--dark) 0%, var(--brand) 140%); }
.ph-brand::before { content: ''; position: absolute; inset: 0; opacity: .5; background:
    radial-gradient(800px 400px at 85% 10%, rgba(var(--accent-rgb), .18), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 40px); }
.ph-light { background: var(--mint); color: var(--ink); }
.ph-light h1 { color: var(--ink) !important; }
.ph-light .lead, .ph-light .crumbs, .ph-light .crumbs a { color: var(--muted) !important; }
.page-hero-inner { position: relative; z-index: 2; max-width: 860px; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.15rem; max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: var(--accent); }
.crumbs .fa-chevron-right { font-size: .6rem; opacity: .6; }
.crumbs span { color: var(--accent); }
.hero-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: rgba(var(--accent-rgb), .15); color: var(--accent); font-size: 1.5rem; margin-bottom: 18px; border: 1px solid rgba(var(--accent-rgb), .3); }
.ind-hero .hero-icon { background: color-mix(in srgb, var(--acc) 30%, transparent); color: #fff; border-color: color-mix(in srgb, var(--acc) 60%, transparent); }

/* ---------- Rəqəmlər ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-grid.n2 { grid-template-columns: repeat(2, 1fr); } .stats-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.stats-grid.n5 { grid-template-columns: repeat(5, 1fr); } .stats-grid.n6 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); position: relative; }
.stat strong { display: block; font-family: var(--font-h); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; color: var(--dark); line-height: 1; letter-spacing: -.03em; margin-bottom: 8px; }
.stat > span:last-child { color: var(--muted); font-weight: 500; font-size: .95rem; }
.stat-icon { position: absolute; top: 24px; right: 24px; color: var(--brand); opacity: .25; font-size: 1.6rem; }
.stats-strip { position: relative; z-index: 5; }
.stats-strip .stats-grid { gap: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.stats-strip .stat { border: 0; border-radius: 0; border-right: 1px solid var(--line); padding: 34px 32px; }
.stats-strip .stat:last-child { border-right: 0; }
.bg-dark .stat, .bg-brand .stat { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.bg-dark .stat strong, .bg-brand .stat strong { color: #fff; }
.bg-dark .stat > span:last-child, .bg-brand .stat > span:last-child { color: rgba(255, 255, 255, .65); }

/* ---------- Şəkil + mətn ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.media-right .split-media { order: 2; }
.split-media { position: relative; padding: 0 0 50px 0; }
.split-img-main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); }
.split-img-main img, .split-img-main .img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover .split-img-main img { transform: scale(1.04); }
.split-img-small { position: absolute; right: -24px; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.media-right .split-img-small { right: auto; left: -24px; }
.split-img-small img { width: 100%; height: 100%; object-fit: cover; }
.split-badge { position: absolute; left: -20px; top: 40px; background: var(--accent); color: var(--dark); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); max-width: 200px; animation: float 6s ease-in-out infinite; }
.media-right .split-badge { left: auto; right: -20px; }
.split-badge strong { display: block; font-family: var(--font-h); font-size: 2.3rem; line-height: 1; font-weight: 800; }
.split-badge span { font-size: .85rem; font-weight: 600; line-height: 1.3; display: block; margin-top: 6px; }
@keyframes float { 50% { transform: translateY(-10px); } }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.45; }
.check-list i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .6rem; margin-top: 1px; }
.check-list.light li { color: #fff; }
.check-list.light i { background: var(--accent); color: var(--dark); }
.bg-dark .check-list li, .bg-brand .check-list li { color: #fff; }

/* ---------- Mətn (prose) ---------- */
.prose { color: var(--body); }
.prose > *:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--brand); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r); margin: 1.4em 0; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--accent); background: var(--mint); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink); }
.prose-lead > p:first-child { font-size: 1.15rem; color: var(--ink); }
.prose-cols { columns: 2; column-gap: 48px; }
.bg-dark .prose, .bg-brand .prose { color: rgba(255, 255, 255, .78); }

/* ---------- Xidmətlər ---------- */
.svc-grid { display: grid; gap: 24px; }
.svc-cards { grid-template-columns: repeat(3, 1fr); }
.svc-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); color: var(--body); transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--body); }
.svc-img { aspect-ratio: 16 / 10; overflow: hidden; display: block; position: relative; }
.svc-img img, .svc-img .img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.07); }
.svc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--dark-rgb), .35), transparent 50%); }
.svc-body { padding: 0 28px 28px; position: relative; display: flex; flex-direction: column; flex: 1; }
.svc-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.35rem; box-shadow: 0 12px 24px -10px rgba(var(--brand-rgb), .8); flex-shrink: 0; transition: all .3s; }
.svc-body .svc-icon { margin-top: -29px; margin-bottom: 18px; position: relative; z-index: 2; border: 4px solid #fff; box-sizing: content-box; }
.svc-card:hover .svc-icon { background: var(--accent); color: var(--dark); }
.svc-no { position: absolute; right: 26px; top: 16px; font-family: var(--font-h); font-weight: 800; font-size: 1.05rem; color: var(--line); }
.svc-body h3 { margin-bottom: 10px; }
.svc-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-card:hover .link-arrow i { transform: translateX(5px); }

.svc-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(260px, auto); }
.svc-bento .svc-card { justify-content: flex-end; color: #fff; border: 0; min-height: 260px; }
.svc-bento .svc-img { position: absolute; inset: 0; aspect-ratio: auto; }
.svc-bento .svc-img::after { background: linear-gradient(180deg, rgba(var(--dark-rgb), .05) 0%, rgba(var(--dark-rgb), .55) 45%, rgba(var(--dark-rgb), .95) 100%); }
.svc-bento .svc-body { padding: 26px; z-index: 2; flex: 0; }
.svc-bento .svc-body .svc-icon { margin: 0 0 16px; border: 0; width: 48px; height: 48px; border-radius: 14px; font-size: 1.1rem; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); box-shadow: none; }
.svc-bento .svc-card:hover .svc-icon { background: var(--accent); color: var(--dark); }
.svc-bento .svc-no { color: rgba(255, 255, 255, .45); top: 22px; }
.svc-bento h3 { color: #fff; font-size: 1.15rem; }
.svc-bento .svc-body p { color: rgba(255, 255, 255, .75); font-size: .9rem; max-height: 0; opacity: 0; overflow: hidden; margin: 0; transition: all .45s var(--ease); }
.svc-bento .svc-card:hover p, .svc-bento .svc-card:focus p { max-height: 120px; opacity: 1; margin-bottom: 12px; }
.svc-bento .link-arrow { color: var(--accent); }
.svc-bento .svc-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.svc-bento .svc-card:nth-child(1) h3 { font-size: 1.7rem; }
.svc-bento .svc-card:nth-child(1) p { max-height: 120px; opacity: 1; margin-bottom: 14px; font-size: 1rem; }
.svc-bento .svc-card:nth-child(6) { grid-column: span 2; }

.svc-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-row { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--body); transition: all .3s var(--ease); }
.svc-row:hover { border-color: var(--brand); transform: translateX(4px); box-shadow: var(--shadow-sm); color: var(--body); }
.svc-row .svc-icon { width: 50px; height: 50px; font-size: 1.1rem; border-radius: 14px; }
.svc-row-body { flex: 1; min-width: 0; }
.svc-row strong { display: block; color: var(--ink); font-family: var(--font-h); font-size: 1.05rem; margin-bottom: 2px; }
.svc-row small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.svc-row > .fa-arrow-right { color: var(--brand); transition: transform .3s; }
.svc-row:hover > .fa-arrow-right { transform: translateX(4px); }

/* ---------- Sənayelər ---------- */
.ind-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.ind-tiles .ind { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; isolation: isolate; }
.ind-tiles.n7 .ind:first-child, .ind-tiles.n5 .ind:first-child, .ind-tiles.n3 .ind:first-child { grid-row: span 1; }
.ind-tiles.n7 .ind:nth-child(1) { grid-column: span 2; aspect-ratio: auto; }
.ind-img { position: absolute; inset: 0; z-index: -1; display: block; }
.ind-img img, .ind-img .img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ind:hover .ind-img img { transform: scale(1.08); }
.ind-tiles .ind-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(var(--dark-rgb), .92)); transition: background .4s; }
.ind-tiles .ind:hover .ind-img::after { background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 25%, transparent) 0%, rgba(var(--dark-rgb), .95)); }
.ind-body { position: absolute; inset: auto 0 0 0; padding: 24px; display: block; }
.ind-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); margin-bottom: 14px; transition: background .3s; }
.ind:hover .ind-icon { background: var(--accent); color: var(--dark); }
.ind h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.ind-tiles .ind p { color: rgba(255, 255, 255, .75); font-size: .88rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: all .45s var(--ease); }
.ind-tiles .ind:hover p { max-height: 100px; opacity: 1; }
.ind-go { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .15); backdrop-filter: blur(6px); transform: rotate(-45deg); transition: all .3s; }
.ind:hover .ind-go { background: var(--accent); color: var(--dark); transform: rotate(0); }
.ind-cards { grid-template-columns: repeat(3, 1fr); }
.ind-cards .ind { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--body); transition: all .35s var(--ease); }
.ind-cards .ind:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ind-cards .ind-img { position: relative; aspect-ratio: 16 / 10; z-index: 0; }
.ind-cards .ind-body { position: relative; padding: 0 26px 26px; }
.ind-cards .ind-icon { margin-top: -22px; background: var(--acc); color: #fff; position: relative; box-shadow: 0 0 0 5px #fff; }
.ind-cards h3 { color: var(--ink); }
.ind-cards p { color: var(--muted); font-size: .93rem; margin: 0; }
.ind-cards .ind-go { top: 18px; right: 18px; color: #fff; }

/* ---------- Kartlar / üstünlüklər ---------- */
.feat-grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); }
.feat { position: relative; padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--body); transition: all .35s var(--ease); overflow: hidden; display: block; }
a.feat:hover { color: var(--body); }
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feat::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.feat:hover::after { transform: scaleX(1); }
.feat-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--mint); color: var(--brand); font-size: 1.4rem; margin-bottom: 22px; transition: all .35s; }
.feat:hover .feat-icon { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.feat h3 { margin-bottom: 10px; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }
.feat .link-arrow { margin-top: 16px; }
.feat-num { display: block; font-family: var(--font-h); font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px var(--brand); }
.feat-minimal .feat { background: none; border: 0; padding: 10px 0; }
.feat-minimal .feat:hover { box-shadow: none; transform: none; }
.feat-minimal .feat::after { display: none; }
.bg-dark .feat, .bg-brand .feat { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.bg-dark .feat:hover, .bg-brand .feat:hover { background: rgba(255, 255, 255, .08); }
.bg-dark .feat p, .bg-brand .feat p { color: rgba(255, 255, 255, .65); }
.bg-dark .feat-icon, .bg-brand .feat-icon { background: rgba(var(--accent-rgb), .12); color: var(--accent); }
.bg-dark .feat:hover .feat-icon, .bg-brand .feat:hover .feat-icon { background: var(--accent); color: var(--dark); }
.bg-dark .feat-num, .bg-brand .feat-num { -webkit-text-stroke-color: var(--accent); }

/* ---------- Addımlar ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps.n3 { grid-template-columns: repeat(3, 1fr); } .steps.n5 { grid-template-columns: repeat(5, 1fr); } .steps.n2 { grid-template-columns: repeat(2, 1fr); }
.steps::before { content: ''; position: absolute; left: 40px; right: 40px; top: 36px; height: 2px; background: repeating-linear-gradient(90deg, rgba(var(--brand-rgb), .35) 0 8px, transparent 8px 16px); }
.step { position: relative; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 1.5rem; box-shadow: 0 0 0 8px var(--mint), var(--shadow); position: relative; z-index: 1; transition: all .35s; }
.bg-white .step-icon { box-shadow: 0 0 0 8px #fff, var(--shadow); }
.step:hover .step-icon { background: var(--brand); color: #fff; }
.step-no { font-family: var(--font-h); font-weight: 800; font-size: 2.6rem; color: rgba(var(--brand-rgb), .14); line-height: 1; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.bg-dark .step-icon { background: var(--dark); box-shadow: 0 0 0 8px var(--dark); color: var(--accent); border: 1px solid rgba(255, 255, 255, .15); }
.bg-dark .step p { color: rgba(255, 255, 255, .65); }

/* ---------- Çağırış banneri ---------- */
.cta-box { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 30px 50px; flex-wrap: wrap; isolation: isolate; color: rgba(255, 255, 255, .8);
    background: linear-gradient(120deg, var(--dark) 0%, var(--brand) 120%); }
.cta-box h2 { color: #fff; margin-bottom: 10px; }
.cta-box p { margin: 0; font-size: 1.08rem; max-width: 620px; }
.cta-box .btn-row { margin: 0; }
.cta-text { max-width: 700px; }
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-image .cta-box::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(var(--dark-rgb), .96) 20%, rgba(var(--dark-rgb), .7) 70%, rgba(var(--brand-rgb), .5)); }
.cta-wave { position: absolute; right: -40px; bottom: -30px; width: 620px; color: rgba(var(--accent-rgb), .35); z-index: -1; pointer-events: none; }
.cta-light .cta-box { background: var(--mint); color: var(--body); }
.cta-light .cta-box h2 { color: var(--ink); }
.cta-light .cta-wave { color: rgba(var(--brand-rgb), .2); }

/* ---------- Sənədlər ---------- */
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--body); transition: all .3s var(--ease); }
.doc:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-3px); color: var(--body); }
.doc.is-missing { opacity: .6; border-style: dashed; }
.doc-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fdecec; color: #dc2626; font-size: 1.2rem; flex-shrink: 0; }
.doc-body { flex: 1; min-width: 0; }
.doc-body strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.doc-body small { color: var(--muted); font-size: .8rem; }
.doc-arrow { color: var(--brand); width: 36px; height: 36px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }

/* ---------- Loqolar ---------- */
.logo-row, .logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
@media (max-width: 560px) { .logo-row, .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .logo-grid .logo-tile, .logo-row .logo-tile { height: 76px; padding: 12px 14px; } }
.logo-tile { display: grid; place-items: center; height: 96px; padding: 18px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: all .3s; }
.logo-tile img { max-height: 54px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: all .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile:hover { border-color: rgba(var(--brand-rgb), .3); box-shadow: var(--shadow-sm); }
.logo-name { font-family: var(--font-h); font-weight: 800; font-size: 1rem; color: #8a9a91; letter-spacing: .02em; text-align: center; line-height: 1.2; text-transform: uppercase; transition: color .3s; }
.logo-tile:hover .logo-name { color: var(--brand); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .logo-tile { width: 210px; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- Partnyorlar ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.partner-grid.n1 { grid-template-columns: minmax(0, 860px); justify-content: center; }
.partner { display: grid; grid-template-columns: 220px 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: all .35s var(--ease); }
.partner:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.partner-logo { display: grid; place-items: center; padding: 30px; background: linear-gradient(160deg, var(--mint), #fff); border-right: 1px solid var(--line); }
.partner-logo img { max-height: 90px; width: auto; object-fit: contain; }
.partner-body { padding: 30px; }
.partner-meta { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--mint); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.partner-body h3 { font-size: 1.4rem; }
.partner-body p { color: var(--muted); font-size: .95rem; }

/* ---------- Filtrlər, qalereya ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filters button { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; transition: all .2s; }
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--r); display: block; background: var(--mint); }
.g-item:nth-child(6n+1) { grid-row: span 2; }
.g-item:nth-child(6n+4) { grid-column: span 2; }
.g-item img, .g-item .img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.08); }
.g-over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px; color: #fff; background: linear-gradient(0deg, rgba(var(--dark-rgb), .85), transparent 60%); opacity: 0; transition: opacity .3s; font-weight: 600; }
.g-over > i { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.g-item:hover .g-over { opacity: 1; }
.is-hidden { display: none !important; }
.play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--dark); font-size: 1.2rem; box-shadow: 0 0 0 10px rgba(var(--accent-rgb), .25); transition: transform .3s; }
.g-over .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* ---------- Sertifikatlar ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert { display: flex; flex-direction: column; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--body); transition: all .35s var(--ease); }
.cert:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--body); }
.cert-thumb { position: relative; aspect-ratio: 3 / 4; background: linear-gradient(160deg, var(--light), var(--mint)); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.cert-thumb img, .cert-thumb canvas { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert-thumb canvas { position: absolute; inset: 0; }
.cert-ph { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--brand); font-size: 2.8rem; opacity: .5; }
.cert-ph small { font-size: .8rem; font-weight: 600; }
.cert-thumb canvas.is-ready + .cert-ph { display: none; }
.cert-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cert-body small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.cert-body strong { color: var(--ink); font-family: var(--font-h); font-size: 1rem; line-height: 1.35; flex: 1; }

/* ---------- Layihələr ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.proj { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: all .35s var(--ease); }
.proj:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.proj-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.proj-img img, .proj-img .img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.proj:hover .proj-img img { transform: scale(1.06); }
.proj-img .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.proj-tag { position: absolute; left: 18px; top: 18px; background: rgba(255, 255, 255, .92); color: var(--dark); font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.proj-body { padding: 26px 28px 30px; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; font-size: .84rem; color: var(--muted); }
.proj-meta i { color: var(--brand); margin-right: 6px; }
.proj-body p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Case studies ---------- */
.case-list { display: grid; gap: 32px; }
.case { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.case-rev .case-img { order: 2; }
.case-img { min-height: 340px; }
.case-img img, .case-img .img-ph { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.case-body h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.case-body p { color: var(--muted); }
.case-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; margin-top: 12px; }
.case-results div { padding: 16px; border-radius: var(--r-sm); background: var(--mint); }
.case-results strong { display: block; font-family: var(--font-h); font-size: 1.7rem; color: var(--brand); line-height: 1.1; font-weight: 800; }
.case-results span { font-size: .82rem; color: var(--body); font-weight: 500; }

/* ---------- Rəylər ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: all .3s; }
.quote:hover { box-shadow: var(--shadow); }
.quote::before { content: '\201C'; position: absolute; right: 24px; top: 4px; font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: var(--mint); }
.stars { color: #f5b301; font-size: .85rem; display: flex; gap: 3px; margin-bottom: 16px; }
.quote blockquote { margin: 0 0 24px; color: var(--ink); font-size: 1.02rem; line-height: 1.6; flex: 1; position: relative; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.q-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-family: var(--font-h); flex-shrink: 0; }
.q-avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote strong { display: block; color: var(--ink); font-size: .95rem; }
.quote small { color: var(--muted); font-size: .82rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.faq-layout .sec-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: all .25s; }
.faq[open] { border-color: rgba(var(--brand-rgb), .35); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; color: var(--ink); cursor: pointer; font-family: var(--font-h); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--brand); font-size: .8rem; transition: transform .3s; }
.faq[open] summary i { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Komanda, tarixçə, video ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.person { text-align: center; }
.person-img { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 16px; background: var(--mint); }
.person-img img, .person-img .img-ph { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 2px; }
.person > span { color: var(--muted); font-size: .9rem; }
.person-links { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.person-links a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); }
.timeline { position: relative; max-width: 900px; margin: 0 auto; display: grid; gap: 28px; }
.timeline::before { content: ''; position: absolute; left: 89px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--brand), var(--accent)); }
.tl-item { display: grid; grid-template-columns: 70px 1fr; gap: 40px; align-items: start; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 82px; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); }
.tl-year { font-family: var(--font-h); font-weight: 800; font-size: 1.3rem; color: var(--brand); text-align: right; }
.tl-body { padding: 22px 26px; border-radius: var(--r); background: var(--light); }
.bg-light .tl-body { background: #fff; }
.tl-body p { margin: 0; color: var(--muted); }
.video-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); background: #000; }
.video-frame img, .video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-poster { display: block; height: 100%; }
.video-poster .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 86px; height: 86px; font-size: 1.6rem; }
.video-poster:hover .play { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Formalar ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-card > .muted { margin-bottom: 22px; }
.fld-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fld { position: relative; margin-bottom: 16px; }
.fld input, .fld textarea, .fld select { width: 100%; font: inherit; color: var(--ink); background: var(--light); border: 1.5px solid transparent; border-radius: 14px; padding: 24px 16px 9px; transition: all .2s; appearance: none; -webkit-appearance: none; }
.fld textarea { resize: vertical; min-height: 130px; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23006a30' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.fld label { position: absolute; left: 17px; top: 16px; color: var(--muted); font-size: .95rem; pointer-events: none; transition: all .18s var(--ease); }
.fld label b { color: #dc2626; font-weight: 600; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .1); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label, .fld select + label { top: 7px; font-size: .72rem; font-weight: 600; color: var(--brand); letter-spacing: .02em; }
.fld input:user-invalid, .fld textarea:user-invalid { border-color: #f87171; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--muted); max-width: 320px; line-height: 1.4; }
.file-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px; margin-bottom: 16px; border: 2px dashed rgba(var(--brand-rgb), .3); border-radius: 14px; background: var(--mint); cursor: pointer; transition: all .2s; position: relative; }
.file-drop:hover, .file-drop.is-over { border-color: var(--brand); background: #fff; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop i { font-size: 1.6rem; color: var(--brand); }
.file-drop span { font-weight: 600; color: var(--ink); word-break: break-all; }
.file-drop small { color: var(--muted); font-size: .8rem; }
.file-drop.has-file { border-style: solid; border-color: var(--brand); }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-bottom: 40px; }
.c-card { padding: 28px; border-radius: var(--r-lg); background: var(--light); display: flex; flex-direction: column; gap: 6px; transition: all .3s; }
.c-card:hover { background: #fff; box-shadow: var(--shadow); }
.c-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.15rem; margin-bottom: 12px; }
.c-card small { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.c-card strong { color: var(--ink); font-family: var(--font-h); font-size: 1.08rem; line-height: 1.45; }
.c-card strong a { color: var(--ink); }
.c-card strong a:hover { color: var(--brand); }
.c-card .link-arrow { margin-top: 8px; font-size: .85rem; }
.c-sub { font-size: .9rem; }
.contact-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: stretch; }
.contact-main.single { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.map-card { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.85); }
.quote-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.quote-side { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r-lg); padding: 36px; color: rgba(255, 255, 255, .8); background: linear-gradient(150deg, var(--dark), var(--brand) 160%); overflow: hidden; }
.quote-side h3 { color: #fff; font-size: 1.4rem; }
.quote-side .check-list { grid-template-columns: 1fr; margin-bottom: 28px; }
.quote-side-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(var(--accent-rgb), .15); color: var(--accent); font-size: 1.3rem; margin-bottom: 20px; }
.quote-call { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); color: #fff; font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; }
.quote-call:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.quote-call i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--dark); }
.quote-call small { display: block; font-family: var(--font); font-weight: 500; font-size: .75rem; color: rgba(255, 255, 255, .6); }

.jobs-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.jobs-layout .form-card { position: sticky; top: calc(var(--header-h) + 24px); }
.jobs-list { display: grid; gap: 14px; }
.job { border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: all .25s; }
.job[open] { box-shadow: var(--shadow-sm); border-color: rgba(var(--brand-rgb), .3); }
.job summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; }
.job summary::-webkit-details-marker { display: none; }
.job summary > i { margin-left: auto; color: var(--brand); transition: transform .3s; }
.job[open] summary > i { transform: rotate(180deg); }
.job-head strong { display: block; color: var(--ink); font-family: var(--font-h); font-size: 1.12rem; margin-bottom: 6px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; color: var(--muted); }
.job-meta i { color: var(--brand); margin-right: 6px; }
.job-body { padding: 0 24px 24px; }
.job-body .btn { margin-top: 10px; text-decoration: none; }
.empty-note { padding: 40px; text-align: center; border-radius: var(--r-lg); background: var(--light); color: var(--muted); }
.empty-note i { font-size: 2rem; color: var(--brand); margin-bottom: 12px; }

/* ---------- Xidmət səhifəsi ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.svc-main .prose-lead { margin-bottom: 40px; }
.tabs { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: #fff; }
.tab-list { display: flex; gap: 6px; padding: 8px; background: var(--light); overflow-x: auto; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { flex-shrink: 0; display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 12px 18px; border-radius: 12px; font-weight: 600; color: var(--body); font-size: .92rem; transition: all .2s; }
.tab-list button i { color: var(--brand); }
.tab-list button:hover { background: #fff; }
.tab-list button.is-active { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -8px rgba(var(--brand-rgb), .7); }
.tab-list button.is-active i { color: var(--accent); }
.tab-pane { display: none; padding: clamp(24px, 4vw, 40px); animation: rise .5s var(--ease); }
.tab-pane.is-active { display: block; }
.tab-pane h2 { font-size: 1.6rem; }
.scope-title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 24px 0 14px; }
.scope-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scope-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--light); color: var(--ink); font-weight: 500; font-size: .94rem; line-height: 1.4; }
.scope-list i { color: var(--brand); margin-top: 3px; font-size: .8rem; }
.tab-img { margin-top: 26px; border-radius: var(--r); overflow: hidden; }
.svc-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { border-radius: var(--r-lg); padding: 28px; background: var(--light); }
.side-card h3 { font-size: 1.15rem; }
.side-cta { background: linear-gradient(150deg, var(--dark), var(--brand) 170%); color: rgba(255, 255, 255, .75); }
.side-cta h3 { color: #fff; font-size: 1.35rem; }
.side-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(var(--accent-rgb), .15); color: var(--accent); font-size: 1.2rem; margin-bottom: 16px; }
.side-phone { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; color: #fff; font-weight: 700; }
.side-phone:hover { color: var(--accent); }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.side-links a:hover { background: #fff; color: var(--brand); }
.side-links a > i:first-child { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: .8rem; flex-shrink: 0; }
.side-links .fa-chevron-right { margin-left: auto; font-size: .7rem; opacity: .4; }

.ind-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.ind-intro.single { grid-template-columns: 1fr; max-width: 860px; }
.ind-stats { display: grid; gap: 16px; }
.ind-stats div { padding: 26px; border-radius: var(--r); background: var(--light); border-left: 4px solid var(--acc, var(--brand)); }
.ind-stats strong { display: block; font-family: var(--font-h); font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.ind-stats span { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .65); position: relative; overflow: hidden; font-size: .95rem; }
.footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 400px at 100% 0%, rgba(var(--brand-rgb), .5), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(var(--accent-rgb), .07), transparent 70%); }
.footer > * { position: relative; }
.f-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: clamp(32px, 5vw, 52px); margin-top: clamp(60px, 7vw, 90px); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--accent))); color: rgba(255, 255, 255, .85); }
.f-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: 6px; }
.f-cta p { margin: 0; }
.f-cta-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.f-cta .btn-accent { background: #fff; color: var(--dark); }
.f-cta .btn-accent:hover { background: var(--dark); color: #fff; }
.f-cta-phone { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; }
.f-cta-phone:hover { color: var(--dark); }
.f-cta-phone > span:first-child { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); }
.f-cta-phone small { display: block; font-family: var(--font); font-size: .75rem; font-weight: 500; opacity: .75; }
.f-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-top: clamp(56px, 7vw, 80px); padding-bottom: 48px; }
.f-logo img { height: 52px; width: auto; margin-bottom: 22px; }
.f-brand p { max-width: 340px; }
.f-social { display: flex; gap: 10px; margin-top: 22px; }
.f-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: all .2s; }
.f-social a:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }
.f-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 14px; }
.f-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent); }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-col a { color: rgba(255, 255, 255, .65); }
.f-col a:hover { color: var(--accent); }
.f-col:not(.f-contact) a { display: inline-flex; transition: transform .2s, color .2s; }
.f-col:not(.f-contact) a:hover { transform: translateX(4px); }
.f-contact li { display: flex; gap: 14px; align-items: flex-start; }
.f-contact li > i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--accent); flex-shrink: 0; font-size: .85rem; }
.f-map { margin-top: 18px; border-radius: var(--r); overflow: hidden; height: 160px; }
.f-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg); }
.f-quick { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr auto; gap: 10px; align-items: center; padding: 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 40px; }
.f-quick-title { display: flex; align-items: center; gap: 14px; color: #fff; }
.f-quick-title > i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .15); color: var(--accent); flex-shrink: 0; }
.f-quick-title strong { display: block; font-family: var(--font-h); }
.f-quick-title span { font-size: .8rem; color: rgba(255, 255, 255, .55); line-height: 1.3; display: block; }
.f-quick input { width: 100%; font: inherit; font-size: .9rem; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .06); color: #fff; }
.f-quick input::placeholder { color: rgba(255, 255, 255, .45); }
.f-quick input:focus { outline: 0; border-color: var(--accent); background: rgba(255, 255, 255, .1); }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.f-bottom-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.f-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }
.f-bottom a { color: rgba(255, 255, 255, .6); }
.f-bottom a:hover { color: var(--accent); }

.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.7rem; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .25s; }
.float-wa:hover { color: #fff; transform: scale(1.08); }
.float-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 89; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--dark); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }

.notfound { padding: clamp(100px, 14vw, 180px) 0; text-align: center; background: radial-gradient(600px 300px at 50% 0%, var(--mint), transparent 70%); }
.nf-code { display: block; font-family: var(--font-h); font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }

/* ---------- Modal (forma nəticəsi, lightbox, video) ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(var(--dark-rgb), .75); backdrop-filter: blur(6px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal-box { position: relative; background: #fff; border-radius: var(--r-lg); padding: 40px 34px 32px; max-width: 440px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); animation: rise .35s var(--ease); }
.modal-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; }
.modal-icon.success { background: var(--mint); color: var(--brand); }
.modal-icon.error { background: #fee2e2; color: #dc2626; }
.modal-icon.warning { background: #fef3c7; color: #d97706; }
.modal-box h3 { font-size: 1.5rem; }
.modal-box p { color: var(--muted); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem; z-index: 2; }
.modal-box .modal-close { background: var(--light); color: var(--ink); }
.modal-media { position: relative; width: min(1100px, 100%); }
.modal-media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); background: #000; }
.modal-media img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--r); }
.modal-media figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.modal-media .modal-close { top: -54px; right: 0; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; }
.lb-prev { left: -64px; } .lb-next { right: -64px; }
body.modal-open { overflow: hidden; }

/* ---------- Görünəndə animasiya ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================== Mobil uyğunluq =========================== */
@media (max-width: 1440px) {
    .header-in { gap: 14px; }
    .nav-list > li > a { padding: 10px 8px; font-size: .9rem; }
    .has-dd > a { padding-right: 0 !important; }
    .dd-btn { padding: 10px 6px 10px 3px; }
    .header-cta { padding: 10px 16px; font-size: .88rem; }
}
@media (max-width: 1360px) {
    .header-cta { display: none; }
    .partner-lockup small { display: none; }
}
@media (max-width: 1180px) {
    :root { --header-h: 74px; }
    .brand img { height: var(--logo-h-m); }
    .burger { display: flex; }
    .header-actions { margin-left: auto; }
    /* Mobil menyu paneli header-in içindədir: şüşə effekti (backdrop-filter) "fixed" paneli header-ə bağlayır
       və panel görünmür. Ona görə telefonda header sadə ağ olur və menyu açıq olanda ən üst qata qalxır. */
    .site-header, .is-home .site-header.over-hero { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff !important; }
    body.nav-open .site-header { z-index: 200; }
    .header-cta { display: none; }
    .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 88vw); background: #fff; z-index: 150; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .4s var(--ease); overflow-y: auto; box-shadow: var(--shadow-lg); }
    .nav.is-open { transform: none; }
    body.nav-open { overflow: hidden; }
    body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    .nav-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
    .nav-head img { height: 40px; width: auto; }
    .nav-close { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--mint); color: var(--dark); font-size: 1.1rem; }
    .nav-list { flex-direction: column; align-items: stretch; padding: 12px; gap: 0; }
    .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav-list > li > a { flex: 1; padding: 15px 12px; font-size: 1rem; }
    .nav-list > li > a::after { display: none; }
    .dd-btn { width: 46px; height: 46px; font-size: .75rem; border-radius: 10px; }
    .has-dd:hover .dd-btn i { transform: none; }
    .has-dd.is-open .dd-btn i { transform: rotate(180deg); }
    .dd { position: static; width: 100%; padding: 0; opacity: 1; visibility: visible; transform: none; display: none; }
    .has-dd.is-open > .dd { display: block; }
    .has-dd:hover > .dd { opacity: 1; }
    .dd ul, .dd-mega ul { display: block; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px 8px; background: none; }
    .dd a { padding: 10px 12px; font-size: .94rem; }
    .dd-icon { width: 30px; height: 30px; font-size: .8rem; }
    .nav-foot { display: grid; gap: 10px; padding: 20px 22px 30px; margin-top: auto; }
    .nav-contact { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; padding: 6px 0; }
    .nav-contact i { color: var(--brand); }
    .tb-hours { display: none !important; }
    .svc-bento { grid-template-columns: repeat(2, 1fr); }
    .svc-bento .svc-card:nth-child(6) { grid-column: span 1; }
    .svc-bento .svc-card p { max-height: 120px; opacity: 1; margin-bottom: 12px; }
    .ind-grid { grid-template-columns: repeat(3, 1fr); }
    .ind-tiles.n7 .ind:nth-child(1) { grid-column: span 1; aspect-ratio: 3 / 4; }
    .cert-grid { grid-template-columns: repeat(3, 1fr); }
    .f-main { grid-template-columns: 1fr 1fr; }
    .f-quick { grid-template-columns: 1fr 1fr; }
    .f-quick-title { grid-column: 1 / -1; }
    .f-quick button { grid-column: 1 / -1; }
    .svc-layout { grid-template-columns: 1fr; }
    .svc-side { position: static; grid-template-columns: 1fr 1fr; }
    .is-home .admin-bar ~ .site-header.over-hero:not(.is-scrolled) { top: auto; }
    .is-home .site-header.over-hero { position: sticky; }
    .is-home .topbar + .site-header.over-hero { top: 0; }
    .hero-content { padding-top: 90px; }
}
@media (max-width: 960px) {
    .split, .faq-layout, .contact-main, .quote-layout, .jobs-layout, .ind-intro, .case { grid-template-columns: 1fr; }
    .media-right .split-media, .case-rev .case-img { order: 0; }
    .split-media { max-width: 560px; }
    .faq-layout .sec-head, .quote-side, .jobs-layout .form-card { position: static; }
    .cols-3, .cols-4, .svc-cards, .quotes, .docs-grid { grid-template-columns: repeat(2, 1fr); }
    .steps, .steps.n3, .steps.n5 { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .stats-grid, .stats-grid.n3, .stats-grid.n5, .stats-grid.n6 { grid-template-columns: repeat(2, 1fr); }
    .stats-strip .stat:nth-child(2) { border-right: 0; }
    .stats-strip .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .partner { grid-template-columns: 1fr; }
    .partner-logo { border-right: 0; border-bottom: 1px solid var(--line); min-height: 140px; }
    .proj-grid { grid-template-columns: 1fr; }
    .case-img { min-height: 260px; aspect-ratio: 16 / 9; }
    .hero-nav { bottom: 150px; }
    .prose-cols { columns: 1; }
}
@media (max-width: 680px) {
    body { font-size: 15.5px; }
    .wrap { padding: 0 18px; }
    .topbar { display: none; }
    .lang-btn span { display: none; }
    .partner-lockup { display: none; }
    .brand-wrap { gap: 12px; }
    .hero-full, .hero-large { min-height: 640px; }
    .hero-content { padding-top: 70px; padding-bottom: 210px; }
    .hero-badges { bottom: 50px; }
    .hero-badges .wrap { flex-direction: column; gap: 8px; }
    .hero-nav { bottom: 180px; }
    .hero-arrows { display: none; }
    .hero + .stats-strip .stats-grid { margin-top: -24px; }
    .cols-2, .cols-3, .cols-4, .svc-cards, .svc-list, .quotes, .docs-grid, .ind-cards, .fld-grid, .check-list, .scope-list { grid-template-columns: 1fr; }
    .svc-bento { grid-template-columns: 1fr; }
    .svc-bento .svc-card:nth-child(1) { grid-column: span 1; grid-row: span 1; min-height: 340px; }
    .ind-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ind-tiles .ind { aspect-ratio: 3 / 4; }
    .ind-body { padding: 16px; }
    .ind h3 { font-size: 1rem; }
    .ind-tiles .ind-go { display: none; }
    .ind-cards { grid-template-columns: 1fr; }
    .cert-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-auto-rows: 160px; }
    .g-item:nth-child(6n+4) { grid-column: span 1; }
    .stat, .stats-strip .stat { padding: 22px 20px; }
    .split-img-small { right: -8px; width: 42%; border-width: 5px; }
    .media-right .split-img-small { left: -8px; }
    .split-badge { left: -6px; padding: 14px 16px; }
    .split-badge strong { font-size: 1.7rem; }
    .svc-side { grid-template-columns: 1fr; }
    .f-main { grid-template-columns: 1fr; gap: 36px; }
    .f-quick { grid-template-columns: 1fr; }
    .cta-box { flex-direction: column; align-items: flex-start; }
    .timeline::before { left: 7px; }
    .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 34px; }
    .tl-item::before { left: 0; }
    .tl-year { text-align: left; }
    .lb-prev { left: 4px; } .lb-next { right: 4px; }
    .float-wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
    .to-top { right: 20px; bottom: 80px; }
    .edit-pill span { display: none; }
}

/* =========================== Telefon: kompakt və sürüşdürülən bölmələr =========================== */
.swipe-dots { display: none; }
@media (max-width: 680px) {
    .sp-normal { padding: 56px 0; }
    .sp-large { padding: 64px 0; }
    .sp-compact { padding: 36px 0; }
    .sec-head { margin-bottom: 28px; }
    .sec-head-split { gap: 18px; }
    .lead { font-size: 1rem; }
    h2 { font-size: 1.7rem; }
    .lang { padding-right: 0; margin-right: 0; border-right: 0; }
    .burger { width: 44px; height: 44px; }

    /* Hero */
    .hero-full, .hero-large { min-height: 600px; }
    .hero-content { padding-top: 56px; padding-bottom: 150px; }
    .hero h1, .hero .h1 { font-size: 2.35rem; }
    .hero-text { font-size: 1rem; }
    .hero .btn-row { gap: 10px; margin-top: 22px; }
    .hero .btn-row .btn { flex: 1 1 0; padding: 14px 16px; font-size: .92rem; }
    .hero-eyebrow { font-size: .72rem; margin-bottom: 18px; }
    .hero-nav { bottom: 104px; }
    .hero-badges { bottom: 44px; }
    .hero-badges .wrap { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none; }
    .hero-badges .wrap::-webkit-scrollbar { display: none; }
    .hero-badges span { flex-shrink: 0; font-size: .8rem; }
    .hero-badges i { width: 26px; height: 26px; font-size: .7rem; }
    .page-hero { padding: 56px 0 72px; }
    .page-hero h1 { font-size: 2.1rem; }
    .page-hero .lead { font-size: 1rem; }

    /* Rəqəmlər */
    .stat strong { font-size: 1.9rem; }
    .stat-icon { display: none; }

    /* Şəkil + mətn */
    .split-img-main { aspect-ratio: 4 / 3.2; }
    .split-media { padding-bottom: 36px; }
    .split-badge { top: 16px; max-width: 160px; }

    /* Sürüşdürülən karusellər: xidmətlər, rəylər, layihələr */
    .m-swipe { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 84%; grid-auto-rows: auto !important;
        gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 4px 18px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
    .m-swipe::-webkit-scrollbar { display: none; }
    .m-swipe > * { scroll-snap-align: center; grid-column: auto !important; grid-row: auto !important; }
    .svc-bento .svc-card { min-height: 360px; }
    .svc-bento .svc-card:nth-child(1) h3 { font-size: 1.3rem; }
    .svc-bento .svc-card p { font-size: .9rem; }
    .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
    .swipe-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(var(--brand-rgb), .25); transition: all .3s; }
    .swipe-dots button.is-active { width: 22px; background: var(--brand); }
    .bg-dark .swipe-dots button { background: rgba(255, 255, 255, .3); }
    .bg-dark .swipe-dots button.is-active { background: var(--accent); }

    /* Kartlar: ikon solda, mətn sağda */
    .feat-grid { gap: 12px; }
    .feat { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 18px; border-radius: var(--r); }
    .feat-icon, .feat-num { grid-row: span 3; width: 46px; height: 46px; margin: 0; font-size: 1.05rem; border-radius: 13px; }
    .feat-num { font-size: 1.7rem; height: auto; }
    .feat h3 { font-size: 1.02rem; margin-bottom: 4px; }
    .feat p { font-size: .9rem; }
    .feat .link-arrow { margin-top: 8px; }
    .feat:hover { transform: none; }

    /* Sənayelər */
    .ind-tiles .ind { aspect-ratio: 4 / 5; border-radius: var(--r); }
    .ind-tiles .ind:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 16 / 9; }
    .ind-icon { width: 36px; height: 36px; margin-bottom: 8px; font-size: .85rem; }

    /* İş prosesi: şaquli xətt */
    .steps, .steps.n2, .steps.n3, .steps.n5 { grid-template-columns: 1fr; gap: 0; }
    .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding-bottom: 26px; position: relative; }
    .step:not(:last-child)::after { content: ''; position: absolute; left: 25px; top: 60px; bottom: 6px; width: 2px; background: repeating-linear-gradient(180deg, rgba(var(--brand-rgb), .35) 0 6px, transparent 6px 12px); }
    .step-top { grid-row: span 2; margin: 0; }
    .step-icon { width: 52px; height: 52px; font-size: 1.1rem; box-shadow: 0 0 0 5px var(--mint), var(--shadow-sm); }
    .bg-white .step-icon { box-shadow: 0 0 0 5px #fff, var(--shadow-sm); }
    .step-no { display: none; }
    .step h3 { margin: 12px 0 4px; font-size: 1.05rem; }

    /* Digər */
    .quote { padding: 24px; }
    .partner-body, .partner-logo { padding: 22px; }
    .contact-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
    .c-card { padding: 18px; }
    .c-icon { width: 42px; height: 42px; margin-bottom: 8px; }
    .c-card strong { font-size: .95rem; }
    .map-card, .map-card iframe { min-height: 300px; }
    .form-card { padding: 22px 18px; border-radius: var(--r); }
    .form-foot .btn { width: 100%; }
    .cta-box { padding: 32px 22px; border-radius: var(--r); }
    .cta-box .btn-row { width: 100%; }
    .cta-box .btn { flex: 1 1 auto; }
    .tab-list { padding: 6px; }
    .tab-pane { padding: 22px 18px; }
    .side-card { padding: 22px; }

    /* Footer: açılıb-bağlanan bölmələr */
    .f-cta { margin-top: 48px; padding: 26px 22px; border-radius: var(--r); }
    .f-cta-actions { width: 100%; }
    .f-cta .btn { width: 100%; }
    .f-main { gap: 0; padding-top: 44px; padding-bottom: 28px; }
    .f-brand { padding-bottom: 24px; }
    .f-col { border-top: 1px solid rgba(255, 255, 255, .08); }
    .f-col h3 { margin: 0; padding: 18px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
    .f-col h3::after { display: none; }
    .f-col h3 .f-tog { font-size: .75rem; color: var(--accent); transition: transform .3s; }
    .f-col.is-open h3 .f-tog { transform: rotate(180deg); }
    .f-col:not(.f-contact) ul { display: none; padding-bottom: 18px; }
    .f-col.is-open ul { display: grid; }
    .f-contact ul { padding-bottom: 18px; }
    .float-wa { width: 50px; height: 50px; font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
@media print {
    .topbar, .site-header, .footer, .float-wa, .to-top, .admin-bar, .edit-pill { display: none !important; }
}

/* Header fit (set by site.js when the menu does not fit) */
.header-in.nav-tight { gap: 10px; }
.header-in.nav-tight .nav-list > li > a { padding: 10px 6px; font-size: .86rem; }
.header-in.nav-tight .dd-btn { padding: 10px 4px 10px 2px; }
.header-in.nav-tight .partner-lockup small { display: none; }
.header-in.nav-tight .header-cta { padding: 9px 14px; font-size: .84rem; }
.header-in.nav-tighter .header-cta { display: none; }
.header-in.nav-tighter .lang { padding-right: 10px; margin-right: 0; }
.header-in.nav-tightest .partner-lockup { display: none; }
.header-in.nav-min .nav-list > li > a { padding: 10px 4px; font-size: .8rem; }
.header-in.nav-min .dd-btn { padding: 10px 2px 10px 1px; }
.dd.dd-flip { left: auto; right: -10px; }
html { overflow-x: clip; }
/* grid children may shrink below their content (long tab rows scroll inside instead of widening the page) */
.svc-layout > *, .tabs { min-width: 0; }
