﻿.service-header::before,
.service-header::after,
.service-content::before,
.service-content::after,
.stats-section::before,
.stats-section::after {
    animation: none !important;
    will-change: auto;
}

.service-feature-card,
.benefit-item,
.testimonial-card,
.package-card,
.process-step,
.showcase-item {
    animation: none !important;
}

.btn {
    border-radius: 25px;
}

.service-deferred-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* Marquee logos need full layout; content-visibility breaks CSS transform marquees */
.testimonials-section.service-deferred-section {
    content-visibility: visible;
    contain-intrinsic-size: none;
}

.showcase-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f7;
}

.showcase-image img,
.showcase-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.client-logo-item img {
    width: auto !important;
    height: 48px !important;
    max-width: 180px !important;
    max-height: none !important;
    object-fit: contain;
}
.lead-form-container .form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Service Pages */
.service-header {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    contain: layout style paint;
}

.service-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
    will-change: transform, opacity;
    contain: layout style paint;
}

.service-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
    will-change: transform, opacity;
    contain: layout style paint;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.service-header h1 {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.service-header-description {
    font-size: 1.25rem;
    color: #333333;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-header-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.service-content {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    contain: layout style paint;
    overflow-x: clip;
}

.service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.service-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.service-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-details {
    line-height: 1.8;
}

.service-form-side-visual {
    margin: 0 0 1.75rem;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #0b57d0;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.service-form-side-visual img {
    display: block;
    width: 100%;
    height: auto;
}

/* Full-width block after the "Our ... Services" heading (outside the 2-col wrapper) */
.service-details-full {
    max-width: 1200px;
    margin: 3rem auto 0;
}

.service-details-full > h2:first-of-type {
    margin-top: 0;
}

/* Attractive full-bleed pull-quote (navy band) */
.service-pull-quote {
    position: relative;
    display: block;
    width: 100%;
    margin: 2.5rem 0 3rem;
    padding: 3.25rem 1.5rem;
    border: none;
    border-radius: 0;
    background: #0b1f4a;
    box-shadow: none;
    overflow: hidden;
}

.service-pull-quote::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: max(1rem, calc((100% - 1200px) / 2));
    font-family: var(--font-heading, 'Unbounded', system-ui, sans-serif);
    font-size: clamp(4rem, 10vw, 7rem);
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.service-pull-quote__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-pull-quote p {
    margin: 0;
    font-family: var(--font-heading, 'Unbounded', system-ui, sans-serif);
    font-size: clamp(1.35rem, 3vw, 2.15rem);
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    letter-spacing: -0.02em;
    max-width: 52rem;
}

@media (max-width: 768px) {
    .service-pull-quote {
        padding: 2.25rem 1rem;
        margin: 2rem 0 2.25rem;
    }

    .service-pull-quote::before {
        font-size: 4rem;
        left: 0.75rem;
    }

    .service-pull-quote__inner {
        padding: 0 0.25rem;
    }
}

.service-details h2 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 700;
    color: #000000;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.service-details h2:first-child {
    margin-top: 0;
}

.service-details h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #005bb5);
    border-radius: 2px;
}

.service-details h3 {
    position: relative;
    padding-left: 1.5rem;
}

.service-details h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-color), #005bb5);
    border-radius: 2px;
}

.service-details h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 600;
    color: #000000;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-details h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-color), #005bb5);
    border-radius: 2px;
}

.service-details p {
    font-size: 1.125rem;
    color: #555555;
    margin-bottom: 1.75rem;
    line-height: 1.85;
    font-weight: 400;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-details ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.125rem;
    color: #333333;
    line-height: 1.8;
}

.service-details ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.service-features-block {
    margin: 0 0 3rem;
}

.service-features-block__head {
    max-width: 42rem;
    margin: 0 auto 1.75rem;
    text-align: center;
}

.service-features-block__head h2 {
    margin: 0 0 0.85rem;
}

.service-features-block__intro {
    margin: 0;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.65;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin: 0;
    align-items: stretch;
}

.service-feature-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    height: 100%;
    margin: 0;
    padding: 1.35rem 1.25rem 1.4rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 113, 227, 0.12);
    border-radius: 16px;
    background:
        linear-gradient(165deg, #ffffff 0%, #f7fafc 58%, #eef5fb 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 10px 28px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    animation: none !important;
}

.service-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0071e3 0%, #4aa3f5 55%, transparent 100%);
    transform: none;
}

.service-feature-card::after {
    display: none;
}

.service-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 113, 227, 0.28);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 16px 36px rgba(0, 113, 227, 0.1);
    background: linear-gradient(165deg, #ffffff 0%, #f7fafc 58%, #eef5fb 100%);
}

.service-feature-card:hover::before {
    transform: none;
}

.service-feature-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.15rem;
}

.service-feature-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.45rem;
    border-radius: 10px;
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
    font-family: var(--font-heading, inherit);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

.feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    border-radius: 12px;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-feature-card:hover .feature-icon {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 113, 227, 0.28);
}

.feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

.service-feature-card__title,
.service-details .service-feature-card h3,
.service-details .service-feature-card__title {
    font-family: var(--font-heading, inherit);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
}

.service-details .service-feature-card h3::before,
.service-details .service-feature-card__title::before {
    display: none !important;
    content: none !important;
}

.service-feature-card__text,
.service-feature-card p {
    margin: 0;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 400;
    flex: 1;
}

