@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    color-scheme: dark;
    scroll-behavior: smooth;
}

/* Hide content until fonts are loaded to prevent FOUT */
body.fonts-loading {
    visibility: hidden;
}

/* Loading indicator while fonts are being loaded */
.font-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.font-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.font-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #334155;
    border-top-color: #f97316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

ul {
  list-style: none;
  padding: 0; 
  margin: 0;
}

li {
  list-style-type: none;
}

body.dark-theme {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-top: 0;
}

.content-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.site-header {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid #334155;
    padding-left: max(20px, calc((100vw - 1100px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1100px) / 2 + 20px));
}

.header-top {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.header-top h2 {
    margin: 0;
    font-size: 1.5rem;
}

.header-phones {
    display: flex;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-phones li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-phones li a:hover {
    color: #f97316;
}

.header-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-top: 1px solid #334155;
}

.header-nav-wrapper nav {
    flex: 1;
}

.header-nav-wrapper nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

ul {
    padding-left: 20px;
}

nav ul {
    display: flex;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f97316;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #f97316;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid #f97316;
    background: transparent;
    color: #e2e8f0;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.menu-toggle:hover {
    background: rgba(249, 115, 22, 0.15);
}

.content-section {
    margin-top: 20px;
    border: 1px solid #1e293b;
    border-radius: 12px;
    background: #111827;
}

.bg2-lg {
    background-image: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), url("assets/img/bg2-lg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.bg3-section {
    background-image: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)), url("assets/img/bg-3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding-left: max(20px, calc((100vw - 1100px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1100px) / 2 + 20px));
    min-height: 400px;
}

.bg3-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.9));
    z-index: 0;
}

.bg3-section > * {
    position: relative;
    z-index: 1;
}

/* Center content for bg3 CTA section */
.bg3-section.cta-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bg3-section.cta-centered h2 {
    margin-left: auto;
    margin-right: auto;
}

.bg3-section.cta-centered .btn {
    margin-top: 40px;
}

.hero-section {
    max-width: 100%;
    width: 100%;
    margin-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding-top: 108px;
    padding-bottom: 108px;
    padding-left: max(20px, calc((100vw - 1100px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1100px) / 2 + 20px));
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    margin-left: auto;
    margin-right: auto;
}

.hero-section ul {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 600px;
}

.hero-section ul li {
    margin-bottom: 8px;
}

.hero-section .highlight-text {
    color: #f97316;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3em;
}

.benefits-section {
    margin: 8rem auto;
}

/* Icon slide-in animation (left to right) */
@keyframes iconSlideIn {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Separator line drawing animation (right to left) */
@keyframes lineDrawRightToLeft {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Override default scroll-reveal for benefit items */
.benefit-item.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Apply animations to benefit items when they become visible */
.benefit-item.scroll-reveal.is-visible .benefit-icon {
    animation: iconSlideIn 0.6s ease-out forwards;
}

.benefit-item.scroll-reveal.is-visible::after {
    animation: lineDrawRightToLeft 0.8s ease-out forwards;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 24px;
    position: relative;
}

.benefit-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #f97316;
}

.benefit-item:last-child {
    margin-bottom: 0;
    padding-bottom: 24px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    opacity: 0;
}

.benefit-item p {
    margin: 0;
    padding-top: 8px;
}

@media (max-width: 600px) {
    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .benefit-item p {
        padding-top: 0;
    }
}

.card {
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #1e293b;
}

.btn {
    border: 1px solid #f97316;
    background: #ea580c;
    color: #f8fafc;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background: #c2410c;
}

.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
}

.cookie-modal {
    width: min(560px, 100%);
    background: #111827;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.cookie-modal h3 {
    margin: 0 0 12px;
}

.cookie-modal p {
    margin: 0 0 16px;
    color: #cbd5e1;
}

.cookie-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn.secondary {
    background: transparent;
    border-color: #64748b;
    color: #cbd5e1;
}

.btn.secondary:hover {
    background: #1f2937;
}

.cookie-modal-overlay.is-open {
    display: flex;
}

.contact-form {
    display: grid;
    gap: 14px;
    max-width: 640px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #334155;
    border-radius: 8px;
    background: #0f172a;
    color: #e2e8f0;
    padding: 10px 12px;
    font: inherit;
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #f97316;
    outline-offset: 1px;
}

.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 998;
}

.contact-modal-overlay.is-open {
    display: flex;
}

.contact-modal {
    width: min(700px, 100%);
    background: #111827;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.contact-modal h3 {
    margin: 0 0 14px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.reasons-section {
    max-width: 100%;
    width: 100%;
    background-image: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)), url("assets/img/handshake.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 60px max(20px, calc((100vw - 1100px) / 2 + 20px));
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.bg2-lg::after,
.reasons-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.9));
    z-index: 0;
}

