:root {
    --green-primary: #2DB34A;
    --green-dark: #249B3E;
    --green-light: #E8F5E9;
    --text-dark: #1A1A1A;
    --text-secondary: #555;
    --text-muted: #888;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-light: #E0E0E0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-badge: 0 2px 12px rgba(0, 0, 0, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

.header-top {
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    background: var(--bg-white);
}

.header-top .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-top .logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1B5E20, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.header-top .logo-text {
    line-height: 1.2;
}

.header-top .logo-text .brand-top {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.header-top .logo-text .brand-name {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
}

.header-top .logo-text .brand-sub {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-info-block {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.header-info-block .info-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    font-size: 16px;
    flex-shrink: 0;
}

.rating-stars {
    color: #FFC107;
    font-size: 12px;
    letter-spacing: 1px;
}

.rating-score {
    font-weight: 700;
    font-size: 18px;
    color: var(--green-primary);
}

.header-phone {
    text-align: right;
}

.header-phone .city {
    font-size: 12px;
    color: var(--text-muted);
}

.header-phone .phone-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.header-phone .phone-number:hover {
    color: var(--green-primary);
}

.header-phone .phone-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 6px;
}

.social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-icons .vk {
    background: #4C75A3;
}

.social-icons .tg {
    background: #26A5E4;
}

.social-icons .mx {
    background: transparent;
    padding: 0;
}

.social-icons .mx img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.header-nav {
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-nav .navbar {
    padding: 0;
}

.header-nav .nav-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-dark);
    padding: 16px 14px !important;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    white-space: nowrap;
}

.header-nav .nav-link:hover {
    color: var(--green-primary);
}

.header-nav .nav-badge {
    background: var(--green-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: top;
}

.hero-section {
    background: var(--bg-light);
    padding: 40px 0 50px;
    min-height: 520px;
}

.hero-left {
    padding: 30px 0;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero-label i {
    font-size: 12px;
}

.hero-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-description strong {
    color: var(--text-dark);
}

.hero-description .highlight {
    color: var(--green-primary);
    font-weight: 600;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--green-primary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 179, 74, 0.35);
}

.btn-hero-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.hero-mortgage {
    font-size: 15px;
    font-weight: 600;
    color: var(--green-primary);
}

.hero-image-wrapper {
    position: relative;
    padding: 10px;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.hero-image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.badge-float {
    position: absolute;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-badge);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: badgeFloat 3s ease-in-out infinite;
    z-index: 2;
}

.badge-float .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-primary);
    flex-shrink: 0;
}

.badge-roof {
    top: 16px;
    right: 16px;
    animation-delay: 0s;
}

.badge-warranty {
    bottom: 80px;
    right: 16px;
    animation-delay: 0.5s;
}

.badge-review {
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px 16px;
    animation-delay: 1s;
}

.badge-review .review-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.badge-review .review-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
}

.badge-review .review-text strong {
    color: var(--text-dark);
}

.hero-bottom-note {
    text-align: right;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
    padding-right: 8px;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.sawmill-section {
    padding: 0;
    background: #232e47;
    overflow: hidden;
    position: relative;
}

.sawmill-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
}

.sawmill-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 179, 74, 0.3), transparent);
    z-index: 2;
}

.sawmill-glow {
    position: absolute;
    bottom: -200px;
    left: 20%;
    width: 400px;
    height: 400px;
    background: var(--green-primary);
    filter: blur(150px);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.sawmill-section .row {
    position: relative;
    z-index: 1;
}

.sawmill-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 520px;
    overflow: hidden;
}

.sawmill-image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.sawmill-image-wrapper:hover .sawmill-image {
    transform: scale(1.03);
}

.sawmill-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sawmill-image-badge i {
    color: var(--green-primary);
    font-size: 18px;
}

.sawmill-content {
    padding: 60px 50px;
    position: relative;
}

.sawmill-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--green-primary);
    margin-bottom: 20px;
}

.sawmill-label i {
    font-size: 16px;
}

.sawmill-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sawmill-title span {
    color: var(--green-primary);
    font-weight: 900;
}

