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

        :root{
            --container: 1160px;
            --gutter: clamp(20px, 5vw, 72px);
        }

        html{
            scroll-behavior:smooth;
        }

        body{
            background:#fff;
            color:#222;
            font-family:'Inter',sans-serif;
            overflow-x:hidden;
        }

        img{
            max-width:100%;
            display:block;
        }

/* GLOBAL */



.section {
    padding: 100px 0;
    background: #fff;
}

.section > * {
    width: min(calc(100% - var(--gutter) * 2), var(--container));
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 52px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #111;
    line-height: 1.1;
}

/* HERO */

.hero-premium {
    min-height: 90vh;
    padding: 80px 0;
    background: #fff;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    width: min(calc(100% - var(--gutter) * 2), var(--container));
    margin: 0 auto;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 24px;
    color: #444;
    line-height: 1.1;
    margin-bottom: 40px;
}

.hero-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* BUTTONS */

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn,
.product-btn,
.final-cta a,
.final-cta button {
    background: #111;
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.hero-btn:hover,
.product-btn:hover,
.final-cta a:hover,
.final-cta button:hover {
    background: #2f7d32;
    transform: translateY(-3px);
}

/* EXPERIENCE */

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.experience-grid h3 {
    font-size: 34px;
    margin-bottom: 25px;
    color: #111;
    line-height: 1.1;
}

.experience-grid p {
    font-size: 18px;
    line-height: 1.1;
    color: #555;
}

.experience-grid img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* PORTFOLIO */

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    aspect-ratio: 3 / 2;
}

.slider-track {
    display: flex;
    transition: transform 0.6s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255,255,255,0.95);
    padding: 20px 30px;
    border-radius: 16px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
    color: #111;
}

