/* =====================================================================
   Arrtha Motors – MG MAJESTOR SPECIFIC STYLING
   India's Biggest D+ 4x4 Luxury SUV | 2.0L Twin-Turbo Diesel & Triple Diff Lock
   ===================================================================== */

:root {
    --maj-primary: #b45309;
    --maj-primary-dark: #92400e;
    --maj-primary-light: #d97706;
    --maj-accent: #f59e0b;
    --maj-amber-bg: #fef3c7;
    --maj-amber-border: #fde68a;
    --maj-dark: #0f172a;
    --maj-dark-card: #1e293b;
    --maj-card-bg: #ffffff;
    --maj-border: #e2e8f0;
    --maj-silver: #94a3b8;
}

/* Page Scaffolding */
.majestor-page {
    background-color: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero Badge */
.maj-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.08);
}

/* Color Switcher Container */
.maj-color-box {
    margin-top: 24px;
    padding: 18px 22px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.maj-color-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.maj-color-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.maj-color-active-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--maj-primary);
}

.maj-color-swatches {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.maj-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #cbd5e1;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0;
    outline: none;
}

.maj-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--maj-primary-light);
}

.maj-swatch.active {
    transform: scale(1.18);
    box-shadow: 0 0 0 3px var(--maj-primary), 0 4px 12px rgba(180, 83, 9, 0.35);
}

/* Hero Showcase Image Transition */
.maj-showcase-img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.35s ease, transform 0.35s ease;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

/* Feature Pillars Grid */
.maj-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

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

@media (max-width: 575px) {
    .maj-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.maj-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.maj-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(180, 83, 9, 0.1);
    border-color: #fde68a;
}

.maj-pillar-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #fef3c7;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.maj-pillar-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.maj-pillar-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 0;
}

/* Off-Road Modes Showcase Section */
.maj-modes-section {
    background: #0f172a;
    color: #ffffff;
    padding: 85px 0;
    position: relative;
    overflow: hidden;
}

.maj-modes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.maj-modes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 36px;
}

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

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

.maj-mode-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.maj-mode-card:hover {
    transform: translateY(-5px);
    border-color: #f59e0b;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
}

.maj-mode-img-wrap {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.maj-mode-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.maj-mode-card:hover .maj-mode-img-wrap img {
    transform: scale(1.08);
}

.maj-mode-info {
    padding: 14px 16px;
}

.maj-mode-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.maj-mode-desc {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.45;
}

/* 4x4 Engineering Grid */
.maj-engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

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

@media (max-width: 575px) {
    .maj-engineering-grid {
        grid-template-columns: 1fr;
    }
}

.maj-eng-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.maj-eng-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.maj-eng-img-wrap {
    height: 200px;
    overflow: hidden;
}

.maj-eng-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.maj-eng-card:hover .maj-eng-img-wrap img {
    transform: scale(1.05);
}

.maj-eng-content {
    padding: 20px 22px;
}

.maj-eng-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--maj-primary);
    margin-bottom: 6px;
    display: block;
}

.maj-eng-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.maj-eng-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0;
}

/* M-Lounge Luxury Gallery */
.maj-lounge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

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

@media (max-width: 575px) {
    .maj-lounge-grid {
        grid-template-columns: 1fr;
    }
}

.maj-lounge-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

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

.maj-lounge-img-wrap {
    height: 180px;
    overflow: hidden;
}

.maj-lounge-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.maj-lounge-card:hover .maj-lounge-img-wrap img {
    transform: scale(1.06);
}

.maj-lounge-info {
    padding: 16px 18px;
}

.maj-lounge-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.maj-lounge-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Variant Cards */
.maj-variant-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px 26px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.maj-variant-card.featured {
    border-color: #f59e0b;
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15);
}

.maj-variant-card.featured::after {
    content: 'Flagship 4x4';
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #b45309, #d97706);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.maj-variant-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.maj-variant-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.maj-variant-tag {
    font-size: 12.5px;
    color: #b45309;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    display: block;
}

.maj-variant-price {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.maj-variant-price-sub {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 22px;
}

.maj-variant-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
    flex-grow: 1;
}

.maj-variant-list li {
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.maj-variant-list li i {
    color: #10b981;
    margin-top: 3px;
    font-size: 13px;
}

/* FAQ Accordion */
.maj-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.maj-faq-item.active {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.maj-faq-header {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    user-select: none;
    transition: color 0.2s ease;
}

.maj-faq-header:hover {
    color: var(--maj-primary);
}

.maj-faq-header i {
    font-size: 14px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.maj-faq-item.active .maj-faq-header i {
    transform: rotate(180deg);
    color: var(--maj-primary);
}

.maj-faq-body {
    padding: 0 22px 20px;
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    display: none;
}

.maj-faq-item.active .maj-faq-body {
    display: block;
}
