* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #111;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
}

.top-header {
    width: 100%;
    background: #111;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: #1f7cff;
}

.main-nav {
    display: flex;
    gap: 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.main-nav a {
    color: #fff;
    opacity: 0.9;
}

.main-nav a:hover {
    opacity: 1;
    color: #1f7cff;
}

.lang-switch {
    display: flex;
    gap: 8px;
    font-size: 12px;
    font-weight: bold;
}

.lang-switch a {
    padding: 5px 7px;
    background: #222;
    border-radius: 4px;
}

.hero {
    position: relative;
    height: 500px;
    width: 100%;
    background-color: #05070b;
    background-image: url('/uploads/hero/main_hero.png');
    background-size: auto 500px;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    color: #fff;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-top: 205px;
    margin-left: auto;
    margin-right: auto;
    transform: translateX(-420px);
}

.hero-content p {
    font-size: 21px;
    line-height: 1.55;
    font-weight: 600;
    margin: 0 0 22px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.85);
}

.hero h1 {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.20),
        rgba(0,0,0,0.10),
        rgba(0,0,0,0.05)
    );
}

.btn-main {
    display: inline-block;
    background: #1f7cff;
    color: #fff;
    padding: 14px 26px;
    border-radius: 30px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.4px;
}

.btn-main:hover {
    background: #005fe0;
}

.section {
    padding: 70px 0;
    background: #fff;
}

.section h2,
.process-section h2 {
    text-align: center;
    font-size: 30px;
    margin: 0 0 40px;
    text-transform: uppercase;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-bottom: 55px;
}

.section-title-full {
    grid-column: 1 / -1;
    text-align: center;
}

.section-title-full h3 {
    font-size: 24px;
    margin: 0 0 10px;
}

.brand-card {
    background: #fff;
    border: 8px solid #e6e6e6;
    min-height: 260px;
    padding: 22px;
    text-align: center;
    transition: 0.2s;
}

.brand-card:hover {
    transform: translateY(-4px);
    border-color: #1f7cff;
    box-shadow: 0 12px 25px rgba(0,0,0,0.10);
}

.brand-card img {
    width: 100%;
    height: 165px;
    object-fit: contain;
    margin-bottom: 20px;
}

.brand-placeholder {
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
    color: #999;
    background: #f3f3f3;
    margin-bottom: 20px;
}

.brand-card h4 {
    font-size: 15px;
    line-height: 1.35;
    text-transform: uppercase;
    margin: 0;
}

.car-card {
    opacity: 0.9;
}

.process-section {
    padding: 70px 0;
    background: #f2f4f8;
}

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

.process-card {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.process-card span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    background: #1f7cff;
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
    margin-bottom: 15px;
}

.process-card p {
    margin: 0;
    font-weight: 600;
    line-height: 1.45;
}

.request-section {
    padding: 70px 0;
    background: #111;
    color: #fff;
}

