/* ==========================================================
   Imaging Horizons 2015 – нов дизайн
   Хедър и футър (всички страници) + секции на началната страница
   ========================================================== */

:root {
  --ih-navy: #0f2238;
  --ih-navy-2: #16304d;
  --ih-ink: #14263b;
  --ih-text: #4a5868;
  --ih-muted: #6c7a89;
  --ih-blue: #2d8fd5;
  --ih-blue-dark: #1f78b9;
  --ih-bg: #f4f7fa;
  --ih-bg-2: #e9eff5;
  --ih-line: #dfe6ed;
  --ih-head-font: "Montserrat", "Open Sans", Arial, sans-serif;
  --ih-body-font: "Open Sans", Arial, sans-serif;
}

.ih-accent { color: var(--ih-blue); }

/* ---------- ЕДНАКЪВ ХЕДЪР/ФУТЪР НА ВСИЧКИ СТРАНИЦИ ----------
   style.css задава на body letter-spacing, line-height и шрифт, които се
   различават между началната и вътрешните страници - тук ги нулираме,
   за да не "мърда" хедърът с 1-2px. */
html { overflow-y: scroll; scrollbar-gutter: stable; } /* винаги място за скролбар - иначе късите страници се изместват */
.ih-header, .ih-footer {
  font-family: var(--ih-body-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
.ih-header ul, .ih-footer ul { margin-bottom: 0; }

/* ---------- ЛОГО ---------- */
.ih-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ih-ink);
  border-left: 2px solid var(--ih-blue);
  padding-left: 8px;
  line-height: 1;
}
.ih-logo:hover { color: var(--ih-ink); }
.ih-logo-text {
  font-family: var(--ih-head-font);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.02;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.ih-logo-tag {
  margin-top: 4px;
  font-family: var(--ih-body-font);
  font-size: 7.5px;
  letter-spacing: 1.6px;
  color: var(--ih-muted);
}
.ih-logo-light, .ih-logo-light:hover { color: #fff; }
.ih-logo-light .ih-logo-tag { color: rgba(255,255,255,.6); }

/* ---------- ХЕДЪР ---------- */
.ih-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 1px 0 var(--ih-line);
  font-family: var(--ih-body-font);
}
.ih-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.ih-nav-wrap { margin-left: auto; }
.ih-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ih-nav-item { position: relative; }
.ih-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 26px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ih-ink);
  text-decoration: none;
  position: relative;
}
.ih-nav-link:hover, .ih-nav-link.active { color: var(--ih-blue); }
.ih-nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  height: 2px;
  background: var(--ih-blue);
}
.ih-caret { opacity: .7; }
.ih-sub {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(15, 34, 56, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s ease;
}
.ih-nav-item.has-sub:hover .ih-sub,
.ih-nav-item.has-sub:focus-within .ih-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ih-sub a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--ih-text);
  text-decoration: none;
}
.ih-sub a:hover { color: var(--ih-blue); background: var(--ih-bg); }

.ih-burger {
  margin-left: auto;
  border: 0;
  background: none;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.ih-burger span { display: block; height: 2px; background: var(--ih-ink); border-radius: 2px; }

@media (max-width: 991.98px) {
  .ih-header-inner { min-height: 64px; gap: 8px; }
  .ih-nav-wrap { margin-left: 0; }
  .ih-nav-wrap .offcanvas-header { border-bottom: 1px solid var(--ih-line); }
  .ih-nav-wrap .offcanvas-header .ih-logo-text { font-size: 15px; }
  .ih-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .ih-nav-link { padding: 12px 0; font-size: 15px; width: 100%; border-bottom: 1px solid var(--ih-bg-2); }
  .ih-nav-link.active::after { display: none; }
  .ih-caret { display: none; }
  .ih-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 4px 0 8px 12px;
    min-width: 0;
  }
}

/* ---------- ФУТЪР ---------- */
.ih-footer {
  background: var(--ih-navy);
  color: rgba(255,255,255,.75);
  font-family: var(--ih-body-font);
  font-size: 12.5px;
}
.ih-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.ih-footer a:hover { color: #fff; }
.ih-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  padding: 36px 0 30px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.ih-footer .ih-logo-text { font-size: 20px; }
.ih-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.ih-footer-social {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ih-footer-social a { color: #fff; display: inline-flex; }
.ih-footer-social a:hover { color: var(--ih-blue); }
.ih-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 18px 0 22px;
  font-size: 11.5px;
}
.ih-footer-bottom p { margin: 0; color: rgba(255,255,255,.6); }
.ih-footer-bottom ul { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.ih-footer-bottom a { color: var(--ih-blue); }
.ih-footer-bottom .ih-divider { width: 1px; height: 12px; background: rgba(255,255,255,.3); }

@media (max-width: 767.98px) {
  .ih-footer-top { flex-direction: column; align-items: flex-start; }
  .ih-footer-nav { margin-left: 0; }
}

/* ==========================================================
   НАЧАЛНА СТРАНИЦА
   ========================================================== */
body.ih-home {
  background: #fff;
  font-family: var(--ih-body-font);
  color: var(--ih-text);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
}
.ih-home p { color: var(--ih-text); }
.ih-home h1, .ih-home h2, .ih-home h3 {
  font-family: var(--ih-head-font);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--ih-ink);
}

.ih-eyebrow {
  font-family: var(--ih-head-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ih-blue) !important;
  margin-bottom: 6px;
}
.ih-eyebrow-dark { color: var(--ih-ink) !important; }
.ih-h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  text-transform: uppercase !important;
  margin-bottom: 18px;
}
.ih-h3 {
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase !important;
}
.ih-underline { padding-bottom: 14px; position: relative; margin-bottom: 36px; }
.ih-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 22px; height: 2px;
  background: var(--ih-blue);
}

