/* ====== Соц-иконки: размер + фирменные цвета ====== */
.t-sociallinks__item .t-sociallinks__svg {
  width: 36px !important;
  height: 36px !important;
}
/* WhatsApp */
.t-sociallinks__item_whatsapp .t-sociallinks__svg path {
  fill: #1F5F3A !important;   /* Boyarin Green */
  stroke: none !important;
  fill-opacity: 1 !important;
}
/* Telegram */
.t-sociallinks__item_telegram .t-sociallinks__svg path {
  fill: #207FA5 !important;   /* Boyarin Teal Blue */
  stroke: none !important;
  fill-opacity: 1 !important;
}

/* ====== Палитра ====== */
:root{
  --boyarin-black:#0B0B0C;
  --primary:#1F5F3A;
  --primary-hover:#184C30;
  --secondary:#6E4B3A;
  --accent-gold:#C5A052;

  --bg-base:#F7F6F2;
  --bg-surface:#FFFFFF;
  --bg-warm:#F1EFEA;

  --border:#E6E2DB;

  --text-primary:#0B0B0C;
  --text-secondary:#6B6F76;
  --text-muted:#8C9199;

  --link:#1F5F3A;       /* ссылки = наш зелёный */
  --cta-wa:#25D366;
}

/* ====== Базовая тема ====== */
body{background:var(--bg-base); color:var(--text-primary);}
.t-divider{border-color:var(--border);}
h1,h2,h3{color:var(--text-primary);}
.t-title, .t-name{color:var(--text-primary);}

/* Меню */
.t-menu__link-item{color:var(--boyarin-black) !important;}
.t-menu__link-item:hover{color:var(--primary) !important;}

/* Кнопки — универсальные */
.t-btn{
  background: var(--primary) !important;
  color:#fff !important;
  border:1px solid transparent !important;
  border-radius:999px !important;
  padding:12px 28px !important;
  font-size:18px !important;
  font-weight:600 !important;
  transition:all .25s ease;
}
.t-btn:hover{
  background: var(--primary-hover) !important;
  color:#fff !important;
  border-color: var(--accent-gold) !important;
  box-shadow:0 4px 14px rgba(0,0,0,0.25);
}
.t-btn.t-btn_outline{
  background:transparent !important;
  color:var(--secondary) !important;
  border:1px solid var(--secondary) !important;
}
.t-btn.t-btn_outline:hover{
  background:var(--secondary) !important;
  color:#fff !important;
}

/* Ссылки — глобально */
a,
.t-text a,
.t-descr a,
.t-name a,
.t-title a {
  color: var(--link) !important;
  text-decoration: none;
  transition: all .25s ease;
}
a:hover,
.t-text a:hover,
.t-descr a:hover,
.t-name a:hover,
.t-title a:hover {
  color: var(--accent-gold) !important;
  text-decoration: underline;
  text-underline-offset:3px;
}

/* Ссылки в нижнем блоке #rec1324202251 — белые → золотые */
#rec1324202251 a,
#rec1324202251 .t-text a,
#rec1324202251 .t-descr a,
#rec1324202251 .t-name a,
#rec1324202251 .t-title a {
  color:#FFFFFF !important;
  text-decoration:none;
}
#rec1324202251 a:hover,
#rec1324202251 .t-text a:hover,
#rec1324202251 .t-descr a:hover,
#rec1324202251 .t-name a:hover,
#rec1324202251 .t-title a:hover {
  color: var(--accent-gold) !important;
  text-decoration: underline;
  text-underline-offset:3px;
}

/* Карточки/блоки на тёплом фоне */
.section-warm{background:var(--bg-warm);}
.section-warm .t-title{color:var(--secondary);}

/* ====== Обложка (CR01) ====== */
.t-cover__filter {
  background: linear-gradient(
    rgba(11, 11, 12, 0.7) 0%,
    rgba(11, 11, 12, 0.0) 60%
  ) !important;
}
.t-cover__title, .t-cover__descr { text-shadow: 0 2px 6px rgba(0,0,0,0.6); }
.t-cover__title:after{
  content:"";
  display:block;
  width:120px;
  height:3px;
  background: var(--accent-gold);
  margin:12px auto 0;
  border-radius:3px;
}

