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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #12222d;
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ---------- HEADER ---------- */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9edf2;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.top-bar {
    background-color: #f9fafc;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid #eef2f8;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 13px;
}

.contact-item i {
    color: #2c7be5;
    font-size: 14px;
    width: 18px;
}

.contact-item.phone-highlight {
    font-weight: 800;
    color: #1a5bbf;
    font-size: 15px;
}

.contact-item.phone-highlight i {
    color: #1a5bbf;
}

.contact-item a {
    color: inherit;
}

.contact-item a:hover {
    color: #0e4a9e;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #5a6e7c;
    font-size: 16px;
}

.social-icons a:hover {
    color: #2c7be5;
    transform: translateY(-2px);
}

.nav-bar {
    padding: 16px 0;
    background: #ffffff;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #12222d;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #2c7be5;
    border-bottom-color: #2c7be5;
}

.btn-appoint {
    background-color: #2c7be5;
    color: white !important;
    padding: 8px 24px !important;
    border-radius: 40px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

.btn-appoint:hover {
    background-color: #1a66c9;
    transform: scale(1.02);
    border-bottom-color: transparent !important;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 5px;
    padding: 8px;
    z-index: 1101;
}

.burger span {
    width: 28px;
    height: 2.5px;
    background-color: #12222d;
    border-radius: 3px;
    transition: 0.25s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 850px) {
    .burger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 100px 28px 40px;
        gap: 24px;
        box-shadow: -4px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        z-index: 1100;
        overflow-y: auto;
        border-left: 1px solid #eef2f8;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu li a {
        font-size: 16px;
        text-transform: none;
    }
    .btn-appoint {
        width: fit-content;
        margin-top: 10px;
    }
    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-list {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        row-gap: 10px;
    }
}

@media (max-width: 580px) {
    .contact-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .logo img {
        height: 44px;
    }
}

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs {
    padding: 20px 0;
    font-size: 13px;
    color: #8aa5b9;
}

.breadcrumbs a {
    color: #8aa5b9;
}

.breadcrumbs a:hover {
    color: #2c7be5;
}

.breadcrumbs .separator {
    margin: 0 8px;
}

.breadcrumbs .current {
    color: #12222d;
    font-weight: 500;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    border-radius: 28px;
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid #eef2f8;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hero-content {
    flex: 1;
    padding: 50px 40px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #12222d;
}

.hero-content p {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2c7be5;
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #1a66c9;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #2c7be5;
    color: #2c7be5;
    background: transparent;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #2c7be5;
    color: white;
}

.hero-image {
    flex: 0.9;
    min-height: 320px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: 20px;
}

@media (max-width: 850px) {
    .hero-grid {
        flex-direction: column;
    }
    .hero-content {
        padding: 40px 30px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        max-width: 100%;
    }
    .hero-image {
        width: 100%;
        padding: 0 20px 30px 20px;
    }
    .hero-image img {
        border-radius: 16px;
    }
}

/* ---------- STATS SECTION ---------- */
.stats-section {
    padding: 20px 0 20px;
}

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

.stat-card {
    text-align: center;
    padding: 35px 20px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f8;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 44px;
    font-weight: 800;
    color: #2c7be5;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #5a6e7c;
}

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

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

/* ---------- ABOUT TEXT SECTION ---------- */
.about-text-section {
    padding: 20px 0 20px;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-stats {
    background: #f9fafc;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef2f8;
}

.about-stat-icon {
    font-size: 32px;
    color: #2c7be5;
}

.about-stat-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.about-stat-text p {
    font-size: 14px;
    color: #5a6e7c;
    margin-bottom: 0;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #12222d;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 20px;
}

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

/* ---------- SERVICES SECTION (12 видов работ, центрирование) ---------- */
.services-section {
    padding: 20px 0;
    background: #f9fafc;
    border-radius: 28px;
    margin: 20px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: #12222d;
}

.section-subtitle {
    text-align: center;
    color: #5a6e7c;
    margin-bottom: 48px;
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #eef2f8;
    transition: all 0.3s;
    text-align: center;
    display: block;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #2c7be5;
}

.service-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #12222d;
}

.service-card p {
    font-size: 14px;
    color: #5a6e7c;
    line-height: 1.5;
}

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

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

/* ---------- BRANDS CAROUSEL (центрирование) ---------- */
.brands-carousel-section {
    background: #ffffff;
    padding: 50px 0;
    border-radius: 28px;
    margin: 40px 0;
    border: 1px solid #eef2f8;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.brand-item {
    background: #f9fafc;
    padding: 15px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eef2f8;
    width: 100%;
}