.service-feature-card h4 {
    font-size: 1.02rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

@media (max-width: 1024px) {
    .service-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .service-features-block {
        margin-bottom: 2.25rem;
    }

    .service-features-block__head {
        margin-bottom: 1.25rem;
        text-align: left;
        max-width: none;
    }

    .service-features-block__intro {
        font-size: 0.95rem;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .service-feature-card {
        padding: 1.15rem 1.05rem 1.2rem;
        border-radius: 14px;
    }

    .service-feature-card:hover {
        transform: none;
    }

    .service-feature-card__title,
    .service-details .service-feature-card h3,
    .service-details .service-feature-card__title {
        font-size: 0.98rem;
    }

    .service-feature-card__text,
    .service-feature-card p {
        font-size: 0.88rem;
        line-height: 1.55;
    }
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Enhanced hover animations */
.benefit-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }

.service-feature-card {
    /* redesigned above — keep stagger hook inert */
}

.service-feature-card:nth-child(1),
.service-feature-card:nth-child(2),
.service-feature-card:nth-child(3),
.service-feature-card:nth-child(4),
.service-feature-card:nth-child(5),
.service-feature-card:nth-child(6) {
    animation-delay: 0s;
}

.testimonial-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.case-study-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.case-study-card:nth-child(1) { animation-delay: 0.1s; }
.case-study-card:nth-child(2) { animation-delay: 0.2s; }
.case-study-card:nth-child(3) { animation-delay: 0.3s; }

/* Legacy feature-card rules replaced by .service-features-block redesign above */

.lead-form-container {
    background: linear-gradient(165deg, #e0f2fe 0%, #cbe8fe 46%, #b3dcfd 100%);
    color: #0f172a;
    padding: 1.5rem;
    border-radius: 16px;
    position: sticky;
    top: 150px;
    height: fit-content;
    max-height: calc(100vh - 170px);
    overflow-y: auto;
    border: 1.5px solid rgba(2, 132, 199, 0.38);
    box-shadow: 0 14px 34px rgba(2, 132, 199, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
    align-self: start;
}

.lead-form-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b1220;
    margin-bottom: 0.25rem;
}

.lead-form-container > p {
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
}

/* Service full-width block (process, packages, etc.) */
.service-full-width {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 3rem max(1.25rem, calc(50% - 600px));
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    box-sizing: border-box;
}

.service-full-width__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.service-form-boundary {
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    visibility: hidden;
}

.lead-form-container--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(1rem);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.service-wrapper--form-hidden {
    grid-template-columns: 1fr !important;
}

.service-wrapper--form-hidden .service-details {
    max-width: 100%;
}

/* Packages Section */
.packages-section {
    margin-top: 2.5rem;
    padding: 2rem 0 1rem;
}

.service-details-full > .packages-section:first-child {
    margin-top: 0;
    padding-top: 0;
}

.packages-eyebrow {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
}

.packages-section__head {
    margin-bottom: 0.75rem;
}

.packages-section__head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.packages-section h2,
.packages-section__title {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 700;
    color: #000000;
    text-align: left;
    margin: 0;
    position: relative;
}

.service-details .packages-section h2::after,
.service-details .packages-section__title::after,
.packages-section h2::after,
.packages-section__title::after {
    content: none !important;
    display: none !important;
}

.packages-offer-timer {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 8px;
    min-width: 8.5rem;
    flex-shrink: 0;
}

.packages-offer-timer__label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1.2;
}

.packages-offer-timer__clock {
    font-size: 1.125rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: #0f172a;
    line-height: 1.1;
}

.packages-offer-timer.is-ended .packages-offer-timer__clock {
    font-size: 0.8125rem;
    letter-spacing: 0;
}

.packages-intro {
    text-align: left;
    font-size: 0.8125rem;
    color: #555555;
    max-width: none;
    width: 100%;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.packages-intro--after {
    margin: 1.25rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.45;
    text-align: center;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.package-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 1.5rem;
    max-width: 720px;
}

.package-tabs__btn {
    appearance: none;
    border: 1px solid rgba(0, 113, 227, 0.28);
    background: #fff;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.package-tabs__btn:hover,
.package-tabs__btn:focus-visible {
    border-color: var(--primary-color, #0071e3);
    color: var(--primary-color, #0071e3);
    outline: none;
}

.package-tabs__btn.is-active {
    background: var(--primary-color, #0071e3);
    border-color: var(--primary-color, #0071e3);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 113, 227, 0.22);
}

.package-tabs__intro {
    text-align: center;
    font-size: 0.95rem;
    color: #475569;
    margin: 0 0 1.25rem;
}

.package-tabs__panel[hidden] {
    display: none !important;
}

.packages-grid--count-1 {
    max-width: 360px;
    grid-template-columns: 1fr;
}

.packages-grid--count-4,
.packages-grid--count-5 {
    max-width: 1280px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.package-price--quote .price-amount {
    font-size: 1.15rem;
}

.package-appointment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    border-radius: 25px;
}

#website-quote-form {
    scroll-margin-top: 6.5rem;
}

.package-card {
    background: linear-gradient(165deg, #e0f2fe 0%, #cbe8fe 46%, #b3dcfd 100%);
    color: #0f172a;
    border-radius: 16px;
    padding: 1.75rem 1.5rem 1.5rem;
    border: 1.5px solid rgba(2, 132, 199, 0.38);
    box-shadow: 0 14px 34px rgba(2, 132, 199, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(2, 132, 199, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.package-card.package-featured {
    background: linear-gradient(165deg, #d4ecfe 0%, #b8dffa 48%, #9ed2f7 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 46px rgba(2, 132, 199, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: none;
    padding-top: 2rem;
}

.package-card.package-featured:hover {
    transform: translateY(-4px);
}

.package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    left: auto;
    transform: none;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: none;
    z-index: 10;
    white-space: nowrap;
}

.package-image {
    margin: 0 0 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f5f8;
    aspect-ratio: 5 / 3;
}

.package-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-header {
    text-align: left;
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
}

.package-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0b1220;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.package-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.4rem;
    margin-bottom: 0.25rem;
}

/* Title → struck regular → sale (+ GST) → Limited-time (each on its own line) */
.package-header .package-price.package-price--sale,
.package-card .package-price.package-price--sale {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.35rem;
    width: 100%;
}

.package-header .package-price--sale .price-compare,
.package-card .package-price--sale .price-compare {
    display: block;
    width: 100%;
    order: 1;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    color: #475569;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.package-header .package-price--sale .price-sale-row,
.package-card .package-price--sale .price-sale-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.35rem;
    order: 2;
    width: 100%;
}

.package-header .package-price--sale .price-offer-tag,
.package-card .package-price--sale .price-offer-tag {
    display: block;
    width: 100%;
    order: 3;
    margin: 0;
    flex-basis: auto;
}

.price-compare {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    line-height: 1;
    margin-right: 0.15rem;
}

.price-amount {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #0b1220;
    line-height: 1;
}

.price-period {
    font-size: 0.875rem;
    color: #1e293b;
    font-weight: 600;
    margin-left: 0.05rem;
}

.price-offer-tag {
    flex-basis: 100%;
    margin-top: 0.15rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #b45309;
}

.package-quote-btn {
    width: 100%;
    cursor: pointer;
    border: none;
    border-radius: 25px;
}

/* Get Quote modal */
.package-quote-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.package-quote-modal[hidden] {
    display: none !important;
}
.package-quote-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}
.package-quote-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-width: 100%;
    max-height: min(92vh, 900px);
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    scrollbar-gutter: auto;
}
.package-quote-modal__dialog::-webkit-scrollbar:horizontal {
    display: none;
    height: 0;
}
.package-quote-form {
    max-width: 100%;
    overflow-x: hidden;
}
.package-quote-modal__close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
}
.package-quote-modal__package {
    margin: 0 0 1rem;
    color: #334155;
    font-weight: 600;
    padding-right: 1.75rem;
    overflow-wrap: anywhere;
}
.package-quote-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
    max-width: 100%;
    min-width: 0;
}
.package-quote-form__full {
    grid-column: 1 / -1;
    min-width: 0;
}
.package-quote-form .form-group {
    min-width: 0;
    max-width: 100%;
}
.package-quote-form .form-group input,
.package-quote-form .form-group select {
    width: 100%;
    max-width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font: inherit;
    box-sizing: border-box;
    background: #fff;
}
.package-quote-form .form-group label {
    display: none;
}
.package-quote-phone.phone-input-wrapper {
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
    overflow: visible;
}
.package-quote-phone .iti {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    position: relative;
}
.package-quote-phone .iti__flag-container,
.package-quote-phone .iti__country-container {
    z-index: 3;
}
.package-quote-phone .iti__selected-flag,
.package-quote-phone .iti__selected-country {
    z-index: 3;
    padding: 0 8px 0 10px;
}
/* Country list is appended to body so modal overflow cannot clip search */
body > .iti--container {
    z-index: 11000 !important;
}
body > .iti--container .iti__dropdown-content {
    z-index: 11001 !important;
}
body > .iti--container .iti__search-input {
    width: 100%;
    box-sizing: border-box;
}
.package-quote-phone .iti__selected-dial-code {
    margin-left: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
}
/* Flag/dial overlay the input — JS sets exact padding-left */
.package-quote-phone .iti input.phone-number-input,
.package-quote-phone .iti input.phone-number-input[type="tel"],
.package-quote-phone .iti input.iti__tel-input {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    padding-right: 0.75rem !important;
    padding-left: 130px !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 8px !important;
    font: inherit !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    background: #fff !important;
}
.package-quote-phone .iti input.phone-number-input:focus,
.package-quote-phone .iti input.iti__tel-input:focus {
    outline: none;
    border-color: var(--primary-color, #0071e3) !important;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.pq-city-select {
    position: relative;
}
.pq-city-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    max-height: 220px;
    overflow: auto;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}
.pq-city-dropdown[hidden] {
    display: none !important;
}
.pq-city-option {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 0.65rem 0.75rem;
    font: inherit;
    cursor: pointer;
    color: #1d1d1f;
}
.pq-city-option:hover,
.pq-city-option:focus {
    background: #f5f5f7;
    outline: none;
}
.pq-city-empty {
    padding: 0.75rem;
    font-size: 0.9rem;
    color: #6b7280;
}
.pq-city-option--other {
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
    color: #0071e3;
}
.pq-city-option--other:hover,
.pq-city-option--other:focus {
    background: #eff6ff;
}
[data-quote-state-other]:not([hidden]) {
    display: block;
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font: inherit;
    box-sizing: border-box;
    background: #fff;
}
[data-quote-state-other]:not([hidden]):focus {
    outline: none;
    border-color: var(--primary-color, #0071e3);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.package-quote-gst-ask {
    display: flex;
    align-items: center;
}
.pq-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    cursor: pointer;
    margin: 0;
}
.pq-toggle__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
}
.pq-toggle input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
.pq-toggle__track {
    position: relative;
    width: 48px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 999px;
    background: #d2d2d7;
    transition: background 0.2s ease;
}
.pq-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}
.pq-toggle input:checked + .pq-toggle__track {
    background: var(--primary-color, #0071e3);
}
.pq-toggle input:checked + .pq-toggle__track .pq-toggle__thumb {
    transform: translateX(20px);
}
.pq-toggle input:focus-visible + .pq-toggle__track {
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.25);
}

.pq-notify-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    padding-top: 0.25rem;
}
.pq-check {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    cursor: pointer;
}
.pq-check input {
    width: auto !important;
    margin: 0;
    accent-color: var(--primary-color, #0071e3);
}

.package-quote-form__message {
    margin: 1rem 0 0;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
}
.package-quote-form__message.error {
    background: #fef2f2;
    color: #b91c1c;
}
.package-quote-form__message.success {
    background: #ecfdf5;
    color: #047857;
}
.package-quote-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    align-items: center;
}
.package-quote-form__actions .btn-primary {
    width: 100%;
}
.package-quote-success p,
.package-quote-pay > p,
.package-quote-sign__intro {
    width: 100%;
    margin: 0 0 0.25rem;
}
.package-quote-otp[hidden],
.package-quote-sign[hidden],
.package-quote-summary[hidden],
.package-quote-pay[hidden],
.package-quote-success[hidden] {
    display: none !important;
}
.package-quote-otp,
.package-quote-sign,
.package-quote-summary,
.package-quote-pay,
.package-quote-success {
    display: block;
    margin-top: 0.5rem;
}
.package-quote-summary__intro,
.package-quote-summary__meta {
    width: 100%;
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #6b7280;
}
.package-quote-summary__lines {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    width: 100%;
    border-top: 1px solid #e5e7eb;
}
.package-quote-summary__lines li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #6b7280;
}
.package-quote-summary__total {
    width: 100%;
    margin: 0 0 0.85rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    color: #111;
}
.package-quote-summary__link {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.92rem;
    color: #0071e3;
    text-decoration: underline;
}
.package-quote-summary__link[hidden] {
    display: none !important;
}
.package-quote-otp__intro {
    width: 100%;
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #374151;
}
.package-quote-otp__intro[hidden] {
    display: none !important;
}
.package-quote-otp__resend-link {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0;
    border: none;
    background: none;
    color: #0071e3;
    font: inherit;
    font-size: 0.92rem;
    text-decoration: underline;
    cursor: pointer;
}
.package-quote-otp__resend-link:disabled,
.package-quote-otp__resend-link.is-disabled,
.package-quote-otp__resend-link[aria-disabled="true"] {
    opacity: 0.55;
    cursor: default;
    text-decoration: none;
    pointer-events: none;
}
.package-quote-summary__coupon-note {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.88rem;
    color: #047857;
    font-weight: 500;
}
.package-quote-summary__coupon-note span {
    display: none;
}
.pq-otp-boxes {
    display: flex;
    gap: 0.45rem;
    justify-content: space-between;
    margin: 0 0 0.85rem;
    width: 100%;
}
.pq-otp-box {
    flex: 1 1 0;
    min-width: 0;
    max-width: 3rem;
    height: 2.85rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
}
.pq-otp-box:focus {
    outline: none;
    border-color: var(--primary-color, #0071e3);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}
#pq_otp {
    display: none;
}
.package-quote-sign__amount {
    margin: 0.5rem 0 0.85rem;
    font-weight: 600;
    color: #111;
}
.package-quote-sign__pad {
    position: relative;
    width: 100%;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}
.package-quote-sign__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: #c0c4cc;
    font-size: 1.05rem;
    font-weight: 500;
    z-index: 1;
}
.package-quote-sign__placeholder[hidden] {
    display: none !important;
}
.package-quote-sign__canvas {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 180px;
    touch-action: none;
    cursor: crosshair;
    background: transparent;
}
.package-quote-sign__tools {
    margin: 0.5rem 0 0.5rem;
}
.package-quote-sign__meta {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0.55rem 0.65rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #6b7280;
}
.package-quote-sign__meta li {
    margin: 0.15rem 0;
}
.package-quote-sign__terms {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    line-height: 1.45;
}
.package-quote-sign__terms a {
    color: inherit;
    text-decoration: underline;
}
.package-quote-pay .package-quote-form__actions,
.package-quote-sign .package-quote-form__actions,
.package-quote-otp .package-quote-form__actions,
.package-quote-summary .package-quote-form__actions,
.package-quote-success .package-quote-form__actions {
    width: 100%;
}
.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}
.package-quote-modal--otp .package-quote-modal__dialog,
.fd-nurture-otp-modal .package-quote-modal__dialog {
    width: min(380px, 100%);
    max-width: 380px;
    padding: 1.1rem 1.15rem 1rem;
}
.package-quote-modal--otp h2,
.fd-nurture-otp-modal h2 {
    font-size: 1.2rem;
    margin: 0 0 0.45rem;
}
.package-quote-modal--otp .package-quote-otp__intro,
.fd-nurture-otp-modal .package-quote-otp__intro {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: #6b7280;
}
.package-quote-modal--otp .pq-otp-boxes,
.fd-nurture-otp-modal .pq-otp-boxes {
    justify-content: center;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
}
.package-quote-modal--otp .pq-otp-box,
.fd-nurture-otp-modal .pq-otp-box {
    flex: 0 0 2.55rem;
    width: 2.55rem;
    max-width: 2.55rem;
    height: 2.7rem;
    font-size: 1.15rem;
}
.package-quote-modal--otp .package-quote-form__actions,
.fd-nurture-otp-modal .package-quote-form__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    margin-top: 0.35rem;
}
.package-quote-modal--otp .package-quote-otp__resend-link,
.fd-nurture-otp-modal .package-quote-otp__resend-link {
    text-align: center;
    margin-top: 0;
}
@media (max-width: 640px) {
    .package-quote-modal--otp .package-quote-modal__dialog,
    .fd-nurture-otp-modal .package-quote-modal__dialog {
        width: 100%;
        max-width: 100%;
    }
}

