/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #f9fbf9;
    color: #1a2a1f;
    line-height: 1.5;
}
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
a {
    text-decoration: none;
    color: inherit;
}
.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #1a2a1f;
}
.section-sub {
    text-align: center;
    color: #4a5a4f;
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.accent {
    color: #d97d2b;
}
.btn-primary {
    display: inline-block;
    background: #1f7a3a;
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    letter-spacing: 0.3px;
}
.btn-primary:hover {
    background: #14592a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 122, 58, 0.25);
}

/* ===== HEADER ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 16px 0;
    border-bottom: 1px solid #e5ebe5;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.logo {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: #1a2a1f;
}
.logo span {
    color: #1f7a3a;
}
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav a {
    color: #2a3a2f;
    font-weight: 500;
    transition: 0.2s;
    font-size: 0.95rem;
}
.nav a:hover {
    color: #1f7a3a;
}
.nav .menu-toggle {
    display: none;
    font-size: 1.6rem;
    color: #1f7a3a;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 8px;
    line-height: 1;
    transition: 0.2s;
}
.nav .menu-toggle:hover {
    color: #d97d2b;
}
.nav .menu-toggle i {
    display: inline-block;
    transition: transform 0.2s;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.header-phone {
    font-weight: 600;
    font-size: 1.2rem;
    color: #1f7a3a;
}
.header-phone i {
    margin-right: 8px;
}
.header-schedule {
    font-size: 0.85rem;
    color: #4a5a4f;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.header-schedule i {
    color: #1f7a3a;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('img/main.jpg') center/cover no-repeat;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.25) 100%);
    z-index: 1;
}
.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-left {
    flex: 1 1 55%;
    max-width: 680px;
}
.hero-right {
    flex: 0 1 380px;
    min-width: 300px;
}
.hero .tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(4px);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 18px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}
.hero h1 .accent {
    color: #d97d2b;
    text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}
.hero h1.hero-title-sm {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.2px;
    margin-bottom: 20px;
}
.hero-actions {
    margin-bottom: 22px;
}
.btn-calc-bright {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #d97d2b 0%, #b85f10 60%, #d97d2b 100%);
    box-shadow: 0 10px 28px rgba(217,125,43,0.45);
    letter-spacing: 0.2px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    animation: calcPulse 2.4s ease-in-out infinite;
}
.btn-calc-bright i {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25));
}
.btn-calc-bright::after {
    content: "→";
    font-size: 1.3rem;
    transition: 0.3s;
    margin-left: 2px;
}
.btn-calc-bright:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(217,125,43,0.55);
}
.btn-calc-bright:hover::after {
    transform: translateX(4px);
}
@keyframes calcPulse {
    0%, 100% { box-shadow: 0 10px 28px rgba(217,125,43,0.45); }
    50%      { box-shadow: 0 10px 34px rgba(217,125,43,0.7); }
}
.hero-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: #ffffff;
    font-size: 1rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
    margin-top: 4px;
}
.hero-contacts i {
    color: #d97d2b;
    margin-right: 6px;
}
.hero-form-wrap {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(6px);
    padding: 24px 22px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    width: 100%;
}
.hero-form-wrap .form-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a2a1f;
}
.hero-form-wrap .form-subtitle {
    font-size: 0.9rem;
    color: #6a7a6f;
    margin-bottom: 14px;
    font-weight: 500;
}
.hero-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-form input[type="text"],
.hero-form input[type="tel"] {
    padding: 12px 16px;
    border: 1px solid #e5ebe5;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    color: #1a2a1f;
    width: 100%;
    transition: 0.2s;
    outline: none;
}
.hero-form input[type="text"]:focus,
.hero-form input[type="tel"]:focus {
    border-color: #1f7a3a;
    box-shadow: 0 0 0 3px rgba(31, 122, 58, 0.08);
}
.hero-form .btn-primary {
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    margin-top: 2px;
}
.hero-form .form-note {
    font-size: 0.75rem;
    color: #6a7a6f;
    text-align: center;
    margin-top: 2px;
}
.hero-phone {
    font-size: 1.1rem;
    color: #4a5a4f;
    margin-top: 12px;
    display: block;
}
.hero-phone i {
    color: #1f7a3a;
    margin-right: 6px;
}

/* ===== БАННЕР 2 СОРТ ===== */
.banner-second {
    background: #f0f5f0;
    padding: 40px 0;
    border-bottom: 1px solid #e5ebe5;
}
.banner-second .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
}
.banner-second h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2a1f;
}
.banner-second p {
    font-size: 1.1rem;
    color: #2a3a2f;
}
.banner-second strong {
    color: #1f7a3a;
}

