/* ==========================================================================
   Whiteseo — Monoxrom dizayn sistemi v2
   Display: Space Grotesk · Body: Inter · Data/Mono: JetBrains Mono
   Sıfırdan responsiv (Flexbox / Grid), framework-siz
   ========================================================================== */

:root {
    --paper: #ffffff;
    --ink: #0b0b0c;
    --ink-soft: #17171b;
    --ash: #6c6c74;
    --ash-2: #9a9aa2;
    --line: #e7e7ea;
    --line-2: #d6d6da;
    --fog: #f3f3f4;
    --mist: #fafafa;

    --radius: 12px;
    --radius-sm: 9px;
    --radius-lg: 18px;
    --shadow: 0 2px 14px rgba(11, 11, 12, .05);
    --shadow-lg: 0 24px 60px -18px rgba(11, 11, 12, .22);
    --container: 1200px;
    --header-h: 74px;

    --t: .28s cubic-bezier(.22, 1, .36, 1);

    --display: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
    font-family: var(--body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; overflow-wrap: break-word; }
p { overflow-wrap: break-word; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
::selection { background: var(--ink); color: var(--paper); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; }
.section--soft { background: var(--fog); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--tight { padding: 72px 0; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Eyebrow (mono imza) ---------- */
.eyebrow {
    font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .18em;
    text-transform: uppercase; color: var(--ash); display: inline-flex; align-items: center; gap: .55em;
    margin-bottom: 20px;
}
.eyebrow::before { content: "//"; color: var(--ink); font-weight: 700; }
.section--dark .eyebrow { color: var(--ash-2); }
.section--dark .eyebrow::before, .hero .eyebrow::before { color: var(--paper); }
.hero .eyebrow { color: rgba(255, 255, 255, .65); }

/* ---------- Section heading ---------- */
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.section-head p { color: var(--ash); margin-top: 18px; font-size: 1.05rem; line-height: 1.7; }
.section--dark .section-head p { color: var(--ash-2); }
.section-head--left { text-align: left; margin-left: 0; margin-right: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 26px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem;
    border: 1.5px solid var(--ink); transition: all var(--t); white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 17px; height: 17px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--paper); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.section--dark .btn-primary, .hero .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--dark .btn-primary:hover, .hero .btn-primary:hover { background: transparent; color: var(--paper); }
.section--dark .btn-outline, .hero .btn-outline { color: var(--paper); border-color: rgba(255, 255, 255, .4); }
.section--dark .btn-outline:hover, .hero .btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
    display: flex; align-items: center; background: transparent; transition: all var(--t);
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px) saturate(1.4);
    border-bottom-color: var(--line); box-shadow: var(--shadow);
}
/* Üst (qaranlıq hero üzərində) açıq tema; scroll olunduqda tünd */
.header:not(.scrolled) .brand { color: var(--paper); }
.header:not(.scrolled) .brand .dot { background: var(--paper); }
.header:not(.scrolled) .nav a { color: rgba(255, 255, 255, .88); }
.header:not(.scrolled) .nav a:hover, .header:not(.scrolled) .nav a.active { color: var(--paper); }
.header:not(.scrolled) .nav a.active::before { color: var(--paper); }
.header:not(.scrolled) .lang-toggle { color: var(--paper); border-color: rgba(255, 255, 255, .4); background: transparent; }
.header:not(.scrolled) .burger { border-color: rgba(255, 255, 255, .4); background: transparent; }
.header:not(.scrolled) .burger span { background: var(--paper); }
.header:not(.scrolled) .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.header:not(.scrolled) .btn-primary:hover { background: transparent; color: var(--paper); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-size: 1.4rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); flex-shrink: 0; }
.brand .dot { width: 9px; height: 9px; background: var(--ink); border-radius: 50%; display: inline-block; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
    font-family: var(--body); font-size: .92rem; font-weight: 500; letter-spacing: -.005em; padding: 9px 11px;
    color: var(--ash); border-radius: var(--radius-sm); position: relative; white-space: nowrap;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); font-weight: 600; }