.package-gst {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #666666;
}

.package-features {
    flex: 1;
    margin-bottom: 0;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features ul li {
    position: relative;
    padding: 0 0 0.65rem 1.5rem;
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.5;
    border-bottom: none;
}

.package-features ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.95rem;
    background: none;
}

.package-features ul li.is-excluded {
    color: #475569;
}

.package-features ul li.is-excluded::before {
    content: '\2715';
    color: #e11d48;
}

.package-feature-link {
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.package-feature-link:hover,
.package-feature-link:focus-visible {
    color: var(--primary-color, #0071e3);
}

.package-included {
    margin: 0.35rem 0 0;
    border-top: 1px solid rgba(0, 113, 227, 0.16);
    padding-top: 0.35rem;
}

.package-included__toggle {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    cursor: pointer;
    font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0;
    line-height: 1.5;
    color: #1e293b;
    padding: 0.65rem 0 0.65rem 1.5rem;
    user-select: none;
}

.package-included__toggle span {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit;
}

.package-included__toggle::-webkit-details-marker {
    display: none;
}

.package-included__toggle::marker {
    content: '';
}

.package-included__chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.package-included[open] .package-included__chevron {
    transform: rotate(180deg);
}

.package-included__body {
    padding: 0 0 0.75rem;
}

.package-included__lead {
    font-size: 0.8125rem;
    color: #334155;
    line-height: 1.5;
    margin: 0 0 0.65rem;
}

.package-included__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Beat .service-details ul li (1.125rem) so accordion matches package feature list */
.service-details .package-included__body ul,
.package-card .package-included__body ul {
    margin: 0;
}

.service-details .package-included__body ul li,
.package-card .package-included__body ul li,
.package-included__body li {
    position: relative;
    padding: 0 0 0.65rem 1.5rem;
    font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
    font-size: 0.95rem;
    font-weight: 400;
    color: #1e293b;
    line-height: 1.5;
}

.service-details .package-included__body ul li::before,
.package-card .package-included__body ul li::before,
.package-included__body li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color, #0071e3);
    font-weight: 800;
    font-size: 0.95rem;
}

.service-details .package-included__body ul li.is-excluded,
.package-card .package-included__body ul li.is-excluded,
.package-included__body li.is-excluded {
    color: #475569;
}

.service-details .package-included__body ul li.is-excluded::before,
.package-card .package-included__body ul li.is-excluded::before,
.package-included__body li.is-excluded::before {
    content: '\2715';
    color: #e11d48;
}

.package-cta {
    margin-top: auto;
    padding-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.package-cta .btn {
    flex: 1 1 calc(50% - 0.3rem);
    width: auto;
    min-width: 0;
    text-align: center;
    padding: 0.7rem 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    border-radius: 25px;
}

.package-cta .package-appointment-btn {
    flex: 1 1 100%;
    border-radius: 25px;
}

.package-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
    color: #0f172a;
    border: 2px solid #0f172a;
    box-shadow: none;
    border-radius: 25px;
}

.package-pay-btn:hover,
.package-pay-btn:focus-visible {
    background: #0f172a;
    color: #fff;
    text-decoration: none;
}

.packages-note {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.875rem;
    line-height: 1.6;
}
.packages-note p {
    margin: 0;
    font-size: inherit;
    color: #555555;
    line-height: inherit;
}

.packages-get-pdf-wrap {
    margin: 1.75rem 0 0;
    text-align: center;
}

.packages-get-pdf-link {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: #0071e3;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.packages-get-pdf-link:hover {
    color: #005bb5;
}

.packages-get-pdf-hint {
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    color: #64748b;
}

.ad-partners {
    margin: 2.25rem 0 0.5rem;
    padding: 0;
}

.ad-partners__title {
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 700;
    color: #111;
    text-align: center;
    margin: 0 0 1.25rem;
    padding: 0;
}

.service-details .ad-partners__title::before,
.service-details .ad-partners__title::after {
    display: none !important;
    content: none !important;
}

.ad-partners__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    align-items: stretch;
}

.ad-partners__list li {
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
    height: 100%;
}

.ad-partners__list li::before {
    content: none !important;
    display: none;
}

.ad-partners__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    height: 100%;
    min-height: 112px;
    box-sizing: border-box;
    padding: 0.9rem 0.75rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.ad-partners__item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 113, 227, 0.28);
    box-shadow: 0 12px 28px rgba(0, 113, 227, 0.1);
    text-decoration: none;
    color: inherit;
}

.ad-partners__item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 56px;
    object-fit: contain;
    object-position: center;
}

.ad-partners__item--wide img {
    height: 52px;
    max-width: 148px;
}

.ad-partners__item img[src*="google-partner"] {
    height: 64px;
    max-width: 120px;
}

.ad-partners__item img[src*="linkedin-ads"] {
    height: 88px;
    max-width: 72px;
}

.ad-partners__item img[src*="amazon-ads-advanced"] {
    height: 64px;
    max-width: 148px;
}

.ad-partners__item img[src*="snapchat-ads.webp"] {
    height: 58px;
    max-width: 140px;
}

.ad-partners__name {
    display: none;
}

@media (max-width: 1024px) {
    .ad-partners__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .ad-partners__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }
    .ad-partners__item {
        min-height: 100px;
        padding: 0.75rem 0.55rem;
        border-radius: 14px;
    }
    .ad-partners__item img,
    .ad-partners__item--wide img {
        height: 48px;
        max-width: 120px;
    }
    .ad-partners__item img[src*="linkedin-ads"] {
        height: 72px;
        max-width: 60px;
    }
    .ad-partners__item img[src*="google-partner"] {
        height: 56px;
        max-width: 100px;
    }
}

/* Get PDF modal — polished appointment-style popup */
.package-pdf-modal__dialog {
    width: min(520px, 100%);
    max-height: min(90vh, 820px);
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.package-pdf-modal__close {
    top: 0.85rem;
    right: 0.9rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.package-pdf-modal__close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.package-pdf-modal__header {
    padding: 1.5rem 1.5rem 1rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid #eef2f7;
}

.package-pdf-modal__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0071e3;
}

.package-pdf-modal__header h2 {
    margin: 0 0 0.45rem;
    font-size: 1.35rem;
    line-height: 1.25;
    color: #0f172a;
    padding-right: 2rem;
}

.package-pdf-modal__lead {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
    font-weight: 400;
}

.package-pdf-form {
    padding: 1.15rem 1.5rem 1.35rem;
    overflow: auto;
}

.package-pdf-form__stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.package-pdf-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.package-pdf-form .form-group {
    margin: 0;
}

.package-pdf-label {
    display: block !important;
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
}

.package-pdf-form .lead-text-input,
.package-pdf-form .lead-select-input,
.package-pdf-form textarea.lead-text-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font: inherit;
    font-size: 0.92rem;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.package-pdf-form .lead-select-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.25rem;
    cursor: pointer;
}

.package-pdf-form .lead-text-input:focus,
.package-pdf-form .lead-select-input:focus,
.package-pdf-form textarea.lead-text-input:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.package-pdf-form textarea.lead-text-input {
    resize: vertical;
    min-height: 78px;
    line-height: 1.45;
}

.package-pdf-service-select {
    position: relative;
}

.package-pdf-service-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 0.2rem;
}

.package-pdf-service-head .package-pdf-label {
    margin: 0;
}

.package-pdf-pen {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 2px;
    margin: 0;
    cursor: pointer;
    color: #64748b;
    line-height: 0;
    border-radius: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.package-pdf-pen:hover,
.package-pdf-pen:focus-visible,
.package-pdf-pen.is-open {
    color: #0071e3;
    background: transparent;
    outline: none;
    border: 0;
}

.package-pdf-service-summary {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.package-pdf-service-summary[hidden] {
    display: none !important;
}

.package-pdf-service-select[hidden] {
    display: none !important;
}

.package-pdf-service-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 46px;
    padding: 6px 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.package-pdf-service-box:focus-within {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.package-pdf-service-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    min-height: 0;
}

.package-pdf-service-selected:empty {
    display: none;
    margin: 0;
}

.package-pdf-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.28rem 0.4rem 0.28rem 0.65rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0b57d0;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.package-pdf-service-tag span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.package-pdf-service-tag__remove {
    appearance: none;
    border: 0;
    background: transparent;
    color: #2563eb;
    cursor: pointer;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.package-pdf-service-tag__remove:hover {
    background: #dbeafe;
}

.package-pdf-service-search-wrap {
    position: relative;
    flex: 1 1 120px;
    min-width: 110px;
}

.package-pdf-service-search {
    width: 100%;
    flex: 1 1 120px;
    min-width: 110px;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0.35rem 0.2rem !important;
    min-height: 28px;
    height: auto;
    background: transparent !important;
}

.package-pdf-timeslot {
    display: flex;
    align-items: stretch;
    min-height: 46px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
}

.package-pdf-timeslot__icon {
    display: none;
}

.package-pdf-timeslot__slider {
    flex: 1;
    display: flex;
    align-items: stretch;
    gap: 8px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    min-height: 0;
    box-sizing: border-box;
}

.package-pdf-timeslot__slider button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    padding: 10px 6px 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.15;
    min-width: 0;
}

.package-pdf-timeslot__slider button .package-pdf-timeslot__btn-icon {
    display: inline-flex;
    color: #ea580c;
}

.package-pdf-timeslot__slider button[data-pdf-time^="Afternoon"] .package-pdf-timeslot__btn-icon {
    color: #d97706;
}

.package-pdf-timeslot__slider button[data-pdf-time^="Evening"] .package-pdf-timeslot__btn-icon {
    color: #6366f1;
}

.package-pdf-timeslot__slider button strong {
    font-size: 13px;
    font-weight: 700;
    color: inherit;
}

.package-pdf-timeslot__slider button small {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
}

.package-pdf-timeslot__slider button.is-active {
    background: #fff;
    color: #0f172a;
    border-color: #0071e3;
    box-shadow: 0 1px 3px rgba(0, 113, 227, 0.15);
}

.package-pdf-timeslot__slider button.is-active small {
    color: #475569;
}

.package-pdf-service-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 30;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    max-height: 12.5rem;
    overflow-y: auto;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.package-pdf-service-list[hidden] {
    display: none !important;
}

.package-pdf-service-option {
    display: block;
    width: 100%;
    text-align: left;
    appearance: none;
    border: 0;
    background: transparent;
    color: #0f172a;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.35;
}

.package-pdf-service-option:hover,
.package-pdf-service-option.is-active {
    background: #f1f5f9;
}

.package-pdf-service-option.is-selected {
    color: #0b57d0;
    background: #eff6ff;
}

.package-pdf-service-option.is-selected::after {
    content: ' ✓';
    font-weight: 700;
}

.package-pdf-service-empty {
    padding: 0.7rem 0.75rem;
    color: #64748b;
    font-size: 0.85rem;
}

.package-pdf-service-chips {
    display: none;
}

.package-pdf-chip {
    display: none;
}

.package-pdf-hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: #64748b;
}

.package-pdf-hint[hidden] {
    display: none !important;
}

.package-pdf-hint.is-error,
small.package-pdf-hint[data-pdf-service-error]:not([hidden]) {
    color: #dc2626;
}

.package-pdf-form__actions {
    margin-top: 1.1rem;
}

.package-pdf-form__actions .btn-primary {
    width: 100%;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-weight: 700;
}

.package-pdf-success {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.package-pdf-success__icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.85rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
}

.package-pdf-success .btn {
    width: 100%;
    margin-top: 0.55rem;
    border-radius: 10px;
}

.package-pdf-modal .package-quote-phone .iti input.phone-number-input,
.package-pdf-modal .package-quote-phone .iti input.iti__tel-input {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
}

@media (max-width: 560px) {
    .package-pdf-form__row {
        grid-template-columns: 1fr;
    }

    .package-pdf-modal__header,
    .package-pdf-form {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .package-pdf-service-list {
        max-height: 10rem;
    }
}

.package-pdf-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #64748b;
}

.package-pdf-form .lead-field-label {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
}

.package-pdf-form select[multiple] {
    min-height: 7.5rem;
    padding: 0.5rem;
}

.package-pdf-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    font: inherit;
    resize: vertical;
    min-height: 72px;
}