.sawmill-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 32px;
}

.sawmill-description strong {
    color: #fff;
    font-weight: 600;
}

.sawmill-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.sawmill-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.sawmill-feature-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(45, 179, 74, 0.3);
    transform: translateX(8px);
}

.sawmill-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1B5E20, #4CAF50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 179, 74, 0.2);
}

.sawmill-feature-item:hover .sawmill-feature-icon {
    background: var(--green-primary);
    color: #fff;
}

.sawmill-feature-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.sawmill-feature-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

@media (max-width: 991px) {
    .sawmill-section::before {
        width: 100%;
        height: 50%;
        bottom: 0;
        top: auto;
        background: linear-gradient(0deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0) 100%);
    }

    .sawmill-content {
        padding: 40px 24px 60px;
    }

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

    .sawmill-image-wrapper {
        min-height: 350px;
    }

    .sawmill-image {
        min-height: 350px;
    }
}

.btn-sawmill-cta {
    background: var(--green-primary);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(45, 179, 74, 0.3);
}

.btn-sawmill-cta:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(45, 179, 74, 0.45);
}

.btn-sawmill-cta i {
    font-size: 16px;
}

.why-us-section {
    padding: 70px 0 80px;
    background: var(--bg-white);
}

.why-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--green-primary);
    border-radius: 0 4px 4px 0;
    transition: height 0.35s ease;
}

.why-card:hover {
    background: var(--bg-white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.why-card:hover::before {
    height: 100%;
}

.why-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--green-primary);
    margin-bottom: 18px;
    transition: all 0.35s ease;
}

.why-card:hover .why-card-icon {
    background: var(--green-primary);
    color: #fff;
}

.why-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.why-card-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.why-card-featured {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.why-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--green-primary);
    border-radius: 0 4px 4px 0;
    transition: height 0.35s ease;
}

.why-card-featured:hover {
    background: var(--bg-white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.why-card-featured:hover::before {
    height: 100%;
}

.why-card-featured .why-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 28px;
    margin-bottom: 20px;
}

.why-card-featured .why-card-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.why-card-featured .why-card-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 14px;
}

.why-card-featured .why-card-text {
    font-size: 14px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 48px;
}

.section-title span {
    color: var(--green-primary);
}

.gallery-section {
    padding: 70px 0 80px;
    background: var(--bg-light);
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.gallery-header .section-title {
    margin-bottom: 0;
}

.gallery-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: var(--shadow-card);
}

.gallery-counter i {
    color: var(--green-primary);
    font-size: 18px;
}

.gallery-grid {
    columns: 4;
    column-gap: 16px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: block;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item-overlay i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--green-primary);
    transform: scale(0.7);
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-item-overlay i {
    transform: scale(1);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    z-index: 10001;
}

.projects-section {
    padding: 70px 0 80px;
    background: var(--bg-white);
}

.projects-header {
    margin-bottom: 48px;
}

.projects-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: -32px;
    margin-bottom: 0;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    margin-bottom: 48px;
    transition: box-shadow 0.4s ease;
}

.project-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.project-gallery {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-main-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex: 1;
    min-height: 380px;
}

.project-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    transition: opacity 0.2s ease;
}

.project-image-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.project-image-badge i {
    font-size: 14px;
}

.project-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--green-primary) transparent;
}

.project-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.project-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.project-thumbnails::-webkit-scrollbar-thumb {
    background: var(--green-primary);
    border-radius: 4px;
}

.project-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    opacity: 0.6;
}

.project-thumb:hover {
    opacity: 1;
    border-color: var(--border-light);
}

.project-thumb.active {
    border-color: var(--green-primary);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(45, 179, 74, 0.25);
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.project-label {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
}

.project-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 14px;
}

.project-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--green-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.spec-item:hover .spec-icon {
    background: var(--green-primary);
    color: #fff;
}

