

/* Start:/local/templates/eco_26/css/pages.css?177488845239110*/
/**
 * =============================================================================
 * ECOLEPNINA PAGES GLOBAL STYLES
 * =============================================================================
 * Unified stylesheet for all inner content pages (Services, Production, Design, etc.).
 * 
 * TABLE OF CONTENTS:
 * 1. Global Utilities & Variables
 * 2. Typography & Overrides
 * 3. Hero Section (Shared)
 * 4. Common Components (Catalog, FAQ, CTA, Essence)
 * 5. Module: Services Editorial (Zig-Zag)
 * 6. Module: Production Process (Accordion)
 * 7. Module: Design Details (Chapters)
 * 8. Animations
 * =============================================================================
 */

/* ========================================= */
/* 1. GLOBAL UTILITIES & VARIABLES           */
/* ========================================= */

:root {
    --page-section-gap: 100px;
    --gutter-mobile: 15px;
    --gutter-desktop: 3rem;
}

@media (max-width: 991px) {
    :root {
        --page-section-gap: 60px;
    }
}

.lepnina-section {
    margin-bottom: 0;
}

/* Hide Standard Bitrix H1 globally for these pages */
.content-column>h1:first-of-type {
    display: none !important;
}

/* Full Bleed Utility */
.full-bleed {
    width: calc(100% + var(--gutter-mobile) * 2) !important;
    margin-left: calc(var(--gutter-mobile) * -1) !important;
    margin-right: calc(var(--gutter-mobile) * -1) !important;
    max-width: none !important;
    border-radius: 0 !important;
}

@media (min-width: 992px) {
    .full-bleed {
        width: calc(100% + 50px) !important;
        margin-left: -30px !important;
        margin-right: -20px !important;
    }
}

@media (min-width: 1200px) {
    .full-bleed {
        width: calc(100% + var(--gutter-desktop) + 30px) !important;
        margin-left: -30px !important;
        margin-right: calc(var(--gutter-desktop) * -1) !important;
    }
}

/* Backgrounds & Textures */
.bg-light-decor {
    background-color: #f8f6f3;
}

.bg-luxury-dark {
    position: relative;
    background-color: #1A3029;
    overflow: hidden;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.4);
}

.bg-luxury-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Noise Texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.07;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.bg-luxury-dark>* {
    position: relative;
    z-index: 2;
}

/* Decor Graphics */
.decor-corner-right {
    background-image: url('/local/templates/eco_26/css/../images/pages/decor-curve.svg');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 500px auto;
}

.decor-corner-left {
    background-image: url('/local/templates/eco_26/css/../images/pages/decor-rosette.svg');
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 500px auto;
}

@media (max-width: 991px) {

    .decor-corner-right,
    .decor-corner-left {
        background-size: 300px auto;
    }
}

@media (max-width: 576px) {

    .decor-corner-right,
    .decor-corner-left {
        background-size: 200px auto;
    }
}

/* ========================================= */
/* 2. TYPOGRAPHY & OVERRIDES                 */
/* ========================================= */

.section-title {
    font-family: var(--font-family-base);
    color: var(--color-primary) !important;
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.lepnina-reasons-text {
    font-family: var(--font-family-base);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text-main);
    font-weight: 300;
}

/* --- Approach / Why Choose Section --- */
.why-choose-section {
    padding: 100px var(--gutter-desktop) !important;
}

@media (max-width: 991px) {
    .why-choose-section {
        padding: 80px 20px !important;
    }
}

/* ========================================= */
/* 3. HERO SECTION (SHARED)                  */
/* ========================================= */

.lepnina-hero {
    position: relative;
    min-height: 500px;
    background-color: #1a1a1a;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: -1.5rem;
}

