/* Pozitron Grup 2026 – stil principal */
:root {
  --navy: #0b1530;
  --navy-2: #13224a;
  --ink: #16203a;
  --text: #3b4560;
  --muted: #6b7491;
  --line: #e3e7f1;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --accent: #19c3a6;
  --accent-2: #4f7cff;
  --accent-ink: #0a8f79;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 21, 48, .06), 0 8px 24px rgba(11, 21, 48, .06);
  --shadow-hover: 0 2px 4px rgba(11, 21, 48, .08), 0 16px 40px rgba(11, 21, 48, .12);
  --container: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.icon { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.icon.sm { width: 18px; height: 18px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 1.15rem;
}
.brand-logo { height: 46px; width: auto; }
.brand-light { background: #fff; padding: 8px 12px; border-radius: 12px; }
.brand-light .brand-logo { height: 52px; }
.brand-text { font-size: 1.2rem; letter-spacing: -.02em; }
.brand-text span { font-weight: 500; color: var(--muted); margin-left: 4px; }
.brand-light { color: #fff; }
.brand-light .brand-text span { color: #a9b3d1; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .97rem; }
.main-nav a:hover { background: var(--bg-alt); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent-ink); background: #e6f8f4; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .8rem; font-weight: 700; }
.lang-switch span { padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.lang-switch span.on { background: var(--navy); color: #fff; }
.lang-switch:hover { text-decoration: none; border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.nav-toggle .i-close { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04221c; box-shadow: 0 6px 18px rgba(25, 195, 166, .35); }
.btn-primary:hover { background: #22d4b6; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-ghost-dark { color: var(--ink); border-color: var(--line); }
.btn-light { background: #fff; color: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #c9d1ea; padding: 96px 0 72px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(79, 124, 255, .35), transparent 60%),
    radial-gradient(500px 380px at 10% 90%, rgba(25, 195, 166, .28), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px;
}
.hero-inner { position: relative; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { font-size: 1.2rem; max-width: 60ch; color: #c9d1ea; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.eyebrow a { color: inherit; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 56px 0 0; max-width: 760px; }
.stats div { border-left: 2px solid rgba(255, 255, 255, .15); padding-left: 16px; }
.stats dt { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stats dd { margin: 4px 0 0; font-size: .9rem; color: #a9b3d1; }

.page-hero { background: linear-gradient(180deg, var(--bg-alt), #fff); padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero .lead { font-size: 1.15rem; max-width: 65ch; color: var(--muted); }
.title-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #e6f8f4; color: var(--accent-ink); margin-right: 14px; vertical-align: middle; }
.title-icon .icon { width: 28px; height: 28px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.block-title { margin: 56px 0 24px; }

.grid { display: grid; gap: 20px; }
.grid-projects { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-services { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-courses { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin-top: 32px; }
.grid-values { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; color: var(--text); box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
a.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #cfd6e8; }
.card h3 { margin: 6px 0 8px; }
.card p { font-size: .97rem; margin-bottom: 18px; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #e6f8f4, #e9efff); color: var(--accent-ink); margin-bottom: 14px; }
.card-icon .icon { width: 26px; height: 26px; }
.card-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-2); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .93rem; color: var(--accent-ink); }
.project-card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: 0; transition: opacity .18s;
}
.project-card:hover::after { opacity: 1; }

.product-card { padding: 0; overflow: hidden; }
.product-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; padding: 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

/* ---------- Content ---------- */
.prose-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.checklist { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--accent-ink); margin-top: 4px; }
.price-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: .97rem; }
.price-table th, .price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { font-weight: 500; color: var(--text); }
.price-table td { font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
.note { background: var(--bg-alt); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: .95rem; }
.side-cta { position: sticky; top: calc(var(--header-h) + 24px); background: var(--navy); color: #c9d1ea; border-radius: var(--radius); padding: 28px; }
.side-cta h2 { color: #fff; font-size: 1.25rem; }
.side-cta a:not(.btn) { color: #fff; }
.side-cta .btn { width: 100%; margin: 8px 0 14px; }
.company-card { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.company-card h2 { color: var(--ink); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: .93rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.value { background: var(--bg-alt); border-radius: 12px; padding: 18px; }
.value h3 { font-size: 1rem; }
.value p { font-size: .93rem; margin: 0; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--ink); }
.archive-card { align-items: flex-start; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list li > .icon { color: var(--accent-ink); margin-top: 3px; }
.info-list strong { display: block; color: var(--ink); font-size: .9rem; }
.info-list a, .info-list span { overflow-wrap: anywhere; }
.contact-form h2 { font-size: 1.4rem; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfd6e8; border-radius: 10px; background: #fff;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 3px solid rgba(25, 195, 166, .2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: .95rem; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert-ok { background: #e6f8f4; color: #075e50; display: flex; gap: 8px; align-items: center; }
.alert-err { background: #fdecec; color: #8a1c1c; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #c9d1ea; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #070e22; color: #a9b3d1; padding: 64px 0 0; font-size: .95rem; }
.site-footer a { color: #d6dcef; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-title { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.site-footer .muted { color: #8792b3; margin-top: 14px; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding: 20px; font-size: .85rem; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .prose-wrap, .contact-grid { grid-template-columns: 1fr; }
  .side-cta { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-hover);
    display: none; padding: 12px 20px 20px;
  }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; }
  body.nav-open .main-nav { display: block; }
  body.nav-open .nav-toggle .i-open { display: none; }
  body.nav-open .nav-toggle .i-close { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 64px 0 48px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-courses { grid-template-columns: 1fr; }
  .price-table td { white-space: normal; }
  .title-icon { display: none; }
  .brand-logo { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b5bdd3; }
.breadcrumbs a { color: var(--accent-ink); }
.breadcrumbs [aria-current] { color: var(--muted); }
.word-hint { margin: -8px 0 16px; }
.word-hint.ok { color: var(--accent-ink); }
.field-math input { max-width: 120px; }