.spec-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.spec-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-price-block {
    background: linear-gradient(135deg, #f0faf1, #e3f2e5);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
    border-left: 4px solid var(--green-primary);
}

.project-price-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.project-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.project-price-note {
    font-size: 12px;
    color: var(--text-secondary);
}

.project-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-project-order {
    background: var(--green-primary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    flex: 1;
    justify-content: center;
}

.btn-project-order:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 179, 74, 0.35);
}

.btn-project-detail {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-project-detail:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.project-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-primary);
}

.project-guarantee i {
    font-size: 16px;
}

.materials-section {
    padding: 80px 0 90px;
    background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}

.materials-header {
    margin-bottom: 56px;
}

.materials-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.materials-badge i {
    font-size: 14px;
}

.materials-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin-top: -28px;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.materials-grid .material-card:nth-child(n+3) {}

@media (min-width: 992px) {
    .materials-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 28px;
    }

    .materials-grid .material-card:nth-child(1) {
        grid-column: span 3;
    }

    .materials-grid .material-card:nth-child(2) {
        grid-column: span 3;
    }

    .materials-grid .material-card:nth-child(3) {
        grid-column: span 2;
    }

    .materials-grid .material-card:nth-child(4) {
        grid-column: span 2;
    }

    .materials-grid .material-card:nth-child(5) {
        grid-column: span 2;
    }
}

.material-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.material-card-image {
    position: relative;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef0f2 100%);
    min-height: 200px;
    overflow: hidden;
}

.material-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(45, 179, 74, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.material-card-image img {
    max-width: 220px;
    max-height: 160px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

.material-card:hover .material-card-image img {
    transform: scale(1.08) rotate(-2deg);
}

.material-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.material-tag i {
    font-size: 12px;
}

.material-tag-wood {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.material-tag-stone {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.material-tag-mix {
    background: rgba(139, 92, 246, 0.12);
    color: #6d28d9;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.material-tag-modern {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.material-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.material-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.material-read-time,
.material-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.material-read-time i {
    font-size: 13px;
    color: var(--green-primary);
}

.material-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.material-card:hover .material-title {
    color: var(--green-primary);
}

.material-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.material-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.feature-badge i {
    font-size: 13px;
    color: var(--green-primary);
}

.material-card:hover .feature-badge {
    border-color: var(--border-light);
    background: var(--bg-white);
}

.material-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.material-link i {
    transition: transform 0.3s ease;
}

.material-link:hover {
    color: var(--green-dark);
    gap: 10px;
}

.material-link:hover i {
    transform: translateX(4px);
}

.video-section {
    padding: 80px 0 90px;
    background: var(--bg-white);
}

.video-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 20px;
    flex-wrap: wrap;
}

.video-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.video-section-badge i {
    font-size: 14px;
}

.video-section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.6;
    margin-top: -28px;
}

.btn-all-videos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-light);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid var(--border-light);
}

.btn-all-videos:hover {
    background: var(--green-primary);
    color: #fff;
    border-color: var(--green-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 179, 74, 0.3);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

@media (min-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
    }

    .video-card-featured {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
}

.video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.video-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.video-card-featured .video-card-thumb {
    aspect-ratio: auto;
    flex: 1;
    min-height: 300px;
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.video-card:hover .video-card-thumb img {
    transform: scale(1.05);
    filter: brightness(0.75);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-play-btn i {
    font-size: 28px;
    color: var(--green-primary);
    margin-left: 3px;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1);
    background: var(--green-primary);
    box-shadow: 0 8px 30px rgba(45, 179, 74, 0.4);
}

.video-card:hover .video-play-btn i {
    color: #fff;
}

.video-card-featured .video-play-btn {
    width: 80px;
    height: 80px;
}

.video-card-featured .video-play-btn i {
    font-size: 36px;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.video-duration i {
    font-size: 11px;
}

.video-badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.video-card-body {
    padding: 20px;
    flex: 0 0 auto;
}

.video-card-featured .video-card-body {
    padding: 24px;
}

.video-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.video-card-meta span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-card-meta i {
    font-size: 12px;
    color: var(--green-primary);
}

.video-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.video-card:hover .video-card-title {
    color: var(--green-primary);
}

.video-card-featured .video-card-title {
    font-size: 20px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.video-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-featured .video-card-desc {
    font-size: 14px;
    -webkit-line-clamp: 3;
}

.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

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

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.video-modal-container {
    position: relative;
    width: 90vw;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow-y: auto;
    z-index: 2;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.video-modal-close:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

.video-modal-content {
    padding: 0;
}

.video-modal-header {
    padding: 32px 32px 24px;
}

.video-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-light);
    color: var(--green-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.video-modal-badge i {
    font-size: 13px;
}

.video-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 14px;
}

.video-modal-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.video-modal-meta span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-modal-meta i {
    color: var(--green-primary);
    font-size: 14px;
}

.video-modal-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.video-modal-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
}

.video-modal-player iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.video-modal-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    gap: 12px;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    animation: placeholderPulse 3s ease-in-out infinite;
}

.placeholder-icon i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes placeholderPulse {

    0%,
    100% {
        transform: scale(1);
        border-color: rgba(255, 255, 255, 0.15);
    }

    50% {
        transform: scale(1.05);
        border-color: rgba(45, 179, 74, 0.4);
    }
}

.placeholder-text {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.placeholder-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
}

.video-modal-tags {
    padding: 20px 32px 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 6px 14px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.video-tag i {
    font-size: 13px;
    color: var(--green-primary);
}

.video-tag:hover {
    background: var(--green-light);
    color: var(--green-primary);
}

.stages-section {
    padding: 80px 0 90px;
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}

.stages-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 20px;
    flex-wrap: wrap;
}

.stages-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0f3460, #16213e);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.stages-badge i {
    font-size: 14px;
}

.stages-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.6;
    margin-top: -28px;
}

.stages-total {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stages-total-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--green-primary);
    line-height: 1;
}

