/* ==========================================================================
   ПроГардън — основни стилове (хедър, футър, начална страница)
   Зарежда се на всички страници след bootstrap / style.css.
   ========================================================================== */

/* 1. Променливи
   -------------------------------------------------------------------------- */
:root {
  --pg-green: #5aa829;
  --pg-green-dark: #3f8a1c;
  --pg-green-light: #7cc242;
  --pg-navy: #1b2556;
  --pg-navy-2: #16204b;
  --pg-yellow: #ffd60a;
  --pg-yellow-dark: #f2c200;
  --pg-cream: #f7f6f0;
  --pg-text: #4b5160;
  --pg-muted: #6b7180;
  --pg-white: #fff;
  --pg-radius: 18px;
  --pg-radius-sm: 14px;
  --pg-shadow: 0 8px 28px rgba(27, 37, 86, .07);
  --pg-font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --pg-font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --pg-header-h: 100px;
}

/* 2. База
   -------------------------------------------------------------------------- */
body {
  font-family: var(--pg-font-body);
  color: var(--pg-text);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  /* изключва българските локални форми на буквите (л, д, в...) в Montserrat */
  font-feature-settings: "locl" 0;
}
body * { font-feature-settings: "locl" 0; }

body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: var(--pg-font-head);
  color: var(--pg-navy);
}

body a { transition: color .2s, background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }

.pg-container { max-width: 1280px; }

.pg-bg-cream { background: var(--pg-cream); }
.text-pg-yellow { color: var(--pg-yellow) !important; }
.text-pg-green { color: var(--pg-green) !important; }
.text-white-80 { color: rgba(255, 255, 255, .85) !important; }

/* Секции */
.pg-section { padding: 90px 0; position: relative; }
.pg-section-head { margin-bottom: 44px; }

.pg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--pg-font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pg-green);
  margin-bottom: 10px;
}
.pg-eyebrow::before {
  content: "";
  width: 28px;
  height: 5px;
  border-radius: 3px;
  background: var(--pg-green);
}
.pg-eyebrow-plain::before { display: none; }

.pg-title {
  font-family: var(--pg-font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--pg-navy);
  margin: 0;
}

.pg-lead {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--pg-text);
}

/* Бутони */
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--pg-font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.pg-btn svg { flex: 0 0 auto; }
.pg-btn-sm { padding: 11px 22px; font-size: 14px; }
.pg-btn-lg { padding: 17px 34px; font-size: 16px; }

.pg-btn-yellow {
  background: var(--pg-yellow);
  color: var(--pg-navy);
  box-shadow: 0 6px 18px rgba(255, 200, 0, .35);
}
.pg-btn-yellow:hover {
  background: var(--pg-yellow-dark);
  color: var(--pg-navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 200, 0, .45);
}

.pg-btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--pg-yellow);
}
.pg-btn-outline svg { color: var(--pg-yellow); }
.pg-btn-outline:hover { background: var(--pg-yellow); color: var(--pg-navy); }
.pg-btn-outline:hover svg { color: var(--pg-navy); }

/* 3. Лого
   -------------------------------------------------------------------------- */
.pg-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.pg-logo-leaf { width: 62px; height: auto; margin-bottom: -6px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .15)); }
.pg-logo-text {
  font-family: var(--pg-font-head);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .01em;
  color: var(--pg-navy);
}
.pg-logo-text b { font-weight: 900; color: var(--pg-green); }

.pg-logo-inline { flex-direction: row; gap: 6px; }
.pg-logo-inline .pg-logo-leaf { width: 44px; margin: 0; }
.pg-logo-inline .pg-logo-text { font-size: 24px; }

/* 4. Хедър
   -------------------------------------------------------------------------- */
.pg-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  min-height: var(--pg-header-h);
  display: flex;
  align-items: center;
  transition: box-shadow .25s;
}
.pg-header.is-scrolled { box-shadow: 0 6px 24px rgba(27, 37, 86, .08); }
.pg-header > .navbar { width: 100%; }
.pg-header > .navbar > .container { position: relative; z-index: 2; }

/* жълтата дъга горе вляво */
.pg-header-ring {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 30px solid var(--pg-yellow);
  pointer-events: none;
  z-index: 1;
}
.pg-header { overflow: visible; }
body { overflow-x: hidden; }

.pg-header .offcanvas-body { display: flex; align-items: center; }

.pg-nav { gap: 6px; margin-left: auto; }
.pg-nav > .nav-item { position: relative; }
.pg-nav .nav-link {
  position: relative;
  font-family: var(--pg-font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--pg-navy);
  padding: 10px 14px !important;
}
.pg-nav .nav-link:hover { color: var(--pg-green); }
.pg-nav .nav-link.active { color: var(--pg-green); }
.pg-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--pg-green);
}

/* неутрализира стари правила от style.css на вътрешните страници */
.pg-nav a.nav-link { color: var(--pg-navy); text-transform: none; white-space: nowrap; }
.pg-nav a.nav-link:hover,
.pg-nav a.nav-link.active { color: var(--pg-green) !important; }
body.inner-page header#header { border-bottom: 0; }

/* подменю */
.pg-subnav {
  list-style: none;
  margin: 0;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(27, 37, 86, .14);
  min-width: 230px;
}
.pg-subnav a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--pg-navy);
  font-weight: 500;
  font-size: 14.5px;
  text-decoration: none;
}
.pg-subnav a:hover { background: var(--pg-cream); color: var(--pg-green); }

