/* ========= base ========= */
:root{
  --green:#2f8f1a;
  --green2:#2aa115;
  --text:#1b1f24;
  --muted:#5a636d;
  --line:#e7eaee;
  --card:#ffffff;
  --shadow: 0 10px 24px rgba(16,24,40,.10);
  --radius:14px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  font: 14px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:#fff;
  display:flex;
  flex-direction:column;
}

a{ color:var(--green); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(1160px, calc(100% - 40px));
  margin:0 auto;
}

.h2{
  margin:0;
  font-size:20px;
  letter-spacing:.2px;
  text-transform:uppercase;
  font-size: 1.6em;
}

/* ========= HEADER ========= */
.topbar{
  position: relative;
  flex-shrink: 0;
  overflow: visible;
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: #111;
  background-image: url("/static/main/img/header__banner.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* фон как на скрине: зелёно-жёлтый + лёгкая “фото” текстура */
.topbar__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(204, 230, 186, .78) 0%,
      rgba(200, 230, 180, .70) 20%,
      rgba(202, 227, 170, .62) 45%,
      rgba(221, 211, 142, .62) 72%,
      rgba(226, 202, 126, .72) 100%
    );
  pointer-events: none;
}

.topbar__content{
  position: relative;
  z-index: 2;
  min-height: 142px;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0 18px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.brand__mark{
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.brand__mark img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.brand__text{
  min-width: 0;
}

.brand__text:hover{
  text-decoration: none;
}

.brand__title{
  font-size: 31px;
  line-height: 1.05;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
}
.topbar__center{
  display: flex;
  justify-content: right;
  min-width: 0;
}

.nav{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.nav__row{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 34px;
  min-width: 0;
}
.nav__row--bottom{
  gap: 30px;
}
.nav__link{
  color: #111;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  transition: opacity .2s ease, color .2s ease;
}
.nav__link:hover{
  text-decoration: none;
  opacity: .72;
}
.nav__link[aria-current="page"]{
  font-weight: 700;
}
.nav__link--sub{
  font-size: 16px;
  font-weight: 500;
}
.topbar__right{
  display: flex;
  align-items: center;
  gap: 18px;
  justify-self: end;
}

.topbarNotify{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid rgba(0,0,0,.16);
  border-radius:12px;
  background:rgba(255,255,255,.55);
  color:#111;
  text-decoration:none;
  line-height:1;
}
.topbarNotify:hover{
  text-decoration:none;
  background:rgba(255,255,255,.72);
}
.topbarNotify__icon{
  display:grid;
  place-items:center;
}
.topbarNotify__count{
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:var(--green);
  color:#fff;
  font-size:12px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.nav__sep{
  width: 1px;
  height: 52px;
  background: rgba(0,0,0,.45);
  flex-shrink: 0;
}

.phone{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.phone:hover{
  text-decoration: none;
  opacity: .78;
}
.phone__icon{
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #111;
}
.phone__num{
  letter-spacing: .2px;
}
.navToggle{
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.35);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.navToggle:hover{
  background: rgba(255,255,255,.5);
}
.navToggle__line{
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.navToggle.is-active .navToggle__line:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.navToggle.is-active .navToggle__line:nth-child(2){
  opacity: 0;
}
.navToggle.is-active .navToggle__line:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* ========= ADAPTIVE HEADER ========= */
@media (max-width: 1200px){
  .topbar__content{
    grid-template-columns: 250px minmax(0, 1fr) auto;
    gap: 16px;
  }
  .brand__title{
    font-size: 24px;
  }
  .nav__row{
    gap: 24px;
  }
  .nav__link,
  .nav__link--sub,
  .phone{
    font-size: 15px;
  }
}
@media (max-width: 980px){
  .topbar__content{
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: 16px 0;
    gap: 14px;
  }
  .brand{
    gap: 12px;
  }
  .brand__mark{
    width: 60px;
    height: 60px;
  }
  .brand__title{
    font-size: 22px;
    white-space: normal;
  }
  .topbar__center{
    grid-column: 1 / -1;
    order: 3;
    display: block;
    width: 100%;
  }
  .topbar__right{
    gap: 12px;
  }
  .topbarNotify{
    padding:8px;
    gap:6px;
  }
  .nav__sep{
    display: none;
  }
  .phone{
    display: none;
  }
  .navToggle{
    display: inline-flex;
  }
  .nav{
    display: none;
    width: 100%;
    margin-top: 6px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(16,24,40,.12);
    align-items: stretch;
    gap: 10px;
  }
  .nav.nav--open{
    display: flex;
  }
  .nav__row{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
  }
  .nav__row--bottom{
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.08);
  }
  .nav__link,
  .nav__link--sub{
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
    background: transparent;
  }
  .nav__link:hover,
  .nav__link--sub:hover{
    background: rgba(47,143,26,.08);
  }
}
@media (max-width: 640px){
  .topbar__content{
    padding: 12px 0;
  }
  .brand__mark{
    width: 52px;
    height: 52px;
  }
  .brand__title{
    font-size: 18px;
    line-height: 1.15;
  }
  .nav{
    padding: 12px;
  }
  .nav__link,
  .nav__link--sub{
    font-size: 14px;
  }
  .navToggle{
    width: 42px;
    height: 42px;
  }
}

/* ========= messages ========= */
.messages{
  list-style:none;
  margin:0;
  padding:12px 20px;
  background:#f0f4ee;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.messages__item{
  padding:6px 0;
  font-size:14px;
  font-weight:600;
}
.messages__item--success{ color:#1a6e0b; }
.messages__item--error{ color:#c00; }

/* ========= page ========= */
.page{
  padding:22px 0 36px;
  flex:1 0 auto; /* чтобы футер прилипал к низу экрана */
}

/* notice */
.notice{
  border:1px solid #dfe8d7;
  background: #f3fbef;
  border-left:6px solid var(--green);
  border-radius:12px;
  padding:12px 14px;
  margin-bottom:18px;
}
.notice__title{
  font-weight:900;
  color:#1a5e0d;
  margin-bottom:6px;
}
.notice__text{
  color:#22402a;
  font-size:12.8px;
}

header{

    background-image: url("/static/main/img/header__banner.jpg");
    background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

}

/* blocks */
.block{ margin-top:18px; }
.block__header{ margin:20px 0 20px; }

/* cards */
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* ========= about layout ========= */
.about{
  display:grid;
  grid-template-columns: 1.5fr .9fr;
  gap:18px;
  justify-content:space-between;
  align-items:start;
}

.about__right{
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content:flex-start;
  align-items:flex-end;
  min-width:0;
}

.p{ margin:0 0 10px; color:#242a31; font-size: 1.3em;}
.p b{ font-weight:800; }

li {
  font-size: 1.3em;
}

.about__stats{ padding:14px; margin-top:12px; }
.stats{
  display:grid;
  grid-template-columns: repeat(2, 1fr);

  gap:12px;
}
.stat__num{
  font-size:22px;
  font-weight:900;
  color:#111;
  line-height:1.1;
}
.stat__label{
  color:var(--muted);
  font-size:12.2px;
  margin-top:4px;
}

.about__heroImg,
.about__imageMainImg{
  display:block;
  width:100%;
  height:auto;
  border-radius:var(--radius);
  object-fit:cover;
  box-shadow:var(--shadow);
}

.about__heroImg{
  max-height:140px;
}

.about__imageMainImg{
  min-height:180px;
}

.about__imageMain{
  width:100%;
  max-width:320px;
}

/* виджет «с даты основания» под текстом в .about__left */
.about__left .aboutHeritage{
  margin-top:30px;
}
.aboutHeritage{
  margin:0;
  padding:0;
  overflow:hidden;
  border-left:6px solid var(--green);
  background:linear-gradient(135deg, #f6faf3 0%, #eef6e8 55%, #f8fbf5 100%);
}
.aboutHeritage__inner{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:14px;
  padding:14px 16px 14px 14px;
}
.aboutHeritage__brand{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  align-items:baseline;
  gap:8px 12px;
  flex-shrink:0;
}
.aboutHeritage__brandHint{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--muted);
}
.aboutHeritage__year{
  font-size:clamp(30px, 5vw, 44px);
  font-weight:900;
  line-height:1;
  color:var(--green);
  letter-spacing:-0.03em;
  font-variant-numeric:tabular-nums;
}
.aboutHeritage__liveTitle{
  margin:0 0 8px;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
}
.aboutHeritage__liveGrid{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:14px 22px;
}
.aboutHeritage__metric{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  min-width:0;
}
.aboutHeritage__metric--time{
  flex:1 1 140px;
}
.aboutHeritage__num{
  font-size:clamp(22px, 4vw, 30px);
  font-weight:900;
  line-height:1.05;
  color:#142010;
  font-variant-numeric:tabular-nums lining-nums;
}
.aboutHeritage__num--sm{
  font-size:clamp(18px, 3.2vw, 24px);
}
.aboutHeritage__unit{
  font-size:12.5px;
  font-weight:600;
  color:var(--muted);
  line-height:1.2;
}
.aboutHeritage__clock{
  display:inline-flex;
  align-items:baseline;
  font-variant-numeric:tabular-nums lining-nums;
  letter-spacing:.02em;
}
.aboutHeritage__sep{
  margin:0 1px;
  font-weight:800;
  color:#3d4a38;
  opacity:.55;
}
.aboutHeritage__clockHint{
  font-size:11.5px;
  color:var(--muted);
  font-weight:600;
}
.aboutHeritage__text{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.aboutHeritage__lead{
  font-size:14px;
  font-weight:800;
  color:#1a2e14;
  text-transform:uppercase;
  letter-spacing:.04em;
  line-height:1.3;
}
.aboutHeritage__sub{
  font-size:13px;
  color:var(--muted);
  line-height:1.45;
}

/* ===== tablet/laptop tune for home ===== */
@media (max-width: 1200px){
  .block{
    margin-top:14px;
  }
  .block__header{
    margin:14px 0 14px;
  }
  .about{
    grid-template-columns:1fr;
    gap:14px;
  }
  .about__right{
    align-items:center;
  }
  .about__imageMain{
    max-width:260px;
    margin:0 auto;
  }
  .about__imageMainImg{
    min-height:0;
    max-height:420px;
  }
  .about__left .aboutHeritage{
    margin-top:18px;
  }
}

@media (max-width: 992px){
  .about{
    gap:12px;
  }
  .p, li{
    font-size:1.15em;
  }
}

/* десктоп: одна линия, блоки по краям (как на макете); планшет/мобилка — колонка как выше */
@media (min-width: 981px){
  .aboutHeritage__inner{
    flex-direction:row;
    flex-wrap:nowrap;
    justify-content:space-between;
    align-items:center;
    gap:20px 28px;
    padding:18px 20px 18px 16px;
  }
  .aboutHeritage__brand{
    flex-wrap:nowrap;
    align-items:baseline;
  }
  .aboutHeritage__live{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    text-align:right;
    flex-shrink:0;
  }
  .aboutHeritage__liveTitle{
    margin:0 0 6px;
    align-self:flex-end;
  }
  .aboutHeritage__liveGrid{
    flex-wrap:nowrap;
    justify-content:flex-end;
    align-items:flex-end;
    gap:18px 24px;
  }
  .aboutHeritage__metric{
    align-items:flex-end;
  }
  .aboutHeritage__metric--time{
    flex:0 0 auto;
  }
}

/* ========= technical inspection (ТО) ========= */
.to{
  display:flex;
  flex-direction:column;
  gap:28px;
}

.to__top{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:24px;
  align-items:flex-start;
}

.toTable{
  padding:14px 16px 16px;
}

.toTable__wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  margin:0 -4px;
  padding:0 4px;
}

.toTable__table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

.toTable__table--official{
  font-family: "Times New Roman", Times, "Liberation Serif", serif;
  min-width:min(100%, 560px);
}

.toTable__table th,
.toTable__table td{
  border:1px solid var(--line);
  padding:8px 10px;
  text-align:left;
  vertical-align:top;
}

.toTable__table th{
  background:#f5f7fb;
  font-weight:700;
}

.toTable__colNum{
  width:1%;
  white-space:nowrap;
  text-align:center !important;
}

.toTable__colFee{
  width:1%;
  white-space:nowrap;
  text-align:center !important;
  font-variant-numeric:tabular-nums;
}

.toTable__table--official tbody tr:hover{
  background:rgba(47,143,26,.06);
}

.toTable__details{
  margin:0;
}

.toTable__details > summary{
  cursor:pointer;
  font-weight:600;
  list-style:none;
  padding:2px 0 2px 22px;
  position:relative;
  line-height:1.45;
}

.toTable__details > summary::-webkit-details-marker{
  display:none;
}

.toTable__details > summary::before{
  content:"";
  position:absolute;
  left:2px;
  top:.35em;
  width:0;
  height:0;
  border-left:6px solid var(--green);
  border-top:4px solid transparent;
  border-bottom:4px solid transparent;
  transition:transform .15s ease;
}

.toTable__details[open] > summary::before{
  transform:rotate(90deg);
}

.toTable__verbatim{
  margin:10px 0 4px;
  padding:10px 12px;
  border-radius:8px;
  background:#f8faf6;
  border:1px solid var(--line);
  font-weight:400;
  font-size:13px;
  line-height:1.5;
}

.toTable__note{
  margin-top:12px;
  font-size:12px;
  color:var(--muted);
}

.toTable__note--boxed{
  margin-top:14px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--text);
  font-family: "Times New Roman", Times, "Liberation Serif", serif;
  line-height:1.45;
}

.toTable__group{
  font-weight:700;
  background:#f0f4ee;
}

/* Узкий экран: убираем колонку № п/п — больше места для текста и суммы */
@media (max-width:530px){
  .toTable{
    padding:12px 10px 14px;
  }
  .toTable__wrap{
    margin:0;
    padding:0;
  }
  .toTable__table--official{
    min-width:0;
    width:100%;
    table-layout:fixed;
    font-size:12px;
  }
  .toTable__table--official .toTable__colNum{
    display:none;
  }
  .toTable__table--official th:not(.toTable__colNum),
  .toTable__table--official td:not(.toTable__colNum){
    padding:6px 8px;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
  .toTable__table--official td:nth-child(2){
    word-wrap:break-word;
    overflow-wrap:break-word;
    hyphens:auto;
  }
  .toTable__table--official .toTable__colFee{
    width:4.4rem;
    max-width:4.4rem;
    white-space:nowrap;
  }
  .toTable__details > summary{
    padding-left:16px;
  }
  .toTable__note--boxed{
    padding:10px;
  }
}

@media (max-width:380px){
  .container{
    width:min(1160px, calc(100% - 24px));
  }
}

.to__formWrap .h2{
  margin-bottom:12px;
}

.toForm{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.toForm__input{
  border-radius:999px;
  border:2px solid #2aa115;
  padding:10px 14px;
  font: inherit;
}

.toForm__input--textarea{
  border-radius:16px;
  min-height:72px;
  resize:vertical;
}

.toForm__dateWrap{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.toForm__dateLabel{
  display:block;
  font-size:12px;
  color:var(--muted);
}
.toForm__err{
  margin:0 0 12px;
  padding:10px 12px;
  background:rgba(255,255,255,.25);
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  color: red;
}
.toForm__submit{
  margin-top:4px;
  padding:12px 16px;
  border-radius:999px;
  border:0;
  background:var(--green);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.to__schedule{
  margin-top:16px;
  padding:12px 0 0;
  border-top:1px solid var(--line);
}
.to__scheduleGrid{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px 28px;
  align-items:start;
}
.to__scheduleMain .to__scheduleLine:last-child{
  margin-bottom:0;
}
.to__scheduleLine{
  margin:0 0 4px;
  font-size:13px;
}
.to__schedulePhone{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  text-align:left;
}
.to__schedulePhoneLabel{
  margin:0;
  font-size:13px;
  font-weight:400;
  color:var(--text);
  line-height:1.35;
}
.to__scheduleRef{
  display:inline-block;
  font-size:13px;
  font-weight:400;
  color:var(--text);
  text-decoration:none;
  line-height:1.35;
}
.to__scheduleRef:hover{
  text-decoration:underline;
  color:var(--muted);
}
.to__scheduleNote{
  margin:10px 0 0;
  font-size:12px;
  color:var(--muted);
}
.to__scheduleNote--full{
  grid-column:1 / -1;
  margin-top:10px;
}
@media (max-width:560px){
  .to__scheduleGrid{
    grid-template-columns:1fr;
  }
  .to__schedulePhone{
    padding-top:4px;
  }
}

.to__gallery{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

.to__photo{
  height:200px;
  border-radius:var(--radius);
  overflow:hidden;
}

.to__bottom{
  display:grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap:20px;
  align-items:flex-start;
}

.to__subtitle{
  margin:0 0 8px;
  font-size:15px;
  font-weight:800;
}

.to__operator{
  padding:14px 16px 16px;
}

.to__info{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.to__infoBlock{
  padding:12px 14px;
  background:#fff;
  border-radius:var(--radius);
  border:1px solid var(--line);
}

.to__text{
  margin:0;
  font-size:13px;
}

.to__list{
  margin:6px 0 0;
  padding-left:18px;
  font-size:13px;
}
.to__list--numbered{ list-style:decimal; }
.to__list--links{
  list-style:none;
  padding-left:0;
}
.to__list--links li{ margin-bottom:6px; }
.to__list--links a{ text-decoration:underline; }

@media (max-width: 980px){
  .to__top{
    grid-template-columns: 1fr;
  }
  .to__gallery{
    grid-template-columns: 1fr 1fr;
  }
  .to__bottom{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .to__gallery{
    grid-template-columns: 1fr;
  }
}

/* right side */
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

.media{ overflow:hidden; }
.media__img{
  height:140px;
  border-bottom:1px solid var(--line);
  background-size:cover;
  background-position:center;
}

/* Встроенные “картинки” через градиенты (не зависят от файлов) */
.media__img--photo1{
  background-image:
    radial-gradient(900px 200px at 20% 0%, rgba(255,255,255,.55), rgba(255,255,255,0)),
    linear-gradient(135deg, rgba(18,28,45,.28), rgba(18,28,45,.05)),
    repeating-linear-gradient(115deg, rgba(255,255,255,.10) 0 10px, rgba(255,255,255,.02) 10px 20px),
    linear-gradient(180deg, rgba(47,143,26,.25), rgba(0,0,0,.05));
}
.media__img--photo2{
  background-image:
    radial-gradient(800px 220px at 70% 10%, rgba(255,255,255,.55), rgba(255,255,255,0)),
    linear-gradient(135deg, rgba(255, 125, 125, .16), rgba(255, 221, 106, .12)),
    repeating-linear-gradient(45deg, rgba(0,0,0,.06) 0 8px, rgba(0,0,0,.02) 8px 16px),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.02));
}

.media__cap{
  padding:10px 12px;
  font-weight:700;
  color:#2a313a;
  font-size:13px;
}

.promo{
  margin-top:12px;
  overflow:hidden;
  display:grid;
  grid-template-columns: 1fr;
}
.promo__img{
  height:152px;
  background:
    radial-gradient(900px 220px at 20% 10%, rgba(255,255,255,.45), rgba(255,255,255,0)),
    linear-gradient(135deg, rgba(0,0,0,.40), rgba(0,0,0,.05)),
    linear-gradient(180deg, rgba(30,60,40,.20), rgba(0,0,0,.10));
}
.promo__body{
  padding:12px 14px 14px;
  background:#0f2e1b;
  color:#fff;
}
.promo__title{ font-weight:900; font-size:15px; }
.promo__sub{ opacity:.85; font-size:12.5px; margin-top:4px; }
.promo__phone{
  display:inline-block;
  margin-top:10px;
  font-weight:900;
  font-size:18px;
  color:#fff;
  text-decoration:none;
}
.promo__phone:hover{ text-decoration:underline; }
.promo__foot{ margin-top:6px; opacity:.85; font-size:12.5px; }

/* ========= history (аккордеон) ========= */
/* ===== Историческая справка ===== */
.history{
  padding: 28px 0 10px;
}

.history__title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.history__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* одинаковые колонки — плашки одного размера */
  gap: 22px 34px;
  /* start: иначе закрытые <details> растягиваются по высоте строки и под зелёной шапкой видна «белая плашка» */
  align-items: start;
}

/* Общий вид элементов аккордеона */
.history__item{
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16,24,40,.10);
  position: relative;
  border: none;
  background: transparent;
  min-width: 0; /* чтобы не раздувать колонку из-за длинного текста */
}

.history__item[open]{
  width: 100%;
  box-shadow: 0 10px 24px rgba(16,24,40,.12);
}

/* Заголовок (summary) */
.history__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background: linear-gradient(180deg, #1f7f0e, #1a6e0b);
  color:#fff;
  cursor:pointer;
  list-style:none;
}

.history__left{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.history__right{
  display:flex;
  align-items:center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 12px;
  margin-left: 8px;
}

.history__year{
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history__bus{
  width: 42px;
  height: 36px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.12);
}

.history__busImg{
  display: block;
  width: 28px;
  height: auto;
  max-height: 28px;
}

/* Текст события */
.history__body{
  padding: 14px 16px;
  font-size: 1.2em;
  color:#2b333c;
  background:#fff;
}

/* Плитки закрытых элементов выглядят как зелёные кнопки */
.history__item:not([open]){
  min-height: 64px;
  align-self: start;
  width: 100%;
}

.history__item:not([open]) .history__body{
  display:none;
}

/* Плашка «Узнать больше» — переход на страницу истории */
.history__more{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  min-height:64px;
  padding:14px 16px;
  background:linear-gradient(180deg, #1f7f0e, #1a6e0b);
  color:#fff;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(16,24,40,.10);
  text-decoration:none;
  min-width:0;
  align-self:start;
  width:100%;
  transition:filter .15s ease;
}
.history__more:hover{
  filter:brightness(1.06);
}
.history__more:focus-visible{
  outline:2px solid #fff;
  outline-offset:3px;
}
.history__moreText{
  font-weight:900;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.35px;
}
.history__moreIcon{
  width:42px;
  height:36px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.12);
  flex-shrink:0;
  color:#fff;
}

/* Кнопка + (отдельная плитка) */
.history__tile{
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16,24,40,.10);
  min-height: 64px;
  position: relative;
  min-width: 0;
  align-self: start;
  width: 100%;
}

.history__add{
  border-radius: 16px;
  min-height: 64px;
  display:grid;
  place-items:center;
  border:2px solid #1f7f0e;
  box-shadow: none;
  text-decoration:none;
  background: transparent;
}

.history__addPlus{
  font-size: 34px;
  font-weight: 900;
  color: #1f7f0e;
  line-height: 1;
}

.history__addLabel{
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #1b1f24;
}

.history__addTrigger{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 16px;
}

.history__addFormWrap{
  width: 100%;
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.history__form{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history__formErr{
  margin: 0 0 4px;
  font-size: 12px;
  color: #c44;
}

.history__formLabel{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.history__formLabelText{
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.history__form input[type="number"],
.history__form textarea{
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 2px solid var(--line);
  font: inherit;
}

.history__form textarea{
  min-height: 80px;
  resize: vertical;
}

.history__formSubmit{
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.history__formSubmit:hover{
  background: var(--green2);
}

.history__formTitle{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* Пустая большая карточка (если нет записей) */
.history__big--empty{
  display:grid;
  place-items:center;
  padding: 18px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16,24,40,.12);
  background:#fff;
}

.history__emptyText{
  color:#5a636d;
  text-align:center;
  font-weight:700;
}

.history__addBig{
  position:absolute;
  inset:auto 16px 16px auto;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  text-decoration:none;
  border:2px solid #1f7f0e;
  color:#1f7f0e;
  font-size: 34px;
  font-weight: 900;
  background: rgba(255,255,255,.75);
}

/* Адаптив */
@media (max-width: 1100px){
  .history__grid{
    grid-template-columns: 1fr 1fr; /* планшет: две колонки */
  }
  .history__item[open]{
    grid-row:auto;
    min-height:auto;
    grid-column: 1 / -1; /* раскрытый элемент на всю ширину */
  }
}

@media (max-width: 900px){
  .history__grid{
    grid-template-columns: 1fr; /* ранний переход в 1 колонку для узких ноутбуков/планшетов */
  }
}

/* ===== Страница "Историческая справка" ===== */
.historyPage{
  padding: 28px 0 10px;
}

.historyPage__layout{
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px 32px;
  align-items: start;
}

.historyPage__left{
  min-width: 0;
}

/* Coverflow-слайдер фотоархива (история) */
.historyCoverflow{
  margin: 0 0 32px;
}

.historyCoverflow__inner{
  position: relative;
  max-width: 100%;
  padding: 0 12px;
}

.historyCoverflow__stage{
  position: relative;
  height: min(420px, 58vw);
  max-height: 440px;
  margin: 0 auto;
  touch-action: pan-y;
  overflow: hidden;
}

.historyCoverflow__slide{
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(720px, 92vw);
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.82, 0.2, 1),
    opacity 0.35s ease;
  cursor: pointer;
  will-change: transform;
}

.historyCoverflow__slideInner{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);

}



.historyCoverflow__slide--side .historyCoverflow__slideInner{
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.15);
}

.historyCoverflow__slideShade{
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.historyCoverflow__slide--side .historyCoverflow__slideShade{
  opacity: 1;
}

.historyCoverflow__slide[aria-hidden="true"]{
  pointer-events: auto;
}

.historyCoverflow__img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.historyCoverflow__arrow{
  position: absolute;
  top: 50%;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(47, 143, 26, 0.45);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.historyCoverflow__arrow--prev{
  left: 14px;
}

.historyCoverflow__arrow--next{
  right: 14px;
}

.historyCoverflow__arrow:hover{
  background: var(--green2);
  box-shadow: 0 6px 18px rgba(47, 143, 26, 0.5);
  transform: translateY(-50%) scale(1.06);
}

.historyCoverflow__arrow:active{
  transform: translateY(-50%) scale(0.96);
}

.historyPage__galleryActions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.historyPage__galleryActions--underSlider{
  margin-top: 20px;
  margin-bottom: 28px;
}

.historyPage__galleryBtn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(22, 101, 52, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.historyPage__galleryBtn:hover{
  filter: brightness(1.05);
  box-shadow: 0 10px 26px rgba(22, 101, 52, 0.34);
}

.historyPage__galleryBtn:active{
  transform: scale(0.99);
}

.historyPage__galleryBtnIcon{
  display: flex;
  flex-shrink: 0;
}

.historyGallery__crumb{
  margin: 0 0 12px;
  font-size: 14px;
}

.historyGallery__crumb a{
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.historyGallery__crumb a:hover{
  text-decoration: underline;
}

.historyGallery__admin{
  margin: 10px 0 0;
  font-size: 13px;
}

.historyGallery__admin a{
  color: var(--muted);
}

.historyGallery__videoCard{
  grid-column: span 1;
}

.historyGallery__videoWrap{
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.historyGallery__video,
.historyGallery__iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.historyGallery__iframe{
  min-height: 200px;
}

.historyPage__directors{
  padding: 20px;
  position: sticky;
  top: 24px;
  margin-top: 46px;
}

.historyPage__directorsTitle{
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
}

.historyPage__directorsList{
  margin: 0;
  padding-left: 1.4em;
  list-style: decimal;
}

.historyPage__directorsItem{
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}

.historyPage__directorsItem:last-child{
  margin-bottom: 0;
}

.historyPage__directorsName{
  font-weight: 500;
}

.historyPage__directorsYears{
  color: var(--muted);
  font-weight: 500;
}

.historyPage__directorsEmpty{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 980px){
  .historyPage__layout{
    grid-template-columns: 1fr;
  }
  .historyPage__directors{
    position: static;
    margin-top: 0;
  }
}

@media (max-width: 640px){
  .historyCoverflow__inner{
    padding: 0 8px;
  }
  .historyCoverflow__arrow{
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .historyPage__galleryActions{
    grid-template-columns: 1fr;
  }
  .historyPage__galleryBtn{
    font-size: 14px;
  }
}

.historyPage__title{
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.historyPage__grid{
  display:grid;
  grid-template-columns: 360px 1fr 1fr; /* левая большая и две колонки плиток */
  gap: 24px 34px;
  align-items:start;
}

.historyPage__big{
  grid-row: span 4;
  overflow:hidden;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16,24,40,.12);
  background:#fff;
  position:relative;
}

.historyPage__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 16px;
  background: linear-gradient(180deg, #1f7f0e, #1a6e0b);
  color:#fff;
}

.historyPage__head--tile{
  border-radius: 16px;
}

.historyPage__year{
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

.historyPage__icon{
  width: 42px;
  height: 36px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.12);
}

.historyPage__body{
  padding: 14px 16px 18px;
  font-size: 13px;
  color:#2b333c;
}

.historyPage__edit{
  position:absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.90);
  color:#111;
  text-decoration:none;
  box-shadow: 0 10px 20px rgba(0,0,0,.14);
  font-size:16px;
}

.historyPage__tile{
  overflow:hidden;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16,24,40,.10);
  min-height: 64px;
  position: relative;
  background:#fff;
}

.historyPage__tileEdit{
  position:absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.90);
  color:#111;
  text-decoration:none;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
  font-size:16px;
}

@media (max-width: 980px){
  .historyPage__grid{
    grid-template-columns: 1fr 1fr;
  }
  .historyPage__big{
    grid-row:auto;
  }
}

@media (max-width: 640px){
  .historyPage__grid{
    grid-template-columns: 1fr;
  }
}

/* ========= services (форма заявки + аккордеоны) ========= */
.services{
  padding: 24px 0 32px;
}

.services__top{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items:start;
  margin-bottom: 28px;
}

.services__formWrap{
  background: linear-gradient(180deg, #1a6e0b, #145a09);
  border-radius: 16px;
  padding: 20px 22px 24px;
  color: #fff;
}

.services__formTitle{
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.requestForm__section{
  margin-bottom: 16px;
}

.requestForm__sectionTitle{
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  opacity: .95;
}
.requestForm__err{
  margin: 0 0 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.requestForm__input{
  display:block;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 14px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 12px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 14px;
}

.requestForm__input--area{
  resize: vertical;
  min-height: 72px;
}

.requestForm__dateLabel{
  display:block;
  margin-bottom: 8px;
}

.requestForm__labelText{
  display:block;
  margin-bottom: 4px;
  font-size: 12px;
  opacity: .9;
}

.requestForm__serviceLine{
  display:flex;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  margin-bottom: 8px;
  border-top: 1px solid rgba(255,255,255,.25);
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.requestForm__serviceName{
  font-weight: 700;
  font-size: 14px;
}

.requestForm__serviceRows{
  margin-bottom: 8px;
}

.requestForm__serviceSelectWrap{
  flex: 1;
  min-width: 180px;
}
.requestForm__serviceSelect{
  width: 100%;
  max-width: 320px;
  padding: 8px 12px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 8px;
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.requestForm__serviceSelect option{
  background: #fff;
  color: #111;
}

.requestForm__removeService{
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 8px;
  background: rgba(200,80,80,.6);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.requestForm__removeService:hover{
  background: rgba(200,80,80,.85);
  color: #fff;
}

.requestForm__qty{
  display:inline-flex;
  align-items:center;
  gap: 6px;
}

.requestForm__qtyBtn{
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.requestForm__qtyBtn:hover{
  background: rgba(255,255,255,.25);
}

.requestForm__qtyNum{
  min-width: 24px;
  text-align: center;
  font-weight: 800;
}

.requestForm__addService{
  display:block;
  width: 100%;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 2px dashed rgba(255,255,255,.5);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.requestForm__addService:hover{
  background: rgba(255,255,255,.1);
}

.requestForm__submit{
  display:block;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #1a6e0b;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.requestForm__submit:hover{
  background: #f0f4ee;
}

.services__afterTitle{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.services__afterList{
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.services__afterList li{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.services__afterIcon{
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(47, 143, 26, .15);
  color: var(--green);
  display:grid;
  place-items: center;
}

.services__afterNote{
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.services__afterGallery{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.services__afterImg{
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
}

.services__acc{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.servicesAcc{
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(16,24,40,.08);
}

.servicesAcc__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(180deg, #1f7f0e, #1a6e0b);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2px;
  cursor: pointer;
  list-style: none;
}

.servicesAcc__head::-webkit-details-marker{ display: none; }

.servicesAcc__arrow{
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 18px;
  transition: transform .2s ease;
}

.servicesAcc[open] .servicesAcc__arrow{
  transform: rotate(180deg);
}

.servicesAcc__body{
  padding: 0;
  background: #fff;
}

.servicesAcc__tableWrap{
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--line);
  border-top: 0;
}

.servicesAcc__table{
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.servicesAcc__table th,
.servicesAcc__table td{
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.servicesAcc__table th{
  background: #f5f7fb;
  font-weight: 700;
}

/* Колонки стоимости справа — таблица с двумя колонками цен (автобусы) */
.servicesAcc__table:not(.servicesAcc__table--single) th:nth-last-child(1),
.servicesAcc__table:not(.servicesAcc__table--single) th:nth-last-child(2),
.servicesAcc__table:not(.servicesAcc__table--single) td:nth-last-child(1),
.servicesAcc__table:not(.servicesAcc__table--single) td:nth-last-child(2){
  text-align: right;
  width: 1%;
  white-space: nowrap;
}

.servicesAcc__subhead th{
  background: #eef1f5;
  font-size: 12px;
  font-weight: 600;
}

/* Колонка стоимости — справа */
.servicesAcc__table--single .servicesAcc__table th:nth-child(3),
.servicesAcc__table--single .servicesAcc__table td:nth-child(3){
  text-align: right;
  width: 1%;
  white-space: nowrap;
}
.servicesAcc__table--single .servicesAcc__table th:nth-child(2),
.servicesAcc__table--single .servicesAcc__table td:nth-child(2){
  width: auto;
}

.servicesAcc__nested{
  margin: 0;
}

.servicesAcc__nested summary{
  cursor: pointer;
  font-weight: 700;
}

.servicesAcc__nested[open] summary{
  margin-bottom: 6px;
}

.servicesAcc__inner{
  width: 100%;
  margin-left: 12px;
  margin-bottom: 8px;
  border-collapse: collapse;
  font-size: 12px;
}

.servicesAcc__inner td{
  border: none;
  padding: 4px 8px 4px 0;
}

.servicesAcc__inner td:last-child{
  text-align: right;
  width: 1%;
  white-space: nowrap;
  padding-left: 24px;
}
.servicesAcc__inner td:first-child{
  width: auto;
}

@media (max-width: 980px){
  .services__top{
    grid-template-columns: 1fr;
  }
  .services__afterGallery{
    grid-template-columns: 1fr;
  }
}

/* ========= reports (годовая отчётность, скачивание файлов) ========= */
.reports{
  padding: 28px 0 32px;
}

.reports__title{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.reports__intro{
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
  max-width: 720px;
}

.reports__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  align-items: start;
}

.reports__item{
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16,24,40,.10);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  min-width: 0;
}

.reports__item:not([open]){
  min-height: 64px;
  align-self: start;
  width: 100%;
}

.reports__item:not([open]) .reports__body{
  display: none;
}

.reports__item[open]{
  box-shadow: 0 10px 24px rgba(16,24,40,.12);
}

.reports__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(180deg, #1f7f0e, #1a6e0b);
  color: #fff;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.reports__head::-webkit-details-marker{ display: none; }

.reports__headRight{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.reports__icon{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.15);
}

.reports__icon svg{
  display: block;
}

.reports__edit{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.9);
  color: #111;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
}

.reports__body{
  padding: 14px 16px 18px;
  background: #fff;
}

.reports__fileAdd{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.reports__yearAdd{
  margin-top: 16px;
  text-align: left;
}

.reports__yearAdd--tile{
  margin-top: 4px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  align-self: start;
}

.reports__fileList{
  list-style: none;
  margin: 0;
  padding: 0;
}

.reports__fileList li{
  margin-bottom: 8px;
}

.reports__fileList li:last-child{
  margin-bottom: 0;
}

.reports__fileLink{
  display: inline-block;
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
  text-decoration: underline;
}

.reports__fileLink:hover{
  color: var(--green2);
}

.reports__fileRow{
  align-items: center;
}

.reports__fileLink--row{
  flex: 1;
  min-width: 0;
}

.reports__empty{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.reports__emptyBlock{
  grid-column: 1 / -1;
  padding: 24px;
  position: relative;
  text-align: center;
}

.reports__emptyText{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.reports__addBig{
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.reports__addPlus{
  font-size: 32px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}

@media (max-width: 980px){
  .reports__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reports__item[open]{
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px){
  .reports__grid{
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ========= corruption (борьба с коррупцией) ========= */
.corruption{
  padding: 24px 0 36px;
}

.corruption__title{
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.corruption__intro{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.corruption__introPic img {
  width: 90%;
}

.corruption__introWord{
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #333;
  text-transform: uppercase;
}

.corruption__introText{
  font-size: 14px;
  line-height: 1.6;
}

.corruption__introText p{
  margin: 0 0 12px;
}

.corruption__introText p:last-child{
  margin-bottom: 0;
}

.corruption__twoCol{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.corruption__block{
  padding: 18px 20px 20px;
}

.corruption__blockTitle{
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.corruption__fileList,
.corruption__linkList{
  list-style: none;
  margin: 0;
  padding: 0;
}

.corruption__fileList li{
  margin-bottom: 10px;
}

.corruption__fileList li:last-child{
  margin-bottom: 0;
}

.corruption__fileRow{
  display:flex;
  align-items:flex-start;
  gap:8px;
}
.corruption__inlineActions{
  display:flex;
  align-items:center;
  gap:6px;
  flex-shrink:0;
}

.corruption__fileEmpty{
  color: var(--muted);
  font-size: 14px;
}

.corruption__fileAdd .corruption__addTrigger--file{
  padding: 12px 0;
}

.corruption__fileAdd .corruption__addFormWrap--file{
  margin-top: 8px;
}

.corruption__fileLink{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

.corruption__fileLink:hover{
  text-decoration: underline;
}

.corruption__fileIcon{
  flex-shrink: 0;
  color: var(--muted);
}

.corruption__linkList li{
  margin-bottom: 10px;
}

.corruption__linkList li:last-child{
  margin-bottom: 0;
}

.corruption__extLink{
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
}

.corruption__extLink:hover{
  color: var(--green2);
}

.corruption__info{
  margin-top: 28px;
}

.corruption__info .corruption__blockTitle{
  margin-bottom: 18px;
}

.corruption__infoGrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
  align-items: stretch;
}

.corruption__card{
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  position:relative;
  overflow: hidden;
}

/* Обычные карточки информации — одинаковой высоты, независимо от наполнения */
.corruption__card:not(.corruption__card--add):not(.corruption__card--empty){
  min-height: 300px;
  height: 100%;
}

.corruption__card--wide{
  grid-column: span 1;
}

.corruption__cardPic{
  width: 100%;
  height: 120px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: transparent;
}

.corruption__cardPic--phone{
  background: linear-gradient(145deg, #e8eaed, #d4d8de);
}

.corruption__cardPic--piggy{
  background: linear-gradient(145deg, #fff8e6, #ffecb8);
  height: 80px;
}

.corruption__cardPic--shield{
  background: linear-gradient(145deg, #e8f5e9, #c8e6c9);
  height: 80px;
}

.corruption__cardPic--call{
  background: linear-gradient(145deg, #ffebee, #ffcdd2);
}

.corruption__cardTitle{
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.corruption__cardSub,
.corruption__cardText{
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.corruption__cardLink{
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.corruption__cardLink:hover{
  text-decoration: underline;
}

.corruption__cardDeleteForm{
  margin:0;
}

.corruption__cardActions{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  display:flex;
  align-items:center;
  gap:6px;
}

.corruption__inlineDeleteForm{
  margin:0;
  flex-shrink:0;
}

.corruption__editBtn{
  width:30px;
  height:30px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  color:#27313b;
  font-size:16px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.corruption__editBtn:hover{
  border-color:var(--green);
  color:var(--green);
}

.corruption__deleteBtn{
  width:30px;
  height:30px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  color:#7a2222;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}

.corruption__deleteBtn:hover{
  border-color:#c44;
  color:#c44;
}

.corruption__deleteBtn--small{
  width:28px;
  height:28px;
  font-size:18px;
}

.corruption__editBtn--small{
  width:28px;
  height:28px;
  font-size:15px;
}

.corruption__cardPic--img{
  height: 170px;
  min-height: 170px;
  border-radius: 10px;
  background: transparent;
}
.corruption__cardPic--clickable{
  cursor: pointer;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
}
.corruption__cardPic--clickable:hover img{
  opacity: .92;
}
.corruption__cardPic--clickable img{
  transition: opacity .2s ease;
}
.corruption__cardPic--img img{
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  display: block;
  vertical-align: top;
}

.corruption__cardTitle{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.corruption__cardText{
  overflow:auto;
  max-height:96px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.corruption__card--add{
  border: 2px dashed rgba(0,0,0,.2);
  background: rgba(47,143,26,.06);
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.corruption__card--empty{
  align-items: center;
  justify-content: center;
  min-height: 140px;
  grid-column: 1 / -1;
}
.corruption__emptyText{
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.corruption__addTrigger{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  padding: 20px;
}
.corruption__addTrigger:hover .corruption__addPlus{
  background: var(--green);
  color: #fff;
}
.corruption__addPlus{
  width: 56px;
  height: 56px;
  border: 2px solid var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: var(--green);
  transition: background .2s, color .2s;
}
.corruption__addLabel{
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.corruption__addFormWrap{
  width: 100%;
  padding: 0 8px 8px;
}
.corruption__form{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.corruption__formErr{
  margin: 0;
  font-size: 13px;
  color: #c44;
}
.corruption__formLabel{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.corruption__formLabelText{
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.corruption__form input[type="text"],
.corruption__form input[type="url"],
.corruption__form textarea{
  width: 100%;
  padding: 8px 10px;
  border: 2px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.corruption__form textarea{
  min-height: 80px;
  resize: vertical;
}
.corruption__form input[type="file"]{
  font-size: 13px;
}
.corruption__formSubmit{
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.corruption__formSubmit:hover{
  background: var(--green2);
}

@media (max-width: 980px){
  .corruption__intro{
    grid-template-columns: 1fr;
  }
  .corruption__twoCol{
    grid-template-columns: 1fr;
  }
  .corruption__infoGrid{
    grid-template-columns: 1fr;
  }
  .corruption__card--wide{
    grid-column: span 1;
  }
}

.history__addWrap{
  border: 1px solid var(--green);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(47,143,26,.02);
  display: flex;
  flex-direction: column;
}
.history__addTrigger{
  display: flex;
  align-items: center;
  justify-content: center; /* Центрируем плюс внутри плашки */
  gap: 12px;
  padding: 14px 20px; /* Уменьшили padding, чтобы высота совпадала с .history__head */
  cursor: pointer;
  transition: background .2s;
  height: 64px; /* Фиксированная высота как у закрытого .history__item */
  box-sizing: border-box;
}
.history__addTrigger:hover{
  background: rgba(47,143,26,.06);
}
.history__addPlus{
  width: 32px;
  height: 32px;
  border: 2px solid var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--green);
  flex-shrink: 0;
}
.history__addLabel{
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
}
.history__addFormWrap{
  padding: 0 20px 20px;
}
.history__form{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(47,143,26,0.1);
}
.history__formField{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.history__formLabel{
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.history__form input,
.history__form textarea{
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  font: inherit;
}
.history__formSubmit{
  align-self: flex-start;
  padding: 12px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.history__formSubmit:hover{
  background: var(--green2);
}
.history__adminActions{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}
.history__deleteForm{
  margin: 0;
  display: flex;
}
.history__deleteBtn{
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #7a2222;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0,0,0,.08);
  transition: all .2s;
}
.history__deleteBtn:hover{
  border-color: #c44;
  color: #c44;
  transform: translateY(-1px);
}
.history__edit{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.90);
  color:#111;
  text-decoration:none;
  box-shadow: 0 8px 16px rgba(0,0,0,.10);
  font-size:16px;
  transition: all .2s;
}
.history__edit:hover{
  transform: translateY(-1px);
  text-decoration: none;
  background: #fff;
}

/* ========= contacts ========= */
.contacts{ padding-bottom: 32px; }
.contacts__title{ margin: 0 0 24px; font-size: 24px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--text); }
.contacts__grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contacts__info{ padding: 24px; }
.contacts__subtitle{ margin: 0 0 12px; font-size: 14px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: var(--text); }
.contacts__subtitle:not(:first-child){ margin-top: 24px; }
.contacts__list{ margin: 0; padding: 0; list-style: none; }
.contacts__item{ margin-bottom: 10px; font-size: 14px; line-height: 1.4; }
.contacts__label{ display: block; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.contacts__value{ color: var(--text); }
a.contacts__value{ color: var(--green); text-decoration: none; }
a.contacts__value:hover{ text-decoration: underline; }
.contacts__social{ display: flex; gap: 12px; margin-top: 8px; }
.contacts__socialBtn{ width: 44px; height: 44px; border-radius: 10px; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; text-decoration: none; }
.contacts__socialBtn:hover{ background: var(--green); color: #fff; }
.contacts__widgets{ display: flex; flex-direction: column; gap: 24px; }
.contacts__mapWrap{ padding: 0; overflow: hidden; max-width: 560px; }
.contacts__mapFrame{ position: relative; overflow: hidden; width: 100%; }
.contacts__mapFrame iframe{ display: block; width: 100%; max-width: 560px; height: 400px; border: 0; border-radius: 8px; }
.contacts__mapCaption{ color: #eee; font-size: 12px; position: absolute; top: 0; left: 0; z-index: 1; text-decoration: none; }
.contacts__mapCaption:nth-of-type(1){ top: 0; }
.contacts__mapCaption:nth-of-type(2){ top: 14px; }
.contacts__mapCaption:nth-of-type(3){ top: 28px; }
.contacts__mapCaption:hover{ color: #fff; }
.contacts__reviewsWrap{ position: relative; width: 100%; max-width: 560px; height: 800px; overflow: hidden; padding: 0; }
.contacts__reviewsIframe{ display: block; width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 8px; box-sizing: border-box; }
.contacts__mapLink{ display: block; padding: 8px 16px; font-size: 10px; color: var(--muted); text-align: center; text-decoration: none; position: absolute; bottom: 8px; left: 0; right: 0; }
.contacts__mapLink:hover{ color: var(--green); }
@media (max-width: 900px){ .contacts__grid{ grid-template-columns: 1fr; } .contacts__widgets{ max-width: 100%; } }
@media (max-width: 620px){ .contacts__mapFrame iframe{ height: 300px; } .contacts__reviewsWrap{ height: 600px; } }

/* ========= news (слайдер + добавление для админа) ========= */
.news{ padding-bottom: 32px; }
.news__title{ margin: 0 0 24px; font-size: 24px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--text); }
.news__sliderWrap{ position: relative; display: flex; align-items: center; gap: 12px; }
.news__slider{ flex: 1; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: 8px 0; }
.news__slider::-webkit-scrollbar{ height: 8px; }
.news__slider::-webkit-scrollbar-track{ background: var(--line); border-radius: 4px; }
.news__slider::-webkit-scrollbar-thumb{ background: var(--muted); border-radius: 4px; }
.news__slide{ flex: 0 0 min(340px, 85vw); scroll-snap-align: start; }
.news__card{ height: 100%; min-height: 220px; display: flex; flex-direction: column; padding: 20px; }
.news__imgWrap{ width: 100%; margin-bottom: 12px; border-radius: 10px; overflow: hidden; background: var(--line); }
.news__imgWrap--clickable{ cursor: pointer; border: 0; padding: 0; display: block; width: 100%; text-align: left; }
.news__imgWrap--clickable:hover .news__img{ opacity: .92; }
.news__imgWrap--clickable .news__img{ transition: opacity .2s ease; }
.news__img{ width: 100%; height: auto; max-height: 200px; object-fit: cover; display: block; }
.news__body{ flex: 1; display: flex; flex-direction: column; }
.news__text{ margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--text); flex: 1; }
.news__date{ font-size: 12px; color: var(--muted); }
.news__slide--add .news__addCard{ min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; border: 2px dashed rgba(0,0,0,.2); background: rgba(86, 214, 106, .08); }
.news__addTrigger{ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; cursor: pointer; padding: 20px; }
.news__addTrigger:hover .news__addPlus{ background: var(--green); color: #fff; }
.news__addPlus{ width: 64px; height: 64px; border: 2px solid var(--green); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 36px; line-height: 1; color: var(--green); transition: background .2s, color .2s; }
.news__addLabel{ font-size: 14px; font-weight: 600; color: var(--text); }
.news__addFormWrap{ width: 100%; }
.news__form{ display: flex; flex-direction: column; gap: 12px; }
.news__formErr{ margin: 0; font-size: 13px; color: #c44; }
.news__formLabel{ display: flex; flex-direction: column; gap: 4px; }
.news__formLabelText{ font-size: 12px; font-weight: 600; color: var(--muted); }
.news__form textarea{ width: 100%; min-height: 100px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 8px; font: inherit; resize: vertical; }
.news__form input[type="file"]{ font-size: 13px; }
.news__formSubmit{ padding: 10px 20px; border: 0; border-radius: 8px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.news__formSubmit:hover{ background: var(--green2); }
.news__arrow{ flex-shrink: 0; width: 44px; height: 44px; border: 2px solid var(--line); border-radius: 50%; background: #fff; color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.news__arrow:hover{ border-color: var(--green); color: var(--green); }
.news__dots{ display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.news__dot{ width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; }
.news__dot--active{ background: var(--green); }
.news__dot:hover{ background: var(--muted); }
@media (max-width: 640px){ .news__slide{ flex: 0 0 min(300px, 90vw); } .news__arrow{ width: 36px; height: 36px; font-size: 20px; } }

/* Лайтбокс для картинок новостей */
.newsLightbox{ position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.newsLightbox[hidden]{ display: none !important; }
.newsLightbox__backdrop{ position: absolute; inset: 0; background: rgba(0, 0, 0, .88); cursor: pointer; }
.newsLightbox__inner{ position: relative; z-index: 1; max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.newsLightbox__img{ max-width: 100%; max-height: 95vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.newsLightbox__close{ position: fixed; top: 16px; right: 16px; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #111; font-size: 28px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 4px 20px rgba(0, 0, 0, .3); }
.newsLightbox__close:hover{ background: #fff; }

/* ========= footer ========= */
.footer{
  margin-top: auto;
  padding: 0;
  background: linear-gradient(180deg, rgba(31, 127, 14, .12) 0%, rgba(26, 110, 11, .18) 100%);
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: var(--text);
}

.footer__inner{
  padding: 28px 0 0;
}

.footer__top{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 24px 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.footer__brand{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__name{
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .02em;
}

.footer__phone{
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

.footer__phone:hover{
  text-decoration: underline;
}

.footer__nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer__nav a{
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
}

.footer__nav a:hover{
  color: var(--green);
  text-decoration: underline;
}

.footer__social{
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer__socialBtn{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .08);
  transition: background .2s ease;
}

.footer__socialBtn:hover{
  background: rgba(31, 127, 14, .25);
}

.footer__socialBtn img{
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer__bottom{
  padding: 14px 0 20px;
}

.footer__copy{
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px){
  .footer__top{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer__brand{
    align-items: center;
  }

  .footer__nav{
    justify-content: center;
  }

  .footer__social{
    justify-content: center;
  }
}

@media (max-width: 640px){
  .footer__inner{
    padding: 20px 0 0;
  }

  .footer__top{
    padding-bottom: 16px;
    gap: 16px;
  }

  .footer__nav{
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .footer__copy{
    font-size: 11px;
  }
}


@media (max-width: 980px){
  .about{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .history{ grid-template-columns: 1fr; }
  .history__item{ grid-row:auto; }
}

.toForm__consent {
  margin-bottom: 12px;
}

.toForm__consentLabel {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.toForm__consentCb {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  accent-color: #2d8a3e;
  cursor: pointer;
}

.toForm__consentText {
  font-size: 13px;
  line-height: 1.55;
  color: inherit;
}

.toForm__policyToggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: #2d8a3e;
  text-decoration: underline;
  cursor: pointer;
}

.toForm__policy {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 3px solid #2d8a3e;
  font-size: 12px;
  line-height: 1.6;
}

.toForm__policy p {
  margin-bottom: 6px;
}

.toForm__policy p:last-child {
  margin-bottom: 0;
}