/* contact.css — вынесено из inline <style> компонента view/contact.php */
:root {
    --primary-color: #0F1114;
    --secondary-color: #9A8A78;
    --accent-color: #b6ad9b;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #F8F9FA;
    --dark-bg: #1A1A1A;
    --card-bg: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.contact-hero {
    position: relative;
    background: linear-gradient(80deg, rgb(0 0 0 / 66%) 0%, rgb(1 0 19 / 73%) 70%, rgba(0,0,0,0.11) 100%),url(/images/flotte-ohne-glanz-cut.webp);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-hero .hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.contact-main {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    height: 100%;
}

.contact-info-card h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.contact-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    background-color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.contact-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-content .hours {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.company-data {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.company-data h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.company-data ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-data li {
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.contact-form-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    height: 100%;
}

.contact-form-card h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.form-container {
    max-width: 100%;
}

.offices-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.office-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.office-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.office-map {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    filter: contrast(1.05) saturate(0.95);
}

.office-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.office-content {
    padding: 30px;
    position: relative;
}

.office-icon {
    background-color: var(--accent-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.office-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.office-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.office-card p {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.office-manager {
    font-style: italic;
    color: var(--text-light);
}

.office-phone {
    margin-top: 15px;
}

.office-phone a {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.office-phone a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.map-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-color);
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-info-section {
    padding: 40px 0;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.legal-info-container {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.legal-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.legal-icon {
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.legal-content {
    flex: 1;
}

.legal-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.b2b-support-block {
    background-color: #0F1114;
    color: #ffffff;
    padding: 80px 0;
}

.b2b-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.b2b-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.business-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.business-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    transition: transform 0.3s ease;
}

.business-type:hover {
    transform: translateY(-5px);
}

.business-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

.business-type:hover .business-icon {
    background-color: #9A8A78;
}

.business-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

.business-type span {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.b2b-contact {
    font-size: 1.1rem;
    margin: 20px 0 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.b2b-contact-options {
    display: flex;
    justify-content: center;
}

.b2b-contact-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #9A8A78;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.b2b-contact-button:hover {
    background-color: #ffffff;
    color: #0F1114;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button-icon {
    display: flex;
    align-items: center;
}

.button-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.careers-banner {
    margin-bottom: 60px;
    background: #0F1114;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.careers-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 40px;
    gap: 30px;
}

.careers-banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.careers-banner-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.5;
}

.careers-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #9A8A78;
    color: #fff;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s;
}

.careers-banner-btn:hover {
    background: #b9a998;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(154,138,120,0.3);
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
    .contact-hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    .legal-info-section {
        padding: 28px 20px;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 30px;
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .careers-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

    .contact-hero {
        padding: 100px 0 50px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-main {
        padding: 60px 0;
    }
    
    .office-card {
        padding: 25px;
    }
    
    .office-icon {
        width: 50px;
        height: 50px;
    }
    
    .office-icon svg {
        width: 24px;
        height: 24px;
    }

    .office-image {
        height: 200px;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .b2b-title {
        font-size: 2rem;
    }
    
    .business-types {
        gap: 20px;
    }
    
    .business-type {
        width: 120px;
    }
    
    .business-icon {
        width: 50px;
        height: 50px;
    }
    
    .business-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .legal-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-info-card h2,
    .contact-form-card h2,
    .section-title {
        text-align: center;
    }
    
    .company-data {
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .office-image {
        height: 180px;
    }

    .offices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .b2b-support-block {
        padding: 60px 0;
    }
    
    .b2b-title {
        font-size: 1.8rem;
    }
    
    .b2b-description {
        font-size: 1rem;
    }
    
    .business-type {
        width: 110px;
    }
    
    .business-type span {
        font-size: 0.85rem;
    }
    
    .b2b-contact-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}
