.service-page {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 56px;
}

.service-page__hero {
    padding-top: 18px;
    margin-bottom: 24px;
}

.service-page__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #6d737b;
}

.service-page__breadcrumbs a {
    color: #6d737b;
    text-decoration: none;
}

.service-page__breadcrumbs a:hover {
    color: #c2181f;
}

.service-page h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1;
    color: #303030;
    font-weight: 500;
}

.service-page__lead {
    max-width: 760px;
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #5f6770;
}

.service-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    margin-bottom: 26px;
    border: 1px solid rgba(48, 48, 48, 0.08);
    border-radius: 999px;
    background: #f5f5f5;
}

.service-tabs__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    color: #303030;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.service-tabs__item:hover {
    color: #c2181f;
}

.service-tabs__item.is-active {
    color: #fff;
    background: #303030;
    box-shadow: 0 10px 24px rgba(48, 48, 48, 0.16);
}

.service-panel[hidden] {
    display: none;
}

.service-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 24px;
}

.service-intro__content,
.service-info-card,
.service-mission {
    border: 1px solid rgba(48, 48, 48, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 247, 0.98));
    box-shadow: 0 18px 48px rgba(28, 32, 36, 0.08);
}

.service-intro__content {
    padding: 30px;
}

.service-intro__content p,
.service-info-card p {
    margin: 0;
    color: #4d555e;
    font-size: 17px;
    line-height: 1.65;
}

.service-intro__content p + p,
.service-info-card p + p {
    margin-top: 16px;
}

.service-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    grid-auto-rows: 180px;
}

.service-photo-grid img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 18px 44px rgba(28, 32, 36, 0.12);
}

.service-photo-grid img:first-child {
    grid-column: 1 / -1;
}

.service-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.service-info-card {
    padding: 28px;
}

.service-info-card--accent {
    background:
        radial-gradient(circle at 100% 0%, rgba(194, 24, 31, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 247, 0.98));
}

.service-info-card__eyebrow {
    margin: 0 0 10px;
    color: #c2181f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-info-card h2,
.service-mission p {
    margin: 0;
    color: #303030;
    font-weight: 500;
}

.service-info-card h2 {
    margin-bottom: 16px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
}

.service-benefits {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-benefits li {
    position: relative;
    padding-left: 24px;
    color: #4d555e;
    font-size: 16px;
    line-height: 1.5;
}

.service-benefits li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c2181f;
    box-shadow: 0 0 0 4px rgba(194, 24, 31, 0.1);
}

.service-mission {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px;
}

.service-mission p {
    max-width: 760px;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.18;
}

.service-card,
.service-result,
.service-note {
    border: 1px solid rgba(48, 48, 48, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 247, 0.98));
    box-shadow: 0 18px 48px rgba(28, 32, 36, 0.08);
}

.service-card {
    padding: 28px;
}

.service-card__title {
    margin: 0 0 10px;
    color: #303030;
    font-size: 28px;
    font-weight: 500;
}

.service-card__lead {
    max-width: 680px;
    margin: 0 0 24px;
    color: #5f6770;
    font-size: 16px;
    line-height: 1.55;
}

.service-form__label {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    color: #303030;
    font-weight: 500;
}

.service-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
}

.service-form input {
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(48, 48, 48, 0.12);
    border-radius: 16px;
    background: #fff;
    color: #303030;
    font-size: 18px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-form input:focus {
    border-color: rgba(194, 24, 31, 0.45);
    box-shadow: 0 0 0 4px rgba(194, 24, 31, 0.08);
}

.service-form button {
    height: 56px;
    padding: 0 24px;
    border: none;
    border-radius: 16px;
    background: #c2181f;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.18s ease;
}

.service-form button:hover:not(:disabled) {
    opacity: 0.94;
}

.service-form button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.service-form__hint {
    margin: 12px 0 0;
    font-size: 14px;
    color: #6d737b;
}

.service-form__hint span {
    color: #303030;
}

.service-feedback {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.4;
}

.service-feedback--loading {
    background: #f5f6f7;
    color: #303030;
}

.service-feedback--success {
    background: #eff9f1;
    color: #1d6f33;
}

.service-feedback--error {
    background: #fff3f3;
    color: #9f2428;
}

.service-result {
    margin-top: 24px;
    padding: 28px;
}

.service-result__header {
    margin-bottom: 20px;
}

.service-result__eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #808b94;
}

.service-result__header h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 34px);
    color: #303030;
    font-weight: 500;
}

.service-result__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-result__item {
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(48, 48, 48, 0.08);
}

.service-result__item span {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: #808b94;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.service-result__item strong {
    display: block;
    font-size: 22px;
    line-height: 1.3;
    color: #303030;
    font-weight: 500;
}

.service-note {
    margin-top: 24px;
    padding: 24px 28px;
}

.service-note h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #303030;
    font-weight: 500;
}

.service-note p {
    margin: 0 0 16px;
    color: #5f6770;
    line-height: 1.6;
}

.service-note__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(48, 48, 48, 0.12);
    color: #303030;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.service-note__link:hover {
    color: #c2181f;
    border-color: rgba(194, 24, 31, 0.24);
}

@media (max-width: 1279px) {
    .service-page {
        max-width: 944px;
    }
}

@media (max-width: 1023px) {
    .service-page {
        max-width: 944px;
        padding: 0 20px;
    }

    .service-page__hero {
        margin-bottom: 22px;
    }

    .service-tabs {
        margin-bottom: 22px;
    }

    .service-intro,
    .service-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-mission {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .service-intro__content,
    .service-info-card,
    .service-mission,
    .service-card,
    .service-result,
    .service-note {
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .service-page {
        max-width: 96%;
        margin-bottom: 48px;
        padding: 0;
    }

    .service-page__hero {
        padding-top: 16px;
    }

    .service-tabs {
        display: grid;
        width: 100%;
        border-radius: 22px;
    }

    .service-tabs__item {
        min-height: 46px;
    }

    .service-photo-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .service-photo-grid img:first-child {
        grid-column: auto;
    }

    .service-photo-grid img {
        height: auto;
        min-height: 220px;
    }

    .service-intro__content,
    .service-info-card,
    .service-mission {
        border-radius: 20px;
        padding: 20px;
    }

    .service-card,
    .service-result,
    .service-note {
        border-radius: 20px;
        padding: 20px;
    }

    .service-form__row {
        grid-template-columns: 1fr;
    }

    .service-form button {
        width: 100%;
    }

    .service-result__grid {
        grid-template-columns: 1fr;
    }

    .service-result__item strong {
        font-size: 18px;
    }
}
