:root {
  /* layout */
  --max-width: 1200px;
  --gap: 24px;
  --radius: 16px;
  --w:400px;
  --h:300px;

  /* core colors */
  --bg: #ffffff;           /* основной фон */
  --card: #ffffff;         /* карточки/панели */
  --text: #0f1720;         /* основной цвет текста (почти черный) */
  --muted: #6b7586;        /* вторичный текст / подписи */
  --line: #e7edf2;         /* тонкая линия / разделитель */
  --chip: #f5f8fb;         /* фон бейджей/чипов */

  /* brand / accents */
  --brand: #394569;        /* основной бренд (синий-темный) */
  --brand-turquoise: #32b4d9; /* альтернативный бирюзовый (по желанию) */
  --accent: #5a5fce;
  --ok: #3abf6b;           /* успех / зелёный */

  /* utility */
  --ring: rgba(90,95,206,.25);
  --shadow: 0 6px 20px rgba(14,23,38,.06);
  --shadow-hover: 0 10px 26px rgba(14,23,38,.11);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.08); /* более тёмная тень из одного блока */
  --trans: .25s ease;

  /* timeline / stepper specific (сохранены из оригинала) */
  --tl-text: #222;
  --tl-muted: #6b7280;
  --tl-line: #dcdcdc;
  --tl-bg: #fff;
  --tl-gap: 24px;
  --tl-icon: 48px;
}

 
/* Basic reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body{
    margin:0; 
    font: 400 16px Rubik, sans-serif;
    color: #282828;
    line-height: 1.6;
    line-height:1.45;
    color:var(--text);
    background:var(--bg);
  }
  
section{padding:0px 0; margin-bottom: 80px; background: #fff !important; box-shadow: none !important; padding: 0px !important;}

 

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 0px;
  width: 100%;
  font: 400 16px Rubik, sans-serif;
  color: #282828;
}

 .container{max-width:1200px;margin:0 auto;padding:0 0px}
.seo{font: 400 16px Rubik, sans-serif;
    color: #282828;
    line-height: 1.6;}
	
@media (max-width: 992px) {
  .container{ width: 100%;margin:0 auto;padding:0 20px}
} 

.h2{font-weight:800;font-size:clamp(28px,4vw,40px);margin:0 0 40px}
  

.h2:after {
    width: 200px;
    height: 3px;
    background: #79bb6d;
	display: flex;
    content: '';
}
  
.h2:nth-child(odd):after {
    width: 200px;
    height: 3px;
    background: #38b5c6;
	display: flex;
    content: '';
} 

.row{display:flex;flex-wrap:wrap;margin-left:-12px;margin-right:-12px}
.col{padding:0 12px}
.col-12{flex:0 0 100%;max-width:100%}

/* 12-column grid container */

.container {
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

/* Навигация */

.main-nav {
    background: white;
    padding: 15px 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-weight: 500;
    font-size: 16px;
    font-family: Rubik, sans-serif;
    line-height: 60px;
    color: #000;
    border-bottom: 1px solid #c1c1c1;
}

.nav-links a {
    text-decoration: none;
    color: #000;
}

.nav-links a:hover {
    color: #4a9eff;
}

@media (max-width:768px){
    .nav-links {  gap: 10px; line-height: 1.3em; padding-bottom: 20px;}
}  

/* Блок герой */

.hero-section {
    position: relative;
    overflow: hidden;
	margin-top: 200px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    color: #333;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
	max-width: calc(33.333% - 14px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #fff url("https://заборывспб.рф/assets/templates/landing/img/feature-1.png") center center no-repeat;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
	background-size: contain;
}

.feature-icon-2 {
    background: #fff url("https://заборывспб.рф/assets/templates/landing/img/feature-2.png") center center no-repeat;
	background-size: contain;
}

.feature-icon-3 {
    background: #fff url("https://заборывспб.рф/assets/templates/landing/img/feature-3.png") center center no-repeat;
	background-size: contain;
}

.feature-icon-4 {
    background: #fff url("../assets/img/feature-4.png") center center no-repeat;
    background-size: contain;
}

.feature-icon-5 {
    background: #fff url("../assets/img/feature-5.png") center center no-repeat;
}

.feature-icon-6 {
    background: #fff url("../assets/img/feature-6.png") center center no-repeat;
    background-size: contain;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

.hero-description {
    font-weight: 400;
    font-size: 16px;
    font-family: Rubik, sans-serif;
    color: #282828;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 400px;
    justify-content: space-between;
}

.hero-cta {
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    width: 40%;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-cta.primary {
    background: #32b4d9;
    color: white;
}

.hero-cta.secondary {
    background: #25d366;
    color: white;
}

.hero-cta:hover {
     background: black;
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


    /* Namespaced slider to avoid conflicts: .ns-slider */
    .ns-slider { width:var(--w); height:var(--h); position:relative; border-radius:12px; overflow:hidden; box-shadow:0 8px 25px rgba(0,0,0,.12); background:#111; margin-bottom: 40px; }
    .ns-slider__track { display:flex; height:100%; transition:transform .5s ease-in-out; will-change:transform }
    .ns-slider__slide { height:100%; display:flex; align-items:center; justify-content:center; flex-shrink:0 }
	.ns-slider__content {
		color: #fff;
		text-align: center;
		padding: 40px;
		background: rgba(0, 0, 0, .2);
	}
    .ns-slider__title { font-size:22px; margin-bottom:8px }
    .ns-slider__subtitle { font-size:14px; opacity:.95 }

    /* dots */
    .ns-slider__dots {position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:8px}
    .ns-slider__dot {width:16px;height:16px; border: none; border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer;transition:transform .18s ease,background .18s}
    .ns-slider__dot--active { background:#4a9eff; transform:scale(1.25) }
    .ns-slider__dot:hover { background:rgba(255,255,255,.85) }

    /* controls */
    .ns-slider__ctrl {position:absolute;top:50%; border: none; transform:translateY(-50%);width:36px;height:36px;border-radius:8px;background:rgba(0,0,0,.35);display:grid;place-items:center;color:#fff;cursor:pointer}
    .ns-slider__ctrl--left { left:8px }
    .ns-slider__ctrl--right { right:8px }
    .ns-slider__ctrl:hover { background:rgba(0,0,0,.5) }

    /* ensure pointer events on controls (in case other overlays) */
    .ns-slider__ctrl, .ns-slider__dot { pointer-events:auto }

    /* small demo helper */
    .demo-note{position:fixed;left:24px;top:24px;background:#fff;padding:10px 14px;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.08);font-size:13px}
	
.btn:hover {
    background: #212121;
}

.btn {
    color: #fff !important;
}

/* Адаптив */

@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
		
    }
}

@media (max-width: 768px) {
    
    .hero-cta {
    width: 90% !important;
}
    
    .btn {
            width: 90% !important;
    }
    
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .slider-placeholder {
        width: 100%;
        max-width: 350px;
    }

    .slider-container {
        width: 100%;
        max-width: 350px;
    }
	
	.hero-buttons {
		width: 100%;
		        padding: 0px 40px;
		flex-direction: column;
	}
	.hero-container {
		gap: 0;
	}
	.hero-section {
		padding: 0px 20px;
	}
	
	.hero-cta {
    width: 100%;
	}
	
	.hero-cta.secondary {
    width: 100%;
}
}

/* Табы */

.tabs {
    background: transparent;
}

.tabs-card {
    background: var(--card);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    gap: 2px;
    overflow: auto;
    padding: 8px;
    padding-bottom: 16px;
    background: #f5f7f8;
    position: relative;
}

.tabs-nav::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 8px;
    background: #f1f3f8;
}

.tab-btn {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    padding: 14px 18px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    border-radius: 12px;
    transition: background var(--trans), color var(--trans);
}

.tab-btn:hover {
    background: #e9edf7;
    color: var(--text);
}

.tab-btn[aria-selected="true"] {
    background: #fff;
    color: var(--text);
    box-shadow: 0 4px 14px rgba(20, 30, 50, 0.06);
}

.tab-panel {
    display: none;
    padding: 22px;
}

.tab-panel.active {
    display: block;
}

.tab-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-weight: 400;
    font-size: 16px;
    font-family: Rubik, sans-serif;
    color: #282828;
    line-height: 1.6;
}

.tab-col {
    flex: 1 1 320px;
}

/* Segmented control (for specs) */

.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: #fff;
    margin-top: 16px;
}

.spec-table th,
.spec-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eef1f6;
    text-align: left;
    font-size: 14px;
}

.spec-table thead th {
    background: #f0f2f8;
    font-weight: 700;
}

.callout {
    background: #f7f9ff;
    border: 1px solid #e6eaf2;
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--muted);
    margin-top: 16px;
}

@media (max-width: 768px) {
    .tab-panel {
        padding: 16px;
    }
} 

.container {
        padding: 0 5px;
    }

.seo {
    margin-top: 40px;
}

/* Таймлайн */
 
.tl-wrap {
    inline-size: 100%;
    background: var(--tl-bg);
}

.tl {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--tl-gap);
    padding: 8px;
    margin: 0;
    list-style: none;
}

.tl-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: var(--tl-text);
    padding: 0 14px;
    min-inline-size: 120px;
}

