/* base.css - Winners Stroy: токени (PLAN.md р.2), типография, бутони, отметки, карти, хедър, мобилно меню,
   секция снимка+текст, иконен ред, доверени клиенти, удостоверения, карти проекти, CTA, футър, мобилна лента,
   текст от редактора (.entry-content), съобщения .ws-greshka/.ws-uspeh. 1:1 от ws/makets/final/ws.css. */

@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/manrope-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/manrope-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(../assets/fonts/manrope-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(../assets/fonts/manrope-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url(../assets/fonts/manrope-cyrillic-800.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url(../assets/fonts/manrope-latin-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #080D18;
  --bg-2: #0F1B33;
  --bg-3: #142346;
  --line: #1E2D4D;
  --blue: #2F7BFF;
  --blue-2: #1E5EF0;
  --glow: rgba(47, 123, 255, .45);
  --txt: #FFFFFF;
  --mut: #B7C3D9;
  --silver: linear-gradient(180deg, #F4F6FA 0%, #AEB6C4 100%);
  --r-card: 14px;
  --r-btn: 10px;
  --r-icon: 12px;
  --container: 1200px;
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--txt); font: 400 17px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; font-feature-settings: "locl" 0; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.01em; hyphens: manual; }
h1 { font-size: 56px; line-height: 1.1; }
h2 { font-size: 40px; line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.35; }
p { margin: 0; }
.blue { color: var(--blue); }
.wrap { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.i { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- бутони ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: var(--r-btn); font: 600 15px/1.3 Manrope, sans-serif; border: 1px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; transition: background .2s, box-shadow .2s, border-color .2s; text-align: center; }
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); box-shadow: 0 6px 24px var(--glow); }
.btn .i { font-size: 18px; }
.btn--sec { background: transparent; }
.btn--sec:hover { background: rgba(47, 123, 255, .12); box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- елементи ---------- */
.num { display: flex; align-items: center; gap: 14px; color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: .2em; margin-bottom: 14px; }
.num::after { content: ""; flex: 0 0 80px; border-top: 1px solid var(--line); }
.lead { color: var(--mut); font-size: 19px; line-height: 1.55; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--txt); font-size: 16px; line-height: 1.5; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 12px var(--glow); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--mut); font-size: 14px; margin-bottom: 18px; }
.crumbs a { display: inline-flex; color: var(--blue); }
.crumbs .i { font-size: 16px; }
.crumbs span[aria-hidden] { opacity: .5; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-card); }
.ico { display: inline-grid; place-items: center; color: var(--blue); }