/* Бутони */
.ih-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 26px;
  border-radius: 40px;
  font-family: var(--ih-head-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: .25s ease;
}
.ih-btn svg { transition: transform .25s ease; }
.ih-btn:hover svg { transform: translateX(4px); }
.ih-btn-primary { background: var(--ih-blue); color: #fff; box-shadow: 0 8px 20px rgba(45,143,213,.35); }
.ih-btn-primary:hover { background: var(--ih-blue-dark); color: #fff; }
.ih-btn-outline { border-color: var(--ih-blue); color: var(--ih-blue); }
.ih-btn-outline:hover { background: var(--ih-blue); color: #fff; }
.ih-btn-light { border-color: rgba(255,255,255,.85); color: #fff; }
.ih-btn-light:hover { background: #fff; color: var(--ih-navy); }

.ih-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ih-head-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ih-blue);
  text-decoration: none;
}
.ih-link:hover { color: var(--ih-blue-dark); }

/* HERO */
.ih-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 90px 0 110px;
  background-color: var(--ih-navy);
  background-size: cover;
  background-position: 70% center;
  isolation: isolate;
}
.ih-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10,22,38,.88) 0%, rgba(10,22,38,.6) 38%, rgba(10,22,38,.05) 70%);
}
.ih-hero::after {
  /* лека извивка в долния край, както в дизайна */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 36px;
  background: #fff;
  clip-path: ellipse(75% 100% at 50% 100%);
}
.ih-hero .ih-eyebrow { color: #8cc4ee !important; letter-spacing: 3.5px; }
.ih-hero-title {
  color: #fff !important;
  font-size: clamp(40px, 5.6vw, 66px);
  font-weight: 700;
  text-transform: uppercase !important;
  line-height: 1.02 !important;
  letter-spacing: 1px !important;
  margin: 8px 0 14px;
}
.ih-hero-title .ih-accent { color: #4aa8ea; }
.ih-hero-sub {
  color: #fff !important;
  font-family: var(--ih-head-font);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 26px;
}
.ih-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
}
.ih-hero-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8cc4ee;
  font-family: var(--ih-head-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.ih-hero-meta svg { color: #fff; }

/* FEATURES */
.ih-features { padding: 26px 0 36px; background: #fff; }
.ih-feature {
  text-align: center;
  padding: 10px 22px;
  height: 100%;
  border-right: 1px solid var(--ih-line);
}
.ih-features .col-lg-3:last-child .ih-feature { border-right: 0; }
.ih-feature-icon { color: var(--ih-blue); margin-bottom: 14px; }
.ih-feature h3 {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase !important;
  letter-spacing: .4px !important;
  margin-bottom: 8px;
}
.ih-feature p { font-size: 13px; line-height: 1.5; margin: 0 auto; max-width: 200px; }
@media (max-width: 991.98px) {
  .ih-feature { border-right: 0; padding: 18px 12px; }
}

/* WELCOME */
.ih-welcome { background: var(--ih-bg); padding: 80px 0; }
.ih-welcome p { font-size: 14.5px; max-width: 520px; }
.ih-collage { position: relative; height: 420px; max-width: 540px; margin-left: auto; }
.ih-collage-main {
  position: absolute; left: 0; top: 0;
  width: 58%; height: 86%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(15,34,56,.18);
}
.ih-collage-small {
  position: absolute; right: 0; bottom: 0;
  width: 50%; height: 56%;
  object-fit: cover;
  border-radius: 4px;
  border: 5px solid #fff;
  box-shadow: 0 14px 34px rgba(15,34,56,.2);
}
.ih-collage-block {
  position: absolute; left: 30%; bottom: -6px;
  width: 26%; height: 30%;
  background: #dcebf8;
  z-index: -0;
}
.ih-collage-script {
  position: absolute; right: 4%; top: 0;
  font-family: "Marck Script", cursive;
  font-size: 30px;
  line-height: 1;
  color: var(--ih-ink);
  transform: rotate(-6deg);
}
@media (max-width: 575.98px) {
  .ih-collage { height: 320px; }
  .ih-collage-script { font-size: 24px; }
}

/* TOPICS */
.ih-topics { padding: 80px 0 30px; background: #fff; }
.ih-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
}
.ih-section-head .ih-link { margin-bottom: 6px; }
.ih-topic {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15,34,56,.09);
  text-decoration: none;
  transition: .25s ease;
}
.ih-topic:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,34,56,.16); }
.ih-topic-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0b1520; }
.ih-topic-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ih-topic:hover .ih-topic-img img { transform: scale(1.05); }
.ih-topic-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 18px;
  color: var(--ih-muted);
}
.ih-topic-title {
  font-family: var(--ih-head-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--ih-ink);
  line-height: 1.3;
}
.ih-topic:hover .ih-topic-body { color: var(--ih-blue); }