/* Website Showcase Section */
.website-showcase-section {
    margin-top: 4rem;
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.website-showcase-section h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
}

.showcase-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 113, 227, 0.15);
    border-color: var(--primary-color);
}

.showcase-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
}

.showcase-image picture,
.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.1);
}

.showcase-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.showcase-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.showcase-content p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 968px) {
    .website-showcase-section {
        padding: 3rem 0;
    }
    
    .website-showcase-section h2 {
        font-size: 1.6rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .showcase-image {
        height: 220px;
    }
    
    .showcase-content {
        padding: 1.5rem;
    }
    
    .showcase-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .website-showcase-section h2 {
        font-size: 1.75rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .showcase-image {
        height: 200px;
    }
    
    .showcase-content {
        padding: 1.25rem;
    }
}

.related-services {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.related-services h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.related-services > p {
    font-size: 1.125rem;
    color: #333333;
    margin-bottom: 1.5rem;
}

.related-services ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.related-services ul li {
    padding: 0;
}

.related-services ul li::before {
    display: none;
}

.related-services ul li a {
    display: block;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-radius: 10px;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.related-services ul li a:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.35);
    border-color: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.benefit-item:hover {
    transform: translateX(8px);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.12);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 10px;
    color: var(--primary-color);
    transition: all 0.3s;
}

.benefit-item:hover .benefit-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.benefit-content p {
    font-size: 1rem;
    color: #555555;
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
}

.tech-platforms {
    margin: 2.75rem 0 3rem;
    padding: 2.5rem 0 0.5rem;
    text-align: center;
}

.tech-platforms__title {
    text-align: center;
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    color: #1d1d1f;
}

.tech-platforms__intro {
    max-width: 42rem;
    margin: 0 auto 1.75rem;
    color: #555555;
    font-size: 1rem;
    line-height: 1.7;
}

.tech-platforms__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.75rem;
    margin: 0 auto 2rem;
    padding: 0 0 0.15rem;
    border-bottom: 1px solid #e8e8ed;
    max-width: 52rem;
}

.tech-platforms__tab {
    appearance: none;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    padding: 0.85rem 0.15rem;
    font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d1d1f;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.tech-platforms__tab:hover {
    color: var(--primary-color, #0071e3);
}

.tech-platforms__tab.is-active {
    color: #1d1d1f;
    border-bottom-color: #1d1d1f;
}

.tech-platforms__tab:focus-visible {
    outline: 2px solid var(--primary-color, #0071e3);
    outline-offset: 3px;
    border-radius: 2px;
}

.tech-platforms__panels {
    min-height: 9.5rem;
}

.tech-platforms__panel[hidden] {
    display: none;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.tech-stack--platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem 2.5rem;
    margin: 0.5rem auto 0;
    max-width: 52rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem 0.65rem 0.85rem;
    background: #ffffff;
    border-radius: 16px;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.8rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid #e8eef5;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    animation: fadeInUp 0.4s ease-out backwards;
}

.tech-stack--platforms .tech-item {
    min-width: 5.5rem;
    padding: 0.35rem 0.5rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-weight: 500;
    font-size: 0.9rem;
    color: #1d1d1f;
    animation: techPlatformFade 0.35s ease both;
}

.tech-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.tech-stack--platforms .tech-item img {
    width: 52px;
    height: 52px;
    transition: transform 0.25s ease;
}

.tech-item:nth-child(1) { animation-delay: 0.05s; }
.tech-item:nth-child(2) { animation-delay: 0.1s; }
.tech-item:nth-child(3) { animation-delay: 0.15s; }
.tech-item:nth-child(4) { animation-delay: 0.2s; }
.tech-item:nth-child(5) { animation-delay: 0.25s; }
.tech-item:nth-child(6) { animation-delay: 0.3s; }
.tech-item:nth-child(7) { animation-delay: 0.35s; }
.tech-item:nth-child(8) { animation-delay: 0.4s; }
.tech-item:nth-child(9) { animation-delay: 0.45s; }

.tech-item:hover {
    background: #ffffff;
    color: #0f172a;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 113, 227, 0.14);
    border-color: rgba(0, 113, 227, 0.35);
}

.tech-stack--platforms .tech-item:hover {
    background: transparent;
    box-shadow: none;
    border-color: transparent;
    transform: none;
}

.tech-stack--platforms .tech-item:hover img {
    transform: translateY(-4px);
}

@keyframes techPlatformFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .tech-platforms {
        margin: 2rem 0 2.25rem;
        padding-top: 1.5rem;
    }

    .tech-platforms__tabs {
        gap: 0.15rem 1rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0;
        max-width: none;
    }

    .tech-platforms__tabs::-webkit-scrollbar {
        display: none;
    }

    .tech-platforms__tab {
        flex: 0 0 auto;
        font-size: 0.72rem;
        padding: 0.75rem 0.1rem;
    }

    .tech-stack--platforms {
        gap: 1.35rem 1.5rem;
    }

    .tech-stack--platforms .tech-item {
        min-width: 4.5rem;
        font-size: 0.8rem;
    }

    .tech-stack--platforms .tech-item img {
        width: 44px;
        height: 44px;
    }
}

.process-timeline-section {
    margin: 2.5rem 0 3rem;
}

.process-timeline-section > h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.process-timeline {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.35rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: calc(0.35rem + 1.55rem);
    left: 6%;
    right: 6%;
    height: 3px;
    background: linear-gradient(90deg, #0071e3 0%, #93c5fd 50%, #0071e3 100%);
    border-radius: 999px;
    z-index: 0;
}

.process-timeline__item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.25rem;
    flex: 1 1 0;
    min-width: 0;
}

.process-timeline__node {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}

.process-timeline__circle {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0071e3 0%, #005bb5 100%);
    color: #fff;
    font-family: var(--font-heading, inherit);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 0 0 6px #fff, 0 0 0 8px rgba(0, 113, 227, 0.18), 0 10px 22px rgba(0, 113, 227, 0.28);
    line-height: 1;
}

.process-timeline__content {
    min-width: 0;
}

.process-timeline__title,
.service-details .process-timeline__title {
    font-family: var(--font-heading, inherit);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
}

.service-details .process-timeline__title::before {
    display: none !important;
    content: none !important;
}

.process-timeline__text {
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #64748b;
}

/* Fallback for older process cards if any page still uses them */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.process-step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: none !important;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 113, 227, 0.15);
    border-color: var(--primary-color);
    background: #ffffff;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
    transition: transform 0.3s;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.process-step h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    margin-top: 0;
}

.process-step p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.75;
    margin: 0;
    font-weight: 400;
}

.process-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 2.5rem;
}

.process-photo-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.process-photo-card__media {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef3f8;
}

.process-photo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.process-photo-card__body {
    padding: 1.25rem 1.4rem 1.5rem;
}

.process-photo-card__body h4 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: #1d1d1f;
}

.process-photo-card__body p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #555;
}

.website-expertise {
    margin: 2rem 0 1.5rem;
}

.security-trust {
    margin: 2.5rem 0 3rem;
    padding: 0;
}