/* Горизонтальные стрелки между шагами (десктоп/планшет) */

.tl-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    inset-block-start: calc(var(--tl-icon) / 2);
    inset-inline-end: -12px;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
    color: var(--tl-muted);
    opacity: 0.9;
}

.review-media-2 {
    display: block;
    object-fit: contain;
    width: 100%;
}

.tl-icon {
    inline-size: var(--tl-icon);
    block-size: var(--tl-icon);
    display: grid;
    place-items: center;
}

.tl-icon span { /* мини-точка внутри заглушки */
    inline-size: 6px;
    block-size: 6px;
    border-radius: 50%;
    background: var(--tl-line);
    opacity: 0.9;
}

.tl-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tl-label {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial;
    letter-spacing: 0.2px;
    margin-top: 15px;
}

/* Мобильная колонка */

@media (max-width: 640px) {
    .tl {
        flex-direction: column;
        gap: 18px;
    }
	
	.tl-icon {
		inline-size: var(--tl-icon);
		block-size: auto;
		display: grid;
		place-items: center;
	}

    .tl-step {
        flex-direction: row;
        align-items: center;
        text-align: start;
        padding: 0;
        min-inline-size: auto;
        gap: 12px;
    }

    .tl-step:not(:last-child)::after {
        content: "↓";
        inset: auto;
        position: absolute;
        left: calc(var(--tl-icon) / 2 - 9px);
        bottom: -14px;
        transform: none;
        font-size: 18px;
        color: var(--tl-muted);
    }

    .tl-label {
        font-weight: 600;
        font-size: 15px;
    }
}

/* Тонкие состояния наведения — едва заметно, чтобы сохранить минимализм */

.tl-step:hover .tl-icon {
    border-style: solid;
}

.tl-step:hover .tl-label {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    color: #111;
} 
 
/* ===== Таблица ===== */

.table-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 0 rgba(10, 20, 30, 0.02);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background: #f7f9fb;
    padding: 14px 18px;
    font-weight: 700;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}

tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

tbody tr:first-child td {
    white-space: nowrap;
	margin-right: 20px;
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:nth-child(even) {
    background: #fafcfd;
}

tbody tr:hover {
    background: #f3f8fb;
}

td:last-child {
    align-content: space-around;
    min-height: 100%;
    flex-grow: 1;
    white-space: nowrap;
}

td:first-child {
    white-space: nowrap;
	padding-right: 20px;
}
 
/* Стикеры */

.sticker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--chip);
    white-space: nowrap;
}

.badge.hit {
    background: rgba(58, 191, 107, 0.12);
    border-color: rgba(58, 191, 107, 0.35);
    color: #157a3a;
}

.badge.econom {
    background: #f6f7f8;
    color: #444;
}

.badge.opt {
    background: rgba(50, 180, 217, 0.12);
    border-color: rgba(50, 180, 217, 0.4);
    color: #0c5a70;
}

.badge.premium {
    background: #0f1720;
    color: #fff;
    border-color: #0f1720;
}

.muted {
    color: var(--muted);
}

/* Цена */

.price {
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* ===== Примечания ===== */
.notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 18px 0 6px;
}

.note {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
    font-weight: 400;
    font-size: 16px;
    font-family: Rubik, sans-serif;
    color: #282828;
    line-height: 1.6;
}

.note h4 {
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.note ul {
    margin: 0;
    padding-left: 20px;
}

.note li {
    margin: 4px 0;
}

.foot {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--muted);
}

.foot-2 {
    margin-top: 30px;
	display: flex;
	justify-content: center;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ===== Мобильная адаптация ===== */
@media (max-width: 860px) {
    thead {
        display: none;
    }

    table,
    tbody,
    tr,
    td {
        display: block;
        width: 100%;
		overflow: scroll;
    }

    tbody tr {
        border-bottom: 1px solid var(--line);
    }

    tbody td {
        display: flex;
		flex-wrap: wrap;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 16px;
        border: 0;
    }

	td:last-child {
		align-content: space-around;
		min-height: 100%;
		flex-grow: 1;
		white-space: nowrap;
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.sticker {
		display: inline-flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		gap: 8px;
	}

    tbody td::before {
        content: attr(data-label);
        flex: 0 0 48%;
        color: var(--muted);
    }

    tbody tr:nth-child(even) {
        background: #fff;
    }

    .notes {
        grid-template-columns: 1fr;
    }
} 
 
/* Галерея */
 
 /* Masonry 3 колонки */
.masonry {
    column-count: 3;
    column-gap: 16px;
}

.card {
    break-inside: avoid;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(10, 20, 30, 0.02);
    margin: 0 0 16px;
}

/* Медиа-зона */
.media {
    position: relative;
    background: #f6f8fb;
}

.media img {
    display: block;
    width: 100%;
    height: auto;
}

.chip {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--chip);
    color: #0c5a70;
    border: 1px solid var(--line);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Before/After */
.ba {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #eef3f7;
}

.ba img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

.ba .after {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
}

.ba .after img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.ba .divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--brand);
}

.ba .handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 2px solid var(--brand);
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ba .handle:before {
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2px solid var(--brand);
    border-right: 2px solid var(--brand);
}

.ba input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    inset: 0;
    background: transparent;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: ew-resize;
}

.ba input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
}

.ba .labels {
    position: absolute;
    inset: auto 0 10px 0;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
    font-weight: 700;
    font-size: 0.85rem;
}

.ba .labels span {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line);
    padding: 4px 8px;
    border-radius: 999px;
}

/* Видео обложка */
.v-cover {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.v-cover img {
    width: 100%;
    display: block;
}

.play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.play:before {
    content: "";
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.play:after {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent var(--text);
}

.v-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #0f1720;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    opacity: 0.9;
}

/* Тело карточки */
.body {
    padding: 14px 16px;
}

.h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 800;
}

.meta {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 6px 12px;
    font-size: 0.92rem;
}

.meta .k {
    color: var(--muted);
}

.meta .v {
    font-weight: 600;
}

/* Lightbox для видео */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 30, 0.6);
    backdrop-filter: saturate(130%) blur(4px);
    display: none;
    z-index: 50;
}

.lightbox.open {
    display: block;
}