.nav a.active::before { content: "·"; margin-right: 4px; color: var(--ink); }

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

/* Lang switcher */
.lang { position: relative; }
.lang-toggle {
    display: flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid var(--line-2);
    border-radius: var(--radius-sm); font-family: var(--mono); font-weight: 500; font-size: .78rem; text-transform: uppercase; color: var(--ink); background: var(--paper);
}
.lang-toggle:hover { border-color: var(--ink); }
.lang-menu {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 140px; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all var(--t); z-index: 50;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 6px; font-size: .9rem; }
.lang-menu a:hover, .lang-menu a.active { background: var(--fog); }

/* Hamburger */
.burger { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper); }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--t); }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--paper); z-index: 1100;
    transform: translateX(100%); transition: transform var(--t); padding: calc(var(--header-h) + 18px) 28px 28px;
    box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 2px; overflow-y: auto;
}
body.menu-open .mobile-nav { transform: translateX(0); }
.mobile-nav a { font-family: var(--mono); padding: 15px 6px; font-size: .92rem; letter-spacing: .03em; border-bottom: 1px solid var(--line); color: var(--ash); }
.mobile-nav a.active { color: var(--ink); }
.mobile-nav .mobile-langs { display: flex; gap: 10px; margin-top: 22px; }
.mobile-nav .mobile-langs a { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 9px 16px; font-size: .8rem; border-bottom: 1px solid var(--line-2); }
.mobile-nav .mobile-langs a.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.overlay { position: fixed; inset: 0; background: rgba(11, 11, 12, .45); z-index: 1050; opacity: 0; visibility: hidden; transition: all var(--t); }
body.menu-open .overlay { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
    background: var(--ink); color: var(--paper); position: relative; overflow: hidden;
    min-height: 100vh; display: flex; align-items: center;
    padding: calc(var(--header-h) + 16px) 0 36px;
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 140px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.04; margin-bottom: 22px; letter-spacing: -.035em; }
.hero p { font-size: 1.12rem; color: rgba(255, 255, 255, .72); max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* SERP imza zolağı */
.serp { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; padding: 9px 14px 9px 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 100px; font-family: var(--mono); font-size: .78rem; color: rgba(255, 255, 255, .8); }
.serp .q { color: rgba(255, 255, 255, .55); }
.serp .rank { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; background: var(--paper); color: var(--ink); border-radius: 100px; font-weight: 700; }
.serp .rank::before { content: "▲"; font-size: .6rem; }

.hero-stats { display: flex; gap: 40px; margin-top: 54px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--display); font-size: 2rem; font-weight: 700; letter-spacing: -.03em; }
.hero-stats .lbl { font-family: var(--mono); color: rgba(255, 255, 255, .55); font-size: .76rem; letter-spacing: .04em; margin-top: 2px; }

/* Lead card */
.lead-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-lg); }
.lead-card h3 { font-size: 1.22rem; margin-bottom: 4px; }
.lead-card .sub { color: var(--ash); font-size: .86rem; margin-bottom: 16px; line-height: 1.45; }
/* Lead forması ağ kartın üzərindədir — düymə standart (qara→hover ağ) olmalıdır,
   hero-nun şəffaf-hover qaydasını ləğv edirik */
.lead-card .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lead-card .btn-primary:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
/* Lead forması yığcam — ilk ekrana tam sığsın */
.lead-card .field { margin-bottom: 11px; }
.lead-card .field label { margin-bottom: 5px; }
.lead-card .field input, .lead-card .field select { padding: 11px 14px; }
.lead-card .form-grid-2 { gap: 12px; }
.lead-card .btn-block { margin-top: 4px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; margin-bottom: 7px; color: var(--ash); }
.field input, .field textarea, .field select {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
    background: var(--paper); color: var(--ink); transition: border-color var(--t);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: #c0392b; font-size: .8rem; margin-top: 5px; display: block; }
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: #c0392b; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; }
.alert-success { background: var(--ink); color: var(--paper); }
.alert-error { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c0; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: all var(--t); height: 100%; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line-2); }

