/* ================= About page only (page-about-smc.php) ================= */

/* Контейнер */
.page-template-page-about-smc .smc-container{
  max-width:1440px;margin:0 auto;
  padding-left:clamp(16px,4vw,32px);
  padding-right:clamp(16px,4vw,32px);
}

/* ---------- Хедер: ПРОЗОРИЙ тільки ДО solid ---------- */
.page-template-page-about-smc header.smc-site-header[data-header-mode="overlay"]:not(.is-solid) .smc-header__bar{
  background:transparent!important; box-shadow:none!important;
}
/* шапка не “вибілюється” при hover/focus, доки не .is-solid */
.page-template-page-about-smc header.smc-site-header[data-header-mode="overlay"]:not(.is-solid):hover .smc-header__bar,
.page-template-page-about-smc header.smc-site-header[data-header-mode="overlay"]:not(.is-solid):focus-within .smc-header__bar{
  background:transparent!important; box-shadow:none!important;
}
/* світлий логотип + білі контролли лише у прозорому стані */
.page-template-page-about-smc header.smc-site-header[data-header-mode="overlay"]:not(.is-solid) .smc-logo__img--light{display:inline-block!important}
.page-template-page-about-smc header.smc-site-header[data-header-mode="overlay"]:not(.is-solid) .smc-logo__img--dark{display:none!important}
.page-template-page-about-smc header.smc-site-header[data-header-mode="overlay"]:not(.is-solid) .smc-menu a,
.page-template-page-about-smc header.smc-site-header[data-header-mode="overlay"]:not(.is-solid) .smc-lang__btn,
.page-template-page-about-smc header.smc-site-header[data-header-mode="overlay"]:not(.is-solid) .smc-nav-toggle,
.page-template-page-about-smc header.smc-site-header[data-header-mode="overlay"]:not(.is-solid) .smc-search-btn{
  color:#fff!important;
}
/* Коли з’являється .is-solid — повертаємо темний логотип (фон і тіні вже керуються базовим header.css) */
.page-template-page-about-smc header.smc-site-header.is-solid .smc-logo__img--light{display:none!important}
.page-template-page-about-smc header.smc-site-header.is-solid .smc-logo__img--dark{display:inline-block!important}

/* ------------------------------------------------------------------ */
/* BREADCRUMBS BAR — поза потоком, “висить” над hero                  */
/* 110px = 80 (хедер) + 30 (відступ), без білої щілини                */
/* ------------------------------------------------------------------ */
.page-template-page-about-smc .smc-breadcrumbs-bar{
  position: absolute;
  top: 109px;
  left: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
  margin: 0;
  padding: 0;
}

.page-template-page-about-smc .smc-breadcrumbs-bar .smc-container {
  padding: 0 16px;
}

/* ПК стилі - 70px відступи */
@media (min-width: 1200px) {
  .page-template-page-about-smc .smc-breadcrumbs-bar .smc-container {
    padding-left: 70px;
    padding-right: 70px;
  }
}

/* Адмінбар */
body.admin-bar .page-template-page-about-smc .smc-breadcrumbs-bar{
  top: calc(109px + 32px);
}
@media (max-width:782px){
  body.admin-bar .page-template-page-about-smc .smc-breadcrumbs-bar{
    top: calc(109px + 46px);
  }
}