.stages-total-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.stages-progress {
    position: relative;
    margin-bottom: 56px;
}

.stages-progress-track {
    height: 4px;
    background: var(--border-light);
    border-radius: 4px;
    position: relative;
}

.stages-progress-fill {
    height: 100%;
    width: 16%;
    background: linear-gradient(90deg, var(--green-primary), #4ade80);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stages-progress-dots {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.progress-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.35s ease;
    cursor: pointer;
}

.progress-dot:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
    transform: scale(1.15);
}

.progress-dot.active {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(45, 179, 74, 0.15);
}

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

@media (min-width: 992px) {
    .stages-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

.stage-card {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-primary), #4ade80);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.stage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.stage-card:hover::before {
    opacity: 1;
}

.stage-card-number {
    margin-bottom: 20px;
}

.stage-card-number span {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--green-primary), #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stage-card-content {
    display: flex;
    gap: 16px;
}

.stage-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--green-primary);
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.stage-card:hover .stage-card-icon {
    background: var(--green-primary);
    color: #fff;
    transform: scale(1.05);
}

.stage-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.stage-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
}

.stage-card-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--green-light);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--green-primary);
}

.stage-card-time i {
    font-size: 13px;
}

.stage-connector {
    display: none;
}

.stages-cta {
    margin-top: 56px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.stages-cta-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.stages-cta-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.btn-stages-cta {
    background: var(--green-primary);
    color: #fff;
    border: none;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.35s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-stages-cta:hover {
    background: #22c55e;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(45, 179, 74, 0.4);
}

.payment-section {
    padding: 80px 0 90px;
    background: var(--bg-white);
}

.payment-header {
    margin-bottom: 48px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.payment-badge i {
    font-size: 14px;
}

.payment-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.6;
    margin-top: -28px;
}

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

.payment-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.payment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.payment-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--green-primary);
    margin-bottom: 18px;
    transition: all 0.35s ease;
}

.payment-card:hover .payment-card-icon {
    background: var(--green-primary);
    color: #fff;
    transform: scale(1.05);
}

.payment-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.payment-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }

    .payment-card:hover {
        transform: none;
    }

    .payment-card:hover .payment-card-icon {
        background: var(--green-primary);
        color: #fff;
        transform: scale(1.05);
    }

    .payment-card-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .payment-card-desc {
        font-size: 13px;
        color: var(--text-secondary);
        line-height: 1.6;
        margin: 0;
    }

    .contact-form-block {
        padding: 40px 30px;
    }
}

