/* SEO & Content Enhancement Sections */

.seo-section {
    padding: var(--section-y-lg, 2.5rem) 0;
    background: #f8fafc;
}

.seo-section__header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.seo-section__header h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 2rem;
    color: #181818;
    margin-bottom: 0.75rem;
}

.seo-section__header p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Blog Cards Grid */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.35rem;
}

.seo-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.seo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.seo-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e2e8f0;
}

.seo-card__content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.seo-card__content h3 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #2b2b2b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.seo-card__content p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.seo-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.seo-card__cta:hover {
    text-decoration: underline;
}

/* Services &ndash; compact cards, native horizontal scroll + snap (see vehicle-section.css for fleet) */
.services-section {
    padding: var(--section-y, 2.25rem) 0;
    background: #ffffff;
    overflow: hidden;
}

.services-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    container-type: inline-size;
    container-name: services-slider;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-padding-inline: 1rem;
    padding: 0.5rem 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-slider-container::-webkit-scrollbar {
    display: none;
}

.services-slider-container:focus {
    outline: none;
}

.services-slider-container:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 4px;
    border-radius: 12px;
}

.services-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    padding: 0.5rem 0.25rem 1.25rem;
    box-sizing: border-box;
}

.services-slider-slide {
    flex: 0 0 85%;
    min-width: 280px;
    max-width: 380px;
    scroll-snap-align: start;
    opacity: 0.9;
    transition: all 0.35s ease;
}

@media (min-width: 640px) {
    .services-slider-slide {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .services-slider-slide {
        flex: 0 0 calc(25% - 0.95rem);
        max-width: none;
    }
}

.services-slider-slide.active {
    opacity: 1;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 1.5rem 1.35rem 1.6rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    max-width: 520px;
    margin: 0 auto;
    border-top: 4px solid #00B894;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 184, 148, 0.15);
    border-color: #00B894;
}

.service-card img {
    width: 100%;
    max-width: 320px;
    height: 175px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #0a2a20;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.service-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    max-width: 36rem;
}

.service-card__highlight {
    margin-top: auto;
    display: inline-block;
    background: rgba(0, 184, 148, 0.12);
    color: #00B894;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(0, 184, 148, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .services-slider-slide {
        transition: none;
    }
}

.services-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0a2a20;
    color: #55EFC4;
    border: 2px solid #00B894;
    font-size: 1.25rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(10, 42, 32, 0.25);
    transition: all 0.25s ease;
}

.services-nav-btn:hover {
    background: #00B894;
    color: #0a2a20;
    transform: translateY(-50%) scale(1.1);
}

.services-nav-prev { left: -15px; }
.services-nav-next { right: -15px; }

@media (max-width: 767px) {
    .services-nav-btn { display: none; }
}

@media (max-width: 768px) {
    .seo-section, .services-section {
        padding: 1.75rem 0;
    }
    .service-card {
        padding: 1.15rem 1rem 1.35rem;
    }
    .service-card img {
        height: 130px;
        margin-bottom: 0.85rem;
    }
    .service-card h3 {
        font-size: 1.2rem;
    }
    .service-card p {
        font-size: 0.9rem;
    }
}



