/* =====================================================================
   Arrtha Motors – MG HECTOR TOMAHAWK PHEV SPECIFIC STYLING
   India's First Plug-in Hybrid 7-Seater SUV | 115+ km EV & 1,100+ km Total Range
   ===================================================================== */

:root {
    --phev-primary: #059669;
    --phev-primary-dark: #047857;
    --phev-primary-light: #10b981;
    --phev-primary-bg: #ecfdf5;
    --phev-primary-border: #a7f3d0;
    --phev-electric: #0284c7;
    --phev-purple: rgb(171, 24, 231);
    --phev-purple-glow: rgba(171, 24, 231, 0.35);
    --phev-dark: #0b1329;
    --phev-dark-card: #151f38;
    --phev-gold: #f59e0b;
    --phev-border: #e2e8f0;
    --phev-text: #1e293b;
    --phev-text-muted: #64748b;
}

.hector-phev-page {
    background-color: #f8fafc;
    color: var(--phev-text);
    overflow-x: hidden;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ================= TOP BANNER & ON-ROAD PRICE FORM ================= */
.phev-banner-section {
    position: relative;
    width: 100%;
    background-color: #0b1329;
    overflow: hidden;
}

.phev-banner-wrap {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.phev-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.phev-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 19, 41, 0.94) 0%, rgba(11, 19, 41, 0.6) 45%, rgba(11, 19, 41, 0.88) 100%);
    z-index: 2;
}

.phev-banner-content {
    position: relative;
    z-index: 3;
    padding: 60px 0;
    width: 100%;
}

.phev-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.45);
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.phev-banner-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 16px 0 14px;
}

.phev-banner-title span {
    background: linear-gradient(135deg, #34d399 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.phev-banner-desc {
    color: #cbd5e1;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.65;
    max-width: 620px;
    margin-bottom: 24px;
}

/* On-Road Price Floating Card */
.phev-orp-card {
    background: #ffffff;
    border: 1.5px solid rgba(171, 24, 231, 0.25);
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    width: 100%;
    max-width: 440px;
}

.phev-orp-title {
    font-family: 'Archivo', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 6px;
}

.phev-orp-sub {
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
    margin-bottom: 20px;
}

.phev-form-field {
    margin-bottom: 14px;
}

.phev-form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.phev-form-input,
.phev-form-select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
}

.phev-form-input:focus,
.phev-form-select:focus {
    border-color: var(--phev-purple);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px var(--phev-purple-glow);
}

.phev-submit-btn {
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, rgb(171, 24, 231) 0%, #8e0fc1 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 18px var(--phev-purple-glow);
    transition: all 0.25s ease;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phev-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(171, 24, 231, 0.55);
}

/* ================= STATS HIGHLIGHT GRID ================= */
.phev-stats-section {
    background: #ffffff;
    padding: 40px 0;
    border-bottom: 1px solid var(--phev-border);
}

.phev-stat-card {
    text-align: center;
    padding: 18px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    height: 100%;
}

.phev-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--phev-primary-light);
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.08);
}

.phev-stat-val {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 800;
    color: var(--phev-primary-dark);
    line-height: 1.1;
    margin-bottom: 4px;
}

.phev-stat-lbl {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.phev-stat-sub {
    font-size: 11.5px;
    color: #64748b;
}

/* ================= 4 HYBRID DRIVE MODES EXPLORER ================= */
.phev-modes-section {
    padding: 80px 0;
    background: #0b1329;
    color: #ffffff;
    position: relative;
}

.phev-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #34d399;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.phev-section-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 14px;
}

.phev-section-desc {
    color: #94a3b8;
    font-size: 16px;
    max-width: 680px;
    line-height: 1.65;
    margin-bottom: 45px;
}