.pg-header-actions { display: flex; align-items: center; gap: 22px; margin-left: 28px; }
.pg-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pg-font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--pg-navy);
  text-decoration: none;
  white-space: nowrap;
}
.pg-header-phone:hover { color: var(--pg-green); }
.pg-header-phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pg-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* бургер */
.pg-burger {
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--pg-cream);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.pg-burger span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--pg-navy); }

@media (min-width: 992px) {
  .pg-offcanvas { flex-grow: 1; }
  .pg-offcanvas .offcanvas-header { display: none; }
  .pg-offcanvas .offcanvas-body { padding: 0; }

  /* Подменю на десктоп: широко, в 2 колони, заглавията на един ред, центрирано под пункта */
  .pg-has-sub > .pg-subnav {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 2px 10px;
    width: max-content;
    max-width: 92vw;
    min-width: 460px;
    padding: 16px;
    border-radius: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: .2s;
  }
  .pg-has-sub > .pg-subnav:has(> li:only-child) { grid-template-columns: max-content; }
  /* невидим "мост", за да не се затваря менюто при слизане с мишката */
  .pg-has-sub > .pg-subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .pg-has-sub > .pg-subnav a {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 11px 16px;
    font-size: 15px;
  }
  .pg-has-sub > .pg-subnav a::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pg-green-light);
  }
  .pg-has-sub:hover > .pg-subnav,
  .pg-has-sub:focus-within > .pg-subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}

@media (max-width: 1199.98px) {
  .pg-nav .nav-link { padding: 10px 9px !important; font-size: 14px; }
  .pg-nav .nav-link.active::after { left: 9px; right: 9px; }
  .pg-header-actions { margin-left: 14px; gap: 14px; }
  .pg-header-phone { font-size: 16px; }
  .pg-header-phone-icon { width: 36px; height: 36px; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .pg-header-phone-num { display: none; }
  .pg-header .pg-logo-leaf { width: 50px; }
  .pg-header .pg-logo-text { font-size: 16px; }
}

@media (max-width: 991.98px) {
  :root { --pg-header-h: 78px; }
  .pg-header-ring { width: 170px; height: 170px; top: -95px; left: -95px; border-width: 22px; }
  .pg-header .pg-logo { flex-direction: row; gap: 4px; }
  .pg-header .pg-logo-leaf { width: 40px; margin: 0; }
  .pg-logo-text { font-size: 19px; }
  .pg-offcanvas .offcanvas-body { flex-direction: column; align-items: stretch; }
  .pg-nav { margin: 0; gap: 0; }
  .pg-nav .nav-link { font-size: 17px; padding: 12px 4px !important; border-bottom: 1px solid #eef0f2; }
  .pg-nav .nav-link.active::after { display: none; }
  .pg-subnav { box-shadow: none; padding: 4px 0 8px 12px; min-width: 0; }
  .pg-header-actions { flex-direction: column; align-items: stretch; margin: 28px 0 0; gap: 16px; }
  .pg-header-actions .pg-btn { padding: 15px 24px; font-size: 15px; }
}

/* 5. Hero
   -------------------------------------------------------------------------- */
.pg-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-bottom-left-radius: 70px;
  min-height: clamp(560px, 50vw, 760px);
  display: flex;
}
.pg-hero-media {
  position: absolute;
  inset: 0;
  background: url(/images/bg.jpg) center 70% / cover no-repeat;
}
.pg-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .96) 22%, rgba(255, 255, 255, .8) 36%, rgba(255, 255, 255, .25) 52%, rgba(255, 255, 255, 0) 64%);
}
/* лек тъмен преход отдолу, за да се четат белите надписи върху тревата */
.pg-hero-grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: linear-gradient(to bottom, rgba(20, 50, 10, 0) 0%, rgba(20, 50, 10, .45) 100%);
}
.pg-hero-circle {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--pg-navy);
}
.pg-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(40px, 6vw, 90px);
  padding-bottom: 34px;
}
.pg-hero-content { max-width: 620px; }
.pg-hero-title {
  font-family: var(--pg-font-head);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0 0 24px;
}
.pg-hero-title span { display: block; }
.pg-hero-title-1 { color: var(--pg-green); font-size: clamp(2.8rem, 6vw, 5.1rem); }
.pg-hero-title-2 { color: var(--pg-navy); font-size: clamp(2.1rem, 4.6vw, 4rem); white-space: nowrap; }
.pg-hero-text {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: #3d4354;
  max-width: 470px;
  margin-bottom: 34px;
}
.pg-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: 60px 0 0;
  padding: 0;
}
.pg-hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pg-font-head);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .55);
}
.pg-hero-tags img { width: 30px; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }

@media (max-width: 991.98px) {
  .pg-hero { border-bottom-left-radius: 40px; min-height: 0; }
  .pg-hero-media { background-position: 30% bottom; }
  .pg-hero-media::after {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .95) 38%, rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, 0) 70%);
  }
  .pg-hero-inner { padding-top: 36px; }
  .pg-hero-title-2 { white-space: normal; }
  .pg-hero-tags { margin-top: 220px; gap: 10px 22px; }
  .pg-hero-tags li { font-size: 14px; }
  .pg-hero-circle { width: 110px; height: 110px; right: -50px; bottom: -50px; }
}
@media (max-width: 575.98px) {
  .pg-hero-tags { margin-top: 170px; }
  .pg-hero .pg-btn-lg { padding: 15px 24px; font-size: 15px; }
}

/* 6. Услуги
   -------------------------------------------------------------------------- */
