/* ═══════════════════════════════════════════════════════════════════════════
   Service Page Styles
   Includes shared utilities + exact copies of FAQ/CTA from homepage
   ═══════════════════════════════════════════════════════════════════════════ */


/* ── Base ───────────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Code 3", "IBM Plex Mono", monospace;
    font-style: normal;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: all .3s;
}

path {
    transition: all .3s;
}


/* ── Container ──────────────────────────────────────────────────────────────── */

.container {
    max-width: 1390px;
    margin: 0 auto;
    padding: 0 15px;
}


/* ── Buttons (identical to homepage) ────────────────────────────────────────── */

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--accent {
    border-radius: 333px;
    background: linear-gradient(90deg, #E85711 0%, #F37A1E 100%);
    color: #fff !important;
}

.btn--accent:hover {
    filter: brightness(1.08);
}

.btn--border {
    color: #000;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 15px;
    border-radius: 333px;
    border: 1px solid #E85711;
    padding: 15px 25px;
    width: fit-content;
}

.btn--border:hover {
    background: #E85711;
    color: #fff;
}

.btn--border:hover path {
    stroke: #fff;
}

.btn--light {
    border-radius: 333px;
    background: #FBFBFB;
    color: #000;
}

.btn--light:hover {
    background: #fff;
    color: #E85711;
}

.btn--light:hover path {
    stroke: #E85711;
}


/* ── Section titles (identical to homepage) ─────────────────────────────────── */

.section-title {
    color: #16151A;
    text-align: center;
    font-size: 45px;
    font-weight: 400;
    line-height: 50px;
    margin: 0 auto;
}

.section-title__accent {
    color: #E85711;
}

.section-subtitle {
    margin-top: 20px;
    color: rgba(0, 0, 0, 0.80);
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    line-height: 22px;
    margin-inline: auto;
}


/* ── Page wrapper (background ornaments) ────────────────────────────────────── */

.page {
    position: relative;
    background-image:
        url("../img/bg-left-1.png"),
        url("../img/bg-right-2.png"),
        url("../img/bg-left-3.png"),
        url("../img/bg-right-4.png");
    background-repeat: no-repeat;
    background-size: 280px auto, 280px auto, 280px auto, 280px auto;
    background-position:
        left -95px top 14%,
        right -95px top 42%,
        left -95px top 74%,
        right -95px top 102%;
}

@media (max-width: 1400px) {
    .page {
        background-image: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════════════════════ */

.sp-breadcrumbs {
    padding: 20px 0 0;
}

.sp-breadcrumbs__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
}

.sp-breadcrumbs__list li {
    color: rgba(22, 21, 26, 0.40);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.sp-breadcrumbs__list li a {
    color: rgba(22, 21, 26, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.sp-breadcrumbs__list li a:hover {
    color: #E85711;
}

.sp-breadcrumbs__list li + li::before {
    content: "/";
    margin: 0 8px;
    color: rgba(22, 21, 26, 0.25);
}

.sp-breadcrumbs__list li[aria-current="page"] {
    color: rgba(22, 21, 26, 0.70);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════════ */

.sp-hero {
    padding: 20px 0;
}

.sp-hero__inner {
    background: #16151A;
    border-radius: 25px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 40px;
    align-items: center;
}

.sp-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sp-hero__label {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 333px;
    background: rgba(232, 87, 17, 0.18);
    color: #E85711;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

.sp-hero__title {
    margin-top: 24px;
    color: #FFF;
    font-size: 45px;
    font-weight: 400;
    line-height: 50px;
    max-width: 600px;
}

.sp-hero__title-accent {
    color: #E85711;
}

.sp-hero__text {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    font-weight: 400;
    line-height: 24px;
    max-width: 540px;
}

.sp-hero__notes {
    margin: 28px 0 0;
    padding: 0 0 0 16px;
    list-style: none;
    border-left: 1px solid #E85711;
}

.sp-hero__notes li {
    color: #FFF;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
}

.sp-hero__notes li + li {
    margin-top: 4px;
}

.sp-hero__buttons {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sp-hero__buttons .btn {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 400;
    line-height: 15px;
    color: #fff;
}

.sp-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sp-hero__stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 22px 24px;
    text-align: center;
}

.sp-hero__stat-value {
    display: block;
    color: #E85711;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

.sp-hero__stat-label {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   DETAILS (compound section — inspired by consult block)
   ═══════════════════════════════════════════════════════════════════════════════ */

.sp-details {
    padding: 70px 0;
}

.sp-details__container {
    border: 1px solid rgba(28, 27, 32, 0.08);
    border-radius: 25px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F6F6F8 100%);
    padding: 40px;
    box-shadow: 0 18px 45px rgba(28, 27, 32, 0.08);
}

.sp-details__head {
    max-width: 920px;
}

.sp-details__title {
    color: #16151A;
    font-size: 44px;
    font-weight: 400;
    line-height: 48px;
    max-width: 980px;
}

.sp-details__text {
    margin-top: 18px;
    color: rgba(22, 21, 26, 0.82);
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    max-width: 860px;
}

.sp-details__grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1.45fr 0.9fr;
    gap: 22px;
}

.sp-details__info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.sp-details__block {
    border-radius: 18px;
    border: 1px solid rgba(22, 21, 26, 0.12);
    background: #FFF;
    padding: 24px;
}

.sp-details__block--dark {
    background: #1C1B20;
    border-color: transparent;
}

.sp-details__subtitle {
    color: #16151A;
    font-size: 24px;
    font-weight: 500;
    line-height: 26px;
}

.sp-details__block--dark .sp-details__subtitle {
    color: #FFF;
}

/* Includes list */

.sp-details__list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 11px;
}

.sp-details__item {
    position: relative;
    padding-left: 17px;
    color: rgba(22, 21, 26, 0.9);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.sp-details__item::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(90deg, #E85711 0%, #F37A1E 100%);
}

.sp-details__item strong {
    color: #16151A;
    font-weight: 500;
    display: block;
}

.sp-details__item span {
    color: rgba(22, 21, 26, 0.65);
    font-size: 15px;
    line-height: 20px;
}

/* Steps inside dark block */

.sp-details__steps {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sp-details__step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sp-details__step-num {
    color: #E85711;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.sp-details__step-title {
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.sp-details__step-text {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.60);
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
}

/* Offer card (right column) */

.sp-details__offer {
    border-radius: 18px;
    background: #1C1B20;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sp-details__offer-title {
    color: #FFF;
    font-size: 26px;
    font-weight: 500;
    line-height: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

/* Product spec list */

.sp-details__specs {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.sp-details__spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sp-details__spec:last-child {
    border-bottom: none;
}

.sp-details__spec dt {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    flex-shrink: 0;
}

.sp-details__spec dd {
    margin: 0;
    color: #FFF;
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
    text-align: right;
}

.sp-details__btn {
    width: 100%;
    padding: 16px 22px;
    margin-top: 14px;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   FAQ  (exact copy from landing-homepage.css)
   ═══════════════════════════════════════════════════════════════════════════════ */

.faq {
    padding: 40px 0;
}

.faq__container {
    border-radius: 24px;
    background: #FFF;
    border: 1px solid rgba(22, 21, 26, 0.08);
    padding: 40px;
}

.faq__title {
    max-width: 360px;
}

.faq__list {
    margin-top: 40px;
    display: grid;
    gap: 12px;
}

.faq__item {
    border: 1px solid rgba(22, 21, 26, 0.12);
    border-radius: 14px;
    background: #FBFBFC;
    padding: 16px 18px;
    transition: border-color .35s, background .35s, box-shadow .35s;
}

.faq__item[open] {
    background: #FFF;
    border-color: rgba(232, 87, 17, 0.35);
    box-shadow: 0 10px 20px rgba(22, 21, 26, 0.06);
}

.faq__item summary {
    list-style: none;
    cursor: pointer;
    color: #16151A;
    font-size: 21px;
    font-weight: 400;
    line-height: 25px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

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

.faq__item summary::after {
    content: "+";
    color: #E85711;
    font-size: 28px;
    line-height: 18px;
    transition: transform .35s;
}

.faq__item[open] summary::after {
    transform: rotate(45deg);
}

.faq__item p {
    margin-top: 0;
    color: rgba(22, 21, 26, 0.8);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    max-width: 980px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .5s ease-in-out, opacity .35s ease-in-out, margin-top .35s ease-in-out;
}

.faq__item[open] p {
    margin-top: 10px;
    max-height: 240px;
    opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .sp-hero__title,
    .section-title {
        font-size: 38px;
        line-height: 42px;
    }

    .sp-hero__inner {
        grid-template-columns: 1fr 240px;
        gap: 30px;
    }

    .sp-details__title {
        font-size: 38px;
        line-height: 42px;
    }

    .sp-details__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .sp-hero,
    .sp-details,
    .faq {
        padding: 56px 0;
    }

    .sp-hero__inner {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }

    .sp-hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sp-hero__stat {
        flex: 1;
        min-width: 120px;
    }

    .sp-details__container {
        padding: 28px 20px;
    }

    .sp-details__steps {
        grid-template-columns: 1fr;
    }

    .faq__container {
        padding: 28px 20px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 12px;
    }

    .sp-hero,
    .sp-details,
    .faq {
        padding: 46px 0;
    }

    .btn {
        line-height: 18px;
        white-space: normal;
        text-align: center;
    }

    .btn svg {
        flex-shrink: 0;
    }

    .sp-hero__inner {
        padding: 26px 16px;
        border-radius: 20px;
    }

    .sp-hero__title,
    .section-title {
        font-size: 30px;
        line-height: 34px;
    }

    .section-subtitle,
    .sp-hero__text,
    .faq__item p {
        font-size: 16px;
        line-height: 22px;
    }

    .sp-hero__buttons {
        width: 100%;
        flex-direction: column;
    }

    .sp-hero__buttons .btn {
        width: 100%;
    }

    .sp-hero__stats {
        flex-direction: column;
    }

    .sp-hero__notes {
        font-size: 14px;
        line-height: 20px;
    }

    .sp-details__container {
        padding: 22px 14px;
        border-radius: 20px;
    }

    .sp-details__title {
        font-size: 30px;
        line-height: 34px;
    }

    .sp-details__block,
    .sp-details__offer {
        padding: 18px;
    }

    .sp-details__subtitle {
        font-size: 22px;
        line-height: 24px;
    }

    .sp-details__offer-title {
        font-size: 28px;
        line-height: 32px;
    }

    .sp-details__text,
    .sp-details__item,
    .sp-details__offer-text {
        font-size: 16px;
        line-height: 22px;
    }

    .sp-details__meta span {
        font-size: 13px;
        line-height: 14px;
    }

    .faq__container {
        border-radius: 20px;
    }

    .faq__item {
        padding: 14px;
    }

    .faq__item summary {
        font-size: 18px;
        line-height: 22px;
    }
}