.bg2-lg>*,
.reasons-section>* {
    position: relative;
    z-index: 1;
}

.reasons-grid .card {
    margin-bottom: 0;
    background: rgba(30, 41, 59, 0.88);
}

@media (max-width: 720px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .bg3-section {
        background-attachment: scroll;
    }
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #0b1120;
}

.reviews-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(15, 23, 42, 0.75);
}

.reviews-nav-btn.prev {
    left: 12px;
}

.reviews-nav-btn.next {
    right: 12px;
}

.reviews-track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
}

.reviews-slide {
    flex: 0 0 25%;
    padding: 0 6px;
}

.reviews-slide img {
    width: 100%;
    height: 405px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.reviews-controls {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.reviews-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid #f97316;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.reviews-dot.is-active {
    background: #f97316;
}

/* Process Section Styles */
#process {
    border: 1px solid #f97316;
}

#process h2 {
    text-align: center;
    margin-bottom: 32px;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #1e293b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.process-step:last-child {
    margin-bottom: 0;
}

/* Squared Step Label */
.step-label {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    border-radius: 8px;
}

/* Step Image Container */
.step-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Abstract Circle Styles */
.abstract-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

/* Circle 1 - Warm Orange/Red (Заяка - Application) */
.circle-1 {
    background: radial-gradient(circle at 30% 30%, #f97316, #ea580c, #c2410c);
}
.circle-1::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 20%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
    border-radius: 50%;
}
.circle-1::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: conic-gradient(from 0deg, transparent, rgba(255,165,0,0.3), transparent);
    border-radius: 50%;
}

/* Circle 2 - Blue/Purple (Поиск - Search) */
.circle-2 {
    background: radial-gradient(circle at 40% 40%, #6366f1, #4f46e5, #3730a3);
}
.circle-2::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 15%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent);
    border-radius: 50%;
}
.circle-2::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 70%;
    height: 70%;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

/* Circle 3 - Green/Teal (Договор - Agreement) */
.circle-3 {
    background: radial-gradient(circle at 35% 35%, #10b981, #059669, #047857);
}
.circle-3::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: repeating-conic-gradient(from 0deg, rgba(255,255,255,0.1) 0deg 30deg, transparent 30deg 60deg);
    border-radius: 50%;
}
.circle-3::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
    border-radius: 50%;
}

/* Circle 4 - Yellow/Orange (Торги - Auction) */
.circle-4 {
    background: radial-gradient(circle at 30% 30%, #fbbf24, #f59e0b, #d97706);
}
.circle-4::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.2) 60deg, transparent 120deg, rgba(255,255,255,0.2) 180deg, transparent 240deg, rgba(255,255,255,0.2) 300deg, transparent 360deg);
    border-radius: 50%;
    animation: rotate 8s linear infinite;
}
.circle-4::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
    border-radius: 50%;
}

/* Circle 5 - Purple/Pink (Покупка - Purchase) */
.circle-5 {
    background: radial-gradient(circle at 40% 40%, #a855f7, #9333ea, #7e22ce);
}
.circle-5::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: conic-gradient(from 0deg, rgba(236, 72, 153, 0.3), rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    border-radius: 50%;
    animation: rotate 6s linear infinite reverse;
}
.circle-5::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent);
    border-radius: 50%;
}

/* Circle 6 - Blue/Cyan (Доставка - Delivery) */
.circle-6 {
    background: radial-gradient(circle at 35% 35%, #06b6d4, #0891b2, #0e7490);
}
.circle-6::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
}
.circle-6::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 30%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Step Content */
.step-content {
    flex: 1;
    min-width: 0;
}

.step-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    color: #f8fafc;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 16px;
    }
    
    .step-label {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .step-image {
        width: 64px;
        height: 64px;
    }
    
    .abstract-circle {
        width: 64px;
        height: 64px;
    }
    
    .process-step:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .process-step {
        padding: 12px;
        gap: 12px;
    }
    
    .step-label {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .step-image {
        width: 56px;
        height: 56px;
    }
    
    .abstract-circle {
        width: 56px;
        height: 56px;
    }
    
    .step-content h3 {
        font-size: 1.05rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
}

.faq-section .card h3 {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.faq-section .card h3::after {
    content: "+";
    color: #f97316;
    font-size: 22px;
    line-height: 1;
}

.faq-section .card.is-open h3::after {
    content: "-";
}

.faq-section .faq-answer {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
}

.faq-section .card.is-open .faq-answer {
    opacity: 1;
    margin-top: 10px;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top.is-pulsing {
    animation: backToTopPulse 1.2s ease-in-out infinite;
}

@keyframes backToTopPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.45);
        transform: translateY(0) scale(1);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(249, 115, 22, 0);
        transform: translateY(0) scale(1.04);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
        transform: translateY(0) scale(1);
    }
}

.site-footer {
    max-width: 1100px;
    margin: 24px auto 0;
    padding: 20px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    text-align: center;
}

.site-footer a {
    color: #f97316;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.image-focus-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
}

.image-focus-overlay.is-open {
    display: flex;
    animation: imageFocusOverlayIn 0.22s ease;
}

.image-focus-content {
    position: relative;
    width: min(1200px, 100%);
    animation: imageFocusContentIn 0.28s ease;
}

.image-focus-content img {
    width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #020617;
    display: block;
}

.image-focus-close {
    position: absolute;
    top: 12px;
    right: 12px;
}

.image-focus-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(15, 23, 42, 0.75);
}