.lb-wrap {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(960px, 94vw);
    height: min(540px, 60vh);
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lb-media {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.lb-media iframe,
.lb-media video {
    width: 100%;
    height: 100%;
}

.lb-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    cursor: pointer;
}

.lb-nav {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.dot.active {
    opacity: 1;
    background: var(--brand);
}

.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.lb-prev {
    left: 10px;
}

.lb-next {
    right: 10px;
}

/* Адаптив */
@media (max-width: 1080px) {
    .masonry {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .masonry {
        column-count: 1;
    }

    .meta {
        grid-template-columns: 1fr;
    }
}

/* === Reviews Slider === */

.reviews-wrap {
  position: relative;
  background: var(--card);
  box-sizing: border-box;
  padding: 0;
}

.reviews-viewport {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.reviews-track {
  display: flex;
  gap: 18px;
  will-change: transform;
  transition: transform var(--trans, 240ms) ease;
  align-items: stretch;
}

/* Карточки отзывов */
.review-card {
  flex: 0 0 calc(33.333% - 12px);
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Медиа в карточке (картинка/видео) */
.review-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Тело карточки */
.review-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0; /* на случай flex-кишек с overflow */
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-name {
  font-weight: 700;
}

.review-meta {
  color: var(--muted);
  font-size: 13px;
}

.review-quote {
  color: var(--text);
  font-size: 14px;
}

.review-meta-row {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* Верификация бейдж */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font: 700 11px/1 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.badge-verified svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  display: block;
}

/* Звёздочки */
.stars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.stars svg {
  width: 16px;
  height: 16px;
  opacity: .9;
  display: block;
}

/* Навигация */
.reviews-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  position: static;
  justify-content: center;
  margin-top: 12px;
}

.nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #e6eaf2;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: box-shadow var(--trans, 200ms) ease, transform var(--trans, 200ms) ease, background var(--trans, 200ms) ease;
}

.nav-btn:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.nav-btn[disabled] {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Доступность: видимый фокус */
.nav-btn:focus-visible,
.reviews-wrap button:focus-visible,
.reviews-wrap a:focus-visible {
  outline: 2px solid rgba(74, 163, 255, .95);
  outline-offset: 4px;
}

/* Адаптивы */
@media (max-width: 1024px) {
  .review-card {
    flex-basis: calc(50% - 9px);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 0;
  }

  .reviews-wrap {
    padding: 12px;
  }

  .review-card {
    flex-basis: 100%;
  }

  /* mobile nav placement overrides */
  .reviews-nav {
    position: static;
    justify-content: center;
    margin-top: 14px;
    gap: 16px;
  }

  .nav-btn {
    width: 44px;
    height: 44px;
  }
}

/* Уменьшение анимаций для пользователей, которые этого просят */
@media (prefers-reduced-motion: reduce) {
  .reviews-track,
  .nav-btn,
  .partners-grid img,
  .swatch {
    transition: none !important;
    animation: none !important;
  }
}

 
 /* Цвета */
 
.demo {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0px 28px;
  align-items: start;
}

@media (max-width: 920px) {
  .demo {
    grid-template-columns: 1fr;
  }
}

/* Палитра */

.palette {
  margin-bottom: -10px;
}

.palette2 {
  margin: 40px 0px;
  display: flex;
  align-item: center;
  justify-content: center;
  width: 100%;
  padding-top: 40px;
}

.palette2 .btn {
    appearance: none;
    border: 1px solid #e6e8ee;
    border-radius: 999px;
    padding: 10px 14px;
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
    width: 33%;
}

.palette h2 {
  font-size: 18px;
  margin: 0 0 14px;
  color: #111;
}

.swatches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px 24px;
}

@media (max-width: 720px) {
  .swatches {
    grid-template-columns: 1fr;
  }
}

.swatch {
  --c: #999;
  display: flex;
  gap: 14px;
  width: 100%;
  align-items: center;
  border: 1px solid #e6e8ee;
  background: #fff;
  padding: 32px 14px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
  cursor: pointer;
  transition: .2s ease;
  position: relative;
  box-sizing: border-box;
}

.swatch:focus {
  outline: 2px solid #4aa3ff;
  outline-offset: 2px;
}

.swatch:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.swatch[aria-pressed="true"] {
  border-color: var(--c);
}

.swatch svg {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

.swatch .labels {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.labels b {
  font-size: 15px;
  letter-spacing: .2px;
}

.labels small {
  color: var(--muted);
}

/* Превью */
.preview {
  position: relative;
}

.preview-card {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  border: 1px solid #e6e8ee;
  color: #384152;
}

/* Забор (панель + цоколь) */
.fence {
  --w: 100%;
  --h: 260px;
  position: relative;
  width: var(--w);
  height: var(--h);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d9dde6;
  background: #f6f8fb;
}

/* Панель забора: многослойный фон имитирует ребристость профлиста */
.fence__panel {
  position: absolute;
  inset: 24px 24px 72px;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .07) 100%),
    radial-gradient(100% 100% at 50% -20%, rgba(255, 255, 255, .35), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 3px, rgba(0, 0, 0, .12) 3px 6px),
    linear-gradient(var(--fence-color), var(--fence-color));
  box-shadow: inset 0 6px 18px rgba(0, 0, 0, .16), inset 0 -6px 14px rgba(0, 0, 0, .08);
}

/* Цоколь из кирпича (условный) */
.fence__base {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(180deg, #e0a07a, #b56d43);
  box-shadow: inset 0 6px 14px rgba(0, 0, 0, .2);
}

.preview-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.meta {
  font-size: 14px;
  color: var(--muted);
}

.btn {
  appearance: none;
  border: 1px solid #e6e8ee;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

/* Поддержка пользовательской PNG/JPG текстуры:
   Если добавить data-image на .fence (URL), она будет подложкой текстуры. */
.fence__texture {
  position: absolute;
  inset: 24px 24px 72px;
  border-radius: 10px;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .84;
  background-size: cover;
  background-position: center;
}

/* Обёртка страницы */
.wrap {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
}
 
/* Partners grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.partners-grid img {
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .8;
  transition: filter var(--trans, 200ms ease), opacity var(--trans, 200ms ease), transform var(--trans, 200ms ease);
  display: block;               /* убрать пробелы вокруг inline-img */
  box-sizing: border-box;
}

/* Голосовой/клавиатурный фокус на логотипах */
.partners-grid a:focus-visible img,
.partners-grid img:focus-visible {
  outline: 2px solid rgba(74, 163, 255, .9);
  outline-offset: 4px;
}

/* hover + touch */
.partners-grid img:hover,
.partners-grid img:active {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .faq-q {
    padding: 16px 18px;
  }

  .faq-a-inner {
    padding: 0 18px 16px 18px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

  
/* FAQ */

.faq-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-item + .faq-item {
    border-top: 1px solid #eef1f6;
}

.faq-q {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    font-family: Rubik, sans-serif;
    color: var(--text);
    transition: background var(--trans), box-shadow var(--trans);
    position: relative;
    outline: none;
}

.faq-q:hover {
    background: #f4f6fb;
}

.faq-q:focus-visible {
    box-shadow: 0 0 0 4px var(--ring) inset;
}

.faq-q .chev {
    margin-left: auto;
    transition: transform var(--trans), opacity var(--trans);
    opacity: 0.7;
}

.faq-q[aria-expanded="true"] .chev {
    transform: rotate(180deg);
    opacity: 1;
}

.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    background: linear-gradient(#fff, #fff);
}

.faq-a-inner {
    padding: 0 22px 18px 22px;
    color: var(--muted);
}

.faq-a p {
    margin: 12px 0;
    font-weight: 400;
    font-size: 16px;
    font-family: Rubik, sans-serif;
    color: #282828;
    line-height: 1.6;
}

.faq-item.is-open .faq-q {
    box-shadow: inset 0 -1px 0 #eef1f6;
}

@media (max-width: 768px) {
    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .faq-q {
        padding: 16px 18px;
    }

    .faq-a-inner {
        padding: 0 18px 16px 18px;
    }
}	

/* Блок дополнительных услуг */
   
.container-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
    gap: 20px;
}

.container-flex-2 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Base service card — takes ¼ of container (3/12 columns) */
.service-card {
    flex: 0 1 calc(25% - 15px);
    min-width: 280px;
    background: white;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card img {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Gate illustration */
.gate-illustration {
    margin: 0 auto 20px;
    border-radius: 50px;
	height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gate-illustration img {
    height: 100%;
	aspect-ratio: 4/3;
}

/* Typography */
.service-title {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.3;
    color: #333;
    min-height: 2.6em; /* Fixed height for 2 lines */
    display: flex;
    align-items: flex-start;
}

.service-price {
    font: 400 18px Rubik, sans-serif;
    margin-bottom: 12px;
}

.service-description {
    font: 400 16px Rubik, sans-serif;
    color: #282828;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Takes up remaining space */
}

.service-button {
    width: 100%;
    padding: 12px;
    border: 2px solid #32b4d9;
    background: inherit;
    border-radius: 25px;
    font: 400 18px Rubik, sans-serif; color: #32b4d9;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto; /* Pushes button to bottom */
}

.service-button:hover {
    border: 2px solid black;
    color: black;
}

/* Alternating background colors */
.service-card:nth-child(odd) {
    background: #fbfcfe;
}

.service-card:nth-child(even) {
    background: #fff;
}


/* Services responsive design */
@media (max-width: 992px) {
    .service-card {
        flex: 0 1 calc(50% - 10px);
    }
	
	.tabs-nav {
    flex-direction: column;
}
.gate-illustration {

    height: auto;

}
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 1 100%;
        min-width: unset;
    }

    .container-flex {
        gap: 16px;
    }
}	

/* Footer
   ============================== */
.footer {
  background: #282828;
  color: #ccc;
  padding: 60px 20px 40px;
  margin-top: 80px;
  box-sizing: border-box;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Внутри футера все элементы по-умолчанию в border-box для предсказуемой верстки */
.footer * {
  box-sizing: inherit;
}

/* Контейнер */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Верхняя часть футера */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

/* Логотип */
.footer-logo-block {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4a9eff, #00d4aa);
  position: relative;
  border-radius: 4px;
  flex: 0 0 40px;
}

.logo-icon::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 24px;
  height: 28px;
  background: #fff;
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);
  display: block;
}

.logo-text {
  font-size: 32px;
  font-weight: 700;
  color: #4a9eff;
  letter-spacing: 1px;
  line-height: 1;
}

/* Контакты / инфо */
.footer-contacts {
  flex: 2;
  min-width: 300px;
}

.footer-info {
  line-height: 1.6;
  font-size: 17px;
  color: #ccc;
}

.footer-info p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #bfbfbf;
}

/* Блок CTA */
.footer-button-block {
  flex: 0 0 200px;
  min-width: 180px;
}

.cta-button {
  background: lnherit;
  color: #fff;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  border: 2px solid #32b4d9;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Hover / active / focus для CTA */
.cta-button:hover {
	color: #32b4d9;
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(74, 163, 255, 0.9);
  outline-offset: 4px;
  border-radius: 28px;
}

/* Навигация футера */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}

.footer-nav a {
  font: 400 14px/1 "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #7e7e7e;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.2s ease;
  font-size: 14px;
}

/* Hover + focus видимы для ссылок */
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #4a9eff;
  outline: none;
}

.footer-nav a:focus-visible {
  box-shadow: 0 0 0 3px rgba(74, 163, 255, 0.12);
  border-radius: 4px;
}

/* Секция навигации (нижняя часть) */
.footer-nav-section {
  width: 100%;
  border-top: 1px solid #555;
  padding-top: 30px;
  margin-top: 24px;
}

/* Мелкие стили */
.footer-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-logo-block,
  .footer-contacts,
  .footer-button-block {
    flex: none;
    min-width: unset;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-nav {
    justify-content: center;
    gap: 15px 30px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 30px;
  }

  .footer-top {
    gap: 25px;
  }

  .footer-nav {
    gap: 12px 20px;
  }

  .footer-nav a {
    font-size: 13px;
  }

  .logo-text {
    font-size: 28px;
  }
}

/* === Cost Calculation Form === */

:root {
  --accent: #8db487;
  --accent-2: #5a9abd;
  --trans: 240ms;
  --form-bg: #f8f9fa;
  --text: #333;
}

/* Контейнер */
.form-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  box-sizing: border-box;
  padding: 0 16px;
}

/* Заголовок формы */
.form-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 1px;
  line-height: 1.05;
}

.form-underline {
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin-bottom: 40px;
  border-radius: 2px;
}

/* Структура формы */
.cost-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.form-group {
  flex: 1;
  min-width: 200px;
  box-sizing: border-box;
}

.form-group-wide {
  flex: 2;
  min-width: 280px;
}

/* Инпуты */
.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  font-size: 16px;
  background: var(--form-bg);
  transition: box-shadow var(--trans) ease, border-color var(--trans) ease, background var(--trans) ease;
  box-sizing: border-box;
  color: var(--text);
  outline: none;
}

/* Фокус/акцент для инпутов */
.form-input:focus,
.form-input:focus-visible {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(141, 180, 135, 0.10);
}

/* Плейсхолдер */
.form-input::placeholder {
  color: #666;
  opacity: 0.9;
}

/* Radio buttons — структура:
   <label class="radio-label">
     <input class="radio-input" type="radio" name="..." />
     <span class="radio-custom" aria-hidden="true"></span>
     <span class="radio-text">Вариант</span>
   </label>
*/

/* Внешний контейнер радио */
.radio-group {
  display: flex;
  gap: 30px;
  align-items: center;
  height: 52px;
  flex-wrap: wrap;
}

/* Лейбл */
.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

/* Визуальная булочка (контрол) */
.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  position: relative;
  transition: border-color var(--trans) ease, background var(--trans) ease, box-shadow var(--trans) ease;
  display: inline-block;
  box-sizing: border-box;
  flex: 0 0 20px;
}

