/* ==================================================================
   ABOUT.CSS — СТРАНИЦА "О НАС" ДЛЯ АВТОСАЛОНА
   КРАСНЫЙ + БЕЛЫЙ СТИЛЬ
   ================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #fef2f2;
    --secondary: #111111;
    --text-muted: #666666;
    --border: #e5e5e5;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 20px 30px -12px rgba(220,38,38,0.15);
}

/* -------------------- ШАПКА -------------------- */
.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo img {
    max-height: 80px;
    width: auto;
}

.main-nav .nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--secondary);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.header-contacts {
    text-align: right;
}

.header-phone {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.work-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cart-icon {
    position: relative;
    font-size: 1.7rem;
    color: var(--secondary);
    transition: color 0.2s;
}

.cart-icon:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--primary);
}

/* -------------------- ХЛЕБНЫЕ КРОШКИ -------------------- */
.page-header {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
}

.page-header .accent-text {
    color: var(--primary);
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

/* -------------------- SHOWCASE -------------------- */
.about-company-showcase {
    padding: 60px 24px;
    background: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-head {
    text-align: center;
    margin-bottom: 50px;
}

.showcase-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
}

.showcase-title .accent-text {
    color: var(--primary);
}

.showcase-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.showcase-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.showcase-card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.showcase-card-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.showcase-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.showcase-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.showcase-bottom {
    background: var(--primary-light);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.showcase-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.showcase-points span {
    font-weight: 600;
    color: var(--secondary);
    padding: 6px 16px;
    background: white;
    border-radius: 40px;
    font-size: 0.85rem;
    border: 1px solid var(--border);
}

.showcase-note {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
}

/* -------------------- СКЛАД И ОФИС (АВТОСАЛОН) -------------------- */
.about-company {
    padding: 40px 24px;
    background: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid-compact {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-grid-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    padding: 40px 20px 20px;
    color: var(--secondary);
}

.about-grid-title .accent-text {
    color: var(--primary);
}

.about-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.grid-cell {
    padding: 40px 30px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.grid-cell:nth-child(2),
.grid-cell:nth-child(3) {
    border-right: none;
}

.grid-cell-text {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cell-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cell-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.cell-content h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--secondary);
}

.cell-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.cell-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cell-stats span {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.cell-stats span i {
    margin-right: 6px;
}

.grid-cell-photo {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.grid-cell-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    font-weight: 600;
    text-align: center;
}

.about-advantages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 30px;
    background: var(--primary-light);
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary);
}

.advantage-icon i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* -------------------- МИССИЯ -------------------- */
.mission-page {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    padding: 70px 24px;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--secondary);
}

.mission-content h2 .accent-text {
    color: var(--primary);
}

.mission-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.mission-quote {
    background: white;
    border-left: 4px solid var(--primary);
    padding: 25px 30px;
    margin-top: 30px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.mission-quote i {
    color: var(--primary);
    margin-right: 12px;
    font-size: 1.3rem;
}

/* -------------------- ПАРТНЁРЫ -------------------- */
.partners-page {
    padding: 70px 24px;
    background: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--secondary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 4px;
}

.section-title .accent-text {
    color: var(--primary);
}

.partners-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
}

.partners-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.partner-card-large {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.partner-card-large:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.partner-card-large i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.partner-card-large h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--secondary);
}

.partner-card-large p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* -------------------- ПРЕИМУЩЕСТВА (СЕРТИФИКАТЫ) -------------------- */
.certificates-section {
    padding: 70px 24px;
    background: var(--primary-light);
    max-width: 1400px;
    margin: 0 auto;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.certificate-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.certificate-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.certificate-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.certificate-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* -------------------- CTA БЛОК -------------------- */
.special-order {
    background: #111111;
    color: white;
    text-align: center;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

.special-order::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: 0.1;
    border-radius: 50%;
}

.special-order i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.special-order h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.special-order p {
    max-width: 560px;
    margin: 0 auto 32px;
    opacity: 0.85;
}

.special-order .btn-primary {
    background: var(--primary);
    font-size: 1rem;
    padding: 14px 36px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 48px;
    font-weight: 700;
    color: white;
    transition: all 0.2s;
}

.special-order .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* -------------------- ПОДВАЛ -------------------- */
.footer {
    background: #111111;
    color: #e0e0e0;
    padding: 56px 0 28px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-logo img {
    max-height: 60px;
}

.footer h4 {
    color: white;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-links li,
.footer-contacts li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contacts a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-social a {
    background: #2a2a2a;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    transition: 0.2s;
    color: white;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* -------------------- АДАПТИВНОСТЬ -------------------- */
@media (max-width: 1100px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 280px;
        height: 100%;
        background: white;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        z-index: 99;
        padding: 40px 28px;
    }

    .main-nav.open {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .header-contacts {
        display: none;
    }
    
    .about-grid-2x2 {
        grid-template-columns: 1fr;
    }
    
    .grid-cell {
        border-right: none !important;
    }
    
    .grid-cell-photo img {
        min-height: 220px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid-large {
        grid-template-columns: 1fr;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-title {
        font-size: 1.5rem;
    }
    
    .about-grid-title {
        font-size: 1.4rem;
    }
    
    .mission-content h2 {
        font-size: 1.5rem;
    }
    
    .special-order h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 640px) {
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .showcase-card {
        padding: 20px;
    }
    
    .grid-cell-text {
        flex-direction: column;
        text-align: center;
    }
    
    .cell-icon {
        margin: 0 auto;
    }
    
    .cell-stats {
        justify-content: center;
    }
    
    .showcase-points span {
        font-size: 0.75rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* -------------------- АНИМАЦИИ -------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-card,
.partner-card-large,
.certificate-card {
    animation: fadeInUp 0.4s ease forwards;
}

.showcase-card:nth-child(1) { animation-delay: 0.1s; }
.showcase-card:nth-child(2) { animation-delay: 0.2s; }
.showcase-card:nth-child(3) { animation-delay: 0.3s; }
.showcase-card:nth-child(4) { animation-delay: 0.4s; }