.image-focus-nav-btn.prev {
    left: 12px;
}

.image-focus-nav-btn.next {
    right: 12px;
}

@keyframes imageFocusOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes imageFocusContentIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Orders grid styles */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 16px 0;
}

.order-card {
    border: 1px solid #334155;
    border-radius: 10px;
    background: #1e293b;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.order-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.order-card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.order-card-content .car-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #f8fafc;
    font-family: 'Montserrat', sans-serif;
}

.order-card-content .car-year {
    color: #94a3b8;
    font-weight: 400;
}

.order-card-content .car-specs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.order-card-content .spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.order-card-content .spec-label {
    color: #94a3b8;
}

.order-card-content .spec-value {
    color: #cbd5e1;
    font-weight: 500;
}

.order-card-content .car-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f97316;
    font-family: 'Montserrat', sans-serif;
    text-align: right;
}

/* Animation for order cards appearing */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-card.animate-in {
    animation: cardAppear 0.5s ease-out forwards;
}

@media (max-width: 900px) {
    .orders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for children elements */
.scroll-reveal .card,
.scroll-reveal .order-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scroll-reveal.is-visible .card,
.scroll-reveal.is-visible .order-card {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.scroll-reveal.is-visible .reasons-grid .card:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal.is-visible .reasons-grid .card:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal.is-visible .reasons-grid .card:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal.is-visible .reasons-grid .card:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal.is-visible .reasons-grid .card:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal.is-visible .reasons-grid .card:nth-child(6) { transition-delay: 0.3s; }

.scroll-reveal.is-visible .orders-grid .order-card:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal.is-visible .orders-grid .order-card:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal.is-visible .orders-grid .order-card:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal.is-visible .orders-grid .order-card:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal.is-visible .orders-grid .order-card:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal.is-visible .orders-grid .order-card:nth-child(6) { transition-delay: 0.3s; }
.scroll-reveal.is-visible .orders-grid .order-card:nth-child(7) { transition-delay: 0.35s; }
.scroll-reveal.is-visible .orders-grid .order-card:nth-child(8) { transition-delay: 0.4s; }
.scroll-reveal.is-visible .orders-grid .order-card:nth-child(9) { transition-delay: 0.45s; }

.scroll-reveal.is-visible .faq-section .card:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal.is-visible .faq-section .card:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal.is-visible .faq-section .card:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal.is-visible .faq-section .card:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal.is-visible .faq-section .card:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal.is-visible .faq-section .card:nth-child(6) { transition-delay: 0.3s; }
.scroll-reveal.is-visible .faq-section .card:nth-child(7) { transition-delay: 0.35s; }
.scroll-reveal.is-visible .faq-section .card:nth-child(8) { transition-delay: 0.4s; }

@media (max-width: 720px) {
    .site-header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-top {
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-top h2 {
        flex: 1;
        min-width: 0;
    }

    .header-phones {
        width: 100%;
        justify-content: center;
        gap: 12px;
        order: 3;
    }

    .header-top .btn {
        order: 4;
        width: 100%;
    }

    .header-nav-wrapper {
        flex-wrap: wrap;
        border-top: 1px solid #334155;
        padding-top: 12px;
        justify-content: flex-end;
    }

    .menu-toggle {
        display: inline-flex;
        width: auto;
        padding: 8px 16px;
        font-size: 16px;
        gap: 8px;
        margin-left: auto;
    }

    .header-nav-wrapper nav {
        width: 100%;
        display: none;
    }

    .header-nav-wrapper nav.is-open {
        display: block;
    }

    .header-nav-wrapper nav ul {
        flex-direction: column;
        gap: 10px;
        border: 1px solid #334155;
        border-radius: 10px;
        background: #111827;
        padding: 12px;
        margin-top: 8px;
        justify-content: flex-start;
    }

    .reviews-slide img {
        height: 345px;
    }

    .bg2-lg {
        background-attachment: scroll;
    }

    .reasons-section {
        background-attachment: scroll;
    }
}