.contact-section {
    position: relative;
}

.hover-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 179, 74, 0.4) !important;
    background-color: var(--green-dark) !important;
}

.input-focus-green:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--green-primary) !important;
    box-shadow: 0 0 0 4px rgba(45, 179, 74, 0.2) !important;
    outline: none !important;
}

.input-focus-green::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1;
}

.input-focus-green::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.input-focus-green::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1;
}

.input-focus-green:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer {
    background: #232e47;
    color: #fff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-primary), transparent);
    opacity: 0.6;
}

.footer::after {
    content: '';
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: var(--green-primary);
    filter: blur(160px);
    opacity: 0.08;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo-area {
    display: flex;
    align-items: center;
}

.footer-brand .logo-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #1B5E20, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
    margin-right: 14px;
}

.footer-brand .logo-text {
    line-height: 1.2;
}

.footer-brand .logo-text .brand-top {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand .logo-text .brand-name {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer .social-icons {
    display: flex;
    gap: 10px;
}

.footer .social-icons a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.footer .social-icons a:hover {
    background: var(--green-primary);
}

.footer .social-icons .mx {
    background: transparent;
}

.footer .social-icons .mx img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--green-primary);
    padding-left: 6px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.footer-contact-info li i {
    width: 36px;
    height: 36px;
    background: rgba(45, 179, 74, 0.1);
    color: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
    margin-top: -6px;
    flex-shrink: 0;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-info a:hover {
    color: var(--green-primary);
}

.footer-requisites {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-top: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-requisites::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--green-primary);
}

.footer-requisites:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.footer-requisites strong {
    color: #fff;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.requisites-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-top: 10px;
}

.requisites-grid span {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.requisites-grid span:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -15px;
    opacity: 0.3;
}

@media (max-width: 767px) {
    .requisites-grid {
        flex-direction: column;
        gap: 8px;
    }
    .requisites-grid span::after {
        display: none;
    }
}

.footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.privacy-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-link:hover {
    color: #fff;
}

.btn-header-action {
    background: var(--green-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.3s;
}

.btn-header-action:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 179, 74, 0.3);
}