/* Скрытый, но доступный инпут
   — остаётся фокусируемым и работоспособным клавиатурой/скринридерами */
.radio-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* Состояние отмечено */
.radio-input:checked + .radio-custom {
  border-color: var(--accent);
  background: transparent;
}

/* === Gallery Section === */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Заголовок */
.gallery-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  letter-spacing: 1px;
  line-height: 1.05;
}

.gallery-underline {
  width: 80px;
  height: 4px;
  background: #8db487;
  margin-bottom: 40px;
  border-radius: 2px;
}

/* Сетка карточек — 4 колонки на десктопе */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 -10px; /* нейтральный отступ для карточек */
}

/* Карточка */
.gallery-card {
  box-sizing: border-box;
  padding: 0 0px;
  flex: 0 1 calc(25% - 20px); /* 4 колонки */
  display: flex;
  flex-direction: column;
  background: transparent;
}

/* Обёртка изображения */
.gallery-image {
  width: 100%;
  height: 200px;
  background: #c8d6dc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Элемент <img> внутри .gallery-image (если используете <img>) */
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  vertical-align: middle;
  pointer-events: none;
}

/* Небольшой hover-эффект */
.gallery-card:hover .gallery-image,
.gallery-card:focus-within .gallery-image {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Плейсхолдер текста, если нет картинки */
.photo-placeholder {
  font-size: 24px;
  font-weight: 700;
  color: #94a8ae;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Заголовок и описание карточки */
.gallery-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  text-transform: uppercase;
  line-height: 1.1;
}

.gallery-description {
  font: 400 16px/1.6 "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #282828;
  margin: 0;
}

/* Активные/фокусируемые карточки (доступность) */
.gallery-card a,
.gallery-card button {
  text-decoration: none;
  color: inherit;
  display: block;
}

.gallery-card a:focus-visible,
.gallery-card button:focus-visible {
  outline: 3px solid rgba(138, 180, 135, 0.16);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Responsive */
/* 3 колонки */
@media (max-width: 1100px) {
  .gallery-card { flex: 0 1 calc(33.333% - 20px); }
}

/* 2 колонки */
@media (max-width: 900px) {
  .gallery-card { flex: 0 1 calc(50% - 20px); }
  .gallery-image { height: 180px; }
}

/* 1 колонка (мобильные) */
@media (max-width: 768px) {
  .gallery-card {
    flex: 0 1 100%;
    padding: 0;
  }
  .gallery-image { height: 220px; margin-bottom: 16px; }
  .gallery-title { text-align: center; }
  .gallery-underline { margin-left: auto; margin-right: auto; }
}

/* Уменьшение анимаций для пользователей, которые этого просят */
@media (prefers-reduced-motion: reduce) {
  .gallery-image,
  .gallery-card:hover .gallery-image {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

        .calculate-btn {
            width: 100%;
            padding: 16px 32px;
            background: #32b4d9;
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 18px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .calculate-btn:hover {
            background: black;
        }
	





.flex {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.wrapper
 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

header {
    order: 1;
    -webkit-order: 1;
}

.header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 100;
}

.header__toggle {
    display: none;
}

.header.scrolled .header__top {
    padding: 10px 0;
}

.header__top {
    padding: 25px 0;
    transition: all .3s ease;
}

.header__top .wrapper.flex {
    justify-content: space-between;
}

.header__logo.flex {
    align-items: center;
}

.header__logo img {
    width: 135px;
}

.header__logo span {
    display: block;
    width: 185px;
    font: 400 15px/20px Uni,sans-serif;
    color: #7a7a7a;
    margin-left: 30px;
}

.header__call {
    margin-right: 30px;
}

.header__phone.flex {
    align-items: center;
}

.header__phone img {
    width: 13px;
    margin-right: 7px;
}

.header__phone a {
    color: #212121;
}

.header__info.flex {
    justify-content: flex-end;
    align-items: center;
}

.header .btn {
    width: auto;
    height: 44px;
    padding: 0 30px;
}

.header .btn.yellow {
    background: #25d366;
    margin-left: 15px;
}

.header .btn.yellow:hover {
    background: #508b7e;
}

.navigation_mobile {
    display: none;
}

.navigation {
    background: #f6f6f6;
}

.navigation.scrolled .navigation__link {
    height: 40px;
    line-height: 40px;
}

.navigation.scrolled .tmenu {
    top: 40px;
}

.navigation__box {
    position: relative;
}

.navigation__box.flex {
    justify-content: space-between;
}

.navigation__item {
    display: block;
    padding: 0 0px;
}

.navigation__item:hover .tmenu {
    transform: translateX(0);
    opacity: 1;
    z-index: 5;
}

.navigation__item:hover .tmenu:before {
    z-index: 10;
}

.navigation__item:hover .tmenu__col {
    z-index: 12;
}

.navigation__link {
    display: block;
    height: 60px;
    color: #000;
    transition: all .3s ease;
}

.navigation__link:hover {
    color: #32b4d9;
}

.tmenu {
    width: 100%;
    left: 0;
    top: 100%;
    padding: 45px 0;
    transform: translateX(-200%);
    display: block;
    opacity: 0;
    transition: all .5s ease;
}


.tmenu.flex {
    justify-content: space-between;
}


.tmenu a{
    color: #000;
}
.tmenu a:hover {
    opacity: .6;
    transition: .2s;
}

.tmenu__title {
    display: block;
    font: 900 24px Uni,sans-serif;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tmenu__col {
    position: relative;
    z-index: -1;
    width: 280px;
}

.tmenu__link {
    display: block;
    margin-bottom: 10px;
}

.tmenu__link span {
    text-decoration: underline;
    font: 400 16px/24px Uni,sans-serif;
}

	.header__call p
 {
     margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
	margin-block-start: 0em;
  }

@media screen and (min-width: 768px) and (max-width:991px) {
    .navigation__item {
        padding: 0;
    }

    .navigation__link {
        font-size: 16px;
        line-height: 50px;
        height: 50px;
    }

    .header__logo span {
        width: 155px;
        line-height: 17px;
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .header__top .wrapper.flex {
        align-items: center;
    }

    .header__info.flex {
        justify-content: center;
    }

    .header__call {
        margin: 10px auto;
        text-align: center;
    }

    .header .btn, .header .btn.yellow {
        margin: 5px auto;
    }

    .header__logo img {
        width: 100px;
    }

    .header__logo span {
        display: none;
        width: 170px;
        margin-left: 10px;
        font-size: 14px;
        line-height: 16px;
    }

    .header__info.flex {
        display: none;
    }

}

    .header__toggle {
        display: block;
        width: 32px;
        height: 22px;
        position: relative;
        transition: .5s ease-in-out;
        cursor: pointer;
    }

    .header__toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #000;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

    .header__toggle span:first-child {
        top: 0;
    }

    .header__toggle span:nth-child(2) {
        top: 9px;
    }

    .header__toggle span:nth-child(3) {
        top: 18px;
    }

    .header__phone.flex {
        justify-content: center;
    }

    .navigation_desktop {
        display: none;
    }

    .navigation_mobile {
        display: block;
    }

    .navigation {
        background: #fff;
        margin-top: 15px;
    }

    .navigation.scrolled .navigation__link {
        line-height: 30px;
        height: 30px;
    }

    .navigation__item {
        width: 100%;
        text-align: center;
    }

    .navigation__link {
        font: 900 16px/30px Uni,sans-serif;
        height: 30px;
    }

    .tmenu {
        display: none !important;
    }
}


.calc {
    padding: 0px 0;
}

.calc__type {
    border: 1px solid #d6d6d6;
    border-radius: 50px;
    margin-bottom: 35px;
}

.calc__type.flex {
    justify-content: space-between;
    align-items: center;
}

.calc__typeitem {
    width: 16%;
    text-align: center;
    height: 40px;
    font: 900 16px Uni,sans-serif;
    color: #000;
    border-radius: 50px;
    cursor: pointer;
}

.calc__typeitem.active {
    background: #32b4d9;
    color: #fff;
}

.calc__typeitem.flex {
    justify-content: center;
    align-items: center;
}

.calc__typeitem input {
    display: none;
}

.calc__itembox.flex {
    justify-content: space-between;
}

.calc__item {
    width: 360px;
    margin-bottom: 30px;
}

.calc__item p {
    font: 900 16px Uni,sans-serif;
    color: #000;
    margin-bottom: 15px;
}

.calc__input {
    width: 100%;
    height: 50px;
    background: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 50px;
}

.calc__input input {
    width: 260px;
    border: 0;
    border-radius: 50px;
    background: 0 0;
    padding: 0 30px;
}

.calc__input input, .calc__input span {
    height: 100%;
    font: 400 15px Uni,sans-serif;
    color: #000;
}

.calc__input span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 98px;
    border-left: 1px solid #d6d6d6;
}

.calc__select {
    width: 100%;
    height: 50px;
    background: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    z-index: 2;
}

.calc__select.active {
    z-index: 3;
}

.calc__list {
    width: 100%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 48px;
    border: 1px solid #d6d6d6;
    display: none;
    z-index: 3;
}

.calc__option {
    width: 100%;
    height: 50px;
    font: 400 15px Uni,sans-serif;
    color: #000;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 30px;
    border: 0;
    border-bottom: 1px solid #d6d6d6;
}

.calc__option:hover {
    background: #f1f1f1;
}

.calc__option:last-child {
    border-bottom: 0;
}

.calc__option_main {
    position: relative;
    border: 0;
}

.calc__option_main:hover {
    background: 0 0;
}

.calc__option_main:before {
    content: "";
    width: 14px;
    height: 9px;
    background: url("/tpl/images/more.png") 50% no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
}

.calc__res {
    padding: 40px 50px;
    background: #fff;
    box-shadow: 0 10px 30px 0 rgba(0,0,0,.15);
}

.calc__res.flex {
    justify-content: space-between;
    align-items: stretch;
}

.calc__resbox {
    width: 635px;
}

.calc__resbox p {
    font: 400 20px Uni,sans-serif;
    color: #000;
    margin-bottom: 25px;
}

.calc__resbox p span {
    font-size: 30px;
    font-weight: 900;
}

.calc__resbox p.sm-margin {
    margin-bottom: 15px;
}

.calc__table {
    width: 100%;
}

.calc__row {
    width: 100%;
    background: #f3f3f3;
    padding: 11px 0;
    border-bottom: 1px solid #d6d6d6;
}

.calc__row:nth-child(2n) {
    background: #fff;
}

.calc__row:first-child {
    border-top: 1px solid #d6d6d6;
}

.calc__row.flex {
    justify-content: space-between;
}

.calc__col {
    font: 400 17px Uni,sans-serif;
    color: #000;
}

.calc__col_1 {
    width: 480px;
    padding: 0 20px;
}

.calc__col_2 {
    width: 155px;
    font-weight: 900;
    text-align: center;
}

.calc__zakaz {
    width: 380px;
    padding: 20px 35px;
    background: #f3f3f3;
}

.calc__zakaz.flex {
    align-items: center;
    justify-content: center;
}

.calc__zakaz span {
    display: block;
    text-align: center;
    font: 900 20px Uni,sans-serif;
    color: #000;
    margin-bottom: 10px;
}

.calc__zakaz p {
    text-align: center;
    font: 400 16px/24px Uni,sans-serif;
    color: #000;
    margin-bottom: 15px;
}

.calc__btn {
    width: 240px;
    height: 65px;
    color: #000;
    font-size: 15px;
}

.calc__order {
    margin-top: 20px;
}

.tmenu.flex {
    justify-content: space-between;
    display: flex;
}

.gallery{padding:40px 0 70px}

figure {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 10px;
    margin-inline-end: 10px;
    unicode-bidi: isolate;
}

.gallery{padding:40px 0 70px}
  /* container 1200px for this block only */
  .gallery .container{max-width:1200px;margin:0 auto;padding:0 12px}

  .gwrap{display:grid;grid-template-columns:repeat(12,1fr);gap:12px;align-items:center}

  /* compact arrows */
  .garr{width:55px;height:55px;align-self:center;justify-self:center;border:1px solid #38b5c6;background:#fff;border-radius:999px;color:#38b5c6;font-size:18px;line-height:36px;text-align:center;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.05);transition:background .15s,border-color .15s,transform .15s}
  .garr:hover{background:#fff7e9;border-color:#efc07a}
  .garr:active{transform:scale(.96)}
  .gprev{grid-column:1}
  .gnext{grid-column:12}

  .gviewport{grid-column:2 / span 10; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding:2px; overscroll-behavior-x:contain; scrollbar-width:none; -ms-overflow-style:none} .gviewport::-webkit-scrollbar{display:none} 

  /* Slide = grid 10 cols × 2 rows; item spans 2 cols => 5 в ряд */


/* Slide = grid 3 cols; при 9 картинках получаем 3×3 */
.gslide{
  display:grid;
  grid-template-columns:repeat(3, 1fr); /* 3 колонки */
  gap:10px;
  padding:0;
  scroll-snap-align:start;
}

/* убираем span 2, он нам больше не нужен */
.gitem{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:#f6f8fb;
  /* grid-column: span 2;  <- удалить/убрать */
}

.gitem img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}


  /* Lightbox */
  .glightbox{border:none;padding:0;width:min(96vw,1200px);height:min(92vh,820px);background:#0b0f14;color:#fff}
  .glightbox::backdrop{background:rgba(4,9,16,.6)}
  .gframe{margin:0;position:relative;width:100%;height:100%;display:grid;grid-template-rows:1fr auto}
  #gviewer{width:100%;height:100%;object-fit:contain;background:#0b0f14}
  #gcaption{padding:10px 16px 16px;color:#c9d4df;font:500 14px/1.4 Inter,system-ui,sans-serif}
  .gclose,.gprev2,.gnext2{position:absolute;z-index:2;border:0;width:40px;height:40px;border-radius:50%;background:#ffffff22;color:#fff;font-size:22px;line-height:40px;text-align:center;cursor:pointer}
  .gclose{top:10px;right:10px}
  .gprev2{left:10px;top:calc(50% - 20px)}
  .gnext2{right:10px;top:calc(50% - 20px)}
  .gclose:hover,.gprev2:hover,.gnext2:hover{background:#ffffff33}

  /* Adaptive */
  @media (max-width: 1100px){
    .gwrap{grid-template-columns:repeat(8,1fr)}
    .gprev{grid-column:1}.gnext{grid-column:8}.gviewport{grid-column:2 / span 6}
    .gslide{grid-template-columns:repeat(8,1fr)} /* 4 в ряд */
    .gitem{grid-column: span 2}
		.hero-feature {
    max-width: fit-content;
}
  }
  @media (max-width: 700px){
    .gwrap{grid-template-columns:repeat(6,1fr)}
    .gprev{grid-column:1}.gnext{grid-column:6}.gviewport{grid-column:2 / span 4}
    /* 4 карточки в колонку на экран */
    .gslide{grid-template-columns:1fr; grid-template-rows:repeat(4, 1fr); gap:12px;}
    .gitem{grid-column:auto}
    .garr{min-height:120px}
    .gprev{grid-column:1}.gnext{grid-column:6}.gviewport{grid-column:2 / span 4}
    .gslide{grid-template-columns:repeat(4,1fr)} /* 2 в ряд на маленьких */
    .gitem{grid-column: span 2}
  }
  @media (max-width: 460px){
    .gwrap{grid-template-columns:repeat(4,1fr)}
    .gprev{grid-column:1}.gnext{grid-column:4}.gviewport{grid-column:2 / span 2}
    .gslide{grid-template-columns:1fr; grid-template-rows:repeat(4, 1fr); gap:12px;}
    .gitem{grid-column:auto}
    .garr{min-height:100px}
    .gprev{grid-column:1}.gnext{grid-column:4}.gviewport{grid-column:2 / span 2}
    .gslide{grid-template-columns:repeat(2,1fr)} /* 1 в ряд — 2 ряда */
    .gitem{grid-column: span 2}
  }
  
 @media screen and (min-width: 768px) and (max-width:991px) {
	  
	.header {
        padding: 0 20px;
    }
	
    .navigation__item {
        padding: 0;
    }

    .navigation__link {
        font-size: 16px;
        line-height: 50px;
        height: 50px;
    }

    .header__logo span {
        width: 155px;
        line-height: 17px;
        display: none;
    }
	
	.hero-feature {
    max-width: fit-content;
}
}

@media screen and (max-width: 767px) {
	
	.header {
        padding: 0 20px;
    }
	
	.hero-section {
    padding: 0 20px !important;
    margin-top: 80px;
}

.hero-left {
    max-width: 100%;
}

.palette2 .btn {
 width: auto !important;
}
.palette {
    margin-bottom: 15px;
}

    table, tbody, tr, td {
        display: block;
        width: 100%;
        overflow: clip;
        padding-bottom: 10px;
    }
    
.hero-feature {
        max-width: min-content;
    }
    
      .tbody tr {
        padding-bottom: 15px;
    }
    

    
    .header__top .wrapper.flex {
        align-items: center;
    }

    .header__info.flex {
        justify-content: center;
    }

    .header__call {
        margin: 10px auto;
        text-align: center;
    }

    .header .btn, .header .btn.yellow {
        margin: 5px auto;
    }

    .header__logo img {
        width: 100px;
    }

    .header__logo span {
        display: none;
        width: 170px;
        margin-left: 10px;
        font-size: 14px;
        line-height: 16px;
    }

    .header__info.flex {
        display: none;
    }

    .header__toggle {
        display: block;
        width: 32px;
        height: 22px;
        position: relative;
        transition: .5s ease-in-out;
        cursor: pointer;
    }

    .header__toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #000;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

    .header__toggle span:first-child {
        top: 0;
    }

    .header__toggle span:nth-child(2) {
        top: 9px;
    }

    .header__toggle span:nth-child(3) {
        top: 18px;
    }

    .header__phone.flex {
        justify-content: center;
    }

    .navigation_desktop {
        display: none;
    }

    .navigation_mobile {
        display: block;
    }

    .navigation {
        background: #fff;
        margin-top: 15px;
    }

    .navigation.scrolled .navigation__link {
        line-height: 30px;
        height: 30px;
    }

    .navigation__item {
        width: 100%;
        text-align: center;
    }

    .navigation__link {
        font: 900 16px/30px Uni,sans-serif;
        height: 30px;
    }

    .tmenu {
        display: none !important;
    }
}

html.lock-scroll { overflow: hidden; }

.burger{inline-size:40px;z-index: 999; block-size:40px; border:1px solid #ddd; border-radius:10px;
  background:#fff; display:grid; place-items:center; cursor:pointer}
.burger__bar{inline-size:18px; block-size:2px; background:#333; position:relative}
.burger__bar::before,.burger__bar::after{content:""; position:absolute; left:0; inline-size:18px; block-size:2px; background:#333}
.burger__bar::before{transform:translateY(-6px)} .burger__bar::after{transform:translateY(6px)}

.mobile-menu{position:fixed; inset-block-start:0; inset-inline:0 0;
  block-size:100dvh; inline-size:min(420px, 100%); margin-inline-start:auto;
  background:#fff; transform:translateX(100%); transition:transform .25s ease; box-shadow:-8px 0 24px rgba(0,0,0,.1); overflow:auto; z-index: 9; padding:20px}
.mobile-menu.is-open{transform:translateX(0)}

.menu-backdrop{position:fixed; inset:0; background:rgba(0,0,0,.2)}
.menu-backdrop[hidden]{display:none}

@media screen and (max-width: 767px) {
    .border {
        margin: 15px 0 20px;
    }

    .banner {
        margin-top: 82px;
    }

    .banner, .banner__slide {
        min-height: 350px;
    }

    .banner__slide div {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .banner .slick-prev {
        left: 15px;
        margin-left: 0;
    }

    .banner .slick-dots {
        left: 62px;
        margin-left: 0;
    }

    .banner .slick-next {
        right: auto;
        left: 145px;
        margin-left: 0;
        margin-right: 0;
    }

    .btn {
        width: 240px;
        height: 50px;
    }

    a.btn {
        line-height: 50px;
    }

    .title span {
        font-size: 22px;
    }

    .title__before {
        top: 40px;
        transform: none;
        font-size: 26px;
    }

    .calc, .prod {
        padding: 0px 0;
    }

    .calc__type {
        border: 0;
    }

    .calc__typeitem {
        width: 100%;
    }

    .calc__input input {
        width: calc(100% - 100px);
    }

    .calc__item {
        margin-bottom: 20px;
    }

    .calc__res {
        padding: 20px;
    }

    .calc__resbox {
        width: 100%;
        margin-bottom: 20px;
    }

    .calc__resbox p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .calc__resbox p span {
        font-size: 24px;
    }

    .calc__col {
        font-size: 15px;
        padding: 0 10px;
    }

    .calc__col_1 {
        width: 60%;
    }

    .calc__col_2 {
        width: 40%;
        text-align: right;
    }

    .section {
        padding: 50px 0;
    }

    .section__title {
        font-size: 25px;
    }

    .section__text {
        font-size: 16px;
    }

    .section__form {
        width: 100%;
        height: auto;
        background: 0 0;
    }

    .section__form.flex {
        justify-content: center;
    }

    .section__form input {
        width: 280px;
        height: 50px;
        margin-bottom: 15px;
    }

    .section__form button {
        height: 50px;
    }

    .section__form_2 {
        height: auto;
        width: 100%;
    }

    .section__form_2.flex {
        justify-content: center;
    }

    .section__form_2 input {
        margin-bottom: 15px;
    }

    .section__form_2 button, .section__form_2 input {
        width: 280px;
        height: 50px;
    }

    .section__form_3 {
        height: auto;
        width: 100%;
    }

    .section__form_3.flex {
        justify-content: center;
    }

    .section__form_3 input {
        margin-bottom: 15px;
    }

    .section__form_3 button, .section__form_3 input {
        width: 280px;
        height: 50px;
    }

    .company {
        padding: 40px 0;
    }

    .company__item {
        width: 48%;
        margin-bottom: 20px;
    }

    .company__number {
        font-size: 36px;
    }

    .company__line {
        display: none;
    }

    .company__text {
        font-size: 14px;
        line-height: 20px;
    }

    .adva {
        padding: 40px 0;
    }

    .adva__box {
        margin-top: 0;
    }

    .adva__item {
        width: 100%;
        margin-bottom: 15px;
    }

    .proj {
        padding: 40px 0;
    }

    .proj__item {
        margin-bottom: 20px;
    }

    .comment {
        padding: 40px 0;
    }

    .comment__slider .slick-prev {
        margin-left: -105px;
    }

    .comment__slider .slick-next {
        margin-right: -105px;
    }

    .sheme {
        padding: 40px 0;
    }

    .sheme__item {
        width: 100%;
        background: 0 0;
        padding: 20px 30px;
    }

    .modal-cont {
        width: 300px;
        margin-left: -150px;
    }

    .modal__container {
        padding: 35px 30px 30px;
    }

    .modal__container h2 {
        font-size: 22px;
    }

    .modal__form {
        margin-top: 20px;
    }

    .modal__form input {
        width: 100%;
        height: 45px;
        margin-bottom: 15px;
    }

    .modal__form .btn {
        height: 45px;
    }

    .modal-close {
        right: 14px;
        top: 14px;
    }

    .breadcrumbs a {
        font-size: 12px;
    }

    .banner2 {
        margin-top: 82px;
    }

    .banner2__box {
        padding: 40px 0 50px;
    }

    .banner2__box div, .banner2__box h1 {
        font-size: 24px;
    }

    .about {
        padding: 25px 0;
    }

    .about__text {
        font: 400 15px/24px Uni,sans-serif;
    }

    .gallery {
        padding: 30px 0 20px;
    }

    .gallery__item {
        width: 48%;
        height: 130px;
        margin: 0 1% 15px;
    }

    .price {
        padding: 30px 0;
    }

    .price__tabletitle {
        font-size: 16px;
    }

    .price__td, .price__th {
        font-size: 14px;
    }

    .price__td {
        width: 50%;
    }

    .price__td_2.bigp {
        padding-left: 15px;
    }

    .price-table {
        table-layout: auto;
    }

    .price-table td, .price-table th {
        font-size: 12px;
        padding: 7px 10px;
    }

    .price-table th:first-child {
        width: 28%;
    }

    .dopmore {
        padding: 30px 0 10px;
    }

    .dopmore__item {
        width: 100%;
        margin-bottom: 30px;
    }

    .dopmore__img {
        height: 200px;
    }

    .colors {
        padding: 30px 0 15px;
    }

    .colors__tabs {
        margin-bottom: 25px;
    }

    .colors__item {
        width: 48%;
        margin-bottom: 20px;
    }

    .instr {
        padding: 30px 0;
    }

    .instr__title {
        margin-bottom: 20px;
    }

    .instr__title img {
        width: 30px;
    }

    .instr__title span {
        width: calc(100% - 50px);
        font-size: 24px;
    }

    .instr__col {
        width: 100%;
    }

    .instr__number {
        width: 50px;
    }

    .instr__text {
        width: calc(100% - 50px);
    }

    .instr__step, .instr__steps {
        margin-bottom: 20px;
    }

    .textbl {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .textbl ol, .textbl p, .textbl ul {
        font-size: 15px;
        line-height: 22px;
    }

    .objects {
        padding: 30px 0;
    }

    .objects__tabs.flex {
        flex-wrap: wrap;
    }

    .objects__tab {
        width: 48%;
        font-size: 14px;
    }

    .objects__tab br {
        display: none;
    }

    .objects__btn {
        margin-top: 0;
    }

    .address {
        padding: 30px 0 10px;
    }

    .address__col {
        width: 100%;
        margin-bottom: 20px;
    }

    .address__title {
        margin-bottom: 15px;
        font-size: 20px;
    }

    .address__item {
        padding-bottom: 10px;
        margin-bottom: 30px;
    }

    .feedback {
        padding: 30px 0;
    }

    .feedback__tabs {
        margin-bottom: 25px;
    }

    .feedback__tab {
        font-size: 14px;
    }

    .feedback__form {
        padding: 15px 20px;
        margin-bottom: 25px;
    }

    .feedback__col_1, .feedback__input, .feedback__inputs {
        margin-bottom: 15px;
    }

    .feedback__col_1, .feedback__col_2 {
        width: 100%;
    }

    .feedback__rate {
        margin-bottom: 15px;
    }

    .feedback__btn {
        width: 170px;
        margin-right: 10px;
    }

    .feedback__name {
        margin: 7px 0;
        font-size: 20px;
    }

    .feedback__images.flex {
        justify-content: space-between;
    }

    .feedback__image {
        width: 48%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .feedback__item {
        padding-bottom: 20px;
        margin-bottom: 10px;
    }

    .feedback__asw {
        margin-top: 15px;
        padding: 10px 15px 1px;
        width: calc(100% - 20px);
    }

    .feedback__asw:before {
        z-index: 1;
        left: -20px;
    }

    .feedback__text p {
        font-size: 16px;
        line-height: 24px;
    }

    .feedback__title {
        position: relative;
        z-index: 2;
    }

    .work {
        padding: 30px 0 15px;
    }

    .work__item {
        width: 100%;
        margin-bottom: 25px;
    }

    .aboutprog {
        padding: 30px 0 10px;
    }

    .aboutprog__image {
        width: 70px;
        height: 70px;
        margin-right: 15px;
    }

    .aboutprog__item {
        width: 100%;
        margin-bottom: 20px;
    }

    .aboutprog__text {
        width: calc(100% - 85px);
    }

    .aboutprog__text p {
        font-size: 15px;
        line-height: 22px;
    }

    .whom {
        padding: 30px 0 20px;
    }

    .whom__border {
        display: none;
    }

    .whom__item {
        width: 50%;
        margin-bottom: 15px;
    }

    .dogovor {
        padding: 20px 0 30px;
    }

    .dogovor__image {
        position: relative;
        width: 100%;
        top: 0;
        left: -3%;
    }

    .dogovor__info {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .dogovorinfo__image {
        display: none;
    }

    .dogovorinfo__info {
        width: 100%;
        margin-left: 0;
    }

    .dogovorinfo__box {
        padding: 30px 0;
    }

    .dogovorinfo__text {
        font-size: 22px;
    }

    .dogovorinfo__phone {
        margin-bottom: 20px;
    }

    .dogovorinfo__phone img {
        width: 19px;
    }

    .dogovorinfo__phone a {
        font-size: 22px;
    }

    .quiz {
        padding: 30px 0;
    }

    .quiz__ques {
        margin-bottom: 30px;
    }

    .quiz__coloritem {
        width: 48%;
    }

    .project {
        padding: 40px 0;
    }

    .project__slider {
        width: 100%;
        margin-bottom: 50px;
    }

    .project__col {
        padding: 8px 12px;
        font-size: 15px;
    }

    .project__info {
        width: 100%;
    }

    .project__info h3 {
        font-size: 24px;
    }

    .project__btns.flex {
        justify-content: space-around;
    }

    .project__btn {
        margin-bottom: 15px;
    }

    .project__desc {
        margin-top: 15px;
    }

    .project__desc h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .project__desc p {
        font-size: 16px;
        line-height: 24px;
    }

    .cities li {
        width: 50%;
    }
}

@media (max-width: 600px) {
    .price__td {
        padding: 9px 5px;
    }

    .price__td_1 {
        flex: 1;
        width: 100%;
    }

    .price__td_1 span:first-child {
        width: 70px;
    }

    .price__td_1 span:last-child {
        width: auto;
    }

    .price__td_2.bigp {
        max-width: 40%;
        padding-left: 15px;
    }
}

@media (max-width: 479px) {
    .calc__zakaz, .cities li {
        width: 100%;
    }
}

@media (max-width: 350px) {
    .header__logo span {
        display: none;
    }
}


@media (max-width: 768px) {
    section{padding:0px 0; margin-bottom: 0px;}
	.gallery-section {padding: 0px 20px;}
	.h2 {  margin: 20px 0;}
	.service-title {
    margin-bottom: 0px;
    line-height: 1;
    min-height: auto;
}

.service-card {

    padding: 0px 20px;

}

     .hero-section {
        padding: 0 20px !important;
        display: flex;
        margin-top: 80px !important;
    }
    
.wrap {
    width: auto;
    padding: 2% 0px;
    margin: 0px auto;
}

 

    .palette2 .btn {
        width: auto !important;
        min-width: 90%;
    }

} 



@media (max-width: 460px) {
    .gwrap {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 640px) {
  .gwrap.g--mobile .gviewport { overflow: hidden; }
  .gwrap.g--mobile #gTrack {
    display: flex;
    transition: transform .35s ease;
    will-change: transform;
  }
  .gwrap.g--mobile .gslide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr; /* одна колонка */
    gap: 12px;
    padding: 8px 0;
  }
  .gwrap.g--mobile .gitem { width: 100%; margin: 0; }
  .gwrap.g--mobile .gitem img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
	border-left: 10px solid #fff;
	border-right: 10px solid #fff;
  }
}

/* Спрятать лишние текстовые узлы (`]]`) после span */
.sticker { 
  font-size: 0;              /* скрывает голые текстовые узлы */
  line-height: 0;            /* на всякий случай убираем высоту у них же */
}

.sticker .badge {
  font-size: 1rem;           /* вернули нормальный размер для содержимого */
  line-height: 1.25;         /* и нормальную высоту строки */
}

.calc, .navigation {
    background: #fff;
}

.tab-col p {
    margin-bottom: 8px;
}

.seo p {
    margin-bottom: 8px;
}

.price {
    background: none;
    padding: 0;
}

.calc__input span {
    background: none;
}

.glightbox {
    border: none;
    padding: 0;
    width: min(96vw, 1200px);
    height: min(92vh, 820px);
    background: #0b0f14;
    color: #fff;
    margin: auto;
    max-height: fit-content;
}

.gframe {
    margin: 0;
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
}

.hero-cta {
    padding: 16px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    width: 47%;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    background: #25d366;
    color: #fff;
}

  .seo--spoiler .seo__short{position:relative; overflow:hidden;}
  .seo--spoiler .seo__fade{
    content:""; position:absolute; left:0; right:0; bottom:0; height:3.5rem;
    background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events:none;
  }
  .seo__toggle{
    display:inline-block; margin-top:.5rem; border:1px solid #e0e4ea; border-radius:8px;
    padding:.5rem .9rem; background:#fff; cursor:pointer; font:inherit;
  }
  .seo__toggle[aria-expanded="true"]{background:#f6f7f9}
  
  
.calc__input span {
    width: auto !important;}
  

/* ==== FIX: галерея 3×3 на экран ==== */

/* окно прокрутки */
.gviewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gviewport::-webkit-scrollbar {
  display: none;
}

/* лента слайдов */
.gtrack {
  display: flex;              /* вместо grid с auto-flow */
  gap: 0;
}

/* один слайд = ширина окна, внутри сетка 3×3 */
.gslide {
  flex: 0 0 100%;             /* 1 слайд = 100% ширины viewport */
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));  /* 3 колонки */
  gap: 24px;
}

/* карточка картинки */
.gitem {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f6f8fb;
  grid-column: auto;          /* сбиваем старое grid-column: span 2 */
}

.gitem img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gclose {
    top: 10px;
    background: #32b4d9 !important;
}

/* декабрьские правки */

@media screen and (max-width: 767px) {

    .hero-section {
        padding: 0 20px !important;
        display: flex;
        margin-top: 80px !important;
    }

    .palette2 .btn {
        width: auto !important;
        min-width: 90%;
    }
    
    .calc__item {
    width: 90%;
    margin: 0px auto;
    margin-bottom: 30px;
}
    .tl {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 18px;
    }
}


 
#nsTrack {
  touch-action: pan-y;
}