/* Feature (niyə biz) */
.feature .ic { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); margin-bottom: 22px; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--ash); font-size: .96rem; }
.feature .idx { font-family: var(--mono); font-size: .72rem; color: var(--ash-2); float: right; }

/* Service card */
.service-card { display: flex; flex-direction: column; position: relative; }
.service-card .ic { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--fog); border-radius: var(--radius-sm); margin-bottom: 22px; transition: all var(--t); }
.service-card:hover .ic { background: var(--ink); }
.service-card .ic svg { width: 26px; height: 26px; stroke: var(--ink); transition: stroke var(--t); }
.service-card:hover .ic svg { stroke: var(--paper); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 11px; }
.service-card p { color: var(--ash); font-size: .94rem; margin-bottom: 18px; flex: 1; }
.service-card .more { font-family: var(--mono); font-weight: 500; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
.service-card .more svg { width: 15px; height: 15px; transition: transform var(--t); }
.service-card:hover .more svg { transform: translateX(4px); }

/* ---------- Process steps (real ardıcıllıq → nömrələmə) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.step { position: relative; padding: 40px 32px; border-right: 1px solid var(--line); transition: background var(--t); }
.step:last-child { border-right: none; }
.step:hover { background: var(--mist); }
.step .no { font-family: var(--mono); font-size: .8rem; color: var(--ash-2); letter-spacing: .1em; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.step .no::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step h3 { font-size: 1.2rem; margin-bottom: 11px; }
.step p { color: var(--ash); font-size: .95rem; }

/* ---------- Testimonials carousel ---------- */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.testimonial { min-width: 100%; padding: 0 6px; }
.testimonial .quote { background: var(--ink-soft); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: 48px; max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial .stars { font-family: var(--mono); letter-spacing: 2px; margin-bottom: 20px; font-size: .9rem; color: var(--paper); }
.testimonial blockquote { font-family: var(--display); font-size: 1.4rem; line-height: 1.5; font-weight: 500; margin-bottom: 26px; letter-spacing: -.01em; }
.testimonial .who { font-weight: 600; }
.testimonial .role { font-family: var(--mono); color: var(--ash-2); font-size: .8rem; margin-top: 2px; }
.carousel-nav { display: flex; justify-content: center; gap: 9px; margin-top: 32px; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: all var(--t); cursor: pointer; }
.carousel-dot.active { background: var(--paper); width: 30px; border-radius: 5px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); transition: all var(--t); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 18px; padding: 26px 4px; font-family: var(--display); font-weight: 600; font-size: 1.08rem; text-align: left; color: var(--ink); }
.faq-q .qno { font-family: var(--mono); font-size: .8rem; color: var(--ash-2); flex-shrink: 0; }
.faq-q span.txt { flex: 1; }
.faq-q .sign { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.faq-q .sign::before, .faq-q .sign::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: all var(--t); }
.faq-q .sign::before { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.faq-q .sign::after { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); }
.faq-item.open .faq-q .sign::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a-inner { padding: 0 42px 26px; color: var(--ash); line-height: 1.7; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 32px; display: flex; flex-direction: column; transition: all var(--t); position: relative; }
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.price-card.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-badge { position: absolute; top: -12px; left: 32px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); padding: 5px 14px; border-radius: 100px; font-family: var(--mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.price-card .pname { font-family: var(--mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ash); margin-bottom: 14px; }
.price-card.featured .pname { color: var(--ash-2); }
.price-card .pamount { font-family: var(--display); font-size: 3rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price-card .pamount .cur { font-size: 1.3rem; vertical-align: super; font-weight: 500; }
.price-card .pper { font-family: var(--mono); color: var(--ash); font-size: .76rem; margin: 8px 0 18px; }
.price-card.featured .pper { color: var(--ash-2); }
.price-card .psum { color: var(--ash); font-size: .92rem; margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); min-height: 40px; }
.price-card.featured .psum { color: rgba(255, 255, 255, .65); border-bottom-color: rgba(255, 255, 255, .12); }
.price-card ul { margin-bottom: 30px; flex: 1; }
.price-card ul li { display: flex; align-items: flex-start; gap: 11px; padding: 8px 0; font-size: .93rem; }
.price-card ul li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; }
.price-card.featured .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.price-card.featured .btn-primary:hover { background: transparent; color: var(--paper); }
.price-card.featured .btn-outline { color: var(--paper); border-color: rgba(255, 255, 255, .4); }
.price-card.featured .btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- Tools ---------- */
.tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.tool { font-family: var(--mono); padding: 14px 26px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; font-size: .92rem; color: var(--ash); transition: all var(--t); background: var(--paper); }
.tool:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Blog ---------- */
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all var(--t); height: 100%; display: flex; flex-direction: column; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-thumb { aspect-ratio: 16 / 9; background: var(--fog); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.post-thumb svg { width: 44px; height: 44px; stroke: var(--line-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-body .meta { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--ash-2); margin-bottom: 13px; }
.post-body h3 { font-size: 1.18rem; margin-bottom: 12px; line-height: 1.25; }
.post-body p { color: var(--ash); font-size: .93rem; margin-bottom: 18px; flex: 1; }
.post-body .more { font-family: var(--mono); font-weight: 500; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
.post-body .more svg { width: 15px; height: 15px; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding: calc(var(--header-h) + 72px) 0 72px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 140px); -webkit-mask-image: linear-gradient(180deg, transparent, #000, transparent); mask-image: linear-gradient(180deg, transparent, #000, transparent); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); margin-bottom: 14px; letter-spacing: -.035em; }
.page-hero p { color: rgba(255, 255, 255, .72); max-width: 620px; margin: 0 auto; }
.crumb { display: flex; gap: 9px; justify-content: center; font-family: var(--mono); font-size: .76rem; color: rgba(255, 255, 255, .5); margin-top: 22px; }
.crumb a:hover { color: var(--paper); }

/* ---------- Quote (satış) səhifəsi ---------- */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin-top: 26px; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .82); }
.trust-row svg { width: 17px; height: 17px; }
.quote-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.quote-packages { display: flex; flex-direction: column; gap: 16px; }
.quote-pack { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: all var(--t); position: relative; }
.quote-pack:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.quote-pack.featured { border-color: var(--ink); }
.quote-pack.is-selected { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.quote-pack-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.quote-pack .qp-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.quote-pack .qp-sum { color: var(--ash); font-size: .86rem; margin-top: 4px; max-width: 320px; }
.quote-pack .qp-price { font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.03em; white-space: nowrap; }
.quote-pack .qp-price .cur { font-size: .95rem; vertical-align: super; font-weight: 500; }
.quote-pack .qp-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-bottom: 20px; }
.quote-pack .qp-features li { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; }
.quote-pack .qp-features svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; }
.quote-pack .qp-features span { color: var(--ink-soft); }
.quote-pack.is-selected .quote-choose { background: var(--ink); color: var(--paper); }
.quote-form { position: sticky; top: 96px; }
@media (max-width: 860px) {
    .quote-grid { grid-template-columns: 1fr; gap: 32px; }
    .quote-form { position: static; }
    .quote-pack .qp-features { grid-template-columns: 1fr; }
}

/* ---------- Xidmət detal (UX layout) ---------- */
.service-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.service-article { max-width: none; margin: 0; }
.service-article > :first-child { margin-top: 0; }
.service-article > p:first-of-type { font-size: 1.12rem; color: var(--ink); line-height: 1.8; } /* giriş abzası vurğulu */
.service-article h2 { font-size: 1.45rem; margin: 36px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.service-article h2:first-of-type { border-top: none; padding-top: 0; }
.service-article ul { list-style: none; margin: 0 0 18px; }
.service-article ul li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.service-article ul li:last-child { border-bottom: none; }
.service-article ul li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 9px; height: 9px; border: 2px solid var(--ink); border-radius: 2px; transform: rotate(45deg); }

.service-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.aside-cta { text-align: left; }
.aside-cta .aside-ic { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--ink); border-radius: var(--radius-sm); margin-bottom: 16px; }
.aside-cta .aside-ic svg { width: 24px; height: 24px; stroke: var(--paper); }
.aside-cta .aside-title { font-size: 1.2rem; margin-bottom: 8px; }
.aside-cta p { color: var(--ash); font-size: .92rem; margin-bottom: 18px; }
.aside-cta .btn { margin-bottom: 10px; }
.aside-cta .btn:last-child { margin-bottom: 0; }
.aside-nav .aside-title { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ash); margin-bottom: 12px; }
.aside-nav ul li a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: var(--radius-sm); color: var(--ash); font-size: .92rem; font-weight: 500; }
.aside-nav ul li a svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .5; transition: transform var(--t); }
.aside-nav ul li a:hover { background: var(--fog); color: var(--ink); }
.aside-nav ul li a:hover svg { transform: translateX(3px); }
.aside-nav ul li a.active { background: var(--ink); color: var(--paper); }
.aside-nav ul li a.active svg { opacity: 1; }