.pg-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--pg-radius);
  padding: 7px;
  box-shadow: var(--pg-shadow);
  text-decoration: none;
  color: inherit;
}
.pg-service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(27, 37, 86, .12); color: inherit; }
.pg-service-media {
  position: relative;
  border-radius: var(--pg-radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9.4;
}
.pg-service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pg-service-card:hover .pg-service-media img { transform: scale(1.06); }
.pg-service-icon {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 86px;
  height: 86px;
  padding: 8px 0 0 8px;
  border-radius: 50%;
  background: #fff;
  color: var(--pg-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0 0 var(--pg-green-light);
}
.pg-service-body { padding: 18px 14px 16px; }
.pg-service-body h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--pg-navy);
}
.pg-service-body p { font-size: 14.5px; line-height: 1.55; color: var(--pg-muted); margin: 0; }

/* 7. Защо нас
   -------------------------------------------------------------------------- */
.pg-why {
  background: #1f3d17 url(/images/progarden/why-bg.jpg) center / cover no-repeat;
  overflow: hidden;
  color: #fff;
}
.pg-why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 38, 10, .55), rgba(14, 38, 10, .4));
}
.pg-why .pg-eyebrow { color: var(--pg-green-light); }
.pg-why .pg-eyebrow::before { background: var(--pg-green-light); }
.pg-why-leaf { position: absolute; pointer-events: none; z-index: 1; }
.pg-why-leaf-1 { top: -30px; right: -20px; width: 170px; transform: rotate(-18deg); }
.pg-why-leaf-2 { bottom: 40px; left: -50px; width: 120px; transform: rotate(40deg); opacity: .8; }