/* KEY DATES */
.ih-dates { padding: 50px 0 60px; background: #fff; }
.ih-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.ih-timeline::before {
  content: "";
  position: absolute;
  left: 12.5%; right: 12.5%; top: 6px;
  height: 1px;
  background: var(--ih-line);
}
.ih-timeline li {
  position: relative;
  text-align: center;
  padding: 0 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ih-text);
}
.ih-dot {
  display: block;
  width: 13px; height: 13px;
  margin: 0 auto 18px;
  border: 2.5px solid var(--ih-blue);
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.ih-timeline strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--ih-head-font);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ih-ink);
}
@media (max-width: 767.98px) {
  .ih-timeline { grid-template-columns: 1fr; gap: 24px; }
  .ih-timeline::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .ih-timeline li { text-align: left; padding: 0 0 0 30px; }
  .ih-dot { position: absolute; left: 0; top: 2px; margin: 0; }
}

/* VENUE */
.ih-venue {
  position: relative;
  padding: 70px 0;
  background-color: var(--ih-navy);
  background-size: cover;
  background-position: 70% center;
  isolation: isolate;
}
.ih-venue::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10,22,38,.9) 0%, rgba(10,22,38,.65) 35%, rgba(10,22,38,.05) 70%);
}
.ih-venue-content { max-width: 440px; }
.ih-venue-content .ih-eyebrow { color: #8cc4ee !important; }
.ih-venue-content p:not(.ih-eyebrow) { color: rgba(255,255,255,.88); font-size: 14.5px; margin-bottom: 26px; }

/* PARTNERS */
.ih-partners { padding: 50px 0 60px; background: #fff; }
.ih-partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ih-partner-list img {
  max-height: 44px;
  max-width: 140px;
  filter: grayscale(1);
  opacity: .75;
  transition: .25s ease;
}
.ih-partner-list img:hover { filter: none; opacity: 1; }
.ih-partner-name {
  font-family: var(--ih-head-font);
  font-size: 17px;
  font-weight: 700;
  color: #6f7780;
  letter-spacing: .5px;
}
@media (max-width: 767.98px) {
  .ih-partner-list { justify-content: center; }
}

/* Мобилни корекции */
.ih-section-head .ih-link { white-space: nowrap; }
@media (max-width: 767.98px) {
  .ih-hero { min-height: 480px; padding: 70px 0 90px; }
  .ih-hero::before, .ih-venue::before { background: linear-gradient(180deg, rgba(10,22,38,.55) 0%, rgba(10,22,38,.8) 100%); }
  .ih-section-head { flex-wrap: wrap; align-items: flex-start; }
}

/* ==========================================================
   СТРАНИЦА "ЗА НАС" (about.php)
   ========================================================== */
.ab-page {
  --ab-navy: #0d2f5c;
  --ab-blue: #0f5aa8;
  --ab-blue-dark: #0b4887;
  --ab-light: #eef4fa;
  --ab-light-2: #e3edf7;
  --ab-text: #3f4c5c;
  background: #fff;
  font-family: var(--ih-body-font);
  color: var(--ab-text);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
}
.ab-page p { color: var(--ab-text); }
.ab-page h1, .ab-page h2, .ab-page h3 {
  font-family: var(--ih-head-font);
  color: var(--ab-navy);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}
.ab-h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  padding-bottom: 16px;
  margin-bottom: 30px;
  position: relative;
}
.ab-h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--ab-blue);
}
.ab-strong { color: var(--ab-blue); }

