/* ========================================
   PAGES CSS - Consolidated styles for route and city pages
   Merged from: route-page.css, route-page-inline.css,
                mobile-route-page.css, city-page-inline.css,
                mobile-city-page.css
   ======================================== */


/* ===========================================
   SECTION 1: Route Page Base Styles
   (from route-page.css)
   =========================================== */

/* Body */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8fafc;
    color: #1e293b;
}

/* Premium Hero Section */
.route-hero {
    position: relative;
    min-height: 600px;
    padding: 120px 20px 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    overflow: hidden;
}

.route-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #f8fafc, transparent);
    z-index: 2;
}

/* 3D Canvas Container */
.hero-canvas {
    position: absolute;
    top: 280px;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: 1;
    pointer-events: none;
}

.hero-canvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(15,23,42,0.3) 0%, rgba(30,41,59,0.3) 100%);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    box-shadow: 0 4px 20px rgba(15,23,42,0.2);
}

.route-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 20px rgba(0,0,0,0.3));
}

.hero-subtitle {
    font-size: 1.3rem;
    margin: 20px 0;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

/* Price Info Block */
.price-info-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 80px 0 0 0;
    padding: 25px 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.price-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.price-info-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-info-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Route Info Section */
.route-info {
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 0 20px;
    background: transparent;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.info-card {
    padding: 35px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15,23,42,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(15,23,42,0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(15,23,42,0.15);
    border-color: rgba(15,23,42,0.2);
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #1e293b;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-card p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    color: #1e293b;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.8);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
}

/* Features Section */
.features {
    margin: 60px 0;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.features h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.features li {
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    background: transparent;
    transition: all 0.3s;
    display: block;
    margin-bottom: 20px;
}

.features li strong {
    display: block;
    color: #1e293b;
    font-size: 1.05rem;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Features Icon Grid */
.features-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    padding: 20px;
    background: white;
    border-radius: 16px;
    border-left: 4px solid #1e293b;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(15,23,42,0.2);
    border-left-color: #64748b;
}

.feature-card-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-card h4 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Pricing Table */
.pricing-table-section {
    margin: 40px 0;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15,23,42,0.08);
}

.pricing-table-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.pricing-table thead tr {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.pricing-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.pricing-table td {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-table tbody tr:last-child {
    background: #f8fafc;
}

/* Related Routes */
.related-routes-section {
    margin: 40px 0;
}

.related-routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-route-card {
    display: block;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(15,23,42,0.1);
}

.related-route-card:hover {
    border-color: rgba(15,23,42,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15,23,42,0.1);
    background: #f1f5f9;
}

/* SEO Content */
.seo-content-section {
    margin: 40px 0;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.seo-content-section h2,
.seo-content-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #1e293b;
    margin-top: 30px;
}

.seo-content-section p {
    color: #475569;
    line-height: 1.8;
}

/* Route page responsive - base */
@media (max-width: 1200px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .route-hero {
        min-height: 500px;
        padding: 100px 15px 80px;
    }

    .route-hero h1 {
        font-size: 2rem;
    }

    .price-info-block {
        padding: 20px;
        gap: 20px;
    }

    .price-info-value {
        font-size: 1.4rem;
    }

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

    .features-icon-grid {
        grid-template-columns: 1fr;
    }

    .related-routes-grid {
        grid-template-columns: 1fr;
    }

    .pricing-table-section,
    .features,
    .seo-content-section {
        padding: 25px 20px;
    }
}

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

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }
}


/* ===========================================
   SECTION 2: Route Page Inline Styles
   (from route-page-inline.css)
   =========================================== */

/* Compact navigation for large screens */
@media (min-width: 1201px) {
    .nav-menu {
        gap: 1.5rem !important;
    }
    .nav-link {
        font-size: 0.95rem !important;
    }
}

/* Phone styles handled by components.css */

/* Navigation on medium screens 769-1100px - show burger (synced with main) */
@media (min-width: 769px) and (max-width: 1100px) {
    .nav-menu {
        display: none !important;
    }
    .nav-burger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 30px !important;
        height: 30px !important;
        cursor: pointer !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        z-index: 99999 !important;
    }
    .nav-burger span {
        display: block !important;
        width: 24px !important;
        height: 3px !important;
        min-height: 3px !important;
        background: #1e293b !important;
        border-radius: 2px !important;
        margin: 3px 0 !important;
        transition: all 0.3s ease !important;
    }
}

/* Critical styles for mobile burger */
/* Burger visible by default on screens < 1101px (synced with main) */
@media (max-width: 1100px) {
    .nav-burger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 30px !important;
        height: 30px !important;
        padding: 0 !important;
        cursor: pointer !important;
        background: transparent !important;
        border: none !important;
        z-index: 99999 !important;
        order: 999 !important;
        margin-left: 0.5rem !important;
    }
    .nav-burger span {
        display: block !important;
        width: 24px !important;
        height: 3px !important;
        min-height: 3px !important;
        background: #1e293b !important;
        margin: 3px 0 !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
    .nav-menu {
        display: none !important;
    }
}
/* Show calculate button only on tablets, NOT mobile */
@media (min-width: 769px) and (max-width: 1100px) {
    .btn-calculate-nav {
        display: block !important;
    }
}
/* Burger hidden on large screens */
@media (min-width: 1101px) {
    .nav-burger { display: none !important; }
    .nav-menu { display: flex !important; }
}

/* SEO Content Block Styles (from inline) */
.seo-content-block {
    background: linear-gradient(135deg, #f8fafc 0%, #e8ecf1 100%);
    border-left: 4px solid #64748b;
    position: relative;
    margin: 60px 0;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.seo-content-block h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.seo-content-block h3:first-of-type {
    margin-top: 20px;
}

.seo-content-block p {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 15px 0;
}

.seo-content-block ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.seo-content-block ul li {
    padding: 12px 0;
    border-bottom: none;
    font-size: 1rem;
    color: #334155;
    line-height: 1.7;
    background: transparent;
    border: none;
    display: block;
}

.seo-content-block ul li:before {
    content: "\25B8";
    color: #64748b;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

.seo-content-block ul li strong {
    color: #1e293b;
    font-weight: 600;
}

/* Route page inline responsive - 768px */
@media (max-width: 768px) {
    .route-hero {
        padding: 60px 15px 50px;
        min-height: 400px;
    }

    .route-hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

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

    .price-info-block {
        gap: 20px;
        padding: 20px 25px;
        flex-direction: column;
    }

    .price-info-value {
        font-size: 1.4rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features ul {
        grid-template-columns: 1fr;
    }

    .features-icon-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 25px;
    }

    .seo-content-block {
        padding: 25px 20px;
    }

    .seo-content-block h2 {
        font-size: 1.5rem !important;
        flex-direction: column;
        gap: 10px;
    }

    .seo-content-block h3 {
        font-size: 1.3rem;
    }

    table {
        font-size: 0.9rem;
    }

    table th, table td {
        padding: 10px 8px !important;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}


/* ===========================================
   SECTION 3: Mobile Route Page Styles
   (from mobile-route-page.css)
   =========================================== */

@media (max-width: 768px) {
    /* Route page container */
    .route-page {
        padding: 1rem;
    }

    /* Route header */
    .route-header {
        padding: 1.5rem 1rem;
        margin: 0 -1rem 1.5rem;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        border-radius: 0 0 24px 24px;
        color: white;
    }

    .route-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .route-subtitle {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    /* Hero section - mobile optimization */
    .route-hero {
        min-height: auto !important;
        height: auto !important;
        padding: 80px 1rem 2rem !important;
    }

    .hero-content {
        padding: 1rem !important;
        max-width: 100% !important;
    }

    .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Price info block - mobile adaptation */
    .price-info-block {
        display: flex !important;
        flex-direction: row !important;
        padding: 0.75rem 0.5rem !important;
        margin: 0 !important;
        gap: 8px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: space-between !important;
    }

    .price-info-item {
        flex: 1 !important;
        padding: 0.5rem 0.25rem !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .price-info-label {
        font-size: 0.65rem !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        width: 100% !important;
    }

    .price-info-value {
        font-size: 0.95rem !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* CTA button */
    .cta-button {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
        justify-content: center !important;
    }

    /* Info grid below hero - more compact on mobile */
    .route-info {
        padding: 1.5rem 1rem !important;
        margin-top: 1.5rem !important;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .info-card {
        padding: 1rem !important;
    }

    .info-card h3 {
        font-size: 1.1rem !important;
    }

    .info-card p {
        font-size: 0.8rem !important;
    }

    /* Pricing table -> Adaptive cards */
    /* Hide thead and convert table to cards */
    .pricing-table thead {
        display: none !important;
    }

    .pricing-table,
    .pricing-table tbody {
        display: block !important;
        width: 100% !important;
    }

    .pricing-table tr {
        display: block !important;
        background: white !important;
        border-radius: 12px !important;
        padding: 1rem !important;
        margin-bottom: 1rem !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid #e5e7eb !important;
        position: relative !important;
    }

    .pricing-table td {
        display: block !important;
        text-align: left !important;
        padding: 0.5rem 0 !important;
        border: none !important;
        position: relative !important;
        padding-left: 50% !important;
    }

    /* Add labels before each value */
    .pricing-table td:before {
        content: attr(data-label);
        position: absolute !important;
        left: 0 !important;
        width: 45% !important;
        font-weight: 600 !important;
        color: #64748b !important;
        font-size: 0.85rem !important;
    }

    /* First cell (weight) - make it a header */
    .pricing-table td:first-child {
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        padding-left: 0 !important;
        padding-bottom: 0.75rem !important;
        margin-bottom: 0.5rem !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    .pricing-table td:first-child:before {
        display: none !important;
    }

    /* Order button full width */
    .pricing-table td:last-child {
        padding-left: 0 !important;
        padding-top: 1rem !important;
    }

    .pricing-table td:last-child:before {
        display: none !important;
    }

    .pricing-table button {
        width: 100% !important;
        min-height: 44px !important;
        font-size: 1rem !important;
        padding: 12px 20px !important;
        border-radius: 8px !important;
    }

    /* SEO content */
    .route-seo-content {
        padding: 1.5rem 1rem;
        background: white;
        border-radius: 16px;
        margin: 1.5rem 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .route-seo-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: #0f172a;
    }

    .route-seo-content h3 {
        font-size: 1.1rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        color: #1e293b;
    }

    .route-seo-content p {
        font-size: 1rem;
        line-height: 1.7;
        color: #475569;
        margin-bottom: 1rem;
    }

    .route-seo-content ul,
    .route-seo-content ol {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .route-seo-content li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

    /* Route map */
    .route-map {
        width: 100% !important;
        height: 300px !important;
        border-radius: 16px;
        overflow: hidden;
        margin: 1.5rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Order button */
    .route-order-button {
        position: sticky;
        bottom: 16px;
        left: 0;
        right: 0;
        width: calc(100% - 2rem);
        margin: 0 1rem;
        padding: 16px 24px;
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 600;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        z-index: 100;
    }

    .route-order-button:active {
        transform: scale(0.98);
    }

    /* Info blocks */
    .route-info-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .route-info-card {
        background: #f8fafc;
        border-radius: 12px;
        padding: 1rem;
        border-left: 4px solid #2563eb;
    }

    .route-info-card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        color: #0f172a;
    }

    .route-info-card p {
        font-size: 0.9rem;
        color: #64748b;
        margin: 0;
    }

    /* Related routes */
    .related-routes {
        margin: 2rem 0;
    }

    .related-routes h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    .related-routes-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        padding: 0 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Styles for link-cards inside grid */
    .related-routes-grid a {
        padding: 1rem !important;
        margin-bottom: 0 !important;
        display: block !important;
    }

    /* Styles for card header (route name) */
    .related-routes-grid a > div:first-child {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
    }

    /* Styles for bottom text (Calculate cost) */
    .related-routes-grid a > div:last-child {
        font-size: 0.85rem !important;
        color: #64748b !important;
    }

    .related-route-card {
        background: white;
        border-radius: 12px;
        padding: 1rem;
        border: 1px solid #e5e7eb;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        color: inherit;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .related-route-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .related-route-name {
        font-weight: 600;
        color: #0f172a;
    }

    .related-route-price {
        font-weight: 700;
        color: #2563eb;
    }

    /* Spoiler for hidden routes */
    .related-routes-hidden {
        display: none;
    }

    .related-routes-hidden.show {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        padding: 0 1rem !important;
        margin-top: 0.75rem !important;
    }

    .show-more-routes {
        display: block;
        width: calc(100% - 2rem);
        margin: 1rem auto 0;
        padding: 12px 20px;
        background: white;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        color: #1e293b;
        font-size: 0.95rem;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .show-more-routes:active {
        transform: scale(0.98);
        background: #f8fafc;
    }

    .show-more-routes svg {
        display: inline-block;
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    .show-more-routes.active svg {
        transform: rotate(180deg);
    }

    /* Safe area for iPhone X+ */
    @supports (padding: env(safe-area-inset-bottom)) {
        .route-order-button {
            bottom: max(16px, env(safe-area-inset-bottom));
            padding-bottom: max(16px, calc(16px + env(safe-area-inset-bottom)));
        }
    }
}

/* Very small screens (route) */
@media (max-width: 375px) {
    .route-title {
        font-size: 1.3rem !important;
    }

    .price-card {
        padding: 1rem;
    }

    .price-card-value {
        font-size: 1.3rem;
    }
}


/* ===========================================
   SECTION 4: City Page Inline Styles
   (from city-page-inline.css)
   NOTE: Shares many selectors with route-page-inline.css
   Only unique city-specific styles or overrides are included.
   The shared nav/burger/hero styles are already above.
   =========================================== */

/* City page uses same hero-canvas position as route but at 360px */
/* This is handled by the city-page-inline's .hero-canvas { top: 360px } */
/* Since route-page.css sets top: 280px, the inline version wins for city pages
   because it's loaded later. We keep both to preserve specificity. */


/* ===========================================
   SECTION 5: Mobile City Page Styles
   (from mobile-city-page.css)
   =========================================== */

@media (max-width: 768px) {
    /* City page container */
    .city-page {
        padding: 0;
    }

    /* City hero section */
    .city-hero {
        padding: 2rem 1rem;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        color: white;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .city-hero-title {
        font-size: 1.75rem !important;
        font-weight: 700;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

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

    /* Main content */
    .city-content {
        padding: 0 1rem 2rem;
    }

    /* Directions from city */
    .city-directions {
        margin: 2rem 0;
    }

    .city-directions-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: #0f172a;
        font-weight: 700;
    }

    .directions-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .direction-card {
        background: white;
        border-radius: 12px;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid #e5e7eb;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        color: inherit;
        transition: all 0.2s ease;
    }

    .direction-card:active {
        transform: scale(0.98);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .direction-info {
        flex: 1;
    }

    .direction-name {
        font-size: 1.05rem;
        font-weight: 600;
        color: #0f172a;
        margin-bottom: 0.25rem;
    }

    .direction-distance {
        font-size: 0.85rem;
        color: #64748b;
    }

    .direction-price {
        font-size: 1.1rem;
        font-weight: 700;
        color: #2563eb;
    }

    /* Popular routes */
    .popular-routes {
        background: #f8fafc;
        border-radius: 16px;
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }

    .popular-routes-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: #0f172a;
        font-weight: 700;
    }

    .popular-routes-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .popular-route-item {
        background: white;
        padding: 0.875rem 1rem;
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        color: inherit;
        border: 1px solid #e5e7eb;
        transition: transform 0.2s ease;
    }

    .popular-route-item:active {
        transform: scale(0.98);
    }

    .popular-route-name {
        font-weight: 600;
        color: #1e293b;
        font-size: 0.95rem;
    }

    .popular-route-price {
        font-weight: 700;
        color: #2563eb;
        font-size: 1rem;
    }

    /* City info */
    .city-info {
        background: white;
        border-radius: 16px;
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .city-info h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: #0f172a;
    }

    .city-info p {
        font-size: 1rem;
        line-height: 1.7;
        color: #475569;
        margin-bottom: 1rem;
    }

    .city-info ul {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .city-info li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
        color: #475569;
    }

    /* City statistics */
    .city-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 1.5rem 0;
    }

    .city-stat-card {
        background: white;
        border-radius: 12px;
        padding: 1rem;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid #e5e7eb;
    }

    .city-stat-value {
        font-size: 1.75rem;
        font-weight: 700;
        color: #2563eb;
        margin-bottom: 0.25rem;
    }

    .city-stat-label {
        font-size: 0.85rem;
        color: #64748b;
    }

    /* Contact info */
    .city-contact {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        border-radius: 16px;
        padding: 1.5rem;
        color: white;
        margin: 1.5rem 0;
        text-align: center;
    }

    .city-contact h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .city-contact-button {
        background: white;
        color: #2563eb;
        border: none;
        border-radius: 10px;
        padding: 12px 24px;
        font-size: 1rem;
        font-weight: 600;
        width: 100%;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .city-contact-button:active {
        transform: scale(0.98);
    }

    /* Directions filter */
    .directions-filter {
        margin-bottom: 1rem;
    }

    .filter-tabs {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .filter-tab {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .filter-tab.active {
        background: #2563eb;
        color: white;
        border-color: #2563eb;
    }

    /* Pagination */
    .directions-pagination {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .pagination-button {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        background: white;
        color: #475569;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .pagination-button.active {
        background: #2563eb;
        color: white;
        border-color: #2563eb;
    }

    .pagination-button:active {
        transform: scale(0.95);
    }

    /* Sticky CTA button */
    .city-sticky-cta {
        position: sticky;
        bottom: 16px;
        left: 0;
        right: 0;
        padding: 0 1rem;
        z-index: 100;
    }

    .city-cta-button {
        width: 100%;
        padding: 16px 24px;
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 600;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .city-cta-button:active {
        transform: scale(0.98);
    }

    /* Safe area for iPhone X+ */
    @supports (padding: env(safe-area-inset-bottom)) {
        .city-sticky-cta {
            bottom: max(16px, env(safe-area-inset-bottom));
        }

        .city-cta-button {
            padding-bottom: max(16px, calc(16px + env(safe-area-inset-bottom)));
        }
    }
}

/* Very small screens (city) */
@media (max-width: 375px) {
    .city-hero-title {
        font-size: 1.5rem !important;
    }

    .direction-name {
        font-size: 0.95rem;
    }

    .direction-price {
        font-size: 1rem;
    }

    .city-stats {
        gap: 0.5rem;
    }

    .city-stat-card {
        padding: 0.875rem;
    }

    .city-stat-value {
        font-size: 1.5rem;
    }
}


/* ===========================================
   SECTION 6: Service Page Styles
   CSS classes for /services/<slug> and /services/<slug>/<city>
   Replaces inline styles from services/routes.py
   =========================================== */

/* --- Service Hero (extends .route-hero) --- */
.service-hero {
    min-height: 500px;
    padding: 100px 20px 80px;
}

.service-hero--city {
    min-height: 400px;
    padding: 80px 20px 60px;
}

/* Hero price info block for service pages */
.service-hero-info {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px auto;
    padding: 24px 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    flex-wrap: wrap;
    justify-content: center;
    max-width: 600px;
}

.service-hero-info__item {
    text-align: center;
}

.service-hero-info__label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-hero-info__value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Hero price display for city pages */
.service-hero-price {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.service-hero-price strong {
    font-size: 2.5rem;
}

/* Hero subtitle */
.service-hero__subtitle {
    font-size: 1.2rem;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
}

.service-hero__subtitle--city {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

/* CTA button (green, pill-shaped) */
.service-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.service-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.service-cta-btn--sm {
    padding: 14px 36px;
    font-size: 1rem;
}

/* --- Main Content Layout --- */
.service-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.service-content--city {
    margin: 50px auto;
}

.service-content__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.service-content__grid--city {
    grid-template-columns: 1fr 320px;
}

/* Cargo list */
.service-cargo-list {
    list-style: none;
    padding: 0;
}

.service-cargo-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-cargo-list__check {
    color: #10b981;
    font-weight: bold;
}

/* --- Sidebar --- */
.service-sidebar-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 28px;
    border-radius: 20px;
    color: white;
    margin-bottom: 24px;
}

.service-sidebar-cta--city {
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.service-sidebar-cta h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 16px;
    font-size: 1.2rem;
    color: white;
}

.service-sidebar-cta p {
    color: rgba(255,255,255,0.8);
    margin: 0 0 20px;
    font-size: 0.95rem;
}

.service-sidebar-link {
    display: block;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-sidebar-link--phone {
    background: white;
    color: #1e293b;
}

.service-sidebar-link--whatsapp {
    background: #25d366;
    color: white;
    margin-bottom: 0;
}

.service-sidebar-link--sm {
    padding: 12px;
    border-radius: 10px;
}

/* Transport types sidebar */
.service-sidebar-info {
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
}

.service-sidebar-info--city {
    padding: 20px;
    border-radius: 12px;
}

.service-sidebar-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 16px;
    color: #1e293b;
}

.service-sidebar-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-sidebar-info__list li {
    padding: 8px 0;
    color: #475569;
    font-size: 0.95rem;
}

/* Parameter list (city page sidebar) */
.service-params-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

.service-params-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.service-params-list li:last-child {
    border-bottom: none;
}

/* --- Features Section --- */
.service-features {
    background: #f8fafc;
    padding: 60px 20px;
}

.service-features__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.service-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-feature-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.service-feature-card__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-feature-card__text {
    color: #1e293b;
    font-weight: 500;
}

/* --- Prices Section --- */
.service-prices {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.service-prices-box {
    margin-top: 40px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15,23,42,0.08);
}

.service-prices-box__subtitle {
    color: #64748b;
    margin-bottom: 25px;
}

.service-prices-box__note {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
}

.service-prices-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.service-prices-table thead tr {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.service-prices-table th {
    padding: 15px;
    font-weight: 600;
}

.service-prices-table th:first-child {
    text-align: left;
}

.service-prices-table th:nth-child(2),
.service-prices-table th:nth-child(3) {
    text-align: right;
}

.service-prices-table th:last-child {
    text-align: center;
}

.service-prices-table td {
    padding: 15px;
}

.service-prices-table td:first-child {
    font-weight: 600;
    color: #334155;
}

.service-prices-table td:nth-child(2) {
    text-align: right;
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 600;
}

.service-prices-table td:nth-child(3) {
    text-align: right;
    color: #64748b;
}

.service-prices-table td:last-child {
    text-align: center;
}

.service-prices-table tr.is-popular {
    background: #f8fafc;
}

.service-prices-table__badge {
    background: #10b981;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 5px;
}

.service-prices-table__btn {
    background: #1e293b;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
}

.service-prices-table__btn--popular {
    background: #10b981;
}

/* --- Cities Grid --- */
.service-cities {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.service-cities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.service-city-card {
    display: block;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(15,23,42,0.1);
}

.service-city-card:hover {
    border-color: rgba(16,185,129,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}

.service-city-card__name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.service-city-card__region {
    color: #64748b;
    font-size: 0.875rem;
}

/* --- Popular Routes --- */
.service-routes {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.service-routes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.service-route-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    gap: 12px;
}

.service-route-card:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.service-route-card__name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.service-route-card__label {
    font-size: 0.85rem;
    color: #64748b;
}

.service-route-card__arrow {
    color: #10b981;
    font-size: 1.2rem;
}

.service-routes__more {
    text-align: center;
    margin-top: 24px;
}

.service-routes__more a {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
}

/* --- FAQ Section --- */
.service-faq {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.service-faq__grid {
    display: grid;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.service-faq-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
}

.service-faq-card h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-faq-card__icon {
    color: #10b981;
    margin-right: 8px;
}

.service-faq-card p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* --- Other Services --- */
.service-others {
    padding: 40px 20px;
    border-top: 1px solid #f1f5f9;
}

.service-others__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.service-others__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.service-other-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    text-decoration: none;
    color: #475569;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.service-other-link:hover {
    border-color: #10b981;
    color: #10b981;
}

/* --- CTA Bottom Section --- */
.service-cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.service-cta-section--city {
    padding: 50px 20px;
}

.service-cta-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 16px;
    color: white;
}

.service-cta-section--city h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.service-cta-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

.service-cta-section__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta-btn--white {
    display: inline-block;
    padding: 16px 36px;
    background: white;
    color: #1e293b;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
}

/* --- Nearby Cities (city page) --- */
.service-nearby {
    background: #f8fafc;
    padding: 40px 20px;
}

.service-nearby__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.service-nearby__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.service-nearby-link {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: #475569;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.service-nearby-link:hover {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

/* --- Breadcrumbs --- */
.service-breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 85px 20px 0;
}

.service-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.service-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.service-breadcrumbs a:hover {
    color: #10b981;
}

.service-breadcrumbs__separator {
    color: #cbd5e1;
    margin-left: 8px;
}

.service-breadcrumbs__current {
    color: #1e293b;
    font-weight: 500;
}

/* Breadcrumbs for city page (simpler style) */
.service-breadcrumbs--city {
    background: #f8fafc;
    padding: 85px 20px 12px;
}

.service-breadcrumbs--city .service-breadcrumbs__inner {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.service-breadcrumbs--city a {
    color: #64748b;
    text-decoration: none;
}

.service-breadcrumbs--city .service-breadcrumbs__sep {
    color: #94a3b8;
    margin: 0 8px;
}

.service-breadcrumbs--city .service-breadcrumbs__current {
    color: #1e293b;
}

/* --- Section headings common --- */
.service-section-title {
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 32px;
    color: #1e293b;
}

.service-section-title--2rem {
    font-size: 2rem;
    margin-bottom: 40px;
}

.service-section-title--1-5rem {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

/* Content heading inline */
.service-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: #1e293b;
    margin: 40px 0 20px;
}

/* Local features block (city page) */
.service-local-features {
    margin-top: 30px;
}

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

@media (max-width: 768px) {
    .service-breadcrumbs {
        padding-top: 100px;
    }

    .service-breadcrumbs--city {
        padding-top: 100px;
    }

    .service-hero {
        min-height: 400px;
        padding: 40px 15px 60px;
    }

    .service-hero--city {
        min-height: auto;
        padding: 30px 15px 50px;
    }

    .service-hero-info {
        padding: 16px 20px;
        gap: 20px;
    }

    .service-hero-info__value {
        font-size: 1.2rem;
    }

    .service-features {
        padding: 40px 15px;
    }

    .service-features__grid {
        grid-template-columns: 1fr;
    }

    .service-cities__grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .service-routes__grid {
        grid-template-columns: 1fr;
    }

    .service-prices-box {
        padding: 24px 16px;
    }

    .service-content {
        margin: 30px auto;
    }

    .service-cta-section h2 {
        font-size: 1.5rem;
    }

    .service-cta-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* Mobile prices table */
    .service-prices-table th,
    .service-prices-table td {
        padding: 10px 6px;
        font-size: 0.8rem;
    }

    .service-prices-table td:nth-child(2) {
        font-size: 0.95rem;
    }

    .service-prices-table th:last-child,
    .service-prices-table td:last-child {
        display: none;
    }

    .service-prices-table__btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .service-prices-table th,
    .service-prices-table td {
        padding: 8px 4px;
        font-size: 0.75rem;
    }

    .service-prices-table td:nth-child(2) {
        font-size: 0.85rem;
    }

    .service-prices-box__subtitle {
        font-size: 0.85rem;
    }
}