.security-trust__inner {
    background: linear-gradient(180deg, #f5f8fc 0%, #eef4fb 100%);
    border: 1px solid #e2eaf3;
    border-radius: 20px;
    padding: 2.5rem 1.75rem 2rem;
}

.security-trust__head {
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 40rem;
}

.service-details .security-trust__head h2,
.security-trust__head h2 {
    margin: 0 0 0.85rem;
    padding: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.service-details .security-trust__head h2::before,
.security-trust__head h2::before {
    content: none !important;
    display: none !important;
}

.service-details .security-trust__head h2::after,
.security-trust__head h2::after {
    content: '';
    display: block;
    width: 3rem;
    height: 4px;
    margin: 0.75rem auto 0;
    background: var(--primary-color, #0071e3);
    border-radius: 2px;
    position: static;
    left: auto;
    top: auto;
    transform: none;
}

.security-trust__head p {
    margin: 0;
    color: #556070;
    font-size: 1rem;
    line-height: 1.7;
}

.security-trust__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: stretch;
}

.security-trust__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e5edf6;
    border-radius: 16px;
    padding: 1.4rem 1.35rem 1.3rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.045);
    text-align: left;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.security-trust__card:hover {
    border-color: rgba(0, 113, 227, 0.35);
    box-shadow: 0 14px 28px rgba(0, 113, 227, 0.1);
    transform: translateY(-3px);
}

.security-trust__card-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.security-trust__icon {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 12px;
    background: #eaf3ff;
    color: var(--primary-color, #0071e3);
}

.security-trust__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.service-details .security-trust__title,
.security-trust__title {
    margin: 0;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    position: static;
}

.service-details .security-trust__title::before,
.service-details .security-trust__title::after,
.security-trust__title::before,
.security-trust__title::after {
    content: none !important;
    display: none !important;
}

.security-trust__card > p {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #5b6573;
    flex: 1 1 auto;
}

.security-trust__card ul {
    list-style: none;
    margin: 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid #eef2f7;
}

.security-trust__card li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.4rem 0 0.4rem 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #334155;
    font-weight: 500;
}

.security-trust__card li::before {
    content: '';
    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;
    margin-top: 0.12rem;
    border-radius: 50%;
    background-color: #e8f2ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5' stroke='%230071e3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.75rem 0.75rem;
    position: static;
    left: auto;
    top: auto;
}

@media (max-width: 900px) {
    .security-trust__inner {
        padding: 2rem 1.25rem 1.65rem;
    }
}

@media (max-width: 768px) {
    .security-trust {
        margin: 1.75rem 0 2rem;
    }

    .security-trust__inner {
        border-radius: 16px;
        padding: 1.5rem 1rem 1.25rem;
    }

    .security-trust__head {
        text-align: center;
        margin: 0 auto 1.35rem;
        max-width: none;
    }

    .service-details .security-trust__head h2,
    .security-trust__head h2 {
        font-size: 1.3rem;
    }

    .security-trust__head p {
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .security-trust__grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .security-trust__card {
        padding: 1.15rem 1.05rem 1.05rem;
        border-radius: 14px;
    }

    .security-trust__card:hover {
        transform: none;
    }

    .security-trust__card-top {
        gap: 0.7rem;
        margin-bottom: 0.7rem;
    }

    .security-trust__icon {
        width: 2.5rem;
        height: 2.5rem;
        flex-basis: 2.5rem;
        border-radius: 10px;
    }

    .service-details .security-trust__title,
    .security-trust__title {
        font-size: 1rem;
    }

    .security-trust__card > p {
        font-size: 0.9rem;
        margin-bottom: 0.85rem;
    }

    .security-trust__card li {
        font-size: 0.86rem;
    }
}

@media (min-width: 1100px) {
    .security-trust__inner {
        padding: 2.75rem 2.25rem 2.25rem;
    }

    .security-trust__grid {
        gap: 1.25rem;
    }
}

.website-expertise h2 {
    margin-bottom: 0.5rem;
}

.website-expertise > p {
    margin: 0 0 1rem;
    max-width: 40rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #555;
}

.website-expertise .expertise-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 0.15rem;
}

.website-expertise .expertise-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0;
    padding: 0.4rem 0;
    padding-left: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #222;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.website-expertise .expertise-highlights li::before {
    content: '\2713';
    position: static;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin-top: 0.05rem;
    border-radius: 0;
    background: none;
    color: var(--primary-color, #0071e3);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .website-expertise {
        margin: 1.5rem 0 1.25rem;
    }
    .website-expertise .expertise-highlights {
        grid-template-columns: 1fr 1fr;
        column-gap: 0.85rem;
        row-gap: 0;
    }
    .website-expertise .expertise-highlights li {
        padding: 0.38rem 0;
        font-size: 0.9rem;
        font-weight: 500;
    }
}

@media (max-width: 380px) {
    .website-expertise .expertise-highlights {
        grid-template-columns: 1fr;
    }
}

.cities-we-serve > h2::after {
    content: "";
    display: block;
    width: 3.25rem;
    height: 4px;
    margin-top: 0.5rem;
    background: var(--primary-color, #0071e3);
    border-radius: 2px;
}

.service-details .cities-grid ul {
    margin: 0;
}

.service-details .cities-grid li {
    padding: 0.35rem 0 0.35rem 1.75rem;
    font-size: 0.95rem;
}

.service-details .cities-grid a,
.cities-grid a {
    white-space: nowrap;
    font-size: 0.85rem;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .cities-grid {
        grid-template-columns: 1fr !important;
    }

    .service-details .cities-grid a,
    .cities-grid a {
        white-space: normal;
    }
}

.page-last-updated {
    padding: 1.25rem 0 0.25rem;
    background: #fff;
}

.page-last-updated p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

@media (max-width: 767px) {
    .process-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .process-photo-card__body {
        padding: 0.85rem 0.8rem 1rem;
    }
    .process-photo-card__body h4 {
        font-size: 0.95rem;
    }
    .process-photo-card__body p {
        font-size: 0.8rem;
    }
    }
}

@media (max-width: 1100px) {
    .process-timeline {
        flex-wrap: wrap;
        row-gap: 1.75rem;
    }

    .process-timeline::before {
        display: none;
    }

    .process-timeline__item {
        flex: 1 1 calc(25% - 0.5rem);
        max-width: calc(25% - 0.35rem);
    }
}

@media (max-width: 768px) {
    .process-timeline-section > h2 {
        text-align: left;
        margin-bottom: 1.5rem;
    }

    .process-timeline {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 0.25rem;
        flex-wrap: nowrap;
    }

    .process-timeline::before {
        display: block;
        top: 1.55rem;
        bottom: 1.55rem;
        left: 1.55rem;
        right: auto;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, #0071e3 0%, #93c5fd 50%, #0071e3 100%);
    }

    .process-timeline__item {
        display: grid;
        grid-template-columns: 3.1rem minmax(0, 1fr);
        gap: 0.85rem 1rem;
        align-items: start;
        text-align: left;
        padding: 0 0 1.35rem;
        flex: none;
        max-width: none;
    }

    .process-timeline__item:last-child {
        padding-bottom: 0;
    }

    .process-timeline__node {
        margin-bottom: 0;
    }

    .process-timeline__title,
    .service-details .process-timeline__title {
        font-size: 0.95rem;
        padding-top: 0.55rem;
    }

    .process-timeline__text {
        font-size: 0.86rem;
    }
}

.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    color: #ffffff;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 12s ease-in-out infinite reverse;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, background 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #ffffff;
    transition: transform 0.3s;
}

.stat-box:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.section-header-center {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header-center h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.section-header-center p {
    font-size: 1.125rem;
    color: #555555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Client Logos Slider — same speed as footer Featured on (JS 0.7px/frame) */
.client-logos-slider {
    max-width: 1200px;
    margin: 0 auto 3rem;
    position: relative;
    padding: 1.25rem 0;
}

.client-logos-slider__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}

.client-logos-slider__viewport::-webkit-scrollbar {
    display: none;
}

.client-logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 2.25rem;
    animation: none;
    will-change: auto;
}

.client-logos-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2.25rem;
    margin: 0;
}

.client-logo-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.95;
}

.client-logo-item:hover {
    transform: translateY(-1px);
    opacity: 1;
}

.client-logo-item img {
    display: block;
    width: auto !important;
    height: 48px !important;
    max-width: 180px !important;
    max-height: none !important;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.client-logo-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Testimonials Slider */
.testimonials-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    padding: 12px 0;
    margin: -12px 0;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonials-track .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: 0;
    max-width: calc(50% - 1rem);
}

/* Mobile optimizations for testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .section-header-center {
        margin-bottom: 2rem;
    }
    
    .section-header-center h2 {
        font-size: clamp(1.35rem, 4vw, 1.75rem);
        margin-bottom: 0.75rem;
    }
    
    .section-header-center p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .testimonials-track {
        gap: 1rem;
    }
    
    .testimonials-track .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    .testimonial-rating {
        margin-bottom: 1rem;
    }
    
    .testimonial-rating .star {
        font-size: 1.1rem;
    }
    
    .testimonial-author {
        padding-top: 1rem;
        gap: 0.75rem;
    }
    
    .author-avatar {
        width: 48px;
        height: 48px;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .author-info p {
        font-size: 0.875rem;
    }
    
    .testimonial-card::before {
        font-size: 4rem;
        top: 0.5rem;
        right: 1rem;
    }
    
    .slider-btn {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-width: 44px;
        min-height: 44px;
    }
    
    .slider-prev {
        left: 8px;
    }
    
    .slider-next {
        right: 8px;
    }
    
    .testimonials-slider-wrapper {
        padding: 0 0.5rem;
    }
    
    .testimonials-slider {
        padding: 8px 0;
        margin: -8px 0;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 2.5rem 0;
    }
    
    .section-header-center {
        margin-bottom: 1.5rem;
    }
    
    .section-header-center h2 {
        font-size: clamp(1.3rem, 5vw, 1.7rem);
    }
    
    .section-header-center p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-rating .star {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 44px;
        height: 44px;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .author-info p {
        font-size: 0.8rem;
    }
    
    .testimonial-card::before {
        font-size: 3.5rem;
        top: 0.25rem;
        right: 0.75rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-width: 40px;
        min-height: 40px;
    }
    
    .slider-prev {
        left: 4px;
    }
    
    .slider-next {
        right: 4px;
    }
    
    .testimonials-slider-wrapper {
        padding: 0 0.25rem;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-prev {
    left: -24px;
}

.slider-next {
    right: -24px;
}


.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.1;
    line-height: 1;
    font-family: Georgia, serif;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 113, 227, 0.15);
    z-index: 5;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating .star {
    color: #FFB800;
    font-size: 1.25rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.125rem;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-avatar svg {
    width: 32px;
    height: 32px;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
}

/* Case Studies Section */
.case-studies-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #ffffff 100%);
    position: relative;
}

.case-studies-subfilters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 0 1.75rem;
}

.case-studies-subfilter {
    appearance: none;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.case-studies-subfilter:hover {
    border-color: rgba(0, 113, 227, 0.35);
    color: #0071e3;
}

.case-studies-subfilter.is-active {
    background: #0071e3;
    border-color: #0071e3;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 113, 227, 0.18);
}

.case-studies-subfilter-empty {
    text-align: center;
    color: #666;
    margin: 0.5rem 0 0;
    padding: 1.5rem 1rem;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-studies-grid--blog-style,
.related-case-studies .case-studies-grid,
.case-studies-results .case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-blog-card.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: none;
}

.case-study-blog-card.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.case-study-blog-card .blog-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f7;
    position: relative;
    height: auto;
}

.case-study-blog-card .blog-image picture,
.case-study-blog-card .blog-image a,
.case-study-blog-card .blog-image img {
    position: static;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 0;
}

.case-study-blog-card .blog-image::before {
    display: none;
}

.case-study-blog-card .blog-content {
    padding: 1.25rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.case-study-blog-card .blog-card-meta {
    display: none;
}

.case-study-blog-card .blog-title {
    margin: 0;
    font-size: 1.09rem !important;
    font-weight: 600;
    line-height: 1.4;
}

.case-study-blog-card .blog-title a {
    color: #1d1d1f;
    text-decoration: none;
}

.case-study-blog-card .blog-title a:hover {
    color: var(--primary-color);
}

.case-study-card-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.85rem;
}

.case-study-card-actions .case-study-card-btn,
a.case-study-card-btn.btn,
.case-study-blog-card a.btn.case-study-card-btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    font-size: 0.8125rem !important;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.4rem 0.55rem !important;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: none !important;
    transform: none !important;
}