.phev-mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phev-mode-tab {
    flex: 1 1 180px;
    padding: 14px 18px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.phev-mode-tab small {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 400;
}

.phev-mode-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.phev-mode-tab.active {
    background: linear-gradient(135deg, var(--phev-primary) 0%, var(--phev-electric) 100%);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(5, 150, 105, 0.4);
}

.phev-mode-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.phev-mode-panel.active {
    display: block;
}

.phev-mode-img-wrap {
    background: #060b18;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phev-mode-img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    border-radius: 8px;
}

.phev-mode-heading {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.phev-mode-body {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.phev-mode-metric {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(5, 150, 105, 0.15);
    border: 1px solid rgba(5, 150, 105, 0.35);
    color: #6ee7b7;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
}

/* ================= INTERACTIVE COLOR SWITCHER ================= */
.phev-color-section {
    padding: 80px 0;
    background: #ffffff;
}

.phev-color-viewer {
    text-align: center;
    position: relative;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}

.phev-car-img-box {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phev-car-display {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 860px;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.phev-color-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 30px 0 15px;
}

.phev-color-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #cbd5e1, 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    outline: none;
}

.phev-color-btn:hover {
    transform: scale(1.12);
}

.phev-color-btn.active {
    box-shadow: 0 0 0 3px var(--phev-purple), 0 6px 16px rgba(171, 24, 231, 0.4);
    transform: scale(1.16);
}

.phev-active-color-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-top: 10px;
}

/* ================= ENGINEERING & PLATFORM ================= */
.phev-eng-section {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid var(--phev-border);
    border-bottom: 1px solid var(--phev-border);
}

.phev-tech-card {
    background: #ffffff;
    border: 1px solid var(--phev-border);
    border-radius: 14px;
    padding: 26px;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.phev-tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(5, 150, 105, 0.35);
}

.phev-tech-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--phev-primary-bg);
    color: var(--phev-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
    border: 1px solid var(--phev-primary-border);
}

.phev-tech-title {
    font-family: 'Archivo', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.phev-tech-desc {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.65;
    flex-grow: 1;
}

/* ================= INTERIOR & DESIGN GALLERIES ================= */
.phev-gallery-section {
    padding: 80px 0;
    background: #ffffff;
}

.phev-feature-card {
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.phev-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.phev-feat-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.phev-feature-card:hover .phev-feat-img {
    transform: scale(1.04);
}

.phev-feat-content {
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--phev-border);
    border-top: none;
    border-radius: 0 0 14px 14px;
}

.phev-feat-heading {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.phev-feat-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ================= SPECIFICATIONS & VARIANTS TABLE ================= */
.phev-specs-section {
    padding: 80px 0;
    background: #f8fafc;
}

.phev-specs-table-wrap {
    background: #ffffff;
    border: 1px solid var(--phev-border);
    border-radius: 14px;
    overflow-x: auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.phev-specs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.phev-specs-table th {
    background: #0f172a;
    color: #ffffff;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.phev-specs-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #334155;
}

.phev-specs-table tr:nth-child(even) td {
    background: #f8fafc;
}

.phev-specs-table tr:hover td {
    background: #f0fdf4;
}

/* ================= FAQ SECTION ================= */
.phev-faq-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid var(--phev-border);
}

.phev-faq-item {
    border: 1px solid var(--phev-border);
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.phev-faq-question {
    padding: 18px 22px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    user-select: none;
}

.phev-faq-question:hover {
    color: var(--phev-primary-dark);
}

.phev-faq-answer {
    padding: 0 22px 18px;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.7;
    display: none;
}

.phev-faq-item.active {
    border-color: rgba(5, 150, 105, 0.4);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08);
}

.phev-faq-item.active .phev-faq-answer {
    display: block;
}

.phev-faq-item.active .phev-faq-icon {
    transform: rotate(180deg);
    color: var(--phev-primary);
}

.phev-faq-icon {
    transition: transform 0.3s ease;
    color: #94a3b8;
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .phev-banner-wrap { min-height: auto; }
    .phev-orp-card { margin-top: 30px; }
}