@media (max-width: 960px) {
    .service-detail-grid { grid-template-columns: 1fr; gap: 36px; }
    .service-aside { position: static; flex-direction: column; }
}

/* ---------- Konsultasiya (lead) səhifəsi ---------- */
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.check-list li:last-child { border-bottom: none; }
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.check-list span { color: var(--ink-soft); }
.consult-steps { display: flex; flex-direction: column; gap: 16px; }
.consult-steps li { display: flex; gap: 16px; align-items: flex-start; }
.consult-steps .num { font-family: var(--display); font-weight: 700; font-size: 1.05rem; width: 44px; height: 44px; flex-shrink: 0; border: 1.5px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.consult-steps h3 { font-size: 1.05rem; margin-bottom: 3px; }
.consult-steps p { color: var(--ash); font-size: .92rem; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ash-2); font-size: .8rem; margin-top: 12px; }
.form-note svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.6rem; margin: 38px 0 16px; }
.article h3 { font-size: 1.3rem; margin: 28px 0 12px; }
.article p { color: var(--ink-soft); margin-bottom: 18px; line-height: 1.85; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article ul li, .article ol li { margin-bottom: 8px; }
.article img { border-radius: var(--radius); margin: 24px 0; }

/* ---------- Q&A layout ---------- */
.qa-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.qa-ask { position: sticky; top: 96px; }
@media (max-width: 860px) {
    .qa-grid { grid-template-columns: 1fr; gap: 28px; }
    .qa-ask { position: static; }
}

/* ---------- Q&A ---------- */
.qa-item { border-bottom: 1px solid var(--line); padding: 28px 0; }
.qa-item:first-child { border-top: 1px solid var(--line); }
.qa-item .q { font-family: var(--display); font-weight: 600; font-size: 1.12rem; margin-bottom: 12px; display: flex; gap: 12px; }
.qa-item .q .mark { font-family: var(--mono); color: var(--ash-2); }
.qa-item .a { color: var(--ash); padding-left: 28px; line-height: 1.7; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info li:first-child { border-top: 1px solid var(--line); }
.contact-info .ic { width: 44px; height: 44px; flex-shrink: 0; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.contact-info .ic svg { width: 19px; height: 19px; }
.contact-info .lbl { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ash-2); }
.contact-info .val { font-weight: 600; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 40px; background: var(--fog); min-height: 320px; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 44px; margin-bottom: 56px; }
.footer .brand { color: var(--paper); margin-bottom: 18px; }
.footer .brand .dot { background: var(--paper); }
.footer .about { color: rgba(255, 255, 255, .58); font-size: .94rem; max-width: 330px; }
.footer h4 { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 22px; color: rgba(255, 255, 255, .9); font-weight: 500; }
.footer ul li { margin-bottom: 13px; }
.footer ul li a, .footer .fcontact li { color: rgba(255, 255, 255, .62); font-size: .93rem; }
.footer ul li a:hover { color: var(--paper); }
.footer .fcontact li { display: flex; gap: 10px; margin-bottom: 13px; align-items: flex-start; }
.footer .fcontact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: rgba(255, 255, 255, .45); font-family: var(--mono); font-size: .78rem; }

/* ---------- Floating ---------- */
.floating { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
/* Üzən düymələr: hər fonda (ağ və qara bölmələrdə) görünən ağ pill */
.fab {
    width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    position: relative; background: var(--paper); color: var(--ink); border: 1px solid var(--line-2);
    box-shadow: 0 8px 24px rgba(11, 11, 12, .18); transition: all var(--t);
}
.fab:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 12px 30px rgba(11, 11, 12, .3); }
.fab svg { width: 23px; height: 23px; }
/* Bloglar düyməsi dəyişəndir: ağ fonda qara */
.fab-blog { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fab-blog:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
/* Qaranlıq bölmənin üzərində bütün düymələr ağ (bloglar da ağ olur) */
.floating.on-dark .fab-blog { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.floating.on-dark .fab-blog:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fab .tip { position: absolute; right: 64px; background: var(--ink); color: var(--paper); padding: 7px 12px; border-radius: var(--radius-sm); font-family: var(--mono); font-size: .76rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--t); }
.fab:hover .tip { opacity: 1; }
/* Yuxarı qalx — yalnız scroll olunduqda görünür (stil .fab-dən gəlir) */
.fab-top { opacity: 0; visibility: hidden; transform: translateY(8px); }
.fab-top.show { opacity: 1; visibility: visible; transform: none; }
.fab-top.show:hover { transform: translateY(-3px); }

/* Drawer bağlama düyməsi + əlaqə */
.mobile-nav .drawer-close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.mobile-nav .drawer-close svg { width: 20px; height: 20px; }
.mobile-nav .drawer-contact { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.mobile-nav .drawer-contact a { border: none; padding: 4px 0; color: var(--ash); display: flex; align-items: center; gap: 9px; font-size: .92rem; }
.mobile-nav .drawer-contact a:hover { color: var(--ink); }
.mobile-nav .drawer-contact svg { width: 17px; height: 17px; }

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.center-btn { display: flex; justify-content: center; margin-top: 52px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Orta ekranlarda naviqasiya hamburger menyuya keçir (sıxışmanın qarşısını alır) */
@media (max-width: 1080px) {
    .nav, .header-actions .lang, .header-actions .btn { display: none; }
    .burger { display: flex; }
}
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero p { max-width: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .step { border-right: none; border-bottom: 1px solid var(--line); }
    .step:last-child { border-bottom: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
    .nav, .header-actions .lang, .header-actions .btn { display: none; }
    .burger { display: flex; }
    .grid-3, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
    .section { padding: 76px 0; }
    .section--tight { padding: 56px 0; }
    .card, .price-card { padding: 28px; }
}
@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero { padding-top: calc(var(--header-h) + 52px); padding-bottom: 76px; }
    .hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
    .hero-cta .btn { flex: 1; }
    .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; margin-top: 44px; }
    .hero-stats .num { font-size: 1.8rem; }
    .lead-card { padding: 24px; }
    .testimonial .quote { padding: 32px 22px; }
    .testimonial blockquote { font-size: 1.15rem; }
    .faq-q { font-size: 1rem; gap: 12px; }
    .faq-a-inner { padding-left: 4px; }
    .serp { font-size: .72rem; flex-wrap: wrap; }
    .section-head { margin-bottom: 44px; }
    .floating { right: 16px; bottom: 16px; }
    .fab { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.section--dark :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--paper); }