.case-study-card-actions .case-study-card-btn:hover,
a.case-study-card-btn.btn:hover,
.case-study-blog-card a.btn.case-study-card-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

.case-study-card-actions .case-study-card-btn.btn-outline {
    border-width: 1.5px;
    box-shadow: none !important;
}

@media (max-width: 640px) {
    .case-study-blog-card .blog-title {
        font-size: 1.09rem;
    }

    .case-study-card-actions .case-study-card-btn,
    a.case-study-card-btn.btn,
    .case-study-blog-card a.btn.case-study-card-btn {
        font-size: 0.75rem !important;
        padding: 0.38rem 0.45rem !important;
    }
}

.case-study-author-meta {
    margin: 1rem 0 1.25rem;
}

.case-study-author-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    background: #f8fafc;
}

.case-study-author-date {
    margin: 2rem 0 0.35rem;
    font-size: 0.875rem;
    color: #64748b;
}

.case-study-author-date time {
    font-weight: 500;
}

.case-study-author-box .author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.case-study-author-box h2 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.case-study-author-box__name,
.case-study-author-box .blog-author-box__name {
    margin: 0 0 0.5rem;
    font-weight: 600;
}

@media (max-width: 992px) {
    .case-studies-grid--blog-style,
    .related-case-studies .case-studies-grid,
    .case-studies-results .case-studies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .case-studies-grid--blog-style,
    .related-case-studies .case-studies-grid,
    .case-studies-results .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

.case-study-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

a.case-study-card:hover {
    text-decoration: none;
    color: inherit;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 113, 227, 0.2);
    border-color: var(--primary-color);
}

.case-study-image {
    width: 100%;
    height: 200px;
    background: #f5f5f7;
    position: relative;
    overflow: hidden;
}

.case-study-image picture,
.case-study-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: #f5f5f7;
    min-height: 200px;
    opacity: 1;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
    opacity: 0.3;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.case-study-placeholder {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.case-study-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-study-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.case-study-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    margin-top: 0;
}

.case-studies-results .case-study-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
}

.case-study-content > p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex: 1;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

@media (max-width: 768px) {
    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.case-study-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #666;
}

.case-study-client {
    font-weight: 600;
}

.case-study-date {
    color: #999;
}

.case-stat {
    text-align: center;
}

.case-stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.case-stat-label {
    font-size: 0.875rem;
    color: #666666;
    font-weight: 500;
}

/* Case Studies Listing Page Styles */
.case-studies-listing {
    padding: 3rem 0 5rem;
    background: #ffffff;
    overflow-x: clip;
}

.case-studies-filters {
    margin-bottom: 3rem;
}

.case-studies-filter {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.case-studies-tags {
    margin-bottom: 2rem;
}

.filter-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
    margin-bottom: 0.75rem;
    display: block;
}

.service-filter-select {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
    font-family: inherit;
}

.service-filter-select:hover {
    border-color: var(--primary-color);
}

.service-filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

/* Tag Filters */
.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.tag-filter {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #f5f5f7;
    color: #000000;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tag-filter:hover {
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 113, 227, 0.2);
}

.tag-filter.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    font-weight: 600;
}

/* Case Study Tags in Cards */
.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.case-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.case-tag:hover {
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.no-case-studies {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
    grid-column: 1 / -1;
}

.no-case-studies p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Case Studies Portfolio Layout */
.case-studies-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.case-studies-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.case-studies-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.case-studies-sidebar {
    display: none;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1rem;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.case-studies-sidebar.is-open {
    display: flex;
}

.case-studies-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.case-studies-sidebar__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.case-studies-sidebar__clear {
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.case-studies-search__field {
    display: block;
    position: relative;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    background: #ffffff;
}

.case-studies-search__field:focus-within {
    border-color: var(--primary-color);
    outline: 2px solid rgba(0, 113, 227, 0.2);
}

.case-studies-search__icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.case-studies-search__input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.65rem 0.85rem 0.65rem 2.35rem;
    font-family: inherit;
    font-size: 0.9rem;
    border-radius: 999px;
}

.case-studies-search__input:focus {
    outline: none;
}

.case-studies-filter-group {
    border: 0;
    margin: 0;
    padding: 0;
}

.case-studies-filter-group__legend {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    padding: 0;
}

.case-studies-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 220px;
    overflow-y: auto;
}

.case-studies-filter-chip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #333;
    cursor: pointer;
}

.case-studies-filter-chip input {
    margin-top: 0.15rem;
}

.case-studies-service-combobox__field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    min-height: 42px;
    padding: 0.35rem 0.5rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #ffffff;
}

.case-studies-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.case-studies-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary-color);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.case-studies-service-tag__remove {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}

.case-studies-service-combobox__input {
    flex: 1;
    min-width: 120px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.875rem;
    padding: 0.25rem;
}

.case-studies-service-combobox__input:focus {
    outline: none;
}

.case-studies-service-dropdown {
    margin-top: 0.35rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.case-studies-service-option,
.case-studies-service-dropdown__empty {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: #ffffff;
    padding: 0.65rem 0.85rem;
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
}

.case-studies-service-option:hover {
    background: #f5f5f7;
}

.case-studies-service-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.case-studies-service-quick__btn {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-family: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
}

.case-studies-service-quick__btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.case-studies-results {
    min-width: 0;
}

.case-studies-results .case-studies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin: 0;
}

.case-studies-results-count {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #666;
}

.case-studies-status {
    text-align: center;
    color: #666;
    margin-top: 1.5rem;
}

.case-studies-grid.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#cs-scroll-sentinel {
    height: 1px;
    width: 100%;
}

@media (min-width: 900px) {
    .case-studies-filter-toggle {
        display: none;
    }

    .case-studies-layout {
        grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
        gap: 2rem;
    }

    .case-studies-sidebar {
        display: flex;
        position: sticky;
        top: calc(6rem + env(safe-area-inset-top, 0px));
    }
}

@media (max-width: 899px) {
    .case-studies-results .case-studies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .case-studies-results .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-filter-select {
        width: 100%;
        min-width: auto;
    }
    
    .tag-filters {
        gap: 0.5rem;
    }
    
    .tag-filter {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
    }
}

/* Case Study Detail Page Styles */
.case-study-detail {
    padding: 3rem 0 5rem;
    background: #ffffff;
}

.case-study-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.case-study-service-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.case-study-service-badge a {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.case-study-service-badge a:hover {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 113, 227, 0.2);
}

.case-study-header h1 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.case-study-meta-header {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: #666666;
    font-size: 1rem;
}

.case-study-client-info,
.case-study-date-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-study-client-info strong,
.case-study-date-info strong {
    color: #000000;
    font-weight: 600;
}

.case-study-featured-image {
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.case-study-featured-image img,
.case-study-featured-image__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 1;
}

.case-study-content-wrapper {
    max-width: 100%;
    margin: 0;
}

.case-study-main-content {
    line-height: 1.8;
}

.case-study-description {
    margin-bottom: 3rem;
}

.case-study-description h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
}

.case-study-description p {
    font-size: 1.125rem;
    color: #333333;
    line-height: 1.8;
}

.seo-market-reference {
    margin: 2.5rem 0;
    padding: 2rem;
    background: #f8f9fb;
    border-radius: 12px;
    border: 1px solid #e8eaef;
}

.seo-market-reference h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #111;
}

.seo-market-reference__figure {
    margin: 1rem 0 1.5rem;
}

.seo-market-reference__img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #dde1e8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.seo-market-reference__figure figcaption {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

.seo-market-reference__table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.seo-market-reference__table th,
.seo-market-reference__table td {
    padding: 0.75rem 1rem;
    border: 1px solid #e8eaef;
    text-align: left;
    vertical-align: top;
}

.seo-market-reference__table th {
    background: #eef1f6;
    font-weight: 600;
}

.seo-market-reference__figure--serp {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.seo-market-reference__img--serp {
    background: #fff;
}

.case-study-results {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.case-study-results h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 2rem;
    text-align: center;
}

.case-study-stats-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.case-stat-detailed {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.case-stat-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 113, 227, 0.15);
}

.case-stat-number-large {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.case-stat-label-large {
    font-size: 1rem;
    color: #666666;
    font-weight: 500;
}

.case-study-tags-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.case-study-tags-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
}

.related-case-studies {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid #f0f0f0;
}

.related-case-studies .section-header-center {
    margin-bottom: 3rem;
}

.related-case-studies .section-header-center h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.related-case-studies .section-header-center p {
    font-size: 1.125rem;
    color: #333333;
}

@media (max-width: 768px) {
    .case-study-header h1 {
        font-size: 1.6rem;
    }
    
    .case-study-meta-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .case-study-stats-detailed {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-stat-number-large {
        font-size: 1.9rem;
    }
    
    .case-study-description h2,
    .case-study-results h2 {
        font-size: 1.75rem;
    }
    
    .related-case-studies .section-header-center h2 {
        font-size: 1.6rem;
    }
}

.faq-section {
    margin-top: 0;
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.faq-section h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.faq-intro {
    text-align: center;
    font-size: 0.9375rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    align-items: start;
}

.faq-item {
    background: #ffffff;
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e5eaf0;
    transition: border-color 0.2s;
}

.faq-item:hover,
.faq-item[open] {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 0.7rem 0.85rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    transition: background 0.15s, color 0.15s;
    user-select: none;
    line-height: 1.6;
    list-style: none;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
    display: none;
    content: '';
}

.faq-question:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--primary-color);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 0.35rem;
    line-height: 1.2;
}

.faq-item[open] .faq-question,
.faq-item.active .faq-question {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.faq-item[open] .faq-question::after,
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0.85rem 0.75rem;
}

.faq-item:not([open]):not(.active) .faq-answer {
    display: none;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-list {
        grid-template-columns: 1fr;
        max-width: 1200px;
    }

    .faq-section {
        padding: 3rem 0;
    }

    .faq-section h2 {
        font-size: 1.25rem;
    }

    .faq-question {
        font-size: 0.9375rem;
        padding: 0.65rem 0.75rem;
    }
}

/* SEO Practices Section */