/* ===== СИЛОВОЙ КАРКАС ===== */
.frame-block {
    padding: 80px 0;
    background: #f9fbf9;
    border-top: 1px solid #e5ebe5;
    border-bottom: 1px solid #e5ebe5;
}
.frame-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
}
.frame-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.frame-right {
    flex: 1;
    background: url('img/frame/frame.jpg') center/cover no-repeat;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.frame-tag {
    display: inline-block;
    background: rgba(31, 122, 58, 0.12);
    color: #1f7a3a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.frame-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #0f172a;
}
.frame-title .accent {
    color: #d97d2b;
}
.frame-text p {
    font-size: 1.05rem;
    color: #1a2a1f;
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: 500;
}
.frame-text p:last-child {
    color: #1f7a3a;
    font-weight: 700;
}
.frame-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.frame-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    padding: 10px 16px;
    border-radius: 6px;
}
.frame-feature i {
    color: #1f7a3a;
    font-size: 1.2rem;
}
.frame-block .btn-primary {
    padding: 16px 48px;
    font-size: 1.05rem;
    align-self: flex-start;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5ebe5;
    border-bottom: 1px solid #e5ebe5;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 30px;
    margin-top: 20px;
}
.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f9fbf9;
    padding: 20px 18px;
    border-radius: 8px;
    border: 1px solid #e5ebe5;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
    border-color: #d97d2b;
}
.advantage-item .icon {
    flex-shrink: 0;
    font-size: 1.8rem;
    color: #d97d2b;
    width: 40px;
    text-align: center;
    margin-top: 2px;
}
.advantage-item .text {
    font-weight: 500;
    font-size: 0.95rem;
    color: #1a2a1f;
    line-height: 1.4;
}