/* ====== Шапка (Header) ====== */
.t228, .t280, .tmenu, .t199{ 
  background: rgba(247,246,242,0.96) !important;
  border-bottom:2px solid var(--accent-gold);
  box-shadow:0 2px 10px rgba(11,11,12,0.05);
  -webkit-backdrop-filter:saturate(140%) blur(6px);
  backdrop-filter:saturate(140%) blur(6px);
}
.t228__logo, .t280__logo, .tmenu__logo, .t199__logo{ filter:contrast(105%); }
.t228__phone, .t280__phone, .tmenu__phones a{ color: var(--boyarin-black) !important; }

/* Меню: актив */
.t-menu__link-item.t-active,
.tmenu a.t-active{
  color: var(--primary) !important;
  position: relative;
}
.t-menu__link-item.t-active:after,
.tmenu a.t-active:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-8px;
  margin:auto;
  width:34px; height:2px;
  background: var(--accent-gold);
  border-radius:2px;
}
/* Hover меню */
.t-menu__link-item:hover{ position:relative; }
.t-menu__link-item:hover:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-8px;
  margin:auto;
  width:26px; height:2px;
  background: var(--accent-gold);
  border-radius:2px;
  opacity:.7;
}

/* Соц-иконки в шапке */
.tmenu .t-sociallinks__item a,
.t228 .t-sociallinks__item a{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:50%;
  background:#fff;
  border:1px solid var(--accent-gold);
}
/* Принудительно сохраняем брендовые цвета внутри кружков */
.tmenu .t-sociallinks__item_whatsapp a .t-sociallinks__svg path,
.t228 .t-sociallinks__item_whatsapp a .t-sociallinks__svg path{ fill:#1F5F3A !important; }
.tmenu .t-sociallinks__item_telegram a .t-sociallinks__svg path,
.t228 .t-sociallinks__item_telegram a .t-sociallinks__svg path{ fill:#207FA5 !important; }

/* ====== TS104N — карточки брендов ====== */
#rec1324165731 .t958__author {
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  text-align:left !important;
  gap:24px;
  margin-bottom:20px;
}
#rec1324165731 .t958__avatar.t-bgimg {
  width:180px !important;
  height:100px !important;
  flex-shrink:0;
  background-size:contain !important;
  background-position:left center !important;
  background-repeat:no-repeat !important;
  margin:0 !important;
}
#rec1324165731 .t958__author-name,
#rec1324165731 .t958__author-descr {
  margin:0 0 6px 0 !important;
  text-align:left !important;
}
#rec1324165731 .t958__author-name{ font-size:22px !important; font-weight:700 !important; color:var(--text-primary);}
#rec1324165731 .t958__author-descr{ font-size:16px !important; font-weight:400 !important; color:var(--text-secondary); opacity:.95;}
#rec1324165731 .t958__text{ text-align:left !important; margin-top:10px; font-size:16px; line-height:1.6; }
@media (max-width:640px){
  #rec1324165731 .t958__author{ flex-direction:column !important; align-items:flex-start !important; gap:12px;}
  #rec1324165731 .t958__avatar.t-bgimg{ width:150px !important; height:80px !important; }
}

/* ====== BF204N (t678) — форма ====== */
#rec1332644861{ background:#fff !important; }
#rec1332644861 .t678{ background:#fff !important; border:0 !important; box-shadow:none !important; }
#rec1332644861 .t-section__top,
#rec1332644861 .t-section__bottom,
#rec1332644861 .t-section__bottomline,
#rec1332644861 .t-hr,
#rec1332644861 hr,
#rec1332644861 .t-divider{ display:none !important; border:0 !important; background:transparent !important; }
#rec1324205211{ background:transparent !important; padding-top:0 !important; padding-bottom:0 !important; }
#rec1324205211 .t123{ min-height:0 !important; }
#t-footer{ background:#fff !important; }

/* Кнопка формы */
#rec1332644861 .t-btn{
  background:var(--primary) !important;
  color:#fff !important;
  border:1px solid transparent !important;
  border-radius:999px !important;
  padding:12px 28px !important;
  font-size:18px !important;
  font-weight:600 !important;
  transition:all .25s ease;
}
#rec1332644861 .t-btn:hover{
  background:var(--primary-hover) !important;
  color:#fff !important;
  border-color: var(--accent-gold) !important;
  box-shadow:0 4px 14px rgba(0,0,0,0.25);
}