@media (max-width: 968px) {
    .service-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lead-form-container {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        background: linear-gradient(180deg, #d9eefe 0%, #b6dcfd 100%);
        border-color: rgba(2, 132, 199, 0.42);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-header-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .service-header-cta .btn {
        width: 100%;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-track .testimonial-card {
        min-width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .testimonials-slider-wrapper {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .slider-prev {
        left: 8px;
    }
    
    .slider-next {
        right: 8px;
    }
    
    .client-logos-slider {
        margin-bottom: 2.5rem;
        padding: 1rem 0;
    }

    .client-logos-slider__viewport {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .client-logos-track,
    .client-logos-list {
        gap: 1.5rem;
    }

    .client-logo-item {
        height: 44px;
    }

    .client-logo-item img {
        height: 36px !important;
        max-width: 140px !important;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.25rem;
    }

    .package-card {
        background: linear-gradient(180deg, #d9eefe 0%, #b6dcfd 100%);
        border-color: rgba(2, 132, 199, 0.42);
    }

    .package-card.package-featured {
        transform: none;
        background: linear-gradient(180deg, #cce8fe 0%, #a6d5fb 100%);
    }

    .package-tabs {
        gap: 0.4rem;
    }

    .package-tabs__btn {
        flex: 1 1 calc(50% - 0.4rem);
        text-align: center;
        font-size: 0.875rem;
        padding: 0.6rem 0.75rem;
    }

    .package-card.package-featured {
        transform: none;
    }

    .package-card.package-featured:hover {
        transform: translateY(-4px);
    }

    .packages-section h2,
    .packages-section__title {
        font-size: 1.5rem;
    }

    .packages-section__head--split {
        align-items: flex-start;
    }

    .packages-offer-timer {
        margin-left: auto;
    }

    .package-header h3 {
        font-size: 1rem;
    }

    .price-amount {
        font-size: 1.6rem;
    }

    .service-full-width {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .service-blogs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .stat-box {
        padding: 1rem 0.6rem;
    }
    
    .stat-number {
        font-size: 1.45rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-tabs {
        gap: 0.4rem;
    }

    .package-tabs__btn {
        flex: 1 1 auto;
        text-align: center;
        font-size: 0.875rem;
        padding: 0.6rem 0.75rem;
    }
}

/* Service Blogs Section */
.service-blogs-section {
    padding: 5rem 0;
    background: #ffffff;
}

.service-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-blogs-slider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-blogs-slider__viewport {
    flex: 1 1 auto;
    overflow: hidden;
}

.service-blogs-slider__track {
    display: flex;
    gap: 2rem;
    transition: transform 0.35s ease;
    will-change: transform;
}

.service-blogs-slider__slide {
    flex: 0 0 calc((100% - 4rem) / 3);
    min-width: 0;
}

.service-blogs-slider__nav {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.service-blogs-slider__nav:hover:not(:disabled) {
    background: #111;
    color: #fff;
    border-color: #111;
}

.service-blogs-slider__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.service-blogs-slider.is-static .service-blogs-slider__nav {
    visibility: hidden;
}

.service-blogs-section .blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-blogs-section .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-blogs-section .blog-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f7;
}

.service-blogs-section .blog-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f7 0%, #ececf1 100%);
}

.service-blogs-section .blog-image__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #b0b0b5;
}

.service-blogs-section .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-blogs-section .blog-card:hover .blog-image img {
    transform: scale(1.04);
}

.service-blogs-section .blog-content {
    padding: 1.25rem 1.35rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-blogs-section .blog-card-meta {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.5;
}

.service-blogs-section .blog-excerpt {
    display: none;
}

.service-blogs-section .blog-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.service-blogs-section .blog-title a {
    color: #1d1d1f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-blogs-section .blog-title a:hover {
    color: var(--primary-color);
}

.service-blogs-footer {
    text-align: center;
    margin-top: 2.5rem;
}

/* AI / SEO authority blocks */
.service-direct-answer {
    max-width: 820px;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    text-align: left;
}

.service-direct-answer p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #111;
    background: rgba(255, 255, 255, 0.92);
    border-left: 4px solid #0071e3;
    padding: 1rem 1.25rem;
}

.service-freshness {
    position: relative;
    z-index: 1;
    margin: 0 auto 1.5rem;
    max-width: 820px;
    font-size: 0.875rem;
    color: #666;
    text-align: center;
}

.service-freshness-band {
    width: 100%;
    padding: 1.25rem 0 1.5rem;
    background: #f7f9fc;
    border-top: 1px solid #e8eef5;
}

.service-freshness--footer {
    margin: 0 auto;
    max-width: 900px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.service-header-description--secondary {
    font-size: 1.05rem;
    color: #444;
}

.service-trust-stats {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto 2rem;
}

.service-trust-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.service-trust-stat {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 1rem 0.75rem;
    text-align: center;
}

.service-trust-stat__value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.service-trust-stat__label {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.35;
}

.service-quick-answers {
    margin: 0 0 2.75rem;
}

.service-quick-answers > h2 {
    text-align: center;
    margin: 0 0 1.5rem;
}

.service-quick-answers__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.service-quick-answer {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 1.25rem 1.25rem 1.35rem;
    border: 1px solid rgba(0, 113, 227, 0.12);
    border-radius: 16px;
    background:
        linear-gradient(165deg, #ffffff 0%, #f4f8fc 55%, #eef5fb 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-quick-answer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0071e3 0%, #4aa3f5 55%, transparent 100%);
}

.service-quick-answer:hover {
    border-color: rgba(0, 113, 227, 0.28);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 14px 32px rgba(0, 113, 227, 0.1);
    transform: translateY(-2px);
}

.service-quick-answer__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    margin: 0 0 0.85rem;
    border-radius: 10px;
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
    font-family: var(--font-heading, inherit);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    flex-shrink: 0;
}

.service-quick-answer__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    min-width: 0;
}

.service-quick-answer h3 {
    font-family: var(--font-heading, inherit);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.service-quick-answer p {
    margin: 0;
    color: #475569;
    line-height: 1.55;
    font-size: 0.9rem;
}

.service-comparison,
.service-case-study,
.service-proof-media,
.service-author-block {
    margin: 2.5rem 0;
}

.service-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 0;
    -webkit-overflow-scrolling: touch;
}

.service-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    min-width: 520px;
}

.service-data-table th,
.service-data-table td {
    border: 1px solid #e5e5e5;
    padding: 0.75rem 0.9rem;
    text-align: left;
    vertical-align: top;
}

.service-data-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #111;
}

.service-data-table--metrics td:nth-child(3) {
    font-weight: 600;
    color: #0a7a3e;
}

/* What We Build — two-column table (horizontal rules only) */
.service-build-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    margin: 0.5rem 0 2rem;
}

.service-details .service-build-table,
.service-build-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    border: none;
    margin: 0;
    table-layout: fixed;
}

.service-details .service-build-table th,
.service-details .service-build-table td,
.service-build-table th,
.service-build-table td {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.05rem 1.25rem 1.05rem 0;
    text-align: left;
    vertical-align: top;
    background: transparent;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.service-details .service-build-table thead th,
.service-build-table thead th {
    font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0;
    padding-top: 0.35rem;
    padding-bottom: 0.95rem;
}

.service-details .service-build-table tbody th,
.service-build-table tbody th {
    font-family: var(--font-heading, 'Unbounded', system-ui, sans-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: #111111;
    line-height: 1.4;
    width: 38%;
    padding-right: 1.5rem;
}

.service-details .service-build-table tbody td,
.service-build-table tbody td {
    font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: #1d1d1f;
    line-height: 1.55;
}

.service-details p .btn {
    margin: 0.25rem 0 0.5rem;
}

.service-case-study__summary {
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-case-study__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0 1.5rem;
}

.service-case-study__meta div {
    border: 1px solid #ececec;
    padding: 0.85rem 1rem;
    background: #fafafa;
}

.service-case-study__meta dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777;
    margin: 0 0 0.25rem;
}

.service-case-study__meta dd {
    margin: 0;
    font-weight: 600;
    color: #111;
}

.service-proof-media__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.service-proof-figure {
    margin: 1.25rem 0 0;
}

.service-proof-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.service-proof-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.service-author-block__inner {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    border: 1px solid #e8e8e8;
    padding: 1.5rem;
    background: #fafafa;
}

.service-author-block__photo {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

.service-author-block__heading {
    font-size: 1rem;
    margin: 0 0 0.35rem;
    color: #666;
    font-weight: 600;
}

.service-author-block__name {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.service-author-block__role {
    font-weight: 500;
    color: #555;
}

.service-author-block__links {
    margin: 0.75rem 0 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-author-block__links a {
    color: #0071e3;
}

@media (max-width: 900px) {
    .service-trust-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-quick-answers__grid {
        grid-template-columns: 1fr;
    }

    .service-proof-media__grid {
        grid-template-columns: 1fr;
    }

    .service-case-study__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .service-quick-answers__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .service-quick-answer {
        padding: 1.15rem 1.1rem 1.2rem;
    }

    .service-quick-answer h3 {
        font-size: 0.95rem;
    }

    .service-quick-answer p {
        font-size: 0.88rem;
    }
}

@media (max-width: 640px) {
    .service-trust-stats {
        margin-bottom: 1.25rem;
    }

    .service-trust-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .service-trust-stat {
        padding: 0.7rem 0.45rem;
        min-width: 0;
    }

    .service-trust-stat__value {
        font-size: 1.05rem;
        margin-bottom: 0.2rem;
    }

    .service-trust-stat__label {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .service-case-study__meta {
        grid-template-columns: 1fr;
    }

    .service-author-block__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-author-block__links {
        justify-content: center;
    }

    .service-direct-answer {
        text-align: left;
    }
}

@media (max-width: 968px) {
    .service-blogs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-blogs-slider__slide {
        flex: 0 0 calc((100% - 2rem) / 2);
    }

    .service-blogs-slider__track {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .service-blogs-grid {
        grid-template-columns: 1fr;
    }

    .service-blogs-slider {
        gap: 0.4rem;
    }

    .service-blogs-slider__slide {
        flex: 0 0 100%;
    }

    .service-blogs-slider__track {
        gap: 1rem;
    }

    .service-blogs-slider__nav {
        width: 34px;
        height: 34px;
        font-size: 1.35rem;
    }
}

/* Marketing / trust sections */
.service-agency-hook-band {
    width: 100%;
    background: linear-gradient(180deg, #f4f8fd 0%, #eef5ff 55%, #ffffff 100%);
    border-top: 1px solid #e0eaf6;
    border-bottom: 1px solid #e0eaf6;
    padding: 2.75rem 0 2.5rem;
    margin: 0;
}

.service-agency-hook-band .service-agency-hook {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.service-agency-hook-band .service-agency-hook h2 {
    margin-bottom: 0.35rem;
}

.service-agency-hook-band .service-agency-hook > p:not(.service-agency-hook__sub) {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: #444;
}

.service-agency-hook {
    margin: 0 0 2.5rem;
    padding: 1.5rem 1.5rem 1.75rem;
    background: linear-gradient(135deg, #f7fafc 0%, #eef5ff 100%);
    border: 1px solid #e0eaf6;
}

.service-agency-hook__sub {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0071e3;
    margin: 0.35rem 0 0.85rem;
}

.service-agency-hook__outcomes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.service-agency-hook__outcomes li {
    background: #fff;
    border: 1px solid #e5eef8;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

.service-trust-badges {
    margin: 0;
    padding: 2.5rem 0 1.5rem;
    width: 100%;
}

.service-trust-band {
    width: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    padding: 2.75rem 0 2rem;
    margin: 0 0 2rem;
}

.service-trust-band .service-trust-badges + .service-trust-badges {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8eef5;
}

.service-trust-badges h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.service-trust-badges__intro {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    text-align: center;
    color: #555;
}

.service-trust-badges__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem 1.15rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-trust-badge a,
.service-trust-badge__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.2s ease;
}

.service-trust-badge a:hover {
    transform: translateY(-2px);
}

.service-trust-badge img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.service-trust-badge__name {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: center;
    color: #64748b;
    max-width: 160px;
}

.service-founder-section {
    margin: 2rem 0 0;
}

.service-founder-section--full {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e8eef5;
}

.service-founder-section__inner {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    border: 1px solid #e5eaf0;
    background: #fff;
    max-width: 1100px;
    margin: 0 auto;
}

.service-founder-section__photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.service-founder-section__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777;
}

.service-founder-section__role {
    margin: 0.25rem 0 0.85rem;
    font-weight: 600;
    color: #0071e3;
}

.service-founder-section__points {
    margin: 1rem 0 1.25rem;
    padding-left: 1.15rem;
    color: #333;
    line-height: 1.55;
}

.service-founder-section__points li {
    margin-bottom: 0.4rem;
}

.case-study-tags {
    margin: 0.35rem 0 0.75rem;
    font-size: 0.8rem;
    color: #0071e3;
    font-weight: 600;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.case-study-result {
    background: #f7fafc;
    border: 1px solid #e8eef5;
    padding: 0.55rem 0.45rem;
    text-align: center;
}

.case-study-result strong {
    display: block;
    font-size: 0.95rem;
    color: #0a7a3e;
    line-height: 1.2;
}

.case-study-result span {
    display: block;
    font-size: 0.7rem;
    color: #666;
    margin-top: 0.2rem;
    line-height: 1.3;
}

.service-industries-grid {
    margin: 2.5rem 0;
}

.service-industries-grid__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.service-industry-card {
    border: 1px solid #ececec;
    background: #fff;
    padding: 1rem 1.1rem;
}

.service-industry-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.service-industry-card p {
    margin: 0;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
}

.service-why-us {
    margin: 2.75rem 0;
}

.service-why-us__head {
    text-align: center;
    margin: 0 0 1.35rem;
}

.service-why-us__head h2 {
    margin: 0 0 0.45rem;
}

.service-why-us__intro {
    margin: 0 auto;
    max-width: 640px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
}

.service-why-us__wrap {
    border-radius: 16px;
    border: 1px solid #e5eaf0;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.service-why-us__table--compare {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.service-why-us__table--compare thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.95rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
    background: #f8fafc;
    border-bottom: 1px solid #e5eaf0;
    text-align: left;
    white-space: nowrap;
}

.service-why-us__table--compare thead th.is-highlight {
    color: #fff;
    background: linear-gradient(180deg, #0b57d0 0%, #0071e3 100%);
    border-bottom-color: #0b57d0;
}

.service-why-us__table--compare tbody th,
.service-why-us__table--compare tbody td {
    padding: 0.95rem 1rem;
    font-size: 0.9rem;
    line-height: 1.45;
    border-bottom: 1px solid #eef2f6;
    vertical-align: top;
    color: #334155;
}

.service-why-us__table--compare tbody th {
    width: 18%;
    font-weight: 700;
    color: #0f172a;
    background: #fcfdff;
}

.service-why-us__table--compare tbody tr:last-child th,
.service-why-us__table--compare tbody tr:last-child td {
    border-bottom: none;
}

.service-why-us__table--compare tbody tr:hover td,
.service-why-us__table--compare tbody tr:hover th {
    background: #f8fbff;
}

.service-why-us__table--compare td.is-highlight {
    background: #eff6ff;
    color: #0b57d0;
    font-weight: 600;
}

.service-why-us__table--compare tbody tr:hover td.is-highlight {
    background: #dbeafe;
}

@media (max-width: 768px) {
    .service-why-us__table--compare {
        min-width: 640px;
    }

    .service-why-us__table--compare thead th,
    .service-why-us__table--compare tbody th,
    .service-why-us__table--compare tbody td {
        padding: 0.8rem 0.75rem;
        font-size: 0.84rem;
    }
}

@media (max-width: 968px) {
    .service-agency-hook__outcomes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-industries-grid__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service-agency-hook__outcomes,
    .service-industries-grid__list {
        grid-template-columns: 1fr;
    }

    .service-founder-section__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-founder-section__points {
        text-align: left;
    }

    .case-study-results {
        grid-template-columns: 1fr;
    }
}

/* ===== Mobile polish for Google Ads / service pages ===== */
@media (max-width: 768px) {
    .service-wrapper,
    .service-details,
    .packages-section,
    .service-full-width {
        overflow-x: clip;
        max-width: 100%;
    }

    .service-header {
        padding: 2.5rem 0 2rem;
        min-height: 0;
    }

    .service-header h1 {
        font-size: clamp(1.45rem, 5.5vw, 1.85rem);
        margin-bottom: 1rem;
    }

    .service-header-description,
    .service-header-description--secondary {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
        padding: 0 0.15rem;
    }

    .service-header-cta {
        gap: 0.75rem;
    }

    .service-header-cta .btn {
        padding: 0.75rem 1.15rem;
        font-size: 0.95rem;
    }

    .service-content {
        padding: 2.25rem 0;
    }

    .service-details p,
    .service-details ul li {
        font-size: 1rem;
        line-height: 1.7;
    }

    .service-details h2 {
        margin-top: 2rem;
        font-size: clamp(1.2rem, 5.2vw, 1.55rem);
        line-height: 1.3;
        overflow-wrap: anywhere;
        max-width: 100%;
    }

    .service-details h3 {
        font-size: clamp(1.1rem, 4.5vw, 1.3rem);
        line-height: 1.35;
        overflow-wrap: anywhere;
        max-width: 100%;
    }

    .service-build-table-wrap {
        overflow-x: visible;
    }

    .service-details .service-build-table,
    .service-build-table {
        min-width: 0;
        display: block;
    }

    .service-details .service-build-table thead,
    .service-build-table thead {
        display: none;
    }

    .service-details .service-build-table tbody,
    .service-details .service-build-table tr,
    .service-details .service-build-table th,
    .service-details .service-build-table td,
    .service-build-table tbody,
    .service-build-table tr,
    .service-build-table th,
    .service-build-table td {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-details .service-build-table tr,
    .service-build-table tr {
        padding: 1rem 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .service-details .service-build-table tbody th,
    .service-build-table tbody th {
        font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
        font-size: 1.02rem;
        width: 100%;
        padding: 0 0 0.35rem;
        border-bottom: none;
    }

    .service-details .service-build-table tbody td,
    .service-build-table tbody td {
        font-size: 0.95rem;
        line-height: 1.55;
        padding: 0;
        border-bottom: none;
        color: #333;
    }

    .service-form-side-visual {
        margin: 0 0 1.15rem;
        border-radius: 12px;
        max-height: none;
        overflow: hidden;
    }

    .service-form-side-visual img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: center top;
        display: block;
    }

    .service-quick-answers {
        margin-bottom: 1.75rem;
    }

    .service-quick-answers > h2 {
        margin-bottom: 1rem;
        font-size: 1.25rem;
    }

    .service-quick-answer {
        padding: 1.1rem 1rem 1.15rem;
        border-radius: 14px;
    }

    .service-quick-answer:hover {
        transform: none;
    }

    .service-quick-answer__index {
        width: 1.95rem;
        height: 1.95rem;
        margin-bottom: 0.7rem;
        font-size: 0.72rem;
    }

    .service-quick-answer h3 {
        font-size: 0.92rem;
    }

    .service-quick-answer p {
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .service-trust-band {
        padding: 2rem 0 1.5rem;
        margin-bottom: 1.5rem;
    }

    .service-trust-badges__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .service-trust-badge img {
        max-width: 100%;
        border-radius: 8px;
    }

    .service-trust-badge__name {
        font-size: 0.65rem;
        max-width: none;
    }

    .packages-grid {
        max-width: none;
    }

    .package-card {
        padding: 1.35rem 1.15rem 1.25rem;
    }

    .package-badge {
        white-space: normal;
        max-width: 48%;
        line-height: 1.2;
        text-align: center;
    }

    .price-amount {
        font-size: 1.45rem;
    }

    .packages-intro--after {
        font-size: 0.72rem;
        text-align: left;
        padding: 0 0.15rem;
    }

    .service-why-us__head h2 {
        font-size: 1.3rem;
    }

    .service-why-us__intro {
        font-size: 0.9rem;
        padding: 0 0.25rem;
    }

    .service-why-us__wrap,
    .service-table-wrap {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .service-why-us__table--compare {
        min-width: 560px;
    }

    .service-data-table {
        min-width: 480px;
        font-size: 0.84rem;
    }

    .service-industries-grid__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .service-agency-hook-band {
        padding: 2rem 0;
    }

    .faq-section {
        padding: 2.5rem 0;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    .package-quote-modal {
        align-items: flex-end;
        padding: 0;
    }

    .package-pdf-modal__dialog,
    .package-quote-modal__dialog {
        width: 100%;
        max-width: 100%;
        max-height: min(92dvh, 100%);
        border-radius: 16px 16px 0 0;
        margin: 0;
    }

    .package-pdf-modal__header h2 {
        font-size: 1.15rem;
        padding-right: 2.5rem;
    }

    .package-pdf-form {
        padding: 1rem 1.15rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
        -webkit-overflow-scrolling: touch;
    }

    .package-pdf-service-list {
        max-height: 9rem;
    }

    .package-pdf-timeslot__slider button {
        font-size: 12px;
        padding: 8px 2px 6px;
    }

    .package-pdf-timeslot__slider button small {
        font-size: 9px;
    }

    .package-pdf-modal .package-quote-phone .iti input.phone-number-input,
    .package-pdf-modal .package-quote-phone .iti input.iti__tel-input,
    .package-pdf-form .lead-text-input,
    .package-pdf-form .lead-select-input {
        font-size: 16px !important;
    }

    .package-pdf-modal .package-quote-phone .iti input.phone-number-input,
    .package-pdf-modal .package-quote-phone .iti input.iti__tel-input {
        padding-left: 110px !important;
    }
}

@media (max-width: 480px) {
    .service-header {
        padding: 2rem 0 1.5rem;
    }

    .service-form-side-visual {
        max-height: none;
    }

    .service-form-side-visual img {
        height: auto;
    }

    .service-trust-badges__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-industries-grid__list {
        grid-template-columns: 1fr;
    }

    .package-header h3 {
        font-size: 1.05rem;
        padding-right: 4.5rem;
    }

    .package-pdf-modal__header,
    .package-pdf-form {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .service-pull-quote {
        padding: 2rem 1rem;
    }

    .service-pull-quote__inner p {
        font-size: 1.15rem;
    }
}
