/* =====================
   SERVICE PAGE
===================== */
.svc {
    position: relative;
    padding: 32px 0 120px;
    overflow: hidden;
}

.svc__wrap {
    position: relative;
    z-index: 1;
    max-width: 1040px;
}

/* Парящие иконки на фоне */
.svc-deco .float-deco__icon {
    width: 30px;
    height: 30px;
    color: rgba(58, 128, 194, 0.28);
}

.svc-deco__i1  { top: 140px;  left: 5%;  animation-delay: 0s; }
.svc-deco__i2  { top: 260px;  right: 6%; width: 34px; height: 34px; animation: float-rotated 5s ease-in-out infinite; animation-delay: 0.6s; }
.svc-deco__i3  { top: 620px;  left: 3%;  animation: float-drift 5.4s ease-in-out infinite; animation-delay: 1.1s; }
.svc-deco__i4  { top: 900px;  right: 3%; color: rgba(155, 126, 222, 0.3); animation-delay: 1.8s; }
.svc-deco__i5  { top: 1250px; left: 6%;  width: 26px; height: 26px; animation: float-rotated 4.8s ease-in-out infinite; animation-delay: 0.4s; }
.svc-deco__i6  { top: 1500px; right: 7%; animation: float-drift 5.2s ease-in-out infinite; animation-delay: 1.4s; }
.svc-deco__i7  { top: 1850px; left: 4%;  animation-delay: 0.9s; }
.svc-deco__i8  { top: 2150px; right: 4%; width: 26px; height: 26px; animation: float-rotated 5.1s ease-in-out infinite; animation-delay: 1.7s; }
.svc-deco__i9  { top: 2500px; left: 7%;  color: rgba(155, 126, 222, 0.3); animation: float-drift 5.6s ease-in-out infinite; animation-delay: 0.3s; }
.svc-deco__i10 { top: 2800px; right: 6%; animation-delay: 1.2s; }
.svc-deco__i11 { top: 3150px; left: 3%;  animation: float-rotated 4.9s ease-in-out infinite; animation-delay: 0.7s; }
.svc-deco__i12 { top: 3450px; right: 5%; animation: float-drift 5.3s ease-in-out infinite; animation-delay: 1.5s; }

/* Появление при прокрутке */
.svc .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
}

.svc .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Хлебные крошки */
.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
    font-size: 15px;
    color: var(--gray);
}

.crumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.crumbs li + li::before {
    content: "/";
    color: rgba(100, 116, 139, 0.5);
}

.crumbs a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.crumbs a:hover {
    color: var(--blue);
}

.crumbs [aria-current="page"] {
    color: var(--text);
    font-weight: 600;
}

/* Первый экран */
.svc-hero {
    margin-bottom: 96px;
}

.svc-hero__title {
    margin: 0 0 24px;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.05;
    text-transform: uppercase;
}

.svc-hero__title span {
    color: var(--blue);
}

.svc-hero__lead {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: 20px;
    line-height: 1.6;
    color: var(--gray);
}

.svc-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.svc-hero__tags span {
    background: #111;
    color: #fff;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
}

.svc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.svc-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-hero__stats li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 24px;
    background: #F8FAFC;
    border: 1px solid rgba(121, 121, 121, 0.2);
    border-radius: 20px;
}

.svc-hero__stats strong {
    font-size: 28px;
    font-weight: 700;
    color: var(--blue);
    white-space: nowrap;
}

.svc-hero__stats span {
    font-size: 15px;
    color: var(--gray);
}

/* Блоки */
.svc-block {
    margin-bottom: 96px;
}

.svc-block__title {
    margin: 0 0 16px;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

.svc-block__title span {
    color: var(--blue);
}

.svc-block__text {
    max-width: 760px;
    margin: 0 0 40px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray);
}

/* Что входит */
.svc-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-feature {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px 28px;
    background: #F8FAFC;
    border: 1px solid rgba(121, 121, 121, 0.36);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.svc-feature__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #E0E7FF;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.svc-feature__icon svg {
    width: 28px;
    height: 28px;
}

.svc-feature h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.svc-feature p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray);
}

/* Цены */
.svc-prices {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    background: #F8FAFC;
    border: 1px solid rgba(121, 121, 121, 0.25);
    border-radius: 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.svc-price:hover {
    border-color: rgba(58, 128, 194, 0.5);
    box-shadow: 0 8px 24px rgba(58, 128, 194, 0.12);
}

.svc-price--hit {
    background: #EEF4FB;
    border-color: rgba(58, 128, 194, 0.45);
}

.svc-price__info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
}

.svc-price__info p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray);
}