.modal-bg-img {
    background-size: cover;
    background-position: center;
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.modal-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.modal-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.focus-green:focus {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(45, 179, 74, 0.1) !important;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-checkbox:checked {
    background-color: var(--green-primary);
    border-color: var(--green-primary);
}

.z-index-2 {
    z-index: 2;
}

#requestModal .input-group-text {
    color: var(--green-primary);
}

@media (min-width: 992px) {
    .header-container-mobile {
        display: contents;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-top: 60px;
    }

    .header-container-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        z-index: 1030;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .header-top {
        position: relative;
        padding: 6px 0;
    }

    .header-top .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .header-nav {
        position: relative !important;
        background-color: var(--bg-white);
    }

    .hero-title {
        font-size: 30px;
    }

    .header-top .d-lg-flex {
        display: none !important;
    }

    .hero-image-card img {
        height: 300px;
    }

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

    .why-card-featured .why-card-title {
        font-size: 18px;
    }

    .gallery-grid {
        columns: 3;
    }

    .project-info {
        padding: 28px 24px;
    }

    .project-name {
        font-size: 22px;
    }

    .project-main-image {
        min-height: 300px;
    }

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .material-title {
        font-size: 19px;
    }

    .material-card-image {
        min-height: 170px;
        padding: 24px;
    }

    .material-card-image img {
        max-width: 180px;
        max-height: 130px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-card-featured .video-card-thumb {
        min-height: 220px;
    }

    .video-card-featured .video-card-title {
        font-size: 17px;
    }

    .stages-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stage-card {
        padding: 24px 20px;
    }

    .stage-card-number span {
        font-size: 34px;
    }

    .stages-cta {
        padding: 32px;
    }

    .stages-cta-text h3 {
        font-size: 20px;
    }

    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .payment-card {
        padding: 24px 18px;
    }
}

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

    .hero-section {
        padding: 24px 0 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-bottom-note {
        text-align: center;
    }

    .header-phone .phone-number {
        font-size: 17px;
    }

    .why-us-section {
        padding: 40px 0 50px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .gallery-section {
        padding: 40px 0 50px;
    }

    .gallery-grid {
        columns: 2;
        column-gap: 10px;
    }

    .gallery-item {
        margin-bottom: 10px;
    }

    .projects-section {
        padding: 40px 0 50px;
    }

    .projects-subtitle {
        margin-top: -16px;
        font-size: 14px;
    }

    .project-card {
        border-radius: var(--radius-md);
    }

    .project-gallery {
        padding: 12px;
    }

    .project-main-image {
        min-height: 240px;
    }

    .project-info {
        padding: 24px 20px;
    }

    .project-name {
        font-size: 20px;
    }

    .project-price {
        font-size: 24px;
    }

    .project-specs {
        gap: 12px;
    }

    .project-actions {
        flex-direction: column;
    }

    .btn-project-order,
    .btn-project-detail {
        width: 100%;
        justify-content: center;
    }

    .materials-section {
        padding: 40px 0 50px;
    }

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

    .materials-subtitle {
        margin-top: -16px;
        font-size: 14px;
    }

    .material-card-body {
        padding: 20px;
    }

    .material-title {
        font-size: 18px;
    }

    .material-card-image {
        min-height: 150px;
        padding: 20px;
    }

    .material-card-image img {
        max-width: 160px;
        max-height: 120px;
    }

    .feature-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .video-section {
        padding: 40px 0 50px;
    }

    .video-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .video-card-featured .video-card-thumb {
        min-height: 200px;
    }

    .video-card-featured .video-play-btn {
        width: 64px;
        height: 64px;
    }

    .video-card-featured .video-play-btn i {
        font-size: 28px;
    }

    .video-card-featured .video-card-title {
        font-size: 17px;
    }

    .video-modal-container {
        width: 95vw;
        border-radius: var(--radius-md);
    }

    .video-modal-header {
        padding: 24px 20px 18px;
    }

    .video-modal-title {
        font-size: 19px;
    }

    .video-modal-tags {
        padding: 16px 20px 24px;
    }

    .placeholder-text {
        font-size: 15px;
        text-align: center;
    }

    .placeholder-icon {
        width: 60px;
        height: 60px;
    }

    .placeholder-icon i {
        font-size: 24px;
    }

    .stages-section {
        padding: 40px 0 50px;
    }

    .stages-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stages-total {
        display: none;
    }

    .stages-progress {
        margin-bottom: 32px;
    }

    .progress-dot {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

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

    .stage-card {
        padding: 20px 18px;
    }

    .stage-card-number span {
        font-size: 30px;
    }

    .stage-card-title {
        font-size: 16px;
    }

    .stages-cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        margin-top: 36px;
    }

    .stages-cta-text h3 {
        font-size: 18px;
    }

    .btn-stages-cta {
        width: 100%;
        justify-content: center;
    }

    .payment-section {
        padding: 40px 0 50px;
    }

    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .payment-card {
        padding: 20px 16px;
    }

    .payment-card-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .payment-card-title {
        font-size: 14px;
    }

    .payment-card-desc {
        font-size: 12px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-form-block {
        padding: 30px 20px;
    }

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

    .contact-map-block {
        min-height: 300px;
    }

    .footer {
        padding-top: 50px;
    }

    .footer-bottom {
        margin-top: 40px;
    }
}

.form-message {
    display: none;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-message.success {
    display: block;
    background: transparent;
    color: inherit;
    border: none;
    padding: 40px 20px;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.form-message.success i {
    display: block;
    font-size: 64px;
    color: var(--green-primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(45, 179, 74, 0.3));
}

.form-message.success h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: inherit;
}

.form-message.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
    margin-bottom: 24px;
    text-align: left;
}

.form-fade-out {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    transition: all 0.4s ease;
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}