/* ============================================================
   MOBILNYMECHANIK.PL — CITY PAGE STYLES
   Landing page for cities (CPT: mechanik)
   Based on mockup: ai/mobilny-mechanik-city-page.jsx
   Version: 2.2.0
   ============================================================ */

/* ============================================================
   MAIN CONTAINER
   ============================================================ */
.mm-city-main {
    padding-top: 0;
    padding-bottom: 100px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.mm-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    color: var(--mm-white);
    padding: 48px 20px 40px;
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.mm-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.06);
    pointer-events: none;
}

.mm-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(234, 88, 12, 0.05);
    pointer-events: none;
}

/* No mechanic variant */
.mm-hero--partner::before {
    background: rgba(220, 38, 38, 0.06);
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
}

.mm-hero__inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Region Badge */
.mm-hero__badge {
    display: inline-block;
    background: rgba(22, 163, 74, 0.15);
    color: #4ADE80;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mm-hero--partner .mm-hero__badge {
    background: rgba(234, 88, 12, 0.15);
    color: #FB923C;
}

/* Hero Title */
.mm-hero__title {
    font-size: 32px;
    font-weight: 800;
    color: #F8FAFC;
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.mm-hero__city {
    display: inline;
}

.mm-hero__subtitle {
    color: #94A3B8;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 28px;
    width: 100%;
}

/* Hero Two-Panel Layout */
.mm-hero__panels {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Phone CTA Panel */
.mm-hero__phone-panel {
    flex: 1 1 280px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mm-hero__phone-number {
    color: #F8FAFC;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.mm-hero__phone-label {
    color: #94A3B8;
    font-size: 13px;
    margin-bottom: 20px;
}

.mm-hero__phone-features {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.mm-hero__phone-feature {
    color: #94A3B8;
    font-size: 12px;
}

/* Mechanic Card Panel */
.mm-hero__mechanic-panel {
    flex: 1 1 240px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mm-hero__mechanic-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.mm-hero__mechanic-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #374151 0%, #1F2937 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #E5E7EB;
    flex-shrink: 0;
    overflow: hidden;
}

.mm-hero__mechanic-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mm-hero__mechanic-avatar-placeholder {
    font-size: 28px;
    color: #9CA3AF;
}

.mm-hero__mechanic-name {
    color: #F8FAFC;
    font-weight: 700;
    font-size: 17px;
    margin: 0 0 4px;
}

.mm-hero__mechanic-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mm-hero__mechanic-stars {
    color: #F59E0B;
    font-size: 13px;
    letter-spacing: 1px;
}

.mm-hero__mechanic-rating-text {
    color: #94A3B8;
    font-size: 13px;
}

.mm-hero__mechanic-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mm-hero__mechanic-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #CBD5E1;
    font-size: 14px;
}

.mm-hero__mechanic-meta-item--available {
    color: #4ADE80;
}

/* ============================================================
   TRUST STRIP (Between Hero & Content)
   ============================================================ */
.mm-city-trust-strip {
    background: #F1F5F9;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 14px 20px;
}

.mm-city-trust-strip__inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.mm-city-trust-strip__item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.mm-city-trust-strip__item svg {
    color: #16A34A;
    flex-shrink: 0;
}

/* ============================================================
   BREADCRUMBS (Under Hero)
   ============================================================ */
.mm-breadcrumbs {
    padding: 12px 20px;
    max-width: 720px;
    margin: 0 auto;
    font-size: 13px;
    color: #94A3B8;
}

.mm-breadcrumbs a {
    color: #64748B;
    text-decoration: none;
    transition: color var(--mm-transition);
}

.mm-breadcrumbs a:hover {
    color: var(--mm-gray-900);
}

.mm-breadcrumbs__sep {
    margin: 0 6px;
    color: #94A3B8;
}

.mm-breadcrumbs__current {
    color: #1E293B;
    font-weight: 500;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.mm-section {
    padding: 48px 20px;
}

.mm-section--gray {
    background: #F8FAFC;
}

.mm-section__inner {
    max-width: 720px;
    margin: 0 auto;
}

.mm-section__header {
    text-align: center;
    margin-bottom: 32px;
}

.mm-section__title {
    font-size: 26px;
    font-weight: 800;
    color: #1E293B;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.mm-section__subtitle {
    color: #64748B;
    font-size: 15px;
    margin-top: 8px;
}

/* ============================================================
   CARD BASE
   ============================================================ */
.mm-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mm-card--compact {
    padding: 20px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.mm-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.mm-services__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.mm-services__icon {
    font-size: 28px;
    line-height: 1;
}

.mm-services__name {
    font-weight: 700;
    font-size: 16px;
    color: #1E293B;
    margin: 0;
}

.mm-services__desc {
    color: #64748B;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.mm-services__price {
    color: #EA580C;
    font-weight: 800;
    font-size: 17px;
    margin-top: 4px;
}

/* Services CTA Box */
.mm-services__cta-box {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 10px;
    border: 1px solid #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
    grid-column: 1 / -1;
    margin-top: 16px;
}

.mm-services__cta-text {
    color: #94A3B8;
    font-size: 15px;
    margin: 0;
}

/* ============================================================
   PROBLEMS SECTION
   ============================================================ */
.mm-problems__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.mm-problems__item {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.mm-problems__icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.mm-problems__content {
    flex: 1;
}

.mm-problems__title {
    font-weight: 700;
    font-size: 15px;
    color: #1E293B;
    margin: 0 0 4px;
}

.mm-problems__desc {
    color: #64748B;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.mm-faq__card {
    padding: 4px 24px;
}

.mm-faq__item {
    border-bottom: 1px solid #E5E7EB;
    padding: 16px 0;
    cursor: pointer;
}

.mm-faq__item:last-child {
    border-bottom: none;
}

.mm-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--mm-font);
    font-size: 15px;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.4;
    padding: 0;
}

.mm-faq__question:focus-visible {
    outline: 2px solid var(--mm-orange);
    outline-offset: 2px;
}

.mm-faq__toggle {
    font-size: 20px;
    color: #94A3B8;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.mm-faq__item.is-open .mm-faq__toggle {
    transform: rotate(45deg);
}

.mm-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mm-faq__answer p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.7;
    margin: 12px 0 0;
    padding-right: 32px;
}

.mm-faq__item.is-open .mm-faq__answer {
    max-height: 300px;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.mm-reviews__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mm-reviews__item {
    padding: 20px 24px;
}

.mm-reviews__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mm-reviews__stars {
    color: #F59E0B;
    font-size: 15px;
    letter-spacing: 1px;
}

.mm-reviews__date {
    color: #94A3B8;
    font-size: 13px;
}

.mm-reviews__text {
    color: #334155;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 10px;
    font-style: italic;
}

.mm-reviews__text::before {
    content: '"';
}

.mm-reviews__text::after {
    content: '"';
}

.mm-reviews__author {
    color: #DC2626;
    font-weight: 700;
    font-size: 13px;
}

/* ============================================================
   AREA SECTION
   ============================================================ */
.mm-area__subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 16px;
}

.mm-area__subtitle--second {
    margin-top: 28px;
}

.mm-area__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mm-area__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F1F5F9;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
}

.mm-area__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mm-area__city-link {
    display: inline-block;
    color: #2563EB;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #BFDBFE;
    background: #EFF6FF;
    transition: all var(--mm-transition);
}

.mm-area__city-link:hover {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
}

.mm-area__city-link:focus-visible {
    outline: 2px solid var(--mm-orange);
    outline-offset: 2px;
}

/* ============================================================
   SEO TEXT SECTION
   ============================================================ */
.mm-seo__inner {
    max-width: 720px;
    margin: 0 auto;
}

.mm-seo__content {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

.mm-seo__content p {
    margin: 0 0 16px;
}

.mm-seo__content p:first-child {
    margin-top: 0;
}

.mm-seo__content strong {
    color: #1E293B;
}

.mm-seo.is-collapsed .mm-seo__content {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.mm-seo.is-collapsed .mm-seo__content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--mm-gray-50, #F8FAFC));
    pointer-events: none;
}

.mm-seo.is-expanded .mm-seo__content {
    max-height: none;
    overflow: visible;
}

.mm-seo__toggle {
    background: none;
    border: none;
    color: #2563EB;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-top: 8px;
    display: block;
}

/* ============================================================
   MECHANIC CTA SECTION (For mechanics)
   ============================================================ */
.mm-mechanic-cta {
    padding: 0 20px 48px;
}

.mm-mechanic-cta__inner {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 40px 36px;
    position: relative;
}

.mm-mechanic-cta__circle {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.mm-mechanic-cta__content {
    position: relative;
    z-index: 1;
}

.mm-mechanic-cta__badge {
    display: inline-block;
    background: rgba(234, 88, 12, 0.15);
    color: #FB923C;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mm-mechanic-cta__title {
    color: #F8FAFC;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px;
}

.mm-mechanic-cta__text {
    color: #94A3B8;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 500px;
}

.mm-mechanic-cta__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.mm-mechanic-cta__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #CBD5E1;
    font-size: 14px;
}

.mm-mechanic-cta__feature-check {
    color: #4ADE80;
    font-size: 16px;
}

.mm-mechanic-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
    transition: all var(--mm-transition);
}

.mm-mechanic-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
    color: #fff;
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.mm-final-cta {
    padding: 0 20px 48px;
}

.mm-final-cta__inner {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 12px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 40px 32px;
    text-align: center;
}

.mm-final-cta__icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.mm-final-cta__title {
    color: #F8FAFC;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}

.mm-final-cta__text {
    color: #94A3B8;
    font-size: 15px;
    margin: 0 0 24px;
}

.mm-final-cta__phone {
    color: #F8FAFC;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
}

.mm-final-cta__features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.mm-final-cta__feature {
    color: #94A3B8;
    font-size: 13px;
}

/* ============================================================
   PHONE BUTTON
   ============================================================ */
.mm-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.mm-phone-btn--primary {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.mm-phone-btn--primary:hover {
    background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
    color: #fff;
}

.mm-phone-btn--secondary {
    background: #fff;
    color: #DC2626;
    border: 2px solid #DC2626;
}

.mm-phone-btn--secondary:hover {
    background: #DC2626;
    color: #fff;
    border-color: #DC2626;
}

.mm-phone-btn:focus-visible {
    outline: 3px solid var(--mm-orange);
    outline-offset: 2px;
}

.mm-phone-btn--full {
    width: 100%;
}

.mm-phone-btn__icon {
    font-size: 20px;
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.mm-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to top, #0F172A 60%, rgba(15, 23, 42, 0));
    padding: 28px 20px 16px;
    text-align: center;
}

.mm-sticky-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
    transition: all 0.2s ease;
}

.mm-sticky-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.6);
    color: #fff;
}

.mm-sticky-cta__btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 991px) {
    .mm-hero__panels {
        flex-direction: column;
    }

    .mm-hero__phone-panel,
    .mm-hero__mechanic-panel {
        flex: 1 1 100%;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 767px) {
    .mm-hero {
        padding: 36px 16px 32px;
    }

    .mm-hero__title {
        font-size: 26px;
    }

    .mm-hero__phone-number {
        font-size: 24px;
    }

    .mm-section {
        padding: 36px 16px;
    }

    .mm-section__title {
        font-size: 22px;
    }

    .mm-services__grid,
    .mm-problems__grid {
        grid-template-columns: 1fr;
    }

    .mm-faq__card {
        padding: 8px 16px;
    }

    .mm-faq__question {
        font-size: 14px;
    }

    .mm-mechanic-cta,
    .mm-final-cta {
        padding: 0 16px 36px;
    }

    .mm-mechanic-cta__inner {
        padding: 28px 20px;
    }

    .mm-mechanic-cta__title {
        font-size: 20px;
    }

    .mm-final-cta__inner {
        padding: 28px 20px;
    }

    .mm-final-cta__features {
        flex-direction: column;
        gap: 8px;
    }

    .mm-final-cta__phone {
        font-size: 22px;
    }

    .mm-city-trust-strip {
        padding: 12px 16px;
    }

    .mm-city-trust-strip__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
        justify-items: start;
    }

    .mm-city-trust-strip__item {
        font-size: 12px;
    }

    .mm-breadcrumbs {
        padding: 12px 16px;
    }

    .mm-sticky-cta {
        padding: 20px 16px 12px;
    }

    .mm-sticky-cta__btn {
        font-size: 16px;
        padding: 14px 20px;
    }
}