.svc-price__badge {
    background: linear-gradient(90deg, #3a80c2, #5da8f5);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.svc-price__value {
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    white-space: nowrap;
}

/* Этапы */
.svc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 24px;
    background: #F8FAFC;
    border: 1px solid rgba(121, 121, 121, 0.25);
    border-radius: 20px;
}

.svc-step__num {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: var(--blue);
}

.svc-step h3 {
    margin: 6px 0 0;
    font-size: 20px;
    font-weight: 600;
}

.svc-step p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--gray);
}

/* Вопросы */
.svc-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.svc-faq__item {
    background: #F8FAFC;
    border: 1px solid rgba(121, 121, 121, 0.25);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.svc-faq__item:hover {
    border-color: rgba(58, 128, 194, 0.35);
}

.svc-faq__item[open]:not(.is-closing) {
    background: #fff;
    border-color: rgba(58, 128, 194, 0.5);
    box-shadow: 0 10px 28px rgba(58, 128, 194, 0.12);
}

.svc-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
}

.svc-faq__item summary::-webkit-details-marker {
    display: none;
}

.svc-faq__item summary h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.svc-faq__item summary::after {
    content: "";
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E0E7FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%233A80C2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: transform 0.25s ease;
}

.svc-faq__item[open]:not(.is-closing) summary::after {
    transform: rotate(135deg);
    background-color: var(--blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.svc-faq__item summary::after {
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), background-color 0.25s ease;
}

.svc-faq__item p {
    margin: 0;
    padding: 0 24px 22px;
    max-width: 820px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.svc-faq__item[open]:not(.is-closing) p {
    opacity: 1;
    transform: none;
    transition-delay: 0.08s;
}

/* Баннер */
.svc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 36px 48px;
    background: linear-gradient(90deg, #3780C8 55%, #0D59A4 100%);
    border-radius: 30px;
    overflow: hidden;
}

.svc-cta__image {
    flex: 0 0 auto;
    width: 280px;
    max-width: 40%;
    height: auto;
    display: block;
}

.svc-cta__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.svc-cta__title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.svc-cta__text {
    margin: 0 0 8px;
    max-width: 480px;
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}

.svc-cta__btn {
    gap: 10px;
    padding: 16px 26px;
}

/* =====================
   АДАПТИВ
===================== */
@media (prefers-reduced-motion: reduce) {
    .svc-deco .float-deco__icon { animation: none; }
    .svc-faq__item p { transition: none; }
}

@media (max-width: 1280px) {
    .svc-deco .float-deco__icon { opacity: 0.6; }
}

@media (max-width: 1024px) {
    .svc-hero__title { font-size: 48px; }
    .svc-block__title { font-size: 40px; }
    .svc-hero__stats { grid-template-columns: repeat(2, 1fr); }
    .svc-features { grid-template-columns: repeat(2, 1fr); }
    .svc-steps { grid-template-columns: repeat(2, 1fr); }
    .svc-cta { padding: 28px 32px; gap: 28px; }
    .svc-cta__title { font-size: 26px; }
}

@media (max-width: 768px) {
    .svc { padding: 24px 0 80px; }
    .svc-deco .float-deco__icon { width: 20px; height: 20px; opacity: 0.45; }
    .svc-deco__i3, .svc-deco__i6, .svc-deco__i9, .svc-deco__i11 { display: none; }
    .crumbs ol { margin-bottom: 28px; font-size: 14px; }
    .svc-hero,
    .svc-block { margin-bottom: 64px; }
    .svc-hero__title { font-size: 36px; }
    .svc-hero__lead { font-size: 17px; }
    .svc-block__title { font-size: 30px; }
    .svc-block__text { font-size: 16px; margin-bottom: 28px; }
    .svc-features { grid-template-columns: 1fr; gap: 16px; }
    .svc-feature { padding: 24px 22px; }

    .svc-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 22px;
    }
    .svc-price__info h3 { font-size: 20px; }
    .svc-price__value { font-size: 22px; }

    .svc-cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 22px;
        border-radius: 20px;
        gap: 20px;
    }
    .svc-cta__image { width: 200px; max-width: 70%; }
    .svc-cta__body { align-items: center; }
    .svc-cta__title { font-size: 24px; }
    .svc-cta__text { font-size: 16px; }
}

@media (max-width: 480px) {
    .svc-hero__title { font-size: 30px; }
    .svc-block__title { font-size: 26px; }
    .svc-hero__actions .btn { flex: 1 1 100%; }
    .svc-hero__stats { gap: 10px; }
    .svc-hero__stats li { padding: 16px; }
    .svc-hero__stats strong { font-size: 22px; }
    .svc-steps { grid-template-columns: 1fr; }
    .svc-faq__item summary { padding: 16px 18px; }
    .svc-faq__item summary h3 { font-size: 16px; }
    .svc-faq__item p { padding: 0 18px 18px; }
    .svc-cta__btn { width: 100%; }
}