/* Стилі крихт */
.page-template-page-about-smc .smc-breadcrumbs{
  margin:0 0 18px;
  font:500 16px/20px Montserrat,system-ui,Arial;
  color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.page-template-page-about-smc .smc-breadcrumbs ol,
.page-template-page-about-smc .smc-breadcrumbs ul{
  list-style:none; margin:0; padding:0;
  display:inline-flex; align-items:center; flex-wrap:wrap;
}
/* прибираємо сторонні сепаратори */
.page-template-page-about-smc .smc-breadcrumbs .separator,
.page-template-page-about-smc .smc-breadcrumbs .smc-bc-sep{ display:none!important; }
/* наш зелений розділювач */
.page-template-page-about-smc .smc-breadcrumbs li+li::before{
  content:"›"; margin:0 12px; color:#01A9A0; font-weight:600;
}
.page-template-page-about-smc .smc-breadcrumbs a{ color:#fff; text-decoration:none; }
.page-template-page-about-smc .smc-breadcrumbs a:hover{ text-decoration:underline; }
.page-template-page-about-smc .smc-breadcrumbs li:last-child,
.page-template-page-about-smc .smc-breadcrumbs li:last-child > span,
.page-template-page-about-smc .smc-breadcrumbs a[aria-current="page"]{
  color:#01A9A0; pointer-events:none; text-decoration:none;
}

/* ------------------------------------------------------------------ */
/* HERO — стартує під overlay-header                                   */
/* ------------------------------------------------------------------ */
.page-template-page-about-smc .smc-hero{
  position:relative;
  margin-top:-118px;                         /* підтягуємо під хедер */
  padding-top:130px;                         /* місце для крихт */
  min-height:clamp(320px,31.25vw,450px);    /* 1440 → 450px */
  display:grid; align-items:end;
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.page-template-page-about-smc .smc-about__hero.is-fallback{ background:#0E7C69; }
.page-template-page-about-smc .smc-about__hero-overlay{
  position:absolute; inset:0; z-index:1; background:rgba(0,0,0,.5); pointer-events:none;
}
.page-template-page-about-smc .smc-about__hero .smc-container{ position:relative; z-index:2; }
.page-template-page-about-smc .smc-about__hero-title{
  margin:0 0 70px; color:#fff;
  font:700 clamp(28px,2.2rem + 1.6vw,56px)/1.1 Montserrat,system-ui,Arial;
}

/* ПК стилі - 70px відступ для hero контейнера замість заголовку */
@media (min-width: 1200px) {
  .page-template-page-about-smc .smc-hero .smc-container{
    padding-left: 70px;
    padding-right: 70px;
  }
}

/* ------------------------------------------------------------------ */
/* Секції                                                              */
/* ------------------------------------------------------------------ */
.smc-about__intro{ margin-top:140px;}

.page-template-page-about-smc .smc-grid{ display:grid; gap:clamp(16px,4vw,32px); }
.page-template-page-about-smc .smc-grid--2{ grid-template-columns:1.1fr 1fr; }
@media (max-width:1024px){ .page-template-page-about-smc .smc-grid--2{ grid-template-columns:1fr; } }

.page-template-page-about-smc img.smc-about__logo{ display:block; width:100%; height:auto; }
.page-template-page-about-smc .smc-about__intro-content{ font:500 16px/1.6 Montserrat,system-ui,Arial; color:#222; }
.page-template-page-about-smc .smc-about__intro-content p{ margin:0 0 1em; }

.page-template-page-about-smc .smc-section__title{
  margin:0 0 12px; color:#091311;
  font:700 clamp(22px,1.4rem + .8vw,36px)/1.2 Montserrat,system-ui,Arial;
}
.page-template-page-about-smc .smc-section__lead{ font:500 16px/1.6 Montserrat,system-ui,Arial; color:#333; }

.page-template-page-about-smc .smc-cert__img{ width:100%; height:auto; border-radius:12px; display:block; }
.page-template-page-about-smc .smc-cert__gallery{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:14px;
}
@media (max-width:720px){ .page-template-page-about-smc .smc-cert__gallery{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.page-template-page-about-smc .smc-cert__thumb{ width:100%; height:auto; border-radius:10px; display:block; }

/* ===================== INTRO (fixed sizes by spec) ===================== */

/* щоб влізло 499 + 164 + 637 = 1300 */
.page-template-page-about-smc .smc-about__intro .smc-container{
  max-width: 1440px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* ПК стилі - 70px відступи для intro секції */
@media (min-width: 1200px) {
  .page-template-page-about-smc .smc-about__intro .smc-container{
    padding-left: 70px;
    padding-right: 70px;
  }
}

@media (min-width: 1200px){
  .page-template-page-about-smc .smc-about__intro .smc-grid{
    display: grid;
    grid-template-columns: 499px 637px;
    column-gap: 164px;          /* між лого і текстом */
    align-items: center;
  }
}

/* Лого 499×253 */
.page-template-page-about-smc img.smc-about__logo{
  display:block;
  width: 499px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 499 / 253;
}

/* Текстовий блок: 637×195, 48/500/100% */
.page-template-page-about-smc .smc-about__intro-content{
  width: 637px;
  max-width: 637px;
  min-height: 195px;
  font-family: Montserrat, system-ui, Arial;
  font-weight: 500;
  font-size: 32px;          /* чітко 48px */
  line-height: 1;           /* 100% */
  letter-spacing: 0;
  color: #091311;
}
.page-template-page-about-smc .smc-about__intro-content p{ margin: 0; }

/* Акцент (твій клас) */
.page-template-page-about-smc .smc-about__intro-content .is-accent,
.page-template-page-about-smc .smc-about__intro-content a.is-accent{
  color: var(--wp--preset--color--green, #01A9A0) !important;
  text-decoration: none;
}
.page-template-page-about-smc .smc-about__intro-content a.is-accent:hover{
  text-decoration: underline;
}

/* ===== About page — Features (cards only) ===== */
.page-template-page-about-smc .smc-about__features{
  max-width: 1440px;
  margin-top:60px;
  padding-top:0;
  width: 100%;
  margin: 60px auto 0;
  box-sizing: border-box;
}

/* ПК стилі - 70px відступи для features контейнера */
@media (min-width: 1200px) {
  .page-template-page-about-smc .smc-about__features .smc-container{
    padding-left: 70px;
    padding-right: 70px;
  }
}

/* сам грід карток */
.page-template-page-about-smc .smc-about__features .smc-about__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* картка */
.page-template-page-about-smc .smc-about__card{
  background: var(--smc-bg-soft, #EFF7F6);
  border-radius: 20px;
  min-height: 200px;
  padding: 56px 40px 55px 56px; /* T R B L */
  display: flex;
  flex-direction: column;
  justify-content: center;   /* вертикальне вирівнювання */
  gap: 16px;
}

/* заголовок картки — 24/24, 600, зелений */
.page-template-page-about-smc .smc-about__card-title{
  margin: 0;
  font-family: Montserrat, system-ui, Arial;
  font-weight: 600;
  font-size: 24px;
  line-height: 24px;
  color: var(--smc-green, #01A9A0);
}

/* опис картки — 16/1.4, 500 */
.page-template-page-about-smc .smc-about__card-desc{
  margin: 0;
  font-family: Montserrat, system-ui, Arial;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: var(--smc-ink, #091311);
}

/* ===== responsive ===== */
@media (max-width: 1024px){
  .page-template-page-about-smc .smc-about__features{
    max-width: 100%;
    margin-top: 40px;
  }
  .page-template-page-about-smc .smc-about__features .smc-about__grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .page-template-page-about-smc .smc-about__card{
    min-height: 180px;
    padding: 28px;
  }
}
@media (max-width: 640px){
  .page-template-page-about-smc .smc-about__features .smc-about__grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .page-template-page-about-smc .smc-about__card{
    min-height: auto;
    padding: 20px;
  }
}
/* =======================================================
   HOME — WHY (Чому обирають нас?)
   ======================================================= */

/* Токени секції */
:root{
  /* бокові відступи сторінки (як у героя): 70px desktop, 16px мобільний */
  --gutter: clamp(16px, 5vw, 70px);

  /* кольори/лінії */
  --ink: var(--smc-ink, #091311);
  --line: #E6EDEE; /* тонка сіра лінія з макета */
}

/* Секція з гаттерами по краях */
.smc-why{
  padding: 120px var(--gutter) 120px;
  display: block;
}

/* Внутрішній контейнер 1300px */
.smc-why__inner{
  max-width: 1440px;

  margin-top:54px !important; 
  display: grid;
  grid-template-columns: minmax(320px, 564px) minmax(560px, 1fr);
  column-gap: 101px;            /* як у макеті */
  align-items: start;
}

/* Лівий стовпчик */
.smc-why__title{
  margin: 0 0 24px 0;
  font-family: "Montserrat", system-ui, Arial;
  font-weight: 700;             /* H2 / Bold */
  font-size: 40px;
  line-height: 1;               /* Figma: normal/auto */
  color: var(--ink);
}

/* Підзаголовок (lead) — 32 Medium */
.smc-why__lead{
  margin: 0;
  font-family: "Montserrat", system-ui, Arial;
  font-weight: 500;             /* Medium */
  font-size: 32px;
  line-height: normal;          /* Figma auto */
  color: var(--ink);
}

/* Правий стовпчик (список) */
.smc-why__list{
  display: flex;
  flex-direction: column;
  gap: 0;                       /* лінії задаються елементам */
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Один ряд (тільки нижня рамка!) */
.smc-why__item{
  display: grid;
  grid-template-columns: 92px 1fr 1fr; /* 60px іконка + 32px відступ, титли/тексти */
  align-items: center;
  gap: 24px;
  padding: 24px 0;              /* вертикальні відступи рядка */
  border-bottom: 1px solid var(--line);
}
.smc-why__item:last-child{ border-bottom: none; }

/* Іконка 60×60 */
.smc-why__icon{
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
}

/* Заголовок біля іконки — 24 SemiBold */
.smc-why__item-title{
  font-family: "Montserrat", system-ui, Arial;
  font-weight: 600;             /* SemiBold */
  font-size: 24px;
  line-height: normal;          /* Figma auto */
  color: var(--ink);
  margin: 0;
}

/* Опис (праворуч) — 16 / 140% */
.smc-why__item-text{
  font-family: "Montserrat", system-ui, Arial;
  font-weight: 500;             /* Medium */
  font-size: 16px;
  line-height: 1.4;             /* 140% */
  color: var(--ink);
  margin: 0;
}

/* ===================== Адаптив ===================== */
@media (max-width: 1200px){
  .smc-why{ padding-top: 100px; }
  .smc-why__title{ font-size: 36px; }
  .smc-why__lead{ font-size: 28px; }
}

@media (max-width: 1024px){
  .smc-why{
    padding: 90px var(--gutter) 100px;
  }
  .smc-why__inner{
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  /* Ряд на дві колонки: іконка + заголовок вище, текст нижче */
  .smc-why__item{
    grid-template-columns: 60px 1fr;
    align-items: start;
    gap: 16px;
  }
  .smc-why__item-title{
    margin-top: 6px;
  }
  .smc-why__item-text{
    grid-column: 1 / -1;
    margin-left: calc(60px + 16px);   /* під текст — відступ як у заголовка */
  }
}

@media (max-width: 640px){
  .smc-why__title{ font-size: 32px; }
  .smc-why__lead{ font-size: 22px; line-height: 1.2; }
  .smc-why__item{ padding: 18px 0; }
  .smc-why__item-title{ font-size: 20px; }
}

/* вирівнюємо старт обох колонок */
.smc-why__inner{
  margin-top: 0 !important; /* прибираємо штучний зсув */
}

.smc-why__item:first-child{
  padding-top: 0;           /* не опускаємо перший рядок списку */
}

/* (опційно) на мобільному теж фіксуємо */
@media (max-width: 1024px){
  .smc-why__item:first-child{ padding-top: 0; }
}

/* ===== About — DIRECTIONS (Наші напрямлення) ===== */
/* =======================================================
   ABOUT — DIRECTIONS / SERVICES (fixed card 700px)
   ======================================================= */

/* Секція */
.smc-dir{ width:100%; padding:0; }

/* Карта 1300×700 */
.smc-dir__inner{
  position:relative;
  width:100%;
  max-width:1300px;
  height:700px;
  margin-inline:auto;
  border-radius:20px;
  overflow:hidden;

  /* Токени */
  --pad-x:136px;
  --pad-y:0px;
  --left-col:570px;
  --gap:55px;

  --viewer-w:400px;
  --viewer-h:480px;

  /* стрілки */
  --nav-size:44px;
  --nav-gap:20px;

  padding:var(--pad-y) var(--pad-x);
  display:grid;
  grid-template-columns:minmax(420px,var(--left-col)) var(--gap) var(--viewer-w);
  align-items:center;

  background-image:
    radial-gradient(50% 50% at 50% 50%,
      rgba(180,240,231,.70) 0%,
      rgba(93,206,196,.70) 61%,
      rgba(1,169,160,.70) 87%),
    var(--dir-bg);
  background-size:cover,cover;
  background-position:center,center;
  background-repeat:no-repeat,no-repeat;
}

/* Ліва колонка */
.smc-dir__left{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  row-gap:18px;
  padding-block:39px 39px;
}
.smc-dir__title{ margin:0; font:700 40px/1.15 "Montserrat",system-ui,Arial; color:var(--smc-ink,#091311); }
.smc-dir__sub{ margin:0; font:700 28px/1.15 "Montserrat",system-ui,Arial; color:var(--smc-ink,#091311); }
.smc-dir__bullets{ margin:0; padding-left:18px; list-style:disc; font:500 16px/1.45 "Montserrat",system-ui,Arial; color:var(--smc-ink,#091311); }
.smc-dir__bullets li{ margin:4px 0; }

/* Тексти слайдів */
.smc-dir__texts{ position:relative; }
.smc-dir__text{ display:none; opacity:0; transform:translateY(6px); transition:opacity .25s ease, transform .25s ease; }
.smc-dir__text.is-active{ display:block; opacity:1; transform:translateY(0); }

/* Сцена / в’ювер */
.smc-dir__stage{
  position:relative;
  display:grid;
  grid-template-rows:1fr auto;
  align-items:center;
  justify-items:center;
}
.smc-dir__viewer{
  position:relative;              /* ВАЖЛИВО: стрілки привʼязуємо до вʼювера */
  width:var(--viewer-w);
  height:var(--viewer-h);
}
.smc-dir__item{
  position:absolute; inset:0;
  display:grid; place-items:center;
  opacity:0; pointer-events:none;
  transition:opacity .35s ease;
}
.smc-dir__item.is-active{ opacity:1; pointer-events:auto; }
.smc-dir__item img{ width:100%; height:100%; object-fit:contain; display:block; }

/* ---------------------- СТРІЛКИ ---------------------- */
/* Позиціюємо ВІДНОСНО .smc-dir__viewer, не всієї карти */
.smc-dir__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;

  width:var(--nav-size);
  height:var(--nav-size);
  border-radius:50%;
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(20px);
  border:0;
  cursor:pointer;
  transition:opacity .2s ease, transform .2s ease;
}
.smc-dir__nav:hover{ transform:translateY(-50%) scale(1.04); }
.smc-dir__nav:active{ transform:translateY(-50%) scale(0.98); }

.smc-dir__nav::before{
  content:"";
  display:block;
  width:24px; height:24px;
  margin:calc((var(--nav-size) - 24px)/2);
  background:center/contain no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 18L15 12L9 6' stroke='%23091311' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.smc-dir__nav--prev::before{ transform:rotate(180deg); }

/* Симетрія відносно вʼювера: по обидва боки на однаковій відстані */
.smc-dir__nav--prev{ left: calc(-1 * (var(--nav-gap) + var(--nav-size))); }
.smc-dir__nav--next{ right: calc(-1 * (var(--nav-gap) + var(--nav-size))); }

/* ====================== Adaptive ====================== */
@media (max-width:1200px){
  .smc-dir__inner{
    --pad-x:32px;
    --left-col:573px;
    --gap:40px;
    --viewer-w:360px;
    --viewer-h:420px;
    --nav-size:44px;
    --nav-gap:16px;

    grid-template-columns:minmax(360px,var(--left-col)) var(--gap) var(--viewer-w);
  }
  .smc-dir__title{ font-size:36px; }
  .smc-dir__sub{ font-size:24px; }
  .smc-dir__bullets{ font-size:15px; }
}

@media (max-width:640px){
  .smc-dir__inner{
    --pad-x:20px;
    --pad-y:28px;
    --left-col:100%;
    --gap:20px;
    --viewer-w:248px;
    --viewer-h:320px;
    --nav-size:40px;
    --nav-gap:12px;

    height:600px;
    padding:var(--pad-y) var(--pad-x);
    grid-template-columns:1fr;
    grid-template-rows:auto var(--viewer-h) auto;
    row-gap:18px;
    align-items:start;
  }

  .smc-dir__left{ padding-block:0; justify-content:start; }

  .smc-dir__viewer{
    width:var(--viewer-w);
    height:var(--viewer-h);
    margin-inline:auto;
  }

  /* На мобільному стрілки біля країв карти */
  .smc-dir__nav{
    top: calc(var(--pad-y) + 28px + var(--viewer-h)/2);
  }
  .smc-dir__nav--prev{ left:6px; }
  .smc-dir__nav--next{ right:6px; }
  .smc-dir__title{ font-size:32px; }
  .smc-dir__sub{ font-size:22px; }
  .smc-dir__bullets{ font-size:14px; }
}

/* --- Стрілки всередині .smc-dir__viewer --- */
.smc-dir__viewer{
  position: relative;             /* стрілки та слайди прив’язуємо сюди */
  width: var(--viewer-w);
  height: var(--viewer-h);
}

/* базові стилі */
.smc-dir__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  width: var(--nav-size);
  height: var(--nav-size);
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(20px);
  border: 0;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.smc-dir__nav:hover{ transform: translateY(-50%) scale(1.04); }
.smc-dir__nav:active{ transform: translateY(-50%) scale(0.98); }

.smc-dir__nav::before{
  content: "";
  display: block;
  width: 24px; height: 24px;
  margin: calc((var(--nav-size) - 24px)/2);
  background: center/contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 18L15 12L9 6' stroke='%23091311' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.smc-dir__nav--prev::before{ transform: rotate(180deg); }

/* ВАЖЛИВО: ставимо відступ ВСЕРЕДИНІ в’ювера, без від’ємних офсетів */
.smc-dir__nav--prev{ left: 664px; }           /* всередині в’ювера */
.smc-dir__nav--next{ right: 136px; }           /* всередині в’ювера */

/* мобільний — залишаємо біля країв картки */
@media (max-width: 640px){
  .smc-dir__nav{
    top: calc( var(--pad-y) + 28px + var(--viewer-h)/2 );
  }
  .smc-dir__nav--prev{ left: 6px; }
  .smc-dir__nav--next{ right: 6px; }
}
/* ===== MOBILE (макет 375 x 760) ===== */
/* =========================================================
   MOBILE (≤480px) — "Послуги" (про компанію)
   Картка 375×760. Порядок: Title → Subtitle → Viewer → List.
   В’ювер 247×320. Стрілки по центру відносно в’ювера.
   ========================================================= */
@media (max-width: 480px){

  /* Карта секції */
  .smc-dir.smc-dir--about .smc-dir__inner{
    /* мобільні змінні */
    --pad-x: 20px;
    --pad-y: 40px;      /* 40px від верху до заголовка */
    --viewer-w: 247px;
    --viewer-h: 320px;  /* фіксована висота в’ювера */
    --nav-size: 40px;

    height: 760px;                               /* фіксована висота */
    max-width: 375px;
    padding: var(--pad-y) var(--pad-x) 20px;
    margin-inline: auto;
    border-radius: 16px;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "subtitle"
      "viewer"
      "bullets";
    grid-template-rows: auto auto var(--viewer-h) auto; /* рядок в’ювера = 320 */
    row-gap: 0;
    align-items: start;
    align-content: start;
  }

  /* Розчинили обгортки, щоб керувати елементами напряму */
  .smc-dir.smc-dir--about .smc-dir__left,
  .smc-dir.smc-dir--about .smc-dir__left-inner,
  .smc-dir.smc-dir--about .smc-dir__texts{
    display: contents !important;
  }
  .smc-dir.smc-dir--about .smc-dir__text{ display:none !important; }
  .smc-dir.smc-dir--about .smc-dir__text.is-active{ display:contents !important; }

  /* Заголовки (40 | 16 | 7 | 5) */
  .smc-dir.smc-dir--about .smc-dir__title{
    grid-area: title;
    margin: 0 0 16px 0;                 /* 16 до підзаголовка */
    font: 700 24px/1 Montserrat,system-ui,Arial;
    color: var(--smc-ink,#091311);
  }
  .smc-dir.smc-dir--about .smc-dir__sub{
    grid-area: subtitle;
    margin: 0 0 7px 0;                  /* 7 до в’ювера */
    font: 600 18px/1 Montserrat,system-ui,Arial;
    color: var(--smc-ink,#091311);
  }

  /* Сцена (той самий рядок “viewer”) */
  .smc-dir.smc-dir--about .smc-dir__stage{
    grid-area: viewer;
    display: grid;
    place-items: center;                /* контейнер зображення по центру */
    height: var(--viewer-h);
    position: relative;
  }

  /* Контейнер 247×320 */
  .smc-dir.smc-dir--about .smc-dir__viewer{
    width: var(--viewer-w) !important;
    height: var(--viewer-h) !important;
    margin: 0 auto;
    position: relative;
  }
  .smc-dir.smc-dir--about .smc-dir__item{
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
  }
  .smc-dir.smc-dir--about .smc-dir__item.is-active{ opacity: 1; pointer-events: auto; }
  .smc-dir.smc-dir--about .smc-dir__item img{
    max-width: 100%; max-height: 100%;
    object-fit: contain; display: block;
  }

  /* Список — 5px від в’ювера, типографіка 12/15 */
  .smc-dir.smc-dir--about .smc-dir__bullets{
    grid-area: bullets;
    margin: 5px 0 0 0;                  /* 5 до списку */
    padding-left: 18px;
    list-style: disc;
    font: 500 12px/15px Montserrat,system-ui,Arial;
    color: var(--smc-ink,#091311);
  }
  .smc-dir.smc-dir--about .smc-dir__bullets li{ margin: 0; }

  /* ---------- СТРІЛКИ: у тій самій grid-області “viewer” ---------- */
  .smc-dir.smc-dir--about .smc-dir__nav{
    grid-area: viewer !important;       /* ВАЖЛИВО: та сама область, що й в’ювер */
    position: static !important;        /* скидаємо абсолют з десктопу */
    top: auto !important; left: auto !important; right: auto !important;
    transform: none !important;

    width: var(--nav-size);
    height: var(--nav-size);
    border-radius: 200px;
    background: rgba(255,255,255,.55);
    border: 1px solid #fff;
    backdrop-filter: blur(20px);

    display: inline-flex; align-items: center; justify-content: center;
    align-self: center;                  /* вертикально по центру рядка */
    justify-self: center;                /* базово по центру */
    z-index: 3;
  }
  .smc-dir.smc-dir--about .smc-dir__nav--prev{
    justify-self: start;                 /* ліворуч від в’ювера */
    margin-left: 6px;
  }
  .smc-dir.smc-dir--about .smc-dir__nav--next{
    justify-self: end;                   /* праворуч від в’ювера */
    margin-right: 6px;
  }

  /* ---------- КОЛІР СТРІЛОК ЗАЛЕЖНО ВІД АКТИВНОГО СЛАЙДА ---------- */
  /* За замовчуванням — «скляні». Далі підсвічуємо зеленим, де потрібно. */

  /* 1) Перший слайд активний → права зелена, ліва скляна */
  .smc-dir.smc-dir--about .smc-dir__inner:has(.smc-dir__viewer .smc-dir__item:first-child.is-active)
  .smc-dir__nav--next{
    background: var(--Green, #01A9A0);
    border-color: transparent;
  }

  /* 2) Останній слайд активний → ліва зелена, права скляна */
  .smc-dir.smc-dir--about .smc-dir__inner:has(.smc-dir__viewer .smc-dir__item:last-child.is-active)
  .smc-dir__nav--prev{
    background: var(--Green, #01A9A0);
    border-color: transparent;
  }

  /* 3) Будь-який середній слайд (не перший і не останній) → обидві зелені */
  .smc-dir.smc-dir--about .smc-dir__inner:has(.smc-dir__viewer .smc-dir__item.is-active:not(:first-child):not(:last-child))
  .smc-dir__nav{
    background: var(--Green, #01A9A0);
    border-color: transparent;
  }
}
@media (max-width: 480px){
  /* Білий гліф стрілки всередині мобільної кнопки */
  .smc-dir.smc-dir--about .smc-dir__nav::before{
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;                         /* центровано flex-ом кнопки */
    background: center / contain no-repeat;
    /* SVG зі stroke = #FFFFFF (білий) */
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 18L15 12L9 6' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  /* Ліва стрілка — розвертаємо гліф */
  .smc-dir.smc-dir--about .smc-dir__nav--prev::before{
    transform: rotate(180deg);
  }
}

/* ===== ABOUT: Manufacture + Gallery (1300 x 556) ===== */
.pl-mg--about{ padding:0; margin:140px 0; }
.pl-mg--about .pl-mg__grid{
  width:100%; max-width:1300px; margin:0 auto;
  display:grid; grid-template-columns:469px 30px 801px; align-items:start;
  box-sizing:border-box;
}

/* Ліва колонка */
.pl-mg--about .pl-mg__title{
  margin:20px 0 0;
  color:var(--smc-ink, #091311);
  font:700 40px/100% Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial;
}
.pl-mg--about .pl-mg__lead{
  margin:24px 0 0;
  width:469px; /* фіксуємо по макету */
  color:var(--smc-ink, #091311);
  font:500 16px/20px Montserrat,system-ui,Arial;
}
/* Кнопка */
.pl-mg--about .pl-btn.pl-mg__btn{
  display:inline-flex; align-items:center; justify-content:center;
  margin-top:108px;
  height:52px;
  padding:14px 40px 16px 40px;
  border-radius:10px; background:var(--smc-green,#01A9A0); color:#fff; text-decoration:none;
  font:500 16px/20px Montserrat,system-ui,Arial;
}
.pl-mg--about .pl-btn.pl-mg__btn:hover{ opacity:.92; }

/* Права колонка: слайдер 801×500 */
.pl-mg--about .pl-mg__right{ position:relative; margin-left:30px; }
.pl-mg--about .pl-mg__right .pl-swiper{
  position:relative; width:801px; height:500px; padding-bottom:56px; /* під стрілки */
}
.pl-mg--about .pl-mg__right .swiper-slide img{
  width:100%; height:100%; object-fit:cover; border-radius:20px; display:block;
}

/* Навігація (40×40, відбиті в правий нижній кут) */
.pl-mg--about .pl-swiper__nav{
  position:absolute; bottom:8px; z-index:2;
  width:40px; height:40px; border-radius:200px; border:1px solid var(--smc-green,#01A9A0);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  background:transparent; backdrop-filter:none; box-shadow:none;
  color:var(--smc-green,#01A9A0);
}
.pl-mg--about .pl-swiper__prev{ left:auto; right:56px; background:transparent; color:var(--smc-green,#01A9A0); }
.pl-mg--about .pl-swiper__next{ left:auto; right:0;     background:var(--smc-green,#01A9A0); color:#fff; backdrop-filter:blur(20px); }

/* Іконки через CSS mask */
.pl-mg--about .pl-swiper__nav::before{
  content:""; display:block; width:18px; height:18px; background:currentColor;
  -webkit-mask-size:contain; mask-size:contain; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
}
.pl-mg--about .pl-swiper__prev::before{
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M15.4 19.4 8.9 12.9c-.3-.3-.3-.8 0-1.1l6.5-6.5 1.1 1.1-5.9 5.9 5.9 5.9-1.1 1.2Z"/></svg>');
          mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M15.4 19.4 8.9 12.9c-.3-.3-.3-.8 0-1.1l6.5-6.5 1.1 1.1-5.9 5.9 5.9 5.9-1.1 1.2Z"/></svg>');
}
.pl-mg--about .pl-swiper__next::before{
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M8.6 4.6 15.1 11c.3.3.3.8 0 1.1l-6.5 6.5-1.1-1.1 5.9-5.9-5.9-5.9 1.1-1.2Z"/></svg>');
          mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M8.6 4.6 15.1 11c.3.3.3.8 0 1.1l-6.5 6.5-1.1-1.1 5.9-5.9-5.9-5.9 1.1-1.2Z"/></svg>');
}

/* ===== Mobile ≤480px (чисто, без дубляжів і не ламає desktop) ===== */
@media (max-width:480px){
  .pl-mg--about{ margin:80px 0; }
  .pl-mg--about .pl-mg__grid{ display:block; width:100%; }

  /* Ліва колонка */
  .pl-mg--about .pl-mg__left{ padding:0 20px; }
  .pl-mg--about .pl-mg__title{
    margin:0 0 12px; color:#091311; font:700 24px/100% Montserrat;
    text-align:left;
  }
  .pl-mg--about .pl-mg__lead{
    margin:0 0 16px; max-width:335px;
    color:#091311; font:500 16px/20px Montserrat; text-align:left;
  }
  .pl-mg--about .pl-btn.pl-mg__btn{
    width:335px; height:52px; margin:20px auto 0;
    padding:14px 40px 16px 40px;
    border-radius:10px; background:#01A9A0; color:#fff; text-decoration:none;
    display:flex; justify-content:center; align-items:center;
    font:500 16px/20px Montserrat;
  }
  .pl-mg--about .pl-mg__right .pl-swiper {height:auto;}

  /* Права колонка */
  .pl-mg--about .pl-mg__right{ margin:20px 0 0; padding:0 20px; box-sizing:border-box; }
  .pl-mg--about .pl-mg__right .pl-swiper{
    width:100% !important; max-width:335px; margin:0 auto; padding-bottom:0 !important;
    position:relative; text-align:center;
  }
  .pl-mg--about .pl-mg__right .pl-swiper .swiper-wrapper{ height:320px; }
  .pl-mg--about .pl-mg__right .pl-swiper .swiper-slide{ height:320px; }
  .pl-mg--about .pl-mg__right .pl-swiper .swiper-slide img{
    width:100%; height:100%; object-fit:cover; border-radius:20px; display:block;
  }

  /* Кнопки під слайдом, по центру */
  .pl-mg--about .pl-swiper__nav{
    position:static !important; width:40px; height:40px; margin-top:16px;
    border-radius:200px; padding:10px; box-sizing:border-box;
    display:inline-flex; justify-content:center; align-items:center;
  }
  .pl-mg--about .pl-swiper__prev{
    margin-right:20px; background:transparent; color:#01A9A0; border:1px solid #01A9A0;
  }
  .pl-mg--about .pl-swiper__next{
    background:#01A9A0; color:#fff; border:1px solid #01A9A0; backdrop-filter:blur(20px);
  }
}


/* =======================================================
   ABOUT — CERTIFICATES (current markup)
   Карта: 1300×712, p: 56/110, radius: 30, bg: #EFF7F6
   Ліва колонка img: 430×600
   Заголовок: 40/700/1 центр; Текст: 32/500/1 зліва
   ======================================================= */

/* карта секції усередині контейнера */
.smc-cert .smc-container{
  /* робимо “картку” з фоном всередині контейнера */
  max-width: 1440px;
  margin-inline: auto;
  margin-top: 134px !important;
  margin-bottom: 140px;

  background: #EFF7F6;         /* var(--Light Green) */
  border-radius: 30px;
  padding: 56px 110px;
  overflow: hidden;
}

/* 2-колонки всередині картки: 430px + авто */
.smc-cert .smc-grid.smc-grid--2{
  display: grid;
  grid-template-columns: 430px 1fr; /* фіксована ліва, пружна права */
  align-items: center;
  column-gap: 56px;
}

/* Ліва колонка: фіксуємо геометрію зображення */
.smc-cert__left{ min-width: 0; }
.smc-cert__img{
  display: block;
  width: 430px !important;
  max-width: none !important;
  height: 600px !important;
  object-fit: cover;
  border-radius: 8px; /* за бажанням, можна прибрати */
}

/* Права колонка */
.smc-cert__right{ min-width: 0; margin-left: 100px; }

/* Заголовок: 40/700/100% центр */
.smc-cert .smc-section__title{
  margin: 0 0 24px;
  color: #091311;
  font: 700 40px/1 "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  text-align: left;
}

/* Текст: 32/500/100% left */
.smc-cert .smc-section__lead{
  margin: 0;
  margin-top: 24px;
  color: #091311;
  font: 500 32px/1 "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  text-align: left;
}

/* (опційно) тумби, якщо є — компактний ряд */
.smc-cert__gallery{
  margin-top: 24px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 12px;
}
.smc-cert__thumb{
  display: block;
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
}

/* =======================================================
   ADAPTIVE
   ======================================================= */

/* ≤1200 — трохи менші відступи/шрифти */
@media (max-width: 1200px){
  .smc-cert .smc-container{
    padding: 40px 48px;
  }
  .smc-cert .smc-grid.smc-grid--2{
    column-gap: 40px;
  }
  .smc-cert .smc-section__title{ font-size: 36px; }
  .smc-cert .smc-section__lead { font-size: 28px; }
}

/* ≤960 — зменшуємо картинку */
@media (max-width: 960px){
  .smc-cert .smc-grid.smc-grid--2{
    grid-template-columns: 360px 1fr;
  }
  .smc-cert__img{
    width: 360px !important;
    height: 500px !important;
  }
}

/* ≤640 — стекаємо у колонку */
@media (max-width: 640px){
  .smc-cert .smc-container{
    border-radius: 16px;
    padding: 20px;
  }
  .smc-cert .smc-grid.smc-grid--2{
    grid-template-columns: 1fr;
    row-gap: 16px;
    align-items: start;
  }
  .smc-cert__left{
    justify-self: center;
  }
  .smc-cert__img{
    width: 100% !important;
    height: auto !important;
    max-width: 335px;   /* комфортна ширина для 375–430 */
  }
  .smc-cert .smc-section__title{
    margin: 0 0 12px;
    font-size: 24px;
    text-align: left;   /* мобільно читається краще */
  }
  .smc-cert .smc-section__lead{
    font-size: 16px;
    line-height: 1.25; /* ~20px */
  }
  .smc-cert__gallery{
    margin-top: 16px;
  }
}
/* ===== ABOUT — CERTIFICATES — MOBILE (≤480px) ===== */
/* ===== CERTIFICATES — MOBILE (≤480px) ===== */
@media (max-width: 480px){

  /* секція: без фону/радіуса; зовнішній відступ зверху 80px */
  .smc-cert{
    background: transparent !important;
    padding: 0 !important;
  }
  .smc-why__item-text{
    margin-left:0px;
  }
  .smc-cert .smc-container{
    /* прибиваємо desktop'ні 139/140px і фони */
    margin: 80px auto 80px !important;
    padding: 0 20px !important;          /* однакові ліві/праві відступи для всього контенту */
    background: transparent !important;
    border-radius: 0 !important;

    /* ГОЛОВНЕ: перемикаємося на колонку, щоб керувати порядком */
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;                   /* усі відступи задаємо вручну */
    max-width: 375px;                    /* референсна ширина */
  }

  /* порядок: спочатку текстовий блок, потім картинка */
  .smc-cert__right{ order: 1; padding: 0 !important; margin: 0 !important; }
  .smc-cert__left { order: 2; padding: 0 !important; margin: 0 !important; }

  /* заголовок */
  .smc-cert .smc-section__title{
    margin: 0 0 24px !important;
    font: 700 24px/1 "Montserrat", system-ui, Arial;
    color: #091311;
    text-align: left;
  }

  /* текст під заголовком */
  .smc-cert .smc-section__lead{
    margin: 0 0 16px !important;
    font: 500 18px/1 "Montserrat", system-ui, Arial;
    color: #091311;
    text-align: left;
  }

  /* зображення сертифіката — відразу після тексту */
  .smc-cert__img{
    display: block;
    width: 335px !important;
    height: 467px !important;
    object-fit: cover;
    margin: 0;                            /* без додаткових зсувів */
    background: transparent !important;
    border-radius: 0 !important;
  }

  /* (якщо є) галерея — нижче картинки із своїм відступом */
  .smc-cert__gallery{
    margin-top: 16px;
    padding: 0;
  }
  .page-template-page-about-smc .smc-breadcrumbs-bar{
	margin:0 !important;
    padding:0 !important;
    top:80px;
}
  .smc-about__hero-title {
    color: var(--White, rgba(255, 255, 255, 1))!important;
    font-family: Montserrat !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    line-height: 100% !important;
    letter-spacing: 0% !important;
    text-align: left !important;
    text-transform: uppercase !important;
	margin-top: 189px !important;
  }
  img.smc-about__logo {
	  width: 335px !important;
	  height: 170px !important;
	  padding-left: 20px !important;
	  
  }
  .smc-about__intro {
	  margin-top: 40px !important;
	  padding-left: 0 !important;
  }
  .smc-about__intro-content{
	  font-family: Montserrat !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 100% !important;
    letter-spacing: 0% !important;
    text-align: left !important;
	  margin-left: 20px;
	  margin-right: 20px;
	  width: 335px !important;
  }
  .smc-about__features {
	  margin-top: 24px !important;
  }