/* ===== CSS VARIABLES ===== */
:root {
--color-bg: #FAFAF8;
--color-bg-alt: #F2F0EC;
--color-bg-dark: #1C1917;
--color-text: #292524;
--color-text-light: #78716C;
--color-text-white: #FAFAF8;
--color-accent: #B45309;
--color-accent-hover: #92400E;
--color-accent-light: #FEF3C7;
--color-border: #E7E5E4;
--color-card: #FFFFFF;
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 24px;
--max-width: 1200px;
--transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
background-color: var(--color-bg);
color: var(--color-text);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

img {
max-width: 100%;
height: auto;
display: block;
}

a {
text-decoration: none;
color: inherit;
}

/* ===== UTILITY CLASSES ===== */
.container {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 24px;
}

.section {
padding: 80px 0;
}

.section-alt {
background-color: var(--color-bg-alt);
}

.section-dark {
background-color: var(--color-bg-dark);
color: var(--color-text-white);
}

.text-center {
text-align: center;
}

/* ===== TYPOGRAPHY ===== */
.section-label {
display: inline-block;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--color-accent);
margin-bottom: 16px;
}

.section-title {
font-size: clamp(28px, 4vw, 44px);
font-weight: 700;
line-height: 1.15;
margin-bottom: 16px;
color: var(--color-text);
}

.section-dark .section-title {
color: var(--color-text-white);
}

.section-subtitle {
font-size: clamp(16px, 2vw, 20px);
font-weight: 400;
color: var(--color-text-light);
line-height: 1.5;
max-width: 700px;
}

.section-dark .section-subtitle {
color: #A8A29E;
}

/* ===== BUTTONS ===== */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 14px 32px;
font-size: 15px;
font-weight: 600;
font-family: inherit;
border: none;
border-radius: var(--radius-md);
cursor: pointer;
transition: var(--transition);
text-align: center;
gap: 8px;
}

.btn-primary {
background-color: var(--color-accent);
color: #FFFFFF;
box-shadow: var(--shadow-md);
}

.btn-primary:hover {
background-color: var(--color-accent-hover);
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}

.btn-secondary {
background-color: transparent;
color: var(--color-text);
border: 2px solid var(--color-border);
}

.btn-secondary:hover {
border-color: var(--color-accent);
color: var(--color-accent);
transform: translateY(-2px);
}

.btn-white {
background-color: #FFFFFF;
color: var(--color-text);
box-shadow: var(--shadow-md);
}

.btn-white:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
background-color: var(--color-bg);
}

.btn-outline-white {
background-color: transparent;
color: #FFFFFF;
border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
background-color: rgba(255,255,255,0.1);
border-color: #FFFFFF;
transform: translateY(-2px);
}

.btn-group {
display: flex;
flex-wrap: wrap;
gap: 12px;
}

/* ===== CARDS ===== */
.card {
background: var(--color-card);
border-radius: var(--radius-lg);
padding: 32px;
box-shadow: var(--shadow-md);
transition: var(--transition);
border: 1px solid var(--color-border);
}

.card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-xl);
}

.card-image {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: var(--radius-md);
margin-bottom: 24px;
}

.card-title {
font-size: 20px;
font-weight: 700;
margin-bottom: 12px;
color: var(--color-text);
}

.card-text {
font-size: 15px;
color: var(--color-text-light);
line-height: 1.65;
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
}

.grid-3 {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
}

.grid-4 {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}

/* ===== HEADER ===== */
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(250, 250, 248, 0.92);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--color-border);
transition: var(--transition);
}

.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 72px;
}

.logo {
display: flex;
align-items: center;
gap: 12px;
font-weight: 800;
font-size: 18px;
color: var(--color-text);
letter-spacing: -0.02em;
}

.logo-icon {
width: 40px;
height: 40px;
background: var(--color-accent);
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
color: #FFF;
font-size: 14px;
font-weight: 800;
}

.nav {
display: flex;
gap: 32px;
}

.nav a {
font-size: 14px;
font-weight: 500;
color: var(--color-text-light);
transition: var(--transition);
position: relative;
}

.nav a:hover {
color: var(--color-text);
}

.nav a::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: var(--color-accent);
transition: width 0.3s ease;
}

.nav a:hover::after {
width: 100%;
}

.header-contact {
display: flex;
align-items: center;
gap: 16px;
}

.header-phone {
font-size: 14px;
font-weight: 600;
color: var(--color-text);
}

.burger {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: 8px;
}

.burger span {
display: block;
width: 24px;
height: 2px;
background: var(--color-text);
transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
overflow: hidden;
padding-top: 72px;
}

.hero-bg {
position: absolute;
inset: 0;
z-index: 0;
}

.hero-bg img {
width: 100%;
height: 100%;
object-fit: cover;
}

.hero-bg::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(28,25,23,0.85) 0%, rgba(28,25,23,0.5) 50%, rgba(28,25,23,0.3) 100%);
}

.hero-content {
position: relative;
z-index: 1;
max-width: 800px;
padding: 60px 0;
}

.hero-label {
display: inline-block;
padding: 6px 16px;
background: rgba(180, 83, 9, 0.2);
border: 1px solid rgba(180, 83, 9, 0.4);
border-radius: 100px;
font-size: 13px;
font-weight: 600;
color: #FCD34D;
margin-bottom: 24px;
text-transform: uppercase;
letter-spacing: 0.05em;
}

.hero-title {
font-size: clamp(36px, 5vw, 64px);
font-weight: 800;
line-height: 1.1;
color: #FFFFFF;
margin-bottom: 20px;
letter-spacing: -0.02em;
}

.hero-subtitle {
font-size: clamp(16px, 2vw, 22px);
font-weight: 400;
color: rgba(255,255,255,0.85);
line-height: 1.5;
margin-bottom: 24px;
}

.hero-text {
font-size: 16px;
color: rgba(255,255,255,0.7);
line-height: 1.7;
margin-bottom: 40px;
max-width: 640px;
}

.hero-joint {
position: absolute;
right: 5%;
bottom: 10%;
width: 280px;
height: 280px;
z-index: 1;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-xl);
border: 3px solid rgba(255,255,255,0.15);
}

.hero-joint img {
width: 100%;
height: 100%;
object-fit: cover;
}

/* ===== FEATURE ICONS ===== */
.feature-icon {
width: 56px;
height: 56px;
background: var(--color-accent-light);
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
font-size: 24px;
}

.feature-icon svg {
width: 28px;
height: 28px;
stroke: var(--color-accent);
fill: none;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}

/* ===== ADVANTAGE BLOCK ===== */
.advantage-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 64px;
align-items: center;
}

.advantage-image {
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-lg);
}

.advantage-image img {
width: 100%;
height: auto;
}

/* ===== SOLUTION CARDS ===== */
.solution-card {
background: var(--color-card);
border-radius: var(--radius-lg);
padding: 40px 32px;
box-shadow: var(--shadow-md);
transition: var(--transition);
border: 1px solid var(--color-border);
text-align: center;
}

.solution-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-xl);
}

.solution-icon {
width: 72px;
height: 72px;
background: var(--color-accent-light);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 24px;
}

.solution-icon svg {
width: 32px;
height: 32px;
stroke: var(--color-accent);
fill: none;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}

.solution-title {
font-size: 20px;
font-weight: 700;
margin-bottom: 16px;
}

.solution-text {
font-size: 15px;
color: var(--color-text-light);
line-height: 1.65;
}

.solution-badge {
display: inline-block;
padding: 4px 14px;
border-radius: 100px;
font-size: 12px;
font-weight: 700;
margin-bottom: 16px;
}

.badge-econom {
background: #DCFCE7;
color: var(--color-success);
}

.badge-premium {
background: var(--color-accent-light);
color: var(--color-accent);
}

.badge-rent {
background: #DBEAFE;
color: #1D4ED8;
}

/* ===== MODULE INFOGRAPHIC ===== */
.module-visual {
display: flex;
align-items: flex-end;
justify-content: center;
gap: 0;
margin-top: 48px;
padding: 40px;
background: var(--color-card);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
}

.module-block {
background: linear-gradient(180deg, #D4A574 0%, #B45309 100%);
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
padding: 16px 8px;
color: #FFF;
font-weight: 700;
font-size: 13px;
position: relative;
transition: var(--transition);
}

.module-block:hover {
filter: brightness(1.1);
}

.module-block-6m {
width: 120px;
height: 160px;
}

.module-block-9m {
width: 120px;
height: 200px;
}

.module-block-12m {
width: 120px;
height: 240px;
}

.module-block-15m {
width: 120px;
height: 280px;
}

.module-dim {
position: absolute;
top: -30px;
font-size: 12px;
color: var(--color-text-light);
font-weight: 600;
white-space: nowrap;
}

.module-connector {
width: 24px;
height: 4px;
background: var(--color-border);
align-self: flex-end;
margin-bottom: 80px;
}

.module-connector::after {
content: '';
display: block;
width: 100%;
height: 16px;
background: var(--color-border);
margin-top: 4px;
border-radius: 2px;
}

/* ===== LEGAL SECTION ===== */
.legal-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 64px;
align-items: center;
}

.legal-visual {
background: var(--color-card);
border-radius: var(--radius-lg);
padding: 48px;
box-shadow: var(--shadow-lg);
text-align: center;
}

.legal-visual svg {
width: 120px;
height: 120px;
stroke: var(--color-accent);
fill: none;
stroke-width: 1.5;
}

.legal-zones {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 24px;
}

.zone-tag {
padding: 6px 16px;
background: var(--color-accent-light);
border-radius: 100px;
font-size: 13px;
font-weight: 600;
color: var(--color-accent);
}

/* ===== CHECKLIST ===== */
.checklist {
list-style: none;
padding: 0;
}

.checklist li {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 12px 0;
font-size: 15px;
color: var(--color-text);
border-bottom: 1px solid var(--color-border);
}

.checklist li:last-child {
border-bottom: none;
}

.check-icon {
width: 24px;
height: 24px;
min-width: 24px;
background: var(--color-accent);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-top: 2px;
}

.check-icon svg {
width: 14px;
height: 14px;
stroke: #FFF;
fill: none;
stroke-width: 3;
stroke-linecap: round;
stroke-linejoin: round;
}

.section-dark .checklist li {
color: var(--color-text-white);
border-bottom-color: rgba(255,255,255,0.1);
}

/* ===== PRICE — без контейнера: цифры на фоне страницы ===== */
.price-tag {
display: flex;
align-items: baseline;
gap: 6px;
width: fit-content;
padding: 0;
background: none;
border-radius: 0;
margin: 24px 0;
}

.price-value {
font-size: 40px;
font-weight: 800;
line-height: 1;
letter-spacing: -.02em;
color: var(--color-accent);
}

.price-unit {
font-size: 18px;
font-weight: 600;
color: var(--color-text-light);
}

.price-note {
font-size: 13px;
color: var(--color-text-light);
margin-top: 4px;
}

/* ===== GLAMPING FEATURES ===== */
.glamping-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
margin-top: 40px;
}

.glamping-item {
text-align: center;
padding: 32px 24px;
}

.glamping-icon {
width: 64px;
height: 64px;
background: rgba(180, 83, 9, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
}

.glamping-icon svg {
width: 28px;
height: 28px;
stroke: var(--color-accent);
fill: none;
stroke-width: 2;
}

.glamping-title {
font-size: 18px;
font-weight: 700;
margin-bottom: 12px;
}

.glamping-text {
font-size: 14px;
color: var(--color-text-light);
line-height: 1.6;
}

/* ===== USAGE CARDS ===== */
.usage-card {
position: relative;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-md);
transition: var(--transition);
height: 320px;
}

.usage-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-xl);
}

.usage-card img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.usage-card:hover img {
transform: scale(1.05);
}

.usage-overlay {
position: absolute;
inset: 0;
background: linear-gradient(0deg, rgba(28,25,23,0.9) 0%, rgba(28,25,23,0.2) 60%, transparent 100%);
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 24px;
}

.usage-title {
font-size: 18px;
font-weight: 700;
color: #FFFFFF;
margin-bottom: 8px;
}

.usage-text {
font-size: 14px;
color: rgba(255,255,255,0.8);
line-height: 1.5;
}