.pg-features > div + div .pg-feature { border-left: 1px solid rgba(255, 255, 255, .22); }
.pg-feature { text-align: center; padding: 6px 22px; height: 100%; }
.pg-feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--pg-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px rgba(90, 168, 41, .25);
}
.pg-feature h3 { color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.pg-feature p { color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.6; margin: 0; }

@media (max-width: 991.98px) {
  .pg-features > div:nth-child(odd) .pg-feature { border-left: 0; }
}
@media (max-width: 575.98px) {
  .pg-features > div + div .pg-feature { border-left: 0; }
  .pg-why-leaf-1 { width: 110px; }
}

/* 8. Галерия
   -------------------------------------------------------------------------- */
.pg-gallery { padding-bottom: 60px; }
.pg-gallery-wrap { max-width: 1480px; padding: 0 30px; }
.pg-project {
  display: block;
  border-radius: var(--pg-radius);
  overflow: hidden;
  aspect-ratio: 1.12 / 1;
  box-shadow: var(--pg-shadow);
}
.pg-project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pg-project:hover img { transform: scale(1.07); }
@media (max-width: 575.98px) { .pg-gallery-wrap { padding: 0 16px; } }

/* 9. Отзиви
   -------------------------------------------------------------------------- */
.pg-testimonials { padding-top: 70px; }
.pg-testimonial {
  background: #fff;
  border-radius: var(--pg-radius);
  padding: 28px 34px 30px;
  height: 100%;
  box-shadow: var(--pg-shadow);
}
.pg-testimonial-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.pg-testimonial-head h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.pg-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e6e7ea;
  color: #b3b6bd;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.pg-avatar svg { width: 54px; height: 54px; margin-bottom: -6px; }
.pg-stars { display: flex; gap: 2px; color: #ffc21a; }
.pg-testimonial p { font-size: 15.5px; line-height: 1.65; margin: 0; color: var(--pg-text); }

/* 10. CTA
   -------------------------------------------------------------------------- */
.pg-cta {
  position: relative;
  display: grid;
  grid-template-columns: 34% 1fr;
  min-height: 360px;
  overflow: hidden;
  background: var(--pg-navy);
}
.pg-cta-media { background: url(/images/progarden/cta.jpg) center / cover no-repeat; }
.pg-cta-panel {
  position: relative;
  margin-left: -150px;
  background: var(--pg-navy);
  border-radius: 400px 0 0 400px / 50% 0 0 50%;
  box-shadow: -16px 0 0 0 var(--pg-yellow), -30px 0 0 0 var(--pg-green-light);
  display: flex;
  align-items: center;
}
.pg-cta-content { position: relative; z-index: 2; padding: 60px 110px 60px 190px; max-width: 900px; }
.pg-cta-content .pg-eyebrow { color: var(--pg-green-light); }
.pg-cta-title {
  color: #fff !important;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.pg-cta-content p { color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 560px; margin-bottom: 30px; }
.pg-cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.pg-cta-leaf { position: absolute; top: -22px; right: -20px; width: 150px; transform: rotate(-25deg); z-index: 3; }
.pg-cta-ring {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--pg-green-light);
  box-shadow: inset 0 0 0 26px var(--pg-yellow), inset 0 0 0 38px #fff;
}

@media (max-width: 991.98px) {
  .pg-cta { grid-template-columns: 1fr; }
  .pg-cta-media { height: 240px; }
  .pg-cta-panel {
    margin: -60px 0 0;
    border-radius: 50% 50% 0 0 / 60px 60px 0 0;
    box-shadow: 0 -12px 0 0 var(--pg-yellow), 0 -22px 0 0 var(--pg-green-light);
  }
  .pg-cta-content { padding: 70px 24px 60px; text-align: center; margin: 0 auto; }
  .pg-cta-content p { margin-left: auto; margin-right: auto; }
  .pg-cta-actions { justify-content: center; }
  .pg-cta-leaf { width: 100px; }
  .pg-cta-ring { width: 140px; height: 140px; right: -60px; bottom: -70px; }
}

/* 11. Футър
   -------------------------------------------------------------------------- */
.pg-footer { background: #fff; padding-top: 56px; position: relative; }
.pg-footer-top { padding-bottom: 20px; }
.pg-footer-tagline { font-size: 15px; line-height: 1.6; color: var(--pg-text); margin: 14px 0 0; max-width: 280px; }
.pg-footer-title { font-size: 16px; font-weight: 800; margin-bottom: 14px; }

.pg-footer-nav {
  columns: 2;
  column-gap: 30px;
  margin: 6px 0 0;
}
.pg-footer-nav li { margin-bottom: 10px; break-inside: avoid; }
.pg-footer-nav a { color: var(--pg-navy); font-weight: 500; font-size: 15.5px; text-decoration: none; }
.pg-footer-nav a:hover { color: var(--pg-green); }

.pg-footer-col-divider { border-left: 1px solid #e3e5ea; padding-left: 36px !important; }

.pg-footer-contacts li { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 15.5px; }
.pg-footer-contacts svg { color: var(--pg-navy); flex: 0 0 auto; }
.pg-footer-contacts a, .pg-footer-contacts span { color: var(--pg-text); text-decoration: none; }
.pg-footer-contacts a:hover { color: var(--pg-green); }

.pg-footer-social { display: flex; gap: 12px; margin: 0; }
.pg-footer-social a { display: inline-block; border-radius: 8px; }
.pg-footer-social a:hover { transform: translateY(-3px); }

.pg-footer-bottom {
  position: relative;
  margin-top: 10px;
  padding: 70px 0 18px;
  background:
    linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 45%),
    url(/images/progarden/grass.jpg) center bottom / auto 100% repeat-x;
  color: #fff;
  font-size: 14px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.pg-footer-bottom p { color: #fff; }
.pg-footer-bottom a { color: #fff; font-weight: 600; text-decoration: underline; }
.pg-footer-bottom a:hover { color: var(--pg-yellow); }
.pg-footer-leaf {
  position: absolute;
  right: 20px;
  bottom: 52px;
  width: 120px;
  transform: rotate(18deg);
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .pg-footer-col-divider { border-left: 0; padding-left: calc(var(--bs-gutter-x) * .5) !important; }
  .pg-footer-leaf { width: 90px; right: 10px; bottom: 60px; }
}
@media (max-width: 767.98px) {
  .pg-footer { text-align: center; }
  .pg-footer .pg-logo-inline { justify-content: center; }
  .pg-footer-tagline { margin-left: auto; margin-right: auto; }
  .pg-footer-nav { display: inline-block; text-align: left; }
  .pg-footer-contacts { display: inline-block; text-align: left; }
  .pg-footer-social { justify-content: center; }
  .pg-footer-bottom { padding-top: 90px; text-align: center; }
}

/* 12. Мобилни корекции на секциите
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .pg-section { padding: 64px 0; }
  .pg-section-head { margin-bottom: 30px; }
  .pg-container { padding-left: 20px; padding-right: 20px; }
  .pg-why-leaf-2 { display: none; }
  .pg-footer-leaf { display: none; }
}

/* 13. Неутрализиране на стари правила от style.css (вътрешни страници)
   -------------------------------------------------------------------------- */
.pg-header h1, .pg-header h2, .pg-header h3, .pg-header h4,
.pg-footer h1, .pg-footer h2, .pg-footer h3, .pg-footer h4,
main h1, main h2, main h3, main h4 { text-transform: none; font-family: var(--pg-font-head); letter-spacing: normal; line-height: 1.25; }
.pg-footer h4 { line-height: 1.3; }

/* ==========================================================================
   14. Страница "Контакти" (contacts.php)
   ========================================================================== */
.pg-contact {
  position: relative;
  overflow: hidden;
  padding: 50px 0 70px;
  background: #fff;
}
.pg-contact-bg {
  position: absolute;
  inset: 0;
  background: url(/images/bg.jpg) 70% center / cover no-repeat;
}
.pg-contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 35%, rgba(255, 255, 255, .55) 52%, rgba(255, 255, 255, .1) 70%),
    linear-gradient(to bottom, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 30%);
}
.pg-contact-leaf { position: absolute; pointer-events: none; z-index: 1; }
.pg-contact-leaf-1 { top: -30px; right: -30px; width: 170px; transform: rotate(-20deg); }
.pg-contact-leaf-2 { bottom: 40px; right: 40px; width: 120px; transform: rotate(25deg); z-index: 3; }

.pg-contact-title {
  font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.05;
  white-space: nowrap;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.pg-contact-lead { font-size: 18px; line-height: 1.6; color: #3d4354; max-width: 560px; margin-bottom: 30px; }

/* карти с контакти */
.pg-contact-cards { margin-bottom: 30px; }
.pg-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  padding: 18px 14px;
  background: #fff;
  border-radius: var(--pg-radius);
  box-shadow: var(--pg-shadow);
  text-decoration: none;
  color: inherit;
}
.pg-contact-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27, 37, 86, .12); color: inherit; }
.pg-contact-card-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pg-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pg-contact-card-body { display: flex; flex-direction: column; min-width: 0; }
.pg-contact-card-label { font-family: var(--pg-font-head); font-weight: 700; font-size: 15px; color: var(--pg-navy); }
.pg-contact-card-value {
  font-family: var(--pg-font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--pg-navy);
  margin: 2px 0 6px;
  overflow-wrap: anywhere;
}
.pg-contact-card-value-sm { font-family: var(--pg-font-body); font-weight: 700; font-size: 13px; overflow-wrap: normal; word-break: normal; }
.pg-contact-card small { font-size: 12.5px; line-height: 1.5; color: var(--pg-muted); }

/* карта + региони */
.pg-contact-region {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 5px solid #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(27, 37, 86, .15);
  background: #fff;
}
.pg-contact-map { position: relative; min-height: 260px; }
.pg-contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pg-contact-areas {
  position: relative;
  overflow: hidden;
  background: var(--pg-navy);
  color: #fff;
  padding: 26px 28px 30px;
  border-radius: 0 16px 16px 0;
}
.pg-eyebrow-light { color: var(--pg-green-light); }
.pg-eyebrow-light::before { background: var(--pg-green-light); }
.pg-contact-areas ul { position: relative; z-index: 2; }
.pg-contact-areas li { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.pg-contact-areas-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--pg-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pg-contact-areas strong { display: block; font-family: var(--pg-font-head); font-weight: 700; font-size: 15px; color: #fff; }
.pg-contact-areas small { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.pg-contact-areas-ring {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: var(--pg-green-light);
  box-shadow: inset 0 0 0 15px var(--pg-yellow);
}

/* форма */
.pg-form-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 24px;
  padding: 34px 34px 36px;
  box-shadow: 0 20px 50px rgba(27, 37, 86, .16);
  scroll-margin-top: 120px;
}
.pg-form-title { font-weight: 900; font-size: clamp(1.5rem, 2.1vw, 1.95rem); letter-spacing: -.01em; line-height: 1.15; margin: 0 0 12px; }
.pg-form-lead { font-size: 16px; line-height: 1.55; color: #3d4354; margin-bottom: 24px; }

.pg-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  margin: 0;
  background: #eef0f3;
  border: 2px solid transparent;
  border-radius: 12px;
  color: #6b7180;
  cursor: text;
  transition: border-color .2s, background .2s;
}
.pg-field > svg { flex: 0 0 auto; color: #5b6170; }
.pg-field:focus-within { background: #fff; border-color: var(--pg-green); }
.pg-field.is-invalid { border-color: #e04848; background: #fff5f5; }
.pg-field input,
.pg-field select,
.pg-field textarea {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--pg-font-body);
  font-size: 15px;
  color: var(--pg-navy);
  padding: 14px 0;
}
.pg-field input::placeholder, .pg-field textarea::placeholder { color: #7b8190; }
.pg-field-select { cursor: pointer; }
.pg-field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px; }
.pg-field-chevron { position: absolute; right: 16px; pointer-events: none; color: var(--pg-navy); }
.pg-field-textarea { align-items: flex-start; padding-top: 14px; }
.pg-field-textarea > svg { margin-top: 2px; }
.pg-field-textarea-inner { flex: 1 1 auto; display: flex; flex-direction: column; }
.pg-field-label { font-size: 15px; color: #5b6170; }
.pg-field textarea { resize: vertical; min-height: 80px; padding: 8px 0 12px; font-size: 14px; line-height: 1.5; }

.pg-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--pg-text); cursor: pointer; margin: 4px 0 0; }
.pg-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg-check-box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid var(--pg-navy);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  margin-top: 1px;
  transition: .2s;
}
.pg-check input:checked + .pg-check-box { background: var(--pg-green); border-color: var(--pg-green); color: #fff; }
.pg-check input:focus-visible + .pg-check-box { box-shadow: 0 0 0 3px rgba(90, 168, 41, .35); }
.pg-check.is-invalid .pg-check-box { border-color: #e04848; }
.pg-check a { color: var(--pg-green-dark); text-decoration: underline; }

.pg-btn-submit { width: 100%; margin-top: 6px; font-size: 17px; justify-content: space-between; padding-left: 40px; padding-right: 40px; }
.pg-btn-submit { justify-content: center; gap: 18px; }

.pg-alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px; font-size: 15px; margin-bottom: 18px; }
.pg-alert svg { flex: 0 0 auto; margin-top: 1px; }
.pg-alert-success { background: #eaf6e1; color: #2f6d12; }
.pg-alert-error { background: #fdecec; color: #b42323; }

/* лента с предимства */
.pg-benefits { background: var(--pg-cream); padding: 34px 0; }
.pg-benefit { text-align: center; height: 100%; padding: 0 10px; }
.pg-benefits .col-lg-3 + .col-lg-3 .pg-benefit { border-left: 1px solid #dcdcd2; }
.pg-benefit .pg-feature-icon { width: 58px; height: 58px; margin-bottom: 12px; box-shadow: none; }
.pg-benefit h3 { font-size: 17px; font-weight: 800; margin: 0 0 4px; }
.pg-benefit p { font-size: 15px; color: var(--pg-text); margin: 0; }

@media (max-width: 1199.98px) {
  .pg-contact-card { flex-direction: column; }
}
@media (max-width: 575.98px) {
  .pg-contact-title { white-space: normal; }
}
@media (max-width: 991.98px) {
  .pg-contact { padding: 36px 0 50px; }
  .pg-contact-bg::after { background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .85) 60%, rgba(255, 255, 255, .7) 100%); }
  .pg-contact-card { flex-direction: row; }
  .pg-contact-leaf-2 { display: none; }
  .pg-benefits .col-lg-3:nth-child(3) .pg-benefit { border-left: 0; }
}
@media (max-width: 767.98px) {
  .pg-contact-region { grid-template-columns: 1fr; }
  .pg-contact-areas { border-radius: 0 0 16px 16px; }
  .pg-form-card { padding: 26px 20px 28px; }
  .pg-contact-leaf-1 { width: 110px; }
}
@media (max-width: 575.98px) {
  .pg-benefits .col-lg-3 + .col-lg-3 .pg-benefit { border-left: 0; }
  .pg-benefit h3 { font-size: 15px; }
  .pg-benefit p { font-size: 13.5px; }
}

/* ==========================================================================
   15. Общо hero за вътрешни страници (sections/page-hero.php)
   ========================================================================== */
.pg-page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(340px, 30vw, 440px);
  padding: 50px 0 60px;
  background: #fff;
}
.pg-page-bg {
  position: absolute;
  inset: 0;
  background: url(/images/bg.jpg) 70% 65% / cover no-repeat;
}
.pg-page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .93) 30%, rgba(255, 255, 255, .6) 45%, rgba(255, 255, 255, 0) 62%);
}
.pg-page-hero-content { max-width: 820px; }
.pg-page-hero-text { max-width: 560px; }
.pg-page-hero-title {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  line-height: 1.14 !important;
  letter-spacing: -.01em;
  margin: 0 0 18px;
}
.pg-page-hero-text { font-size: 17px; line-height: 1.65; color: #3d4354; margin: 0; max-width: 540px; }

@media (max-width: 991.98px) {
  .pg-page-bg { background-position: 30% bottom; }
  .pg-page-bg::after { background: linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 55%, rgba(255, 255, 255, .5) 100%); }
  .pg-page-hero-title br { display: none; }
}

/* ==========================================================================
   16. Страница "За нас" (about.php)
   ========================================================================== */
.pg-title-md { font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.18 !important; }

.pg-about-photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgba(27, 37, 86, .14); aspect-ratio: 16 / 10.5; }
.pg-about-photo img { width: 100%; height: 100%; object-fit: cover; }

.pg-soft-icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e5f2dc;
  color: var(--pg-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pg-values {
  margin: 0;
  padding: 26px 30px;
  background: #f1f8ec;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(90, 168, 41, .10);
}
.pg-values li { display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.pg-values strong { display: block; font-family: var(--pg-font-head); font-weight: 800; font-size: 17px; color: var(--pg-navy); }
.pg-values small { display: block; font-size: 15px; line-height: 1.5; color: var(--pg-text); margin-top: 2px; }

.pg-stats { margin-top: 60px; }
.pg-stat { display: flex; align-items: center; gap: 16px; height: 100%; }
.pg-stats .col-lg-3 + .col-lg-3 .pg-stat { border-left: 1px solid #e3e5ea; padding-left: 24px; }
.pg-stat strong { display: block; font-family: var(--pg-font-head); font-weight: 800; font-size: 28px; line-height: 1.1; color: var(--pg-navy); }
.pg-stat small { display: block; font-size: 14px; color: var(--pg-muted); margin-top: 2px; }

@media (max-width: 991.98px) {
  .pg-stats .col-lg-3:nth-child(3) .pg-stat { border-left: 0; padding-left: 0; }
  .pg-title-md br { display: none; }
}
@media (max-width: 575.98px) {
  .pg-stats .col-lg-3 + .col-lg-3 .pg-stat { border-left: 0; padding-left: 0; }
  .pg-stat { flex-direction: column; text-align: center; gap: 10px; }
  .pg-stat strong { font-size: 24px; }
  .pg-values { padding: 18px 18px; }
  .pg-soft-icon { width: 52px; height: 52px; }
}

/* Декоративна дъга в hero на вътрешни страници ($sec_ring = true) */
.pg-page-hero-ring {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--pg-green);
  box-shadow: inset 0 0 0 34px var(--pg-yellow), 0 0 0 10px #fff;
  z-index: 1;
}
@media (max-width: 767.98px) {
  .pg-page-hero-ring { width: 150px; height: 150px; right: -80px; bottom: -80px; box-shadow: inset 0 0 0 22px var(--pg-yellow), 0 0 0 6px #fff; }
}

/* ==========================================================================
   17. Страница "Услуги" (services.php)
   ========================================================================== */
.pg-svc-list { padding: 30px 0 70px; background: #fff; }

.pg-svc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--pg-radius);
  box-shadow: var(--pg-shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.pg-svc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(27, 37, 86, .12); color: inherit; }
.pg-svc-media { position: relative; aspect-ratio: 16 / 7.6; overflow: hidden; }
.pg-svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pg-svc-card:hover .pg-svc-media img { transform: scale(1.06); }
.pg-svc-icon {
  position: absolute;
  top: -26px;
  left: -26px;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0 0 26px;
}
.pg-svc-icon > span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e5f2dc;
  color: var(--pg-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pg-svc-body { padding: 18px 20px 22px; }
.pg-svc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.pg-svc-head h2 { font-size: 17.5px; font-weight: 800; line-height: 1.3 !important; margin: 0; color: var(--pg-navy); }
.pg-svc-arrow {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef5e8;
  color: var(--pg-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.pg-svc-card:hover .pg-svc-arrow { background: var(--pg-green); color: #fff; }
.pg-svc-body p { font-size: 15px; line-height: 1.6; color: var(--pg-text); margin: 0; }

/* Как работим */
.pg-process { background: #fff; }
.pg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 0; padding: 0; }
.pg-step { position: relative; text-align: center; }
.pg-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -34px;
  width: 38px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 14'%3E%3Cpath d='M0 7h35M29 1l6 6-6 6' fill='none' stroke='%237cc242' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pg-step-top { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pg-step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e5f2dc;
  color: var(--pg-navy);
  font-family: var(--pg-font-head);
  font-weight: 800;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px -6px 0 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #fff;
}
.pg-step-top .pg-soft-icon { width: 68px; height: 68px; }
.pg-step h3 { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.pg-step p { font-size: 14.5px; line-height: 1.55; color: var(--pg-text); margin: 0 auto; max-width: 240px; }

@media (max-width: 991.98px) {
  .pg-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .pg-step:nth-child(2)::after { display: none; }
}
@media (max-width: 575.98px) {
  .pg-steps { grid-template-columns: 1fr; }
  .pg-step::after { display: none; }
}

/* CTA - вариант с прав панел (services) */
.pg-cta--flat { grid-template-columns: 40% 1fr; }
.pg-cta--flat .pg-cta-media { border-radius: 0 24px 24px 0; }
.pg-cta--flat .pg-cta-panel { margin-left: 0; border-radius: 0; box-shadow: none; }
.pg-cta--flat .pg-cta-content { padding: 60px 90px 60px 60px; }
@media (max-width: 991.98px) {
  .pg-cta--flat { grid-template-columns: 1fr; }
  .pg-cta--flat .pg-cta-media { border-radius: 0 0 24px 24px; }
  .pg-cta--flat .pg-cta-panel { margin: 0; }
  .pg-cta--flat .pg-cta-content { padding: 50px 24px 60px; }
}

/* ==========================================================================
   18. Страница на отделна услуга (service-details.php)
   ========================================================================== */
.pg-sd-hero { position: relative; padding: 26px 0 10px; background: #fff; overflow: hidden; }
.pg-sd-leaf { position: absolute; top: 20px; right: -10px; width: 150px; z-index: 3; pointer-events: none; }

.pg-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--pg-muted); margin-bottom: 22px; }
.pg-breadcrumb a { color: var(--pg-muted); text-decoration: none; }
.pg-breadcrumb a:hover { color: var(--pg-green); }
.pg-breadcrumb .is-current { color: var(--pg-green-dark); font-weight: 600; }

.pg-sd-title {
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.12 !important;
  letter-spacing: -.01em;
  margin: 0 0 16px;
  max-width: 900px;
}
.pg-sd-title span { display: block; }
.pg-sd-intro { font-size: 17px; line-height: 1.65; color: #3d4354; max-width: 620px; margin-bottom: 26px; }

.pg-sd-cover {
  position: relative;
  z-index: 2;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 2.65 / 1;
  box-shadow: 0 18px 40px rgba(27, 37, 86, .12);
}
.pg-sd-cover img { width: 100%; height: 100%; object-fit: cover; }

.pg-sd-offer { overflow: hidden; }
.pg-rich { font-size: 16px; line-height: 1.7; color: var(--pg-text); }
.pg-rich p { margin-bottom: 1em; color: inherit; }
.pg-rich p:last-child { margin-bottom: 0; }
.pg-rich a { color: var(--pg-green-dark); text-decoration: underline; }
.pg-rich ul { padding-left: 1.2em; }

.pg-checklist { margin: 6px 0 0; padding: 0; }
.pg-checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; color: var(--pg-text); padding: 6px 0; }
.pg-checklist-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--pg-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pg-sd-side { position: relative; max-width: 440px; margin-left: auto; }
.pg-sd-side > img:first-of-type,
.pg-sd-side > img:not(.pg-sd-side-leaf) {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(27, 37, 86, .15);
}
.pg-sd-side-ring {
  position: absolute;
  top: 40%;
  right: -130px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 34px solid var(--pg-yellow);
  z-index: 1;
}
.pg-sd-side-leaf {
  position: absolute;
  left: -50px;
  bottom: -30px;
  width: 110px;
  z-index: 3;
  transform: rotate(-120deg);
  pointer-events: none;
}

.pg-sd-result-text { max-width: 760px; font-size: 17px; }

@media (max-width: 991.98px) {
  .pg-sd-leaf { width: 100px; top: 0; }
  .pg-sd-side { margin: 10px auto 0; max-width: 380px; }
  .pg-sd-side-ring { right: -110px; width: 200px; height: 200px; border-width: 26px; }
}
@media (max-width: 575.98px) {
  .pg-sd-cover { aspect-ratio: 16 / 10; border-radius: 16px; }
  .pg-sd-leaf { width: 80px; }
  .pg-sd-side-leaf { left: -20px; width: 80px; }
}

/* ==========================================================================
   19. Бисквитки: банер, настройки, блокирано външно съдържание
   ========================================================================== */
.pg-cc {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1080;
  width: min(560px, calc(100% - 40px));
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(27, 37, 86, .25);
  border-top: 5px solid var(--pg-green);
  animation: pgCcIn .35s ease-out;
}
.pg-cc[hidden], .pg-cc-modal[hidden] { display: none !important; }
@keyframes pgCcIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.pg-cc-inner { padding: 22px 24px 22px; }
.pg-cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pg-cc-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #e5f2dc; color: var(--pg-green); display: inline-flex; align-items: center; justify-content: center; }
.pg-cc h2, .pg-cc-modal h2 { font-family: var(--pg-font-head); font-weight: 800; font-size: 18px; line-height: 1.3; color: var(--pg-navy); margin: 0; text-transform: none; letter-spacing: normal; }
.pg-cc p { font-size: 14px; line-height: 1.55; color: var(--pg-text); margin: 0 0 16px; }
.pg-cc a, .pg-cc-modal a { color: var(--pg-green-dark); text-decoration: underline; }

.pg-cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-cc-btn {
  flex: 1 1 auto;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-family: var(--pg-font-head);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
}
/* "Приемам" и "Отказвам" са еднакво видими - изискване на ЕКЗД (EDPB) */
.pg-cc-btn-primary { background: var(--pg-navy); color: #fff; border-color: var(--pg-navy); }
.pg-cc-btn-primary:hover { background: var(--pg-navy-2); }
.pg-cc-btn-secondary { background: #fff; color: var(--pg-navy); border-color: var(--pg-navy); }
.pg-cc-btn-secondary:hover { background: #f1f3f8; }
.pg-cc-btn-link { flex: 0 0 auto; background: none; color: var(--pg-navy); text-decoration: underline; padding-left: 8px; padding-right: 8px; }
.pg-cc-btn:focus-visible { outline: 3px solid var(--pg-green-light); outline-offset: 2px; }

.pg-cc-modal { position: fixed; inset: 0; z-index: 1090; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pg-cc-backdrop { position: absolute; inset: 0; background: rgba(15, 22, 50, .55); }
.pg-cc-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: 30px 30px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  outline: none;
}
.pg-cc-dialog h2 { font-size: 22px; margin-bottom: 8px; padding-right: 44px; }
.pg-cc-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f1f3f6; font-size: 24px; line-height: 1; color: var(--pg-navy); cursor: pointer; }
.pg-cc-lead { font-size: 14.5px; color: var(--pg-text); margin-bottom: 18px; }
.pg-cc-cat { border: 1px solid #e6e8ee; border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.pg-cc-cat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.pg-cc-cat h3 { font-family: var(--pg-font-head); font-size: 16px; font-weight: 800; color: var(--pg-navy); margin: 0 0 4px; line-height: 1.3; text-transform: none; }
.pg-cc-cat p { font-size: 13.5px; line-height: 1.5; color: var(--pg-muted); margin: 0; }
.pg-cc-always { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; color: var(--pg-green-dark); background: #e5f2dc; border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.pg-cc-switch { position: relative; flex: 0 0 auto; width: 52px; height: 30px; margin: 2px 0 0; cursor: pointer; }
.pg-cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.pg-cc-switch span[aria-hidden] { position: absolute; inset: 0; background: #cfd4dd; border-radius: 999px; transition: .2s; }
.pg-cc-switch span[aria-hidden]::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: .2s; }
.pg-cc-switch input:checked + span[aria-hidden] { background: var(--pg-green); }
.pg-cc-switch input:checked + span[aria-hidden]::after { transform: translateX(22px); }
.pg-cc-switch input:focus-visible + span[aria-hidden] { outline: 3px solid var(--pg-green-light); outline-offset: 2px; }
.pg-cc-actions-modal { margin-top: 18px; }
.pg-cc-links { font-size: 13px; text-align: center; margin: 16px 0 0; color: var(--pg-muted); }
html.pg-cc-open { overflow: hidden; }

@media (max-width: 575.98px) {
  .pg-cc { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .pg-cc-inner { padding: 18px 18px; }
  .pg-cc-actions .pg-cc-btn { flex: 1 1 100%; }
  .pg-cc-dialog { padding: 26px 18px 20px; }
}

/* Външно съдържание, блокирано до съгласие (карта в "Контакти") */
.pg-consent-embed { position: absolute; inset: 0; }
.pg-consent-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pg-consent-embed iframe[data-consent-src] { display: none; }
.pg-consent-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  background: #eef3ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23dfe7d8' stroke-width='1'/%3E%3C/svg%3E");
  color: var(--pg-navy);
}
.pg-consent-placeholder svg { color: var(--pg-green); }
.pg-consent-placeholder p { font-size: 14px; margin: 0; max-width: 240px; color: var(--pg-text); }
.pg-consent-placeholder a { font-size: 13px; color: var(--pg-green-dark); }
.pg-consent-embed.is-loaded .pg-consent-placeholder { display: none; }

/* Правни връзки във футъра */
.pg-footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.pg-footer-legal a { font-weight: 500; text-decoration: none; opacity: .95; }
.pg-footer-legal a:hover { text-decoration: underline; }

/* Страници с правен текст */
.pg-legal-body { max-width: 860px; }
.pg-legal-body h2 { font-size: 22px; font-weight: 800; margin: 34px 0 12px; }
.pg-legal-updated { font-size: 14px; color: var(--pg-muted) !important; }
.pg-legal-table-wrap { overflow-x: auto; margin: 18px 0 8px; }
.pg-legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pg-legal-table th { background: var(--pg-navy); color: #fff; text-align: left; padding: 11px 14px; font-family: var(--pg-font-head); font-weight: 700; font-size: 13.5px; }
.pg-legal-table td { padding: 11px 14px; border-bottom: 1px solid #e6e8ee; vertical-align: top; color: var(--pg-text); }
.pg-legal-table tr:nth-child(even) td { background: #f8f9f5; }
.pg-legal-table code { color: var(--pg-green-dark); font-size: 13px; }
@media (max-width: 767.98px) {
  .pg-legal-table thead { display: none; }
  .pg-legal-table tr { display: block; border: 1px solid #e6e8ee; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
  .pg-legal-table td { display: block; border: 0; padding: 6px 14px; }
  .pg-legal-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--pg-muted); }
  .pg-legal-table tr:nth-child(even) td { background: none; }
}
