/**
 * LUNICAR - City SEO Pages Styles
 */

/* Hero Section */
.city-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 100px 0 80px;
    margin-top: 70px;
}

.city-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.city-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.city-hero-subtitle {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Search Box */
.city-search-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.city-search-form {
    width: 100%;
}

.city-search-input-wrapper {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.city-search-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1.1rem;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.city-search-input:focus {
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.city-search-input.invalid {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.city-search-input::placeholder {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: #94A3B8;
}

.city-search-btn {
    padding: 16px 32px;
    background: #F59E0B;
    color: #0F172A;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.city-search-btn:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.city-search-hint {
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Why Section */
.city-why {
    background: #F8FAFC;
}

.city-why h2 {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 50px;
}

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

.city-why-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.city-why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.city-why-card h3 {
    font-size: 1.1rem;
    color: #0F172A;
    margin-bottom: 10px;
}

.city-why-card p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Advantages Section */
.city-advantages h2 {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 50px;
}

.city-advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.city-advantage {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #F8FAFC;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.city-advantage:hover {
    background: #F1F5F9;
}

.city-advantage-icon {
    width: 50px;
    height: 50px;
    background: #0F172A;
    color: #F59E0B;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.city-advantage-content h3 {
    font-size: 1.1rem;
    color: #0F172A;
    margin-bottom: 8px;
}

.city-advantage-content p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Steps Section */
.city-steps {
    background: #0F172A;
    color: #ffffff;
}

.city-steps h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.city-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.city-step {
    text-align: center;
    position: relative;
}

.city-step-number {
    width: 60px;
    height: 60px;
    background: #F59E0B;
    color: #0F172A;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.city-step h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.city-step p {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
}

.city-steps-cta {
    text-align: center;
}

/* FAQ Section */
.city-faq {
    background: #F8FAFC;
}

.city-faq h2 {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 50px;
}

.city-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.city-faq-item {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.city-faq-item h3 {
    font-size: 1.1rem;
    color: #0F172A;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.city-faq-item h3::before {
    content: "?";
    width: 24px;
    height: 24px;
    background: #F59E0B;
    color: #0F172A;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.city-faq-item p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.7;
    margin: 0;
    padding-left: 34px;
}

/* CTA Section */
.city-cta {
    background: #ffffff;
}

.city-cta-box {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}

.city-cta-box h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.city-cta-box p {
    font-size: 1.1rem;
    color: #94A3B8;
    margin-bottom: 30px;
}

/* Button Large */
.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .city-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-steps-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .city-hero {
        padding: 80px 0 60px;
    }

    .city-hero h1 {
        font-size: 1.8rem;
    }

    .city-hero-subtitle {
        font-size: 1rem;
    }

    .city-search-box {
        padding: 20px;
    }

    .city-search-input-wrapper {
        flex-direction: column;
    }

    .city-search-btn {
        width: 100%;
    }

    .city-why-grid,
    .city-advantages-grid,
    .city-faq-grid {
        grid-template-columns: 1fr;
    }

    .city-steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .city-step::after {
        display: none;
    }

    .city-cta-box {
        padding: 40px 25px;
    }

    .city-cta-box h2 {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .city-why h2,
    .city-advantages h2,
    .city-steps h2,
    .city-faq h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .city-hero h1 {
        font-size: 1.5rem;
    }

    .city-search-input {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .city-why-card,
    .city-faq-item {
        padding: 20px;
    }

    .city-advantage {
        flex-direction: column;
        text-align: center;
    }

    .city-advantage-icon {
        margin: 0 auto 15px;
    }
}

/* ============ CITY INTRO SECTION ============ */
.city-intro {
    background: var(--white);
    padding: 40px 0;
}

.city-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.city-intro-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.city-intro-content strong {
    color: var(--primary);
}

/* ============ NEARBY CITIES SECTION ============ */
.nearby-cities {
    background: var(--gray-100);
    padding: 40px 0;
}

.nearby-cities-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

.nearby-cities-content ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.nearby-cities-content ul li a {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    border-radius: var(--radius);
    color: var(--gray-600);
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.nearby-cities-content ul li a:hover {
    background: var(--accent);
    color: var(--primary);
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
    background: #F8FAFC;
    padding: 12px 0;
    margin-top: 70px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-list li a {
    color: #64748B;
    transition: color 0.3s;
}

.breadcrumb-list li a:hover {
    color: #F59E0B;
}

.breadcrumb-list li:not(:last-child)::after {
    content: ">";
    margin-left: 8px;
    color: #94A3B8;
}

.breadcrumb-list li:last-child {
    color: #0F172A;
    font-weight: 600;
}

/* ============ HERO STATS ============ */
.city-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.city-hero-stat {
    text-align: center;
}

.city-hero-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #F59E0B;
}

.city-hero-stat .stat-label {
    display: block;
    font-size: 0.85rem;
    color: #94A3B8;
    margin-top: 4px;
}

/* ============ STEPS 4 COLUMNS ============ */
.city-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 0;
}

/* ============ WHY GRID 6 CARDS ============ */
.city-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.city-why-card {
    text-align: left;
    padding: 25px;
}

.city-why-card .city-why-icon {
    width: 50px;
    height: 50px;
    margin: 0 0 15px 0;
    border-radius: 12px;
}

.city-why-card .city-why-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

/* ============ VEHICLES SECTION ============ */
.city-vehicles {
    background: #ffffff;
}

.city-vehicles h2 {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 20px;
}

.city-vehicles-content > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #64748B;
    line-height: 1.7;
}

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

.city-vehicle-type {
    background: #F8FAFC;
    padding: 25px;
    border-radius: 12px;
}

.city-vehicle-type h4 {
    font-size: 1.1rem;
    color: #0F172A;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F59E0B;
}

.city-vehicle-type ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.city-vehicle-type ul li {
    padding: 8px 0;
    color: #64748B;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-vehicle-type ul li::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
}

/* ============ COMPARISON TABLE ============ */
.city-comparison {
    background: #F8FAFC;
}

.city-comparison h2 {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #64748B;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
}

.comparison-table th {
    background: #0F172A;
    color: #ffffff;
    font-weight: 600;
}

.comparison-table th.highlight {
    background: #F59E0B;
    color: #0F172A;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #0F172A;
}

.comparison-table td.highlight {
    background: #FFFBEB;
}

.comparison-table .check {
    color: #10B981;
    font-size: 1.2rem;
}

.comparison-table .cross {
    color: #EF4444;
    font-size: 1.2rem;
}

.comparison-table .partial {
    color: #F59E0B;
    font-size: 1.2rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* ============ ESTIMATION SECTION ============ */
.city-estimation {
    background: #ffffff;
}

.city-estimation h2 {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 40px;
}

.city-estimation-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    align-items: start;
}

.city-estimation-text h4 {
    font-size: 1.1rem;
    color: #0F172A;
    margin: 25px 0 15px;
}

.estimation-criteria {
    list-style: none;
    padding: 0;
    margin: 0;
}

.estimation-criteria li {
    padding: 12px 0;
    border-bottom: 1px solid #E2E8F0;
    color: #64748B;
    line-height: 1.6;
}

.estimation-criteria li strong {
    color: #0F172A;
}

.estimation-box {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    position: sticky;
    top: 100px;
}

.estimation-box h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.estimation-box p {
    color: #94A3B8;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* ============ DOCUMENTS SECTION ============ */
.city-documents {
    background: #F8FAFC;
}

.city-documents h2 {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 15px;
}

.city-documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.city-document {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.city-document:hover {
    transform: translateY(-5px);
}

.document-icon {
    width: 70px;
    height: 70px;
    background: #F8FAFC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.document-icon svg {
    stroke: #0F172A;
}

.city-document h4 {
    font-size: 1.1rem;
    color: #0F172A;
    margin-bottom: 10px;
}

.city-document p {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 15px;
}

.document-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.document-status.required {
    background: #DCFCE7;
    color: #166534;
}

.document-status.optional {
    background: #E0E7FF;
    color: #3730A3;
}

/* ============ LOCAL INFO SECTION ============ */
.city-local-info {
    background: #ffffff;
}

.city-local-info h2 {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 30px;
}

.city-local-content {
    max-width: 900px;
    margin: 0 auto;
}

.local-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.local-info-card {
    background: #F8FAFC;
    padding: 25px;
    border-radius: 12px;
}

.local-info-card h4 {
    font-size: 1.1rem;
    color: #0F172A;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.local-info-card p {
    color: #64748B;
    line-height: 1.7;
    margin: 0;
}

.zfe-warning {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 20px;
    margin-top: 30px;
    border-radius: 0 12px 12px 0;
}

.zfe-warning h4 {
    color: #92400E;
    margin-bottom: 10px;
}

.zfe-warning p {
    color: #78350F;
    margin: 0;
}

/* ============ FAQ ACCORDION ============ */
.city-faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #0F172A;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #F8FAFC;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: #F59E0B;
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: #64748B;
    line-height: 1.7;
    margin: 0;
}

/* ============ BRANDS SECTION ============ */
.city-brands {
    background: #F8FAFC;
}

.city-brands h2 {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 15px;
}

.city-brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.brand-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.brand-item span {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
}

.brands-more {
    text-align: center;
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============ NEARBY CITIES ENHANCED ============ */
.nearby-cities h2 {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 30px;
}

.nearby-cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.nearby-city-link {
    display: block;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 10px;
    color: #0F172A;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nearby-city-link:hover {
    background: #F59E0B;
    color: #0F172A;
    transform: translateY(-2px);
}

/* ============ CTA FEATURES ============ */
.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94A3B8;
    font-size: 0.95rem;
}

.cta-features svg {
    stroke: #10B981;
}

/* ============ RESPONSIVE UPDATES ============ */
@media (max-width: 1024px) {
    .city-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .nearby-cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .city-estimation-content {
        grid-template-columns: 1fr;
    }

    .estimation-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        margin-top: 60px;
    }

    .city-hero {
        margin-top: 0;
    }

    .city-hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .city-hero-stat {
        flex: 0 0 calc(50% - 10px);
    }

    .city-why-grid,
    .city-steps-grid,
    .city-vehicles-grid,
    .city-documents-grid {
        grid-template-columns: 1fr;
    }

    .city-brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nearby-cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .local-info-grid {
        grid-template-columns: 1fr;
    }

    .cta-features {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
}

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

    .nearby-cities-grid {
        grid-template-columns: 1fr;
    }

    .breadcrumb-list {
        font-size: 0.8rem;
    }
}