/* ===== CONTACT SECTION — широкая полоса вместо квадрата ===== */
.contact-card {
display: grid;
grid-template-columns: 176px minmax(0, 1fr) 320px;
gap: 44px;
align-items: center;
background: var(--color-card);
border-radius: var(--radius-xl);
padding: 44px 48px;
box-shadow: var(--shadow-xl);
text-align: left;
max-width: 1080px;
margin: 0 auto;
}
.contact-body { min-width: 0; }
.contact-phone {
display: inline-flex; align-items: center; gap: 10px;
margin-top: 18px; font-size: 21px; font-weight: 800;
letter-spacing: -.01em; color: var(--color-text); text-decoration: none;
transition: var(--transition);
}
.contact-phone svg {
width: 22px; height: 22px; flex: 0 0 auto; fill: none;
stroke: var(--color-accent); stroke-width: 1.9;
stroke-linecap: round; stroke-linejoin: round;
}
.contact-phone:hover { color: var(--color-accent); }
.contact-links-title {
font-size: 12px; font-weight: 700; text-transform: uppercase;
letter-spacing: .08em; color: var(--color-text-light);
margin-bottom: 2px;
}
.contact-note {
margin-top: 14px; font-size: 14.5px; line-height: 1.6;
color: var(--color-text-light); max-width: 46ch;
}
@media (max-width: 980px) {
.contact-card {
grid-template-columns: 120px minmax(0, 1fr);
gap: 28px; padding: 36px 32px;
}
.contact-links { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
.contact-card { grid-template-columns: 1fr; text-align: center; }
.contact-card .contact-avatar { margin: 0 auto; }
.contact-note { margin-left: auto; margin-right: auto; }
}

.contact-name {
font-size: 28px;
font-weight: 700;
margin-bottom: 8px;
}

.contact-role {
font-size: 15px;
color: var(--color-text-light);
margin-bottom: 32px;
}

.contact-links {
display: flex;
flex-direction: column;
gap: 12px;
align-items: stretch;
}

.contact-link {
display: flex;
align-items: center;
gap: 10px;
padding: 14px 18px;
background: var(--color-bg);
border-radius: var(--radius-md);
font-size: 15px;
font-weight: 600;
color: var(--color-text);
transition: var(--transition);
border: 1px solid var(--color-border);
}
.contact-link svg {
width: 20px; height: 20px; flex: 0 0 auto;
fill: none; stroke: var(--color-accent); stroke-width: 1.9;
stroke-linecap: round; stroke-linejoin: round;
}

.contact-link:hover {
background: var(--color-accent-light);
border-color: var(--color-accent);
color: var(--color-accent);
transform: translateY(-2px);
}
.contact-link:hover svg { stroke: var(--color-accent); }

/* ===== LOGO IMAGE ===== */
.logo-img {
height: 40px;
width: auto;
display: block;
}

/* ===== SOLUTION CARDS WITH IMAGES ===== */
.solution-card-img {
background: var(--color-card);
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-md);
transition: var(--transition);
border: 1px solid var(--color-border);
}

.solution-card-img:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-xl);
}

.solution-card-img img {
width: 100%;
height: 220px;
object-fit: cover;
display: block;
}

.solution-card-body {
padding: 28px 24px;
text-align: center;
}

/* ===== GLAMPING CARDS WITH IMAGES ===== */
.glamping-card-img {
background: var(--color-card);
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-md);
transition: var(--transition);
border: 1px solid var(--color-border);
}

.glamping-card-img:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-xl);
}

.glamping-card-img img {
width: 100%;
height: 240px;
object-fit: cover;
display: block;
}

.glamping-card-body {
padding: 24px;
text-align: center;
}

.glamping-card-title {
font-size: 18px;
font-weight: 700;
margin-bottom: 10px;
}

.glamping-card-text {
font-size: 14px;
color: var(--color-text-light);
line-height: 1.6;
}

/* ===== CONTACT AVATAR ===== */
.contact-avatar {
width: 168px;
height: 168px;
border-radius: 50%;
object-fit: cover;
margin: 0;
box-shadow: var(--shadow-md);
border: 3px solid var(--color-card);
}

/* ===== MODAL / FORM ===== */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(4px);
z-index: 2000;
display: none;
align-items: center;
justify-content: center;
padding: 24px;
}

.modal-overlay.active {
display: flex;
}

.modal {
background: var(--color-card);
border-radius: var(--radius-xl);
padding: 48px;
max-width: 520px;
width: 100%;
box-shadow: var(--shadow-xl);
position: relative;
max-height: 90vh;
overflow-y: auto;
}

.modal-close {
position: absolute;
top: 20px;
right: 20px;
width: 36px;
height: 36px;
border: none;
background: var(--color-bg);
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: var(--color-text-light);
transition: var(--transition);
}

.modal-close:hover {
background: var(--color-border);
color: var(--color-text);
}

.modal-title {
font-size: 24px;
font-weight: 700;
margin-bottom: 8px;
}

.modal-subtitle {
font-size: 14px;
color: var(--color-text-light);
margin-bottom: 32px;
}

.form-group {
margin-bottom: 20px;
}

.form-label {
display: block;
font-size: 14px;
font-weight: 600;
margin-bottom: 6px;
color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
width: 100%;
padding: 12px 16px;
border: 2px solid var(--color-border);
border-radius: var(--radius-md);
font-size: 15px;
font-family: inherit;
color: var(--color-text);
background: var(--color-bg);
transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
outline: none;
border-color: var(--color-accent);
}

.form-textarea {
resize: vertical;
min-height: 100px;
}

.form-select {
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
padding-right: 40px;
}

.form-checkbox {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 13px;
line-height: 1.45;
color: var(--color-text-light);
margin-bottom: 24px;
}
.form-checkbox input[type="checkbox"] { flex: 0 0 auto; margin-top: 2px; }
.form-checkbox a {
color: var(--color-accent); text-decoration: underline;
text-underline-offset: 2px;
}

.form-checkbox input {
width: 18px;
height: 18px;
accent-color: var(--color-accent);
}

