/* Solution.az – qırmızı üstünlüklü palitra */
:root {
  --red: #E0182F;          /* düymələr, hero fonu (ağ mətnlə kontrast 4.8:1) */
  --red-dark: #B30F24;     /* linklər və mətn (ağ fonda 6.9:1) */
  --red-bright: #FE3B49;   /* loqonun qırmızısı, tünd fonda vurğu */
  --red-tint: #FBE8EB;
  --maroon: #2A0A10;
  --maroon-2: #3D1119;
  --footer: #1B070B;
  --paper: #FBF7F6;
  --white: #FFFFFF;
  --ink: #1E1214;
  --muted: #6A5459;
  --line: #EADDDF;
  --display: "IBM Plex Sans Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --text: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--red-dark); text-underline-offset: 3px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.lead { font-size: 1.2rem; max-width: 52ch; }

/* Düymələr */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; border: 2px solid var(--red); background: var(--red); color: #fff; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--red-dark); border-color: var(--red); }
.btn.ghost:hover { background: var(--red-tint); }
.btn.light { background: #fff; border-color: #fff; color: var(--red-dark); }
.btn.light:hover { background: var(--red-tint); border-color: var(--red-tint); }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn.ghost-light:hover { background: rgba(255,255,255,.14); }

/* Üst zolaq və header */
.topbar { background: var(--maroon); color: #F3D9DD; font-size: .9rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; min-height: 38px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; margin-left: 20px; }
.topbar a:hover { text-decoration: underline; }
.topbar-links a:first-child { margin-left: 0; }
.langs { display: inline-flex; gap: 4px; margin-left: 20px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); }
.topbar .langs a { margin: 0; padding: 3px 9px; border-radius: 6px; font-weight: 600; font-size: .85rem; }
.topbar .langs a:hover { background: rgba(255,255,255,.14); text-decoration: none; }
.topbar .langs a[aria-current="true"] { background: #fff; color: var(--maroon); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 72px; position: relative; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: min(196px, calc(100vw - 168px)); height: auto; }
.site-footer .brand img { width: min(240px, 100%); }
nav.primary { margin-left: auto; }
nav.primary ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: block; padding: 12px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-link:hover { background: var(--red-tint); }
.nav-link[aria-current="page"] { color: var(--red-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-cta { margin-left: 10px; min-height: 44px; padding: 0 20px; font-size: .95rem; }
.menu-toggle { display: none; margin-left: auto; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: none; color: var(--ink); font: 600 .95rem var(--text); cursor: pointer; }

/* Hero */
.hero { background: var(--red); background-image: repeating-radial-gradient(circle at 76% 52%, transparent 0 52px, rgba(255,255,255,.07) 52px 54px); color: #fff; padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 34px 0 0; font-weight: 500; }
.facts li { position: relative; padding-left: 26px; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); }
.monitor { width: 100%; height: auto; display: block; filter: drop-shadow(0 26px 34px rgba(70, 0, 14, .5)); }
.monitor .scene * { fill: none; stroke: #fff; stroke-opacity: .32; stroke-width: 1.5; }
.monitor .scene .bbox { stroke: var(--red-bright); stroke-opacity: 1; stroke-width: 1.8; }
.monitor .bbox-text { fill: var(--red-bright); font: 600 10px var(--text); }
.monitor .bracket { fill: none; stroke: #fff; stroke-opacity: .55; stroke-width: 1.6; }
.monitor .osd { fill: #fff; fill-opacity: .88; font: 600 11px var(--text); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.monitor .rec-dot { fill: #FF3B52; animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .12; } }

/* Bölmələr */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec.tint { background: var(--red-tint); }
.sec.dark { background: var(--maroon); color: #F7E6E8; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 44px; }
.sec-head p { color: var(--muted); max-width: 52ch; }
.sec.dark .sec-head p { color: #CDA9AF; }
.sub { margin: 48px 0 16px; }

/* İki istiqamət */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.area { border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.area.light { background: #fff; border: 1px solid var(--line); }
.area.dark { background: var(--maroon); color: #F7E6E8; }
.area h3 { font-size: 1.9rem; margin-bottom: 12px; }
.area > p { color: var(--muted); }
.area.dark > p { color: #CDA9AF; }
.area ul { list-style: none; padding: 0; margin: 24px 0 28px; }
.area li { padding: 12px 0 12px 24px; border-top: 1px solid var(--line); position: relative; }
.area.dark li { border-color: rgba(255,255,255,.14); }
.area li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 3px; background: var(--red); }
.area.dark li::before { background: var(--red-bright); }
.text-link { margin-top: auto; font-weight: 600; }
.area.dark .text-link { color: #fff; }

/* Paketlər */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; }
.plan.featured { border: 2px solid var(--red); box-shadow: 0 22px 44px -24px rgba(200,16,46,.55); }
.badge { position: absolute; top: -14px; left: 28px; background: var(--red); color: #fff; font: 600 .82rem/1 var(--text); padding: 8px 14px; border-radius: 999px; }
.plan .for { color: var(--muted); margin-top: 6px; }
.plan .cams { margin-top: 18px; font: 700 1.05rem var(--display); color: var(--red-dark); }
.plan .price { margin: 4px 0 20px; font: 700 1.7rem var(--display); }
.plan .price .ask { font: 500 1rem var(--text); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; }
.plan li { padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 11px; height: 6px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }

/* Xidmət sətirləri */
.rows { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) auto; gap: 24px; align-items: center; padding: 26px 4px; border-top: 1px solid var(--line); }
.rows.two .row { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); }
.row h3 { font-size: 1.45rem; }
.row p { color: var(--muted); }
.row a { font-weight: 600; white-space: nowrap; }
.row:hover { background: rgba(255,255,255,.6); }
.tint .rows, .tint .row { border-color: #F0CDD3; }

/* Çiplər */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid #F0CDD3; color: var(--red-dark); font-weight: 500; }

/* Proses */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { position: relative; padding-top: 34px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--red-bright); }
.steps li::after { content: ""; position: absolute; top: 7px; left: 26px; right: -20px; height: 2px; background: rgba(255,255,255,.2); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 10px; color: #fff; font-size: 1.4rem; }
.steps p { color: #CDA9AF; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-wrap h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font: 600 1.15rem var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 500 1.8rem/1 var(--text); color: var(--red-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); }

/* CTA */
.cta { background: var(--red); color: #fff; padding-block: clamp(40px, 6vw, 72px); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 22ch; margin-bottom: 10px; }
.cta p { color: #fff; }
.cta a:not(.btn) { color: #fff; }

/* Daxili səhifə başlığı */
.page-hero { background: var(--red); background-image: repeating-radial-gradient(circle at 88% 50%, transparent 0 44px, rgba(255,255,255,.07) 44px 46px); color: #fff; padding-block: clamp(44px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 16px; }
.page-hero .lead { color: #fff; }

/* IT xidmət blokları */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); padding-block: 40px; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.svc p { color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.checklist li { position: relative; padding: 14px 16px 14px 46px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.checklist li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 12px; height: 7px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

/* Əlaqə */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 44px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; font: 400 1rem var(--text); color: var(--ink); background: var(--paper); border: 1.5px solid #D9C6C9; border-radius: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(200,16,46,.25); border-color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--red-dark); background: #FFF5F6; }
.err { color: var(--red-dark); font-size: .92rem; margin-top: 6px; font-weight: 500; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 24px; }
.alert.ok { background: #E9F6EE; color: #14532D; border: 1px solid #B7E0C5; }
.alert.bad { background: var(--red-tint); color: var(--red-dark); border: 1px solid #F0B8C0; }
.contact-info { background: var(--maroon); color: #F7E6E8; border-radius: 22px; padding: clamp(24px, 4vw, 40px); }
.contact-info h2 { font-size: 1.7rem; margin-bottom: 20px; }
.contact-info dt { color: #CDA9AF; font-size: .9rem; margin-top: 18px; }
.contact-info dd { margin: 4px 0 0; font-weight: 500; font-size: 1.1rem; }
.contact-info a { color: #fff; }

/* Footer */
.site-footer { background: var(--footer); color: #D9BEC3; padding-block: 56px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid h3 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a:not(.brand) { color: #D9BEC3; text-decoration: none; }
.foot-grid a:not(.brand):hover { color: #fff; text-decoration: underline; }
.foot-note { margin-top: 14px; max-width: 34ch; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }

/* Mobil */
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  nav.primary { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; margin: 0; }
  nav.primary.open { display: block; }
  nav.primary ul { flex-direction: column; align-items: stretch; }
  .header-cta { margin: 12px 0 0; }
}
@media (max-width: 960px) {
  .hero-grid, .sec-head, .duo, .plans, .svc, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 28px 40px; }
  .steps li::before { top: 4px; }
  .steps li::after { display: block; top: 24px; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .steps li:last-child::after { display: none; }
  .row, .rows.two .row { grid-template-columns: 1fr; gap: 8px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .plans { gap: 30px; }
}
@media (max-width: 600px) {
  .hide-sm, .topbar-note { display: none; }
  .langs { margin-left: 14px; padding-left: 14px; }
  .two, .foot-grid { grid-template-columns: 1fr; }
  .topbar-in { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .monitor .rec-dot { animation: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Brend karuseli */
.brands-sec { padding-block: clamp(44px, 6vw, 76px); overflow: hidden; }
.brands-head { grid-template-columns: 1fr; text-align: center; margin-bottom: 36px; }
.brands-head p { margin-inline: auto; }
.brand-strip { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); width: max-content; animation: brand-scroll 32s linear infinite; }
.brand-logo { display: inline-flex; align-items: center; height: 34px; color: var(--ink); opacity: .55; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; flex: none; }
.brand-logo:hover { opacity: 1; filter: grayscale(0); color: var(--red); }
.brand-logo img { height: 100%; width: auto; display: block; }
@keyframes brand-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brand-track { animation: none; overflow-x: auto; } }

/* Footer admin keçidi */
.admin-link { opacity: .55; font-size: .82rem; }
.admin-link:hover { opacity: 1; }

/* Sosial şəbəkə ikonları */
.socials { display: inline-flex; align-items: center; gap: 12px; margin-left: 20px; }
.socials a { color: #fff; opacity: .85; display: inline-flex; }
.socials a:hover { opacity: 1; }
.foot-socials { display: flex; gap: 12px; margin-top: 16px; }
.foot-socials a { color: #D9BEC3; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.foot-socials a:hover { color: #fff; border-color: rgba(255,255,255,.4); }

/* Blog */
.blog-list { display: grid; gap: 20px; }
.blog-card { display: block; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: inherit; }
.blog-card:hover { border-color: var(--red); }
.blog-card time { color: var(--red-dark); font-weight: 600; font-size: .88rem; }
.blog-card h2 { font-size: 1.4rem; margin: 8px 0 10px; }
.blog-card p { color: var(--muted); }
.blog-post time { color: var(--red-dark); font-weight: 600; }
.blog-post h1 { margin: 10px 0 26px; }
.blog-post .body { max-width: 70ch; font-size: 1.08rem; }
.blog-post .body p { margin-bottom: 20px; color: var(--ink); }
.blog-back { display: inline-block; margin-bottom: 18px; font-weight: 600; }