/* ===== ВИДЕО ===== */
.video-block {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5ebe5;
    border-bottom: 1px solid #e5ebe5;
}
.video-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.06);
    border: 1px solid #e5ebe5;
}
.video-wrapper video {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* ===== СРАВНЕНИЕ ===== */
.compare-section {
    padding: 60px 0;
    background: #f9fbf9;
    border-bottom: 1px solid #e5ebe5;
}
.compare-intro {
    max-width: 700px;
    margin: 0 auto 32px;
    text-align: left;
    background: #fff;
    padding: 18px 24px;
    border-radius: 8px;
    border-left: 4px solid #d97d2b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    display: block;
}
.compare-intro p {
    font-weight: 600;
    font-size: 1.05rem;
    color: #1a2a1f;
    margin-bottom: 6px;
}
.compare-intro ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.compare-intro ul li {
    padding: 3px 0;
    font-size: 0.95rem;
    color: #2a3a2f;
}
.compare-intro ul li strong {
    color: #1f7a3a;
}
.compare-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.compare-card {
    flex: 1 1 210px;
    max-width: 260px;
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 14px 16px;
    border: 1px solid #e5ebe5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.compare-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -6px rgba(0,0,0,0.06);
}
.compare-card .compare-icon {
    font-size: 2.2rem;
    margin-bottom: 4px;
}
.compare-card h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1a2a1f;
}
.compare-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    width: 100%;
    text-align: left;
}
.compare-card .feature-list li {
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #2a3a2f;
}
.compare-card .feature-list .icon {
    display: inline-block;
    width: 18px;
    text-align: center;
    font-weight: 700;
}
.feature-list .good .icon { color: #1f7a3a; }
.feature-list .bad .icon { color: #c0392b; }
.compare-card .badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    margin-top: 2px;
    letter-spacing: 0.3px;
}
.badge-green { background: rgba(31,122,58,0.12); color: #1f7a3a; }
.badge-red   { background: #fde8e8; color: #b91c1c; }
.badge-blue  { background: #e5f0f5; color: #1a5a7a; }
.compare-card.highlight {
    border: 2px solid #d97d2b;
    background: #fefbf7;
    box-shadow: 0 0 16px rgba(217,125,43,0.06);
}
.compare-card.highlight .compare-icon {
    color: #d97d2b;
}

/* ===== ПРОДУКЦИЯ ===== */
.products {
    padding: 80px 0;
    background: #ffffff;
}
.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.prod-card {
    background: #f9fbf9;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5ebe5;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.02);
}
.prod-card:hover {
    transform: translateY(-6px);
    border-color: #d97d2b;
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.06);
}
.prod-card .image {
    background: #f5f7f5;
    border-radius: 6px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
}
.prod-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prod-card h4 {
    font-weight: 600;
    font-size: 1.05rem;
    color: #1a2a1f;
}
.prod-card .price {
    color: #1f7a3a;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 8px;
}
.prod-card .note {
    color: #6a7a6f;
    font-size: 0.8rem;
    margin-top: 4px;
}
.prod-card .btn-link {
    display: inline-block;
    margin-top: 12px;
    background: #1f7a3a;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: 0.2s;
}
.prod-card .btn-link:hover {
    background: #14592a;
}

/* ===== КАЛЬКУЛЯТОР ===== */
.calculator-section {
    padding: 80px 0;
    background: #f9fbf9;
    border-top: 1px solid #e5ebe5;
    border-bottom: 1px solid #e5ebe5;
}
.calculator-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 30px 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid #e5ebe5;
    align-items: start;
}
.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.calculator-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.calculator-form .form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a2a1f;
}
.calculator-form .form-group select,
.calculator-form .form-group input {
    padding: 10px 14px;
    border: 1px solid #e5ebe5;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    color: #1a2a1f;
    width: 100%;
    transition: 0.2s;
    outline: none;
}
.calculator-form .form-group select:focus,
.calculator-form .form-group input:focus {
    border-color: #1f7a3a;
    box-shadow: 0 0 0 3px rgba(31,122,58,0.08);
}
.calculator-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.calculator-form .form-row:last-of-type {
    grid-template-columns: 1fr 1fr;
}
.calculator-form .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    margin-top: 4px;
}
.calculator-results {
    background: #f9fbf9;
    border-radius: 8px;
    padding: 20px 24px;
    border: 1px solid #e5ebe5;
}
.calculator-results h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2a1f;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5ebe5;
    padding-bottom: 8px;
}
.calculator-results .result-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f3f0;
}
.calculator-results .result-item:last-child {
    border-bottom: none;
}
.calculator-results .result-item span:first-child {
    color: #4a5a4f;
}
.calculator-results .result-item span:last-child {
    font-weight: 600;
    color: #1a2a1f;
}
.calculator-results .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 16px;
    padding: 12px;
}

/* ===== TRUST ===== */
.trust {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5ebe5;
    border-bottom: 1px solid #e5ebe5;
}
.trust .container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}
.trust-photo {
    flex: 1 1 38%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.06);
    border: 1px solid #e5ebe5;
}
.trust-photo img {
    width: 100%;
    height: auto;
    display: block;
    background: #e2e8e2;
}
.trust-content {
    flex: 1 1 52%;
}
.trust-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2a1f;
    margin-bottom: 4px;
}
.trust-content .position {
    color: #1f7a3a;
    font-weight: 600;
    margin-bottom: 16px;
}
.trust-content .quote {
    font-size: 1rem;
    color: #3a4a3f;
    line-height: 1.6;
    padding-left: 20px;
    border-left: 4px solid #d97d2b;
    margin-bottom: 28px;
    font-style: italic;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}
.trust-grid .item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fbf9;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #e5ebe5;
    color: #1a2a1f;
}
.trust-grid .item i {
    color: #1f7a3a;
    font-size: 1.1rem;
    width: 22px;
}

/* ===== ЦИФРЫ ===== */
.stats {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5ebe5;
    border-bottom: 1px solid #e5ebe5;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 40px;
    max-width: 900px;
    margin: 0 auto;
}
.stats-item {
    text-align: center;
}
.stats-item .number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1f7a3a;
    line-height: 1.1;
    transition: all 0.1s;
}
.stats-item .label {
    color: #4a5a4f;
    font-size: 0.95rem;
    margin-top: 6px;
}