/* ===== FOOTER ===== */
.footer {
background: var(--color-bg-dark);
color: rgba(255,255,255,0.62);
padding: 40px 0 32px;
font-size: 13.5px;
}
.footer-inner {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr);
gap: 28px 40px;
align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo {
font-size: 17px; font-weight: 800; letter-spacing: .06em;
text-transform: uppercase; color: #FAF8F4;
}
.footer-sub { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.footer-links {
display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.footer-links a {
color: rgba(255,255,255,0.78); text-decoration: none;
border-bottom: 1px solid rgba(255,255,255,0.22); padding-bottom: 2px;
transition: var(--transition);
}
.footer-links a:hover { color: #F0A63C; border-bottom-color: #F0A63C; }
.footer-legal {
display: flex; flex-direction: column; gap: 6px;
font-size: 12.5px; color: rgba(255,255,255,0.5); text-align: right;
}
@media (max-width: 820px) {
.footer-inner { grid-template-columns: 1fr; gap: 22px; }
.footer-legal { text-align: left; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
opacity: 1;
transform: translateY(0);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
position: fixed;
top: 0;
right: -100%;
width: 80%;
max-width: 360px;
height: 100vh;
background: var(--color-card);
z-index: 3000;
padding: 80px 32px 32px;
transition: right 0.3s ease;
box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
right: 0;
}

.mobile-menu-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.5);
z-index: 2500;
display: none;
}

.mobile-menu-overlay.active {
display: block;
}

.mobile-menu a {
display: block;
padding: 16px 0;
font-size: 18px;
font-weight: 600;
border-bottom: 1px solid var(--color-border);
}

.mobile-menu-close {
position: absolute;
top: 20px;
right: 20px;
width: 40px;
height: 40px;
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: var(--color-text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.hero-joint {
display: none;
}

.module-visual {
overflow-x: auto;
}
}

@media (max-width: 768px) {
.section {
padding: 56px 0;
}

.nav {
display: none;
}

.burger {
display: flex;
}

.header-phone {
display: none;
}

.grid-2,
.grid-3,
.grid-4 {
grid-template-columns: 1fr;
}

.advantage-grid,
.legal-grid {
grid-template-columns: 1fr;
gap: 32px;
}

.glamping-grid {
grid-template-columns: 1fr;
gap: 16px;
}

.hero-content {
padding: 40px 0;
}

.btn-group {
flex-direction: column;
}

.btn {
width: 100%;
}

.contact-card {
padding: 40px 24px;
}

.modal {
padding: 32px 24px;
}

.usage-card {
height: 260px;
}

.module-visual {
padding: 24px 16px;
}

.module-block {
font-size: 11px;
padding: 12px 4px;
}

.module-block-6m { width: 80px; height: 120px; }
.module-block-9m { width: 80px; height: 150px; }
.module-block-12m { width: 80px; height: 180px; }
.module-block-15m { width: 80px; height: 210px; }
}

@media (max-width: 480px) {
.hero-title {
font-size: 32px;
}

.section-title {
font-size: 26px;
}

.card {
padding: 24px;
}

.solution-card {
padding: 28px 20px;
}
}
/* ===== V2: палитра ===== */
:root {
--color-bg: #FAF8F4;
--color-bg-alt: #F1EBE1;
--color-bg-dark: #10201B;
--color-text: #1A2521;
--color-text-light: #5E6A64;
--color-text-white: #FAF8F4;
--color-accent: #C2410C;
--color-accent-hover: #9A3412;
--color-accent-light: #FFEDD5;
--color-border: #E3DACB;
--color-card: #FFFFFF;
}
/* кикеры — простой текст, всегда слева (по решению Андрея: без чипсов) */
.section-label { text-align: left; }

/* ===== V5: логотип — подстрочник на одной поверхности со знаком ===== */
.logo { display: flex; align-items: flex-end; gap: 12px; text-decoration: none; }
.logo-mark { height: 38px; width: auto; display: block; flex: 0 0 auto; }
.logo-text {
display: flex; flex-direction: column; justify-content: space-between;
height: 38px;
}
.logo-name {
display: block; font-size: 17px; font-weight: 800; line-height: 1;
letter-spacing: .04em; text-transform: uppercase; color: var(--color-text);
}
.logo-tagline {
display: block; margin-top: 0; font-size: 10.5px; font-weight: 700;
line-height: 1; letter-spacing: .13em; text-transform: uppercase;
color: var(--color-text-light);
}
.hero-label { background: rgba(194,65,12,.24); border: 1px solid rgba(252,211,77,.5); }

/* ===== V2: блок «Экономика» ===== */
.econ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.econ-card {
background: var(--color-card); border: 1px solid var(--color-border);
border-radius: var(--radius-lg); padding: 26px 22px;
}
.econ-num {
font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.1;
color: var(--color-accent); letter-spacing: -.02em;
}
.econ-cap { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--color-text-light); }
.econ-note { margin-top: 26px; max-width: 72ch; font-size: 15px; line-height: 1.6; color: var(--color-text-light); }
@media (max-width: 900px) { .econ-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .econ-grid { grid-template-columns: 1fr; } }
/* ===== V3: шапка — двухцветный H1, читаемость, весь блок ниже под фото ===== */
.hero { align-items: flex-end; justify-content: flex-start; }
.hero > .container { width: 100%; }
.hero-content { padding: 40px 0 72px; max-width: 780px; }
/* градиент только внизу и влево-внизу: верх кадра остаётся чистым */
.hero-bg::after {
background:
radial-gradient(130% 85% at 0% 100%, rgba(16,32,27,0.95) 0%, rgba(16,32,27,0.74) 36%, rgba(16,32,27,0.24) 60%, rgba(16,32,27,0) 78%),
linear-gradient(180deg, rgba(16,32,27,0) 0%, rgba(16,32,27,0) 44%, rgba(16,32,27,0.28) 64%, rgba(16,32,27,0.78) 84%, rgba(16,32,27,0.9) 100%);
}
.hero-title, .hero-subtitle, .hero-text { text-shadow: 0 2px 22px rgba(0,0,0,0.5); }
.hero-title-accent { color: #F0A63C; }
.hero-label { font-size: 14px; }
.hero-subtitle { color: #FFFFFF; font-size: clamp(17px, 2vw, 22px); margin-bottom: 14px; }
.hero-text { color: rgba(255,255,255,0.96); font-size: 17.5px; line-height: 1.7; max-width: 660px; margin-bottom: 34px; }
.hl { color: #FFD583; font-weight: 600; }
/* вставка справа — внизу, как было изначально (правка Андрея 23.09) */
.hero-joint { bottom: 12%; }
.hero-label { background: none; border: 0; border-radius: 0; padding: 0; }
/* кикеры — всегда слева, в том числе внутри центрированных секций */
.text-center .section-label { display: block; text-align: left; }
/* двухцветный заголовок секции */
.title-accent { color: var(--color-accent); }
.section-dark .title-accent { color: #FCD34D; }
/* выделение в тексте на СВЕТНОМ фоне (аналог .hl для тёмного) */
.hl-a { color: var(--color-accent); font-weight: 600; }

/* ===== V3: блок «Интерьерный каркас» ===== */
.interior-frame-gallery { display: grid; gap: 16px; }
.interior-frame-gallery img {
width: 100%; display: block; object-fit: cover;
border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
}

/* ===== V4: «Технология» — 2×2 горизонтальные карточки ===== */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tech-card {
display: grid; grid-template-columns: 210px 1fr;
background: var(--color-card); border: 1px solid var(--color-border);
border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
transition: var(--transition);
}
.tech-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.tech-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tech-body { padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.tech-body .card-title { font-size: 19px; margin-bottom: 10px; }
.tech-body .card-text { font-size: 15px; line-height: 1.65; color: var(--color-text-light); margin: 0; }

/* ===== V5: «Модульность» — дома-пиктограммы (компановка ≠ юр-статус) ===== */
.mod-head { max-width: 880px; }
.mod-cards {
display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 20px; margin-top: 40px;
}
.mod-card {
background: var(--color-card); border: 1px solid var(--color-border);
border-radius: var(--radius-lg); padding: 22px 18px 20px;
box-shadow: var(--shadow-md); text-align: center;
display: flex; flex-direction: column; align-items: center;
}
.mod-house { height: 92px; display: flex; align-items: flex-end; justify-content: center; }
.mod-house svg { height: 100%; width: auto; display: block; overflow: visible; }
.hs-roof { fill: #2F3A35; }
.hs-base { fill: #E0C9A6; }
.hs-add { fill: var(--color-accent); }
.hs-win { fill: #FAF8F4; opacity: .92; }
.hs-div { stroke: #FAF8F4; stroke-width: 1.1; opacity: .85; }
.hs-ground { stroke: var(--color-border); stroke-width: 1.4; }
.mod-card-size { font-size: 18px; font-weight: 800; color: var(--color-text); margin-top: 18px; }
.mod-card-tag { font-size: 12px; color: var(--color-text-light); margin-top: 4px; }
.seg-base { background: #E0C9A6; }
.seg-add { background: var(--color-accent); }
.mod-legend {
display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
margin-top: 22px; font-size: 12.5px; color: var(--color-text-light);
}
.mod-legend span { display: inline-flex; align-items: center; gap: 7px; }
.mod-legend i { width: 16px; height: 12px; border-radius: 3px; display: block; }
.mod-legend-note { margin-left: auto; font-weight: 600; color: var(--color-text); }
.mod-facts {
display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--color-border);
}
.mod-facts div { text-align: center; }
.mod-facts b { display: block; font-size: 22px; font-weight: 800; color: var(--color-accent); }
.mod-facts span { font-size: 12px; color: var(--color-text-light); }
@media (max-width: 900px) { .mod-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
.mod-cards { grid-template-columns: 1fr; }
.mod-house { height: 78px; }
.mod-legend-note { margin-left: 0; }
}

/* ===== V5: «Технология» — подъём кадра, чтобы техника не обрезалась ===== */
.tech-card img.obj-lift { object-position: 50% 78%; }

/* ===== V4: раздел «Застройщикам» — полоса фото + две колонки ===== */
.b2b-band {
width: 100%; height: 400px; object-fit: cover; display: block;
border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
}
.b2b-kicker { margin-bottom: 14px; }
.b2b-head { max-width: 860px; margin-top: 26px; }
/* «Частным клиентам» — фото на всю колонку, без пустого кармана */
.b2c-media { display: flex; }
.b2c-media img {
width: 100%; height: 100%; max-height: 660px; object-fit: cover;
border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); display: block;
}
.b2b-list {
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px 48px; margin-top: 32px;
}
.b2b-list li { margin-bottom: 0; }
.b2b-cta {
display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--color-border);
}
.b2b-cta .price-tag { margin: 0; }
@media (max-width: 900px) {
.b2b-band { height: 240px; }
.b2b-list { grid-template-columns: 1fr; gap: 8px; }
.b2b-cta { gap: 16px; }
}

/* ===== V4: юр-статус — вместо заглушки список зон ===== */
.legal-cols { align-items: start; gap: 56px; }
.zone-panel {
background: var(--color-card); border: 1px solid var(--color-border);
border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md);
}
.zone-panel-title {
font-size: 13px; font-weight: 700; text-transform: uppercase;
letter-spacing: 0.08em; color: var(--color-accent); margin-bottom: 18px;
}
.zone-panel .legal-zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 0; }
.zone-panel .zone-tag {
display: flex; align-items: center; gap: 12px;
padding: 12px 14px; background: var(--color-bg-alt);
border-radius: var(--radius-md); font-size: 13.5px; font-weight: 600;
text-align: left; color: var(--color-text);
}
.zone-ic {
width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%;
background: var(--color-accent-light);
display: flex; align-items: center; justify-content: center;
}
.zone-ic svg {
width: 18px; height: 18px; fill: none; stroke: var(--color-accent);
stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.zone-txt { line-height: 1.3; }
.zone-note { margin-top: 18px; font-size: 13.5px; color: var(--color-text-light); line-height: 1.6; }
@media (max-width: 900px) { .legal-cols { gap: 28px; } }
@media (max-width: 560px) { .zone-panel .legal-zones { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
.tech-grid { grid-template-columns: 1fr; }
.tech-card { grid-template-columns: 1fr; }
.tech-card img { height: 190px; }
}
@media (max-width: 768px) {
.hero-content { padding: 104px 0 64px; }
.interior-frame-gallery { grid-template-columns: 1fr; }
.mod-facts { grid-template-columns: repeat(2, 1fr); }
}
        /* ===================================================================
           FUNNEL v3 — сборка по плану Андрея (23.09.2026).
           Порядок: узнать → что предлагаем → что это законно → мой сценарий
           → можно ли верить → почему сейчас → как это выглядит → вопросы
           → частным (отдельная дверь) → контакт.

           Здесь только то, чего нет в базовой системе /test/.
           =================================================================== */

        /* ===== 1. Тизер −15% в герое: тихий маркер, не полоса ===== */
        .hero-offer-note {
            display: flex; align-items: center; gap: 11px;
            margin-top: 22px; font-size: 15.5px; line-height: 1.45;
            color: #FFFFFF; font-weight: 500;
            text-shadow: 0 2px 18px rgba(0,0,0,.75), 0 1px 3px rgba(0,0,0,.5);
        }
        .hero-offer-dot {
            flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
            background: #F0A63C; box-shadow: 0 0 0 4px rgba(240,166,60,.22);
        }
        .hero-offer-note b { color: #FFC46B; font-weight: 700; }
        .hero-offer-note a {
            color: #fff; border-bottom: 1px solid rgba(255,255,255,.5);
            padding-bottom: 1px; white-space: nowrap;
        }
        .hero-offer-note a:hover { border-color: #fff; }

        /* ===== 2. Факты: «как это устроено» — компактно, без абзацев ===== */
        .facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .fact {
            background: var(--color-card); border: 1px solid var(--color-border);
            border-radius: var(--radius-md); padding: 24px 24px 22px;
        }
        .fact-tag {
            display: inline-block; margin-bottom: 12px; padding: 4px 11px;
            border-radius: 6px; background: var(--color-accent-light);
            font-size: 12px; font-weight: 700; letter-spacing: .08em;
            text-transform: uppercase; color: var(--color-accent);
        }
        .fact b { display: block; font-size: 16.5px; color: var(--color-text); line-height: 1.35; margin-bottom: 8px; }
        .fact span.fact-text { font-size: 14.5px; line-height: 1.6; color: var(--color-text-light); }

        /* ===== 3. Блок «Частным заказчикам» — отдельная дверь ===== */
        /* Тёмный фон = сигнал, что это другой сценарий, а не продолжение
           глэмпинг-потока. Внутри — полноценный блок как был, вместе с формой. */
        .section-dark .section-subtitle { color: rgba(255,255,255,.78); }
        .section-dark .section-title { color: #fff; }
        .section-dark .title-accent { color: #F0A63C; }
        .section-dark .section-label { color: #F0A63C; }
        .section-dark .checklist li { color: rgba(255,255,255,.92); border-bottom-color: rgba(255,255,255,.14); }
        .section-dark .price-unit, .section-dark .price-note { color: rgba(255,255,255,.65); }
        .section-dark .price-value { color: #F0A63C; }

        /* Тёмный вид панели формы определяется СЕКЦИЕЙ, а не классом: раньше вид включался
           классом .form-panel--dark, и на светлой секции (страница частных) панель получалась
           прозрачной с белыми подписями — текст пропадал. Теперь достаточно положить панель
           в .section-dark; класс --dark оставлен алиасом для совместимости.
           Селекторы двойные (.section-dark .form-panel), иначе .form-panel ниже по файлу
           перебивает фон — карточка остаётся белой, а белые подписи становятся невидимыми. */
        .section-dark .form-panel,
        .form-panel.form-panel--dark {
            background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2);
            border-radius: var(--radius-lg); padding: 34px; box-shadow: none;
        }
        .section-dark .form-panel .form-panel-title,
        .form-panel--dark .form-panel-title { color: #fff; }
        .section-dark .form-panel .form-panel-sub,
        .form-panel--dark .form-panel-sub { color: rgba(255,255,255,.75); }
        .section-dark .form-panel .form-label,
        .form-panel--dark .form-label { color: rgba(255,255,255,.85); }
        .section-dark .form-panel .form-input,
        .section-dark .form-panel .form-select,
        .section-dark .form-panel .form-textarea,
        .form-panel--dark .form-input,
        .form-panel--dark .form-select,
        .form-panel--dark .form-textarea {
            background: rgba(255,255,255,.95); border-color: rgba(255,255,255,.3);
            color: var(--color-text);
        }
        .section-dark .form-panel .form-checkbox,
        .form-panel--dark .form-checkbox { color: rgba(255,255,255,.8); }
        .section-dark .form-panel .form-checkbox a,
        .form-panel--dark .form-checkbox a { color: #fff; }
        /* своя кнопка выпадающего списка в тёмной панели — светлое поле, тёмный текст */
        .section-dark .form-panel .sel-btn,
        .form-panel--dark .sel-btn {
            background: rgba(255,255,255,.95); border-color: rgba(255,255,255,.3); color: var(--color-text);
        }
        .section-dark .form-panel .sel-btn.is-placeholder,
        .form-panel--dark .sel-btn.is-placeholder { color: rgba(26,37,33,.55); }

        /* ===== 4. Формы: сетки, панели, универсальный конструктор ===== */
        .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .form-grid-2 .form-group { margin-bottom: 0; }
        .form-panel {
            margin-top: 44px;
            background: var(--color-card); border: 1px solid var(--color-border);
            border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md);
        }
        .form-panel-title { font-size: 22px; font-weight: 700; color: var(--color-text); margin-bottom: 8px; line-height: 1.3; }
        .form-panel-sub { font-size: 15px; color: var(--color-text-light); line-height: 1.65; margin-bottom: 24px; }
        .form-panel .form-group { margin-bottom: 16px; }
        .hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
        /* [hidden] на группе полей: display из .form-grid-2 перебивает атрибут */
        .js-group[hidden] { display: none !important; }
        .form-anchor { scroll-margin-top: 96px; }

        /* ===== 5. Микро-CTA в конце блоков ===== */
        .mini-cta {
            margin-top: 36px; padding: 20px 26px; display: flex; align-items: center;
            justify-content: space-between; gap: 22px; flex-wrap: wrap;
            background: var(--color-bg-alt); border-left: 4px solid var(--color-accent);
            border-radius: var(--radius-md);
        }
        .mini-cta .mini-cta-txt { font-size: 15.5px; font-weight: 600; color: var(--color-text); line-height: 1.5; }
        .mini-cta .mini-cta-txt span { font-weight: 400; color: var(--color-text-light); }
        .mini-cta .btn { padding: 12px 24px; font-size: 14.5px; white-space: nowrap; }

        /* ===== 6. Полоса материалов (лид-магнит) ===== */
        .lead-band {
            background: var(--color-bg-dark); border-radius: var(--radius-xl);
            padding: 48px; display: grid; grid-template-columns: 1.05fr .95fr;
            gap: 44px; align-items: center;
        }
        .lead-band .section-label { color: #F0A63C; }
        .lead-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.2; color: #fff; margin-bottom: 14px; }
        .lead-band p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.82); }
        .lead-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
        .lead-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.9); }
        .lead-form { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); padding: 26px; }
        .lead-form .form-label { color: rgba(255,255,255,.88); }
        .lead-form .form-checkbox { color: rgba(255,255,255,.78); }
        .lead-form .form-checkbox a { color: #fff; }
        .lead-form-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 16px; }

        /* ===== 7. FAQ ===== */
        .faq-list { border-top: 1px solid var(--color-border); }
        .faq-item { border-bottom: 1px solid var(--color-border); }
        .faq-q {
            width: 100%; text-align: left; background: none; border: 0; font: inherit;
            font-size: 17px; font-weight: 600; color: var(--color-text);
            padding: 22px 46px 22px 0; cursor: pointer; position: relative; line-height: 1.45;
        }
        .faq-q::after {
            content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
            font-size: 24px; font-weight: 400; color: var(--color-accent); transition: var(--transition); line-height: 1;
        }
        .faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
        .faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
        .faq-a p { padding: 0 60px 24px 0; font-size: 15.5px; line-height: 1.75; color: var(--color-text-light); }
        .faq-item.open .faq-a { max-height: 560px; }

        /* ===== 8. Липкая мобильная кнопка ===== */
        .sticky-cta {
            position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 900;
            display: none; gap: 10px;
            opacity: 0; pointer-events: none; transform: translateY(14px);
            transition: opacity .25s ease, transform .25s ease;
        }
        .sticky-cta.visible { opacity: 1; pointer-events: auto; transform: none; }
        .sticky-cta .btn { flex: 1; padding: 14px 12px; font-size: 14.5px; box-shadow: var(--shadow-xl); }
        .sticky-cta .btn-secondary { background: var(--color-card); color: var(--color-text); border: 1px solid var(--color-border); }

        /* ===== 9. Адаптив ===== */
        @media (max-width: 1024px) {
            .facts-grid { grid-template-columns: repeat(2, 1fr); }
            .lead-band { grid-template-columns: 1fr; padding: 36px; }
        }
        @media (max-width: 760px) {
            .hero-offer-note { font-size: 13.5px; align-items: flex-start; }
            .facts-grid { grid-template-columns: 1fr; }
            .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
            .form-grid-2 .form-group { margin-bottom: 16px; }
            .form-panel, .form-panel.form-panel--dark { padding: 26px 22px; margin-top: 32px; }
            .faq-q { font-size: 16px; }
            .faq-a p { padding-right: 10px; }
            .sticky-cta { display: flex; }
            /* было body { padding-bottom: 78px } — под футером появлялась светлая
               полоса. Теперь место под липкую кнопку уходит внутрь футера. */
            .footer { padding-bottom: 112px; }
        }

        /* ===== Правки версии 3 (24.09.2026) =====
           Врезка узла в герое: РАВНЫЕ отступы справа и снизу.
           Было right: 5% / bottom: 12% — отступы разные, врезка стояла выше.
           Проценты слева/снизу считаются от разных сторон (ширина ≠ высота),
           поэтому берём vw для обеих сторон: отступ в пикселях получается
           одинаковым и масштабируется с шириной окна. */
        .hero .hero-joint { right: 5vw; bottom: 5vw; }


/* ===== ГЛАВНАЯ: тизер скидки в герое (перенесён из версии 3) ===== */
.hero-offer-note {
display: flex; align-items: center; gap: 11px;
margin-top: 22px; font-size: 15.5px; line-height: 1.45;
color: #FFFFFF; font-weight: 500;
text-shadow: 0 2px 18px rgba(0,0,0,.75), 0 1px 3px rgba(0,0,0,.5);
}
.hero-offer-dot {
flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
background: #F0A63C; box-shadow: 0 0 0 4px rgba(240,166,60,.22);
}
.hero-offer-note b { color: #FFC46B; font-weight: 700; }
.hero-offer-note a {
color: #fff; border-bottom: 1px solid rgba(255,255,255,.5);
padding-bottom: 1px; white-space: nowrap; text-decoration: none;
}
.hero-offer-note a:hover { border-color: #fff; }

/* ===== Абзацы «презентации в лифте» (блок «Ключевое преимущество») ===== */
.adv-p { font-size: 16px; color: var(--color-text-light); line-height: 1.7; }
.adv-p + .adv-p { margin-top: 14px; }
.adv-p strong { color: var(--color-text); }

/* ===== «Фишка технологии»: два слова в заголовке + говорящие иконки ===== */
.if-muted { color: var(--color-text-light); }
.hl-out { color: var(--color-accent); }
.hl-in { color: var(--color-text); }
.if-list li { font-size: 15.5px; line-height: 1.6; }
.if-ic {
width: 28px; height: 28px; min-width: 28px; flex: 0 0 auto;
border-radius: 50%; background: var(--color-accent-light);
display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.if-ic svg {
width: 16px; height: 16px; fill: none; stroke: var(--color-accent);
stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ===== Юр-статус: без белой плашки — в одном фоне с текстом ===== */
/* карман убран не растягиванием, а сменой формата списка: зоны идут
   в одну колонку и по высоте совпадают с текстовой колонкой */
.zone-plain { background: none; border: 0; padding: 0; box-shadow: none; }
.zone-plain .zone-panel-title { margin-bottom: 20px; }
.zone-plain .legal-zones { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 0; }
.zone-plain .zone-tag {
display: flex; align-items: center; gap: 14px;
padding: 0; background: none; border-radius: 0;
font-size: 14.5px; font-weight: 600; text-align: left; color: var(--color-text);
}
.zone-plain .zone-ic { width: 38px; height: 38px; }
.zone-plain .zone-ic svg { width: 20px; height: 20px; }
.zone-plain .zone-note { margin-top: 22px; }

/* ===== Два направления (#ways) ===== */
.ways-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ways-card {
display: flex; flex-direction: column; gap: 12px;
padding: 32px 30px; background: var(--color-card);
border: 1px solid var(--color-border); border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
transition: var(--transition);
}
.ways-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); }
.ways-title { font-size: 22px; font-weight: 700; margin: 0; color: var(--color-text); }
.ways-text { font-size: 15.5px; line-height: 1.6; color: var(--color-text-light); margin: 0; }
.ways-more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--color-accent); }
@media (max-width: 860px) { .ways-grid { grid-template-columns: 1fr; } .ways-card { padding: 26px 22px; } }

/* ===== Особые условия (#offer) — без карточек, одним фоном ===== */
.offer-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.offer-figure b { display: block; font-size: 72px; line-height: 1; font-weight: 800; color: var(--color-accent); letter-spacing: -0.02em; }
.offer-figure span { display: block; margin-top: 10px; font-size: 14px; color: var(--color-text-light); line-height: 1.45; }
.offer-p { font-size: 16px; color: var(--color-text-light); line-height: 1.7; margin-top: 14px; }
.link-a { color: var(--color-accent); text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 900px) {
.offer-grid { grid-template-columns: 1fr; gap: 22px; }
.offer-figure b { font-size: 56px; }
}

/* ===== FAQ-аккордеон (перенесён из версии 2 — в тесте 1 блока не было) ===== */
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
position: relative; width: 100%; text-align: left; background: none; border: 0;
font: inherit; font-size: 17px; font-weight: 600; color: var(--color-text);
padding: 22px 60px 22px 0; cursor: pointer;
}
.faq-q:hover { color: var(--color-accent); }
/* ===== 25.09.2026: в вопроснике вместо «+» — стрелка-галочка, меняет разворот ===== */
/* (приём из AllProfile: плашка-иконка + поворот на 180° при раскрытии).
   По умолчанию состояние КОНТРАСТНОЕ: акцентная плашка + белая стрелка — на светлом
   фоне её было не видно. Открытое состояние — светлое, стрелка акцентная. */
.faq-q { padding-right: 64px; }
.faq-q::after {
content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 0;
width: 28px; height: 28px; border-radius: 9px; background: var(--color-accent);
transition: background .24s ease;
}
.faq-q::before {
content: ''; position: absolute; right: 9px; top: 50%; margin-top: -3px; z-index: 1;
width: 8px; height: 8px; border-right: 2px solid #FFFFFF;
border-bottom: 2px solid #FFFFFF; border-radius: 1px;
transform: rotate(45deg);
transition: transform .3s cubic-bezier(.4,0,.2,1), border-color .24s ease;
}
.faq-item.open .faq-q::before { transform: rotate(225deg); border-color: var(--color-accent); }
.faq-item.open .faq-q::after { background: var(--color-accent-light); }
.faq-q:hover::after { background: var(--color-accent-hover); }
.faq-item.open .faq-q:hover::after { background: #FCE7B2; }
/* Ответ «выезжает» плавно: высоту считает JS (до реальной высоты абзаца),
   поэтому нет скачка, который давал прежний max-height: 640px. */
.faq-a { max-height: 0; overflow: hidden; }
.faq-a p { padding: 0 60px 24px 0; font-size: 15.5px; line-height: 1.75; color: var(--color-text-light); }
@media (max-width: 760px) {
.hero-offer-note { font-size: 13.5px; align-items: flex-start; }
.faq-q { font-size: 16px; }
.faq-a p { padding-right: 10px; }
}

/* ===== 25.09.2026: юр-статус пересобран — зоны плашками прямо в контейнере ===== */
.legal-head { max-width: 860px; }
.legal-zones-wrap { margin-top: 46px; }
.legal-zones-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 34px; }
.zone-plate { display: flex; align-items: center; gap: 14px; background: none; border: 0; }
.zone-plate .zone-txt { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--color-text); }
.legal-foot {
display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--color-border);
}
.legal-note { font-size: 15.5px; color: var(--color-text-light); line-height: 1.6; }
@media (max-width: 900px) {
.legal-zones-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.legal-foot { gap: 18px; margin-top: 34px; }
}
@media (max-width: 560px) { .legal-zones-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ===== 25.09.2026: говорящие иконки в плашках «Кому это интересно» ===== */
.ways-icon {
width: 46px; height: 46px; border-radius: 50%; background: var(--color-accent-light);
display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.ways-icon svg {
width: 24px; height: 24px; fill: none; stroke: var(--color-accent);
stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ===== 25.09.2026: «Особые условия» — компактная плашка вместо крупной цифры ===== */
.offer-card {
display: grid; grid-template-columns: 190px 1fr; gap: 40px; align-items: center;
background: var(--color-accent-light); border-radius: var(--radius-xl); padding: 44px 48px;
}
.offer-badge { text-align: center; padding-right: 40px; border-right: 1px solid rgba(180, 83, 9, 0.22); }
.offer-badge b {
display: block; font-size: 46px; line-height: 1; font-weight: 800;
color: var(--color-accent); letter-spacing: -0.02em;
}
.offer-badge span { display: block; margin-top: 9px; font-size: 13px; line-height: 1.4; color: #8A5A17; }
.offer-card .offer-p { color: #57534E; }
.offer-card .offer-p + .offer-p { margin-top: 14px; }
@media (max-width: 900px) {
.offer-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 26px; }
.offer-badge { text-align: left; padding: 0 0 20px; border-right: 0; border-bottom: 1px solid rgba(180, 83, 9, 0.22); }
.offer-badge b { font-size: 38px; }
}

/* ===================================================================
   25.09.2026, вторая партия правок: мобильная версия.
   Собрано по замечаниям Андрея: зоны компактнее, шапка не «в лицо»,
   длинные тексты сворачиваются в аккордеон после 3 строк.
   =================================================================== */

/* ===== 1. Зоны строительства: на телефоне две колонки, а не столбик ===== */
@media (max-width: 560px) {
.legal-zones-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.zone-plate { gap: 10px; align-items: flex-start; }
.zone-plate .zone-ic { margin-top: 1px; }
.zone-plate .zone-txt { font-size: 13.5px; }
.zone-plate .zone-ic { width: 30px; height: 30px; }
.zone-plate .zone-ic svg { width: 16px; height: 16px; }
}

/* ===== 2. Карточка «Мобильность конструкции»: объект целиком, без обрезки ===== */
@media (max-width: 768px) {
.tech-card img { height: 230px; object-fit: contain; background: var(--color-bg-alt); }
.tech-card img.obj-lift { object-position: 50% 50%; }
}

/* ===== 3. Шапка на телефоне: фото во всю высоту, текст поверх, низ затемнён ===== */
/* Правка Андрея 25.09: НИКАКОЙ отдельной тёмной панели под фото — просто кадр,
   текст поверх него, низ кадра мягко затемнён. Высота шапки — по содержимому
   (не 100vh), поэтому кадр не «наезжает» и дом входит целиком. */
@media (max-width: 768px) {
.hero {
display: flex; align-items: flex-end; justify-content: flex-start;
min-height: 0; padding-top: 54px; background: none;
}
.hero > .container { width: 100%; }
.hero-bg { position: absolute; inset: 0; height: auto; min-height: 0; max-height: none; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
/* кадр подбирается под страницу, чтобы дом входил целиком (не «в лицо») */
.hero-bg img { object-position: 50% 50%; }
/* Правка Андрея 27.09: «сдвинем фоновое изображение правее, чтобы фасад дома вошёл целиком».
   В боксе 390×717 видно 31 % ширины фото; окно кадра = [0,6896·p ; +31 %].
   53 % → видимая полоса 36,5–67,5 % (фасад-фронтон 29–51 % обрезан слева).
   40 % → видимая полоса 27,6–58,6 % (фасад входит целиком). Расчёт — hero-frame-crop-model.md. */
.hero-bg img.hero-img-main { object-position: 50% 54%; }
.hero-bg img.hero-img-b2b { object-position: 79% 50%; }
.hero-bg img.hero-img-b2c { object-position: 40% 50%; }
.hero-bg::after {
background:
linear-gradient(180deg, rgba(16,32,27,.50) 0%, rgba(16,32,27,.24) 16%, rgba(16,32,27,.04) 32%, rgba(16,32,27,.14) 46%, rgba(16,32,27,.52) 66%, rgba(16,32,27,.84) 84%, rgba(16,32,27,.96) 100%);
}
.hero-content { padding: 22px 0 30px; max-width: none; }
.hero-label { margin-bottom: 14px; }
.hero-title { font-size: clamp(28px, 7.4vw, 38px); margin-bottom: 12px; }
.hero-subtitle { font-size: 16px; line-height: 1.5; margin-bottom: 26px; }
/* Правка Андрея 26.09: аккордеонов в шапках нет; остаётся только первая часть
   текста после заголовка (подзаголовок), второй абзац на телефоне скрыт. */
.hero-text { display: none; }
.btn-group { gap: 10px; }
/* маркер тизера скидки: строго по центру первой строки текста */
.hero-offer-note { align-items: flex-start; margin-top: 16px; }
.hero-offer-dot { margin-top: 0.33em; }
}

/* ===== 4. Длинные тексты на телефоне: аккордеон после 3 строк ===== */
/* Механизм 1:1 с AllProfile (`.m-more*`, чанк MobileTextFold): JS меряет строки,
   оборачивает абзац, кладёт кнопку-шеврон справа на последней видимой строке.
   Сворачиваем только абзацы-описания; заголовки и ответы вопросника не трогаем. */
.m-more-btn { display: none; }
@media (max-width: 900px) {
.m-more { position: relative; }
.m-more .m-more-clip {
display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
-webkit-box-orient: vertical; overflow: hidden; padding-right: 26px;
}
.m-more.m-more--open .m-more-clip {
display: block; overflow: visible; -webkit-line-clamp: unset; line-clamp: unset;
}
.m-more-btn {
display: flex; position: absolute; right: 0; bottom: 2px;
width: 26px; height: 26px; padding: 0; background: none; border: 0;
cursor: pointer; align-items: center; justify-content: center;
-webkit-tap-highlight-color: transparent;
}
.m-more-btn::after {
content: ""; width: 8px; height: 8px;
border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent);
transform: rotate(45deg); margin-top: -4px; transition: transform .25s;
}
.m-more.m-more--open .m-more-btn::after { transform: rotate(-135deg); margin-top: 4px; }
.m-more-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 50%; }
.section-dark .m-more-btn::after { border-color: #FFFFFF; }
}
.m-more .m-more-clip { transition: max-height 420ms cubic-bezier(.4,0,.2,1); }
.m-more .m-more-clip.mm-anim { display: block; overflow: hidden; -webkit-line-clamp: unset; line-clamp: unset; }

/* ===== 5. Плавность: все «наезды», повороты и раскрытия — с анимацией ===== */
/* Часть эффектов срабатывала скачком. Теперь всё, что меняется при нажатии
   или наведении, едет по одной и той же кривой. */
.usage-card img, .solution-card-img img, .glamping-card-img img,
.tech-card img, .interior-frame-gallery img {
transition: transform .45s cubic-bezier(.4,0,.2,1), object-position .45s ease;
}
.tech-card, .usage-card, .ways-card, .solution-card-img, .glamping-card-img, .zone-plate {
transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease, border-color .35s ease;
}
@media (prefers-reduced-motion: reduce) {
.usage-card img, .solution-card-img img, .glamping-card-img img, .tech-card img,
.interior-frame-gallery img, .tech-card, .usage-card, .ways-card { transition: none; }
}

/* модалки: появление без щелчка */
.modal-overlay.active { animation: mm-fade .22s ease; }
.modal-overlay.active .modal { animation: mm-pop .28s cubic-bezier(.4,0,.2,1); }
@keyframes mm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mm-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* На сенсорных экранах «наведение» залипает после касания: карточка подпрыгивает
   и картинка в ней наезжает рывком. На телефоне эти эффекты выключаем — тап
   остаётся чистым переходом по ссылке. */
@media (hover: none) {
.usage-card:hover, .tech-card:hover, .ways-card:hover, .solution-card-img:hover,
.glamping-card-img:hover, .contact-link:hover { transform: none; box-shadow: var(--shadow-md); }
.usage-card:hover img { transform: none; }
}


/* ===== 1. Шапка: изображение и контент на весь первый экран ===== */
@media (max-width: 768px) {
.hero {
display: flex; align-items: flex-end; justify-content: flex-start;
/* Правка Андрея 26.09: «изображение немного отодвинь, дом слишком близко».
   В узком высоком боксе cover режет кадр по ШИРИНЕ: при 100svh видно 26% ширины
   фото, при 85svh — 31% (и кадр перестаёт быть «в лицо»). Замер — mobile-adaptation.md. */
min-height: 85vh; min-height: 85svh;
padding-top: 0; overflow: hidden;
}
.hero > .container { width: 100%; }
.hero-bg { position: absolute; inset: 0; height: auto; min-height: 0; max-height: none; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
background:
linear-gradient(180deg, rgba(16,32,27,.66) 0%, rgba(16,32,27,.34) 16%, rgba(16,32,27,.10) 32%, rgba(16,32,27,.16) 46%, rgba(16,32,27,.56) 66%, rgba(16,32,27,.86) 84%, rgba(16,32,27,.97) 100%);
}
.hero-content { padding: 88px 0 26px; }
.hero-label { margin-bottom: 12px; }
}

/* ===== 2. (снято 26.09.2026) Аккордеон в шапке убран — по указанию Андрея
   «аккордеоны в шапках везде убери». Правила .hero .m-more* и @keyframes heroFoldIn
   удалены вместе с веткой inHero в site.js. Возвращать только по его слову. ===== */

/* ===== 3. «Мобильность конструкции»: кадр заполняет контейнер ===== */
/* Было object-fit: contain — картинка не доходила до краёв плашки. Теперь cover:
   кадр заполняет контейнер по всей ширине. Для грузовика кадр прижат к НИЗУ
   (object-position 100%), иначе колёса срезаются и машина «висит» в воздухе. */
@media (max-width: 768px) {
.tech-card img { height: 250px; object-fit: cover; background: none; }
.tech-card img.obj-lift { object-position: 50% 100%; }
}

/* ===== 4. «Модульность»: две плашки в ряд, компактно ===== */
@media (max-width: 560px) {
.mod-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.mod-card { padding: 14px 10px; }
.mod-house { height: 56px; }
.mod-card-size { font-size: 15px; margin-top: 10px; }
.mod-card-tag { font-size: 11px; }
.mod-legend { font-size: 11.5px; gap: 10px; margin-top: 16px; }
.mod-legend-note { margin-left: 0; }
.mod-facts { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; padding-top: 16px; }
.mod-facts b { font-size: 18px; }
.mod-facts span { font-size: 11px; }
}

/* ===== 5. Плавное появление изображений ===== */
img.img-fade { opacity: 0; transition: opacity .55s ease; }
img.img-fade.img-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
img.img-fade { opacity: 1; transition: none; }
}

/* ===== 6. Системная подсветка тапа (синий прямоугольник) убрана ===== */
.faq-q, .faq-item, .faq-a, .m-more-btn, .m-more-clip, .mod-card, .zone-plate,
.ways-card, .tech-card, .usage-card, .btn, .mobile-menu a {
-webkit-tap-highlight-color: transparent;
}
.faq-q { -webkit-tap-highlight-color: rgba(0,0,0,0); }

/* ===== 8. Маркер тизера скидки: строго по центру первой строки ===== */
@media (max-width: 768px) {
.hero-offer-note { align-items: flex-start; }
.hero-offer-dot { margin-top: 0.4em; }
}

/* ===== 7. Футер: ровные колонки одной высоты, без «пустот и карманов» ===== */
/* Подвал ОБЩИЙ для всех страниц (inc/footer.php). Ссылки — только на страницы сайта,
   никаких якорей: подвал не должен зависеть от того, на какой странице он показан.
   27.09.2026: колонки выведены на одну высоту (замер по DOM: низ колонок совпадает). */
.footer { padding: 52px 0 44px; font-size: 14px; }
.footer-inner {
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, 1fr);
gap: 28px 40px; align-items: stretch;
}
.footer-brand { display: flex; flex-direction: column; gap: 0; justify-content: space-between; }
.footer-logo {
font-size: 18px; font-weight: 800; letter-spacing: .06em;
text-transform: uppercase; color: #FAF8F4;
}
.footer-sub { font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.5; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-content: space-between; }
.footer-head {
font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 2px;
}
.footer-col a, .footer-links a {
color: rgba(255,255,255,.8); text-decoration: none;
border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 2px;
transition: var(--transition);
}
.footer-col a:hover, .footer-links a:hover { color: #F0A63C; border-bottom-color: #F0A63C; }
.footer-phone { font-size: 16.5px; font-weight: 700; color: #FAF8F4; border-bottom: 0; padding-bottom: 0; }
.footer-phone:hover { color: #F0A63C; border-bottom: 0; }
.footer-msgr { display: flex; gap: 9px; flex-wrap: wrap; }
.footer-msgr a {
display: inline-flex; align-items: center; gap: 7px;
padding: 8px 15px; border-radius: 999px;
border: 1px solid rgba(255,255,255,.24); padding-bottom: 8px;
font-size: 13px; font-weight: 600; color: #FAF8F4;
}
.footer-msgr a:hover { border-color: #F0A63C; color: #F0A63C; }
.footer-msgr svg { width: 15px; height: 15px; flex: 0 0 auto; }
@media (max-width: 760px) {
/* липкой кнопки (.sticky-cta) на этих трёх страницах НЕТ — JS выходит сразу,
   если элемента нет; поэтому место под неё не резервируем (иначе пустой «карман») */
.footer { padding: 46px 0 34px; }
.footer-inner { grid-template-columns: 1fr 1fr; gap: 24px 24px; }
.footer-brand { grid-column: 1 / -1; }
.footer-copy { max-width: none; }
}
@media (max-width: 480px) {
.footer { padding: 38px 0 30px; }
.footer-inner { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.footer-brand { grid-column: 1 / -1; }
.footer-col { gap: 10px; }
}

/* ===== 8. Выпадающий список: своя разметка вместо нативного <select> =====
   Нативный <select> на телефоне открывается системным модальным окном, которое нельзя
   оформить. Оставляем <select> для семантики/валидации/отправки (спрятан, но фокусируем),
   а поверх рисуем кнопку и список. Разметку собирает site.js (см. блок «красивый выпадающий
   список»). */
.sel { position: relative; }
.sel-native {
position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
opacity: 0; pointer-events: none;
}
.sel-btn {
width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
padding: 12px 16px; border: 2px solid var(--color-border); border-radius: var(--radius-md);
background: var(--color-bg); color: var(--color-text);
font: inherit; font-size: 15px; text-align: left; cursor: pointer; transition: var(--transition);
}
.sel-btn::after {
content: ""; flex: 0 0 auto; width: 16px; height: 16px; transition: transform .2s ease;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
}
.sel-btn.is-placeholder { color: var(--color-text-light); }
.sel.open .sel-btn, .sel-btn:focus-visible { border-color: var(--color-accent); outline: none; }
.sel.open .sel-btn::after { transform: rotate(180deg); }
.sel-list {
position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px);
margin: 0; padding: 6px; list-style: none;
background: #FFFFFF; border: 1px solid var(--color-border); border-radius: var(--radius-md);
box-shadow: 0 14px 34px rgba(16,32,27,.16); max-height: 264px; overflow-y: auto;
display: none;
}
.sel.open .sel-list { display: block; }
.sel-opt {
padding: 10px 12px; border-radius: 8px; font-size: 15px; line-height: 1.4;
color: var(--color-text); cursor: pointer;
}
.sel-opt:hover, .sel-opt.is-active { background: var(--color-bg-alt); }
.sel-opt.is-selected { color: var(--color-accent); font-weight: 600; }
/* тёмные панели форм: поле светлое, список — белый, как и сами поля */
.section-dark .form-panel .sel-btn, .lead-form .sel-btn {
background: rgba(255,255,255,.95); border-color: rgba(255,255,255,.3); color: var(--color-text);
}
.section-dark .form-panel .sel-btn.is-placeholder, .lead-form .sel-btn.is-placeholder { color: rgba(26,37,33,.55); }

/* ===== БЛОГ (27.09.2026): хаб, статья, рубрики =====
   Типографики для текстовых страниц раньше не было (политика ПД — отдельная вёрстка),
   поэтому набор классов для статьи живёт здесь и переиспользуется всеми будущими статьями. */
.page-head { max-width: 880px; }
.page-title {
font-size: clamp(30px, 4.2vw, 44px); line-height: 1.14;
letter-spacing: -0.02em; margin: 12px 0 0; color: var(--color-text);
}
.page-lead { font-size: 18px; line-height: 1.7; color: var(--color-text-light); margin: 18px 0 0; }
.post-list { display: grid; gap: 20px; margin-top: 40px; }
.post-card {
display: block; background: var(--color-card); border: 1px solid var(--color-border);
border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-md);
transition: var(--transition);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.post-card-tag {
display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em;
text-transform: uppercase; color: var(--color-accent);
}
.post-card-title { display: block; font-size: 22px; line-height: 1.32; font-weight: 700; margin: 10px 0; color: var(--color-text); }
.post-card-text { display: block; font-size: 15.5px; line-height: 1.65; color: var(--color-text-light); }
.post-card-meta { display: block; margin-top: 14px; font-size: 13.5px; color: var(--color-text-light); }
.rubric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.rubric-card {
background: var(--color-card); border: 1px solid var(--color-border);
border-radius: var(--radius-lg); padding: 24px 26px; box-shadow: var(--shadow-md);
}
.rubric-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--color-text); }
.rubric-text { font-size: 15px; line-height: 1.65; color: var(--color-text-light); margin: 0; }
/* статья: колонка чтения по центру контейнера, иначе справа остаётся пустое поле */
#article .page-head, #article .article { max-width: 760px; margin-left: auto; margin-right: auto; }
.article { max-width: 760px; margin-top: 34px; }
.article-meta { font-size: 14px; color: var(--color-text-light); margin: 14px 0 0; }
.article-img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 30px 0 34px; }
.article p { font-size: 17px; line-height: 1.75; color: var(--color-text-light); margin-bottom: 20px; }
.article .article-lead { font-size: 19px; line-height: 1.65; color: var(--color-text); }
.article h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; margin: 42px 0 16px; color: var(--color-text); }
.article ul { list-style: none; padding: 0; margin: 0 0 22px; }
.article ul li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 17px; line-height: 1.7; color: var(--color-text-light); }
.article ul li::before {
content: ""; position: absolute; left: 6px; top: 12px;
width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent);
}
.article-note {
background: var(--color-bg-alt); border-left: 3px solid var(--color-accent);
border-radius: 0 var(--radius-md) var(--radius-md) 0;
padding: 18px 22px; margin: 28px 0; font-size: 15.5px; line-height: 1.65; color: var(--color-text-light);
}
.cta-band { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.cta-note { font-size: 15px; color: var(--color-text-light); margin: 0; }
@media (max-width: 900px) {
.rubric-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.page-title { font-size: clamp(26px, 7vw, 34px); }
.page-lead { font-size: 16.5px; }
.article p, .article ul li { font-size: 16px; line-height: 1.7; }
.article .article-lead { font-size: 17.5px; }
.article h2 { font-size: 22px; margin-top: 34px; }
.post-card { padding: 22px 20px; }
.cta-band { gap: 18px; }
}

/* ===== ПОДБЛОК «ДОМ, КОТОРЫЙ РАСТЁТ ВМЕСТЕ С ВАМИ» (страница частных, врезка внутри #b2c) ===== */
.grow-block { margin-top: 60px; padding-top: 52px; border-top: 1px solid var(--color-border); }
.grow-head { max-width: 780px; margin-bottom: 28px; }
.grow-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.2; color: var(--color-text); margin-bottom: 12px; }
.grow-lead { font-size: 16.5px; line-height: 1.65; color: var(--color-text-light); }
.grow-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grow-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; }
.grow-card--accent { border-color: var(--color-accent); box-shadow: var(--shadow-md); }
.grow-card-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--color-accent); margin-bottom: 12px; }
.grow-card-title { font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--color-text); margin-bottom: 10px; }
.grow-card-text { font-size: 15px; line-height: 1.65; color: var(--color-text-light); }
.grow-note { margin-top: 26px; max-width: 900px; font-size: 15.5px; line-height: 1.65; color: var(--color-text-light); }
.grow-note a { color: var(--color-accent); font-weight: 600; }
.grow-note a:hover { text-decoration: underline; }
@media (max-width: 900px) {
.grow-cards { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 768px) {
.grow-block { margin-top: 40px; padding-top: 34px; }
.grow-card { padding: 22px; }
.grow-card-title { font-size: 17.5px; }
}

/* ===== ГОСПОДДЕРЖКА: таблицы условий, сценарии, роли ===== */
.spec-table { margin-top: 40px; border-top: 1px solid var(--color-border); }
.spec-row { display: grid; grid-template-columns: 320px 1fr; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--color-border); }
.spec-key { color: var(--color-text-light); font-size: 15px; line-height: 1.6; }
.spec-val { color: var(--color-text); font-size: 16px; line-height: 1.65; }
.spec-note { margin-top: 30px; color: var(--color-text-light); font-size: 16px; line-height: 1.75; max-width: 920px; }
.spec-note strong { color: var(--color-text); }

.scenario-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.scenario-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px 26px; }
.scenario-num { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 10px; }
.scenario-title { font-size: 19px; font-weight: 600; color: var(--color-text); margin-bottom: 12px; }
.scenario-text { color: var(--color-text-light); font-size: 15.5px; line-height: 1.7; }

.role-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; margin-top: 40px; }
.role-col-title { font-size: 18px; font-weight: 600; color: var(--color-text); margin-bottom: 16px; }
.gp-text { margin-top: 22px; color: var(--color-text); font-size: 17px; line-height: 1.75; max-width: 920px; }

@media (max-width: 900px) {
  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .scenario-grid { grid-template-columns: 1fr; gap: 16px; }
  .role-cols { grid-template-columns: 1fr; gap: 26px; }
}

/* ===== ГОСПОДДЕРЖКА 30.09.2026: ритм отступов, нумерованные списки ===== */
/* Воздух. Замер до правки (1440px): hero btn->img = 0px, lead->btn = 0px,
   условия scenario-grid->img = 0px, самопроверка checklist->btn = 0px. */
.gp-hero-btns { margin-top: 36px; }
.gp-air { margin-top: 48px; }
.gp-photo { margin-top: 54px; }
#how .spec-table { margin-top: 44px; }
#steps .gp-risks-head { margin-top: 92px; }

/* Таблица условий: ключ — тёмный и полужирный, значение — приглушённое.
   Раньше было наоборот (ключ серый, значение тёмное) — блок читался как сырой. */
.spec-key { font-weight: 600; color: var(--color-text); }
.spec-val { color: var(--color-text-light); }
#how .spec-key { font-weight: 700; }

/* «Соответствие требованиям» — нумерованные карточки вместо разметки таблицы */
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.proof-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 30px 28px 28px; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-accent);
}
.proof-num {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--color-accent); margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.proof-title { font-size: 18px; font-weight: 600; color: var(--color-text); line-height: 1.35; margin-bottom: 10px; }
.proof-text { color: var(--color-text-light); font-size: 15.5px; line-height: 1.7; }
.proof-card--wide { grid-column: 1 / -1; }