@media (min-height: 800px) and (min-width: 992px) {
    .lepnina-hero {
        height: 70vh;
        max-height: 800px;
    }
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Dark overlay for image backgrounds */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.lepnina-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.lepnina-hero .container-fluid {
    position: relative;
    z-index: 2;
    padding: 60px var(--gutter-desktop);
    border: 0px solid red;
}

.lepnina-hero h1 {
    font-family: var(--font-family-base);
    color: #fff !important;
    font-weight: 400;
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.lepnina-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-family-secondary);
    font-size: clamp(1.1rem, 1.3vw, 1.35rem);
    font-weight: 300;
    line-height: 1.6;
    max-width: 750px;
    margin-bottom: 2.5rem;
}

.lepnina-hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-telegram-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-color: #ffffff !important;
    font-weight: normal !important;
}

.btn-telegram-hero:hover {
    background-color: #2AABEE !important;
    border-color: #2AABEE !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(42, 171, 238, 0.5);
    transform: translateY(-2px);
}

/* Hero Advantages (List) */
.hero-advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 4rem;
    margin-bottom: 1rem;
    font-family: var(--font-family-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.hero-adv-item {
    position: relative;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-adv-item::before {
    content: '•';
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
    /* top: -2px; */
}

/* Hero Advantages (Icons - Main Services Page) */
.hero-adv-icon-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.hero-adv-icon-item i {
    font-size: 2rem;
    color: var(--color-secondary);
}

.hero-adv-text {
    font-family: var(--font-family-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

/* Breadcrumbs in Hero */
.hero-breadcrumbs {
    margin-bottom: 1.5rem;
    opacity: 0.7;
    color: #fff;
}

.hero-breadcrumbs a,
.hero-breadcrumbs span {
    color: #fff !important;
    text-decoration: none;
    border-bottom: none;
}

.hero-breadcrumbs a:hover {
    opacity: 0.8;
}

.hero-breadcrumbs .bi-chevron-right {
    color: #fff !important;
}

/* ========================================= */
/* 4. COMMON COMPONENTS                      */
/* ========================================= */

/* --- Feature List (Numbered) --- */
.lepnina-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    counter-reset: features-counter;
}

.lepnina-features-list li {
    position: relative;
    background-color: #fff;
    padding: 25px 30px 25px 90px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    font-family: var(--font-family-secondary);
    font-size: 1.05rem;
    color: var(--color-text-main);
    transition: all 0.3s ease;
    counter-increment: features-counter;
    border-left: 2px solid transparent;
}

.lepnina-features-list li::before {
    content: "0" counter(features-counter);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-family-base);
    font-size: 2.5rem;
    line-height: 1;
    color: #e0d5c1;
    transition: all 0.3s ease;
}

.lepnina-features-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(35, 57, 47, 0.08);
    border-left-color: var(--color-secondary);
}

.lepnina-features-list li:hover::before {
    color: var(--color-secondary);
    transform: translateY(-50%) scale(1.1);
}

/* --- Catalog Slider (Cards) --- */
.catalog-section,
.gallery-section {
    padding: 60px var(--gutter-desktop);
}

@media (max-width: 991px) {

    .catalog-section,
    .gallery-section {
        padding: 60px 20px;
    }
}

.catalog-card {
    display: block;
    text-decoration: none;
    position: relative;
    padding-bottom: 20px;
}

.catalog-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #eee;
    border-radius: 4px;
    margin-bottom: 0;
}