/* ===== ЭТАПЫ ПРОИЗВОДСТВА ===== */
.production-steps {
    padding: 80px 0;
    background: #f9fbf9;
    border-top: 1px solid #e5ebe5;
    border-bottom: 1px solid #e5ebe5;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.step-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px 20px 24px;
    border: 1px solid #e5ebe5;
    box-shadow: 0 4px 8px rgba(0,0,0,0.02);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.step-item:hover {
    transform: translateY(-6px);
    border-color: #d97d2b;
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.06);
}
.step-slider {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f5f7f5;
    border-radius: 6px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5ebe5;
    touch-action: pan-y;
    cursor: grab;
}
.step-slider:active {
    cursor: grabbing;
}
.step-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.step-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 2;
}
.step-slider .slider-btn:hover {
    background: rgba(0,0,0,0.8);
}
.step-slider .slider-btn.prev { left: 8px; }
.step-slider .slider-btn.next { right: 8px; }
.step-slider .slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.step-slider .slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.2s;
}
.step-slider .slider-dots span.active {
    background: #d97d2b;
    transform: scale(1.2);
}
.step-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2a1f;
    margin-bottom: 4px;
}
.step-item p {
    color: #4a5a4f;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== ДОМОКОМПЛЕКТЫ ===== */
.domo {
    padding: 80px 0;
    background: #ffffff;
}
.domo-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.domo-text {
    flex: 1 1 45%;
}
.domo-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2a3a2f;
    margin-bottom: 16px;
}
.domo-text .btn-primary {
    margin-top: 10px;
}
.domo-gallery {
    flex: 1 1 50%;
}
.domo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.domo-gallery-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5ebe5;
    transition: 0.3s;
}
.domo-gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}
.domo-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin: 18px 0 20px;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a2a1f;
    background: #f9fbf9;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #e5ebe5;
    transition: 0.2s;
}
.benefit-item:hover {
    background: #f0f5f0;
    border-color: #d97d2b;
}
.benefit-item i {
    color: #1f7a3a;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* ===== ОТЗЫВЫ ===== */
.reviews {
    padding: 80px 0;
    background: #f9fbf9;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    margin-top: 20px;
}
.review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 20px 16px;
    border: 1px solid #e5ebe5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: 0.3s;
}
.review-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.review-header .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f5f7f5;
    overflow: hidden;
    flex-shrink: 0;
}
.review-header .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-meta {
    display: flex;
    flex-direction: column;
}
.review-meta .name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a2a1f;
}
.review-meta .company {
    font-size: 0.85rem;
    color: #1f7a3a;
    font-weight: 500;
}
.review-meta .date {
    font-size: 0.8rem;
    color: #8a9a8f;
}
.review-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2a3a2f;
    margin: 0 0 12px 0;
}
.review-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-top: 1px solid #eef3ef;
    padding-top: 12px;
    margin-top: 4px;
}
.review-footer .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.review-footer .tag {
    background: #f0f5f0;
    color: #1a5a2a;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: lowercase;
}

/* ===== ГАЛЕРЕЯ ОБЪЕКТОВ ===== */
.cases-gallery {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5ebe5;
    border-bottom: 1px solid #e5ebe5;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f5f7f5;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #e5ebe5;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 2;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    color: #fff;
    padding: 30px 12px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transition: 0.3s;
}
.gallery-item:hover .overlay {
    opacity: 1;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}
.modal.open {
    display: flex;
}
.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}
.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: 0.2s;
}
.modal-close:hover {
    transform: scale(1.2);
}
.modal-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 1rem;
}

/* ===== УСЛУГИ ===== */
.services {
    padding: 60px 0;
    background: #f9fbf9;
}
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.services-grid .item {
    background: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    border: 1px solid #e5ebe5;
    font-weight: 500;
    color: #1a2a1f;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.services-grid .item i {
    color: #1f7a3a;
    margin-right: 8px;
}

/* ===== СЕРТИФИКАТЫ ===== */
.certificates {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5ebe5;
    border-bottom: 1px solid #e5ebe5;
}
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}
.cert-item {
    background: #f9fbf9;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5ebe5;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cert-item:hover {
    transform: translateY(-6px);
    border-color: #d97d2b;
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.06);
}
.cert-item .cert-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: #f5f7f5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid #e5ebe5;
    overflow: hidden;
}
.cert-item .cert-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cert-item .cert-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a2a1f;
}