/* Риски — нумерованные строки (был тот же вид таблицы, что у условий и соответствия) */
.risk-list { list-style: none; padding: 0; margin: 42px 0 0; }
.risk-item { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--color-border); }
.risk-item:last-child { border-bottom: 1px solid var(--color-border); }
.risk-num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-accent-light); color: var(--color-accent);
  font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
}
.risk-title { font-size: 18px; font-weight: 600; color: var(--color-text); line-height: 1.4; margin-bottom: 8px; }
.risk-text { color: var(--color-text-light); font-size: 15.5px; line-height: 1.7; max-width: 940px; }

@media (max-width: 900px) {
  .gp-hero-btns { margin-top: 28px; }
  .gp-air { margin-top: 36px; }
  .gp-photo { margin-top: 38px; }
  #steps .gp-risks-head { margin-top: 64px; }
  .proof-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .proof-card { padding: 24px 22px 22px; }
  .risk-list { margin-top: 32px; }
  .risk-item { gap: 16px; padding: 22px 0; }
  .risk-num { width: 30px; height: 30px; font-size: 14px; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026: герой во всю ширину, оживление блоков ===== */

/* --- ГЕРОЙ: текст + три цифры, фото во всю ширину экрана --- */
.gp-hero { padding-bottom: 0; }
.gp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); gap: 60px; align-items: start; }
.gp-hero .page-head { max-width: none; }
.gp-hero-facts { border-left: 1px solid var(--color-border); }
.gp-fact { padding: 20px 0 20px 28px; border-bottom: 1px solid var(--color-border); }
.gp-fact:first-child { padding-top: 0; }
.gp-fact:last-child { border-bottom: none; padding-bottom: 0; }
.gp-fact b { display: block; font-size: 30px; font-weight: 700; line-height: 1.05; letter-spacing: -0.015em;
  color: var(--color-accent); font-variant-numeric: tabular-nums; }