.catalog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.catalog-card-body {
    position: relative;
    background: #fff;
    width: 85%;
    margin: -50px auto 0 auto;
    padding: 20px 25px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.catalog-card-title {
    font-family: var(--font-family-base);
    font-size: 1.4rem;
    color: var(--color-text-main) !important;
    margin: 0;
    transition: color 0.3s ease;
    line-height: 1.1;
}

.catalog-card-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.catalog-card:hover .catalog-card-img-wrap img {
    transform: scale(1.1);
}

.catalog-card:hover .catalog-card-body {
    transform: translateY(-5px);
    background-color: var(--color-secondary);
    box-shadow: 0 15px 40px rgba(185, 153, 97, 0.4);
}

.catalog-card:hover .catalog-card-title {
    color: #fff !important;
}

.catalog-card:hover .catalog-card-arrow {
    background-color: #fff;
    border-color: #fff;
    color: var(--color-secondary);
    transform: rotate(-45deg);
}

/* --- Essence Block (Split Layout) --- */
.essence-image-cover {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.essence-content-wrap {
    background-color: #f9f8f6;
    padding: 80px 10%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.essence-quote-bg {
    font-family: var(--font-family-base);
    font-size: 12rem;
    color: var(--color-secondary);
    opacity: 0.08;
    position: absolute;
    top: -10px;
    left: 20px;
    z-index: 0;
}

.essence-title {
    font-family: var(--font-family-base);
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: var(--color-primary) !important;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.essence-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    position: relative;
    z-index: 1;
}

/* --- Audience Grid --- */
.audience-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.audience-card-modern {
    position: relative;
    display: block;
    height: 480px;
    overflow: hidden;
    text-decoration: none;
    background-color: #1A3029;
}

.audience-card-img-wrap {
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.audience-card-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audience-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(35, 57, 47, 0.9) 100%);
    z-index: 1;
}

.audience-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    transition: transform 0.4s ease;
}

.audience-card-title {
    font-family: var(--font-family-base);
    font-size: 1.6rem;
    color: #fff !important;
    margin-bottom: 8px;
    line-height: 1;
}

.audience-card-desc {
    font-family: var(--font-family-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.audience-card-modern:hover .audience-card-img-wrap {
    transform: scale(1.1);
}

.audience-card-modern:hover .audience-card-desc {
    max-height: 100px;
    opacity: 1;
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .audience-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-card-modern {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .audience-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* --- FAQ --- */
.faq-section {
    padding: 60px var(--gutter-desktop);
}

.faq-modern .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
}

.faq-modern .accordion-button {
    font-family: var(--font-family-base);
    font-size: 1.4rem;
    color: var(--color-primary);
    padding: 30px 0;
    background: transparent !important;
    box-shadow: none !important;
}

.faq-modern .accordion-button:not(.collapsed) {
    color: var(--color-secondary);
}

.faq-modern .accordion-button::after {
    background-image: none !important;
    content: '+';
    font-family: var(--font-family-secondary);
    font-size: 2rem;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-modern .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
    color: var(--color-primary);
}

.faq-modern .accordion-body {
    padding: 0 0 30px 0;
    font-family: var(--font-family-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* --- Calc Form & Final CTA --- */
#calc {
    padding: 80px var(--gutter-desktop);
    background-color: #fff;
}

.final-cta-luxury {
    background-color: #1A3029;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.4);
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    margin-bottom: -1.5rem !important;
}

.final-cta-luxury::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.07;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.final-cta-luxury>.container {
    position: relative;
    z-index: 2;
}

.final-cta-title {
    font-family: var(--font-family-base);
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: #fff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.final-cta-text {
    font-family: var(--font-family-base);
    font-size: 1.35rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 3.5rem;
    line-height: 1.5;
}

/* ========================================= */
/* 5. MODULE: SERVICES EDITORIAL (ZIG-ZAG)   */
/* ========================================= */

.services-editorial {
    padding: 100px var(--gutter-desktop);
    background-color: #fff;
}

@media (max-width: 991px) {
    .services-editorial {
        padding: 60px 20px;
    }
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image-col,
.service-text-col {
    flex: 1;
}

.service-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
}

.service-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.service-row:hover .service-image-wrap img {
    transform: scale(1.05);
}

.service-num {
    font-family: var(--font-family-base);
    font-size: 5rem;
    color: #f0ebe0;
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
}

.service-title {
    font-family: var(--font-family-base);
    font-size: 2.8rem;
    color: var(--color-primary) !important;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-desc {
    font-family: var(--font-family-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
    max-width: 500px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.service-features li {
    font-family: var(--font-family-secondary);
    font-size: 0.95rem;
    color: #777;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

.btn-service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-family-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--color-secondary);
    transition: all 0.3s ease;
}

.btn-service-link:hover {
    color: var(--color-secondary);
    padding-bottom: 8px;
}

@media (max-width: 991px) {
    .service-row {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 80px;
    }

    .service-num {
        font-size: 4rem;
    }

    .service-title {
        font-size: 2.2rem;
    }
}

/* Turnkey Banner */
.turnkey-banner {
    position: relative;
    padding: 120px var(--gutter-desktop);
    color: #fff;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.turnkey-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 48, 41, 0.85);
}

.turnkey-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.turnkey-title {
    font-family: var(--font-family-base);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: #fff !important;
}

.turnkey-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* Professionals Dark Mode */
.pro-section {
    padding: 100px var(--gutter-desktop);
}

.pro-grid {
    display: grid;
    grid-template-columns: 1fr 0fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pro-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

@media (max-width: 991px) {
    .pro-grid {
        grid-template-columns: 1fr;
    }

    .pro-content {
        padding: 40px 20px;
    }
}

/* Geography */
.geo-section {
    padding: 80px var(--gutter-desktop);
    text-align: center;
}

.geo-map-placeholder {
    margin-top: 40px;
    width: 100%;
    height: 400px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.geo-map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.geo-label {
    position: absolute;
    background: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-family: var(--font-family-base);
    font-size: 1.2rem;
    color: var(--color-primary);
}

/* ========================================= */
/* 6. MODULE: PROCESS & ACCORDION            */
/* ========================================= */

.process-section-dark {
    /* Luxury Dark Base */
    background-color: #1A3029;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 100px var(--gutter-desktop);
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.4);
}

.process-section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.07;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.process-section-dark>* {
    position: relative;
    z-index: 2;
}

/* Cinematic Accordion */
.production-accordion {
    display: flex;
    width: 100%;
    height: 450px;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.acc-item {
    position: relative;
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px 30px;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.acc-item:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.acc-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 0;
    filter: grayscale(100%) brightness(0.6);
    transition: opacity 0.6s ease;
}

.acc-item:hover,
.acc-item.active {
    flex: 3.5;
    background-color: rgba(0, 0, 0, 0.4);
}

.acc-item:hover .acc-bg,
.acc-item.active .acc-bg {
    opacity: 1;
}

.acc-num,
.acc-body,
.acc-line {
    position: relative;
    z-index: 2;
}

.acc-num {
    font-family: var(--font-family-base);
    font-size: 4rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
    transition: all 0.4s ease;
}

.acc-item:hover .acc-num,
.acc-item.active .acc-num {
    color: var(--color-secondary);
    transform: scale(1.1) translateX(10px);
}

.acc-body {
    position: relative;
    width: 100%;
    min-width: 300px;
}

.acc-title {
    font-family: var(--font-family-base);
    font-size: 2rem;
    color: #fff !important;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    transform-origin: left bottom;
    transition: all 0.4s ease;
}

.acc-desc {
    font-family: var(--font-family-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    max-width: 400px;
    max-height: 0;
    overflow: hidden;
}

.acc-item:hover .acc-desc,
.acc-item.active .acc-desc {
    opacity: 1;
    transform: translateY(0);
    max-height: 300px;
}

.acc-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.acc-item:hover .acc-line,
.acc-item.active .acc-line {
    transform: scaleX(1);
}

@media (max-width: 991px) {
    .production-accordion {
        flex-direction: column;
        height: auto;
        border: none;
    }

    .acc-item {
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-bottom: none;
        flex: none;
        height: auto;
        min-height: 120px;
        padding: 30px;
    }

    .acc-item:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .acc-item:hover,
    .acc-item.active {
        flex: none;
        background-color: transparent;
    }

    .acc-desc {
        opacity: 1;
        transform: none;
        max-width: 100%;
        margin-top: 10px;
        display: none;
        max-height: none;
    }

    .acc-item.active .acc-desc {
        display: block;
    }

    .acc-num {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .acc-title {
        font-size: 1.5rem;
        white-space: normal;
        margin-bottom: 0.5rem;
    }
}

/* Fallback Swiper Steps (for other pages) */
.process-step-item {
    position: relative;
    padding-top: 30px;
    height: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    isolation: isolate;
}

.process-step-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.4s ease;
}

.process-step-item:hover::before {
    width: 100%;
}

.process-step-num {
    font-family: var(--font-family-base);
    font-size: 5rem;
    line-height: 0.8;
    position: absolute;
    top: 20px;
    right: 10px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.process-step-content {
    position: relative;
    z-index: 2;
    margin-top: 10px;
}

.process-step-title {
    font-family: var(--font-family-base);
    font-size: 1.6rem;
    color: #fff !important;
    margin-bottom: 0.8rem;
}

.process-step-desc {
    font-family: var(--font-family-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.process-step-item:hover .process-step-num {
    opacity: 1;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* ========================================= */
/* 7. MODULE: DESIGN DETAILS (CHAPTERS)      */
/* ========================================= */

.design-details-section {
    padding: 0;
    background-color: #fff;
}

.detail-chapter-row {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-chapter-row:nth-child(even) {
    flex-direction: row-reverse;
}

.detail-chapter-img {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

.detail-chapter-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.detail-chapter-row:hover .detail-chapter-img img {
    transform: scale(1.05);
}

.detail-chapter-content {
    flex: 1;
    min-width: 300px;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-color: #fff;
}

.chapter-num {
    font-family: var(--font-family-base);
    font-size: 5rem;
    color: var(--color-secondary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 20px;
}

.chapter-title {
    font-family: var(--font-family-base);
    font-size: 2.2rem;
    color: var(--color-primary) !important;
    margin-bottom: 1.5rem;
}

.chapter-desc {
    font-family: var(--font-family-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.chapter-desc ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.chapter-desc ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.chapter-desc ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

.detail-anchor {
    position: relative;
    top: -100px;
    visibility: hidden;
}

@media (max-width: 991px) {
    .detail-chapter-content {
        padding: 60px 30px;
    }

    .chapter-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .detail-chapter-row {
        flex-direction: column !important;
    }

    .detail-chapter-img {
        min-height: 300px;
        max-height: 400px;
    }

    .detail-chapter-content {
        padding: 40px 20px;
    }
}

/* ========================================= */
/* 9. MODULE: UNIVERSAL SERVICES GRID        */
/* ========================================= */

.services-grid-section {
    padding: 100px var(--gutter-desktop);
    background-color: #fff;
}

@media (max-width: 991px) {
    .services-grid-section {
        padding: 80px 20px;
    }
}

.service-card-compact {
    display: block;
    text-decoration: none;
    position: relative;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card-compact-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.service-card-compact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.service-card-compact-body {
    padding: 35px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 16/10); /* Fallback */
}

.service-card-compact-title {
    font-family: var(--font-family-base);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.service-card-compact-text {
    font-family: var(--font-family-secondary);
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card-compact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-family-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.service-card-compact-link i {
    font-size: 1.2rem;
    color: var(--color-secondary);
    transition: transform 0.3s ease;
}

/* Hover Effects */
.service-card-compact:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(35, 57, 47, 0.12);
    border-color: rgba(185, 153, 97, 0.2);
}

.service-card-compact:hover .service-card-compact-img img {
    transform: scale(1.1);
}

.service-card-compact:hover .service-card-compact-title {
    color: var(--color-secondary);
}

.service-card-compact:hover .service-card-compact-link {
    color: var(--color-secondary);
}

.service-card-compact:hover .service-card-compact-link i {
    transform: translateX(5px);
}

/* ========================================= */
/* 10. ANIMATIONS                            */
/* ========================================= */

.btn-gold-fire {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #cba971 0%, #e2c58e 50%, #cba971 100%);
    background-size: 200% auto;
    color: #fff !important;
    border: none;
    box-shadow: 0 10px 20px rgba(185, 153, 97, 0.3);
}

.btn-gold-fire::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: sparkleRun 4s infinite;
    pointer-events: none;
}

@keyframes sparkleRun {
    0% {
        left: -100%;
    }

    15% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-gold-fire:hover {
    animation: btnPulse 1s infinite alternate;
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(185, 153, 97, 0.5);
}

@keyframes btnPulse {
    from {
        box-shadow: 0 10px 20px rgba(185, 153, 97, 0.3);
    }

    to {
        box-shadow: 0 15px 30px rgba(185, 153, 97, 0.6);
    }
}

.btn-telegram-fire {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff !important;
}

.btn-telegram-fire:hover {
    background: #2AABEE;
    border-color: #2AABEE;
    transform: translateY(-3px);
}

/* ========================================= */
/* WHY CHOOSE US - IMMERSIVE FULLSCREEN (FIXED) */
/* ========================================= */

.immersive-why-section {
    position: relative !important;
    padding: 120px var(--gutter-desktop) !important;
    background-color: var(--color-primary) !important; /* Жестко темный фон-подложка */
    overflow: hidden !important;
    z-index: 1 !important; /* Устанавливаем свой контекст наложения */
    display: block !important; /* Убрали flex, чтобы текст не прыгал наверх */
}

/* Слой с фонами строго внутри секции */
.immersive-backgrounds {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    pointer-events: none;
}

.immersive-bg-item {
    position: absolute;
    inset: -2%; 
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s ease-in-out, transform 4s ease-out;
    will-change: opacity, transform;
}

.immersive-bg-item.active {
    opacity: 1;
    transform: scale(1);
}

.immersive-overlay {
    position: absolute;
    inset: 0;
    /* Делаем градиент чуть плотнее */
    background: linear-gradient(180deg, rgba(26, 48, 41, 0.6) 0%, rgba(20, 45, 35, 0.9) 100%);
    z-index: 1;
}

/* Контейнер с контентом поднимаем на самый верх */
.immersive-why-section .container-fluid {
    position: relative !important;
    z-index: 2 !important; 
}

/* Карточки - чуть поправила цвета для контраста */
.elegant-grid-item {
    position: relative;
    padding: 35px 30px;
    height: 100%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Сделала границу чуть заметнее */
    background: rgba(0, 0, 0, 0.25); /* Затемнили подложку для читаемости */
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.elegant-grid-item:hover,
.elegant-grid-item.active {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(185, 153, 97, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.elegant-item-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 1rem;
}

.elegant-item-num {
    font-family: var(--font-family-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.elegant-grid-item:hover .elegant-item-num,
.elegant-grid-item.active .elegant-item-num {
    opacity: 1;
}

.elegant-item-title {
    font-family: var(--font-family-base);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    transition: color 0.3s ease;
}

.elegant-grid-item:hover .elegant-item-title,
.elegant-grid-item.active .elegant-item-title {
    color: var(--color-secondary);
}

.elegant-item-text {
    font-family: var(--font-family-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    transition: color 0.3s ease;
}

.elegant-grid-item:hover .elegant-item-text,
.elegant-grid-item.active .elegant-item-text {
    color: #ffffff;
}

.elegant-item-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--color-secondary);
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.elegant-grid-item:hover .elegant-item-line,
.elegant-grid-item.active .elegant-item-line {
    width: 100%;
}

@media (max-width: 768px) {
    .immersive-why-section {
        padding: 80px 20px !important;
    }
    .elegant-grid-item {
        padding: 25px 20px;
        background: rgba(0, 0, 0, 0.4); 
    }
}


/* End */
/* /local/templates/eco_26/css/pages.css?177488845239110 */
