:root {
    --gold: #c9a96e;
    --gold-dark: #b8944f;
    --dark: #1a1a1a;
    --white: #ffffff;
    --gray: #f8f6f2;
    --text: #333333;
    --text-light: #666666;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, padding 0.3s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

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

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

/* Мобильное меню */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    position: relative;
    display: block;
    background: url('images/hero.jpg') top/cover no-repeat;
    overflow: hidden;
    padding: 0;
}

.hero .section-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: flex-start;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 700px;
    padding: 0;
}

.hero-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(201, 169, 110, 0.5);
    padding: 8px 20px;
    border-radius: 2px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 3px;
	text-transform: uppercase;
}

.hero-title-light {
    font-weight: 300;
    font-size: 48px;
    letter-spacing: 6px;
    display: block;
    margin-top: 5px;
	text-transform: uppercase;
}

.hero-title strong {
    font-weight: 700;
    color: var(--gold);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 45px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 38px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* --- Section Common --- */
section {
    padding: 100px 30px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    font-size: 16px;
    font-weight: 300;
}

/* --- Gallery Block --- */
.gallery {
    background: var(--gray);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 1;
    background: #ddd;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

/* --- Advantages --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.advantage-title {
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-size: 16px;
    color: var(--dark);
}

.advantage-card {
    text-align: center;
    padding: 60px 25px 35px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    margin-top: 50px;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
    width: 184px;
    height: 140px;
    margin: -110px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

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

/* --- Calculator --- */
.calculator {
    background: var(--dark);
    color: var(--white);
}

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

.calculator .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.calc-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-step {
    display: none;
}

.calc-step.active {
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-img svg {
    width: 80px;
    height: 80px;
    opacity: 0.8;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-price {
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-price small {
    font-weight: 400;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.quantity-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.qty-input {
    width: 50px;
    text-align: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px;
    font-size: 16px;
    border-radius: 2px;
}

.calc-total-display {
    text-align: right;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.calc-total-display span {
    color: var(--gold);
    font-weight: 700;
}

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

/* Step 2 */
.summary-list {
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 10px;
}

.summary-item-img {
    width: 80px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
}

.summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.summary-item-info {
    flex-grow: 1;
}

.summary-item-name {
    font-weight: 500;
    font-size: 14px;
}

.summary-item-qty {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.summary-item-price {
    font-weight: 700;
    color: var(--gold);
}

.date-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.date-field {
    flex: 1;
    min-width: 200px;
}

.date-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.date-field input {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 16px;
    border-radius: 2px;
}

.discount-info {
    padding: 20px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 2px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.discount-info strong {
    color: var(--gold);
}

.final-price {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 30px;
}

.final-price span {
    color: var(--gold);
    font-weight: 700;
    display: block;
    font-size: 48px;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

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

.modal {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 4px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    color: var(--text);
}

.modal h3 {
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

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

.modal input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    font-size: 16px;
    border-radius: 2px;
}

.modal .btn {
    width: 100%;
}
.modal .btn-close-modal {
    background: transparent;
    color: var(--text);
    border: 1px solid #ddd;
    margin-top: 10px;
}

/* --- FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0ddd5;
    padding: 25px 0;
    cursor: pointer;
}

.faq-question {
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-top: 15px;
}

.faq-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: var(--gold);
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

/* --- Contact --- */
.contact {
    background: var(--gray);
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.contact-info h3 {
    font-weight: 300;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contact-detail {
    margin-bottom: 15px;
    color: var(--text-light);
}

.contact-form {
    flex: 1.5;
    min-width: 300px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    font-size: 16px;
    border-radius: 2px;
    font-family: inherit;
}
.contact-form textarea {
    height: 120px;
    resize: vertical;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-text {
    flex: 1;
    text-align: left;
    line-height: 1.8;
}

.footer-gis {
    flex-shrink: 0;
}

/* Бейдж 2ГИС в футере */
.gis-badge-link {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.gis-badge-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gis-badge-footer {
    display: block;
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .gis-badge-footer {
        height: 70px;
    }
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
    }
    .nav-menu.active {
        right: 0;
    }
    .burger {
        display: flex;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-desc {
        font-size: 15px;
    }
    section {
        padding: 60px 20px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .calc-wrapper {
        padding: 15px 10px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .product-card {
        padding: 10px 6px;
    }
    .product-img {
        height: auto;
        aspect-ratio: 4 / 3;
        margin-bottom: 8px;
    }
    .product-name {
        font-size: 10px;
        line-height: 1.3;
        margin-bottom: 3px;
    }
    .product-price {
        font-size: 13px;
        margin-bottom: 8px;
    }
    .final-price {
        font-size: 24px;
    }
    .final-price span {
        font-size: 36px;
    }
    .quantity-input {
        gap: 5px;
    }
    .qty-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    .qty-input {
        width: 36px;
        padding: 5px;
        font-size: 14px;
    }
    .calc-total-display {
        font-size: 18px;
        padding: 12px;
        margin-bottom: 20px;
    }
}

/* --- Messenger Buttons --- */
.messenger-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.messenger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Telegram Button Style */
.tg-btn {
    background-color: #24A1DE;
}

.tg-btn:hover {
    background-color: #1d82b3;
}

/* MAX Button Style */
.max-btn {
    background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    color: #ffffff;
}

.max-btn:hover {
    background: linear-gradient(135deg, #00B2E6 0%, #0060D6 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
}

.call-btn-mobile {
    display: none;
    background: var(--gold);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    transition: 0.3s;
}
.call-btn-mobile:hover { background: var(--gold-dark); }

@media (max-width: 768px) {
    .call-btn-mobile { display: block; }
}