html {
    scrollbar-gutter: stable both-edges; 
}

body {
  font-family: var(--Font-main);
  font-size: 1rem;
  line-height: 1.5;
  color: #222;
  font-variant: small-caps;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

button {
  font-family: var(--Font-main);
  font-weight: 600;
}

/* Общий активный класс */
.active {
  display: flex;
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

header, .hero, .logo {
  margin: 0;
  padding: 0;
  min-height: auto;
  padding-left: 1.25rem;
}

main {
  padding-left: 6.25rem;
  padding-top: 2rem;
}

.main-header {
  background: #fff;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e1e1e1;
}

.hero-section {
  padding-left: 6.25rem;
}

.hero {
  text-align: center;
  padding: 2rem 1rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
}

.hero button {
  padding: 0.8rem 1.5rem;
  background-color: #2f563b;
  color: #fff;
  font-weight: 600;
  border-radius: 0.375rem;
  border: none;
  transition: background 0.3s ease;
}

.hero button:hover {
  background-color: #3d6d4d;
}

.hero-bg {
  position: relative;
  top: 2rem;
  left: -2rem;
  margin-bottom: 3rem;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 3rem;
  margin-bottom: 2rem;
}

.logo img {
  display: block;
  max-height: 7rem;
  height: auto;
  margin: 0 auto;
}

/* Базовые переменные (фоллбеки, если нет в проекте) */

.nav{ position: relative; z-index: var(--z-nav); }
.nav-list{
  display:flex; align-items:center; gap:4.0rem;
  list-style:none; margin:0; padding:0;
}
.nav-item{ position:relative; }

.nav-trigger{
  display:inline-flex; align-items:center; gap:0.8rem;
  padding:0.8rem 0;
  background:none; border:0; cursor:pointer;
  font: inherit; text-transform:uppercase; letter-spacing:0.08em;
  color:var(--c-txt);
  outline-offset:0.2rem;
}
.nav-trigger:focus-visible{ outline:0.2rem solid var(--c-primary); border-radius:0.4rem; }

/* Подменю */
.submenu{
  position:absolute; left:50%; top:100%;
  transform: translate(-50%, 0.8rem) scale(0.98);
  min-width:22rem; max-width:32rem;
  background:var(--c-panel);
  border:0.1rem solid rgba(255,255,255,0.08);
  border-radius:var(--rad);
  box-shadow:var(--shadow);
  padding:1.0rem;
  opacity:0; pointer-events:none;
  transition: opacity 160ms ease, transform 160ms ease;
  will-change: transform, opacity;
}
.submenu.is-open{
  opacity:1; pointer-events:auto;
  transform: translate(-50%, 0.4rem) scale(1);
}
.submenu:focus{ outline:none; }
.submenu li{ list-style:none; }
.submenu-link{
  display:block; padding:0.9rem 1.2rem; border-radius:0.8rem;
  color:var(--c-txt); text-decoration:none; line-height:1.4;
  white-space:nowrap;
}
.submenu-link:hover, .submenu-link:focus-visible{
  background:rgba(255,255,255,0.06);
  outline: none;
}

/* Наведение/клавиатура — без JS тоже работает */
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu{
  opacity:1; pointer-events:auto; transform: translate(-50%, 0.4rem) scale(1);
}

/* Мобильный фоллбек (оставляем выпадающими, но делаем шире) */
@media (max-width: 48rem){
  .nav-list{ gap:2.0rem; }
  .submenu{
    left:0; transform: translate(0, 0.8rem) scale(0.98);
    min-width: 20rem; max-width: min(92vw, 32rem);
  }
  .submenu.is-open{ transform: translate(0, 0.4rem) scale(1); }
}


/* ===== CONTACT BLOCK: двухстрочная сетка (компактно) ===== */
:root { --contact-logo-h: 3.2rem; } /* можно 2.8–4rem */

.contact-block{
  display:grid;
  grid-template-columns:auto 1fr auto;   /* 1-я строка: WA | Кнопка | Копировать */
  grid-template-rows:auto auto;          /* 2 строки */
  grid-template-areas:
    "wa call copy"
    "phone phone status";
  column-gap:1.2rem;
  row-gap:.4rem;
  align-items:center;
  width:max-content;                      /* не распираем header/nav */
  min-height:3.6rem;                      /* стабилизируем высоту строки шапки */
}

/* Привязка по областям */
.btn-wa{ grid-area: wa; }
.btn-call{ grid-area: call; }
.copy-phone{ grid-area: copy; }
.phone-number{ grid-area: phone; }
.phone-hint{ grid-area: status; }

/* Базовые кнопки */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.6rem; border:0; cursor:pointer; font-weight:600; line-height:1;
}

/* Стандартный вид .btn-wa (остаётся для других мест сайта) */
.btn-wa{
  width:3.2rem; height:3.2rem; border-radius:.8rem;
  background:linear-gradient(135deg,#28a9ff,#8b5cf6);
  position:relative; overflow:hidden;
}

/* Аккуратный индикатор статуса (если используешь) */
.status-dot{
  position:absolute; right:.3rem; bottom:.3rem;
  width:.6rem; height:.6rem; border-radius:50%;
}
.status-dot[data-state="online"]  { background:#22d3a1; box-shadow:0 0 0 .2rem rgba(34,211,161,.25); }
.status-dot[data-state="away"]    { background:#ffd166; box-shadow:0 0 0 .2rem rgba(255,209,102,.25); }
.status-dot[data-state="offline"] { background:#94a3b8; box-shadow:0 0 0 .2rem rgba(148,163,184,.20); }

/* Кнопка звонка */
.btn-call{
  padding:.9rem 1.6rem; border-radius:1.2rem; background:#2f6b49; color:#fff;
  font-size:1rem; letter-spacing:.02em; outline-offset:.2rem;
}
.btn-call:is(:hover,:focus-visible){ filter:brightness(1.06); }

/* Кнопка копирования */
.copy-phone{
  width:2.2rem; height:2.2rem; display:inline-flex; align-items:center; justify-content:center;
  border-radius:.6rem; background:transparent; color:#2e6b49;
  border:.1rem solid rgba(46,107,73,.2);
}
.copy-phone:is(:hover,:focus-visible){ background:rgba(46,107,73,.06); }

/* Номер + подсказка */
.phone-number{
  font-weight:600; color:#2e6b49; text-decoration:none; white-space:nowrap;
}
.phone-number:hover{ text-decoration:underline; }
.phone-hint{
  font-size: 1rem; 
  font-weight: 700;
  line-height:1.2; 
  color:rgba(46,107,73,.9); 
  opacity:.9; white-space:nowrap;
}

/* Статус копирования: только для скринридеров */
.copy-status{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* Фокус */
.btn:focus-visible, .copy-phone:focus-visible, .btn-wa:focus-visible, .phone-number:focus-visible{
  outline:.2rem solid #22d3a1; outline-offset:.2rem;
}

/* Мобильный фоллбек */
@media (max-width:30rem){
  .contact-block{
    grid-template-columns:1fr auto;
    grid-template-areas:
      "wa copy"
      "call call"
      "phone phone"
      "status status";
    width:100%;
  }
  .btn-wa{ justify-self:start; }
  .copy-phone{ justify-self:end; }
}

/* ===== МОДИФИКАТОР: «родной» логотип без оформления ===== */
/* Снимаем градиент, размеры контейнера и т.п., но не трогаем сетку */
.contact-block .btn-wa.plain{
  background:none !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
  width:auto !important;
  height:auto !important;
  display:inline-flex !important;
  align-items:center !important;
}

/* ВАЖНО: уменьшаем только высотой, остальное «родное» */
.contact-block .btn-wa.plain > img{
  height:var(--contact-logo-h) !important; /* фиксируем высоту, чтобы не распирал шапку */
  width:auto !important;                   /* сохраняем пропорции */
  max-width:none !important;               /* перекрываем глобальные reset'ы */
  display:inline-block !important;
  object-fit:contain !important;
}

/* Если нужен полностью чистый логотип — скрываем бейдж */
.contact-block .btn-wa.plain .status-dot{ display:none !important; }


/* Aside Боковая панель */

.sidebar {
  position: fixed;
  width: 3.75rem;
  z-index: 10; /* можно меньше, если перекрывает не то */
}

.side-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 5rem;
  height: 100vh;
  background-color: #2E4D33; /* глубокий зелёный */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5rem;
  z-index: 1000;
}

.side-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.side-nav li a {
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  text-align: center;
}

.side-nav img {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.3rem;
  filter: brightness(0) invert(1); /* белая иконка */
}

.side-label {
  display: block;
  font-size: 0.75rem;
  color: #fff;
}

.side-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(0);
  }
  .side-panel.active {
    right: 0;
  }
  .panel-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }

.ripple-img {
  min-width: 62px;
  min-height: 75px;
}


/* Blocks Search */

/* === SEARCH DIALOG — FIX/STYLE === */
.visually-hidden {
  position: absolute; width: 0.0625rem; height: 0.0625rem;
  margin: -0.0625rem; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.search-dialog[hidden]{ display:none !important; }

.search-dialog{
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important; /* поверх чатов/виджетов */
}

.search-dialog__backdrop{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0; transition: opacity .25s ease;
}

.search-dialog__panel{
  position: relative;
  width: min(92vw, 48rem);
  max-height: min(86dvh, 52rem);
  margin: 6vh auto 0;
  background: var(--surface, #fff);
  color: var(--fg, #111);
  border: none !important;            /* убираем чёрные рамки от чужих правил */
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.25);
  transform: translateY(0.75rem);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  overflow: auto;
}

.search-dialog--open .search-dialog__backdrop{ opacity: 1; }
.search-dialog--open .search-dialog__panel{ transform: translateY(0); opacity: 1; }

@media (max-width: 48rem){
  .search-dialog__panel{
    width: 100vw; max-width: none;
    height: 100dvh; max-height: 100dvh;
    margin: 0; border-radius: 0;
  }
}

.search-dialog__header{
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 1rem;
  padding: 1rem 1rem 0;
}
.search-dialog__title{ font-size: 1.25rem; margin: 0; }
.search-dialog__close{
  display: inline-grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border: 0; background: transparent; cursor: pointer;
}

.search-dialog__desc{ margin: .25rem 1rem 0; color: #666; }

.search-dialog__form{
  display: grid; grid-template-columns: 1fr auto; gap: .75rem;
  padding: 1rem;
}
.search-dialog__input{
  width: 100%; padding: .9rem 1rem;
  font-size: 1rem; border-radius: .75rem;
  border: .0625rem solid color-mix(in oklab, #000 12%, transparent);
  outline: none; background: #fff;
}
.search-dialog__input:focus-visible{
  border-color: color-mix(in oklab, var(--accent,#4f8cff) 60%, #000);
  box-shadow: 0 0 0 .1875rem color-mix(in oklab, var(--accent,#4f8cff) 15%, transparent);
}
.search-dialog__submit{
  padding: .9rem 1.25rem; border: 0; border-radius: .75rem; font-size: 1rem;
  background: var(--accent, #4f8cff); color: #fff; cursor: pointer;
}

.search-dialog__suggest{ display:flex; flex-wrap:wrap; gap:.5rem; padding: 0 1rem 1rem; }
.chip{
  border: 0; padding: .5rem .75rem; border-radius: 999rem;
  background: color-mix(in oklab, var(--accent,#4f8cff) 12%, transparent);
  color: var(--fg,#111); cursor: pointer;
}

.search-dialog__results{
  min-height: 6rem; padding: 1rem; border-top: .0625rem dashed color-mix(in oklab, #000 12%, transparent);
}

/* Блокируем прокрутку подложки при открытом диалоге */
html.no-scroll, body.no-scroll{ overflow: hidden; height: 100%; }


/* Fix-start Пункт бокового меню — фиксируем поведение */

.side-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  position: relative;          /* контейнер для ripple */
  overflow: hidden;            /* обрезаем волну */
}

/* Иконки — одинаковый размер, без min-ов */
.side-nav img {
  width: 4.8rem;
  height: 4.8rem;
  margin: 0;
}

/* Раньше у тебя было так — это и провоцировало скачки */
.ripple-img { min-width: 0; min-height: 0; }  /* обнули */


/* Любые добавленные ripple-элементы внутри ссылок сайдбара — вынимаем из потока */
.side-nav a .ripple,
.side-nav a .ripple-effect,
.side-nav a .ripple__wave,
.side-nav a .ripple-circle,
.side-nav a .ink,
.side-nav a > span:not(.side-label):not(:has(img)) {
  position: absolute !important;
  left: 0; top: 0;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* Лёгкий CSS ripple только для сайдбара */
.side-nav a.ripple::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:0; height:0;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  transform:translate(-50%,-50%) scale(0);
  transition:transform .35s, opacity .5s;
  opacity:0;
}
.side-nav a.ripple:active::after{
  width:220%; height:220%;
  transform:translate(-50%,-50%) scale(1);
  opacity:1;
}

/* Blocks Zamershik */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  font-weight: 700;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--c-panel, #fff);
  padding: 2rem;
  border-radius: var(--rad, 1rem);
  box-shadow: var(--shadow, 0 0.2rem 1.2rem rgba(0, 0, 0, 0.35));
  width: 90%;
  max-width: 32rem;
  transform: translateY(-1rem);
  transition: transform 0.3s ease;
  color: var(--c-txt, #222);
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--c-txt, #222);
  cursor: pointer;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-form input,
.modal-form textarea {
  padding: 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid var(--c-border, #ccc);
  background: var(--c-bg-2, #f9f9f9);
  color: var(--c-txt, #222);
}



/* section HERO */

.hero-section {
  position: relative;
  width: 100%;
  height: 42rem; /* около 640px */
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translateX(-1.3rem);
}

.hero-slider-track {
  display: flex;
  width: 120%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 30%;
  left: 7%;
  z-index: 3;
  color: #fff;
  max-width: 65rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-content .cta-btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  background-color: #4CAF50;
  border: none;
  color: white;
  border-radius: 0.5rem;
  cursor: pointer;
}

.hero-man {
  position: absolute;
  bottom: 0;
  right: -1.2%;
  max-width: 28.5rem;
  z-index: 3;
  opacity: 1;
}

.cta-buttons {
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 2rem;
}

.btn-consult,
.btn-measurer {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-consult {
  background-color: var(--steps-link);
  color: #fff;
}

.btn-consult:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.form__group {
  margin-bottom: 16px;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-color);
  margin-bottom: 4px;
}

.required {
  color: var(--accent-color);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form__textarea {
  resize: vertical;
}

.form__group--captcha {
  margin-top: 24px;
  text-align: center;
}

.form__actions {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn--primary {
  background: var(--accent-color);
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn__icon {
  display: inline-block;
  margin-left: 8px;
  font-weight: bold;
}

/* Section SERVICES */
.services-grid { margin-bottom: 3rem; }

.services-title {
  width: 100%;
  font-style: normal;
  font-variant: small-caps;
  text-align: center;
}

.services-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 3rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  outline: none;
  border-radius: 2rem;
  padding: .4rem;
}

.service-item:hover { transform: translateY(-.5rem); }
.service-item:active { transform: translateY(-.25rem) scale(.98); }

/* Видимая фокус-рамка */
.service-item:focus-visible {
  box-shadow: 0 0 0 .2rem rgba(34, 211, 161, .6);
}

/* Иконка */
.service-icon {
  background: radial-gradient(circle at center, #fff 0%, #e3e3e3 50%);
  border-radius: 50%;
  padding: .2rem;
  box-shadow: 0 0 0 rgba(0, 0, 0, .01);
}

.service-icon img { width: 8rem; height: auto; }

.service-label {
  font-weight: 600;
  font-size: 1rem;
  color: #2c3e50;
  text-transform: uppercase;
  margin-top: .5rem;
  position: relative;
}

.service-label::after {
  content: "";
  display: block;
  width: 2rem;
  height: .25rem;
  background-color: #4c8058;
  margin: .75rem auto 0;
  border-radius: 1rem;
}

/* Меньше анимаций для prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .service-item { transition: none; }
  .service-item:hover, .service-item:active { transform: none; }
}

.resources-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.resources-list a { text-decoration: underline; }
.faq-item { border-radius: 1rem; padding: 1rem 1.2rem; background: rgba(255,255,255,.6); margin-bottom: .8rem; }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-a { margin-top: .6rem; line-height: 1.6; }

.service-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin: 2rem 0; }
.service-hero__media img { width: 100%; height: auto; border-radius: 1.2rem; }
.service-hero__content .cta { display: flex; gap: 1rem; margin-top: 1rem; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem,1fr)); gap: .8rem 1.2rem; margin: 1rem 0 2rem; padding-left: 1.2rem; }
.service-list li { line-height: 1.6; }
@media (max-width: 56rem){ .service-hero { grid-template-columns: 1fr; } }



/* Landscape calculator */

#landscape-calc {
  padding: 3rem 1rem;
  background: #f8faf8;
  font-family: 'Inter', sans-serif;
}

.container-calc {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
}

.calc-visual {
  flex: 1 1 300px;
  text-align: center;
}

.calc-img {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.calc-price-label {
  margin-top: -2rem;
  display: inline-block;
  background: #3b7c4a;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

.calc-price-label span {
  display: block;
  font-size: 0.875rem;
  opacity: 0.85;
  font-weight: 400;
}

.calc-note {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  color: #555;
}

.calc-grid {
  flex: 2 1 600px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.calc-block {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
}

.calc-block .icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--primary, #3b7c4a);
}

.calc-block input,
.calc-block select {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.calc-block label {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* .submit-btn {
  background: #3b7c4a;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background 0.3s;
} */

.submit-btn:hover {
  background: #1976d2;
}

.note-small {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

/* Section SECTION-PROJECT */

.designer-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #e5e5e5;
  position: relative;
}

.designer-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

.designer-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s ease;
  border-radius: 1.5rem;
}

.designer-image-wrapper:hover .designer-img {
  transform: scale(1.03);
}

.steam-animation {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 3rem;
  height: 3rem;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 70%);
  filter: blur(8px);
  opacity: 0;
  animation: steamFade 4s infinite ease-in-out;
}

@keyframes steamFade {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 0.5; transform: translateY(-10px); }
}

.drawing-tooltip {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.designer-image-wrapper:hover .drawing-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.designer-content {
  max-width: 40rem;
}

.designer-quote {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem 1.5rem;
  border-left: 8px solid #6686e0;
  border-radius: 0.9rem;
  backdrop-filter: blur(6px);
  font-weight: 700;
}

.designer-desc {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.designer-caption {
  font-size: 0.875rem;
  color: #666;
  font-style: italic;
  border-top: 1px solid #ccc;
  padding-top: 0.5rem;
  font-weight: 900;
}

/* Section ABOUT-SECTION */

.about-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(145deg, rgba(20, 34, 20, 0.85), rgba(10, 20, 15, 0.85)),
    url('/images/jpg/garden-evening.jpg') center/cover no-repeat;
  color: #fff;
  border-radius: 1rem;
  backdrop-filter: blur(0.5rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.color-title {
  color: var(--steps-card-bg);
}

.about-desc {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent-color, #ffd700);
  text-decoration: underline;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(1rem);
  position: relative;
}

.stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fdfdfd;
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #e0e0e0;
}

/* Section PROJECT-THUMB */

.projects-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(to bottom, #f0f5f2, #ffffff);
  position: relative;
  z-index: 1;
}

/* --- Хедер секции --- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.section__title,
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main, #21392e);
  margin: 0;
  letter-spacing: 0.01em;
}
.view-all {
  display: inline-block;
  white-space: nowrap;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01rem;
  color: var(--accent, #298CFF);
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding: 0.8rem 1.9rem;
  transition: color 0.3s;
  outline: none;
  min-width: 0;
  max-width: 100%;
}
.view-all::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 0.5rem;
  height: 0.2rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, var(--accent, #298CFF), #A9D18E);
  opacity: 0.4;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(.6,0,.2,1), opacity 0.25s;
  pointer-events: none;
}
.view-all:focus-visible::after,
.view-all:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.view-all:focus-visible,
.view-all:hover {
  color: #fff;
  background: var(--accent, #298CFF);
  border-radius: 1.5rem;
  box-shadow: 0 0.1rem 1.5rem #A9D18E33;
  outline: none;
  text-decoration: none;
}

/* --- СЛАЙДЕР Swiper --- */
.projects-slider {
  position: relative;
  overflow: visible;
  z-index: 2;
}
.swiper-wrapper {
  align-items: stretch;
}
.project-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 25rem;
  transition: box-shadow .18s, transform .18s;
}
.project-card:hover,
.project-card:focus-within {
  box-shadow: 0 0.6rem 2.4rem #298cff15;
  transform: translateY(-0.2rem) scale(1.025);
}
.project-thumb {
  position: relative;
  min-height: 14rem;
  display: flex;
  align-items: stretch;
}
.project-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.12);
  border: none;
  border-radius: 50%;
  padding: 1rem;
  cursor: pointer;
  transition: background 0.22s;
  z-index: 2;
}
.play-btn:hover,
.play-btn:focus {
  background: rgba(41, 140, 255, 0.23);
  outline: none;
}
.tion {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--accent, #298CFF);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  box-shadow: 0 0.15rem 0.8rem #298cff22;
  z-index: 2;
}
.project-info {
  padding: 1.5rem 1.5rem 1.1rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main, #1e3729);
}
.project-subtitle {
  color: #667788;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.project-desc {
  font-size: 1rem;
  color: #425148;
  margin-bottom: 1rem;
  flex: 1;
}
.project-link {
  display: inline-block;
  font-weight: 600;
  color: var(--accent, #298CFF);
  text-decoration: underline;
  margin-top: auto;
  padding: 0.2rem 0.6rem;
  border-radius: 0.6rem;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.project-link:hover,
.project-link:focus {
  background: var(--accent, #298CFF);
  color: #fff;
  outline: none;
  text-decoration: none;
}

.project-duration {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  background: var(--Primary-light);
  color: var(--Accent-dark);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-shadow: 0 0.15rem 0.8rem #298cff22;
  z-index: 4;
  pointer-events: none;
}

/* --- СТРЕЛКИ --- */
.projects-swiper-prev,
.projects-swiper-next {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 5;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #e2e4ea;
  box-shadow: 0 0.2rem 1rem #c8d0dc30;
  color: var(--accent, #298CFF);
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  opacity: 1;
  font-size: 1.7rem;
}
.projects-swiper-prev { left: 0.5rem; }
.projects-swiper-next { right: 0.5rem; }
.projects-swiper-prev:after,
.projects-swiper-next:after {
  font-size: 1.6rem;
  font-weight: bold;
  color: inherit;
  display: block;
}
.projects-swiper-next:after {
  content: '';
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-left: 0.7rem solid currentColor;
}
.projects-swiper-prev:after {
  content: '';
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-right: 0.7rem solid currentColor;
}
.projects-swiper-prev:hover,
.projects-swiper-next:hover,
.projects-swiper-prev:focus,
.projects-swiper-next:focus {
  background: var(--accent, #298CFF);
  color: #fff;
  outline: none;
  box-shadow: 0 0.6rem 2rem #298cff40;
}

/* --- ПАГИНАЦИЯ (ТОЧКИ) --- */
.projects-swiper-pagination {
  margin: 2.5rem auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  z-index: 10;
  min-height: 2.4rem;
  background: transparent;
}
.projects-swiper-pagination .swiper-pagination-bullet {
  width: 0.9rem;
  height: 0.9rem;
  background: #e2e4ea !important;
  border-radius: 50%;
  opacity: 1 !important;
  margin: 0 0.3rem !important;
  box-shadow: 0 0.2rem 1rem #b3c1b720;
  cursor: pointer;
  border: none;
  outline: none;
  display: inline-block;
  transition: background .2s, transform .2s;
}
.projects-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--accent, #298CFF) !important;
  transform: scale(1.16);
  box-shadow: 0 0.4rem 1.2rem #298cff30;
}

/* Section STEPS-SECTION */

.steps-section {
  width: 100%;
  background: var(--steps-bg);
  padding: 4rem 0 4.8rem 0;
  display: flex;
  justify-content: center;
}

.steps-container {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  align-items: center;
  gap: 5.2rem;
  width: min(95vw, 75rem);
  margin: 0 auto;
}

.steps-info {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.steps-desc {
  font-size: 1.15rem;
  color: var(--steps-text);
  margin-bottom: 0.7rem;
  line-height: 1.6;
  max-width: 35rem;
  opacity: 0.92;
}

.steps-link {
  display: inline-block;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--steps-link);
  padding: 0.7rem 1.4rem;
  border-radius: 0.9rem;
  text-decoration: none;
  background: rgba(49, 130, 80, 0.07);
  box-shadow: 0 0.1rem 0.8rem 0 rgba(49, 130, 80, 0.06);
  transition: background 0.23s, color 0.18s, box-shadow 0.22s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.steps-link:focus-visible {
  outline: 2px solid var(--steps-accent);
  outline-offset: 2px;
}
.steps-link:hover,
.steps-link:active {
  background: var(--steps-accent);
  color: #fff;
  box-shadow: 0 0.2rem 1.1rem 0 rgba(49, 130, 80, 0.13);
}
.steps-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: box-shadow 0.18s;
  pointer-events: none;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--steps-gap);
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 2.1rem;
  background: var(--steps-card-bg);
  border-radius: var(--steps-radius);
  box-shadow: var(--steps-shadow);
  border: 0.06rem solid var(--steps-border);
  padding: 2rem 2.2rem 2rem 2rem;
  min-height: 7.2rem;
  position: relative;
  transition: box-shadow 0.21s, transform 0.23s, background 0.21s;
}
.step-item:hover,
.step-item:focus-within {
  box-shadow: 0 0.4rem 2.4rem 0 rgba(108, 169, 115, 0.15);
  background: linear-gradient(98deg, var(--steps-card-bg) 60%, rgba(108,169,115,0.04));
  transform: translateY(-0.08rem) scale(1.017);
}

.step-icon {
  min-width: 3.7rem;
  min-height: 3.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(108,169,115,0.12) 0%, rgba(49,130,80,0.10) 100%);
  box-shadow: 0 0.07rem 0.7rem 0 rgba(108,169,115,0.08);
  margin-right: 0.4rem;
  transition: background 0.22s, box-shadow 0.20s;
}
.step-item:hover .step-icon,
.step-item:focus-within .step-icon {
  background: linear-gradient(135deg, rgba(108,169,115,0.23) 10%, rgba(49,130,80,0.12) 100%);
  box-shadow: 0 0.13rem 1.2rem 0 rgba(108,169,115,0.11);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.3rem 0;
  color: var(--steps-accent);
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 1.02rem;
  color: var(--steps-text);
  opacity: 0.87;
  line-height: 1.5;
}

/* === Ripple Effect for .steps-link === */
.steps-link {
  position: relative;
  overflow: hidden;
}
.steps-link:active::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(49, 130, 80, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple-effect 0.5s cubic-bezier(0.44,0.18,0.09,0.92);
  pointer-events: none;
  z-index: 2;
}
@keyframes ripple-effect {
  0% { width: 0; height: 0; opacity: 0.45; }
  60% { width: 7rem; height: 7rem; opacity: 0.17; }
  100% { width: 8.3rem; height: 8.3rem; opacity: 0; }
}

/* Section DIY */

.diy-section {
  width: 100%;
  background: linear-gradient(120deg, #eaf8ed 0%, #c7e5cd 100%);
  border-radius: 1.5rem;
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: 0 0.3rem 1.5rem 0 rgba(34, 60, 80, 0.12);
  position: relative;
}
.diy-section__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2.5rem 3.5rem;
}
.diy-section__image-wrapper {
  flex: 0 0 23rem;
  position: relative;
  min-height: 18rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.diy-section__img {
  width: 25rem;
  height: auto;
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 0.3rem 1.2rem rgba(67, 119, 79, 0.15));
  transition: transform 0.5s cubic-bezier(.6,-0.28,.74,.05);
}
.diy-section__image-wrapper:hover .diy-section__img {
  transform: scale(1.03) rotate(-2deg);
}
.diy-section__decor {
  position: absolute;
  z-index: 1;
  opacity: 0.5;
}
.diy-section__decor--leaf {
  left: 2rem; bottom: 1.2rem;
  width: 4.5rem; height: 5rem;
  background: url('/images/svg/leaf.svg') no-repeat center/contain;
}
.diy-section__decor--tile {
  left: 0; top: 1rem;
  width: 3.5rem; height: 3.5rem;
  background: url('/images/svg/tile.svg') no-repeat center/contain;
}
.diy-section__decor--watering {
  right: 0.5rem; bottom: 0.5rem;
  width: 3rem; height: 3.5rem;
  background: url('/images/svg/watering-can.svg') no-repeat center/contain;
}

.diy-section__content {
  flex: 1 1 0;
  max-width: 37rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 3;
}
.diy-section__title {
  font-size: 2rem;
  font-weight: 700;
  color: #255c37;
  margin: 0 0 0.7rem 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.diy-section__desc {
  font-size: 1.1rem;
  color: #397149;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}
.diy-section__cta {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--steps-title);
  background: linear-gradient(90deg, #7ec66a 0%, #4bb773 100%);
  border-radius: 1.2rem;
  box-shadow: 0 0.1rem 0.4rem 0 rgba(67,119,79,0.18);
  text-decoration: none;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.diy-section__cta:hover, .diy-section__cta:focus {
  background: linear-gradient(90deg, #65b552 0%, #36905b 100%);
  box-shadow: 0 0.3rem 1rem 0 rgba(67,119,79,0.18);
  transform: translateY(-0.05rem) scale(1.035);
  color: var(--Primary-light);
}

/* Section REVIEWS-SECTION */

.reviews-section {
  position: relative;
  width: 100%;
  min-height: 45rem;
  padding: 6rem 0 7rem 0;
  overflow: hidden;
  margin-bottom: 2rem;
}

.reviews-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, #101210cc 68%, #152310e0 100%);
  background-image: url('/images/jpg/reviews-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  pointer-events: none;
}

.reviews-inner {
  position: relative;
  z-index: 2;
  max-width: 85rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.2rem;
}

.reviews-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 0.11rem 0.4rem #2226, 0 0.02rem 0.05rem #fff2;
  font-variant: small-caps;
}

.reviews-view-all {
  color: #e5b60e;
  font-size: 1.1rem;
  font-weight: 700;
  background: #696557b8;
  text-decoration: none;
  padding: 0.7rem 1.3rem;
  border-radius: 0.8rem;
  transition: background 0.18s, color 0.18s;
}

.reviews-view-all:hover,
.reviews-view-all:focus {
  background: rgba(255, 255, 255, 0.9);
  color: #4cb540;
}

/* Swiper */
.reviews-slider {
  width: 100%;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0;
  z-index: 3;
}

.review-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 2.4rem;
  box-shadow: 0 0.4rem 2.2rem 0.02rem #1321120f;
  padding: 2.5rem 2.1rem 2.2rem 2.1rem;
  max-width: 34rem;
  min-height: 22rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: box-shadow 0.27s, transform 0.22s;
  backdrop-filter: blur(0.18rem);
}

.review-card:hover {
  box-shadow: 0 0.9rem 2.8rem 0.1rem #40513b14, 0 0.05rem 0.12rem #b8cba622;
  transform: translateY(-0.15rem) scale(1.023);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.review-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #cfdccf;
  object-fit: cover;
  box-shadow: 0 0 0.2rem #b6c8b62f;
}

.review-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: #294128;
  display: block;
}

.review-role {
  font-size: 1.01rem;
  color: #7b837b;
}

.review-text {
  font-size: 1rem;
  line-height: 1.55;
  color: #232e23;
  margin: 0;
}

/* Swiper arrows */
.reviews-swiper-prev,
.reviews-swiper-next {
  position: absolute;
  top: 80%;
  transform: translateY(-50%);
  width: 4.2rem;
  height: 4.2rem;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, transform 0.19s;
  font-size: 2.8rem;
}

.reviews-swiper-prev:hover,
.reviews-swiper-next:hover {
  /* background: #5a8245; */
  transform: scale(1.09) translateY(-50%);
}

.reviews-swiper-prev {
  left: -0.8rem;
}

.reviews-swiper-next {
  right: 2.5rem;
}

.arrow-6 {
  margin: 20px;
  width: 100%;
}

.arrow-6 svg {
  width: 55px;
  height: auto;
  margin: 0 2rem;
  cursor: pointer;
  overflow: visible;
}

.arrow-6 svg polygon,
.arrow-6 svg path {
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  fill: #fdc304;
}

.arrow-6 svg:hover polygon,
.arrow-6 svg:hover path {
  transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
  fill: #927001;
}

.arrow-6 svg:hover .arrow-6-pl {
  animation: arrow-6-anim 1s cubic-bezier(0.2, 1, 0.3, 1) infinite;
}

.arrow-6 svg:hover .arrow-6-pl-fixed {
  animation: arrow-6-fixed-anim 1s cubic-bezier(0.2, 1, 0.3, 1) infinite;
}

@keyframes arrow-6-anim {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  5% {
    transform: translateX(-0.1rem);
  }
  100% {
    transform: translateX(1rem);
    opacity: 0;
  }
}

@keyframes arrow-6-fixed-anim {
  5% {
    opacity: 0;
  }
  20% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

/* Пагинация (римские цифры) */
.reviews-swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
  margin-top: 2.8rem;
  margin-bottom: 0.6rem;
  z-index: 5;
  position: relative;
  min-height: 3rem;
}

.reviews-swiper-pagination .swiper-pagination-bullet {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #005f02;
  font-weight: 800;
  opacity: 1;
  padding: 0.3rem 1.1rem;
  transition: opacity 0.18s, color 0.2s, background 0.17s;
  border-radius: 1.1rem;
  cursor: pointer;
  outline: none;
  letter-spacing: 0.09em;
}

.reviews-swiper-pagination .swiper-pagination-bullet-active {
  color: #cc660d;
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.contact-location {
  padding: 4rem 10rem;
  background: var(--bg-light, #fafafa);
  font-family: 'Montserrat', sans-serif;
  color: #333;
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.location-container {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 3rem;
  align-items: start;
  max-height: none;
}

.location-info {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  color: #2f3e46;
  line-height: 1.2;
}

.location-city {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #354f52;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
}

.location-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.location-details li {
  font-size: 1rem;
  line-height: 1.6;
  color: #52796f;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address {
  font-size: 1.5rem;
  font-style: normal;
  color: #354f52;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
}

.phone strong {
  font-weight: 700;
  font-size: 1.1rem;
  color: #2f3e46;
}

.hours {
  font-weight: 600;
  font-size: 0.95rem;
  color: #748c7a;
  margin-left: 0.5rem;
  font-style: italic;
}

.email {
  font-style: normal;
  color: #354f52;
  font-family: 'Cormorant Garamond', serif;
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.email:hover {
  color: #52796f;
}

.btn.ripple {
  display: inline-block;
  max-width: 100%;
  padding: 1rem 2rem;
  background: #3b5938;
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn.ripple:hover {
  background: #2a3f26;
}

.location-map {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  height: 400px;
  width: 100%;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

#preloader {
  position: fixed;
  z-index: 1000;
  background: #fff;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transition: opacity 0.5s ease;
}

#loader-canvas {
  display: block;
  margin: 0 auto;
  padding: 0;
  width: auto;
  height: auto;
}

/* --- Section CHOOSE-CITY --- */
#choose-city {
  position: relative;
  width: 100%;
  aspect-ratio: 32 / 9;
  background: url('../images/cities/chose-city.png') no-repeat center/ cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
}

#choose-city::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

#choose-city h2,
#choose-city .city-buttons {
  position: relative;
  z-index: 1;
}

.choose-city__title {
  color: rgb(250, 250, 250);
  padding-bottom: 2rem;
}

.city-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.choose-btn {
  font-size: 1.3rem;
}

.city-buttons button:hover,
.city-buttons button:focus {
  background-color: #005fa3;
  outline: none;
}

/* FOOTER */
#footer-container {
  background-color: #2f2c36;
  color: #e2b054;
  font-family: 'Arial', sans-serif;
  font-size: 1.4rem;
  padding: 3rem 1.5rem 1rem;
  user-select: none;
  line-height: 1.5;
  border-top: 0.5rem solid #4661d6;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-left: 5rem;
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer a:hover,
.footer a:focus {
  color: #f8d674;
  outline: none;
}

/* --- Контейнер и сетка --- */
.footer-container {
  display: flex;
  margin-left: 2rem;
  max-width: 120rem;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-around;
}

/* --- Меню футера --- */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  flex: 1 1 60%;
  min-width: 26rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 12rem;
}

.footer-menu__title {
  font-family: 'Montserrat';
  font-size: 2rem;
  font-style: normal;
  color: var(--Primary-light);
  font-weight: 600;
  line-height: 1.25rem;
  font-variant: small-caps;
  padding-bottom: 1.5rem;
}

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu li:last-child {
  margin-bottom: 0;
}

.footer-menu,
li {
  font-size: 1.2rem;
}

.footer-menu:hover {
  color: var(--steps-accent);
}

/* --- Контакты и рейтинги --- */
.footer-contacts {
  flex: 1 1 30%;
  min-width: 20rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-end;
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.contacts-list li {
  margin-bottom: 0.8rem;
}

.contacts-list li:last-child {
  margin-bottom: 0;
}

.contacts-phone {
  font-weight: 400;
  font-size: 1.6rem;
  display: inline-block;
}

.contacts-call-button {
  font-weight: 700;
  font-size: 1.6rem;
  color: #e6d2ac;
  cursor: pointer;
  user-select: none;
  padding: 0.3rem 0.6rem;
  border-radius: 0.4rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contacts-call-button:hover,
.contacts-call-button:focus {
  background-color: var(--steps-link);
  padding: 0.5rem 1rem;
  color: #ffffff;
  outline: none;
  transition: background 0.8s ease;
}

/* --- Блок рейтинга --- */
.footer-rating {
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  max-width: 800px;
  width: 100%;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  color: #222;
  margin: 1rem auto;
}

.rating-overall {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.rating-scale {
  font-size: 1.25rem;
  color: #666;
}

.rating-label {
  margin-left: auto;
  font-weight: 500;
  font-size: 1rem;
  color: #444;
}

/* Для более широких экранов добавлю максимальную ширину прогресс-баров */
.rating-categories {
  max-width: 100%;
  width: 100%;
}

.rating-category {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-name {
  flex-basis: 30%;
  font-weight: 600;
  font-size: 1rem;
}

.progress-bar {
  flex-grow: 1;
  height: 12px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffc107, #ff9800);
  border-radius: 6px 0 0 6px;
  width: 0;
  transition: width 1.2s ease-out;
}

.category-score {
  width: 3rem;
  text-align: right;
  font-weight: 600;
  font-size: 1rem;
}

/* --- Социальные сети --- */
.footer-socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.2rem;
}

.social-link img {
  width: 2.4rem;
  height: 2.4rem;
  /* filter: brightness(0) invert(0.6); */
  transition: filter 0.3s ease;
}

.social-link:hover img,
.social-link:focus img {
  filter: brightness(2) invert(0);
  outline: none;
}

.side-panel { 
  position: fixed;
  top: 0; right: -100%;
  width: 100%; max-width: 400px; height: 100%;
  background: #fff; z-index: 1000; overflow-y: auto;
  box-shadow: -2px 0 8px rgba(0,0,0,.2);
  /* никаких display:flex тут не требуется */
}
.side-panel.is-open { right: 0; }   /* раньше у тебя было .side-panel.active */


/* --- Копирайт --- */
.footer-copyright {
  text-align: center;
  padding: 1rem 0 2rem;
  color: #a68c5e;
  font-size: 1.2rem;
  user-select: none;
}