body[data-page-type^="service-"] {
    background: var(--page-canvas);
}

.section-service-template {
    padding: 24px 0 0;
    background: var(--page-canvas);
}

.service-template-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
    gap: 0;
    align-items: stretch;
    margin: 24px 0 32px;
    overflow: hidden;
    border-radius: var(--border-radius-large);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
}

.service-template-hero__content {
    padding: 28px;
    color: #fff;
}

.service-template-hero__content h1 {
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: #fff;
}

.service-template-hero__content p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.service-template-hero__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.service-template-hero__badges .tariff-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.service-template-hero__badges .tariff-badge--guarantee {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.service-template-hero__badges .tariff-badge--guarantee i {
    color: #fff;
    opacity: 0.9;
    font-size: 0.85rem;
}

.service-template-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    align-items: center;
}

.service-template-hero__actions .btn {
    min-height: 48px;
    padding: 12px 24px;
}

.service-template-hero__call {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1a44cf !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.service-template-hero__call i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7em;
    height: 1.7em;
    border-radius: 50%;
    background: rgba(34, 85, 245, 0.12);
    color: #2255f5;
    font-size: 0.82em;
    line-height: 1;
}

.service-template-hero__call:hover,
.service-template-hero__call:focus-visible {
    background: #f3f6ff !important;
    color: #1436a8 !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.service-template-hero__call:hover i,
.service-template-hero__call:focus-visible i {
    background: rgba(34, 85, 245, 0.18);
    color: #1436a8;
}

/* Accent lime reserved for CTA only — do not use on badges in service hero. */
.service-template-hero .btn.btn-accent {
    box-shadow: 0 12px 24px rgba(187, 255, 0, 0.28);
}

.service-template-hero__image {
    min-height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-template-hero__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(34, 85, 245, 0.22), rgba(0, 162, 255, 0.06));
}

.service-template-section {
    padding: clamp(36px, 4.5vw, 52px) 0;
}

.service-template-section__inner {
    max-width: 960px;
    margin: 0 auto;
}

.service-template-section__inner--wide {
    max-width: 1200px;
}

.service-template-section .section-title {
    margin-bottom: 30px;
}

.service-template-section .section-subtitle {
    margin: 0 auto 30px;
}

.service-template-section--pitch {
    padding-top: 0;
    padding-bottom: clamp(36px, 4.5vw, 52px);
}

.service-template-section--pitch .section-title::selection,
.service-template-section--pitch .service-template-rich-text::selection {
    background: rgba(34, 85, 245, 0.18);
    color: var(--primary);
}

.service-template-pitch-grid {
    margin: 0;
    padding: 0;
    list-style: none !important;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.service-template-pitch-item {
    margin: 0;
    padding: 16px 16px 16px 44px;
    border-radius: 14px;
    border: 1px solid #dbe4fb;
    background: #f4f7ff;
    color: #1f2f58;
    line-height: 1.55;
    position: relative;
    list-style: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-template-pitch-item::marker {
    content: "";
    display: none;
}

.service-template-pitch-item::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 16px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(34, 85, 245, 0.12);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
}

.service-template-pitch-item:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 85, 245, 0.35);
    box-shadow: 0 12px 28px rgba(34, 85, 245, 0.12);
}

.service-template-section--pricing {
    padding: clamp(36px, 4.5vw, 52px) 0;
}

.service-template-pricing-card {
    max-width: none;
    margin: 0;
}

.service-template-section--pricing .service-table,
.service-template-section--pricing .mobile-service-table {
    margin-top: 0;
}

.service-template-rich-text {
    margin: 0 0 18px;
    color: #334155;
    line-height: 1.7;
}

.section-service-template > .container > #callback-form.section,
.section-service-template > .container > .faq-section.section,
.section-service-template > .container > .section.section-gray {
    padding: clamp(36px, 4.5vw, 52px) 0;
}

.section-service-template > .container > .faq-section.section {
    margin: 0;
}

.section-service-template > .container > .section.section-gray {
    margin: 0;
    background: transparent;
}

.section-service-template > .container > .section.section-gray .services-grid {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    max-width: none;
    margin: 0;
    gap: 20px;
}

.section-service-template > .container > .section.section-gray .service-card {
    background: #fff;
    border: 1px solid var(--surface-border);
    box-shadow: 0 4px 14px rgba(25, 25, 50, 0.04);
}

.section-service-template > .container > .section.section-gray .service-card:hover {
    border-color: rgba(34, 85, 245, 0.28);
    box-shadow: 0 12px 28px rgba(34, 85, 245, 0.1);
    transform: translateY(-4px);
}

.section-service-template > .container > #callback-form .contact-form-container {
    max-width: none;
    width: 100%;
    margin: 0;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-soft-card);
}

.section-service-template > .container > .faq-section.section .faq-section-lead {
    margin-top: 8px;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.section-service-template > .container > .faq-section.section .faq-container {
    max-width: none;
    width: 100%;
}

@media (max-width: 992px) {
    .service-template-hero {
        grid-template-columns: 1fr;
    }

    .service-template-hero__image {
        min-height: 220px;
    }

    .service-template-hero__image::after {
        background: linear-gradient(0deg, rgba(34, 85, 245, 0.24), rgba(0, 162, 255, 0.04));
    }

    .service-template-pitch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service-template-section {
        padding: 48px 0;
    }

    .service-template-section .section-title {
        margin-bottom: 24px;
    }

    .service-template-pitch-grid {
        grid-template-columns: 1fr;
    }
}

.blog-article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    padding: clamp(28px, 4vw, 48px);
}

.blog-article__header h1 {
    margin-bottom: 8px;
}

.blog-article__meta {
    color: #64748b;
    margin-bottom: 18px;
}

.blog-article__cover img {
    width: 100%;
    border-radius: 12px;
    max-height: 420px;
    object-fit: cover;
}

.blog-article__content {
    margin-top: 20px;
    line-height: 1.7;
    color: #1f2937;
}

.blog-article__cta {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