/* Заголовки и текст в нижнем блоке #rec1324202251 — белые */
#rec1324202251 h1,
#rec1324202251 h2,
#rec1324202251 h3,
#rec1324202251 .t-title,
#rec1324202251 .t-name,
#rec1324202251 .t-descr,
#rec1324202251 .t-text {
  color: #FFFFFF !important;
}

/* ====== T1148 (#rec1324098061) — стрелки слайдера: зелёный фон, белые стрелки ====== */
/* Кнопки-кружки */
#rec1324098061 .t1148__control {
  background: var(--primary) !important;        /* зелёный фон кружка */
  border-radius: 50% !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: all .25s ease;
}

/* Сам SVG и его элементы — белые стрелки */
#rec1324098061 .t1148__control svg { width: 24px; height: 24px; }
#rec1324098061 .t1148__control svg * {
  stroke: #FFFFFF !important;
  fill: none !important;            /* на случай если где-то заливается */
}

/* Hover: темнее фон, стрелка «золотая» */
#rec1324098061 .t1148__control:hover {
  background: var(--primary-hover) !important;
}
#rec1324098061 .t1148__control:hover svg *,
#rec1324098061 .t1148__control:focus svg * {
  stroke: var(--accent-gold) !important;
}

/* На всякий случай выключаем прозрачности */
#rec1324098061 .t1148__control { opacity: 1 !important; }


/* ====== Авто-стили для тёмных секций (фон #6E4B3A) — белый текст, ссылки → золото ====== */
/* Ловим любой блок .t-rec с этим цветом в inline-style */
.t-rec[style*="6e4b3a"],
.t-rec[style*="6E4B3A"] {
  color: #FFFFFF !important;
}

/* Заголовки/описания внутри тёмных блоков */
.t-rec[style*="6e4b3a"] h1,
.t-rec[style*="6e4b3a"] h2,
.t-rec[style*="6e4b3a"] h3,
.t-rec[style*="6e4b3a"] .t-title,
.t-rec[style*="6e4b3a"] .t-name,
.t-rec[style*="6e4b3a"] .t-descr,
.t-rec[style*="6e4b3a"] .t-text,
.t-rec[style*="6E4B3A"] h1,
.t-rec[style*="6E4B3A"] h2,
.t-rec[style*="6E4B3A"] h3,
.t-rec[style*="6E4B3A"] .t-title,
.t-rec[style*="6E4B3A"] .t-name,
.t-rec[style*="6E4B3A"] .t-descr,
.t-rec[style*="6E4B3A"] .t-text {
  color: #FFFFFF !important;
}

/* Ссылки: белые → золото при наведении */
.t-rec[style*="6e4b3a"] a,
.t-rec[style*="6E4B3A"] a {
  color: #FFFFFF !important;
  text-decoration: none !important;
}
.t-rec[style*="6e4b3a"] a:hover,
.t-rec[style*="6E4B3A"] a:hover {
  color: var(--accent-gold) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* На всякий случай: маркеры списков в тёмных блоках */
.t-rec[style*="6e4b3a"] .t-text ul li::before,
.t-rec[style*="6E4B3A"] .t-text ul li::before {
  color: var(--accent-gold) !important;
}




  /* ЛИСТОЧГИ                      777777777 */

  .falling-leaves {
    position: fixed;
    inset: 0;
    pointer-events: none; /* не блокирует клики по сайту */
    z-index: 2147483647;  /* поверх всего */
    overflow: hidden;
  }
  .leaf {
    position: absolute;
    top: -10vh;
    will-change: transform, opacity;
    opacity: 0.95;
  }
  .leaf img, .leaf svg {
    display: block;
    width: var(--size, 28px);
    height: var(--size, 28px);
  }

  /* Анимации */
  @keyframes leaf-fall {
    0% {
      transform: translate3d(var(--x-start, 50vw), -12vh, 0) rotate(0deg);
      opacity: 0.0;
    }
    5% { opacity: 0.95; }
    100% {
      transform: translate3d(var(--x-end, 55vw), 112vh, 0) rotate(var(--spin, 360deg));
      opacity: 0.95;
    }
  }
  @keyframes leaf-sway {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(var(--sway, 20px)); }
    100% { transform: translateX(0); }
  }

  /* Уменьшаем анимации для людей с "reduce motion" */
  @media (prefers-reduced-motion: reduce) {
    .falling-leaves .leaf { animation: none !important; }
  }

  /* (опционально) отключить на очень маленьких экранах
  @media (max-width: 360px) {
    .falling-leaves { display: none; }
  } */


