/* acarustasi.az — ruN Dizayn
   Ağ + tünd mavi (navy), Poppins */

:root {
  --navy: #0B2545;
  --navy-2: #15335A;
  --navy-3: #071B33;
  --blue: #1559B5;
  --blue-light: #5B9BF3;
  --blue-bg: #EAF2FD;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --line: #E4EBF4;
  --line-2: #DCE5F0;
  --text: #0B2545;
  --text-2: #243B58;
  --muted: #5A6B82;
  --green: #1E8A5B;
  --wrap: 1220px;
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

h1 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.1; }
h2 { font-size: clamp(27px, 3.2vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: #0F4490; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* --- Skip link --- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; color: #fff; }

/* --- Topbar --- */
.topbar { background: var(--navy); color: #AFC4DD; font-size: 12.5px; }
.topbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 6px 20px;
}
.topbar span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; }
.topbar .sep { width: 1px; height: 12px; background: #1E3F68; padding: 0; }
.topbar a { color: #AFC4DD; }
.topbar a:hover { color: #fff; }

/* --- Header --- */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 14px; padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); }
.logo-mark {
  width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-name { font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: -0.02em; }
.logo-name .dot { color: var(--blue); }
.logo-sub { font-size: 9.5px; letter-spacing: 0.19em; color: var(--muted); font-weight: 500; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav a { color: #445873; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 12px; font-weight: 600; font-size: 15px; padding: 13px 22px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0F4490; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: #B9CBE0; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-lg { font-size: 16.5px; padding: 17px 30px; border-radius: 13px; }
.btn-call { box-shadow: 0 18px 32px -20px rgba(21,89,181,.75); }
.head-call { margin-left: auto; }

/* --- Hero --- */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 64px 0 72px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 52px; align-items: flex-start; }
.hero-main { flex: 999 1 500px; min-width: 0; }
.hero h1 { margin: 22px 0 0; max-width: 17ch; }
.hero-lead { margin-top: 22px; font-size: 17px; color: var(--muted); max-width: 55ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid #DEE7F2;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }

.pill {
  display: inline-flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 16px 7px 11px;
  font-size: 12.5px; font-weight: 500; color: #1B4D36;
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }

/* --- Çağırış kartı --- */
.call-card {
  flex: 1 1 370px; min-width: 290px; background: #fff; border: 1px solid #E1E9F3;
  border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -48px rgba(11,37,69,.45);
}
.call-card-head {
  background: var(--navy); padding: 22px 28px; display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
}
.call-card-head strong { font-size: 18.5px; font-weight: 600; color: #fff; letter-spacing: -.02em; display: block; }
.call-card-head small { font-size: 12.5px; color: #AFC4DD; }
.call-card-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--navy-2); display: flex; align-items: center; justify-content: center; }
.call-card-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 13px; }

/* Böyük nömrə bloku */
.call-number {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--blue-bg); border-radius: 14px; padding: 20px 16px;
  color: var(--navy); text-align: center;
}
.call-number:hover { background: #DCEAFC; color: var(--navy); }
.call-number-label { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; color: var(--blue); }
.call-number-value {
  font-size: clamp(26px, 3vw, 31px); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.15; white-space: nowrap;
}
.call-points {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: var(--text-2);
}
.call-points li { display: flex; gap: 10px; align-items: flex-start; }
.call-points svg { flex: none; margin-top: 3px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.field input, .field select {
  width: 100%; padding: 14px 15px; border: 1px solid var(--line-2); border-radius: 11px;
  background: #F8FAFD; font-size: 15px; color: var(--text); font-family: inherit; font-weight: 400;
}
.field input:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.row-2 { display: flex; flex-wrap: wrap; gap: 14px; }
.row-2 > * { flex: 1 1 140px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.6; }

/* --- Fakt zolağı --- */
.facts { border-bottom: 1px solid var(--line); }
.facts .wrap { display: flex; flex-wrap: wrap; }
.fact { flex: 1 1 230px; padding: 30px 26px; display: flex; gap: 15px; align-items: flex-start; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact:last-child { padding-right: 0; }
.fact svg { flex: none; margin-top: 3px; }
.fact b { display: block; font-size: 15.5px; font-weight: 600; }
.fact small { font-size: 13.5px; color: var(--muted); line-height: 1.6; display: block; margin-top: 3px; }

/* --- Bölmələr --- */
.sec { padding: 84px 0; }
.sec-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-tight { padding: 10px 0 84px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px;
  font-weight: 600; letter-spacing: .22em; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue); display: inline-block; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 42px; }
.sec-head h2 { margin-top: 16px; max-width: 20ch; }
.sec-head p { max-width: 36ch; font-size: 15.5px; color: var(--muted); }
.sec-head-center { flex-direction: column; align-items: center; text-align: center; }
.sec-head-center h2 { max-width: 24ch; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-soft { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* Xidmət kartı */
.svc { display: flex; flex-direction: column; gap: 14px; position: relative; }
.svc-no { position: absolute; top: 24px; right: 26px; font-size: 13px; font-weight: 600; color: #C8D8EC; }
.svc-icon { width: 54px; height: 54px; border-radius: 15px; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.svc h3 { font-size: 19.5px; }
.svc p { font-size: 14.8px; color: var(--muted); margin: 0; }
.svc-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid #EDF2F8; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-foot span { font-size: 14px; font-weight: 500; color: var(--muted); }
.svc-foot a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }

/* Nömrəli siyahı */
.steps { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-no { width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

.step-card { display: flex; flex-direction: column; gap: 13px; }
.step-circle { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; }
.step-card h3 { font-size: 18px; }
.step-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Çiplər */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { background: #fff; border: 1px solid #DEE7F2; border-radius: 999px; padding: 10px 18px; font-size: 14.3px; font-weight: 500; color: var(--text-2); }
a.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip-blue { background: var(--blue-bg); border-color: transparent; color: var(--blue); }

/* Rəy */
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 15.3px; color: var(--text-2); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid #DEE7F2; display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--blue); font-size: 15px; flex: none; }
.quote cite { font-style: normal; font-weight: 600; font-size: 14.5px; display: block; }
.quote small { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 4px 28px; }
.faq details { border-bottom: 1px solid #EDF2F8; }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex;
  align-items: center; justify-content: space-between; gap: 20px;
  font-size: 17px; font-weight: 500; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: var(--blue-bg); color: var(--blue); display: flex; align-items: center;
  justify-content: center; font-size: 19px; font-weight: 500; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 22px; font-size: 15.2px; color: var(--muted); max-width: 70ch; }

/* CTA */
.cta { background: var(--navy); padding: 70px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { color: #fff; max-width: 19ch; }
.cta p { margin-top: 14px; font-size: 16px; color: #AFC4DD; max-width: 48ch; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 13px; }
.cta .btn-ghost { background: transparent; color: #E6EEF8; border-color: #27486F; }
.cta .btn-ghost:hover { border-color: #3C6494; color: #fff; }

/* --- Məqalə / mətn bloku --- */
.prose { max-width: 72ch; }
.prose h2 { margin: 42px 0 16px; }
.prose h3 { margin: 32px 0 12px; }
.prose p { font-size: 15.8px; color: var(--text-2); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; color: var(--text-2); font-size: 15.5px; }
.prose li { margin-bottom: 9px; }
.prose strong { font-weight: 600; color: var(--navy); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 13px 28px; }
.checklist li { display: flex; gap: 11px; font-size: 15.2px; color: var(--text-2); margin: 0; }
.checklist svg { flex: none; margin-top: 4px; }

.note {
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 14px; padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start;
}
.note svg { flex: none; margin-top: 2px; }
.note p { font-size: 15px; color: var(--text-2); margin: 0; }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { color: #AEBFD4; }
.crumbs [aria-current] { color: var(--navy); font-weight: 500; }

.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 40px 0 50px; }
.page-head h1 { margin: 18px 0 0; max-width: 21ch; }
.page-head .lead { margin-top: 16px; font-size: 16.5px; color: var(--muted); max-width: 64ch; }

.layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.layout-main { flex: 999 1 540px; min-width: 0; }
.layout-side { flex: 1 1 320px; min-width: 288px; display: flex; flex-direction: column; gap: 20px; }
/* Yan paneldə kartlar sıxılmasın (hero-dakı flex dəyərini götürməsinlər) */
.layout-side > * { flex: none; }
/* Yapışqan yalnız panel ekrana sığanda — əks halda kart kəsilir */
@media (min-width: 861px) and (min-height: 1100px) {
  .layout-side { position: sticky; top: 92px; }
}

.side-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.side-list li + li { border-top: 1px solid #E1E9F3; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--text-2); font-weight: 500; }
.side-list a:hover { color: var(--blue); }

.side-dark { background: var(--navy); border-radius: 22px; padding: 28px; color: #C6D7EC; }
.side-dark h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.side-dark p { font-size: 14.5px; margin: 0; }
.side-dark .phone { margin-top: 18px; font-size: 20px; font-weight: 600; color: #fff; display: block; letter-spacing: -.01em; }
.side-dark-icon { display: inline-flex; width: 46px; height: 46px; border-radius: 13px; background: var(--navy-2); align-items: center; justify-content: center; margin-bottom: 16px; }

/* Cədvəl */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 460px; }
thead tr { background: var(--navy); }
th { text-align: left; padding: 16px 24px; font-size: 11.5px; letter-spacing: .14em; color: #C6D7EC; font-weight: 600; }
th:last-child { text-align: right; }
td { padding: 18px 24px; font-size: 15px; font-weight: 400; }
tbody tr { border-top: 1px solid #EDF2F8; }
tbody tr:first-child { border-top: 0; }
tbody tr:nth-child(even) { background: #FAFCFE; }
td:nth-child(2) { color: var(--muted); }
td:last-child { text-align: right; font-weight: 500; color: var(--blue); font-size: 14.5px; }
.table-note { padding: 16px 24px; font-size: 13.5px; color: var(--muted); background: var(--bg-soft); border-top: 1px solid var(--line); line-height: 1.7; }

/* --- Footer --- */
.site-foot { background: var(--navy-3); color: #93A9C4; padding: 58px 0 0; font-size: 14.3px; }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 42px; }
.site-foot .col-wide { flex: 1.5 1 270px; min-width: 240px; }
.site-foot .col { flex: 1 1 165px; }
.site-foot h4 { font-size: 11.5px; letter-spacing: .18em; color: #fff; margin-bottom: 18px; font-weight: 600; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.site-foot a { color: #93A9C4; }
.site-foot a:hover { color: #fff; }
.site-foot .logo-name { color: #fff; }
.site-foot .logo-name .dot { color: var(--blue-light); }
.site-foot .logo-mark { background: #0E2946; }
.foot-phone { color: #fff; font-weight: 600; font-size: 17.5px; letter-spacing: -.01em; }
.foot-bar {
  margin-top: 46px; padding: 20px 0; border-top: 1px solid #102C4C;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px;
}

/* --- Mobil zəng paneli --- */
.mobile-bar { display: none; }

@media (max-width: 860px) {
  .head-call { display: none; }
  .layout-side { position: static; }
  .fact { border-left: 0; padding-left: 0; padding-right: 0; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); box-shadow: 0 -16px 32px -26px rgba(11,37,69,.6);
  }
  .mobile-bar .btn { flex: 2; }
  .mobile-bar .btn-ghost { flex: 1; }
  body { padding-bottom: 82px; }
  .sec { padding: 58px 0; }
  .hero { padding: 44px 0 52px; }
  .cta { padding: 52px 0; }
}

@media (max-width: 680px) {
  /* Menyu sətir-sətir yayılmasın: üfüqi sürüşsün */
  .site-head .wrap { padding-bottom: 0; }
  .nav {
    flex-wrap: nowrap; overflow-x: auto; width: 100%; margin-left: 0;
    gap: 20px; padding: 10px 0 12px; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 18px; font-size: 13.5px; }
  .topbar { font-size: 11.5px; }
  .faq { padding: 2px 18px; }
  .card, .card-soft { padding: 22px; }
  .call-card-body, .call-card-head { padding-left: 20px; padding-right: 20px; }
}

@media print {
  .topbar, .nav, .mobile-bar, .cta, .call-card { display: none; }
  body { padding: 0; }
}
