/* Subcontractor Page */
.page--subcontractor {
    background: #fff;
}

/* Hero Section */
.sub-hero {
    position: relative;
    min-height: 480px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-image: url('../images/1642814463.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sub-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.3) 100%);
}

.sub-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

.sub-hero__content {
    max-width: 580px;
}

.sub-hero__title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.sub-hero__subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 12px;
    font-weight: 500;
}

.sub-hero__text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 28px;
    line-height: 1.7;
}

.sub-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #e91b5b 0%, #ff1e62 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 27, 91, 0.4);
    border: none;
    cursor: pointer;
}

.sub-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 27, 91, 0.5);
}

/* Partner Benefits Section */
.sub-partner {
    padding: 80px 20px;
    background: #fff;
}

.sub-partner__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sub-partner__title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    text-align: center;
}

.sub-partner__subtitle {
    font-size: 14px;
    color: #e91b5b;
    text-align: center;
    margin: 0 0 50px;
}

.sub-partner__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.sub-partner__image-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    aspect-ratio: 3/4;
}

.sub-partner__image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-partner__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #e91b5b;
    box-shadow: 0 4px 20px rgba(233, 27, 91, 0.1);
}

.benefit-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #d97706;
}

.benefit-card__content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.benefit-card__content p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Vehicles Section */
.sub-vehicles {
    padding: 60px 20px 80px;
    background: #f8fafc;
}

.sub-vehicles__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sub-vehicles__title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    text-align: center;
}

.sub-vehicles__subtitle {
    font-size: 14px;
    color: #e91b5b;
    text-align: center;
    margin: 0 0 50px;
}

.sub-vehicles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vehicle-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.vehicle-card__image {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vehicle-svg {
    width: 180px;
    height: 90px;
}

.vehicle-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #e91b5b;
    margin: 0 0 12px;
}

.vehicle-card__text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

/* Rules Section */
.sub-rules {
    padding: 80px 20px;
    background: #fff;
}

.sub-rules__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sub-rules__title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 50px;
    text-align: center;
}

.sub-rules__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.rules-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rules-section__title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.rules-section__subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.rules-note {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 16px;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rules-list li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.rules-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
}

.rules-list li.highlight {
    color: #b45309;
}

.rules-list li.highlight::before {
    background: #f59e0b;
}

.rules-list li.warning {
    color: #dc2626;
}

.rules-list li.warning::before {
    background: #dc2626;
}

.rules-list--numbered {
    counter-reset: rules-counter;
}

.rules-list--numbered li {
    counter-increment: rules-counter;
}

.rules-list--numbered li::before {
    content: counter(rules-counter);
    width: 20px;
    height: 20px;
    background: #e91b5b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    top: 2px;
}

/* FAQ Cards */
.faq-card {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.faq-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748b;
}

.faq-card__content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.faq-card__content p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 6px;
    line-height: 1.6;
}

.faq-card__content p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.sub-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #e91b5b 0%, #ff1e62 100%);
    text-align: center;
}

.sub-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.sub-cta__title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
}

.sub-cta__text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px;
    line-height: 1.6;
}

.sub-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: #fff;
    color: #e91b5b;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sub-cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.sub-cta__button i {
    transition: transform 0.3s ease;
}

.sub-cta__button:hover i {
    transform: translateX(4px);
}

/* Back Section */
.sub-back {
    padding: 40px 20px 60px;
    background: #fff;
}

.sub-back__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #e91b5b 0%, #ff1e62 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(233, 27, 91, 0.3);
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 27, 91, 0.4);
}

.btn-back i {
    transition: transform 0.2s ease;
}

.btn-back:hover i {
    transform: translateX(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .sub-hero__title {
        font-size: 34px;
    }

    .sub-partner__grid {
        grid-template-columns: 1fr;
    }

    .sub-partner__image-card {
        max-width: 300px;
        margin: 0 auto;
    }

    .sub-vehicles__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sub-rules__grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .sub-hero {
        min-height: 400px;
    }

    .sub-hero__title {
        font-size: 28px;
    }

    .sub-hero__inner {
        padding: 40px 20px;
    }

    .sub-partner {
        padding: 60px 20px;
    }

    .sub-partner__title {
        font-size: 26px;
    }

    .sub-partner__benefits {
        grid-template-columns: 1fr;
    }

    .sub-vehicles {
        padding: 50px 20px 60px;
    }

    .sub-vehicles__title {
        font-size: 26px;
    }

    .sub-vehicles__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .sub-rules {
        padding: 60px 20px;
    }

    .sub-rules__title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .sub-rules__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sub-cta {
        padding: 60px 20px;
    }

    .sub-cta__title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .sub-hero__title {
        font-size: 24px;
    }

    .sub-hero__cta {
        width: 100%;
        justify-content: center;
    }

    .benefit-card {
        flex-direction: column;
        text-align: center;
    }

    .benefit-card__icon {
        margin: 0 auto;
    }

    .sub-cta__title {
        font-size: 24px;
    }

    .sub-cta__button {
        width: 100%;
        justify-content: center;
    }

    .btn-back {
        width: 100%;
        justify-content: center;
    }
}