/* ---------- хедър ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(8, 13, 24, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(30, 45, 77, .6); transition: box-shadow .2s; }
.head.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.head .wrap { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 48px; height: auto; }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-n { font-weight: 800; font-size: 19px; letter-spacing: .01em; white-space: nowrap; }
.silver { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-s { margin-top: 5px; font-size: 8.5px; font-weight: 600; letter-spacing: .32em; color: var(--mut); white-space: nowrap; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav a { display: block; padding-block: 8px; font-size: 15px; font-weight: 600; color: #DDE5F2; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.head .btn { padding: 11px 18px; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--bg-2); color: #fff; place-items: center; cursor: pointer; }
.burger .i { font-size: 24px; }

/* мобилно меню на цял екран */
.mnav { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: none; flex-direction: column; padding: 18px 20px 28px; overflow-y: auto; }
.mnav.is-open { display: flex; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mnav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mnav li a { display: block; padding: 16px 4px; font-size: 22px; font-weight: 800; border-bottom: 1px solid var(--line); }
.mnav li a[aria-current="page"] { color: var(--blue); }
.mnav .btn { margin-top: 26px; }
.mnav-k { margin-top: 22px; display: grid; gap: 10px; color: var(--mut); font-size: 15px; }
.mnav-k a { display: flex; gap: 10px; align-items: center; color: #fff; }
.mnav .burger--x { display: grid; margin: 0; }

/* ---------- секция снимка + текст (над снимката на десктоп) ---------- */
.feat { display: grid; border-top: 1px solid var(--line); background: var(--bg); isolation: isolate; }
.feat > * { grid-area: 1 / 1; }
.feat-img { width: 100%; height: 0; min-height: 100%; object-fit: cover; z-index: -2; }
.feat-ov { z-index: -1; background: linear-gradient(90deg, var(--bg) 0%, rgba(8, 13, 24, .94) 34%, rgba(8, 13, 24, .55) 52%, rgba(8, 13, 24, 0) 72%); }
.feat.obratno .feat-ov { background: linear-gradient(270deg, var(--bg) 0%, rgba(8, 13, 24, .94) 34%, rgba(8, 13, 24, .55) 52%, rgba(8, 13, 24, 0) 72%); }
.feat-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-block: 84px; }
.feat.obratno .feat-tx { grid-column: 2; }
.feat-tx { display: grid; gap: 18px; align-content: center; }
.feat-tx .btns { margin-top: 10px; }
.feat--hero .feat-in { padding-block: 72px 84px; }
.feat--hero h1 { font-size: 56px; }
.feat--hero .feat-ov { background: linear-gradient(90deg, var(--bg) 0%, rgba(8, 13, 24, .92) 36%, rgba(8, 13, 24, .45) 58%, rgba(8, 13, 24, .05) 80%); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 10px 14px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .ico { font-size: 44px; filter: drop-shadow(0 0 10px var(--glow)); }
.stat span { font-size: 15px; font-weight: 600; line-height: 1.35; }

/* ---------- доверени клиенти и удостоверения (PLAN.md ИЗМЕНЕНИЯ 15.11.2026, A11) ---------- */
.kl { display: flex; flex-wrap: wrap; gap: 20px; }
.kl-i { display: grid; place-items: center; padding: 22px 34px; background: #fff; border-radius: var(--r-card); }
.kl-i img { height: 56px; width: auto; }
.sert { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sert-i { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; transition: border-color .2s, background .2s; }
.sert-i:hover { border-color: var(--blue); background: var(--bg-3); }
.sert-i img { border-radius: 8px; }
.sert-b { display: grid; gap: 8px; }
.sert-b p { color: var(--mut); font-size: 15px; line-height: 1.5; }

/* ---------- проекти ---------- */
.sec { padding-block: 72px; border-top: 1px solid var(--line); }
.sec-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: 32px; }
.sec-h > div { display: grid; gap: 10px; }
.sec-h p { color: var(--mut); }
.pgrid { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 20px; }
.pgrid--3 { --cols: 3; }
.pk { display: grid; grid-template-rows: auto 1fr; transition: border-color .2s, background .2s, transform .2s; }
.pk:hover { border-color: var(--blue); background: var(--bg-3); transform: translateY(-3px); }
.pk-ph { border-radius: calc(var(--r-card) - 1px) calc(var(--r-card) - 1px) 0 0; aspect-ratio: 4 / 3; display: grid; place-items: center; align-content: center; gap: 8px; background: repeating-linear-gradient(135deg, #1A2540 0 12px, #1D2946 12px 24px); color: #7D8BA8; font-size: 13px; font-weight: 600; text-align: center; padding: 16px; }
.pk-ph .i { font-size: 30px; }
.pk-b { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 16px 18px 18px; }
.pk-b h3 { font-size: 16px; line-height: 1.35; }
.pk-b p { grid-column: 1; color: var(--mut); font-size: 14px; line-height: 1.5; }
.pk-b .i { grid-column: 2; grid-row: 1 / span 2; color: var(--blue); font-size: 22px; }

/* ---------- CTA лента ---------- */
.cta { display: grid; border-top: 1px solid var(--line); isolation: isolate; }
.cta > * { grid-area: 1 / 1; }
.cta-img { width: 100%; height: 0; min-height: 100%; object-fit: cover; z-index: -2; }
.cta-ov { z-index: -1; background: linear-gradient(90deg, rgba(8, 13, 24, .96) 0%, rgba(8, 13, 24, .86) 45%, rgba(8, 13, 24, .55) 100%); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; padding-block: 56px; }
.cta-tx { display: grid; gap: 12px; }
.cta-tx p { color: var(--mut); }
.cta-ic { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; margin-top: 18px; }
.cta-ic div { display: grid; justify-items: center; gap: 8px; padding: 4px 22px; text-align: center; border-left: 1px solid var(--line); font-size: 14px; font-weight: 600; line-height: 1.35; }
.cta-ic div:first-child { border-left: 0; padding-left: 0; }
.cta-ic .ico { font-size: 34px; filter: drop-shadow(0 0 10px var(--glow)); }
.cta .btns { justify-content: flex-end; }

/* ---------- футър ---------- */
.foot { background: #060A13; border-top: 1px solid var(--line); color: var(--mut); font-size: 15px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; padding-block: 56px 40px; }
.foot h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a:hover { color: #fff; }
.foot-k li { display: flex; gap: 12px; align-items: flex-start; }
.foot-k .i { color: var(--blue); font-size: 18px; margin-top: 3px; }
.foot-slogan { margin-top: 16px; font-size: 15px; line-height: 1.55; }
.foot-low { border-top: 1px solid var(--line); }
.foot-low .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-block: 20px; font-size: 14px; }
.foot-low a { color: var(--mut); }
.foot-low a:hover { color: #fff; }

/* мобилна лента */
.mbar { display: none; }

/* ---------- базов слой: текст от редактора (страници, политика) ---------- */
.page-h { padding-block: 56px 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.page-h h1 { font-size: 48px; }
.page-h p { color: var(--mut); margin-top: 12px; font-size: 19px; }
.entry-content { padding-block: 48px 72px; display: grid; gap: 20px; font-size: 17px; line-height: 1.7; color: #DCE3EF; }
.entry-content > * { margin: 0; }
.entry-content h2 { font-size: 34px; margin-top: 16px; color: #fff; }
.entry-content h3 { font-size: 24px; margin-top: 8px; color: #fff; }
.entry-content h4 { font-size: 19px; color: #fff; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; display: grid; gap: 8px; }
.entry-content li::marker { color: var(--blue); font-weight: 800; }
.entry-content blockquote { margin: 0; padding: 18px 24px; border-left: 3px solid var(--blue); background: var(--bg-2); border-radius: 0 var(--r-card) var(--r-card) 0; font-size: 19px; color: #fff; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { color: #fff; background: var(--bg-2); }
.entry-content .tbl { overflow-x: auto; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 12px; }
.entry-content figure { margin: 0; display: grid; gap: 8px; }
.entry-content figure img { border-radius: var(--r-card); }
.entry-content figcaption { color: var(--mut); font-size: 14px; }

/* съобщения (форми и др.) */
.ws-greshka, .ws-uspeh { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-btn); font-weight: 600; }
.ws-greshka { border: 1px solid rgba(255, 92, 92, .55); background: rgba(255, 92, 92, .1); color: #FF7A7A; }
.ws-uspeh { border: 1px solid rgba(47, 200, 120, .45); background: rgba(47, 200, 120, .1); }
.ws-uspeh .i { color: #3DDC84; font-size: 26px; }

/* редакторът на WordPress (блокове) в базовия слой */
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .wp-block-image img, .entry-content .wp-block-gallery img { border-radius: var(--r-card); }
.entry-content .wp-block-image figcaption, .entry-content .wp-element-caption { color: var(--mut); font-size: 14px; }
.entry-content .wp-block-button__link { display: inline-flex; padding: 14px 24px; border-radius: var(--r-btn); background: var(--blue); color: #fff; font: 600 15px/1.3 Manrope, sans-serif; text-decoration: none; }
.entry-content .btn { text-decoration: none; color: #fff; }
.ws-spisak { list-style: none; padding: 0; display: grid; gap: 22px; }
.ws-spisak h2 { font-size: 24px; }
.ws-spisak a { color: #fff; text-decoration: none; }
.ws-spisak p { color: var(--mut); margin-top: 6px; }

/* ================= до 1200 ================= */
@media (max-width: 1200px) {
  .nav ul { gap: 18px; }
  .nav a { font-size: 14px; }
  .head .wrap { gap: 20px; }
}
/* ================= таблет до 1024 ================= */
@media (max-width: 1024px) {
  :root { --head-h: 70px; }
  .nav, .head .btn { display: none; }
  .burger { display: grid; }
  .pgrid, .pgrid--3 { --cols: 2; }
  .cta-in { grid-template-columns: minmax(0, 1fr); }
  .cta .btns { justify-content: flex-start; }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-in > div:first-child { grid-column: 1 / -1; }
}
/* ================= мобилно до 768 ================= */
@media (max-width: 768px) {
  .sert { grid-template-columns: minmax(0, 1fr); }
  .sert-i { grid-template-columns: 110px minmax(0, 1fr); }
  .kl-i { flex: 1 1 100%; }
  body { font-size: 16px; padding-bottom: 72px; }
  h1, .feat--hero h1 { font-size: 34px; line-height: 1.15; }
  h2 { font-size: 28px; }
  .lead { font-size: 17px; }
  .brand img { width: 40px; }
  .brand-n { font-size: 17px; }
  .feat-tx .btns, .cta .btns { flex-direction: column; align-items: stretch; width: 100%; }
  .feat > * { grid-area: auto; }
  .feat-ov { display: none; }
  .feat-img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .feat.obratno .feat-tx { grid-column: auto; }
  .feat-in { grid-template-columns: minmax(0, 1fr); padding-block: 32px 48px; }
  .feat--hero .feat-in { padding-block: 28px 44px; }
  .feat--hero .feat-img { order: 2; }
  .feat--hero .feat-in { order: 1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .sec { padding-block: 48px; }
  .pgrid, .pgrid--3 { --cols: 1; }
  .sec-h { align-items: flex-start; }
  .cta-in { padding-block: 44px; }
  .cta-ic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .cta-ic div:nth-child(3) { border-left: 0; padding-left: 0; }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 44px 32px; }
  .page-h h1 { font-size: 34px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 13, 24, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar .btn { padding: 13px 10px; }
}