.gp-fact span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--color-text-light); margin-top: 7px; }
.gp-hero-media { margin-top: 58px; }
.gp-hero-media img { display: block; width: 100%; aspect-ratio: 2.4; object-fit: cover; object-position: 50% 50%; }

/* --- УСЛОВИЯ: три цифры крупно + компактный список требований --- */
.gp-money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.gp-money-card { background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 28px 26px; }
.gp-money-val { font-size: 33px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--color-accent); font-variant-numeric: tabular-nums; }
.gp-money-cap { font-size: 14.5px; line-height: 1.55; color: var(--color-text-light); margin-top: 12px; }
.gp-need { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px; margin-top: 32px; }
.gp-need li { display: flex; align-items: flex-start; gap: 13px; padding: 15px 0;
  border-bottom: 1px solid var(--color-border); font-size: 15.5px; line-height: 1.6; color: var(--color-text); }
.gp-need b { font-weight: 600; }

/* --- СЦЕНАРИИ: два варианта, читаемые с первого взгляда --- */
.gp-scen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.gp-scen-card { background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 32px 30px 30px; display: flex; flex-direction: column; }
.gp-scen-tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-text-light); }
.gp-scen-head { font-size: 22px; font-weight: 700; line-height: 1.28; color: var(--color-text); margin-top: 10px; }
.gp-scen-art { margin-top: 24px; height: 74px; display: flex; align-items: flex-end; gap: 10px; }
.gp-scen-art svg { height: 100%; width: auto; display: block; overflow: visible; color: var(--color-accent); }
.gp-scen-fig { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.gp-scen-sum { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  color: var(--color-accent); font-variant-numeric: tabular-nums; }
.gp-scen-per { font-size: 14.5px; line-height: 1.4; color: var(--color-text-light); }
.gp-scen-text { font-size: 15.5px; line-height: 1.7; color: var(--color-text-light); margin-top: 16px; }

/* --- СООТВЕТСТВИЕ: сверка «требование программы → наш факт» --- */
.gp-match { margin-top: 44px; border-top: 1px solid var(--color-border); }
.gp-match-row { display: flex; align-items: baseline; gap: 16px; padding: 19px 0;
  border-bottom: 1px solid var(--color-border); }
.gp-match-req { flex: 0 1 auto; font-size: 15.5px; line-height: 1.55; color: var(--color-text-light); }
.gp-match-req i { font-style: normal; display: inline-block; min-width: 26px; color: var(--color-border);
  font-weight: 700; font-variant-numeric: tabular-nums; }
.gp-match-dots { flex: 1 1 40px; min-width: 34px; border-bottom: 1px dotted #CFC8BD; transform: translateY(-5px); }
.gp-match-val { flex: 0 0 auto; font-size: 17px; font-weight: 700; line-height: 1.4;
  color: var(--color-text); text-align: right; }
.gp-match-val em { font-style: normal; color: var(--color-accent); }

/* --- ПОРЯДОК ДЕЙСТВИЙ: вертикальная лента со связью шагов --- */
.gp-steps { margin-top: 46px; }
.gp-step { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 26px;
  padding-bottom: 36px; }
.gp-step:last-child { padding-bottom: 0; }
.gp-step::before { content: ''; position: absolute; left: 28px; top: 46px; bottom: 6px; width: 2px;
  background: var(--color-border); }
.gp-step:last-child::before { display: none; }
.gp-step-num { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%;
  background: var(--color-card); border: 2px solid var(--color-accent); color: var(--color-accent);
  font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums; }
.gp-step-body { padding-top: 8px; }
.gp-step-title { font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--color-text); }
.gp-step-text { font-size: 15.5px; line-height: 1.7; color: var(--color-text-light); margin-top: 10px;
  max-width: 880px; }
.gp-step-when { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--color-accent); }