.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 40px;
  font-family: var(--ih-head-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: .25s ease;
}
.ab-btn svg { transition: transform .25s ease; }
.ab-btn:hover svg { transform: translateX(4px); }
.ab-btn-primary { background: var(--ab-blue); color: #fff; box-shadow: 0 8px 20px rgba(15, 90, 168, .3); }
.ab-btn-primary:hover { background: var(--ab-blue-dark); color: #fff; }
.ab-btn-outline { border-color: var(--ab-blue); color: var(--ab-blue); }
.ab-btn-outline:hover { background: var(--ab-blue); color: #fff; }

/* HERO */
.ab-hero {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  padding: 70px 0;
  background: linear-gradient(115deg, #f4f8fc 0%, #e8f0f8 55%, #dde9f5 100%);
}
.ab-hero-img {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 58%;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.ab-hero::before {
  /* декоративни извити линии, както в дизайна */
  content: "";
  position: absolute;
  left: -10%; bottom: -60%;
  width: 80%; height: 120%;
  border-radius: 50%;
  border: 1px solid rgba(15, 90, 168, .12);
  box-shadow: 0 0 0 40px rgba(255,255,255,.25), 0 0 0 41px rgba(15, 90, 168, .08);
  pointer-events: none;
}
.ab-hero-content { position: relative; max-width: 520px; }
.ab-hero-title {
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 700;
  line-height: 1.08 !important;
  margin-bottom: 14px;
}
.ab-hero-sub {
  font-size: clamp(17px, 1.9vw, 23px);
  line-height: 1.35;
  color: var(--ab-navy) !important;
  margin-bottom: 26px;
}

/* ПРЕДИМСТВА */
.ab-features { padding: 26px 0 32px; background: #fff; }
.ab-feature {
  text-align: center;
  padding: 0 20px;
  height: 100%;
  border-right: 1px solid #e3e9f0;
}
.ab-features .col-lg-3:last-child .ab-feature { border-right: 0; }
.ab-feature-icon {
  width: 62px; height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ab-light-2);
  color: var(--ab-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-feature h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.ab-feature p { font-size: 13px; line-height: 1.5; margin: 0 auto; max-width: 210px; }
@media (max-width: 991.98px) {
  .ab-feature { border-right: 0; padding: 16px 10px; }
}

/* ЗА НАС */
.ab-about { background: var(--ab-light); padding: 60px 0 50px; }
.ab-about p { font-size: 14px; }
.ab-about-img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(13, 47, 92, .15);
}

/* ПРОДУКТИ И УСЛУГИ */
.ab-products {
  padding: 50px 0 60px;
  background: linear-gradient(180deg, var(--ab-light-2) 0%, #f0f5fb 100%);
}
.ab-card {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(13, 47, 92, .1);
  text-decoration: none;
  transition: .25s ease;
}
.ab-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(13, 47, 92, .18); }
.ab-card-img { display: block; aspect-ratio: 17 / 10; overflow: hidden; background: #dfe8f1; }
.ab-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ab-card:hover .ab-card-img img { transform: scale(1.05); }
.ab-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 16px;
  color: var(--ab-blue);
}
.ab-card-title {
  font-family: var(--ih-head-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--ab-navy);
  line-height: 1.3;
}

/* ПАРТНЬОРИ */
.ab-partners { padding: 40px 0 50px; background: #fff; }
.ab-partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 36px;
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
}
.ab-partner-list img { max-height: 48px; max-width: 150px; }
.ab-partner-name {
  font-family: var(--ih-head-font);
  font-size: 17px;
  font-weight: 700;
  color: #5b6773;
}

@media (max-width: 767.98px) {
  .ab-hero { min-height: 0; padding: 50px 0 260px; }
  .ab-hero-img {
    top: auto; left: 0; width: 100%; height: 260px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
  }
  .ab-partner-list { justify-content: center; padding: 0; }
}

/* ==========================================================
   СТРАНИЦА "ПРОДУКТИ И УСЛУГИ" (produkti.php)
   Ползва променливите и бутоните от .ab-page
   ========================================================== */
.pr-hero {
  position: relative;
  padding: 50px 0 90px;
  background-color: #1d4f86;
  isolation: isolate;
  overflow: hidden;
}
.pr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #1a4a82 0%, #1f558f 45%, rgba(31, 85, 143, .35) 62%, rgba(31, 85, 143, .05) 85%);
}
.pr-hero-img {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}
.pr-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 40px;
  background: #fff;
  clip-path: ellipse(75% 100% at 50% 100%);
}
.pr-breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,.8);
  margin-bottom: 30px;
}
.pr-breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.pr-breadcrumb a:hover { color: #fff; }
.pr-page .pr-hero-title {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 700;
  padding-bottom: 22px;
  margin-bottom: 26px;
  position: relative;
}
.pr-hero-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 38px; height: 3px;
  background: #fff;
}
.pr-page .pr-hero-text {
  color: rgba(255,255,255,.92);
  max-width: 470px;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.pr-section { padding: 50px 0; background: #fff; }
.pr-light { background: var(--ab-light); }
.pr-section p { font-size: 14px; }
.pr-small { font-size: 13px !important; }

.pr-page .pr-h2 {
  font-size: clamp(21px, 2vw, 24px);
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 22px;
  position: relative;
}
.pr-h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--ab-blue);
}
/* вертикална черта отляво, както в дизайна */
.pr-h2-bar { padding-left: 16px; border-left: 3px solid var(--ab-blue); }
.pr-h2-bar::after { display: none; }
.pr-offer .pr-h2 { padding-left: 16px; border-left: 3px solid var(--ab-blue); }

/* Какво предлагаме - малки карти */
.pr-offer-card {
  height: 100%;
  text-align: center;
  padding: 20px 12px 18px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(13, 47, 92, .09);
}
.pr-offer-card h3 { font-size: 14px; font-weight: 700; margin: 12px 0 6px; }
.pr-offer-card p { font-size: 12px !important; line-height: 1.5; margin: 0; color: #6a7684 !important; }
.pr-icon-circle {
  width: 62px; height: 62px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--ab-light-2);
  color: var(--ab-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Продуктови карти */
.pr-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(13, 47, 92, .1);
  text-decoration: none;
  transition: .25s ease;
}
a.pr-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(13, 47, 92, .18); }
.pr-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e6edf4; }
.pr-card-tall .pr-card-img { aspect-ratio: 1 / 1; }
.pr-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.pr-card:hover .pr-card-img img { transform: scale(1.05); }
.pr-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 12px 10px;
}
.pr-card-title {
  font-family: var(--ih-head-font);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ab-navy);
}
.pr-card-text { font-size: 11.5px; line-height: 1.45; color: #6a7684; margin-top: 4px; }
.pr-card-arrow { margin-top: auto; padding-top: 8px; align-self: flex-end; color: var(--ab-blue); display: inline-flex; }

/* Допълнителни услуги */
.pr-extra-item { display: flex; align-items: center; gap: 16px; }
.pr-extra-item p { margin: 0; font-size: 13px !important; line-height: 1.5; }
.pr-icon-ring {
  flex: 0 0 60px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d5e2ef;
  color: var(--ab-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .pr-hero { padding: 36px 0 70px; }
  .pr-hero-img { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .pr-hero::before { background: linear-gradient(180deg, rgba(20, 62, 112, .88) 0%, rgba(30, 80, 140, .8) 100%); }
}

/* ==========================================================
   СТРАНИЦА "КОНТАКТИ" (contacts.php)
   Ползва .ab-page / .pr-hero стиловете
   ========================================================== */
.ct-hero { padding: 80px 0 110px; }
.ct-page .ct-hero-title {
  color: #fff;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  margin-bottom: 18px;
}
.ct-page .ct-hero-text {
  color: rgba(255,255,255,.95);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.45;
  margin: 0;
}

.ct-cards { position: relative; z-index: 2; margin-top: -20px; padding-bottom: 20px; }
.ct-card {
  display: flex;
  gap: 18px;
  height: 100%;
  padding: 22px 20px 24px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 22px rgba(13, 47, 92, .1);
}
.ct-card-icon {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ab-light-2);
  color: var(--ab-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-card h3 { font-size: 17px; font-weight: 700; margin: 6px 0 10px; }
.ct-card p { font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; color: var(--ab-text); }
.ct-card a { text-decoration: none; }
.ct-card .ct-big { font-size: 16px; }
.ct-card .ct-big a { color: var(--ab-text); }
.ct-card .ct-big a:hover { color: var(--ab-blue); }
.ct-min0 { min-width: 0; }
.ct-blue { color: var(--ab-blue) !important; font-size: 12.5px; word-break: break-all; }
.ct-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ih-head-font);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ab-blue) !important;
}
.ct-link:hover svg { transform: translateX(3px); }
.ct-link svg { transition: transform .2s ease; }

.ct-main { padding: 50px 0 70px; background: linear-gradient(180deg, #fff 0%, var(--ab-light) 100%); }
@media (min-width: 992px) {
  .ct-map-col { border-right: 1px solid #dbe4ee; padding-right: 26px; }
}
.ct-map {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(13, 47, 92, .1);
  aspect-ratio: 3 / 2;
  background: #e6edf4;
}
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ct-form { display: flex; flex-direction: column; gap: 16px; }
.ct-form input,
.ct-form textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--ih-body-font);
  font-size: 14px;
  color: var(--ab-navy);
  background: #fff;
  border: 1px solid #d6e0ea;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(13, 47, 92, .04);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.ct-form textarea { min-height: 120px; resize: vertical; }
.ct-form input:focus,
.ct-form textarea:focus { border-color: var(--ab-blue); box-shadow: 0 0 0 3px rgba(15, 90, 168, .12); }
.ct-form input::placeholder,
.ct-form textarea::placeholder { color: #7b8794; }
.ct-form .ab-btn { align-self: flex-start; padding: 15px 30px; font-size: 13px; margin-top: 6px; }
.ct-form button.ab-btn { cursor: pointer; }

.ct-alert { padding: 12px 16px; border-radius: 5px; font-size: 14px; margin-bottom: 18px; }
.ct-alert-ok { background: #e3f4ea; color: #1f6b3d; border: 1px solid #bfe3cc; }
.ct-alert-err { background: #fdecec; color: #9b2c2c; border: 1px solid #f3c7c7; }

@media (max-width: 767.98px) {
  .ct-hero { padding: 50px 0 80px; }
  .ct-cards { margin-top: 0; padding-top: 10px; }
}

/* ==========================================================
   НАВИГАЦИОННА ПЪТЕЧКА (breadcrumb.php) - еднаква навсякъде
   ========================================================== */
.ih-breadcrumb { margin-bottom: 26px; font-family: var(--ih-body-font); }
.ih-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0;
}
.ih-breadcrumb li { display: inline-flex; align-items: center; }
.ih-breadcrumb li + li::before {
  content: ">";
  margin: 0 9px;
  opacity: .7;
}
.ih-breadcrumb a { text-decoration: none; transition: color .2s; }
.ih-breadcrumb-light, .ih-breadcrumb-light li::before { color: rgba(255,255,255,.8); }
.ih-breadcrumb-light a { color: rgba(255,255,255,.8); }
.ih-breadcrumb-light a:hover, .ih-breadcrumb-light [aria-current] { color: #fff; }
.ih-breadcrumb-dark, .ih-breadcrumb-dark li::before { color: #6a7684; }
.ih-breadcrumb-dark a { color: #6a7684; }
.ih-breadcrumb-dark a:hover { color: var(--ih-blue); }
.ih-breadcrumb-dark [aria-current] { color: var(--ih-ink); }

/* ЕДНАКЪВ HERO на вътрешните страници (page-hero.php):
   фиксирана височина, за да стои снимката по един и същи начин навсякъде */
.pr-hero { min-height: 400px; display: flex; align-items: center; }
.pr-hero > .container { width: 100%; }
@media (max-width: 767.98px) {
  .pr-hero { min-height: 0; }
}

/* ==========================================================
   БИСКВИТКИ (cookie-consent.php)
   ========================================================== */
.cc-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 2000;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(15, 34, 56, .25);
  font-family: var(--ih-body-font);
  letter-spacing: 0;
}
.cc-banner[hidden], .cc-modal[hidden] { display: none; }
.cc-banner-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}
.cc-banner-text h2 {
  font-family: var(--ih-head-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ih-ink);
  margin: 0 0 6px;
}
.cc-banner-text p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ih-text); }
.cc-banner-text a, .cc-modal a { color: var(--ih-blue); text-decoration: underline; }
.cc-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

.cc-btn {
  border: 1.5px solid var(--ih-blue);
  border-radius: 40px;
  padding: 10px 20px;
  font-family: var(--ih-head-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  white-space: nowrap;
  transition: .2s ease;
}
/* „Приемам“ и „Отказвам“ са еднакво видими - изискване на ЕС регулаторите */
.cc-btn-primary { background: var(--ih-blue); color: #fff; }
.cc-btn-primary:hover { background: var(--ih-blue-dark); border-color: var(--ih-blue-dark); }
.cc-btn-secondary { background: #fff; color: var(--ih-blue); }
.cc-btn-secondary:hover { background: var(--ih-bg); }

.cc-modal { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: var(--ih-body-font); letter-spacing: 0; }
.cc-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 22, 38, .55); }
.cc-modal-box {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  outline: none;
}
.cc-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--ih-line); }
.cc-modal-head h2 { font-family: var(--ih-head-font); font-size: 18px; font-weight: 700; margin: 0; line-height: 1.3; text-transform: none; letter-spacing: 0; color: var(--ih-ink); }
.cc-close { border: 0; background: none; font-size: 28px; line-height: 1; color: var(--ih-muted); cursor: pointer; padding: 0 4px; }
.cc-modal-body { padding: 18px 22px; overflow-y: auto; }
.cc-modal-body > p { font-size: 13.5px; color: var(--ih-text); }
.cc-cat { border: 1px solid var(--ih-line); border-radius: 6px; padding: 14px 16px; margin-top: 12px; }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ih-ink); font-size: 14.5px; }
.cc-cat p { font-size: 13px; color: var(--ih-text); margin: 6px 0 4px; line-height: 1.5; }
.cc-always { font-size: 12px; font-weight: 600; color: #2e7d4f; }
.cc-cat summary { font-size: 12.5px; color: var(--ih-blue); cursor: pointer; }
.cc-table-wrap { overflow-x: auto; }
.cc-table { width: 100%; margin-top: 8px; font-size: 12px; border-collapse: collapse; }
.cc-table th, .cc-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--ih-line); vertical-align: top; color: var(--ih-text); }
.cc-table th { color: var(--ih-ink); font-weight: 600; }
.cc-modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--ih-line); }