.request-box {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.request-box h2 {
    font-size: 32px;
    margin-top: 0;
}

.request-box p {
    color: #ddd;
    font-size: 17px;
}

.page-section {
    padding: 70px 0;
    background: #fff;
    min-height: 520px;
}

.page-section h1 {
    font-size: 38px;
    margin-top: 0;
}

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

.product-card {
    border: 8px solid #e6e6e6;
    padding: 20px;
    text-align: center;
    background: #fff;
    transition: 0.2s;
}

.product-card:hover {
    border-color: #1f7cff;
    transform: translateY(-4px);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.product-card h3 {
    font-size: 16px;
    text-transform: uppercase;
}

.product-card p {
    color: #555;
    font-size: 14px;
}

.product-card strong {
    display: block;
    margin-top: 12px;
    font-size: 18px;
}

.product-detail {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 45px;
    align-items: start;
}

.product-image {
    border: 8px solid #e6e6e6;
    padding: 30px;
}

.product-image img {
    width: 100%;
    object-fit: contain;
}

.product-info h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.product-info h4 {
    font-size: 18px;
    color: #1f7cff;
    margin-top: 0;
}

.product-info p {
    line-height: 1.7;
    font-size: 16px;
}

.price-box {
    display: inline-block;
    background: #f2f4f8;
    padding: 16px 24px;
    font-size: 22px;
    font-weight: 900;
    margin: 20px 0;
    border-radius: 12px;
}

.footer {
    background: #050505;
    color: #aaa;
    padding: 28px 0;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 980px) {
    .header-inner {
        flex-direction: column;
        padding: 18px 0;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    .brand-grid,
    .product-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .hero {
        height: 420px;
        background-size: auto 420px;
        background-position: center top;
    }

    .hero-content {
        max-width: none;
        margin-top: 150px;
        margin-left: 20px;
        margin-right: 20px;
        transform: none;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.45;
    }
}

.home-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}

.home-brand-card {
    background: #fff;
    border: 1px solid #e3e6eb;
    border-radius: 16px;
    padding: 16px 12px 14px;
    text-align: center;
    color: #111;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.2s ease;
}

.home-brand-card:hover {
    transform: translateY(-3px);
    border-color: #1f7cff;
    box-shadow: 0 12px 25px rgba(31,124,255,0.14);
}

.home-brand-logo {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f8f9fb, #ffffff);
    border: 1px solid #edf0f4;
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 12px;
}

.home-brand-logo img {
    max-width: 100%;
    max-height: 65px;
    object-fit: contain;
    filter: contrast(1.1) saturate(1.05);
}

.home-brand-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}
.home-brand-more {
    text-align: center;
    margin-top: 28px;
}
.moto-page {
    padding-top: 70px;
}

.brand-detail-head {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 35px;
    align-items: center;
    margin-bottom: 45px;
}

.brand-detail-logo {
    background: #fff;
    border: 1px solid #e3e6eb;
    border-radius: 18px;
    padding: 28px;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.brand-detail-logo img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.brand-detail-logo span {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
}

.brand-detail-title h1 {
    margin: 0 0 14px;
    font-size: 38px;
    line-height: 1.15;
    text-transform: uppercase;
}

.brand-detail-title p {
    margin: 0;
    max-width: 760px;
    color: #555;
    font-size: 17px;
    line-height: 1.65;
}

.brand-no-products {
    grid-column: 1 / -1;
    background: #f7f8fb;
    border: 1px solid #e4e7ee;
    border-radius: 18px;
    padding: 35px;
    text-align: center;
}

.brand-no-products h3 {
    margin-top: 0;
    font-size: 24px;
}

.brand-no-products p {
    max-width: 720px;
    margin: 0 auto 22px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 800px) {
    .brand-detail-head {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-detail-title h1 {
        font-size: 28px;
    }
}
.product-brand-style-grid {
    max-width: 1200px;
}

.product-brand-style-card {
    min-height: 260px;
}

.product-brand-style-image {
    height: 150px;
}

.product-brand-style-image img {
    max-height: 115px;
}

.product-brand-style-name {
    font-size: 14px;
    line-height: 1.35;
    min-height: 40px;
}

.product-brand-style-price {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 900;
    color: #111;
}
.product-brand-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 250px));
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.product-section {
    padding: 60px 0;
}

.product-top {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product-image {
    width: 40%;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    max-height: 250px;
}

.product-info {
    width: 60%;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-price {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-short {
    margin-bottom: 20px;
    color: #555;
}

.product-options {
    margin-bottom: 20px;
}

.product-options select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.product-actions {
    margin-top: 20px;
}

.product-description {
    margin-top: 50px;
}
.contact-page {
    padding: 70px 0;
    background: #f7f7f8;
}

.contact-head {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-head h1 {
    margin: 0 0 12px;
    font-size: 42px;
    text-transform: uppercase;
}

.contact-head p {
    margin: 0;
    color: #555;
    font-size: 17px;
    line-height: 1.6;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    max-width: 1150px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    border: 1px solid #e3e6eb;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.contact-card h2 {
    margin: 0 0 20px;
    font-size: 24px;
}

.contact-card hr {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 25px 0;
}

.contact-info-line {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
    margin-bottom: 12px;
    color: #444;
    line-height: 1.45;
}

.contact-info-line strong {
    color: #111;
}

.contact-info-line a {
    color: #1f7cff;
    text-decoration: none;
}

.contact-form {
    display: grid;
    gap: 15px;
}

.contact-field label {
    display: block;
    font-weight: 800;
    margin-bottom: 7px;
    font-size: 14px;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid #d7dbe2;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-field textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #1f7cff;
    box-shadow: 0 0 0 3px rgba(31,124,255,0.12);
}

.contact-msg {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-weight: 700;
}

.contact-msg.ok {
    background: #e8f8ee;
    color: #1d7a3b;
    border: 1px solid #bde8ca;
}

.contact-msg.error {
    background: #fdecec;
    color: #b42318;
    border: 1px solid #f5c2c0;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-line {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .contact-head h1 {
        font-size: 32px;
    }
}