/* --- фотополосы и развороты в блоках --- */
.gp-band { margin-top: 48px; }
.gp-band img { display: block; width: 100%; aspect-ratio: 2.6; object-fit: cover;
  border-radius: var(--radius-lg); }
.gp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
  align-items: center; margin-top: 40px; }
.gp-split img { display: block; width: 100%; border-radius: var(--radius-lg); }

@media (max-width: 900px) {
  .gp-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .gp-hero-facts { border-left: none; border-top: 1px solid var(--color-border);
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; padding-top: 0; }
  .gp-fact { padding: 20px 0 0; border-bottom: none; }
  .gp-fact b { font-size: 22px; }
  .gp-fact span { font-size: 12.5px; }
  .gp-hero-media { margin-top: 38px; }
  .gp-hero-media img { aspect-ratio: 1.4; }
  .gp-money { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .gp-money-card { padding: 22px 22px; }
  .gp-money-val { font-size: 28px; }
  .gp-need { grid-template-columns: 1fr; gap: 0; margin-top: 26px; }
  .gp-scen { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .gp-scen-card { padding: 26px 22px 24px; }
  .gp-scen-head { font-size: 20px; }
  .gp-scen-art { height: 60px; margin-top: 18px; }
  .gp-scen-sum { font-size: 30px; }
  .gp-match-row { flex-wrap: wrap; gap: 4px 14px; padding: 16px 0; }
  .gp-match-req { flex: 1 1 100%; }
  .gp-match-dots { display: none; }
  .gp-match-val { flex: 1 1 100%; text-align: left; }
  .gp-match-val::before { content: 'Наш дом: '; font-weight: 400; color: var(--color-text-light); }
  .gp-steps { margin-top: 32px; }
  .gp-step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 28px; }
  .gp-step::before { left: 21px; top: 36px; }
  .gp-step-num { width: 44px; height: 44px; font-size: 17px; }
  .gp-step-title { font-size: 18px; }
  .gp-band { margin-top: 32px; }
  .gp-band img { aspect-ratio: 1.6; }
  .gp-split { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
}

/* --- РАСЧЁТ: калькулятор одной строкой --- */
.gp-calc { margin-top: 38px; background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 30px 30px 26px; }
.gp-calc-label { display: block; font-size: 14px; font-weight: 600; color: var(--color-text); margin-bottom: 12px; }
.gp-calc-row { display: flex; align-items: stretch; gap: 28px; flex-wrap: wrap; }
.gp-calc-input { max-width: 150px; font-size: 20px; font-weight: 700; text-align: center; }
.gp-calc-out { display: flex; gap: 36px; flex-wrap: wrap; align-items: baseline; }
.gp-calc-cell b { display: block; font-size: 26px; font-weight: 700; line-height: 1.1;
  letter-spacing: -0.015em; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.gp-calc-cell span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--color-text-light);
  margin-top: 6px; max-width: 280px; }

/* --- подзаголовок блока сценариев --- */
.gp-scen-lead { margin-top: 74px; }

@media (max-width: 900px) {
  .gp-calc { padding: 22px 20px 20px; margin-top: 30px; }
  .gp-calc-row { gap: 18px; }
  .gp-calc-input { max-width: 100%; width: 100%; }
  .gp-calc-out { gap: 20px; }
  .gp-calc-cell b { font-size: 22px; }
  .gp-scen-lead { margin-top: 48px; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 2): иконки, акцент варианта, сверка, лента ===== */

/* иконки в карточках с цифрами */
.gp-money-ic { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--color-accent-light); color: var(--color-accent); margin-bottom: 18px; }
.gp-money-ic svg { width: 22px; height: 22px; }

/* сценарии: множитель у домиков и акцент на втором варианте */
.gp-scen-mult { align-self: flex-end; margin-left: 6px; margin-bottom: 8px; font-size: 15px;
  font-weight: 700; color: var(--color-text); white-space: nowrap; }
.gp-scen-card--hi { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.gp-scen-card--hi .gp-scen-tag { color: var(--color-accent); }
.gp-scen-card--hi .gp-scen-art { color: var(--color-accent); }
.gp-scen-card--hi .gp-scen-mult { color: var(--color-accent); }

/* сверка: галочка у нашего факта */
.gp-match-mark { display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 50%; background: var(--color-accent); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1; margin-right: 9px; vertical-align: 1px; }

/* лента шагов: заполненные узлы и заметная связь */
.gp-step-num { background: var(--color-accent); border-color: var(--color-accent); color: #fff;
  box-shadow: 0 0 0 7px var(--color-bg-alt); }
.gp-step::before { width: 3px; background: rgba(180, 83, 9, .3); }

/* мини-CTA внутри светлых секций: фон должен отличаться от фона секции */
.section-alt .mini-cta { background: var(--color-card); }

/* разворот текста с фото: первый абзац без лишнего отступа */
.gp-split .gp-text:first-child { margin-top: 0; }

@media (max-width: 900px) {
  .gp-money-ic { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; }
  .gp-money-ic svg { width: 19px; height: 19px; }
  .gp-scen-mult { font-size: 14px; margin-bottom: 6px; }
  .gp-match-mark { width: 16px; height: 16px; font-size: 10px; margin-right: 7px; }
  .gp-step-num { box-shadow: 0 0 0 5px var(--color-bg-alt); }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 3): мобильные правки ===== */
/* Замер на 320px: карточка варианта выходила за экран на 92px —
   строку «1,5 млн ₽» и подпись не удавалось ужать, а три домика не переносились. */
.gp-scen, .gp-scen-card { min-width: 0; }

@media (max-width: 900px) {
  .gp-scen-fig { flex-direction: column; align-items: flex-start; gap: 6px; }
  .gp-scen-sum { font-size: 28px; }
  .gp-scen-per br { display: none; }
  .gp-scen-art { height: auto; min-height: 52px; flex-wrap: wrap; row-gap: 8px; }
  .gp-scen-art svg { height: 52px; }
  .gp-scen-mult { align-self: center; margin-bottom: 0; }
  .gp-calc-cell span { max-width: none; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 4): риски отличны от ленты шагов ===== */
/* В ленте шагов — крупные залитые круги с соединительной линией. Если риски оставить
   такими же кругами, два блока читаются как один список. Разводим: у рисков — обычная
   цифра, пунктирная линия и левая акцентная черта, связи между пунктами нет. */
.risk-list { counter-reset: none; }
.risk-item { border-top: 1px dashed var(--color-border); border-left: 3px solid var(--color-accent);
  padding: 22px 0 22px 22px; gap: 16px; align-items: flex-start; }
.risk-item:last-child { border-bottom: none; }
.risk-num { flex: 0 0 auto; width: auto; height: auto; min-width: 20px; background: none;
  border-radius: 0; color: var(--color-accent); font-size: 16px; font-weight: 700; line-height: 1.5;
  display: block; padding: 0; }
.risk-title { font-size: 17px; margin-bottom: 7px; }
.risk-text { font-size: 15px; }

@media (max-width: 900px) {
  .risk-item { padding: 18px 0 18px 16px; gap: 12px; }
  .risk-num { font-size: 15px; min-width: 18px; }
  .risk-title { font-size: 16.5px; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 5): воздух под шапкой, ключевые слова в цифрах,
   калькулятор, который выглядит калькулятором ===== */

/* --- 1. Зазор после фиксированного меню. Замер до правки (1440): кикер стоял на 83 px
   при шапке 73 px => зазор 10 px, текст липнул к полосе меню. --- */
.gp-hero { padding-top: 128px; }

/* --- 2. Плашки «Что даёт программа»: над цифрой — ключевое слово --- */
.gp-money-tag {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 10px;
}
.gp-money .gp-money-val { font-size: 38px; line-height: 1.02; }
.gp-money .gp-money-cap { font-size: 15.5px; }

/* --- 3. Калькулятор: управление слева, результат справа, крупные цифры --- */
.gp-calc {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
}
.gp-calc-ctrl {
    padding: 36px 34px 34px;
    border-right: 1px solid var(--color-border);
}
.gp-calc-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: 999px;
    padding: 7px 15px;
}
.gp-calc-tag svg { width: 15px; height: 15px; }
.gp-calc .gp-calc-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 18px 0 16px;
}
.gp-calc-step-row { display: flex; align-items: stretch; gap: 10px; }
.gp-calc-step {
    flex: 0 0 58px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    font-size: 27px;
    font-weight: 600;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    transition: border-color .18s, color .18s;
    padding: 0;
}
.gp-calc-step:hover { border-color: var(--color-accent); color: var(--color-accent); }
.gp-calc .gp-calc-input {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    height: 84px;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: var(--color-text);
    padding: 0 12px;
}
.gp-calc-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.gp-calc .gp-calc-cell {
    padding: 36px 34px 34px;
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}
.gp-calc .gp-calc-cell:last-child { border-right: none; }
.gp-calc .gp-calc-cap {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin: 0;
    max-width: none;
}
.gp-calc .gp-calc-cell b {
    display: block;
    font-size: 46px;
    line-height: 1.02;
    margin-top: 16px;
    color: var(--color-accent);
}
.gp-calc .gp-calc-hint {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-light);
    margin: 22px 0 0;
    max-width: none;
}

/* --- мобильные --- */
@media (max-width: 900px) {
    .gp-hero { padding-top: 112px; }
    .gp-calc { grid-template-columns: 1fr; }
    .gp-calc-ctrl { border-right: none; border-bottom: 1px solid var(--color-border); padding: 26px 22px 24px; }
    .gp-calc .gp-calc-label { font-size: 17px; margin: 15px 0 14px; }
    .gp-calc-step { flex: 0 0 50px; font-size: 24px; }
    .gp-calc .gp-calc-input { height: 72px; font-size: 34px; }
    .gp-calc .gp-calc-cell { padding: 24px 22px 26px; }
    .gp-calc .gp-calc-cell b { font-size: 34px; }
    .gp-money-tag { font-size: 11.5px; }
    .gp-money .gp-money-val { font-size: 30px; }
}

@media (max-width: 560px) {
    .gp-calc-out { grid-template-columns: 1fr; }
    .gp-calc .gp-calc-cell { border-right: none; border-bottom: 1px solid var(--color-border); }
    .gp-calc .gp-calc-cell:last-child { border-bottom: none; }
    .gp-calc .gp-calc-cell b { font-size: 30px; }
    .gp-money .gp-money-val { font-size: 27px; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 6): цифры-акцент в калькуляторе,
   карточка контактов во всю ширину блоков ===== */

/* --- 1. Цифры результата — акцент, «млн ₽» мельче --- */
.gp-calc .gp-calc-cell b {
    display: flex;
    align-items: baseline;
    gap: 9px;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--color-accent);
    margin-top: 18px;
}
.gp-calc .gp-calc-num { font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.gp-calc .gp-calc-unit {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--color-text-light);
}

/* --- 2. Карточка контактов = стандартная ширина блоков.
   Замер до правки (1440): контейнер 1200 (контент 1152), карточка 1080 — узкая
   из-за max-width: 1080px / margin: 0 auto. --- */
.contact-card { max-width: none; margin: 0; }

@media (max-width: 900px) {
    .gp-calc .gp-calc-cell b { font-size: 46px; gap: 7px; }
    .gp-calc .gp-calc-num { font-size: 46px; }
    .gp-calc .gp-calc-unit { font-size: 18px; }
}

@media (max-width: 560px) {
    .gp-calc .gp-calc-cell b { font-size: 40px; }
    .gp-calc .gp-calc-num { font-size: 40px; }
    .gp-calc .gp-calc-unit { font-size: 16px; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 7): калькулятор — три равные ячейки,
   цифры ввода и результата одного размера, цвета и на одном уровне ===== */

/* Три равные ячейки вместо «управление | результат». */
.gp-calc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }

/* Ячейка — одна колонка: подпись капсом → значение → пояснение внизу.
   Пояснение прижато к низу (margin-top: auto), поэтому во всех трёх ячейках
   подписи, значения и пояснения стоят на одних линиях. */
.gp-calc .gp-calc-cell {
    display: flex;
    flex-direction: column;
    padding: 34px 30px 30px;
    border-right: 1px solid var(--color-border);
    border-bottom: none;
}
.gp-calc .gp-calc-cell:last-child { border-right: none; }

/* Подпись: фиксированная высота в две строки — если где-то текст переносится,
   строка со значением не съезжает. */
.gp-calc .gp-calc-cap { min-height: 37px; margin: 0; }

/* Строка значения: одна высота для поля ввода и для чисел результата —
   отсюда «один уровень» у всех трёх цифр. */
.gp-calc .gp-calc-value { display: flex; align-items: center; height: 88px; margin-top: 14px; }
.gp-calc .gp-calc-fig { display: inline-flex; align-items: baseline; gap: 9px; }

/* Поле ввода = та же цифра, что и в результатах: 64 px, акцентный цвет. */
.gp-calc .gp-calc-input {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    height: 88px;
    padding: 0 8px;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    text-align: center;
    color: var(--color-accent);
    font-variant-numeric: tabular-nums;
}
.gp-calc .gp-calc-value--ctrl { gap: 10px; }
.gp-calc .gp-calc-step {
    align-self: stretch;
    flex: 0 0 56px;
    font-size: 26px;
    font-weight: 600;
}

/* Пояснение — на одной линии во всех ячейках (прижато к низу). */
.gp-calc .gp-calc-hint { margin: auto 0 0; padding-top: 20px; }

/* Порядок на узких экранах: подпись → значение → пояснение, ячейки друг под другом. */
@media (max-width: 900px) {
    .gp-calc { grid-template-columns: 1fr; }
    .gp-calc .gp-calc-cell {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 24px 22px 24px;
    }
    .gp-calc .gp-calc-cell:last-child { border-bottom: none; }
    .gp-calc .gp-calc-value { height: 72px; margin-top: 12px; }
    .gp-calc .gp-calc-input { height: 72px; font-size: 46px; }
    .gp-calc .gp-calc-num { font-size: 46px; }
    .gp-calc .gp-calc-hint { padding-top: 14px; }
}

@media (max-width: 560px) {
    .gp-calc .gp-calc-cap { min-height: 0; }
    .gp-calc .gp-calc-value { height: 64px; }
    .gp-calc .gp-calc-input { height: 64px; font-size: 40px; }
    .gp-calc .gp-calc-num { font-size: 40px; }
    .gp-calc .gp-calc-unit { font-size: 16px; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 8): цифры на одном уровне ===== */
/* Замер: цифра в поле ввода стояла на 6 px выше цифр результата. Причина — flex
   с align-items: baseline внутри .gp-calc-fig (добавлял 6 px над числом).
   Замена на обычный inline-бокс: единица измерения садится на ту же базовую линию,
   высота строки = высоте цифры => центры всех трёх цифр совпадают (44 px от верха). */
.gp-calc .gp-calc-fig { display: block; font-size: 64px; line-height: 1; white-space: nowrap; }
.gp-calc .gp-calc-num { font-size: 64px; line-height: 1; }
.gp-calc .gp-calc-unit { font-size: 22px; line-height: 1; }

@media (max-width: 900px) {
    .gp-calc .gp-calc-fig, .gp-calc .gp-calc-num { font-size: 46px; }
    .gp-calc .gp-calc-unit { font-size: 18px; }
}
@media (max-width: 560px) {
    .gp-calc .gp-calc-fig, .gp-calc .gp-calc-num { font-size: 40px; }
    .gp-calc .gp-calc-unit { font-size: 16px; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 9): цифры одного стиля и на одной линии ===== */
/* Причина расхождений — старое правило `.gp-calc-cell span { display: block; color: var(--color-text-light) }`
   (специфичность 0,1,1): оно делало число и единицу БЛОЧНЫМИ (в ячейке «от / 12,0 / млн ₽»
   три строки вместо одной) и красило цифры в серый. Перекрываю двойным селектором. */
.gp-calc .gp-calc-num {
    display: inline;
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-accent);
    font-variant-numeric: tabular-nums;
}
.gp-calc .gp-calc-unit {
    display: inline;
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--color-text-light);
}

@media (max-width: 900px) {
    .gp-calc .gp-calc-fig, .gp-calc .gp-calc-num { font-size: 46px; }
    .gp-calc .gp-calc-unit { font-size: 18px; }
}
@media (max-width: 560px) {
    .gp-calc .gp-calc-fig, .gp-calc .gp-calc-num { font-size: 40px; }
    .gp-calc .gp-calc-unit { font-size: 16px; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 10): остаток 3 px и пробелы между числом и «млн ₽» ===== */
/* Единица измерения не должна раздувать высоту строки: line-height: 0 убирает её вклад
   в высоту строки, глифы рисуются по той же базовой линии. Тогда строка = ровно высоте
   цифры (64 px), и её центр совпадает с центром цифры в поле ввода. */
.gp-calc .gp-calc-unit { line-height: 0; }

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 11): точная посадка цифр на один уровень ===== */
/* Браузер центрирует текст в поле ввода по метрикам шрифта, а число результата — по
   высоте строки; отсюда остаток 3 px (замер: центр цифры ввода 3531, результата 3534
   при 64 px). Компенсация — сдвиг текстового блока результата на 3 px.
   Актуально только для трёхколоночной раскладки (>900px), где цифры стоят рядом. */
.gp-calc .gp-calc-fig { position: relative; top: -3px; }
@media (max-width: 900px) {
    .gp-calc .gp-calc-fig { top: 0; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 12): поле ввода не раздувает ячейку на узких экранах ===== */
/* Замер на 320–390px: ячейка управления выходила за экран до 396px — у input[type=number]
   ширина по умолчанию большая и flex не мог её сжать (min-width: auto). */
.gp-calc .gp-calc-input { min-width: 0; }

@media (max-width: 560px) {
    .gp-calc .gp-calc-step { flex: 0 0 48px; font-size: 22px; }
    .gp-calc .gp-calc-value--ctrl { gap: 8px; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 13): колонка грида сжимается ===== */
/* `1fr` = minmax(auto, 1fr), а auto у грид-элемента = min-content: ячейка управления
   держала 351px и на 320–360px вылезала за экран. minmax(0, 1fr) снимает пол. */
@media (max-width: 900px) {
    .gp-calc { grid-template-columns: minmax(0, 1fr); }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 14): мобильные выравнивания ===== */

@media (max-width: 900px) {
    /* 1. Шапка: три цифры (1,5 млн ₽ / 15 м² / 10 лет) шли «лесенкой».
       Замер: первая цифра на 681, вторая и третья на 701 — у первой было снято
       padding-top правилом .gp-fact:first-child { padding-top: 0 } (0,2,0).
       Возвращаю всем одинаковый отступ — цифры и подписи встают на одни линии. */
    .gp-hero-facts .gp-fact { padding-top: 20px; }

    /* 2. Калькулятор: значения по центру ячейки — цифры встают друг под другом
       по одной вертикали. Было: подпись и пояснение слева, а цифра в поле ввода
       по центру строки −/+; из-за разной длины подписей цифры читались лесенкой. */
    .gp-calc .gp-calc-value { justify-content: center; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 15): цифры калькулятора по центру на мобильном ===== */
/* .gp-calc-fig — блочный элемент во всю ширину ячейки, поэтому justify-content: center
   на строке значения её не центрировал (замер: центры 166 и 180 при центре ячейки 195).
   Центрируем inline-содержимое самого блока. */
@media (max-width: 900px) {
    .gp-calc .gp-calc-fig { text-align: center; }
}

/* ===== ГОСПОДДЕРЖКА 01.10.2026 (часть 16): на мобильном цифры строго друг под другом ===== */
/* Центрирование группы «число + млн ₽» оставляло сами числа лесенкой: центр группы
   смещён влево на половину ширины единицы (замер: центры чисел 166 и 180 при центре
   ячейки 195). На мобильном единица измерения уходит на строку под числом, поэтому
   число стоит ровно по центру ячейки. На десктопе число и единица остаются в строке. */
@media (max-width: 900px) {
    .gp-calc .gp-calc-unit { display: block; margin-top: 2px; line-height: 1.15; }
}

/* ===== МОСТИК НА ГОСПОДДЕРЖКУ (общий компонент, 01.10.2026) ===== */
/* Единый блок-ссылка на /gospodderzhka/: на главной (под «Кому это интересно»)
   и на глэмпингах (после блока экономики). Господдержка — не отдельная услуга,
   а усилитель направления «Глэмпингам», поэтому из меню убрана, а живёт мостиком
   в глэмпинг-потоке + ссылкой в подвале. */
.bridge-card {
    display: flex; align-items: center; gap: 28px;
    margin-top: 28px; padding: 26px 32px;
    background: var(--color-accent-light);
    border: 1px solid transparent; border-radius: var(--radius-lg);
    text-decoration: none; color: inherit;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.bridge-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); }
.bridge-num { flex: none; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.05; color: var(--color-accent); letter-spacing: -.02em; }
.bridge-num small { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-light); }
.bridge-text { flex: 1; font-size: 16px; line-height: 1.6; color: var(--color-text); }
.bridge-more { flex: none; font-size: 15px; font-weight: 600; color: var(--color-accent); white-space: nowrap; }
@media (max-width: 900px) {
    .bridge-card { display: block; padding: 24px; }
    .bridge-num { font-size: 32px; }
    .bridge-text { margin-top: 14px; }
    .bridge-more { display: block; margin-top: 14px; }
}