.cc-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cc-slider { position: absolute; inset: 0; background: #c9d3dd; border-radius: 24px; transition: .2s; }
.cc-slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.cc-switch input:checked + .cc-slider { background: var(--ih-blue); }
.cc-switch input:checked + .cc-slider::before { transform: translateX(18px); }
.cc-switch input:focus-visible + .cc-slider { box-shadow: 0 0 0 3px rgba(45,143,213,.35); }
html.cc-lock { overflow: hidden; }

/* Блокирано външно съдържание (картата на Контакти) */
.cc-embed { position: relative; }
.cc-embed-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px;
  text-align: center;
  background: #eef3f8;
  color: var(--ih-text);
  font-size: 13.5px;
  line-height: 1.5;
}
.cc-embed-placeholder p { margin: 0; max-width: 380px; }
.cc-embed-allowed .cc-embed-placeholder { display: none; }

.ih-footer-bottom .ih-cc-link { background: none; border: 0; padding: 0; color: var(--ih-blue); font: inherit; cursor: pointer; }
.ih-footer-bottom .ih-cc-link:hover { color: #fff; }

@media (max-width: 767.98px) {
  .cc-banner { left: 8px; right: 8px; bottom: 8px; }
  .cc-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .cc-banner-actions { flex-direction: column-reverse; }
  .cc-btn { width: 100%; }
  .cc-modal-foot { flex-direction: column-reverse; }
}

/* ==========================================================
   СМЯНА НА ЕЗИКА (флагчета в хедъра)
   ========================================================== */
.ih-lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 22px;
  margin-left: -8px;
  border-left: 1px solid var(--ih-line);
  height: 22px;
}
.ih-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px;
  border-radius: 3px;
  opacity: .55;
  text-decoration: none;
  color: var(--ih-ink);
  font-size: 14px;
  transition: opacity .2s, box-shadow .2s;
}
.ih-flag svg { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15, 34, 56, .15); }
.ih-flag:hover, .ih-flag.active { opacity: 1; }
.ih-flag.active svg { box-shadow: 0 0 0 2px var(--ih-blue); }

