:root {
    --gold: #C5A059;
    --black: #0b0b0b;
    --dark: #111111;
    --text: #eaeaea;
}

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

/* SECURITY: Honeypot field - скрытое поле для защиты от ботов */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    tab-index: -1 !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--black);
    color: var(--text);
    font-family: sans-serif;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Global section spacing */

section {
    padding: 80px 0;
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

.top-header {
    background: var(--black);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.brand-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
    transition: opacity 0.3s;
    position: absolute;
    right: 20px;
}

.header-phone:hover {
    opacity: 0.8;
}

.phone-number {
    color: var(--gold);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.phone-label {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-bar {
    background: var(--dark);
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid var(--gold);
    height: 60px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 100px;
    z-index: 999;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 60px;
    width: auto;
    background: transparent;
    mix-blend-mode: lighten;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    color: var(--gold);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1.2;
}

.logo-subtitle {
    color: var(--text);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

.call-btn {
    grid-column: 3;
    justify-self: end;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s;
}

.call-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.hero {
    position: relative;
    height: 80vh;
    background-image: url('../images/angel.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: var(--gold);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    color: var(--text);
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
justify-content: center;
gap: 20px;
margin-top: 30px;
}

.hero-btn {
    text-decoration: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
}

.hero-btn.primary {
    background: var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
}

.hero-btn.primary:hover {
    background: transparent;
    color: var(--gold);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--text);
}

.hero-btn.secondary:hover {
    background: var(--text);
    color: var(--black);
}

.section-title {
    text-align: center;
    color: var(--text);
    font-size: 28px;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--dark);
    padding: 30px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.service-title {
    color: var(--gold);
    margin-bottom: 15px;
}

.service-text {
    color: #aaa;
    font-size: 14px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.advantage-card {
    text-align: center;
    padding: 30px;
    background: var(--dark);
    border: 1px solid rgba(197, 160, 89, 0.15);
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) saturate(100%) invert(76%) sepia(16%) saturate(1084%) hue-rotate(3deg) brightness(92%) contrast(90%);
}

.advantage-title {
    color: var(--gold);
    margin-bottom: 10px;
}

.advantage-text {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.steps-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card,
.contact-card {
    background: var(--dark);
    padding: 40px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.info-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.info-title {
    color: var(--gold);
    margin-bottom: 20px;
}

.info-description {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 16px;
}

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

.info-list li {
    color: #aaa;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.info-list li strong {
    display: block;
    color: var(--gold);
    margin-bottom: 5px;
}

.contact-details {
    margin-bottom: 25px;
}

.contact-details p {
    color: #aaa;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-details strong {
    color: var(--gold);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    background: var(--black);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 12px 15px;
    color: var(--text);
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.contact-form .hero-btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

.map-container {
    border: 1px solid rgba(197, 160, 89, 0.15);
    overflow: hidden;
    line-height: 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.catalog-card {
    background: var(--dark);
    padding: 30px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.catalog-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.catalog-title {
    color: var(--gold);
    margin-bottom: 15px;
}

.catalog-text {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 25px;
}

.catalog-page {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--dark);
    padding: 30px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

/* Product card image slider */
.product-image-slider {
    position: relative;
    width: 100%;
    height: 250px;
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.2);
    margin-bottom: 15px;
    overflow: hidden;
}

.product-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-slide.active {
    opacity: 1;
}

.product-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(197, 160, 89, 0.8);
    border: none;
    color: var(--black);
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0;
}

.product-image-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

.slider-dot:hover {
    background: rgba(197, 160, 89, 0.8);
}

/* Hide slider controls if only one image */
.product-image-slider[data-slides="1"] .slider-arrow,
.product-image-slider[data-slides="1"] .slider-dots {
    display: none;
}

.product-image {
    width: 100%;
    height: 200px;
    background: var(--black);
    margin-bottom: 20px;
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.product-title {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 18px;
}

.product-price {
    color: var(--text);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
}

.product-card .hero-btn {
    width: 100%;
    display: block;
}

.footer {
    background: var(--dark);
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    padding: 0;
}

.footer-container {
    padding-top: 60px;
    padding-bottom: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    color: var(--gold);
    margin-bottom: 15px;
}

.footer-link {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-contact {
    color: #aaa;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-copy {
    color: #777;
    font-size: 13px;
}

.service-steps {
    list-style: none;
    padding: 0;
}

.service-steps li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text);
    font-size: 16px;
}

.service-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
}

.calculator-form .form-group {
    margin-bottom: 15px;
}

.calculator-form label {
    display: block;
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 5px;
}

.calculator-form select {
    width: 100%;
    background: var(--black);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 10px;
    color: var(--text);
    outline: none;
    cursor: pointer;
}

.calculator-form select:focus {
    border-color: var(--gold);
}

.calculator-card {
    width: 100%;
}

.calculator-left label {
    color: #d4af37;
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.calculator-left select {
    display: block;
    width: 100%;
    margin-bottom: 18px;
    padding: 4px;
}

.calculator-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.package-card {
    background: var(--black);
    padding: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.package-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.package-card h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 14px;
}

.package-price {
    font-weight: bold;
    margin-bottom: 15px;
}

.package-card .hero-btn {
    font-size: 12px;
    padding: 8px 12px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.extra-title {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 16px;
}

.extra-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #aaa;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
}

.calc-actions {
    margin-top: 30px;
    text-align: center;
}

.calc-actions .hero-btn {
    display: inline-block;
    padding: 15px 40px;
}

.calc-total {
    color: var(--gold);
    font-size: 22px;
    font-weight: bold;
    margin-top: 30px;
    text-align: left;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    padding-top: 15px;
}

.calc-total span {
    color: var(--text);
}


/* Floating contact buttons */
.floating-contacts {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.contact-btn.phone {
    background: var(--gold);
}

.contact-btn.whatsapp {
    background: #25D366;
}

.contact-btn.telegram {
    background: #0088cc;
}

.contact-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    background: #d4b06a;
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top svg {
    width: 28px;
    height: 28px;
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark);
    padding: 40px;
    border: 1px solid var(--gold);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--text);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-title {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-form input,
.modal-form textarea {
    background: var(--black);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 12px 15px;
    color: var(--text);
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.modal-form input:focus,
.modal-form textarea:focus {
    border-color: var(--gold);
}

.modal-form textarea {
    height: 100px;
    resize: none;
}

.modal-form button {
    background: var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-form button:hover {
    background: transparent;
    color: var(--gold);
}

/* Guarantees section */
.guarantees {
    background: var(--dark);
    padding: 80px 0;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.guarantee-card {
    background: var(--black);
    padding: 30px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.guarantee-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.guarantee-title {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 18px;
}

.guarantee-text {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

/* Company info banner */
.company-banner {
    background: linear-gradient(135deg, var(--dark) 0%, var(--black) 100%);
    padding: 40px 0;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.company-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    color: var(--gold);
    font-size: 36px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

/* Адаптивная карта на странице контактов */
.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.map-card {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-contacts {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
    }
    
    .contact-btn svg {
        width: 26px;
        height: 26px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 24px;
        height: 24px;
    }
}

/* FAQ Section */
.faq {
    background: var(--black);
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: var(--dark);
    padding: 30px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.faq-question {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 16px;
}

.faq-answer {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

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

/* Testimonials Section */
.testimonials {
    background: var(--black);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--dark);
    padding: 25px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-author {
    display: flex;
    gap: 15px;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.testimonial-rating {
    font-size: 16px;
    line-height: 1;
    color: var(--gold);
}

.testimonial-date {
    color: #888;
    font-size: 13px;
    margin: 0 0 10px 0;
}

.testimonial-text {
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

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

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

/* Animation on scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid items */
.service-card,
.advantage-card,
.guarantee-card,
.catalog-card,
.faq-item,
.testimonial-card,
.info-card,
.contact-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-card.visible,
.advantage-card.visible,
.guarantee-card.visible,
.catalog-card.visible,
.faq-item.visible,
.testimonial-card.visible,
.info-card.visible,
.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for staggered effect */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

.advantage-card:nth-child(1) { transition-delay: 0.1s; }
.advantage-card:nth-child(2) { transition-delay: 0.2s; }
.advantage-card:nth-child(3) { transition-delay: 0.3s; }
.advantage-card:nth-child(4) { transition-delay: 0.4s; }

.guarantee-card:nth-child(1) { transition-delay: 0.1s; }
.guarantee-card:nth-child(2) { transition-delay: 0.2s; }
.guarantee-card:nth-child(3) { transition-delay: 0.3s; }

.catalog-card:nth-child(1) { transition-delay: 0.1s; }
.catalog-card:nth-child(2) { transition-delay: 0.2s; }
.catalog-card:nth-child(3) { transition-delay: 0.3s; }

.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.15s; }
.faq-item:nth-child(3) { transition-delay: 0.2s; }
.faq-item:nth-child(4) { transition-delay: 0.25s; }
.faq-item:nth-child(5) { transition-delay: 0.3s; }
.faq-item:nth-child(6) { transition-delay: 0.35s; }

.testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }

/* Section titles animation */
.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero content animation */
.hero-content {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Company banner animation */
.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:nth-child(1) { transition-delay: 0.1s; }
.stat-item:nth-child(2) { transition-delay: 0.2s; }
.stat-item:nth-child(3) { transition-delay: 0.3s; }

/* Lightbox для просмотра фотографий товаров */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

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

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    transition: none;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-image.zoomed {
    cursor: grab;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 30px;
    padding: 20px;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.3s ease;
    border-radius: 5px;
}

.lightbox-arrow:hover {
    background: rgba(197, 160, 89, 0.3);
}

.lightbox-arrow.prev {
    left: 20px;
}

.lightbox-arrow.next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
}

/* Курсор для кликабельных изображений */
.product-slide img {
    cursor: pointer;
}

.product-slide img:hover {
    opacity: 0.9;
}


/* ========================================
   АДАПТИВНОСТЬ ДЛЯ ВСЕХ УСТРОЙСТВ
   ======================================== */

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    /* Контейнер */
    .container {
        padding: 0 20px;
    }
    
    /* Шапка */
    .top-header {
        padding: 15px 0;
    }
    
    .brand-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    .logo-title {
        font-size: 20px;
    }
    
    .logo-subtitle {
        font-size: 11px;
    }
    
    .header-phone {
        flex-direction: column;
        gap: 5px;
        position: static;
        align-items: center;
    }
    
    .phone-number {
        font-size: 18px;
    }
    
    .phone-label {
        font-size: 11px;
    }
    
    /* Навигация */
    .nav-bar {
        padding: 10px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    
    .nav {
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding: 0 20px;
    }
    
    .nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    /* Градиент справа для индикации прокрутки */
    .nav-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to right, transparent, var(--dark));
        pointer-events: none;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 8px 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Hero секция */
    .hero {
        height: 60vh !important;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    /* Секции */
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    section {
        padding: 50px 0;
    }
    
    /* Сетки */
    .services-grid,
    .advantages-grid,
    .catalog-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Контакты - карта под информацией на мобильных */
    .steps-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Карточки */
    .service-card,
    .advantage-card,
    .catalog-card,
    .product-card {
        padding: 25px;
    }
    
    .service-icon,
    .advantage-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .service-title,
    .advantage-title {
        font-size: 18px;
    }
    
    .service-description,
    .advantage-description {
        font-size: 13px;
    }
    
    /* Баннер компании */
    .company-banner {
        padding: 40px 0;
    }
    
    .company-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Гарантии */
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantee-card {
        padding: 25px;
    }
    
    /* Калькулятор */
    .calculator-container {
        flex-direction: column;
    }
    
    .calculator-left,
    .calculator-right {
        width: 100%;
        padding: 25px;
    }
    
    .calculator-group label {
        font-size: 13px;
    }
    
    .calculator-group select {
        font-size: 14px;
        padding: 10px;
    }
    
    .extra-option label {
        font-size: 13px;
    }
    
    .total-price {
        font-size: 32px;
    }
    
    /* Пакеты */
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card {
        padding: 25px;
    }
    
    .package-title {
        font-size: 20px;
    }
    
    .package-price {
        font-size: 28px;
    }
    
    /* Каталог товаров */
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 18px;
    }
    
    /* Модальное окно */
    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 20px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .modal-form input,
    .modal-form textarea {
        font-size: 14px;
        padding: 12px;
    }
    
    .modal-form button {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Футер */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-heading {
        font-size: 16px;
    }
    
    .footer-link,
    .footer-contact {
        font-size: 13px;
    }
    
    .footer-copy {
        font-size: 11px;
    }
    
    /* Плавающие кнопки */
    .floating-contacts {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
    }
    
    .contact-btn svg {
        width: 24px;
        height: 24px;
    }
    
    /* Lightbox */
    .lightbox-arrow {
        padding: 15px;
        font-size: 24px;
    }
    
    .lightbox-arrow.prev {
        left: 10px;
    }
    
    .lightbox-arrow.next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 35px;
    }
    
    .lightbox-counter {
        bottom: 15px;
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    /* Шапка */
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
    
    .phone-number {
        font-size: 16px;
    }
    
    /* Навигация */
    .nav-link {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    /* Секции */
    .section-title {
        font-size: 24px;
    }
    
    section {
        padding: 40px 0;
    }
    
    /* Карточки */
    .service-card,
    .advantage-card,
    .catalog-card,
    .product-card,
    .guarantee-card,
    .package-card {
        padding: 20px;
    }
    
    /* Калькулятор */
    .calculator-left,
    .calculator-right {
        padding: 20px;
    }
    
    .total-price {
        font-size: 28px;
    }
    
    /* Модальное окно */
    .modal-content {
        padding: 25px 15px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    /* Плавающие кнопки */
    .contact-btn {
        width: 45px;
        height: 45px;
    }
    
    .contact-btn svg {
        width: 22px;
        height: 22px;
    }
    
    /* Адаптивная карта на странице контактов */
    .contacts-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .map-card {
        order: 2; /* Карта идёт после контактной информации */
        width: 100%;
    }
    
    .info-card {
        order: 1; /* Контактная информация идёт первой */
    }
}

/* Большие экраны (от 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 40px;
    }
}

/* Ориентация устройства */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh !important;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
}

/* Печать */
@media print {
    .top-header,
    .nav-bar,
    .floating-contacts,
    .scroll-to-top,
    .modal,
    .lightbox {
        display: none !important;
    }
    
    .hero {
        height: auto !important;
        min-height: 200px;
    }
    
    body {
        background: white;
        color: black;
    }
}