/* PARTNERS */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.partner-card {
    background: white;
    height: 180px;
    border-radius: 24px;
    border: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.partner-card img {
    max-width: 160px;
    max-height: 80px;
    object-fit: contain;
}
.production-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}
.product-card {
    background: #f8f8f8;
    border-radius: 24px;
    overflow: hidden;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.product-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h3 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.product-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* кнопка всегда внизу */

.product-btn {
    margin-top: auto;
}

/* CTA */

.final-cta {
    background: #f9f9f9;
    text-align: center;
    padding: 120px var(--gutter);
}

.final-cta h2 {
    font-size: 56px;
    color: #111;
    margin-bottom: 30px;
    line-height: 1.1;
}

/* ANIMATION */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */

@media (max-width: 992px) {

    .hero-wrapper,
    .experience-grid,
    .production-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-image img {
        height: 400px;
    }

    .slider-container {
        border-radius: 22px;
    }
}

@media (max-width: 768px) {

    .section {
        padding: 70px 0;
    }

    .hero-premium {
        padding: 56px 0;
        min-height: auto;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 1.08;
        margin-bottom: 18px;
    }

    .hero-content p {
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 28px;
    }

    .section-title {
        font-size: 32px;
        text-align: left;
        margin-bottom: 34px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .hero-btn,
    .product-btn,
    .architect-btn,
    .portfolio-btn,
    .final-cta button,
    .final-cta a {
        padding: 14px 22px;
        font-size: 15px;
    }

    .slide-caption {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: fit-content;
        max-width: calc(100% - 28px);
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 14px;
        line-height: 1.25;
    }

    .product-content {
        padding: 24px;
    }

    .product-content h3 {
        font-size: 22px;
    }

    .final-cta h2 {
        font-size: 32px;
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        max-width: var(--container);
    }

    .final-cta {
        text-align: left;
        padding: 78px var(--gutter);
    }
}
.cycle-section {
    background: linear-gradient(180deg, #fafafa 0%, #f4f7f3 100%);
    border-radius: 40px;
    padding: 80px 60px;
}

.cycle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.cycle-card {
    background: white;
    border-radius: 28px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.05);
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .3s ease;
}

.cycle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.cycle-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
}

/* colors */

.icon-project {
    background: #eef5ff;
}

.icon-production {
    background: #eefaf1;
}

.icon-install {
    background: #fff4ea;
}

.icon-service {
    background: #f4edff;
}

.cycle-card h3 {
    font-size: 28px;
    margin-bottom: 18px;
    line-height: 1.2;
}

.cycle-card p {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto;
}

/* desktop arrows */

.arrow-right::after {
    content: "→";
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #2f7d32;
    font-weight: bold;
}

.arrow-down::after {
    content: "↓";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 50px;
    color: #2f7d32;
    font-weight: bold;
}

.arrow-left::after {
    content: "←";
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #2f7d32;
    font-weight: bold;
}

/* mobile */

@media(max-width:768px){

    .cycle-grid{
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 34px;
    }

    .cycle-section{
        padding:34px 20px;
        border-radius: 24px;
    }

    .cycle-card{
        min-height:auto;
        padding:28px 22px;
        text-align: left;
        border-radius: 20px;
    }

    .cycle-icon{
        width:76px;
        height:76px;
        margin: 0 0 22px;
        border-radius: 20px;
        font-size:34px;
    }

    .cycle-card h3 {
        font-size: 23px;
    }

    .cycle-card p {
        font-size: 16px;
        line-height: 1.55;
        margin: 0;
    }

    .arrow-right::after,
    .arrow-down::after,
    .arrow-left::after{
        display:none;
    }
}
.architect-section {
    background: linear-gradient(135deg, #f8f8f8 0%, #eef5ef 100%);
    border-radius: 40px;
    padding: 90px 70px;
    overflow: hidden;
    position: relative;
}

.architect-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.architect-content h2 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 30px;
    color: #111;
}

.architect-content p {
    font-size: 22px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 40px;
}

.architect-btn {
    background: #111;
    color: white;
    padding: 18px 34px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: .3s ease;
}

.architect-btn:hover {
    background: #2f7d32;
    transform: translateY(-3px);
}

.architect-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

@media(max-width:992px){
    .architect-wrapper{
        grid-template-columns:1fr;
    }

    .architect-content h2{
        font-size:38px;
    }

    .architect-image img{
        height:400px;
    }
}

@media(max-width:768px){
    .architect-section{
        padding:34px 22px;
        border-radius: 24px;
    }

    .architect-content h2 {
        font-size: 32px;
        line-height: 1.12;
        margin-bottom: 22px;
    }

    .architect-content p{
        font-size:16px;
        line-height: 1.55;
        margin-bottom: 24px;
    }

    .architect-image img{
        height:auto;
        aspect-ratio: 3 / 2;
        border-radius: 20px;
    }
}
.portfolio-request-wrap {
    text-align: center;
    margin-top: 40px;
}

.portfolio-btn {
    background: #111;
    color: white;
    padding: 18px 34px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.portfolio-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.portfolio-popup.active {
    display: flex;
}

.portfolio-popup-inner {
    background: white;
    width: 100%;
    max-width: 520px;
    padding: 50px;
    border-radius: 30px;
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    right: 20px;
    top: 20px;
    border: none;
    background: none;
    font-size: 30px;
    cursor: pointer;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup-form input,
.popup-form textarea {
    height: 55px;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 0 20px;
    font-size: 16px;
    font-family: inherit;
}

.popup-form textarea {
    min-height: 110px;
    padding: 16px 20px;
    resize: vertical;
}

.popup-form button:disabled {
    cursor: progress;
    opacity: 0.7;
}

.checkbox-wrap {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: #666;
}

.checkbox-wrap input {
    width: auto;
    height: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

.portfolio-submit,
.portfolio-download-btn {
    background: #111;
    color: white;
    padding: 18px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    display: block;
    width: 100%;
}

.form-message {
    min-height: 20px;
    color: #2f7d32;
    font-size: 14px;
    line-height: 1.4;
}

.form-message.error {
    color: #b42318;
}

.popup-success p {
    color: #555;
    line-height: 1.6;
    margin: 15px 0 24px;
}
/* =========================
   HEADER
========================= */

html {
    scroll-behavior: smooth;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
    width: min(calc(100% - var(--gutter) * 2), var(--container));
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-logo {
    width: 180px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    transition: .25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.header-nav a {
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    transition: .3s ease;
}

.header-nav a:hover {
    color: #2f7d32;
}

.header-phone {
    text-decoration: none;
    color: #111;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    transition: .3s ease;
}

.header-phone:hover {
    color: #2f7d32;
}

.header-phone-mobile {
    display: none;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #111;
    color: rgba(255,255,255,0.8);
    padding: 90px var(--gutter) 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

.footer-brand h3 {
    color: white;
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
    max-width: 440px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a,
.footer-contact a {
    text-decoration: none;
    color: rgba(255,255,255,0.78);
    transition: .3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: white;
}

.footer-contact a {
    font-size: 18px;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

/* =========================
   MOBILE
========================= */

@media(max-width:992px){

    .header-inner{
        flex-direction: row;
        align-items: center;
        padding: 14px 0;
        gap: 16px;
        position: relative;
    }

    .site-logo {
        width: 150px;
        height: 44px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .header-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 14px;
        background: #fff;
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: 18px;
        box-shadow: 0 18px 50px rgba(0,0,0,0.12);
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav a {
        width: 100%;
        padding: 13px 8px;
        font-size: 16px;
    }

    .header-phone-desktop {
        display: none;
    }

    .header-phone-mobile {
        display: block;
        color: #2f7d32;
    }

    .footer-grid{
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media(max-width:768px){

    .site-logo {
        width: 132px;
    }

    .hero-btn,
    .product-btn,
    .architect-btn,
    .portfolio-btn,
    .final-cta button,
    .final-cta a {
        padding: 14px 22px;
        font-size: 15px;
    }

    .portfolio-popup-inner {
        padding: 42px 24px 28px;
        border-radius: 22px;
    }

    .portfolio-submit,
    .portfolio-download-btn {
        padding: 14px;
        font-size: 15px;
    }

    .popup-form {
        gap: 14px;
    }

    .popup-form input,
    .popup-form textarea {
        height: 50px;
        border-radius: 12px;
        font-size: 15px;
    }

    .footer-brand h3{
        font-size: 28px;
    }

    .footer-bottom{
        flex-direction: column;
        align-items: flex-start;
    }
}