.brand-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.brand-item img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* ---------- FEATURES GRID (преимущества, центрирование) ---------- */
.features-section {
    background: #f9fafc;
    padding: 50px 0;
    border-radius: 28px;
    margin: 40px 0;
}

.features-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #12222d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #eef2f8;
    transition: all 0.3s;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 42px;
    color: #2c7be5;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #12222d;
}

.feature-content p {
    font-size: 14px;
    color: #5a6e7c;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* ---------- DAF DEALER SECTION ---------- */
.dealer-section {
    background: #ffffff;
    padding: 50px 0;
    border-radius: 28px;
    margin: 40px 0;
    border: 1px solid #eef2f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.dealer-grid {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 40px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.dealer-text {
    padding-left: 40px;
}

.dealer-text h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #12222d;
}

.dealer-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #2c3e50;
}

.dealer-text ul {
    list-style: none;
}

.dealer-text li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    color: #2c3e50;
}

.dealer-text li i {
    color: #2c7be5;
    font-size: 18px;
    width: 24px;
}

.dealer-image {
    display: flex;
    justify-content: center;
}

.dealer-image img {
    width: 100%;
    max-width: 85%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .dealer-grid {
        grid-template-columns: 1fr;
    }
    .dealer-text {
        padding-left: 0;
    }
    .dealer-image img {
        max-width: 100%;
    }
}

/* ---------- GALLERY SECTION ---------- */
.gallery-section {
    padding: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 16px;
    transition: all 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

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

/* ---------- CALLBACK FORM ---------- */
.callback-section {
    background: #f9fafc;
    padding: 50px 0;
    border-radius: 28px;
    margin: 40px 0;
}

.callback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
}

.callback-text .h3,
.callback-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.callback-text p {
    color: #5a6e7c;
    margin-bottom: 24px;
    line-height: 1.6;
}

.callback-features {
    list-style: none;
}

.callback-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #12222d;
}

.callback-features i {
    color: #2c7be5;
    font-size: 18px;
    width: 24px;
}

.callback-form {
    background: #ffffff;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #eef2f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c7be5;
    box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 13px;
    color: #5a6e7c;
    line-height: 1.4;
}

.checkbox-group a {
    color: #2c7be5;
    text-decoration: underline;
}

.submit-btn {
    background: #2c7be5;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.submit-btn:hover {
    background: #1a66c9;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #b0c4de;
    cursor: not-allowed;
}

@media (max-width: 850px) {
    .callback-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ---------- FOOTER ---------- */
.footer {
    background-color: #12222d;
    color: #b0c4de;
    padding: 48px 0 24px;
    margin-top: 40px;
}

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

.footer-col .h4,
.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer-col .h4::after,
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #2c7be5;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-contact-item i {
    width: 20px;
    color: #2c7be5;
}

.footer-contact-item a {
    color: #cbdde9;
}

.footer-contact-item a:hover {
    color: #ffffff;
}

.footer-phone {
    font-weight: 800;
    font-size: 18px;
    color: #ffffff !important;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbdde9;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #1e3342;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #8aa5b9;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom span a {
    color: #8aa5b9;
}

.footer-bottom span a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    max-width: 500px;
    width: 90%;
    border-radius: 24px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3,
.modal-header .h3 {
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #8aa5b9;
}

.modal-body {
    padding: 20px 24px 24px;
}

.modal-submit {
    background: #2c7be5;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

.footer-col .social-icons.footer-social {
    margin-top: 20px;
    gap: 18px;
}

.footer-social a {
    color: #b0c4de!important;
}

.modal-form-placeholder {
    color: #5a6e7c;
    font-size: 14px;
    line-height: 1.5;
}

/* WordPress menus */
.nav-menu li.current-menu-item > a,
.nav-menu li.current-menu-parent > a,
.nav-menu li.current_page_item > a {
    color: #2c7be5;
    border-bottom-color: #2c7be5;
}


.callback-form .forminator-checkbox__wrapper {
    display: flex;
    gap: 12px;
}

.callback-form .forminator-error-message {
    font-size: 13px;
    color: red;
}
.callback-form .forminator-response-message.forminator-error.forminator-accessible ul {
    list-style: none;
    font-size: 12px;
    background: #ffc35657;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 12px;
}