/* ===== КОНТАКТЫ ===== */
.contact {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5ebe5;
}
.contact-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}
.contact-info {
    flex: 1 1 40%;
}
.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2a1f;
    margin-bottom: 16px;
}
.contact-info p {
    color: #4a5a4f;
    margin-bottom: 20px;
}
.contact-map {
    flex: 1 1 50%;
    min-width: 300px;
}
.contact-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: 1px solid #e5ebe5;
}
.contact-form-center {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 30px;
    background: #f9fbf9;
    border-radius: 8px;
    border: 1px solid #e5ebe5;
}
.contact-form-center h3 {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #1a2a1f;
}
.contact-form-center p {
    text-align: center;
    color: #4a5a4f;
    margin-bottom: 20px;
}
.contact-form-center form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-form-center input,
.contact-form-center textarea {
    padding: 14px 18px;
    border: 1px solid #e5ebe5;
    border-radius: 6px;
    font-size: 1rem;
    background: #ffffff;
    color: #1a2a1f;
    width: 100%;
    transition: 0.2s;
    outline: none;
}
.contact-form-center input:focus,
.contact-form-center textarea:focus {
    border-color: #1f7a3a;
    box-shadow: 0 0 0 3px rgba(31, 122, 58, 0.08);
}
.contact-form-center .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}
.contact-form-center .form-note {
    font-size: 0.8rem;
    color: #6a7a6f;
    text-align: center;
    margin-top: 4px;
}

