/**
 * Посадочные — дополнение к index.css, акцент на типографику (как prices)
 */

.landing__hero-offer {
    margin-bottom: 28px;
    font-size: 1.05rem;
    max-width: 720px;
    line-height: 1.65;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

.landing__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.landing__hero .btn-border-green.small-btn,
.landing__hero .landing__cta-primary.btn-border-green {
    color: #fff;
    border-color: var(--color-accent, #c2c900);
}

.landing__hero .btn-border-green.small-btn span {
    color: inherit;
}

.landing__hero .btn-border-green.small-btn:hover {
    background: var(--color-accent, #c2c900);
    color: var(--color-brand, #5c008c);
}

.landing__cta-secondary.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    background: transparent;
}

.landing__cta-secondary.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.landing__contacts-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.landing__contacts-bar--compact {
    margin-bottom: 0;
}

.landing__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 500;
}

.landing__contact-link:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.landing__contact-link--btn {
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.layout__nav-contacts {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 12px;
    font-size: 0.85rem;
}

.layout__nav-contacts a,
.layout__nav-contacts button {
    color: rgba(255, 255, 255, 0.92) !important;
}

.layout__nav-contacts .landing__contact-link {
    padding: 4px 10px;
    font-size: 0.8rem;
}

.landing--urgent .index__hero h1 { color: #ffc971; }
.landing--changes .index__hero h1 { color: var(--color-accent); }
.landing--integration .index__hero h1 { color: #9fd4ff; }
.landing--medicine .index__hero h1 { color: var(--color-accent); }

.landing--urgent .index__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 -60px 60px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* Заголовки секций — как prices__heading */
.landing__section-head {
    text-align: center;
    margin-bottom: 40px;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.landing__section-head .landing__section-lead {
    max-width: none;
    width: 100%;
}

.landing__section-head--left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.landing__section-head h2 {
    font-weight: bold;
    color: var(--color-brand);
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 12px;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.landing__section-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 3px;
    background: var(--color-accent);
}

.landing__section-head--left h2::after {
    left: 0;
    transform: none;
}

.landing__section-lead {
    margin: 0;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.65;
}

.landing__lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 14px;
}

.landing__lead:last-child {
    margin-bottom: 0;
}

.landing__intro-section {
    padding: 48px 0 56px;
}

.landing__intro-panel {
    background: #fff;
    border-radius: var(--radius-card, 12px);
    box-shadow: var(--shadow-card, 0 4px 24px rgba(0, 0, 0, 0.06));
    padding: 36px 40px;
    border-left: 4px solid var(--color-brand);
}

.landing__intro-body {
    max-width: 820px;
}

/* ——— Intro: срочный ремонт — карточки ——— */
.landing__intro-section--urgent-cards {
    background: #f0f4f8;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 56px 0 64px;
}

.landing__intro-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.landing__intro-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 22px 24px;
    border: 1px solid rgba(92, 0, 140, 0.14);
    border-left: 4px solid var(--color-brand, #5c008c);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing__intro-card:hover {
    transform: translateY(-3px);
    border-color: rgba(92, 0, 140, 0.28);
    box-shadow: 0 10px 28px rgba(92, 0, 140, 0.1);
}

.landing__intro-card-icon {
    margin-bottom: 14px;
    line-height: 0;
}

.landing__intro-card-icon--image img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.landing__intro-card-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.landing__intro-card-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #555;
}

/* ——— Intro: доработки — плашки ——— */
.landing__intro-section--changes-plaques {
    background: #f7f8fa;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 56px 0 64px;
}

.landing__intro-plaques {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
}

.landing__intro-plaque {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.landing__intro-plaque-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(163, 230, 53, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing__intro-plaque-icon svg {
    width: 26px;
    height: 26px;
}

.landing__intro-plaque-title {
    margin: 0 0 4px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.landing__intro-plaque-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.landing__intro-banner {
    margin-top: 28px;
    border-radius: 14px;
    padding: 22px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.landing__intro-banner--cms {
    background: linear-gradient(135deg, #5c008c 0%, #3d0060 100%);
    color: #fff;
}

.landing__intro-banner--safe {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a5080 100%);
    color: #fff;
}

.landing__intro-banner-text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.55;
    font-weight: 500;
    max-width: 640px;
}

.landing__intro-banner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing__intro-banner-logos li {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ——— Intro: интеграции — схема + чеки ——— */
.landing__intro-section--integration-scheme {
    background: #eef3f8;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 56px 0 64px;
}

.landing__intro-scheme {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    margin-bottom: 36px;
    padding: 28px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
}

.landing__intro-scheme-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.landing__intro-scheme-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 88px;
}

.landing__intro-scheme-node span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
}

.landing__intro-scheme-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #f4f7fb;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing__intro-scheme-icon--lg,
.landing__intro-scheme-node--center .landing__intro-scheme-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(163, 230, 53, 0.15);
    border-color: rgba(163, 230, 53, 0.45);
}

.landing__intro-scheme-node--center span {
    font-size: 0.95rem;
    color: var(--color-brand, #5c008c);
}

.landing__intro-scheme-flow {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 64px;
    padding: 0 4px;
}

.landing__intro-scheme-arrows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #a3e635;
}

.landing__intro-scheme-arrow {
    width: 64px;
    height: 18px;
    opacity: 0.85;
}

.landing__intro-scheme-packet {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 3px;
    background: var(--color-accent, #c2c900);
    box-shadow: 0 0 0 3px rgba(194, 201, 0, 0.25);
    animation: landing-packet 2.4s ease-in-out infinite;
}

.landing__intro-scheme-packet--left {
    left: 8px;
}

.landing__intro-scheme-packet--right {
    left: 8px;
    animation-delay: 1.2s;
}

@keyframes landing-packet {
    0% { transform: translateX(0); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateX(48px); opacity: 0; }
}

.landing__intro-checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
}

.landing__intro-check {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.landing__intro-check-icon {
    flex-shrink: 0;
    line-height: 0;
    margin-top: 2px;
}

.landing__intro-check-title {
    margin: 0 0 4px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.landing__intro-check-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

@media (max-width: 991px) {
    .landing__intro-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing__intro-scheme {
        flex-direction: column;
        gap: 16px;
    }

    .landing__intro-scheme-col--side {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .landing__intro-scheme-flow {
        transform: rotate(90deg);
        min-width: 40px;
        min-height: 48px;
    }
}

@media (max-width: 767px) {
    .landing__intro-cards,
    .landing__intro-plaques,
    .landing__intro-checks {
        grid-template-columns: 1fr;
    }

    .landing__intro-banner {
        padding: 18px 20px;
    }
}

.landing__steps-section {
    background: #f7f5fa;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 56px 0 64px;
}

.landing__cases-section {
    padding: 56px 0 64px;
    background: #fff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.landing__steps-grid,
.landing__cases-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991px) {
    .landing__steps-grid,
    .landing__cases-grid {
        grid-template-columns: 1fr;
    }
}

.landing__step-card {
    background: #fff;
    border-radius: var(--radius-card, 12px);
    padding: 28px 28px 32px;
    box-shadow: 0 2px 16px rgba(92, 0, 140, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing__step-card--has-media {
    padding: 0;
    overflow: hidden;
}

.landing__step-media {
    margin: 0;
    line-height: 0;
}

.landing__step-media-frame {
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--color-accent, #c2c900);
    background: #f0f0f4;
}

.landing__step-media-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(92, 0, 140, 0.12) 0%,
        transparent 50%,
        rgba(200, 230, 0, 0.08) 100%
    );
}

.landing__step-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    vertical-align: middle;
}

.landing__step-body {
    padding: 22px 28px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.landing__step-card--has-media .landing__step-body {
    padding: 20px 24px 28px;
}

.landing__step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(92, 0, 140, 0.1);
}

/* Иконки этапов — градиент как у SVG в index__service-icon (#772D88 → #C6C512) */
.landing__step-icon.index__service-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.landing__step-icon i {
    font-size: 2.75rem;
    line-height: 1;
    width: 65px;
    text-align: left;
    background: linear-gradient(180deg, #772d88 0%, #c6c512 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.landing__steps-grid .index__services-grid--desktop-left .landing__step-icon i,
.landing__step-icon.index__service-icon i {
    position: static;
    transform: none;
}

.landing__step-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 8px;
}

.landing__step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 12px;
    line-height: 1.3;
}

.landing__step-card > p {
    margin: 0;
    color: #444;
    font-size: 0.98rem;
    line-height: 1.6;
}

.landing__step-detail {
    margin-top: 14px !important;
    padding-top: 14px;
    border-top: 1px solid #eee;
    font-size: 0.92rem !important;
    color: #666 !important;
}

.landing__case-study {
    background: #fafafa;
    border-radius: var(--radius-card, 12px);
    padding: 28px 28px 24px;
    border: 1px solid #ececec;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.landing__case-study:hover {
    border-color: rgba(92, 0, 140, 0.25);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.landing__case-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-brand);
    margin: 0 0 10px;
    opacity: 0.85;
}

.landing__case-study h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 18px;
    line-height: 1.35;
}

.landing__case-dl {
    margin: 0;
    flex: 1;
}

.landing__case-row {
    margin-bottom: 16px;
}

.landing__case-row:last-child {
    margin-bottom: 0;
}

.landing__case-row dt {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 6px;
}

.landing__case-row dd {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.landing__case-foot {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.landing__case-foot-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
}

.landing__case-foot strong {
    font-size: 1.05rem;
    color: var(--color-brand);
    font-weight: 700;
}

.landing__guarantee-section {
    background: linear-gradient(180deg, #f3eef7 0%, #fff 100%);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 56px 0 48px;
}

.landing__guarantee-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 960px;
    margin: 0 auto 32px;
}

.landing__guarantee-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    padding: 24px 24px 26px;
    border-radius: 14px;
    border: 1px solid rgba(92, 0, 140, 0.16);
    box-shadow: 0 4px 18px rgba(92, 0, 140, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.landing__guarantee-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    line-height: 0;
}

.landing__guarantee-icon img,
.landing__guarantee-icon .landing__guarantee-3d {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.landing__guarantee-item p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #333;
}

.landing__guarantee-item p strong {
    color: #1a1a1a;
    font-weight: 700;
}

.landing__cta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    padding-top: 8px;
}

.landing__cta-primary i,
.landing__cta-bar .btn i {
    margin-right: 8px;
}

.landing__guarantee-section .landing__cta-secondary.btn-outline-light {
    border-color: rgba(92, 0, 140, 0.35);
    color: var(--color-brand, #5c008c);
}

.landing__guarantee-section .landing__cta-secondary.btn-outline-light:hover {
    background: rgba(92, 0, 140, 0.08);
    color: var(--color-brand, #5c008c);
}

.landing__bottom-cta {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 36px 0 64px;
    background: #fff;
}

.landing__bottom-cta-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px 40px;
    align-items: center;
    background: linear-gradient(135deg, #f7f9fc 0%, #eef4fb 55%, #f8f5fc 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 18px;
    padding: 36px 40px;
    overflow: visible;
}

.landing__bottom-cta-badge {
    position: absolute;
    top: 0;
    left: 28px;
    right: auto;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 16px;
    transform: translateY(-50%);
    border-radius: 10px 10px 0 0;
    background: #2563eb;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    white-space: nowrap;
}

.landing__bottom-cta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
    flex-shrink: 0;
}

.landing__bottom-cta-title {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    line-height: 1.2;
    font-weight: 800;
    color: #1a1a1a;
}

.landing__bottom-cta-text {
    margin: 0 0 24px;
    max-width: 36rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #6b7280;
}

.landing__bottom-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-color: var(--color-accent, #c2c900);
    background: var(--color-accent, #c2c900);
    color: var(--color-brand, #5c008c);
    font-weight: 700;
}

.landing__bottom-cta-btn:hover {
    background: #d4db00;
    border-color: #d4db00;
    color: var(--color-brand, #5c008c);
    text-decoration: none;
}

.landing__bottom-cta-btn i {
    font-size: 1.15rem;
}

.landing__bottom-cta-media {
    margin: 0;
    justify-self: end;
    width: min(100%, 360px);
}

.landing__bottom-cta-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .landing__bottom-cta-panel {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        text-align: left;
    }

    .landing__bottom-cta-badge {
        left: 16px;
        right: auto;
        max-width: calc(100% - 32px);
        white-space: normal;
    }

    .landing__bottom-cta-media {
        justify-self: center;
        order: -1;
        width: min(100%, 280px);
    }
}

@media (max-width: 767px) {
    .landing__intro-panel {
        padding: 24px 20px;
    }

    .layout__nav-contacts {
        flex-direction: column;
        align-items: flex-start;
    }
}