@media (max-width: 991.98px) {
  .ih-lang-switch {
    height: auto;
    margin: 14px 0 0;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--ih-line);
    gap: 18px;
  }
  .ih-flag { opacity: .7; }
}

/* ==========================================================
   СТРАНИЦА "ПРОЕКТИ" (proekti.php)
   Ползва .ab-page / .pr-hero / .ab-feature / .ab-btn
   ========================================================== */
.pj-features { padding: 34px 0 40px; }
.pj-features .ab-feature-icon { width: 58px; height: 58px; }

.pj-intro { padding: 60px 0 64px; background: linear-gradient(180deg, var(--ab-light) 0%, #f5f9fd 100%); }
.pj-intro p { font-size: 14.5px; }
.pj-strong { color: var(--ab-navy); }

/* Слайдер */
.pj-slider {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(13, 47, 92, .16);
  aspect-ratio: 16 / 9.4;
  background: #dfe8f1;
}
.pj-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 40px; height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ab-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  transition: .2s ease;
}
.pj-slider-btn:hover { background: #fff; transform: scale(1.06); }
.pj-slider-prev { left: 14px; }
.pj-slider-next { right: 14px; }
.pj-slider-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.pj-slider-dots .swiper-pagination-bullet {
  width: 22px; height: 4px;
  margin: 0 !important;
  border-radius: 3px;
  background: rgba(255, 255, 255, .6);
  opacity: 1;
  transition: .2s;
}
.pj-slider-dots .swiper-pagination-bullet-active { background: #fff; width: 34px; }

/* Ключови направления */
.pj-directions { padding: 56px 0 64px; background: #fff; }
.pj-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(13, 47, 92, .1);
  text-decoration: none;
  transition: .25s ease;
}
a.pj-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(13, 47, 92, .18); }
.pj-card-img { display: block; aspect-ratio: 17 / 10; overflow: hidden; background: #dfe8f1; }
.pj-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.pj-card:hover .pj-card-img img { transform: scale(1.05); }
.pj-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 14px; }
.pj-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pj-card-icon {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ab-light-2);
  color: var(--ab-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pj-card-title {
  font-family: var(--ih-head-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ab-navy);
}
.pj-card-text { font-size: 13px; line-height: 1.5; color: #5f6b79; }
.pj-card-arrow { margin-top: auto; padding-top: 10px; align-self: flex-end; color: var(--ab-blue); display: inline-flex; }

/* Призив за действие */
.pj-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 44px 0 48px;
  background: linear-gradient(90deg, #e3eefa 0%, #d6e6f7 100%);
}
.pj-cta-img {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
}
.pj-cta-content { max-width: 520px; }
.pj-page .pj-cta h2 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 700; margin-bottom: 8px; }
.pj-cta p { font-size: 15px; margin-bottom: 20px; }

@media (max-width: 767.98px) {
  .pj-cta { padding: 36px 0 200px; }
  .pj-cta-img {
    top: auto; left: 0; width: 100%; height: 190px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
  }
}

/* Шрифтът Montserrat има „български“ форми на буквите (т като m, д като g),
   които браузърът включва при lang="bg". В дизайна са стандартните форми. */
html, body, button, input, textarea { font-feature-settings: "locl" 0; }

/* ==========================================================
   СТРАНИЦА "ПАРТНЬОРИ" (partniori.php)
   ========================================================== */
.pt-list { padding: 44px 0 56px; background: #fff; }
.pt-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px 60px;
  margin-bottom: 26px;
}
.pt-head .ab-h2 { flex-shrink: 0; }
.pt-page .pt-head p { max-width: 500px; font-size: 13.5px; line-height: 1.55; margin: 0; }

.pt-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(13, 47, 92, .1);
  transition: .25s ease;
}
.pt-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(13, 47, 92, .16); }
.pt-logo {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  background: #f8fafc; /* за стари браузъри без color-mix */
  background:
    linear-gradient(160deg, #fff 0%, #fff 55%, transparent 56%),
    linear-gradient(0deg, color-mix(in srgb, var(--pt-accent) 12%, #fff) 0%, color-mix(in srgb, var(--pt-accent) 6%, #fff) 100%);
}
.pt-logo img { max-width: 100%; max-height: 88px; object-fit: contain; position: relative; }
.pt-logo-text {
  font-family: var(--ih-head-font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--pt-accent);
}
.pt-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.pt-page .pt-body h3 {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 14px;
  position: relative;
}
.pt-body h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--ab-blue);
}
.pt-body-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
.pt-page .pt-body p { font-size: 13px; line-height: 1.5; margin: 0; color: #5f6b79; }
.pt-go {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ab-light-2);
  color: var(--ab-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
}
.pt-go:hover { background: var(--ab-blue); color: #fff; }

.pt-cta {
  padding: 34px 0;
  background:
    radial-gradient(ellipse 60% 120% at 80% 50%, rgba(255,255,255,.6) 0%, transparent 70%),
    linear-gradient(90deg, #eaf2fb 0%, #dde9f7 100%);
}
.pt-cta-inner { display: flex; align-items: center; gap: 40px; }
.pt-cta-icon {
  flex: 0 0 96px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: #d6e6f7;
  color: var(--ab-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-page .pt-cta-title {
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  padding-bottom: 14px;
  position: relative;
}
.pt-cta-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 38px; height: 3px;
  background: var(--ab-blue);
}
.pt-cta-btn { margin-left: auto; padding: 14px 34px; font-size: 13px; }

@media (max-width: 991.98px) {
  .pt-head { flex-direction: column; gap: 14px; }
}
@media (max-width: 767.98px) {
  .pt-cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .pt-cta-icon { flex-basis: auto; width: 72px; height: 72px; }
  .pt-cta-btn { margin-left: 0; }
}

/* ==========================================================
   НАЧАЛНА СТРАНИЦА (index.php) - продукти и услуги + за нас
   Ползва стиловете на вътрешните страници (.ab-*, .pr-*, .pj-cta)
   ========================================================== */
.hm-hero { min-height: 560px; padding: 80px 0 110px; }
.hm-hero .pr-hero-img { width: 64%; }
.hm-eyebrow {
  margin: 0 0 14px;
  font-family: var(--ih-head-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85) !important;
}
.hm-page .hm-hero-title { font-size: clamp(38px, 5vw, 62px); line-height: 1.05 !important; }
.hm-page .hm-hero-text { max-width: 520px; font-size: 16px; }
.hm-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hm-btn-white { background: #fff; color: var(--ab-blue); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.hm-btn-white:hover { background: #eef4fb; color: var(--ab-blue-dark); }
.hm-btn-ghost { border-color: rgba(255, 255, 255, .8); color: #fff; }
.hm-btn-ghost:hover { background: #fff; color: var(--ab-blue); }

.hm-products { padding: 60px 0 64px; }
.hm-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 60px;
  margin-bottom: 34px;
}
.hm-section-head .ab-h2 { white-space: nowrap; }
.hm-page .hm-section-head p { max-width: 560px; margin: 0; font-size: 14px; line-height: 1.6; }
.hm-page .hm-sub {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--ab-blue);
  line-height: 1.3;
}
.hm-page .hm-cta-title { font-size: clamp(22px, 2.3vw, 28px); font-weight: 700; margin-bottom: 8px; }

@media (max-width: 991.98px) {
  .hm-section-head { flex-direction: column; }
}
@media (max-width: 767.98px) {
  .hm-hero { min-height: 0; padding: 50px 0 80px; }
  .hm-hero .pr-hero-img { width: 100%; }
  .hm-section-head .ab-h2 { white-space: normal; }
}

/* ==========================================================
   ПРОЕКТИ v2 - подобрения (слайдер с надписи, "Как работим",
   карти с иконка върху снимката)
   ========================================================== */
.pj-eyebrow {
  margin: 0 0 6px;
  font-family: var(--ih-head-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--ab-blue) !important;
}
.pj-checks { list-style: none; padding: 0; margin: 4px 0 22px; }
.pj-checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ab-navy);
}
.pj-checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ab-light-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5aa8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Слайдер с декоративен фон и надписи */
.pj-slider-wrap { position: relative; padding: 0 0 18px 18px; }
.pj-slider-deco {
  position: absolute;
  left: 0; bottom: 0;
  width: 55%; height: 70%;
  border-radius: 8px;
  background: linear-gradient(135deg, #cfe1f4 0%, #e4eef9 100%);
}
.pj-slider { border-radius: 8px; }
.pj-slider .swiper-slide { position: relative; background: #dfe8f1; }
.pj-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 50px 22px 38px;
  background: linear-gradient(0deg, rgba(10, 30, 58, .72) 0%, rgba(10, 30, 58, 0) 100%);
  color: #fff;
  font-family: var(--ih-head-font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .2px;
}
.pj-slider-dots { bottom: 16px; justify-content: flex-end; padding-right: 22px; }

/* Как работим */
.pj-steps { padding: 60px 0 64px; background: #fff; }
.pj-h2-center { display: inline-block; }
.pj-h2-center::after { left: 50%; transform: translateX(-50%); }
.pj-steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  position: relative;
  counter-reset: none;
}
.pj-steps-list::before {
  content: "";
  position: absolute;
  top: 30px; left: 12.5%; right: 12.5%;
  border-top: 2px dashed #c9dbee;
}
.pj-steps-list li { position: relative; text-align: center; padding: 0 8px; }
.pj-step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ab-blue);
  color: var(--ab-blue);
  font-family: var(--ih-head-font);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 0 8px #fff;
  transition: .25s ease;
}
.pj-steps-list li:hover .pj-step-num { background: var(--ab-blue); color: #fff; }
.pj-page .pj-steps-list h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.pj-page .pj-steps-list p { font-size: 13.5px; line-height: 1.55; margin: 0 auto; max-width: 240px; color: #5f6b79; }

/* Ключови направления - карти с иконка върху снимката */
.pj-directions { background: linear-gradient(180deg, var(--ab-light) 0%, #f5f9fd 100%); }
.pj-dir-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.pj-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ih-head-font); font-size: 12.5px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--ab-blue); text-decoration: none; margin-bottom: 4px;
}
.pj-link:hover { color: var(--ab-blue-dark); }
.pj-card { position: relative; border-top: 3px solid transparent; }
a.pj-card:hover { border-top-color: var(--ab-blue); }
.pj-card .pj-card-icon {
  position: absolute;
  left: 16px;
  top: 0;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  flex: none;
  background: #fff;
  box-shadow: 0 6px 16px rgba(13, 47, 92, .16);
  margin-top: calc((100% * 10 / 17));
}
.pj-card .pj-card-body { padding: 34px 18px 18px; }
.pj-card .pj-card-title { font-size: 15px; margin-bottom: 8px; }
.pj-card-more {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ih-head-font); font-size: 12px; font-weight: 700;
  color: var(--ab-blue);
}
a.pj-card:hover .pj-card-more svg { transform: translateX(3px); }
.pj-card-more svg { transition: transform .2s; }

.pj-cta-noimg { background: linear-gradient(90deg, #e3eefa 0%, #cfe2f6 100%); }

@media (max-width: 991.98px) {
  .pj-steps-list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .pj-steps-list::before { display: none; }
}
@media (max-width: 575.98px) {
  .pj-steps-list { grid-template-columns: 1fr; }
  .pj-dir-head { flex-direction: column; align-items: flex-start; }
  .pj-slider-wrap { padding: 0 0 12px 12px; }
  .pj-slide-caption { font-size: 15px; padding: 40px 16px 34px; }
}