/* ===== СОЦИАЛЬНЫЕ КНОПКИ ===== */
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    border: none;
}
.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.social-btn.max {
    background: linear-gradient(135deg, #5AA9F0 0%, #1A73E8 50%, #8A5CF6 100%);
    padding: 8px 20px 8px 8px;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
}
.social-btn.max:hover {
    background: linear-gradient(135deg, #6FB8F5 0%, #2680F0 50%, #9A70F8 100%);
    box-shadow: 0 6px 18px rgba(26, 115, 232, 0.4);
}
.social-btn__badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.social-btn__badge svg {
    width: 16px;
    height: 16px;
    display: block;
}
.social-btn.whatsapp { background: #25D366; }
.social-btn.whatsapp:hover { background: #1da851; }
.social-btn.telegram { background: #0088cc; }
.social-btn.telegram:hover { background: #006699; }
.social-btn i { font-size: 1.2rem; }

/* ===== FOOTER ===== */
.footer {
    padding: 30px 0;
    background: #f5f7f5;
    border-top: 1px solid #e5ebe5;
    color: #6a7a6f;
    font-size: 0.9rem;
}
.footer a {
    color: #1f7a3a;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
    margin-bottom: 20px;
}
.footer-grid h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2a1f;
    margin-bottom: 10px;
}
.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-grid ul li {
    margin-bottom: 6px;
}
.footer-grid ul li a {
    color: #6a7a6f;
    font-size: 0.9rem;
    transition: 0.2s;
}
.footer-grid ul li a:hover {
    color: #1f7a3a;
    text-decoration: underline;
}
.footer-grid p {
    color: #6a7a6f;
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.footer-grid p a {
    color: #6a7a6f;
}
.footer-grid p a:hover {
    color: #1f7a3a;
}

/* ===== ПЛАВАЮЩАЯ КНОПКА MAX С ВОЛНАМИ ===== */
/* Минимальные свойства — только position: fixed и базовое позиционирование.
   Без perspective, will-change, isolation, backface-visibility —
   они вызывают баг "невидимой кнопки" на мобильных до первого скролла. */
.floating-max {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 99999;
    cursor: pointer;
}

.floating-max__waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 50%;
}
.floating-max__wave {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(26, 115, 232, 0.45);
    animation: maxWave 2.4s ease-out infinite;
}
.floating-max__wave:nth-child(2) { animation-delay: 0.8s; }
.floating-max__wave:nth-child(3) { animation-delay: 1.6s; }

@keyframes maxWave {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(2.4); opacity: 0;   }
}

.floating-max__icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5AA9F0 0%, #1A73E8 50%, #8A5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 16px rgba(26, 115, 232, 0.5),
        inset 0 -3px 8px rgba(0, 0, 0, 0.15),
        inset 0 3px 8px rgba(255, 255, 255, 0.25);
    transition: transform 0.3s ease;
    z-index: 1;
}
.floating-max:hover .floating-max__icon {
    transform: scale(1.08);
}
.floating-max__icon svg {
    width: 32px;
    height: 32px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.floating-max::after {
    content: "Написать в MAX";
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2;
}
.floating-max:hover::after {
    opacity: 1;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.4rem; }
    .hero h1.hero-title-sm { font-size: 1.75rem; }
    .hero .container { flex-direction: column; align-items: stretch; }
    .hero-left { flex: 1 1 100%; max-width: 100%; }
    .hero-right { flex: 1 1 100%; margin-top: 10px; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    .nav a { display: none; }

    .nav .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        font-size: 1.5rem;
        color: #1f7a3a;
        background: none;
        border: none;
        cursor: pointer;
        transition: 0.2s;
        z-index: 1001;
        position: relative;
        flex-shrink: 0;
    }

    .nav.open {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        padding: 80px 24px 32px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }
    .nav.open a {
        display: block !important;
        width: 100%;
        text-align: center;
        padding: 14px 0;
        border-bottom: 1px solid #e5ebe5;
        font-size: 1.1rem;
        color: #1a2a1f;
        text-decoration: none;
    }
    .nav.open a:last-child { border-bottom: none; }

    .nav.open .menu-toggle {
        position: fixed;
        top: max(16px, env(safe-area-inset-top, 16px));
        right: 20px;
        width: 44px;
        height: 44px;
        background: #1f7a3a;
        color: #ffffff;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        font-size: 1.3rem;
        z-index: 1001;
    }
    .nav.open .menu-toggle i {
        color: #ffffff;
    }
    .nav.open .menu-toggle:hover,
    .nav.open .menu-toggle:active {
        background: #d97d2b;
    }

    .header .container { position: relative; flex-wrap: wrap; }
    .header-phone { font-size: 1rem; margin-left: auto; }
    .header-schedule { font-size: 0.75rem; }

    .hero { min-height: auto; padding: 50px 0 40px; }
    .hero h1 { font-size: 2rem; }
    .hero h1.hero-title-sm { font-size: 1.5rem; }
    .hero-contacts { gap: 14px; font-size: 0.9rem; }
    .btn-calc-bright { padding: 14px 24px; font-size: 1rem; }

    .frame-content { flex-direction: column; gap: 30px; }
    .frame-title { font-size: 2rem; }
    .frame-block { padding: 40px 0; }
    .frame-right { min-height: 260px; padding: 20px; }

    .compare-card { flex: 1 1 100%; max-width: 400px; }
    .compare-card.highlight { flex: 1 1 100%; max-width: 420px; transform: none; }

    .trust .container { flex-direction: column; }
    .trust-grid { grid-template-columns: 1fr; }

    .domo-content { flex-direction: column; }
    .domo-text, .domo-gallery { flex: 1 1 100%; }
    .domo-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .domo-benefits { grid-template-columns: 1fr; gap: 8px; }

    .section-title { font-size: 1.8rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .steps-grid { grid-template-columns: 1fr; gap: 20px; }
    .certs-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .calculator-wrap { grid-template-columns: 1fr; gap: 30px; }
    .calculator-form .form-row { grid-template-columns: 1fr 1fr; }
    .calculator-form .form-row:last-of-type { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .review-card { padding: 16px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
    .contact-map iframe { height: 300px; }
    .contact-form-center { padding: 20px; }
    .modal-close { top: 20px; right: 20px; font-size: 2.5rem; }

    /* Кнопка MAX на мобильных */
    .floating-max {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        z-index: 999999;
    }
    .floating-max__icon {
        width: 54px;
        height: 54px;
    }
    .floating-max__icon svg {
        width: 28px;
        height: 28px;
    }
    .floating-max::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .hero h1.hero-title-sm { font-size: 1.3rem; line-height: 1.4; }
    .hero .tag { font-size: 0.7rem; padding: 4px 12px; }
    .btn-calc-bright { padding: 13px 20px; font-size: 0.95rem; gap: 10px; width: 100%; justify-content: center; }
    .btn-calc-bright i { font-size: 1.15rem; }
    .hero-form-wrap { padding: 20px 18px; }
    .hero-form-wrap .form-title { font-size: 1.1rem; }
    .hero-form-wrap .form-subtitle { font-size: 0.82rem; }
    .btn-primary { padding: 14px 28px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .stats-item .number { font-size: 2.4rem; }
    .step-slider .slider-btn { width: 30px; height: 30px; font-size: 1rem; }
    .certs-grid { grid-template-columns: 1fr; }
    .domo-gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .review-meta .name { font-size: 0.95rem; }
    .review-body p { font-size: 0.9rem; }
    .calculator-form .form-row,
    .calculator-form .form-row:last-of-type { grid-template-columns: 1fr; }
    .calculator-wrap { padding: 20px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
}