/* ===========================================================================
   Фирменият сайт на „ПТС България“ ООД.

   Стои НАД pts.css и не пипа нищо от него: хапчетата, полетата и плочките
   на обученията са същите, защото обученията са раздел на този сайт, а не
   втори свят. Тук са само нещата, които сайтът добавя — шапката с менюто,
   заглавната, разделите с текст, схемите, новините и подвалът.

   Префикс: .st-  (сайт)
   =========================================================================== */

:root {
  --st-line: #e2e7df;
  --st-tint: #f5f8f3;
  --st-ink: #2a2f28;
  --st-muted: #6d756a;
}

/* ------------------------------------------------- работа с клавиатура ---

   Целият сайт трябва да се минава само с Tab. Затова: видим пръстен на
   всичко, което се натиска, прескачане на менюто най-отгоре, и бургерът
   да се отваря с клавиш, а не само с мишка.
   ------------------------------------------------------------------------ */

.st-skip {
  position: absolute;
  left: 24px;
  top: -80px;
  z-index: 60;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  background: var(--s-green, #57823C);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top .18s;
}
.st-skip:focus { top: 0; }

/* Един пръстен за всичко. `:focus-visible` значи: показва се при клавиш,
   не при щракане с мишка. */
.st-top a:focus-visible,
.st-top button:focus-visible,
.st-skip:focus-visible,
.st-btn:focus-visible,
.st-tile a:focus-visible,
.st-scheme:focus-visible,
.st-news-card a:focus-visible,
.st-foot a:focus-visible,
.st-partners a:focus-visible,
.st-find-layer button:focus-visible,
.st-find-layer input:focus-visible,
.st-past-row:focus-visible,
.st-doc:focus-visible,
.st-post h2 a:focus-visible,
.st-map a:focus-visible {
  outline: 2px solid var(--s-green, #57823C);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Върху тъмния пояс пръстенът е бял, иначе не се вижда. */
.st-sec-news a:focus-visible,
.st-foot a:focus-visible { outline-color: #fff; }

/* Бургерът го има само на тесен екран. На широк отметката е напълно
   изключена — иначе Tab спира на копче, което не се вижда. */
.st-burger-box { display: none; }
.st-burger-box:focus-visible + .st-burger {
  outline: 2px solid var(--s-green, #57823C);
  outline-offset: 3px;
}

/* ------------------------------------------------------------- шапката ---

   Мерена от ptsbg.eu: ФИКСИРАНА, 96 px, напълно ПРОЗРАЧНА (и при скрол),
   без кант и без сянка. Лого 111×56, връзки 15/15 тегло 600 в #666,
   активната — зелена. Вдясно: English, телефон, лупа.
   ------------------------------------------------------------------------ */

/* Шапката е прозрачна, значи зад нея се вижда ФОНЪТ НА СТРАНИЦАТА.
   `pts.css` боядисва `body` в сиво заради панела — на сайта той е бял,
   иначе над героя стои сива ивица, каквато в оригинала няма. */
body { background: #fff; }

.st-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}
/* Шапката НЕ е напълно прозрачна: под нея стои слой бяло 70% с размазване
   5 px — мерено от сайта (`header::after`, z-index -1). Заради него
   надписите се четат и над снимка, без лентата да изглежда плътна. */
.st-top::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* На върха го НЯМА. Появява се чак когато страницата тръгне надолу. */
  opacity: 0;
  transition: opacity .33s;
}
body.scrolled .st-top::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .st-top::after { transition: none; }
}
.st-top-in { position: relative; height: 96px; display: flex; align-items: center; gap: 24px; }
.st-logo { flex: none; display: flex; align-items: center; text-decoration: none; }
.st-logo img { display: block; width: 111px; height: 56px; }
/* Лозунгът НЕ е нарисуван в логото — на сайта той е псевдоелемент до него,
   отделен с тънка сива черта. Мерки от ptsbg.eu: 13/14,625 курсив, #3E3E3E,
   80 px широк, кант 2 px #E0E0E0, отстъп 9,75 от двете страни на канта. */
.st-logo::after {
  /* Преносът е ЗАДЪЛЖЕН, а не оставен на шрифта: „When Quality“ мери
     81,6 px в нашия Open Sans, а полето е 80 — при автоматичен пренос
     надписът пада на три реда вместо на два. */
  content: 'When Quality\A Matters';
  white-space: pre;
  display: block;
  box-sizing: content-box;
  margin-left: 9.75px;
  padding-left: 9.75px;
  border-left: 2px solid #e0e0e0;
  font-size: 13px;
  line-height: 14.625px;
  font-style: italic;
  font-weight: 400;
  color: #3e3e3e;
}

/* Мерки от сайта (при 1440): връзките са през 30 px (всяко li носи по
   15 px от двете страни), менюто завършва на 1008, а English тръгва на
   1039 — тоест 31 px след последната връзка. */
.st-nav { display: flex; align-items: center; gap: 30px; margin: 0 15px 0 auto; }
/* ПАДАЩО МЕНЮ НЯМА — на сайта под връзката израства зелена черта.
   Мерки от него: 1 px висока, разперена 7,5 px встрани, 4,75 px под
   текста, расте от ДЕСНИЯ край за 0,2 s. Активната връзка е само зелена. */
.st-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #666;
  font-size: 15px;
  line-height: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.st-nav > a::before {
  content: '';
  position: absolute;
  left: -7.5px;
  right: -7.5px;
  bottom: -4.75px;
  height: 1px;
  background: var(--s-green, #57823C);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s;
}
.st-nav > a:hover::before,
.st-nav > a:focus-visible::before { transform: scaleX(1); }
.st-nav > a:hover { color: var(--s-green, #57823C); }
.st-nav > a.on { color: var(--s-green, #57823C); }
@media (prefers-reduced-motion: reduce) {
  .st-nav > a::before { transition: none; }
}

.st-end { flex: none; display: flex; align-items: center; gap: 18px; margin-left: 16px; }
.st-lang, .st-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #666;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
/* На сайта са 16×16; по негово искане са малко по-едри — 19×19, но и
   трите еднакви. Зелени, а надписите сиви. */
.st-lang svg, .st-phone svg, .st-search svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--s-green, #57823C);
}
.st-lang:hover, .st-phone:hover { color: var(--s-green, #57823C); }
.st-search {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: #666;
  cursor: pointer;
}
.st-search:hover { color: var(--s-green, #57823C); }

/* Вратата към академията е НАША добавка — затова е тихо копче, не крещи
   над менюто на фирмата. */
/* Кутията с нашите копчета започва ВЕДНАГА след колоната — на еднакво
   разстояние от лупата при всяка ширина на екрана. Така не бута English,
   телефона и лупата от местата им (1039 · 1130 · 1310), но и не отлита
   към ръба на широк монитор. */
.st-me {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Същото копче като „Актуални обучения“ в героя: 46 px високо, текст
   16/w600, отстъп 28 встрани, кант 1 px и кръгли краища. Преди беше
   34 px и текстът седеше натясно вътре. */
.st-enter {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 28px;
  border: 1px solid var(--s-green, #57823C);
  border-radius: 60px;
  color: var(--s-green, #57823C);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.st-enter:hover { background: var(--s-green, #57823C); color: #fff; }
.st-out { display: inline-flex; }
.st-out button {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: #8a8a8a;
  cursor: pointer;
}
.st-out svg { width: 19px; height: 19px; }
.st-out button:hover { color: var(--s-orange, #CF4911); }

/* Съдържанието започва ПОД фиксираната шапка. */
body { padding-top: 76px; }

.st-burger { display: none; }

/* Полето отстрани стига за кутията чак до 1400 px; под тази ширина тя се
   връща в реда при другите. */
/* Под 1480 полето вдясно вече не носи голямото копче и то се връща в
   реда. Там връзките неизбежно се отместват наляво — иначе копчето
   трябва да влезе в колоната. */
@media (max-width: 1480px) {
  .st-me { position: static; transform: none; margin-left: 16px; }
  .st-end { gap: 14px; }
}
@media (max-width: 1240px) {
  .st-end { margin-left: 20px; gap: 12px; }
  .st-phone span { display: none; }
  .st-nav { gap: 20px; }
}
@media (max-width: 980px) {
  .st-top { background: #fff; box-shadow: 0 2px 14px rgba(34, 39, 34, .08); }
  .st-top-in { height: 68px; gap: 12px; }
  .st-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0 9px;
    border: 1px solid #e2e7df;
    border-radius: 10px;
    cursor: pointer;
  }
  .st-burger span { display: block; height: 2px; background: #3e3e3e; border-radius: 2px; }
  /* Тук отметката се връща: скрита за окото, но хваща фокус с Tab. */
  .st-burger-box {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
  }
  .st-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(34, 39, 34, .12);
    display: none;
  }
  .st-burger-box:checked ~ .st-nav { display: flex; }
  .st-drop-menu { position: static; display: block; margin: 8px 0 0; padding: 0 0 0 14px; box-shadow: none; }
  .st-end { margin-left: 0; }
  body { padding-top: 68px; }
}

/* ------------------------------------------------- слоят за търсене ------ */

.st-find-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.st-find-layer::backdrop { background: rgba(34, 39, 34, .35); }
.st-find-close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #666;
  cursor: pointer;
}
.st-find-close:hover { background: #f1f5ee; color: var(--s-green, #57823C); }
.st-find-close svg { width: 22px; height: 22px; }
.st-find-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 22vh 24px 0;
  text-align: center;
}
.st-find-form h2 {
  margin: 0 0 32px;
  font-size: 44px;
  line-height: 59.4px;
  font-weight: 300;
  color: #3e3e3e;
}
.st-find-box { display: flex; gap: 12px; margin: 0; }
.st-find-box input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 22px;
  border: 1px solid #e0e0e0;
  border-radius: 60px;
  background: #fff;
  font: inherit;
  font-size: 17px;
}
.st-find-box input:focus {
  outline: 0;
  border-color: var(--s-green, #57823C);
  box-shadow: 0 0 0 3px rgba(87, 130, 60, .14);
}
.st-find-box button {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--s-orange, #CF4911);
  color: #fff;
  cursor: pointer;
}
.st-find-box button:hover { background: #b23c0c; }
.st-find-box svg { width: 22px; height: 22px; }
.st-find-hint { display: block; margin-top: 16px; font-size: 13.5px; color: #666; }

/* ----------------------------------------------------------- заглавната ---

   ВСИЧКО тук е мерено от ptsbg.eu при ширина 1425 px, не е гадано:
   колона 1226, герой 565 + 613, заглавие 56/63 тегло 400, абзац 18/31,5 с
   отстъп 108, копчета 50 px, снимка 613×730 с ъгли 100/100/0/100.
   ------------------------------------------------------------------------ */

/* Колоната е 1226 px СЪДЪРЖАНИЕ; 24-те пиксела отстрани са само за тесни
   екрани, затова максимумът е 1226 + 48. */
.st-wrap { max-width: 1274px; margin: 0 auto; padding: 0 24px; }

/* 100 px отгоре: толкова стои и на сайта под 96-пикселовата шапка
   (заглавието започва на 176 px от горния ръб). */
/* 100 px отгоре и 157 отдолу: при тези числа заглавието пада на 176 px,
   а разделът с услугите — на 1063, както е на сайта. От това зависи и
   пчелната пита, която виси 520 px над услугите. */
.st-hero { position: relative; padding: 100px 0 157px; background: #fff; }
/* Бледият панел горе вдясно: 30% от ширината, 800 висок, с голям ъгъл
   долу вляво. На сайта е body::after. */
.st-hero::after {
  content: '';
  position: absolute;
  top: -76px;
  right: 0;
  width: 30%;
  height: 800px;
  background: rgba(202, 213, 196, .3);
  border-radius: 0 0 0 300px;
  z-index: 0;
}

.st-hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 565px minmax(0, 613px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}
.st-hero h1 {
  position: relative;
  margin: 0 0 56px;
  padding-bottom: 21px;
  font-size: 56px;
  line-height: 63px;
  font-weight: 400;
  color: #3e3e3e;
}
.st-hero h1 b { font-weight: 700; }
.st-hero h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 3px;
  background: var(--s-green, #57823C);
}
.st-hero p {
  margin: 0 0 27px;
  /* Отстъпът на сайта е 108 px, но при него в реда се събират само 45
     знака и двустранното подравняване зейва. Без меки тирета единственият
     лост е по-дълъг ред, затова тук е 56 — шрифтът остава 18/31,5. */
  padding-left: 56px;
  font-size: 18px;
  line-height: 31.5px;
  color: #666;
  text-align: justify;
}
.st-hero p b { font-weight: 700; color: #666; }
/* Копчетата тръгват от същата линия като текста. */
.st-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; padding-left: 56px; }

/* Снимката се обработва В РАМКАТА, а не във файла: малко по-тъмна и
   по-контрастна, с едва доловим градиент надолу. Така светъл кадър не се
   слива с бялата страница, ръбът на рамката се вижда, а оранжевото копче
   под нея не остава самичко. Важи и за всяка следваща снимка. */
.st-hero-photo { position: relative; margin: 0; }
.st-hero-photo img {
  display: block;
  width: 100%;
  height: 730px;
  object-fit: cover;
  border-radius: 100px 100px 0 100px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, .25);
  filter: brightness(.88) contrast(1.12) saturate(.92);
}
.st-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px 100px 0 100px;
  background: linear-gradient(180deg,
              rgba(20, 26, 20, .10) 0%,
              rgba(20, 26, 20, .28) 100%);
  pointer-events: none;
}

/* ------------------------------------------------------------- копчета --- */

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 60px;
  font-size: 16px;
  font-weight: 600;
  line-height: 48px;
  text-decoration: none;
  white-space: nowrap;
}
/* Копчето за действие носи подписа на сайта: ъгълът долу вляво е рязан. */
.st-btn-cta {
  border-radius: 60px 60px 60px 0;
  background: var(--s-orange, #CF4911);
  color: #fff;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, .2);
}
.st-btn-cta:hover { background: #b23c0c; }
.st-btn-line { border-color: var(--s-green, #57823C); color: var(--s-green, #57823C); background: transparent; }
.st-btn-line:hover { background: var(--s-green, #57823C); color: #fff; }
.st-btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.st-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

@media (max-width: 1180px) {
  .st-hero { padding: 36px 0 64px; }
  .st-hero-in { grid-template-columns: 1fr; gap: 32px; }
  .st-hero h1 { font-size: 34px; line-height: 42px; margin-bottom: 36px; }
  .st-hero p, .st-hero-acts { padding-left: 0; font-size: 16px; line-height: 28px; }
  .st-hero-photo img { height: 340px; border-radius: 48px 48px 0 48px; }
  .st-hero-photo::after { border-radius: 48px 48px 0 48px; }
  .st-hero::before, .st-hero::after { display: none; }
}

/* ------------------------------------------------------------- раздели --- */

.st-sec { position: relative; padding: 1px 0 72px; background: #fff; }
.st-sec-tint { background: var(--st-tint); }
.st-body { background: #fff; }
.st-sec-in { max-width: 1274px; margin: 0 auto; padding: 0 24px; }

/* Заглавието на раздел: 44/59,4 тегло 300, центрирано, с къса зелена
   черта под него. */
.st-h2 {
  position: relative;
  margin: 55px 0 44px;
  padding-bottom: 22px;
  font-size: 44px;
  line-height: 59.4px;
  font-weight: 300;
  text-align: center;
  color: #3e3e3e;
}
.st-h2 small { font-size: 16px; color: var(--st-muted); }
.st-h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 3px;
  margin-left: -50px;
  background: var(--s-green, #57823C);
}
.st-more { margin: 40px 0 0; text-align: center; }

/* Бледото „полукълбо“ вляво на раздела с услугите — файлът е на сайта. */
.st-sec-services {
  position: relative;
  background: url('../img/sait/services.svg') no-repeat 0 0, #fff;
}
/* Пчелната пита виси на ТОЗИ раздел, а не на героя: на сайта тя тръгва
   520 px НАД него, с ширина 570 и височина 499, залепена вдясно. */
.st-sec-services::before {
  content: '';
  position: absolute;
  top: -520px;
  right: 0;
  width: 570px;
  height: 499px;
  background: url('../img/sait/elements.svg') no-repeat 100% 0;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.st-sec-services > .st-wrap { position: relative; z-index: 1; }

/* ---------------------------------------------------- плочки на услуга --- */

.st-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.st-tile {
  display: flex;
  flex-direction: column;
  padding: 0 0 16px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(249, 249, 249, .7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  text-align: center;
}
.st-tile > img {
  display: block;
  width: 100%;
  height: 298px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}
.st-tile h3 {
  margin: 33px 32px 11px;
  font-size: 22px;
  line-height: 22px;
  font-weight: 700;
  color: #3e3e3e;
}
.st-tile p {
  margin: 11.25px 32px;
  font-size: 15px;
  line-height: 22.5px;
  color: #666;
}
.st-tile .st-btn { align-self: center; margin: 16px 32px 16px; }
.st-tile > p + .st-btn { margin-top: auto; }

@media (max-width: 1000px) {
  .st-tiles { grid-template-columns: 1fr; }
  .st-h2 { font-size: 30px; line-height: 40px; margin: 40px 0 32px; }
}

/* ------------------------------------------------- новините: тъмен пояс ---

   Всичко е мерено от ptsbg.eu при 1440 px:
   • раздел: отстъп отгоре 55, отдолу 0; градиент #222722 → #0C0C0C и
     шестоъгълници, залепени горе вдясно;
   • заглавието „Новини“ е общото 44/59,4 с отстъпи 55/44;
   • три плочки по 32 % от колоната 1226 (= 392,31) с разстояние 24,5;
   • плочката е с ъгли 10 и „стъклен“ слой отзад: сиво 10 % със сянка
     0 4 20 rgba(0,0,0,.5), прозрачност 0,5 → 1 при посочване;
   • снимката е 64 % от ширината, с ъгли 10 10 0 0, и е ЛИНК;
   • заглавието 22/29,7 е ЛИНК, увод 15/22,5, долу ред с дата 12 px
     (иконка календар) и „Повече“ 14 px в зелено със стрелка, вдясно.
   -------------------------------------------------------------------- */

.st-sec-news {
  padding: 55px 0 0;
  background: url('../img/sait/news.svg') no-repeat 100% 0,
              linear-gradient(#222722, #0c0c0c);
  color: #fff;
  overflow: hidden;
}
.st-sec-news .st-h2 { color: #fff; }

.st-news-grid { display: flex; justify-content: space-between; align-items: stretch; }

.st-news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 32%;
  padding: 0 0 16px;
  border-radius: 10px;
}
/* Стъкленият слой отзад — той прави плочката „плочка“. */
.st-news-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 10px;
  background: rgba(196, 196, 196, .1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
  opacity: .5;
  transition: opacity .25s;
  pointer-events: none;
}
.st-news-card:hover::after { opacity: 1; }

.st-news-img { position: relative; z-index: 1; margin: 0; border-radius: 10px 10px 0 0; overflow: hidden; }
.st-news-img a {
  position: relative;
  display: block;
  padding-top: 64%;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}
.st-news-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Зелената чертичка под снимката се изтегля при посочване. */
.st-news-img a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 1px;
  background: var(--s-green, #57823C);
  transform: scaleX(0);
  transition: transform .3s;
}
.st-news-card:hover .st-news-img a::before { transform: scaleX(1); }

.st-news-body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.st-news-card h3 {
  margin: 22px 0 0;
  padding: 0 32px;
  font-size: 22px;
  line-height: 29.7px;
  font-weight: 400;
  color: #fff;
}
.st-news-card h3 a { color: inherit; text-decoration: none; }
/* Линкът на заглавието се разтяга върху ЦЯЛАТА плочка — улучва се и с
   мишка, и с пръст, а в четеца си остава един-единствен линк. */
.st-news-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}
.st-news-card:hover h3 a { text-decoration: underline; }
/* „Повече“ стои над разтегнатия линк, за да си личи, че е самостоятелен. */
.st-news-more { position: relative; z-index: 3; }
/* Уводът се реже по РЕДОВЕ (точно 4), а не по букви — така нито една
   дума не остава нарязана и всички плочки започват долния си ред еднакво. */
.st-news-teaser {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  margin: 15px 0;
  padding: 0 32px;
  overflow: hidden;
  font-size: 15px;
  line-height: 22.5px;
  color: rgba(172, 172, 172, .7);
}
.st-news-meta {
  margin: auto 0 0;
  padding: 16px 32px 0;
  font-size: 16px;
  line-height: 16px;
  overflow: hidden;
}
.st-news-meta time { font-size: 12px; line-height: 12px; color: rgba(172, 172, 172, .7); }
.st-news-meta time::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: -2px 3px 0 0;
  vertical-align: middle;
  background: url('../img/sait/sprite.svg') no-repeat -237px -200px;
}
.st-news-more {
  float: right;
  font-size: 14px;
  line-height: 14px;
  color: #6E925A;
  text-decoration: none;
}
.st-news-more:hover { text-decoration: underline; }
.st-news-more::after {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: -2px 0 0 3.5px;
  vertical-align: middle;
  background: url('../img/sait/sprite.svg') no-repeat -254px -200px;
}

/* Продължението на тъмния пояс: само копчето „Всички новини“ —
   бял надпис в зелен кант, 55 отгоре и 62 отдолу. */
.st-news-all {
  padding: 55px 0 62px;
  background: #0c0c0c;
  text-align: center;
}
.st-news-all .st-btn { border-color: var(--s-green, #57823C); color: #fff; background: transparent; }
.st-news-all .st-btn:hover { background: var(--s-green, #57823C); }

@media (max-width: 1000px) {
  .st-news-grid { flex-direction: column; gap: 24px; }
  .st-news-card { width: auto; }
  .st-sec-news { padding-top: 24px; }
}

/* ------------------------------------------------------- „За нас“ ------

   Мерки от сайта: текстът е в колона 471 px с отстъп 72, заглавието е
   ЛЯВО (чертата също), копчето е ПЪЛНО зелено 179×50. Вдясно три кръга:
   350 px на (579, 50), 172 на (1045, 49) и 242 на (970, 354) — спрямо
   колоната от 1226. Височина на раздела 700, разстояние отгоре 135.
   ------------------------------------------------------------------------ */

.st-about { position: relative; margin-top: 135px; padding: 0; }
/* Два фонови елемента, мерени от сайта:
   1) сив панел #F6F6F6 в ДЯСНАТА ПОЛОВИНА, цял на височина, с ъгли
      20 / 0 / 0 / 280 — той държи кръговете;
   2) пчелната пита, 30% ширина, от 350 px надолу, залепена вдясно. */
.st-about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: #f6f6f6;
  border-radius: 20px 0 0 280px;
}
.st-about::after {
  content: '';
  position: absolute;
  top: 350px;
  right: 0;
  width: 30%;
  height: 370px;
  background: url('../img/sait/elements.svg') no-repeat 100% 0;
  background-size: contain;
  pointer-events: none;
}
.st-about-in { position: relative; z-index: 1; min-height: 700px; }
/* 3) Трети фонов елемент (мерен от сайта): дъга в ЛЯВО долу — кръг
   140x140 със 100 px рамка, от която се виждат само долната и дясната
   страна (#F6F6F6), завъртян на 45 градуса. Спрямо колоната: горе 304,
   ляво -241.906. */
.st-about-in::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 304px;
  left: -241.906px;
  width: 140px;
  height: 140px;
  border: 100px solid transparent;
  border-right-color: #f6f6f6;
  border-bottom-color: #f6f6f6;
  border-radius: 50%;
  transform: rotate(45deg);
  pointer-events: none;
}
.st-about-text { width: 471px; }
.st-h2-left { text-align: left; margin-top: 55px; }
.st-h2-left::after { left: 0; margin-left: 0; }
.st-about-text p {
  margin: 27px 0;
  padding-left: 72px;
  font-size: 18px;
  line-height: 31.5px;
  color: #666;
  text-align: justify;
}
.st-btn-fill-green {
  margin-left: 72px;
  background: var(--s-green, #57823C);
  border-color: var(--s-green, #57823C);
  color: #fff;
}
.st-btn-fill-green:hover { background: #476043; border-color: #476043; }

.st-circles { position: absolute; inset: 0; pointer-events: none; }
.st-circle { position: absolute; display: block; }
.st-circle img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, .2);
}
/* Двата пръстена около кръга. Цветовете и дебелината са мерени от сайта:
   1 px, вътрешният зеленикав rgb(169,186,160), външният сив rgb(217,217,217).
   Разстоянията са 26 и 56 px ОТ РЪБА на снимката — така пръстените са
   концентрични и при трите кръга, както изглеждат и в оригинала. (Там в
   кода стоят твърди 400 и 460 px, които вършат същото само при голямата
   снимка.) */
.st-circle::before,
.st-circle::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.st-circle::before { inset: -26px; border: 1px solid rgb(169, 186, 160); }
.st-circle::after { inset: -56px; border: 1px solid rgb(217, 217, 217); }
.st-circle-1 { left: 579px; top: 50px; width: 350px; height: 350px; }
.st-circle-2 { left: 1045px; top: 49px; width: 172px; height: 172px; }
.st-circle-3 { left: 970px; top: 354px; width: 242px; height: 242px; }

@media (max-width: 1180px) {
  .st-about { margin-top: 64px; }
  .st-about::before, .st-about::after, .st-about-in::before { display: none; }
  .st-about-in { min-height: 0; }
  .st-about-text { width: auto; }
  .st-about-text p, .st-btn-fill-green { padding-left: 0; margin-left: 0; }
  .st-circles { position: static; display: flex; gap: 16px; margin-top: 32px; }
  .st-circle { position: static; width: 140px; height: 140px; }
  .st-circle::before, .st-circle::after { display: none; }
}

/* ---------------------------------------------------------- отзивите ---- */

/* Отзивите са ВЪРТЕЛЕЖКА по един цитат, както на сайта: бяла карта 826 px
   с радиус 10, цитат 16/24 КУРСИВ, под него кръгла снимка 70 px и три реда
   име (700 / 300 / 600 в по-светло зелено). Стрелките са кръгове 62 px в
   двата края на колоната, точките — 20 px под картата. */
.st-sec-says { background: url('../img/sait/testimonials.svg') no-repeat 0 0, #fff; }
.st-slider { position: relative; padding: 0 100px; }
/* Прозорецът реже встрани (за да не се виждат съседните отзиви), но с
   малко въздух нагоре и надолу, компенсиран с отрицателен марж, за да не
   отреже сенките и езичето. */
.st-slider-window { overflow: hidden; padding: 30px 0; margin: -30px 0; }
.st-slider-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform .4s ease;
}
/* Слайдът е широк колкото прозореца, но текстът вътре е 826 px — толкова
   е и на сайта (слайд 1226 с отстъп по 200 от двете страни). */
.st-slider-track > li { flex: 0 0 100%; min-width: 0; padding: 0 100px; text-align: center; }
/* Картата с цитата — ТОЧНО както е устроена на сайта:

     blockquote  = бялата карта (кант, радиус, зеленикава сянка, 8/48)
       ::after   = езичето на балончето, 40×40, завъртяно на 45°
     p           = текстът (марж 24 отгоре и отдолу)
       ::before  = контурната кавичка quote.svg горе вляво (-45 / -70)
       ::after   = същата, обърната, долу вдясно (120 / 787)
*/
.st-slider blockquote {
  position: relative;
  margin: 0 0 56px;
  padding: 8px 48px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 50px rgba(87, 130, 60, .2);
}
/* В техния код има и трета, бледа типографска кавичка вляво (150 px, 10%),
   но при тях прозорецът на въртележката я реже и НИКОГА не се вижда. При
   нас прозорецът има въздух и тя излизаше като сиво петно — затова я няма. */
/* Кавичките висят на КАРТАТА, не на абзаца. В оригинала абзацът не е
   позициониран и затова техните -70 / -45 се мерят от картата; при мен
   абзацът е позициониран (заради езичето) и същите числа започваха да се
   мерят от текста навътре — оттам идваше разминаването от 45 px.
   Мерено по пиксели на екрана: мастилото трябва да пада на -68 / -18
   спрямо горния ляв ъгъл на картата. */
.st-slider blockquote::before,
.st-slider blockquote::after {
  content: '';
  position: absolute;
  width: 107px;
  height: 85px;
  background: url('../img/sait/quote.svg') no-repeat 0 0;
}
.st-slider blockquote::before { top: -45px; left: -70px; }
.st-slider blockquote::after {
  top: calc(100% - 40px);
  left: calc(100% - 37px);
  transform: rotate(180deg);
}
.st-slider blockquote p {
  position: relative;
  margin: 24px 0;
  font-size: 16px;
  line-height: 24px;
  font-style: italic;
  color: #3e3e3e;
}
/* Езичето на балончето стои на абзаца (той е позициониран), за да не
   заема псевдоелементите на картата. */
.st-slider blockquote p::after {
  content: '';
  position: absolute;
  bottom: -53px;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  border: 1px solid #e5e5e5;
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 0 0 10px;
  background: #fff;
  transform: rotate(45deg);
}

.st-says-who { display: flex; flex-direction: column; align-items: center; }
.st-says-who img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
/* 201 px е мярката от сайта, но при нашия шрифт „Отговорник по
   качеството“ не се събира на ред и пада на два — затова 232. */
.st-says-name { margin-top: 16px; width: 232px; }
.st-says-name b { display: block; font-size: 16px; line-height: 24px; font-weight: 700; color: #3e3e3e; }
.st-says-name span { display: block; font-size: 16px; line-height: 24px; font-weight: 300; color: #3e3e3e; }
.st-says-name i { display: block; font-size: 16px; line-height: 24px; font-weight: 600; font-style: normal; color: rgb(110, 146, 90); }

/* Стрелките: 62×62, БЕЗ фон, кант и кръг — само иконката next.svg 44 px.
   „Назад“ е същата, обърната. */
.st-slider-go {
  position: absolute;
  /* ПО СРЕДАТА НА КАРТАТА по височина. (Прозорецът носи 30 px въздух с
     отрицателен марж, затова 30 + 50.) */
  top: 80px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: .75;
  transition: opacity .15s;
}
.st-slider-go::before {
  content: '';
  width: 44px;
  height: 44px;
  background: url('../img/sait/next.svg') no-repeat 50% 50%;
  background-size: contain;
}
.st-slider-go:hover { opacity: 1; }
.st-slider-prev { left: 0; }
.st-slider-prev::before { transform: rotate(180deg); }
.st-slider-next { right: 0; }

/* Точките: 20×20 копче с кръгче 10 px — активното е светлозелено
   rgb(110,146,90), останалите бели. */
.st-slider-dots { display: flex; justify-content: center; gap: 4px; margin-top: 50px; }
.st-slider-dots button {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  cursor: pointer;
}
.st-slider-dots button::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(62, 62, 62, .08);
  transition: background .15s;
}
.st-slider-dots button[aria-current='true']::after {
  background: rgb(110, 146, 90);
  box-shadow: none;
}

@media (max-width: 900px) {
  .st-slider { padding: 0; }
  .st-slider-go { display: none; }
  .st-slider blockquote { padding: 8px 16px; }
}

/* -------------------------------------------------------- партньорите ---

   Мерено от ptsbg.eu при 1440 px: разделът е БЯЛ, без видимо заглавие —
   „Партньори“ е скрито заглавие с котва #partnori. Логата са в един
   центриран ред: кутийка 236x62 с поле 4 (стъпка 244), снимката е точно
   234x60 — толкова са и файловете, така че не се мащабира нищо.
   Лентата има 48 отстъп отгоре и отдолу; целият раздел е 166 px висок.
   -------------------------------------------------------------------- */

.st-sec-partners { padding: 0; background: #fff; }
/* Скрито за окото, видимо за четците на екран и за котвата. */
.st-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.st-partners { padding: 48px 0; }
.st-partners ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  /* нулевият шрифт изяжда разстоянията между inline-block кутийките */
  font-size: 0;
  line-height: 0;
  text-align: center;
}
.st-partners li { display: inline-block; width: 236px; margin: 4px; vertical-align: middle; }
.st-partners a { display: block; width: 236px; height: 62px; }
.st-partners img { display: block; width: 234px; height: 60px; }

@media (max-width: 1000px) {
  .st-partners { padding: 32px 0; }
}

/* ------------------------------------------- страница с текст (общото) --- *//* ------------------------------------------- страница с текст (общото) --- */

.st-head {
  padding: 48px 24px 36px;
  background: var(--st-tint);
  border-bottom: 1px solid var(--st-line);
}
.st-head-in { max-width: 1240px; margin: 0 auto; }
.st-head h1 { margin: 0; font-size: 32px; font-weight: 400; line-height: 1.25; color: var(--st-ink); }
.st-lead { margin: 14px 0 0; max-width: 72ch; font-size: 16px; line-height: 1.75; color: var(--st-muted); }
.st-lead-date { font-size: 14px; }
.st-head-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.st-crumbs { margin-bottom: 10px; font-size: 12.5px; color: var(--st-muted); }
.st-crumbs a { color: var(--st-muted); text-decoration: none; }
.st-crumbs a:hover { color: var(--s-green, #57823C); }
.st-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.st-tag {
  padding: 5px 12px;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  color: var(--st-muted);
}
.st-tag.live { border-color: var(--s-green, #57823C); color: var(--s-green, #57823C); font-weight: 600; }

.st-body { padding: 48px 24px 72px; }
.st-text { max-width: 860px; margin: 0 0 44px; }
.st-text:last-child { margin-bottom: 0; }
.st-text h2 { margin: 0 0 16px; font-size: 22px; font-weight: 400; color: var(--st-ink); }
.st-text h2 small { font-size: 14px; color: var(--st-muted); }
.st-text h3 { margin: 28px 0 10px; font-size: 16.5px; font-weight: 600; color: var(--st-ink); }
.st-text p { margin: 0 0 14px; line-height: 1.8; color: var(--st-ink); }
.st-text a { color: var(--s-green, #57823C); }
.st-article p { color: var(--st-ink); }
.st-legal { max-width: 820px; }
.st-legal h2 { margin: 32px 0 12px; font-size: 18px; font-weight: 600; }
.st-legal p, .st-legal li { font-size: 15px; line-height: 1.85; color: var(--st-muted); }
.st-legal ul { margin: 0 0 16px; padding-left: 20px; }

.st-ticks { margin: 0; padding: 0; list-style: none; }
.st-ticks li { position: relative; padding: 0 0 12px 28px; line-height: 1.75; }
.st-ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--s-orange, #CF4911);
}
.st-values { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.st-values li {
  padding: 7px 14px;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  color: var(--st-ink);
}
.st-stds { margin: 0; padding: 0; list-style: none; }
.st-stds li { padding: 12px 0; border-top: 1px solid var(--st-line); line-height: 1.7; font-size: 14.5px; color: var(--st-muted); }
.st-stds li:first-child { border-top: 0; }
.st-stds b { color: var(--st-ink); }
.st-stds i { font-style: normal; font-size: 13px; }

.st-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.st-people article { padding: 16px 18px; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; }
.st-people b { display: block; font-size: 15px; color: var(--st-ink); }
.st-people span { display: block; margin-top: 3px; font-size: 13px; color: var(--st-muted); }
.st-people-slim article { padding: 12px 16px; }

.st-quote-block blockquote {
  margin: 0;
  padding: 24px 28px;
  border-left: 3px solid var(--s-orange, #CF4911);
  background: var(--st-tint);
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--st-ink);
}
.st-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 24px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--st-line);
  border-radius: 14px;
  background: var(--st-tint);
  line-height: 1.7;
}
.st-note, .st-none { color: var(--st-muted); font-size: 14.5px; line-height: 1.75; }
.st-note-box { padding: 22px 24px; border: 1px solid var(--st-line); border-radius: 14px; background: var(--st-tint); }
.st-note-box h2 { font-size: 17px; font-weight: 600; }

.st-legend { margin: 0; }
.st-legend dt { margin-top: 14px; font-weight: 600; color: var(--st-ink); }
.st-legend dt i { font-style: normal; font-weight: 400; color: var(--st-muted); }
.st-legend dd { margin: 4px 0 0; line-height: 1.75; color: var(--st-muted); }

.st-labs { display: grid; gap: 16px; }
.st-lab { padding: 22px 24px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; }
.st-lab h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--st-ink); }
.st-lab h3 i { font-style: normal; font-weight: 400; color: var(--st-muted); }
.st-lab p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--st-muted); }

/* --------------------------------------------------------------- схеми --- */

.st-schemes { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.st-scheme {
  display: block;
  padding: 20px 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(34, 39, 34, .10);
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
}
.st-scheme:hover {
  box-shadow: 0 16px 38px rgba(34, 39, 34, .16);
  transform: translateY(-2px);
}
.st-scheme-kind { display: block; font-size: 12px; color: var(--st-muted); }
.st-scheme-work {
  display: inline-block;
  margin: 8px 0 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--st-tint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--s-green, #57823C);
}
.st-scheme b { display: block; font-size: 16px; color: var(--st-ink); }
.st-scheme-what { display: block; margin: 6px 0 10px; font-size: 14px; color: var(--st-ink); }
.st-scheme i { display: block; font-style: normal; font-size: 12.5px; color: var(--st-muted); }

.st-past { border-top: 1px solid var(--st-line); }
.st-past-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 4px;
  border-bottom: 1px solid var(--st-line);
  text-decoration: none;
  color: var(--st-ink);
}
.st-past-row:hover { background: var(--st-tint); }
.st-past-row b { font-size: 14px; }
.st-past-row span { font-size: 14px; color: var(--st-muted); }
.st-past-row i { font-style: normal; font-size: 12.5px; color: var(--st-muted); white-space: nowrap; }
@media (max-width: 760px) {
  .st-past-row { grid-template-columns: 1fr; gap: 4px; }
}

/* -------------------------------------------------------------- новини --- */

.st-news { display: grid; gap: 4px; }
.st-post { padding: 24px 0; border-bottom: 1px solid var(--st-line); }
.st-post-date { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-orange, #CF4911); }
.st-post h2 { margin: 8px 0 10px; font-size: 20px; font-weight: 400; line-height: 1.4; }
.st-post h2 a { color: var(--st-ink); text-decoration: none; }
.st-post h2 a:hover { color: var(--s-green, #57823C); }
.st-post p { margin: 0 0 12px; max-width: 80ch; color: var(--st-muted); line-height: 1.75; }
.st-post-more { color: var(--s-green, #57823C); font-size: 14px; font-weight: 600; text-decoration: none; }

/* ------------------------------------------------- регистър и търсачка --- */

.st-find { max-width: 620px; margin: 0 0 32px; }
.st-find label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--st-muted); }
.st-find-row { display: flex; gap: 10px; }
.st-find input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 15px;
}
.st-find input:focus { outline: 0; border-color: var(--s-green, #57823C); box-shadow: 0 0 0 3px rgba(87, 130, 60, .12); }

.st-found, .st-nofound { max-width: 720px; padding: 24px 26px; border-radius: 16px; margin-bottom: 36px; }
.st-found { border: 1px solid var(--s-green, #57823C); background: #f3f8f0; }
.st-found-tag { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-green, #57823C); }
.st-found dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 18px; margin: 0; }
.st-found dt { font-size: 13px; color: var(--st-muted); }
.st-found dd { margin: 0; font-size: 15px; color: var(--st-ink); }
.st-nofound { border: 1px solid #e3cfc6; background: #fdf5f2; }
.st-nofound b { display: block; margin-bottom: 8px; color: var(--s-orange, #CF4911); }
.st-nofound p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--st-muted); }
.st-nofound i { font-style: normal; }

/* --------------------------------------------------------------- форми --- */

.st-contact { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
.st-contact-card { padding: 26px 28px; border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-tint); }
.st-contact-card b { display: block; margin-bottom: 16px; font-size: 16px; color: var(--st-ink); }
.st-contact-card dl { margin: 0; }
.st-contact-card dt { margin-top: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--st-muted); }
.st-contact-card dd { margin: 4px 0 0; font-size: 15px; color: var(--st-ink); }
.st-contact-card a { color: var(--s-green, #57823C); text-decoration: none; }
.st-contact-links { display: flex; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--st-line); font-size: 13.5px; }
.st-contact-note { margin: 18px 0 0; font-size: 13px; line-height: 1.7; color: var(--st-muted); }

.st-form { padding: 28px 30px; border: 1px solid var(--st-line); border-radius: 16px; background: #fff; }
.st-form-wide { max-width: 860px; }
.st-form h2 { margin: 0 0 22px; font-size: 20px; font-weight: 400; color: var(--st-ink); }
.st-form-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 20px; }
.st-agree { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 20px; font-size: 13.5px; line-height: 1.6; color: var(--st-muted); }
.st-agree input { margin-top: 3px; }
.st-choice { margin-bottom: 18px; }
.st-choice-label { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--st-muted); }
.st-choice ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.st-choice label { display: flex; align-items: center; gap: 7px; font-size: 14.5px; }

@media (max-width: 860px) {
  .st-contact { grid-template-columns: 1fr; }
}

/* ------------------------------------------- документи, таблици, карта --- */

.st-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.st-doc { padding: 18px 20px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; text-decoration: none; }
.st-doc:hover { border-color: var(--s-green, #57823C); }
.st-doc b { display: block; font-size: 15px; color: var(--st-ink); }
.st-doc span { display: block; margin: 4px 0 10px; font-size: 13px; color: var(--st-muted); }
.st-doc i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--s-green, #57823C); }

.st-table-wrap { overflow-x: auto; border: 1px solid var(--st-line); border-radius: 14px; }
.st-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.st-table th, .st-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--st-line); }
.st-table th { background: var(--st-tint); font-size: 12px; font-weight: 700; color: var(--st-ink); }
.st-table td { color: var(--st-muted); line-height: 1.6; }
.st-table tbody td:first-child, .st-table tbody td:nth-child(2) { color: var(--st-ink); font-weight: 600; background: #fcfdfb; }

.st-pdf { border: 1px solid var(--st-line); border-radius: 14px; overflow: hidden; background: var(--st-tint); }
.st-pdf object { display: block; width: 100%; height: 78vh; min-height: 480px; border: 0; }

.st-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.st-map section { display: flex; flex-direction: column; gap: 8px; }
.st-map b { margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-orange, #CF4911); }
.st-map a { color: var(--st-ink); font-size: 14.5px; text-decoration: none; }
.st-map a:hover { color: var(--s-green, #57823C); }

/* --------------------------------------------------- партньори и ленти --- */


.st-band { margin: 0 0 40px; }
.st-band img {
  display: block;
  width: 100%;
  max-width: 860px;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
}

/* -------------------------------------------------------------- подвал ---

   Мерено от ptsbg.eu при 1440 px. Подвалът е 1425x454 на фон #212121.
   Вътре е решетка 1226 широка:
     колони  211 | 584,64 | 85,81 (празна) | 344,55
     редове   70 |   289  |  46  |  49
   Ред 1: „Последвайте ни“ (20 px, поле 30/20).
   Ред 2: логото (отгоре 56), менюто в ТРИ колони с разстояние 7 %,
          и картичката с контактите #171717 с ъгли 10.
   Ред 3: политиките — черта 2 px #171717 отгоре, надписи 12 px вдясно.
   Ред 4: правата, 12/17 в бяло с 70 % плътност.
   -------------------------------------------------------------------- */

.st-foot { background: #212121; color: #fff; }
.st-foot-in {
  display: grid;
  grid-template-columns: 211px 584.64px 85.81px 344.55px;
  grid-template-rows: 70px auto 46px 49px;
  grid-template-areas:
    'follow follow follow follow'
    'brand  nav    .      card'
    'links  links  links  links'
    'copy   copy   copy   copy';
}

.st-foot-follow {
  grid-area: follow;
  margin: 30px 0 20px;
  font-size: 20px;
  line-height: 20px;
  color: #fff;
}

.st-foot-brand { grid-area: brand; margin: 56px 0 0; line-height: 0; }
.st-foot-brand a { display: inline-block; }
/* В оригинала логото долу е натъпкано в кутия 147x46 и излиза РАЗТЕГНАТО
   — по-широко и по-плоско от това в шапката. При нас е със собствените си
   мерки 111x56, точно колкото е горе, за да са еднакви. */
.st-foot-brand img { display: block; width: 111px; height: 56px; }

.st-foot-nav {
  grid-area: nav;
  margin: 56px 0 0;
  column-count: 3;
  column-gap: 7%;
}
.st-foot-sub { break-inside: avoid; margin: 0 0 32px; }
.st-foot-title { margin: 0 0 18px; font-size: 18px; line-height: 22.5px; color: #fff; }
.st-foot-title a { color: inherit; text-decoration: none; }
.st-foot-title a:hover { text-decoration: underline; }
.st-foot-nav ul { margin: 0; padding: 0; list-style: none; }
.st-foot-nav li { margin: 14px 0; font-size: 14px; line-height: 17.5px; }
.st-foot-nav li a { color: #b0b0b0; text-decoration: none; }
.st-foot-nav li a:hover { color: #fff; }

/* Картичката с контактите. */
.st-foot-card {
  grid-area: card;
  margin: 32px 0 16px;
  padding: 24px 48px 71px;
  border-radius: 10px;
  background: #171717;
}
.st-foot-card-name {
  margin: 0;
  font-size: 15px;
  line-height: 18.75px;
  color: #ccc;
}
/* Думата „Контакти“ е заглавие НАД името на фирмата — в оригинала тя
   идва от CSS-а, не от текста. */
.st-foot-card-name::before {
  content: 'Контакти';
  display: block;
  margin-bottom: 25.5px;
  font-size: 18px;
  line-height: 22.5px;
  color: #fff;
}
.st-foot-dl { margin: 8px 0 0; }
/* Имената на полетата („Адрес“, „Е-поща“…) са само за четците на екран. */
.st-foot-dl dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.st-foot-dl dd {
  margin: 7.5px 0 0;
  font-size: 15px;
  line-height: 18.75px;
  color: #ccc;
}
.st-foot-dl dd a { color: #fff; text-decoration: none; }
.st-foot-dl dd a:hover { text-decoration: underline; }

/* Иконката на Facebook сяда в долния ляв ъгъл на картичката. */
.st-foot-social {
  grid-area: card;
  align-self: end;
  justify-self: start;
  margin: 0 0 40px 48px;
  padding: 0;
  list-style: none;
  display: flex;
  line-height: 0;
}
.st-foot-fb {
  display: inline-block;
  width: 21px;
  height: 21px;
  padding: 1px;
  overflow: hidden;
  text-indent: -3000px;
  background: url('../img/sait/sprite.svg') no-repeat -237px -131px;
}

.st-foot-links {
  grid-area: links;
  padding: 16px 0;
  border-top: 2px solid #171717;
}
.st-foot-links ul { margin: 0; padding: 0; list-style: none; text-align: right; }
.st-foot-links li { display: inline; margin-left: 18px; }
.st-foot-links a { font-size: 12px; line-height: 12px; color: #fff; text-decoration: none; }
.st-foot-links a:hover { text-decoration: underline; }

.st-foot-copy {
  grid-area: copy;
  margin: 0;
  padding: 16px 0;
  font-size: 12px;
  line-height: 17px;
  color: rgba(255, 255, 255, .7);
}

/* Зеленото копче на WhatsApp — виси долу вдясно над всичко. */
.st-whats {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 50;
  width: 48px;
  height: 48px;
  overflow: hidden;
  text-indent: -3000px;
  background: url('../img/sait/whatsapp.svg') no-repeat 50% 50%;
}

@media (max-width: 1180px) {
  .st-foot-in {
    display: block;
    padding-bottom: 8px;
  }
  .st-foot-nav { column-count: 2; }
  .st-foot-card { margin: 24px 0; }
  .st-foot-social { margin: 0 0 24px; }
  .st-foot-links ul { text-align: left; }
  .st-foot-links li { margin: 0 18px 0 0; line-height: 24px; }
}
@media (max-width: 700px) {
  .st-foot-nav { column-count: 1; }
}

/* =========================================================== „За нас“ ===

   Мерено от ptsbg.eu/about-us/ при 1440 px. Колоната е 1226.
   Повтарящи се мерки: заглавие на раздел 44/59,4 тегло 300 с поле
   110 отгоре и 44 отдолу и зелена чертица 100x3; текст 18/31,5;
   списъци с точка — 6 px зелено кръгче.
   Двата бледи кръга са един и същ похват: кръг 259,19 с рамка 129,
   от която светят само ДОЛНАТА и ДЯСНАТА страна в зелено, при
   прозрачност 0,1 и завъртане.
   РАЗЛИКА ОТ ОРИГИНАЛА: текстът тук е ДВУСТРАННО подравнен.
   ===================================================================== */

/* Пътеката над заглавието: 13 px, точно под шапката. */
.st-crumbs-bar {
  position: relative;
  z-index: 8;
  /* Шапката е 96 висока, а `body` носи само 76 — тези 20 довършват. */
  margin-top: 20px;
  padding: 14px 0 12px;
  font-size: 13px;
  line-height: 13px;
  color: #666;
}
.st-crumbs-bar a { color: #666; text-decoration: none; }
.st-crumbs-bar a:hover { color: var(--s-green, #57823C); }

/* Общият вид на текста в страницата. Мерено: ВСИЧКИ текстове са #3e3e3e
   и САМО уводът в началния блок е по-светъл — #666. */
.st-zn-hero-text > p,
.st-zn-team-text > p,
.st-zn-cons-text > p,
.st-zn-mission-in p {
  font-size: 18px;
  line-height: 31.5px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}
.st-zn-hero-text > p { color: #666; }

/* ------------------------------------------------- 1. Начален блок --- */

.st-zn-hero {
  position: relative;
  margin-top: -20px;
  overflow: hidden;
}
/* Снимката изтича до десния ръб и минава ПОД белия панел. */
.st-zn-hero-img {
  position: absolute;
  top: -35px;
  left: 45%;
  z-index: 0;
  width: 55%;
  height: 559.81px;
  margin: 0;
  border-radius: 100px 100px 0 100px;
  overflow: hidden;
}
.st-zn-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Лявата половина на снимката избледнява в бяло, за да се чете текстът. */
.st-zn-hero-img::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background: linear-gradient(to right, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
}
.st-zn-hero-text {
  position: relative;
  z-index: 1;
  width: 674.3px;
  margin-top: 106px;
  padding: 0 80px 48px 0;
  background: rgba(255, 255, 255, .7);
  border-radius: 0 100px 0 0;
}
/* Заглавието излиза НАД панела — вдигнато е с 56 px. */
.st-zn-hero h1 {
  position: relative;
  top: -56px;
  margin: 0;
  padding: 0 0 21px;
  font-size: 56px;
  line-height: 63px;
  font-weight: 400;
  color: #3e3e3e;
}
.st-zn-hero h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 3px;
  background: var(--s-green, #57823C);
}
.st-zn-hero-text > p { margin: 27px 0; padding-left: 72px; }

/* ------------------------------------------------------ 2. Екипът --- */

.st-zn-team {
  position: relative;
  display: grid;
  grid-template-columns: 490.39px 735.59px;
  align-items: start;
  padding-top: 32px;
  overflow: hidden;
}
/* Бледият зелен кръг — един и същ похват в двата раздела. */
.st-zn-team::before,
.st-zn-cons::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 259.19px;
  height: 259.2px;
  border: 129px solid transparent;
  border-right-color: var(--s-green, #57823C);
  border-bottom-color: var(--s-green, #57823C);
  border-radius: 50%;
  opacity: .1;
  pointer-events: none;
}
.st-zn-team::before { top: 245px; left: 794.63px;
  transform: rotate(135deg) translate(-258.6px, 0); }

.st-zn-cards {
  display: grid;
  grid-template-columns: 240.28px 240.28px;
  align-items: start;
  margin: 0;
  padding: 0 0 100px;
  list-style: none;
}
.st-zn-cards li {
  position: relative;
  width: 228.28px;
  margin: 0 12px 10px 0;
  border-radius: 20px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, .25);
  overflow: hidden;
}
/* Дясната колона е слязла с 35 px — така е и в оригинала. */
.st-zn-cards li:nth-child(even) { margin-top: 35px; }
.st-zn-cards img { display: block; width: 100%; height: auto; }
/* Воалът с името: преливка, която едва на 90 % от височината става
   плътна — затова снимката прозира зад надписите, точно като оригинала.
   Цветът е ШАХМАТЕН: горе ляво и долу дясно са зелени, а другите две
   керемидени rgb(140,49,12). */
.st-zn-cards li div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 22.5px 22.5px;
  background: linear-gradient(rgba(57, 85, 39, 0), rgba(57, 85, 39, .7) 30%, rgb(57, 85, 39) 90%);
}
.st-zn-cards li:nth-child(4n+2) div,
.st-zn-cards li:nth-child(4n+3) div {
  background: linear-gradient(rgba(140, 49, 12, 0), rgba(140, 49, 12, .7) 30%, rgb(140, 49, 12) 90%);
}
.st-zn-cards h3 {
  margin: 0;
  /* Името държи място за ДВА реда (2 x 21,6). Иначе късите имена свиват
     зеления воал и четирите кутийки стават различно високи — така е в
     оригинала и си личи. */
  min-height: 43.2px;
  font-size: 18px;
  line-height: 21.6px;
  font-weight: 600;
  color: #fff;
}
.st-zn-cards li div p {
  margin: 3.66px 0 0;
  font-size: 14.625px;
  line-height: 19.01px;
  font-weight: 300;
  color: #fff;
}

.st-zn-team-text { padding-left: 64px; }
/* Под списъка с метролозите оригиналът оставя 100 px въздух. */
.st-zn-team-text .st-zn-dots { padding-bottom: 100px; }
.st-zn-team-text > p { margin: 27px 0; padding-left: 54px; }

/* Списъкът с точки — 6 px зелено кръгче, текстът отместен с 24. */
.st-zn-dots { margin: 27px 0; padding-left: 36px; list-style: none; }
.st-zn-dots li {
  position: relative;
  margin: 18px 0;
  padding-left: 24px;
  font-size: 18px;
  line-height: 27px;
  color: #3e3e3e;
}
.st-zn-dots li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10.8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--s-green, #57823C);
}

/* ------------------------------------------------- 3. Консултанти --- */

.st-zn-cons { position: relative; padding-top: 32px; overflow: hidden; }
.st-zn-cons::before { top: 100px; left: -99.75px;
  transform: rotate(-45deg) translate(-182.85px, -182.85px); }
.st-zn-cons-text { padding-right: 570.39px; }
.st-zn-cons-text > p { margin: 27px 0; padding-left: 54px; }
.st-zn-cta { margin: 27px 0 0; padding-left: 54px; }

/* ----------------------------------------------- 4. Мисия и визия --- */

.st-zn-mission { position: relative; margin-top: 80px; }
/* Декоративният знак горе вдясно. */
.st-zn-mission::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -344px;
  left: 45%;
  width: 392px;
  height: 392px;
  background: url('../img/sait/mission.svg') no-repeat 50% 50%;
  background-size: contain;
  pointer-events: none;
}
.st-zn-mission-in {
  display: grid;
  grid-template-columns: 613px 613px;
  align-items: start;
}
.st-zn-mission-in h2 { margin: 32px 0 0; }
.st-zn-mission-in p { margin: 27px 0; }

/* -------------------------------------------------- 5. Ценности --- */

.st-zn-values { position: relative; margin-top: 300px; padding-bottom: 80px; }
.st-zn-values-img {
  position: absolute;
  z-index: -1;
  top: -200px;
  left: 0;
  width: 55%;
  height: 561.84px;
  margin: 0;
  border-radius: 100px 100px 100px 0;
  overflow: hidden;
}
.st-zn-values-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Дясната половина на снимката избледнява в бяло — панелът ляга върху нея. */
.st-zn-values-img::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9));
}
.st-zn-values-text {
  position: relative;
  width: 65%;
  margin-left: 35%;
  padding: 1px 0 80px 80px;
  background: rgba(255, 255, 255, .7);
  border-radius: 100px 0 0;
}

/* Заглавията на разделите в тази страница. */
.st-zn-team-text h2,
.st-zn-cons-text h2,
.st-zn-values-text h2 { margin: 110px 0 44px; }

/* ------------------------------------------------------ по-тесни --- */

@media (max-width: 1180px) {
  .st-zn-hero { margin-top: 0; }
  .st-zn-hero-img { position: static; width: auto; height: 260px; margin: 0 0 24px; border-radius: 24px; }
  .st-zn-hero-img::after { display: none; }
  .st-zn-hero-text { width: auto; margin-top: 0; padding: 0 0 24px; background: none; }
  .st-zn-hero h1 { top: 0; font-size: 36px; line-height: 44px; }
  .st-zn-hero-text > p, .st-zn-team-text > p, .st-zn-cons-text > p, .st-zn-cta { padding-left: 0; }
  .st-zn-team { display: block; }
  .st-zn-team-text { padding-left: 0; }
  .st-zn-cons-text { padding-right: 0; }
  .st-zn-mission-in { grid-template-columns: 1fr; }
  .st-zn-mission::before { display: none; }
  .st-zn-values { margin-top: 48px; padding-bottom: 32px; }
  .st-zn-values-img { position: static; width: auto; height: 260px; margin: 0 0 24px; border-radius: 24px; }
  .st-zn-values-img::after { display: none; }
  .st-zn-values-text { width: auto; margin-left: 0; padding: 0; background: none; }
  .st-zn-team-text h2, .st-zn-cons-text h2, .st-zn-values-text h2 { margin: 48px 0 32px; }
  .st-zn-team::before, .st-zn-cons::before { display: none; }
}
@media (max-width: 700px) {
  .st-zn-cards { grid-template-columns: 1fr; }
  .st-zn-cards li { width: auto; margin: 0 0 16px; }
  .st-zn-cards li:nth-child(even) { margin-top: 0; }
}

/* ================================ проста страница с текст (общ калъп) ===

   Мерено от ptsbg.eu/services/consulting/ при 1440 px. Този калъп върви
   за всички страници без снимка в началото:
     • начален блок: 105 отгоре, заглавие 56/63 със зелена чертица 150x3,
       уводен текст 18/31,5 и оранжево копче 211,58 x 50;
     • раздел: заглавие 44/59,4 с поле 110 отгоре и 44 отдолу;
     • номериран списък: отстъп 36, всяко 18/27 с поле 18, цифрата е
       зелена и дебела (900) в размер 16,875.
   Текстът е ДВУСТРАННО подравнен — в оригинала е само отляво.
   ===================================================================== */

.st-pg-hero { padding: 105px 0 9.47px; }
.st-pg-hero h1 {
  position: relative;
  margin: 0 0 56px;
  padding: 0 0 21px;
  font-size: 56px;
  line-height: 63px;
  font-weight: 400;
  color: #3e3e3e;
}
.st-pg-hero h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 3px;
  background: var(--s-green, #57823C);
}
.st-pg-hero p {
  margin: 27px 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}
/* Редът с копчето няма поле отдолу — пише се по-силно от `.st-pg-hero p`,
   иначе онова правило печели и добавя излишни 27 px. */
.st-pg-hero .st-pg-cta,
.st-pg .st-pg-cta { margin: 27px 0 0; }

/* Последният раздел се отделя от тъмния подвал. В оригинала остават
   само 37 px и копчето изглежда залепено — тук са 96. */
.st-pg:last-of-type { padding-bottom: 96px; }
.st-pg .st-h2 { margin: 110px 0 44px; }
/* Само свободният текст на раздела. Ако правилото е просто `.st-pg p`,
   то хваща и абзаците В ПЛОЧКИТЕ и там разтяга думите — плочките са
   тесни и центрирани, двустранното подравняване не им приляга. */
.st-pg > .st-wrap > p {
  margin: 27px 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}

/* Номерираният списък — същият като в „За нас“. */
.st-zn-ol,
.st-pg-ol {
  counter-reset: zn;
  margin: 27px 0;
  padding-left: 36px;
  list-style: none;
}
.st-zn-ol li,
.st-pg-ol li {
  position: relative;
  margin: 18px 0;
  padding-left: 36px;
  font-size: 18px;
  line-height: 27px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}
.st-zn-ol li::before,
.st-pg-ol li::before {
  counter-increment: zn;
  content: counter(zn) ".";
  position: absolute;
  left: 8px;
  top: 0;
  font-size: 16.875px;
  font-weight: 900;
  line-height: 27px;
  color: var(--s-green, #57823C);
}
.st-pg-ol strong { color: #3e3e3e; font-weight: 700; }

/* --------------------------------------------- стандартите като плочки ---
   Вместо дългия номериран списък на оригинала: по три плочки в ред в
   колоната от 1226 (392,33 всяка, разстояние 24,5 — същият ритъм като
   новините). Горе е номерът на стандарта в зелено, под тънка черта е
   заглавието. Плочките в един ред са еднакво високи. */
.st-std-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24.5px;
  margin: 27px 0;
  padding: 0;
  list-style: none;
}
.st-std {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
  border-radius: 10px;
  background: rgba(249, 249, 249, .7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}
.st-std b {
  display: block;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(87, 130, 60, .3);
  font-size: 15px;
  line-height: 21px;
  font-weight: 700;
  color: var(--s-green, #57823C);
}
.st-std span {
  font-size: 15px;
  line-height: 22.5px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}

/* Подзаглавие на тема вътре в раздела. */
.st-std-group {
  position: relative;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #3e3e3e;
}
.st-std-group::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background: var(--s-green, #57823C);
}
/* Първата тема стои веднага под заглавието на раздела. */
.st-h2 + .st-std-group { margin-top: 0; }

@media (max-width: 1180px) { .st-std-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .st-std-grid { grid-template-columns: 1fr; } }

@media (max-width: 1180px) {
  .st-pg-hero { padding-top: 32px; }
  .st-pg-hero h1 { font-size: 36px; line-height: 44px; margin-bottom: 32px; }
  .st-pg .st-h2 { margin: 48px 0 32px; }
}

/* ================================================= голяма таблица с данни ===

   Мерено от ptsbg.eu/services/pt-provider/control-samples/ при 1440 px:
     • таблицата заема цялата колона 1226, поле 27 отгоре и отдолу;
     • главата е на зелен воал rgba(87,130,60,.3), 18/18 тегло 700,
       отстъп 31,5 / 27 / 18, ъгли 20 горе вляво и горе вдясно;
     • клетките са 16,875/25,3125 с отстъп 25,3125, подравнени ГОРЕ;
     • всеки втори ред е на бледо зелено rgba(233,238,231,.5).
   Добавка при нас: на тесен екран таблицата се плъзга настрани,
   вместо да се смачка.
   ======================================================================= */

.st-tabla-ramka { margin: 27px 0; overflow-x: auto; }
.st-tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
  line-height: 18px;
  color: #3e3e3e;
  text-align: center;
}
.st-tabla th {
  padding: 31.5px 27px 18px;
  background: rgba(87, 130, 60, .3);
  font-size: 18px;
  line-height: 18px;
  font-weight: 700;
  color: #3e3e3e;
  vertical-align: middle;
}
.st-tabla thead th:first-child { border-radius: 20px 0 0 0; }
.st-tabla thead th:last-child { border-radius: 0 20px 0 0; }
.st-tabla td {
  padding: 25.3125px;
  font-size: 16.875px;
  line-height: 25.3125px;
  vertical-align: top;
}
.st-tabla tbody tr:nth-child(even) { background: rgba(233, 238, 231, .5); }

/* Бележката под таблицата е центрирана и удебелена. Пише се по-силно
   от `.st-pg p`, иначе онова правило я подравнява двустранно. */
.st-pg .st-tabla-bel {
  margin: 27px 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #3e3e3e;
  text-align: center;
}

/* Двете копчета едно до друго. */
.st-pg-cta .st-btn + .st-btn { margin-left: 22px; }

@media (max-width: 1180px) {
  .st-tabla { min-width: 900px; }
  .st-tabla th { padding: 20px 16px 14px; font-size: 16px; }
  .st-tabla td { padding: 16px; }
  .st-pg-cta .st-btn + .st-btn { margin: 12px 0 0; }
  .st-pg-cta { display: flex; flex-wrap: wrap; gap: 12px; }
  .st-pg-cta .st-btn + .st-btn { margin: 0; }
}

/* =========================================== външните доставчици ===

   Мерено от оригинала при 1440 px: началният блок е ЦЕНТРИРАН в колона
   800 (отстъп 213 от двете страни), подзаглавията са 35/43,75 с поле
   87,5 отгоре и 35 отдолу; решетката с доставчиците е 366 x 3 с
   разстояние 64 и раздел с отстъп 32 отгоре и 128 отдолу.
   Разлика от оригинала: доставчиците са ПЛОЧКИ — логата са в еднаква
   кутия, номерът на акредитацията е изваден като значка, описанието е
   двустранно подравнено, а копчето е залепено за дъното.
   =================================================================== */

.st-pg-hero-center .st-wrap > * { max-width: 800px; margin-left: auto; margin-right: auto; }
.st-pg-hero-center h1 { text-align: center; }
.st-pg-hero-center h1::after { left: 50%; margin-left: -75px; }
.st-pg-hero-center p { text-align: justify; }
.st-pg-h3 {
  margin: 87.5px 0 35px;
  font-size: 35px;
  line-height: 43.75px;
  font-weight: 400;
  color: #3e3e3e;
  text-align: center;
}

.st-pg-dost { padding: 32px 0 0; }
/* Разделът с плочките е без видимо заглавие, затова сам държи разстоянието
   до началния блок — в оригинала между снимката и плочките има 120 px. */
.st-pg-uslugi { padding-top: 120px; }
.st-dost-grid {
  display: grid;
  grid-template-columns: repeat(3, 366px);
  justify-content: space-between;
  gap: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.st-dost {
  display: flex;
  flex-direction: column;
  padding: 24px 28px 28px;
  border-radius: 10px;
  background: rgba(249, 249, 249, .7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}
/* Логата са с най-различни размери — кутията ги изравнява. */
.st-dost-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  margin: 0 0 20px;
}
.st-dost-logo img {
  max-width: 180px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.st-dost h3 {
  margin: 0;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  color: #3e3e3e;
}
/* Номерът на акредитацията — единственото, което се проверява. */
.st-dost-nomer {
  align-self: flex-start;
  margin: 12px 0 0;
  padding: 5px 14px;
  border-radius: 60px;
  background: rgba(87, 130, 60, .12);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  color: #3f6029;
  white-space: nowrap;
}
.st-dost-text {
  margin: 16px 0 24px;
  font-size: 16px;
  line-height: 24px;
  color: #666;
  text-align: justify;
  hyphens: none;
}
/* Копчето пада на дъното, за да са на една линия в реда. */
.st-dost-cta { margin: auto 0 0; }

.st-btn-green {
  background: var(--s-green, #57823C);
  border-color: var(--s-green, #57823C);
  color: #fff;
}
.st-btn-green:hover { background: #476043; border-color: #476043; }

@media (max-width: 1180px) {
  .st-pg-hero-center .st-wrap > * { max-width: none; }
  .st-pg-h3 { margin: 40px 0 20px; font-size: 26px; line-height: 34px; }
  .st-dost-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 700px) {
  .st-dost-grid { grid-template-columns: 1fr; }
}

/* ============================================ страница с дълъг текст ===

   Мерено от ptsbg.eu/privacy-policy/ при 1440 px:
     h1  56/63 тегло 400, поле 105 отгоре и 56 отдолу, отстъп 21 отдолу;
     h2  44/59,4 тегло 300, поле 110/44, отстъп 22 отдолу, зелена чертица;
     h3  35/43,75 тегло 400, поле 87,5/35, без чертица;
     текст 18/31,5 с поле 27; списъци без водещ знак, отстъп 36, всяко
     18/27 с поле 18 и отстъп 24 за зелената точка.
   Разлика от оригинала: текстът е двустранно подравнен.
   ===================================================================== */

.st-legal h2 {
  position: relative;
  margin: 110px 0 44px;
  padding: 0 0 22px;
  font-size: 44px;
  line-height: 59.4px;
  font-weight: 300;
  color: #3e3e3e;
}
.st-legal h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--s-green, #57823C);
}
/* Първото подзаглавие стои веднага под заглавието на страницата. */
.st-legal > h2:first-child { margin-top: 0; }

.st-legal h3 {
  margin: 87.5px 0 35px;
  font-size: 35px;
  line-height: 43.75px;
  font-weight: 400;
  color: #3e3e3e;
}
.st-legal h4 {
  margin: 44px 0 18px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: #3e3e3e;
}
.st-legal p {
  margin: 27px 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}
.st-legal ul,
.st-legal ol { margin: 27px 0; padding-left: 36px; list-style: none; }
.st-legal li {
  position: relative;
  margin: 18px 0;
  padding-left: 24px;
  font-size: 18px;
  line-height: 27px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}
.st-legal li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10.8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--s-green, #57823C);
}
.st-legal a { color: var(--s-green, #57823C); }
.st-legal strong { font-weight: 700; }

/* Вграден PDF (политиките, които са подписан документ). */
.st-pdf {
  margin: 27px 0;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #f6f6f6;
}
.st-pdf object { display: block; width: 100%; height: 820px; border: 0; }
.st-pdf p { margin: 24px; }

@media (max-width: 1180px) {
  .st-legal h2 { margin: 48px 0 24px; font-size: 30px; line-height: 40px; padding-bottom: 16px; }
  .st-legal h3 { margin: 36px 0 18px; font-size: 24px; line-height: 32px; }
  .st-pdf object { height: 520px; }
}

/* Уводният ред под заглавието на текстова страница. */
.st-pg-uvod {
  margin: 27px 0 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #666;
}
.st-legal .st-pg-cta { margin: 44px 0 0; text-align: left; }
.st-legal .st-pg-cta .st-btn + .st-btn { margin-left: 22px; }

/* ====================================================== форми и карта ===

   Мерено от ptsbg.eu/contacts/ при 1440 px:
     • етикет 15/19,5 тегло 600, поле 5,625 отдолу;
     • поле 40 високо, отстъп 0/12, ъгли 5, фон #E8E8E8, без рамка, 16 px;
     • разстояние между полетата 20 по височина и 16 по ширина;
     • заглавието на формата 20/26 тегло 400 с поле 18 отдолу;
     • тъмният панел с картата е 593,25 широк и изтича до десния ръб.
   ===================================================================== */

.st-forma-glava {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 400;
  color: #3e3e3e;
}
.st-forma-poleta { display: flex; flex-wrap: wrap; gap: 20px 16px; }
/* Старият калъп слага поле 18 под всяко поле — затова разстоянието
   между редовете ставаше 38 вместо мерените 20. */
.st-forma-poleta .field { flex: 1 1 100%; margin: 0; }
.st-forma-dve .field { flex: 1 1 calc(50% - 8px); }
.st-forma label,
.st-tarsi label {
  display: block;
  margin: 0 0 5.625px;
  font-size: 15px;
  line-height: 19.5px;
  font-weight: 600;
  color: #3e3e3e;
  /* старият калъп вдигаше етикетите в ГЛАВНИ букви — в оригинала не са */
  text-transform: none;
  letter-spacing: normal;
}
.st-forma input[type='text'],
.st-forma input[type='email'],
.st-forma input[type='tel'],
.st-forma input:not([type]),
.st-forma select,
.st-forma textarea {
  display: block;
  width: 100%;
  height: 40px;
  /* старият калъп налага минимална височина 46 — мерената е 40 */
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: #e8e8e8;
  font: inherit;
  font-size: 16px;
  color: #3e3e3e;
}
.st-forma textarea { height: auto; min-height: 131px !important; padding: 9.6px 12px; resize: vertical; }
.st-forma input:focus-visible,
.st-forma textarea:focus-visible,
.st-forma select:focus-visible { outline: 2px solid var(--s-green, #57823C); outline-offset: 2px; }
.st-forma .err { margin: 6px 0 0; font-size: 14px; color: #b23c0c; }
.st-forma .help { margin: 6px 0 0; font-size: 14px; color: #666; }
.st-forma .field.bad input,
.st-forma .field.bad textarea { box-shadow: inset 0 0 0 1px #b23c0c; }

.st-agree { display: flex; gap: 10px; margin: 24px 0 0; font-size: 16px; line-height: 24px; color: #3e3e3e; }
.st-agree input { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.st-agree span { font-weight: 400; }
.st-forma-cta { margin: 32px 0 0; }

.st-choice { margin: 0 0 24px; }
.st-choice-label { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 600;
  color: #3e3e3e; text-transform: none; letter-spacing: normal; }
/* Джанго изписва кръгчетата в поредица от <div>, не в списък — затова
   редът се прави на самата обвивка, а не на `ul`. */
.st-choice > div { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.st-choice > div > div { margin: 0; }
.st-choice ul { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.st-choice label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
}
.st-choice input { width: 18px; height: 18px; min-height: 0; margin: 0; }

/* ------------------------------------------------ Регистър: търсачка --- */

.st-tarsi { margin: 0 0 32px; max-width: 705px; }
.st-tarsi label { display: block; margin: 0 0 5.625px; font-size: 15px; font-weight: 600; color: #3e3e3e; }
.st-tarsi-red { display: flex; gap: 12px; }
.st-tarsi input {
  flex: 1;
  height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 5px;
  background: #e8e8e8;
  font-size: 16px;
  color: #3e3e3e;
}
.st-namereno,
.st-nenamereno {
  margin: 0 0 32px;
  padding: 24px 28px;
  border-radius: 10px;
  background: rgba(249, 249, 249, .7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}
.st-namereno-tag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 14px;
  border-radius: 60px;
  background: rgba(87, 130, 60, .12);
  font-size: 13px;
  font-weight: 700;
  color: #3f6029;
}
.st-namereno dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 24px; margin: 0; }
.st-namereno dt { font-size: 14px; color: #666; }
.st-namereno dd { margin: 0; font-size: 16px; line-height: 24px; color: #3e3e3e; }
.st-nenamereno b { display: block; margin: 0 0 8px; font-size: 18px; color: #3e3e3e; }
.st-nenamereno p { margin: 0; font-size: 16px; line-height: 24px; color: #666; }

@media (max-width: 1180px) {
  .st-forma-dve .field { flex: 1 1 100%; }
  .st-namereno dl { grid-template-columns: 1fr; gap: 4px; }
  .st-namereno dt { margin-top: 12px; }
}

/* ================== начален блок с текст вляво и снимка вдясно (пръстен) ===

   Мерено от ptsbg.eu/services/ при 1440 px: текстовата колона е 565,
   снимката е вдясно, а бледият зелен пръстен (същият похват като в
   „За нас“) стои горе вдясно при 10 % плътност.
   ======================================================================= */

.st-hero-ring { position: relative; overflow: hidden; }
.st-hero-ring::before {
  content: '';
  position: absolute;
  z-index: -1;
  /* мерено: горе 245, вдясно -99,75 спрямо раздела */
  top: 245px;
  right: -99.75px;
  width: 259.19px;
  height: 259.2px;
  border: 129px solid transparent;
  border-right-color: var(--s-green, #57823C);
  border-bottom-color: var(--s-green, #57823C);
  border-radius: 50%;
  opacity: .1;
  /* НЕ е само завъртане: в оригинала матрицата носи и преместване от
     един радиус (258,6) по завъртяната ос. Без него пръстенът пада
     183 px по-ниско и 160 px по-навътре. Мерено по пиксели. */
  transform: rotate(135deg) translate(-258.6px, 0);
  pointer-events: none;
}
/* Мерено: колоните са 565 и 613 с разстояние 48 и ЗАПОЧВАТ НА ЕДНА ЛИНИЯ
   (align-items: stretch), а не центрирани една спрямо друга. Снимката е
   точно толкова висока, колкото е текстът — 446,97 при оригинала. */
.st-hero-ring-in {
  display: grid;
  grid-template-columns: 565px 1fr;
  align-items: stretch;
  gap: 48px;
}
/* Колоната остава обикновен блок — така полетата на заглавието и на
   текста се сливат (56 вместо 56+27), както е в оригинала. */
.st-hero-ring-text h1 strong { font-weight: 700; }
/* Мерено: текстът и копчетата НЕ са изравнени със заглавието — отместени
   са с 108 px навътре. Заглавието остава най-вляво. */
.st-hero-ring-text > p { padding-left: 108px; }
.st-hero-ring-text .st-pg-cta .st-btn + .st-btn { margin-left: 4.25px; }
/* Снимката е грид-клетка и се разтяга до височината на текста; правилото
   `.st-pg-hero p` иначе ѝ слага поле 27 и я смъква надолу. */
.st-pg-hero .st-hero-ring-img { margin: 0; }
.st-hero-ring-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ъглите са 100 горе и долу вляво, долу вдясно е рязан; БЕЗ сянка */
  border-radius: 100px 100px 0 100px;
}
/* Когато вдясно стои документ, а не снимка — без рязан ъгъл и без сянка. */
.st-hero-ring-doc img {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
}

/* -------------------------------------------------- плочки с документи --- */

.st-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}
.st-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px 28px;
  border-radius: 10px;
  background: rgba(249, 249, 249, .7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  text-align: center;
}
.st-doc img {
  display: block;
  width: 180px;
  height: 241px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.st-doc h3 {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  color: #3e3e3e;
}
.st-doc p { margin: auto 0 0; padding-top: 20px; }

@media (max-width: 1180px) {
  .st-hero-ring-in { grid-template-columns: 1fr; gap: 24px; }
  .st-hero-ring-img img { border-radius: 24px; }
  .st-hero-ring::before { display: none; }
  .st-doc-grid { grid-template-columns: 1fr; }
}

/* ================================================= PT провайдър: добавки ===

   Трите направления са иконки 120×120 с име-връзка под тях; акредитацията
   е сертификатът вляво и текстът вдясно (мерено от оригинала).
   ========================================================================= */

.st-ikoni {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}
.st-ikoni li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 32px;
  border-radius: 10px;
  background: rgba(249, 249, 249, .7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  text-align: center;
}
.st-ikoni img { display: block; width: 120px; height: 120px; }
.st-ikoni h3 { margin: 20px 0 0; font-size: 20px; line-height: 27px; font-weight: 600; }
.st-ikoni h3 a { color: #3e3e3e; text-decoration: none; }
.st-ikoni h3 a:hover { color: var(--s-green, #57823C); }
.st-ikoni p { margin: 12px 0 0; font-size: 15px; line-height: 22.5px; color: #666; }

.st-legenda li i { color: #666; font-style: italic; }

.st-akreditaciya-in {
  display: grid;
  grid-template-columns: 500px 1fr;
  align-items: start;
  gap: 64px;
}
.st-akreditaciya-img { margin: 110px 0 0; }
.st-akreditaciya-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
}
.st-akreditaciya-text h2 { margin-top: 110px; }
.st-akreditaciya-text p {
  margin: 27px 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}

@media (max-width: 1180px) {
  .st-ikoni { grid-template-columns: 1fr; }
  .st-akreditaciya-in { grid-template-columns: 1fr; gap: 24px; }
  .st-akreditaciya-img { margin: 24px 0 0; }
  .st-akreditaciya-text h2 { margin-top: 24px; }
}

/* ======================= старите блокове в новия калъп (новини, схеми) ===

   Страниците „Новини“, статия, „РТ схеми“, схема и „Търсене“ останаха на
   общия калъп `_page.html`. Той вече е по мерките от оригинала, затова
   тук само се изравняват старите обвивки и типографията.
   ======================================================================= */

/* Обвивките вече са вътре в `.st-wrap` — да не падат втори отстъпи. */
.st-pg .st-sec-in { max-width: none; margin: 0; padding: 0; }
.st-pg .st-head-acts { margin-top: 27px; }

/* Пътеката, когато страницата подава своя `nav.st-crumbs`. */
.st-crumbs-bar .st-crumbs { display: inline; margin: 0; font-size: inherit; color: inherit; }
.st-crumbs-bar .st-crumbs a { color: #666; }

/* Уводният ред под заглавието. */
.st-pg-hero .st-lead {
  margin: 27px 0 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #666;
  text-align: justify;
  hyphens: none;
}
.st-pg-hero .st-lead-date { color: #666; font-size: 16px; }
.st-pg-hero .st-pills { margin: 22px 0 0; }

/* Разделите в тялото получават типографията на текстовите страници. */
.st-pg .st-text h2,
.st-pg .st-article h2 {
  position: relative;
  margin: 110px 0 44px;
  padding: 0 0 22px;
  font-size: 44px;
  line-height: 59.4px;
  font-weight: 300;
  color: #3e3e3e;
}
.st-pg .st-text h2::after,
.st-pg .st-article h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--s-green, #57823C);
}
.st-pg > .st-wrap > .st-sec-in > .st-text:first-child h2 { margin-top: 0; }
.st-pg .st-text h2 small { font-size: 20px; color: #666; }
.st-pg .st-text h3,
.st-pg .st-article h3 {
  margin: 44px 0 18px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: #3e3e3e;
}
.st-pg .st-text p,
.st-pg .st-article p {
  margin: 27px 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}
.st-pg .st-none { color: #666; }

/* ------------------------------------------------- списъкът с новини --- */

.st-news { display: flex; flex-direction: column; gap: 0; }
.st-post {
  display: grid;
  grid-template-columns: 1fr 400px;
  align-items: start;
  gap: 48px;
  padding: 44px 0;
  border-bottom: 1px solid #e9e9e9;
}
.st-post:first-child { padding-top: 0; }
.st-post-date { font-size: 13px; color: #666; }
.st-post h2 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 37.8px;
  font-weight: 400;
}
.st-post h2 a { color: #3e3e3e; text-decoration: none; }
.st-post h2 a:hover { color: var(--s-green, #57823C); }
.st-post p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: #666;
  text-align: justify;
  hyphens: none;
}
.st-post-more {
  display: inline-block;
  margin: 18px 0 0;
  font-size: 14px;
  color: #6E925A;
  text-decoration: none;
}
.st-post-more:hover { text-decoration: underline; }

@media (max-width: 1180px) {
  .st-pg .st-text h2,
  .st-pg .st-article h2 { margin: 48px 0 24px; font-size: 30px; line-height: 40px; padding-bottom: 16px; }
  .st-post { grid-template-columns: 1fr; gap: 16px; }
  .st-post h2 { font-size: 22px; line-height: 30px; }
}

.st-post-img { display: block; border-radius: 10px; overflow: hidden; }
.st-post-img img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.st-post:has(> div:only-child) { grid-template-columns: 1fr; }

/* ================================================ Регистър: търсачката ===

   Мерено от ptsbg.eu/register/ при 1440 px:
     • начален блок ЦЕНТРИРАН: заглавие 56/63 с чертица 150×3 по средата,
       под него един ред 18/31,5 в колона 860;
     • търсачката е едно хапче 600×60: бял фон, кант 2 px #CF4911, ъгли 30,
       сянка 0 5 20 rgba(0,0,0,.1), поле 81 отгоре;
     • полето вътре е 56 високо, без кант, отстъп 32 отляво и 24 отдясно;
     • копчето е 132,92×56, оранжево, с ъгли 60/60/60/0.
   ======================================================================= */

/* Мерено: тук редът под заглавието НЯМА поле отдолу, а блокът няма
   отстъп в края — затова разстоянието до търсачката е 80,5, а не 117,5.
   (Отстъпът 9,47 отдолу е заради страниците, които завършват с копче.) */
.st-pg-hero-sredno { text-align: center; padding-bottom: 0; }
.st-pg-hero-sredno p { margin-bottom: 0; }
.st-pg-hero-sredno h1 { text-align: center; }
.st-pg-hero-sredno h1::after { left: 50%; margin-left: -75px; }
.st-pg-hero-sredno p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.st-registar { padding: 0 0 96px; }

.st-hapche {
  display: flex;
  align-items: center;
  width: 600px;
  max-width: 100%;
  margin: 81px auto 0;
  border: 2px solid var(--s-orange, #CF4911);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
}
.st-hapche input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 24px 0 32px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: #3e3e3e;
}
.st-hapche input::placeholder { color: #999; }
.st-hapche input:focus-visible { outline: 2px solid var(--s-green, #57823C); outline-offset: -2px; border-radius: 30px 0 0 30px; }
.st-hapche-btn {
  flex: none;
  height: 56px;
  padding: 0 32px;
  border: 0;
  border-radius: 60px 60px 60px 0;
  background: var(--s-orange, #CF4911);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}
.st-hapche-btn:hover { background: #b23c0c; }

/* Отговорът и бележката стоят под търсачката, центрирани в същата ширина. */
.st-registar .st-namereno,
.st-registar .st-nenamereno { max-width: 780px; margin: 44px auto 0; }

@media (max-width: 700px) {
  .st-hapche { flex-wrap: wrap; border-radius: 16px; }
  .st-hapche input { width: 100%; flex: 1 1 100%; padding: 0 16px; }
  .st-hapche-btn { flex: 1 1 100%; border-radius: 0 0 16px 16px; }
}

/* ================================================= Контакти (по мерки) ===

   Мерено от ptsbg.eu/contacts/ при 1440 px (страницата е 1425 широка):
     • тъмният панел с картата: ляв ръб 831,75 (58,37 %), ширина 593,25
       (41,63 %), от САМИЯ ВРЪХ до дъното на съдържанието, фон #212121;
     • картичката върху картата: ширина 380, отстъп 32, ъгли 10,
       фон rgba(64,71,60,.8), текст #E9EEE7, заглавие 18/18 бяло,
       етикетите („Телефон:“) 16/20 в #87A279, стойностите бели,
       тегло 600, подчертани;
     • лявата колона: отстъп 78,375 (5,5 %), ширина 705,375 (49,5 %);
     • заглавието започва на 210 от върха на страницата;
     • полетата на формата са 640 широки, разстояние 20/16, 48 отгоре;
     • копчето е ВДЯСНО, 258,66 × 48, зелено, ъгли 60.
   ======================================================================= */

/* Мерено: след формата остават 128 px бяло до подвала, а панелът с
   картата спира ТОЧНО на долния ръб на копчето — не стига до подвала. */
.st-kontakti { position: relative; padding-bottom: 128px; }

/* Панелът тръгва от САМИЯ ВРЪХ на страницата — минава зад шапката,
   която горе е прозрачна. (-135 = 76 отстъп на `body` + 59 пътека.) */
.st-kontakti-karta {
  position: absolute;
  top: -135px;
  bottom: 128px;
  left: 58.37%;
  right: 0;
  overflow: hidden;
  /* мерено: долният ЛЯВ ъгъл е заоблен с 288 — това е голямата дъга,
     с която панелът се връща към бялото преди подвала */
  border-radius: 0 0 0 288px;
  background: #212121;
}
.st-kontakti-karta > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-kontakti-card {
  position: absolute;
  /* мерено: картичката е ЦЕНТРИРАНА в панела и започва на 399 от върха */
  top: 399px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  padding: 32px;
  border-radius: 10px;
  background: rgba(64, 71, 60, .8);
  color: #e9eee7;
}
.st-kontakti-card h2 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 18px;
  font-weight: 400;
  color: #fff;
}
.st-kontakti-card ul { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.st-kontakti-card li { margin: 0; padding: 0; font-size: 16px; line-height: 20px; }
.st-kontakti-card strong {
  display: block;
  margin: 0 0 2.4px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: #87a279;
}
.st-kontakti-card a { color: #fff; font-weight: 600; text-decoration: underline; }

/* В оригинала тази колона е на 78, а логото, пътеката и подвалът са на
   100 — тоест тя стърчи с 22 px наляво от всичко останало. При нас е
   вътре в общата колона, за да е на една линия с логото. */
.st-kontakti-kolona {
  position: relative;
  z-index: 1;
  width: 705.38px;
  max-width: 100%;
  padding-top: 75px;
}
.st-kontakti-kolona h1 {
  position: relative;
  margin: 0 0 56px;
  padding: 0 0 21px;
  font-size: 56px;
  line-height: 63px;
  font-weight: 400;
  color: #3e3e3e;
}
.st-kontakti-kolona h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 3px;
  background: var(--s-green, #57823C);
}
.st-kontakti-uvod {
  margin: 27px 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}
.st-kontakti-kolona .st-forma { margin-top: 61px; }
.st-kontakti-kolona .st-forma-poleta { width: 640px; max-width: 100%; padding-top: 48px; }
.st-kontakti-kolona .st-agree { width: 640px; max-width: 100%; }
/* Копчето е долепено за десния ръб на колоната. */
.st-kontakti-kolona .st-forma-cta { margin-top: 40px; text-align: right; }
.st-kontakti-kolona .st-forma-cta .st-btn { height: 48px; line-height: 46px; }

@media (max-width: 1180px) {
  .st-kontakti { padding-bottom: 0; }
  .st-kontakti-kolona { width: auto; margin: 0; padding: 32px 0 0; }
  .st-kontakti-kolona h1 { font-size: 36px; line-height: 44px; margin-bottom: 32px; }
  .st-kontakti-karta { position: static; height: 420px; margin-top: 32px; }
  .st-kontakti-card { top: 40px; left: 24px; right: 24px; width: auto; transform: none; }
  .st-kontakti-kolona .st-forma-cta { text-align: left; }
}

/* Звездичката при задължителните полета. Мерено от оригинала: тя е със
   СЪЩИЯ размер и цвят като етикета и стои на реда, не вдигната нагоре —
   затова се вижда като обикновена звездичка, а не като точица. */
.st-forma sup,
.st-tarsi sup {
  font-size: 15px;
  line-height: 19.5px;
  color: #3e3e3e;
  vertical-align: baseline;
}
.st-agree a { color: var(--s-green, #57823C); }

/* Капанът за роботи: изнесен извън екрана, а не скрит с `display:none` —
   част от роботите прескачат скритото, но попълват изнесеното. */
.st-kapan { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ======================================= Жалби и възражения (по мерки) ===

   Мерено от оригинала при 1440 px:
     • разделът с формата: отстъп 41 отгоре и 48 отдолу;
     • формата е ЦЕНТРИРАНА, 704 широка (поле 261 от двете страни);
     • полетата са 640 в ЕДНА колона, стъпка 109,3 (разстояние 45);
     • заглавието на формата 20/26 с поле 18 отдолу;
     • копчето е ВДЯСНО, 48 високо, зелено с ъгли 60.
   ======================================================================= */

.st-zhalbi { padding: 41px 0 48px; }
.st-forma-solo { width: 704px; max-width: 100%; margin: 0 auto; }
.st-forma-solo .st-forma-poleta {
  width: 640px;
  max-width: 100%;
  padding-top: 48px;
  /* В оригинала двете форми са различни — „Контакти“ с 20, „Жалби“ с 45.
     При нас са изравнени на 20, за да изглеждат като едно нещо. */
  gap: 20px 16px;
}
.st-forma-solo .st-choice { margin: 0; }
.st-forma-solo .st-kapan + .st-forma-cta,
.st-forma-solo .st-forma-cta { margin-top: 40px; text-align: right; }
.st-forma-solo .st-forma-cta .st-btn { height: 48px; line-height: 46px; }

@media (max-width: 1180px) {
  .st-forma-solo, .st-forma-solo .st-forma-poleta { width: auto; }
  .st-forma-solo .st-forma-poleta { gap: 24px 16px; }
  .st-forma-solo .st-forma-cta { text-align: left; }
}

/* ============================================ списъкът „Новини“ (светъл) ===

   Мерено от ptsbg.eu/news/ при 1440 px: решетка от три плочки по 392,66 с
   разстояние 24 и поле 48 отгоре; плочката е бяла с 80 % плътност, ъгли 10
   и сянка 0 5 20 rgba(0,0,0,.1). Вътре е същото като на началната страница,
   само че в тъмни букви.
   ========================================================================= */

.st-news-light {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 27px;
}
.st-news-light .st-news-card {
  width: auto;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
}
/* Светлата плочка няма „стъкления“ слой на тъмния пояс. */
.st-news-light .st-news-card::after { display: none; }
.st-news-light .st-news-card h2 {
  margin: 22px 0 0;
  padding: 0 32px;
  font-size: 22px;
  line-height: 29.7px;
  font-weight: 400;
  color: #3e3e3e;
}
.st-news-light .st-news-card h2::after { display: none; }
.st-news-light .st-news-card h2 a { color: inherit; text-decoration: none; }
.st-news-light .st-news-card:hover h2 a { text-decoration: underline; }
.st-news-light .st-news-teaser { color: #666; }
.st-news-light .st-news-meta time { color: rgba(102, 102, 102, .8); }

@media (max-width: 1180px) { .st-news-light { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .st-news-light { grid-template-columns: 1fr; } }

/* Заглавието „Новини“ е ЦЕНТРИРАНО, с поле 72 отдолу, и плочките тръгват
   веднага след него (мерено от оригинала). */
.st-pg-hero-novini { padding-bottom: 0; }
.st-pg-hero-novini h1 { margin-bottom: 72px; }
.st-pg .st-news-light { margin-top: 0; }

/* ================================================ страница на новина ===

   Мерено от ptsbg.eu при 1440 px:
     • снимка 1425 × 410, долепена под шапката (пътеката плува върху нея);
     • бяла картичка 850, центрирана, отстъп 50/50/0, ъгли 10 горе,
       започва на 380 — тоест влиза 126 px в снимката;
     • заглавие 56/63 тегло 400 с чертица 150×3 отляво, поле 56 отдолу;
     • дата 13 px сиво; копчета за споделяне 21×21 от спрайта,
       разстояние 13,5, поле 20 отгоре и 60 отдолу;
     • текстът е в колона 750 с 18/31,5.
   ===================================================================== */

.st-novina { position: relative; padding-bottom: 96px; }
/* Пътеката стои НАД снимката. */
.st-crumbs-vrahu { position: relative; z-index: 2; }

.st-novina-snimka {
  /* −39 я вдига точно под шапката, на мястото на пътеката */
  margin: -39px 0 0;
  height: 410px;
  overflow: hidden;
}
.st-novina-snimka img { display: block; width: 100%; height: 100%; object-fit: cover; }

.st-novina-karta {
  position: relative;
  z-index: 1;
  width: 850px;
  max-width: 100%;
  /* влиза 126 px в снимката */
  margin: -126px auto 0;
  padding: 50px 50px 0;
  border-radius: 10px 10px 0 0;
  background: #fff;
}
/* Когато новината е без снимка, картичката просто тръгва отгоре. */
.st-novina-karta-bez { margin-top: 0; padding-top: 105px; }

.st-novina-karta h1 {
  position: relative;
  margin: 0 0 56px;
  padding: 0 0 21px;
  font-size: 56px;
  line-height: 63px;
  font-weight: 400;
  color: #3e3e3e;
}
.st-novina-karta h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 3px;
  background: var(--s-green, #57823C);
}
.st-novina-data { margin: 0; font-size: 13px; line-height: 20px; color: #666; }

.st-share { display: flex; margin: 20px 0 60px; padding: 0; list-style: none; }
.st-share a {
  display: block;
  width: 21px;
  height: 21px;
  margin-right: 13.5px;
  overflow: hidden;
  text-indent: -3000px;
  background-image: url('../img/sait/sprite.svg');
  background-repeat: no-repeat;
}
.st-share-fb { background-position: -260px -131px; }
.st-share-in { background-position: -260px -154px; }
.st-share-x { background-position: -260px -177px; }

.st-novina-tyalo {
  width: 750px;
  max-width: 100%;
  margin: 0 auto;
}
.st-novina-tyalo p {
  margin: 27px 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}
.st-novina-tyalo h2 {
  margin: 44px 0 18px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: #3e3e3e;
}
.st-novina-tyalo a { color: var(--s-green, #57823C); }

/* Тихият списък с още новини в края. */
.st-oshte { margin-top: 60px; padding-top: 32px; border-top: 1px solid #e9e9e9; }
.st-oshte h2 { margin: 0 0 18px; font-size: 20px; line-height: 26px; font-weight: 600; }
.st-oshte ul { margin: 0; padding: 0; list-style: none; }
.st-oshte li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.st-oshte a { color: #3e3e3e; font-size: 16px; line-height: 24px; text-decoration: none; }
.st-oshte a:hover { color: var(--s-green, #57823C); text-decoration: underline; }
.st-oshte time { flex: none; font-size: 13px; line-height: 24px; color: #666; }

@media (max-width: 1180px) {
  .st-novina-snimka { height: 260px; }
  .st-novina-karta { width: auto; margin: -64px 24px 0; padding: 32px 24px 0; }
  .st-novina-karta h1 { font-size: 32px; line-height: 40px; margin-bottom: 32px; }
  .st-novina-tyalo { width: auto; padding: 0 24px; }
}

/* ================================================ новина — видът „Четиво“ ===

   Четенето е на първо място: колона 720 (около 70 знака на ред), голям
   междуредов отстъп и нищо, което да отвлича. Вдясно върви тиха лента,
   която следва при превъртане — споделяне и прикачените файлове.
   Снимката е ВЪТРЕ в текста, със свой надпис.
   ========================================================================= */

.st-chetivo { padding: 56px 0 96px; }
.st-chetivo-in {
  display: grid;
  grid-template-columns: 720px 1fr;
  align-items: start;
  gap: 64px;
}

/* --------------------------------------------------------- самият текст --- */

.st-tema { margin: 0 0 20px; }
.st-tema a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 60px;
  background: rgba(87, 130, 60, .12);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #3f6029;
  text-decoration: none;
}
.st-tema a:hover { background: rgba(87, 130, 60, .2); }

.st-chetivo-tekst h1 {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 21px;
  font-size: 44px;
  line-height: 56px;
  font-weight: 400;
  color: #3e3e3e;
  text-wrap: balance;
}
.st-chetivo-tekst h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 3px;
  background: var(--s-green, #57823C);
}
.st-chetivo-red {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  font-size: 14px;
  line-height: 22px;
  color: #666;
}
.st-chetivo-red span:nth-child(odd) { color: #c7c7c7; }

/* Уводът е по-едър — той поема погледа и казва за какво става дума. */
.st-chetivo-uvod {
  margin: 0 0 36px;
  padding-left: 20px;
  border-left: 3px solid rgba(87, 130, 60, .35);
  font-size: 21px;
  line-height: 34px;
  color: #3e3e3e;
}

.st-chetivo-tekst p {
  margin: 27px 0;
  font-size: 18px;
  line-height: 31.5px;
  color: #3e3e3e;
  text-align: justify;
  hyphens: none;
}
.st-chetivo-tekst a { color: var(--s-green, #57823C); }
.st-chetivo-tekst h2 {
  margin: 48px 0 18px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 600;
  color: #3e3e3e;
}

.st-chetivo-snimka { margin: 36px 0; }
.st-chetivo-snimka img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.st-chetivo-snimka figcaption {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: #666;
}
.st-chetivo-navan { margin: 44px 0 0; }

.st-chernova {
  margin: 0 0 24px;
  padding: 12px 18px;
  border-radius: 8px;
  background: rgba(207, 73, 17, .1);
  font-size: 15px;
  color: #b23c0c;
}

/* ------------------------------------------------------- тихата лента --- */

.st-lepkavo { position: sticky; top: 120px; }
.st-lenta-glava {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #999;
}
.st-chetivo-lenta .st-share { margin: 0 0 36px; }
.st-prikacheni { margin: 0; padding: 0; list-style: none; }
.st-prikacheni li { margin: 0 0 10px; }
.st-prikacheni a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  line-height: 20px;
  color: #3e3e3e;
  text-decoration: none;
}
.st-prikacheni a:hover { border-color: var(--s-green, #57823C); color: var(--s-green, #57823C); }
.st-prikacheni svg { flex: none; width: 18px; height: 18px; color: var(--s-green, #57823C); }

/* --------------------------------------------------------- още новини --- */

.st-chetivo .st-oshte {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid #e9e9e9;
  border-bottom: 0;
}
.st-chetivo .st-oshte h2 {
  margin: 0 0 24px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 400;
  color: #3e3e3e;
}
.st-chetivo .st-news-light { margin: 0; }

/* ------------------------------------------- етикетите над списъка ----- */

.st-temi { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.st-temi a {
  padding: 7px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 60px;
  font-size: 14px;
  line-height: 20px;
  color: #666;
  text-decoration: none;
}
.st-temi a:hover { border-color: var(--s-green, #57823C); color: var(--s-green, #57823C); }
.st-temi a.on {
  border-color: var(--s-green, #57823C);
  background: var(--s-green, #57823C);
  color: #fff;
}

@media (max-width: 1180px) {
  .st-chetivo { padding: 32px 0 64px; }
  .st-chetivo-in { grid-template-columns: 1fr; gap: 32px; }
  .st-chetivo-tekst h1 { font-size: 30px; line-height: 40px; }
  .st-chetivo-uvod { font-size: 18px; line-height: 29px; }
  .st-lepkavo { position: static; }
  .st-chetivo-lenta { display: flex; flex-wrap: wrap; gap: 32px; }
}
