:root {
    /* 1C BO: yellow as brand spark, not flood; red as deep CTA */
    --color-yellow: #e8c547;
    --color-yellow-bright: #ffdd00;
    --color-yellow-soft: #f4edd0;
    --color-red: #b4232c;
    --color-red-hover: #961c24;

    --color-ink: #12151c;
    --color-text: #3a4150;
    --color-muted: #6a7383;

    --color-white: #ffffff;
    --color-surface: #f3f4f7;
    --color-surface-warm: #f7f5ef;
    --color-border: rgb(18 21 28 / 10%);
    --color-border-strong: rgb(18 21 28 / 16%);

    --shadow-small: 0 1px 0 rgb(18 21 28 / 4%), 0 8px 20px rgb(18 21 28 / 5%);
    --shadow-medium: 0 1px 0 rgb(18 21 28 / 5%), 0 16px 40px rgb(18 21 28 / 8%);
    --shadow-glow: 0 0 0 1px rgb(255 255 255 / 7%), 0 20px 50px rgb(0 0 0 / 28%);

    --radius-small: 12px;
    --radius-medium: 18px;
    --radius-large: 26px;

    --container: min(1360px, 100%);
    --header-height: 84px;

    --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --transition: 220ms var(--ease-out);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -0.011em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
    font: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
a,
input,
select,
textarea,
summary {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
    border-radius: 0;
}

button {
    border: 0;
}

h1,
h2,
h3,
p,
ul,
ol {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--color-ink);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

h1 {
    max-width: 900px;
    margin-bottom: 28px;
    font-size: clamp(2.7rem, 6.2vw, 5.4rem);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 4.1vw, 3.4rem);
}

h3 {
    font-size: 1.18rem;
    letter-spacing: -0.03em;
}

p:last-child {
    margin-bottom: 0;
}

.container {
    width: min(calc(100% - 16px), 1520px);
    margin-inline: auto;
}

@media (min-width: 900px) {
    .container {
        width: min(calc(100% - 28px), 1560px);
    }
}

/* Fully borderless canvas */
html,
body {
    overflow-x: clip;
}

.trust-strip,
.section,
.section--soft,
.section--yellow-soft,
.site-footer,
.after-scene,
.contact-section,
.intro,
.scroll-scene {
    width: 100%;
}

.header-inner {
    width: min(calc(100% - 16px), 1560px);
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    transform: translateY(-150%);
    border-radius: 8px;
    background: var(--color-ink);
    color: var(--color-white);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--color-red);
    outline-offset: 4px;
}

/* Шапка сайта */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    min-height: var(--header-height);
    border-bottom: 1px solid rgb(25 27 32 / 8%);
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    min-height: var(--header-height);
    gap: 20px 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.header-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px 8px 10px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 999px;
    background: rgb(255 255 255 / 6%);
    color: #fff;
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition);
}

.header-call:hover {
    border-color: rgb(255 221 0 / 45%);
    background: rgb(255 255 255 / 10%);
}

.header-call svg {
    flex: 0 0 auto;
    color: #d7dde8;
}

.header-call__text {
    display: grid;
    line-height: 1.15;
}

.header-call__text span {
    color: var(--story-muted, #9aa3b5);
    font-size: 0.68rem;
}

.header-call__text strong {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: -0.02em;
}

.header-msg {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.header-msg--wa,
.header-msg--tg {
    border: 1px solid rgb(255 255 255 / 14%);
    background: rgb(255 255 255 / 7%);
    color: #e8ecf3;
}

.header-msg--wa:hover,
.header-msg--tg:hover {
    border-color: rgb(232 197 71 / 45%);
    color: #fff;
}

@media (max-width: 980px) {
    .header-msg {
        display: inline-flex;
    }
}

.nav-mobile-contacts {
    display: none;
}



.company-brand {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    gap: 12px;
    text-decoration: none;
    /* Clear space around partner mark (brandbook-like buffer) */
    padding-right: 8px;
}

.company-brand__mark {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 50%;
    box-shadow: none;
}

.company-brand__text strong {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.company-brand__text {
    display: grid;
    line-height: 1.15;
}

.company-brand__text strong {
    color: var(--color-ink);
    font-size: 1.04rem;
}

.company-brand__text span {
    margin-top: 5px;
    color: var(--color-muted);
    font-size: 0.73rem;
}

.network-brand {
    display: grid;
    min-width: max-content;
    margin-left: 8px;
    padding-left: 28px;
    border-left: 1px solid var(--color-border);
    line-height: 1.2;
    /* Secondary weight vs partner brand */
    opacity: 0.92;
}

.network-brand__descriptor {
    color: var(--color-muted);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.network-brand strong {
    margin-top: 4px;
    color: var(--color-ink);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.network-brand__official-logo {
    width: auto;
    max-width: 190px;
    height: 38px;
    object-fit: contain;
    object-position: left center;
}

.primary-navigation {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.primary-navigation a {
    color: var(--color-text);
    font-size: 0.92rem;
    text-decoration: none;
    transition: color var(--transition);
}

.primary-navigation a:hover {
    color: var(--color-red);
}

/* legacy phone block replaced by .header-call */

.notification-wrap {
    padding-top: 18px;
}

.notification {
    padding: 15px 18px;
    border: 1px solid #acd5b5;
    border-radius: var(--radius-small);
    background: #edf9ef;
    color: #245c31;
}

/* Первый экран */
.hero {
    overflow: hidden;
    padding: clamp(72px, 10vw, 138px) 0;
    background:
        linear-gradient(
            110deg,
            var(--color-surface-warm) 0%,
            var(--color-white) 70%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.7fr);
    align-items: center;
    gap: clamp(50px, 8vw, 110px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--color-muted);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

.eyebrow::before {
    width: 18px;
    height: 2px;
    margin-right: 10px;
    border-radius: 999px;
    background: var(--color-yellow);
    opacity: .95;
    content: "";
}

.hero-lead {
    max-width: 720px;
    margin-bottom: 36px;
    color: var(--color-text);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%);
    transition:
        transform 320ms var(--ease-out),
        background-color 320ms var(--ease-out),
        border-color 320ms var(--ease-out),
        color 320ms var(--ease-out),
        box-shadow 320ms var(--ease-out),
        filter 320ms var(--ease-out);
}

.button::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 20%, rgb(255 255 255 / 22%), transparent 80%);
    transform: translateX(-120%);
    transition: transform 620ms var(--ease-out);
    content: "";
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.button:hover::after {
    transform: translateX(120%);
}

.button:active {
    transform: translateY(0) scale(.985);
    filter: brightness(.98);
}

.button--ghost {
    border-color: rgb(255 255 255 / 16%);
    background: rgb(255 255 255 / 6%);
    color: #e8ecf5;
    box-shadow: none;
}

.button--ghost:hover {
    border-color: rgb(255 255 255 / 28%);
    background: rgb(255 255 255 / 10%);
}

.button--primary {
    background: linear-gradient(180deg, #c8333c 0%, var(--color-red) 100%);
    color: var(--color-white);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 14%),
        0 10px 24px rgb(180 35 44 / 18%);
}

.button--primary:hover {
    background: linear-gradient(180deg, #b4232c 0%, var(--color-red-hover) 100%);
}

.button--secondary {
    border-color: var(--color-border-strong);
    background: rgb(255 255 255 / 86%);
    color: var(--color-ink);
    backdrop-filter: blur(10px);
}

.button--secondary:hover {
    border-color: rgb(15 23 42 / 28%);
    box-shadow: var(--shadow-small);
}

.button--dark {
    background: linear-gradient(180deg, #1c2230, var(--color-ink));
    color: var(--color-white);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 12%),
        0 16px 40px rgb(8 10 20 / 18%);
}

.button--dark:hover {
    background: #222836;
}

.button--full {
    width: 100%;
}

.button:disabled {
    transform: none;
    cursor: wait;
    opacity: 0.65;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0 0;
    padding: 0;
    gap: 10px 24px;
    list-style: none;
}

.hero-points li {
    position: relative;
    padding-left: 19px;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.hero-points li::before {
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 7px;
    height: 7px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--color-yellow);
    box-shadow: 0 0 0 1px rgb(25 27 32 / 16%);
    content: "";
}

.hero-panel {
    position: relative;
    padding: 38px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
}

.hero-panel__accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 86px;
    height: 10px;
    border-radius: 0 0 0 10px;
    background: var(--color-yellow);
}

.hero-panel__caption {
    margin-bottom: 28px;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-panel__list {
    display: grid;
    margin: 0 0 28px;
    padding: 0;
    gap: 21px;
    list-style: none;
}

.hero-panel__list li {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 12px;
}

.hero-panel__list span {
    color: var(--color-red);
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-panel__list p {
    margin: 0;
    color: var(--color-ink);
    font-weight: 700;
    line-height: 1.35;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--color-ink);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

/* Общие стили секций */
.section {
    padding: clamp(72px, 9vw, 112px) 0;
}

.section--soft {
    background:
        radial-gradient(circle at 12% 0%, rgb(255 221 0 / 10%), transparent 28%),
        #eef1f6;
    color: var(--color-text);
}

.section--soft h2,
.section--soft h3 {
    color: var(--color-ink);
}

.section--yellow-soft {
    /* Soft warm surface — WCAG-safe for dark text */
    background:
        radial-gradient(circle at 88% 8%, rgb(255 255 255 / 70%), transparent 34%),
        linear-gradient(165deg, #f6f4ee 0%, #efe9d8 48%, #e8e1cf 100%);
}

.section--yellow-soft h2,
.section--yellow-soft h3,
.section--yellow-soft .eyebrow,
.section--yellow-soft p,
.section--yellow-soft li {
    color: #12151c;
}

.section--yellow-soft .price-content > p,
.section--yellow-soft .price-factors li {
    color: #2f3542;
}

.section--yellow-soft .price-factors {
    background: rgb(255 255 255 / 88%);
    border: 1px solid rgb(18 21 28 / 10%);
    box-shadow: var(--shadow-small);
}

.section-heading {
    margin-bottom: 48px;
    display: grid;
    gap: 24px;
}

.section-heading > p {
    max-width: 38rem;
    color: var(--color-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .section-heading {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

.section-heading--compact {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
}

/* Полоса преимуществ */
.trust-strip {
    position: relative;
    padding: 28px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgb(255 255 255 / 72%);
    backdrop-filter: blur(16px);
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.trust-strip__grid article {
    padding: 22px 24px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgb(255 255 255 / 92%), rgb(248 249 252 / 88%));
    box-shadow: var(--shadow-small);
}

.trust-strip__grid article strong {
    display: block;
    font-size: 1.05rem;
    color: var(--color-ink);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.trust-strip__grid article p {
    color: var(--color-muted);
    font-size: 0.92rem;
}

/* Карточки услуг */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(165deg, #fff 0%, #f7f8fb 100%);
    box-shadow: var(--shadow-small);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.service-card::before {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgb(255 221 0 / 0%), rgb(255 221 0 / 70%), transparent);
    content: "";
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgb(15 23 42 / 14%);
    box-shadow: var(--shadow-medium);
}

.service-card__number {
    display: block;
    margin-bottom: 18px;
    color: var(--color-red);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* Отрасли */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.industry-card {
    display: block;
    position: relative;
    text-decoration: none;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(160deg, rgb(255 255 255 / 94%), rgb(255 255 255 / 78%));
    box-shadow: var(--shadow-small);
    backdrop-filter: blur(12px);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.industry-card::after {
    position: absolute;
    right: -20%;
    bottom: -40%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(255 221 0 / 18%), transparent 68%);
    content: "";
    pointer-events: none;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: rgb(255 221 0 / 45%);
    box-shadow: var(--shadow-medium);
}

.industry-card__marker {
    display: block;
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-yellow);
    margin-bottom: 18px;
    opacity: .85;
}

.industry-card h3 {
    margin-bottom: 12px;
    transition: color var(--transition);
}

.industry-card:hover h3 {
    color: var(--color-red);
}

.industry-card p {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.industry-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-ink);
}

.industry-card__link span {
    color: var(--color-red);
    transition: transform var(--transition);
}

.industry-card:hover .industry-card__link span {
    transform: translateX(4px);
}

/* Этапы работы */
.process-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.process-list li {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: linear-gradient(180deg, #fff, #f7f8fb);
    box-shadow: var(--shadow-small);
}

.process-list__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgb(18 21 28 / 10%);
    background: #f3f4f7;
    color: var(--color-ink);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 1rem;
    box-shadow: none;
}

.process-list h3 {
    margin-bottom: 12px;
}

.process-list p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* Стоимость */
.price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.price-content p {
    margin-bottom: 24px;
}

.price-factors {
    padding: 32px;
    border: 1px solid rgb(255 255 255 / 70%);
    background: rgb(255 255 255 / 78%);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(14px);
}

.price-factors ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.price-factors li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.price-factors li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-red);
}

/* Экосистема 1С */
.network-section {
    display: grid;
    gap: 32px;
    padding: clamp(34px, 5vw, 52px);
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 88% 0%, rgb(255 221 0 / 14%), transparent 28%),
        radial-gradient(circle at 8% 100%, rgb(59 90 255 / 18%), transparent 34%),
        linear-gradient(145deg, #12151d, #0a0c12 60%, #151922);
    color: var(--color-white);
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-glow);
}

@media (min-width: 768px) {
    .network-section {
        grid-template-columns: 1.2fr .8fr;
    }
}

.network-section h2 {
    color: var(--color-white);
}

.network-section .eyebrow {
    color: var(--color-yellow);
}

.network-section__content p {
    color: #a8afbd;
}

.network-section__aside {
    display: grid;
    gap: 16px;
    align-content: start;
}

.network-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgb(255 221 0 / 14%), rgb(255 255 255 / 4%));
}

.network-badge__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 42px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgb(232 197 71 / 35%);
    background: rgb(232 197 71 / 12%);
    color: #e8c547;
    font-weight: 800;
    letter-spacing: -.04em;
    box-shadow: none;
}

.network-badge__text {
    display: grid;
    gap: 2px;
    color: #f4f6fb;
    font-weight: 700;
    letter-spacing: -.02em;
}

.network-badge__text small {
    color: #a7afbf;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.network-section__note {
    background: rgb(255 255 255 / 5%);
    padding: 24px;
    border-radius: var(--radius-medium);
    border: 1px solid rgb(255 255 255 / 8%);
    border-left: 3px solid var(--color-yellow);
    backdrop-filter: blur(10px);
}

.network-section__note span {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-white);
}

.network-section__note p {
    font-size: 0.9rem;
    color: #a1a4ac;
    margin: 0;
}

/* Отзывы */
.reviews-intro {
    display: grid;
    gap: 24px;
    text-align: center;
    justify-items: center;
}

.reviews-intro p {
    max-width: 600px;
    color: var(--color-muted);
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgb(18 21 28 / 12%);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: none;
    transition: border-color var(--transition), background-color var(--transition);
}

.faq-item[open] {
    border-color: rgb(18 21 28 / 18%);
    background: #fbfbfc;
    box-shadow: none;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    cursor: pointer;
    color: var(--color-ink);
}

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

.faq-item summary span {
    display: block;
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    border: 1px solid rgb(18 21 28 / 14%);
    border-radius: 8px;
    background: #f4f5f7;
}

.faq-item summary span::before,
.faq-item summary span::after {
    content: "";
    position: absolute;
    background: #4a5160;
    transition: transform var(--transition), opacity var(--transition);
}

.faq-item summary span::before {
    top: 13px;
    left: 7px;
    right: 7px;
    height: 2px;
}

.faq-item summary span::after {
    top: 7px;
    bottom: 7px;
    left: 13px;
    width: 2px;
}

.faq-item[open] summary span::after {
    opacity: 0;
    transform: scaleY(0);
}

.faq-item__answer {
    padding: 0 24px 24px;
    color: var(--color-muted);
}

/* Контакты и форма — full-bleed concierge shell */
.contact-section {
    padding: clamp(48px, 7vw, 96px) 0 !important;
    background:
        radial-gradient(circle at 18% 20%, rgb(255 221 0 / 10%), transparent 28%),
        radial-gradient(circle at 88% 70%, rgb(59 90 255 / 14%), transparent 30%),
        linear-gradient(160deg, #0b0e16, #121722 55%, #0a0c12) !important;
    color: #e8ecf5;
}

#main-content > .contact-section {
    background:
        radial-gradient(circle at 18% 20%, rgb(255 221 0 / 10%), transparent 28%),
        radial-gradient(circle at 88% 70%, rgb(59 90 255 / 14%), transparent 30%),
        linear-gradient(160deg, #0b0e16, #121722 55%, #0a0c12) !important;
    color: #e8ecf5 !important;
}

#main-content > .contact-section h2,
#main-content > .contact-section h3 {
    color: #f4f6fb !important;
}

#main-content > .contact-section p {
    color: #c5ccda !important;
}

#main-content > .section .network-section h2 {
    color: #ffffff !important;
}

#main-content > .section .network-section p {
    color: #a8afbd !important;
}

.contact-shell {
    width: min(calc(100% - 16px), 1560px);
    margin-inline: auto;
    position: relative;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: clamp(24px, 3vw, 36px);
    background: rgb(255 255 255 / 4%);
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.contact-shell__glow {
    position: absolute;
    inset: auto -10% -30% 40%;
    height: 70%;
    background: radial-gradient(circle, rgb(255 221 0 / 16%), transparent 60%);
    pointer-events: none;
}

.contact-shell__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 28px;
}

@media (min-width: 980px) {
    .contact-shell__grid {
        grid-template-columns: 1.05fr .95fr;
        gap: 34px;
        align-items: stretch;
    }
}

.contact-content h2 {
    color: #f4f6fb;
}

.contact-content > p {
    color: #aeb6c7;
    margin-bottom: 24px;
    max-width: 36rem;
}

.contact-points {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.contact-points li {
    position: relative;
    padding-left: 18px;
    color: #c5ccda;
    font-size: .95rem;
}

.contact-points li::before {
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-yellow);
    box-shadow: 0 0 12px rgb(255 221 0 / 55%);
    content: "";
}

.contact-direct {
    display: grid;
    gap: 12px;
}

.contact-direct a {
    display: grid;
    gap: 4px;
    text-decoration: none;
    padding: 16px 18px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 18px;
    background: rgb(255 255 255 / 4%);
    transition:
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.contact-direct a:hover {
    border-color: rgb(255 221 0 / 35%);
    background: rgb(255 255 255 / 8%);
    transform: translateY(-2px);
}

.contact-direct span {
    display: block;
    font-size: 0.72rem;
    color: #8b93a5;
    font-family: var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-direct strong {
    font-size: 1.02rem;
    color: #f3f5fa;
    letter-spacing: -.02em;
}

.contact-form {
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 28px;
    background:
        linear-gradient(165deg, rgb(20 24 36 / 92%), rgb(12 14 22 / 88%));
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 8%),
        0 30px 80px rgb(0 0 0 / 28%);
    display: grid;
    gap: 16px;
    backdrop-filter: blur(18px);
}

.contact-form--carousel {
    min-height: 420px;
}

.form-carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.form-steps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-steps__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(255 255 255 / 18%);
    transition: background 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}

.form-steps__dot.is-active {
    background: var(--color-yellow);
    box-shadow: 0 0 16px rgb(255 221 0 / 55%);
}

.form-steps__line {
    width: 28px;
    height: 1px;
    background: rgb(255 255 255 / 16%);
}

.form-carousel-caption {
    margin: 0;
    color: #8f97a8;
    font: 500 11px/1 var(--font-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.form-stage {
    position: relative;
    min-height: 280px;
}

.form-panel {
    display: grid;
    gap: 16px;
    transition:
        opacity 420ms var(--ease-out),
        transform 420ms var(--ease-out),
        filter 420ms var(--ease-out);
}

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

.form-panel.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

.form-panel.is-leaving {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, -14px, 0) scale(.98);
    filter: blur(8px);
    pointer-events: none;
}

.form-panel.is-entering {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(.985);
    filter: blur(10px);
}

.form-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
}

.contact-form .field label {
    color: #d7dce8;
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
    border-color: rgb(255 255 255 / 12%);
    background: rgb(255 255 255 / 5%);
    color: #f4f6fb;
}

.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder {
    color: #7f8798;
}

.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus {
    border-color: rgb(255 221 0 / 45%);
    background: rgb(255 255 255 / 8%);
    box-shadow: 0 0 0 4px rgb(255 221 0 / 12%);
}

.contact-form .consent-field {
    color: #9aa3b5;
}

.contact-form .consent-field a {
    color: #f0f3fa;
}

.contact-form .form-note {
    color: #7f8798;
    text-align: left;
}

.contact-form .form-status[data-type="success"] {
    color: #9be7b0;
}

.contact-form .form-status[data-type="error"] {
    color: #ff8f9a;
}

.contact-form .button--full span,
.contact-form .button span {
    transition: transform 280ms var(--ease-out);
}

.contact-form .button:hover span {
    transform: translateX(3px);
}

.form-honeypot {
    display: none;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-ink);
    display: flex;
    justify-content: space-between;
}

.field label span {
    color: var(--color-muted);
    font-weight: 400;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border-strong);
    border-radius: 16px;
    background: rgb(255 255 255 / 92%);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background-color var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgb(225 29 46 / 45%);
    background: #fff;
    box-shadow: 0 0 0 4px rgb(225 29 46 / 10%);
}

.consent-field {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    font-size: 0.8rem;
    color: var(--color-muted);
    cursor: pointer;
}

.consent-field input {
    margin-top: 4px;
}

.consent-field a {
    color: var(--color-ink);
    text-decoration: underline;
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-muted);
    text-align: center;
}

.form-status {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.form-status[data-type="success"] {
    color: #245c31;
}

.form-status[data-type="error"] {
    color: var(--color-red);
}

/* Подвал */
.site-footer {
    background: var(--color-surface);
    padding: 64px 0 32px;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.footer-column h2 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-ink);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.footer-column a {
    text-decoration: none;
    color: var(--color-text);
    transition: color var(--transition);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--color-red);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    display: grid;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--color-muted);
}

@media (min-width: 768px) {
    .footer-bottom {
        grid-template-columns: auto 1fr;
        align-items: start;
        gap: 48px;
    }
    .footer-bottom p:last-child {
        text-align: right;
    }
}

/* Мобильное меню / actions */
.menu-button {
    display: none;
}

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .network-brand {
        display: none;
    }

    .primary-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 120;
        padding: 18px 16px 22px;
        border-bottom: 1px solid var(--story-line);
        background: rgb(10 12 18 / 98%);
        box-shadow: 0 24px 60px rgb(0 0 0 / 35%);
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        backdrop-filter: blur(18px);
    }

    .primary-navigation[data-open] {
        display: flex;
    }

    .primary-navigation > a {
        padding: 14px 12px;
        border-radius: 14px;
        color: #e8ecf5;
        font-weight: 600;
    }

    .primary-navigation > a:hover {
        background: rgb(255 255 255 / 6%);
        color: var(--color-yellow);
    }

    .nav-mobile-contacts {
        display: grid;
        gap: 12px;
        margin-top: 12px;
        padding-top: 14px;
        border-top: 1px solid rgb(255 255 255 / 10%);
    }

    .nav-mobile-contacts__call {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        border-radius: 14px;
        background: var(--color-red);
        color: #fff;
        font-weight: 700;
        text-decoration: none;
    }

    .nav-mobile-contacts__row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }

    .nav-chip {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        border: 1px solid rgb(255 255 255 / 14%);
        border-radius: 12px;
        background: rgb(255 255 255 / 6%);
        font-weight: 700;
        text-decoration: none;
        color: #e8ecf3;
    }

    .nav-chip--wa,
    .nav-chip--tg {
        background: rgb(255 255 255 / 6%);
    }

    .header-actions {
        gap: 8px;
    }

    .header-call {
        padding: 0;
        width: 42px;
        height: 42px;
        justify-content: center;
        border-radius: 12px;
        background: rgb(255 255 255 / 7%);
        border-color: rgb(255 255 255 / 12%);
    }

    .header-call svg {
        color: #e8c547;
    }

    .header-call__text {
        display: none;
    }

    /* Mobile header: call + menu only — less competition */
    .header-msg {
        display: none !important;
    }

    .menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: rgb(255 255 255 / 8%);
        border: 1px solid rgb(255 255 255 / 10%);
        cursor: pointer;
        color: #fff;
    }

    .menu-button__label {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .menu-button__icon {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 18px;
    }

    .menu-button__icon span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        transition: var(--transition);
        transform-origin: center;
    }

    .menu-button[aria-expanded="true"] .menu-button__icon span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-button[aria-expanded="true"] .menu-button__icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-button[aria-expanded="true"] .menu-button__icon span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .company-brand__text span {
        display: none;
    }

}

@media (min-width: 981px) {
    .header-call__text span {
        display: block;
    }
}

/* Scroll-story: «Из хаоса — в порядок» */
:root {
    --story-bg: #0b0d12;
    --story-slate: #141822;
    --story-panel: rgb(255 255 255 / 6%);
    --story-line: rgb(255 255 255 / 10%);
    --story-muted: #9aa1b0;
    --story-warm: #d4b56a;
    --scene-progress: 0;
}

body {
    background:
        radial-gradient(circle at top, #121722 0%, var(--story-bg) 42%);
}

.site-header {
    --compact: 0;
    border-bottom-color: rgb(255 255 255 / calc(10% + 4% * var(--compact)));
    background: rgb(7 8 12 / calc(62% + 28% * var(--compact)));
    color: var(--color-white);
    backdrop-filter: blur(calc(14px + 8px * var(--compact))) saturate(140%);
    box-shadow: 0 calc(8px * var(--compact)) calc(40px * var(--compact)) rgb(0 0 0 / calc(28% * var(--compact)));
    min-height: calc(84px - 22px * var(--compact));
    transition: none;
}

.site-header .header-inner {
    min-height: inherit;
    transition: none;
}

.site-header .company-brand__mark {
    width: calc(48px - 4px * var(--compact));
    height: calc(48px - 4px * var(--compact));
    border-radius: 50%;
}

.site-header .network-brand {
    border-left-color: rgb(255 255 255 / 12%);
    opacity: 0.88;
}

.site-header .network-brand strong {
    font-weight: 600;
    font-size: 0.78rem;
}

.site-header .company-brand__text span,
.site-header .network-brand__descriptor {
    opacity: calc(1 - var(--compact) * 0.85);
    max-height: calc(2.2em * (1 - var(--compact)));
    overflow: hidden;
}

.site-header.is-compact {
    /* class kept for legacy hooks; motion is --compact driven */
}

/* Header only: light text on dark bar */
.site-header .company-brand__text strong,
.site-header .network-brand strong {
    color: #f4f6fa;
}

.site-header .company-brand__text span,
.site-header .network-brand__descriptor {
    color: var(--story-muted);
}

/* Footer / light surfaces: dark readable text */
.site-footer .company-brand__text strong,
.company-brand--footer .company-brand__text strong {
    color: #12151c !important;
}

.site-footer .company-brand__text span,
.company-brand--footer .company-brand__text span {
    color: #5b6472 !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
}

.site-footer .company-brand__mark {
    border-radius: 50%;
}

.network-brand {
    border-left-color: var(--story-line);
}

.primary-navigation a {
    color: #d5d8df;
}

.primary-navigation a:hover {
    color: var(--color-yellow);
}

.intro {
    position: relative;
    min-height: min(920px, calc(100svh - 1px));
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgb(232 197 71 / 7%), transparent 18rem),
        radial-gradient(circle at 18% 78%, rgb(70 90 140 / 12%), transparent 28rem),
        radial-gradient(circle at 55% 50%, rgb(255 255 255 / 3%), transparent 26rem),
        linear-gradient(150deg, #0b0d12 0%, #141822 48%, #0b0d12 100%);
    color: var(--color-white);
}

.intro::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at 70% 40%, #000 10%, transparent 72%);
    opacity: .35;
    content: "";
}

.intro::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgb(7 8 12 / 55%) 0%, rgb(7 8 12 / 18%) 42%, rgb(7 8 12 / 55%) 100%),
        linear-gradient(180deg, transparent 60%, rgb(7 8 12 / 55%));
    content: "";
}

.intro__mesh,
.intro__mesh::before,
.intro__mesh::after {
    position: absolute;
    pointer-events: none;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 50%;
    content: "";
}

.intro__mesh {
    top: 8%;
    right: -12%;
    width: min(70vw, 780px);
    height: min(70vw, 780px);
    transform: rotate(-18deg);
    opacity: .55;
    box-shadow:
        inset 0 0 80px rgb(255 221 0 / 5%),
        0 0 120px rgb(59 90 255 / 12%);
    animation: introMeshDrift 18s ease-in-out infinite alternate;
}

.intro__stage {
    position: absolute;
    z-index: 0;
    top: 8%;
    right: max(-4%, -40px);
    width: min(54vw, 640px);
    height: min(72vh, 620px);
    pointer-events: none;
}

.intro__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.intro__orbit--a {
    width: 92%;
    height: 62%;
    border-color: rgb(232 197 71 / 18%);
    animation: introOrbitSpin 22s linear infinite;
}

.intro__orbit--b {
    width: 70%;
    height: 46%;
    border-color: rgb(255 255 255 / 14%);
    animation: introOrbitSpin 16s linear infinite reverse;
}

.intro__orbit--c {
    width: 46%;
    height: 30%;
    border-color: rgb(99 120 255 / 28%);
    animation: introOrbitSpin 12s linear infinite;
}

.intro__glow {
    position: absolute;
    top: 28%;
    left: 30%;
    width: 42%;
    height: 42%;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(232 197 71 / 12%), transparent 70%);
    filter: blur(10px);
    animation: introGlowPulse 4.5s ease-in-out infinite;
}

.intro__stack {
    position: absolute;
    right: 18%;
    bottom: 18%;
    width: 150px;
    height: 110px;
}

.intro__stack span {
    position: absolute;
    inset: auto 0 0 0;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgb(255 255 255 / 18%), rgb(255 255 255 / 6%));
    box-shadow: 0 10px 30px rgb(0 0 0 / 25%);
    animation: introStackSettle 3.6s ease-in-out infinite;
}

.intro__stack span:nth-child(1) {
    bottom: 0;
    transform: rotate(-2deg);
    animation-delay: 0s;
}

.intro__stack span:nth-child(2) {
    bottom: 14px;
    transform: rotate(1.5deg) scaleX(.96);
    animation-delay: .2s;
}

.intro__stack span:nth-child(3) {
    bottom: 28px;
    transform: rotate(-1deg) scaleX(.9);
    background: linear-gradient(90deg, rgb(255 221 0 / 45%), rgb(255 255 255 / 10%));
    animation-delay: .4s;
}

@keyframes introOrbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes introGlowPulse {
    0%, 100% { opacity: .45; transform: scale(1); }
    50% { opacity: .9; transform: scale(1.08); }
}

@keyframes introStackSettle {
    0%, 100% { transform: translateY(0) rotate(var(--r, -2deg)); }
    50% { transform: translateY(-6px) rotate(var(--r, -2deg)); }
}

.intro__mesh::before {
    inset: 12%;
    transform: rotate(18deg);
    border-color: rgb(255 221 0 / 16%);
}

.intro__mesh::after {
    inset: 24%;
    transform: rotate(34deg);
    border-color: rgb(255 255 255 / 8%);
}

.intro__inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: inherit;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 108px;
    padding-bottom: 96px;
}

.intro__copy {
    max-width: 740px;
}

.intro .eyebrow {
    color: #b7becc;
}

.intro .eyebrow::before {
    background: var(--color-yellow);
}

.intro h1 {
    margin-bottom: 28px;
    color: #f3f5f9;
    font-size: clamp(3.2rem, 8.2vw, 7rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .92;
    text-wrap: balance;
}

.intro h1 em {
    color: #e8c547;
    font-style: normal;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    filter: none;
}

.intro__lead {
    max-width: 34rem;
    margin-bottom: 36px;
    color: #c4cad8;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    font-weight: 500;
    line-height: 1.65;
}

.intro__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
}

.intro__text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #d7dce8;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition), gap var(--transition);
}

.intro__text-link:hover {
    color: #fff;
    gap: 14px;
}

.intro__text-link span {
    color: var(--color-yellow);
    font-size: 1.15rem;
}

.intro__signal {
    display: grid;
    justify-items: center;
    gap: 12px;
    align-self: flex-end;
    color: #7f8798;
    font: 500 10px/1.2 var(--font-mono);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.intro__signal-line {
    width: 1px;
    height: 88px;
    background: linear-gradient(var(--color-yellow), transparent);
    animation: signalPulse 2.4s var(--ease-out) infinite;
}

.intro__signal-arrow {
    color: var(--color-yellow);
    font-size: 1.15rem;
}

@keyframes signalPulse {
    0%, 100% { opacity: .35; transform: scaleY(.86); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

.intro__paper {
    position: absolute;
    width: 150px;
    height: 210px;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 4px;
    background:
        linear-gradient(145deg, rgb(255 255 255 / 14%), rgb(255 255 255 / 3%));
    box-shadow:
        0 30px 80px rgb(0 0 0 / 28%),
        inset 0 1px 0 rgb(255 255 255 / 18%);
    opacity: .72;
    backdrop-filter: blur(2px);
}

.intro__paper::after {
    position: absolute;
    top: 28px;
    left: 24px;
    width: 56%;
    height: 2px;
    background: rgb(255 221 0 / 75%);
    box-shadow: 0 18px 0 rgb(255 255 255 / 14%), 0 36px 0 rgb(255 255 255 / 10%), 0 54px 0 rgb(255 255 255 / 7%);
    content: "";
}

.intro__stage .intro__paper {
    position: absolute;
}

.intro__paper--one {
    top: 12%;
    right: 8%;
    transform: rotate(22deg);
    animation: introPaperFloatA 9s ease-in-out infinite alternate;
}
.intro__paper--two {
    right: 38%;
    bottom: 22%;
    opacity: .5;
    animation: introPaperFloatB 11s ease-in-out infinite alternate;
}
.intro__paper--three {
    top: 28%;
    right: 48%;
    opacity: .38;
    animation: introPaperFloatC 13s ease-in-out infinite alternate;
}
.intro__paper--four {
    top: 48%;
    right: 6%;
    width: 120px;
    height: 168px;
    opacity: .4;
    transform: rotate(-26deg) scale(.7);
    animation: introPaperFloatA 10s ease-in-out infinite alternate-reverse;
}

@keyframes introMeshDrift {
    0% { transform: rotate(-18deg) translate3d(0, 0, 0) scale(1); }
    100% { transform: rotate(-12deg) translate3d(-18px, 22px, 0) scale(1.04); }
}

@keyframes introPaperFloatA {
    0% { transform: rotate(22deg) translate3d(0, 0, 0); }
    100% { transform: rotate(28deg) translate3d(-12px, 18px, 0); }
}

@keyframes introPaperFloatB {
    0% { transform: rotate(-16deg) scale(.78) translate3d(0, 0, 0); }
    100% { transform: rotate(-8deg) scale(.78) translate3d(14px, -16px, 0); }
}

@keyframes introPaperFloatC {
    0% { transform: rotate(-10deg) scale(.58) translate3d(0, 0, 0); opacity: .3; }
    100% { transform: rotate(-18deg) scale(.62) translate3d(-10px, 14px, 0); opacity: .42; }
}

.scroll-scene {
    position: relative;
    /* Longer track = slower scrub = smoother perceived motion */
    min-height: 420vh;
    background: var(--story-bg);
}

.scroll-scene__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 640px;
    overflow: hidden;
    background: var(--story-bg);
    isolation: isolate;
}

.scroll-scene__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 40%, rgb(59 90 255 / 18%), transparent 34%),
        radial-gradient(circle at 24% 70%, rgb(255 221 0 / 7%), transparent 28%),
        var(--story-bg);
}

.scroll-scene__video,
.scroll-scene__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-scene__video {
    z-index: 1;
    opacity: 0;
    filter: saturate(1.05) contrast(1.04);
    transform: scale(1.03);
    transition: opacity 900ms var(--ease-out);
    will-change: opacity;
}

.scroll-scene__video.is-ready {
    opacity: .96;
}

.scroll-scene__fallback {
    z-index: 0;
    overflow: hidden;
    opacity: 1;
    transition: opacity 700ms var(--ease-out);
}

.scroll-scene__sticky.has-video .scroll-scene__fallback {
    opacity: 0;
}

.scroll-scene__sticky.has-video .scroll-scene__video {
    opacity: .96;
}

.scroll-scene__sticky::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgb(7 8 12 / 78%) 0%, rgb(7 8 12 / 28%) 38%, rgb(7 8 12 / 52%) 100%),
        linear-gradient(180deg, rgb(7 8 12 / 35%) 0%, transparent 28%, transparent 72%, rgb(7 8 12 / 55%) 100%);
    content: "";
}

@media (max-width: 700px) {
    .scroll-scene__video {
        object-position: 58% center;
    }

    .scroll-scene__sticky::after {
        background:
            linear-gradient(180deg, rgb(7 8 12 / 55%) 0%, rgb(7 8 12 / 22%) 35%, rgb(7 8 12 / 72%) 100%);
    }
}

.fallback-paper {
    position: absolute;
    width: clamp(110px, 14vw, 230px);
    aspect-ratio: .72;
    border: 1px solid rgb(255 255 255 / 13%);
    background: linear-gradient(135deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 2%));
    box-shadow: 0 30px 80px rgb(0 0 0 / 25%);
}

.fallback-paper::after {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 55%;
    height: 2px;
    background: var(--color-yellow);
    box-shadow: 0 22px 0 rgb(255 255 255 / 14%), 0 44px 0 rgb(255 255 255 / 8%);
    content: "";
}

.fallback-paper--a { top: 13%; left: 12%; transform: rotate(28deg); }
.fallback-paper--b { top: 31%; right: 14%; transform: rotate(-22deg) scale(.8); }
.fallback-paper--c { bottom: 11%; left: 30%; transform: rotate(-8deg) scale(.65); }
.fallback-paper--d { top: 18%; right: 34%; transform: rotate(64deg) scale(.48); }

.fallback-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 66vw;
    height: 30vw;
    border: 1px solid rgb(255 221 0 / 22%);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-18deg);
}

.fallback-orbit--two {
    width: 48vw;
    height: 19vw;
    border-color: rgb(255 255 255 / 11%);
    transform: translate(-50%, -50%) rotate(24deg);
}

.scroll-scene__content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding-top: clamp(105px, 14vh, 150px);
    pointer-events: none;
}

.scene-phase {
    --phase-opacity: 0;
    --phase-y: 30vh;
    --phase-x: 0px;
    --phase-scale: 0.97;
    --phase-blur: 0;
    position: absolute;
    top: 50%;
    left: max(24px, 5vw);
    width: min(560px, 48vw);
    padding: 34px 36px 36px;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 30px;
    background:
        linear-gradient(160deg, rgb(12 14 20 / 72%), rgb(12 14 20 / 48%));
    box-shadow:
        0 30px 80px rgb(0 0 0 / 35%),
        inset 0 1px 0 rgb(255 255 255 / 12%);
    backdrop-filter: blur(16px) saturate(130%);
    opacity: var(--phase-opacity);
    filter: blur(calc(var(--phase-blur) * 1px));
    transform:
        translate3d(var(--phase-x), calc(-50% + var(--phase-y)), 0)
        scale(var(--phase-scale));
    will-change: transform, opacity, filter;
    pointer-events: none;
}

.scene-phase.is-active {
    border-color: rgb(255 221 0 / 28%);
}

.scene-phase__label {
    margin-bottom: 14px;
    color: #c5ad63;
    font: 600 12px/1.3 var(--font-sans);
    letter-spacing: .06em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgb(0 0 0 / 35%);
}

.scene-phase h2 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(2.6rem, 5.2vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: .98;
    text-shadow: 0 10px 40px rgb(0 0 0 / 45%);
}

.scene-phase > p:last-child {
    max-width: 28ch;
    color: #e4e8f1;
    font-size: clamp(1.12rem, 1.5vw, 1.28rem);
    font-weight: 500;
    line-height: 1.55;
    text-shadow: 0 6px 24px rgb(0 0 0 / 40%);
}

.scene-status {
    position: absolute;
    right: 24px;
    bottom: 42px;
    display: grid;
    gap: 6px;
    justify-items: end;
    color: #c5ccda;
    font: 500 11px/1.2 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    text-shadow: 0 8px 24px rgb(0 0 0 / 55%);
}

.scene-status__hint {
    color: #8b93a5;
    font-size: 10px;
    letter-spacing: .14em;
    opacity: .85;
}

.scroll-scene__progress {
    position: absolute;
    z-index: 4;
    top: 12%;
    right: 18px;
    width: 2px;
    height: 76%;
    overflow: hidden;
    border-radius: 999px;
    background: rgb(255 255 255 / 10%);
}

.scroll-scene__progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top center;
    background: linear-gradient(180deg, var(--color-yellow), rgb(255 221 0 / 20%));
    will-change: transform;
}

.scroll-scene__hint {
    position: absolute;
    z-index: 4;
    right: 36px;
    bottom: 40%;
    color: #858d9d;
    font: 500 10px/1.2 var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.scroll-scene__hint span {
    margin-top: 12px;
    color: var(--color-yellow);
}

.after-scene {
    position: relative;
    z-index: 2;
    padding: 8px 0 96px;
    background:
        linear-gradient(180deg, var(--story-bg), #0b0d13 42%, #eef0f4 78%, #f7f8fb);
}

.after-scene__card {
    display: grid;
    gap: 40px;
    padding: clamp(34px, 6vw, 72px);
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 34px;
    background:
        radial-gradient(circle at 8% 0%, rgb(255 221 0 / 28%), transparent 18rem),
        radial-gradient(circle at 90% 100%, rgb(255 255 255 / 70%), transparent 18rem),
        linear-gradient(145deg, #fffdf6, #f2e8cf 55%, #e8d9b4);
    color: var(--color-ink);
    box-shadow:
        0 40px 120px rgb(0 0 0 / 35%),
        inset 0 1px 0 rgb(255 255 255 / 75%);
}

.after-scene__card h2 {
    margin-bottom: 0;
    font-size: clamp(2.1rem, 4.8vw, 4.1rem);
    letter-spacing: -.05em;
    line-height: 1.02;
}

.after-scene .eyebrow {
    color: #8a4f12;
}

.after-scene__action {
    max-width: 390px;
    align-self: end;
}

.after-scene__action p {
    margin-bottom: 24px;
    color: #5d564c;
    font-size: 1.02rem;
}

@media (min-width: 768px) {
    .after-scene__card {
        grid-template-columns: 1.35fr .65fr;
        align-items: end;
    }
}

/*
 * Living scroll motion WITHOUT heavy blur:
 * travel + scale + mild opacity. Blur almost gone.
 */
[data-reveal] {
    --focus: 0;
    --drift: 0;
    opacity: calc(0.35 + (var(--focus) * 0.65));
    filter: blur(calc((1 - var(--focus)) * 0.8px));
    transform:
        translate3d(0, calc(var(--drift) * 1px), 0)
        scale(calc(0.92 + (var(--focus) * 0.08)));
    transform-origin: center center;
    will-change: transform, opacity, filter;
}

[data-reveal].is-focused {
    filter: none;
    opacity: 1;
}

/* Next-section peek under story ending */
.after-scene {
    margin-top: -12vh;
    padding-top: 12vh;
}

.story-continue {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    margin-top: -28px;
    margin-bottom: 8px;
    pointer-events: none;
}

.story-continue__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 999px;
    background: rgb(7 8 12 / 55%);
    color: #c5ccda;
    font: 500 11px/1 var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.story-continue__chip span {
    color: var(--color-yellow);
}

/* Content band: solid light surfaces (never transparent over dark body) */
#main-content > .section,
#main-content > .trust-strip,
.legal-page {
    background:
        linear-gradient(180deg, #ffffff, #f7f8fb);
    color: var(--color-text);
}

#main-content > .section--soft,
.section.section--soft {
    background:
        radial-gradient(circle at 12% 0%, rgb(255 221 0 / 12%), transparent 30%),
        linear-gradient(180deg, #f3f5f9, #e9edf4) !important;
    color: var(--color-text);
}

#main-content > .section--yellow-soft,
.section.section--yellow-soft {
    background:
        radial-gradient(circle at 88% 8%, rgb(255 255 255 / 72%), transparent 34%),
        linear-gradient(165deg, #f7f5ef 0%, #efe9da 50%, #e7e0cf 100%) !important;
    color: #12151c;
}

#main-content > .section--yellow-soft h2,
#main-content > .section--yellow-soft h3 {
    color: #12151c !important;
}

#main-content > .section--yellow-soft p,
#main-content > .section--yellow-soft li {
    color: #2f3542 !important;
}

#main-content > .section h1,
#main-content > .section h2,
#main-content > .section h3,
#main-content > .trust-strip strong {
    color: var(--color-ink);
}

#main-content > .section p,
#main-content > .section li,
#main-content > .section .section-heading > p {
    color: #3d4450;
}

.section--soft .heading-strong,
.section--soft h2,
.heading-strong {
    color: #07090f !important;
    -webkit-text-fill-color: #07090f;
    text-shadow: none;
}

.industry-card h3,
.service-card h3,
.process-list h3,
.faq-item summary,
.price-content h2,
.price-factors h3 {
    color: var(--color-ink) !important;
}

.industry-card p,
.service-card p,
.process-list p,
.faq-item__answer,
.price-content > p,
.trust-strip__grid article p {
    color: #4a5160 !important;
}

.section .eyebrow {
    color: var(--color-muted);
}

.section .eyebrow::before {
    background: var(--color-yellow);
}

.site-footer {
    background:
        radial-gradient(circle at 50% 0%, rgb(255 221 0 / 8%), transparent 28%),
        #eef0f4;
    border-top: 1px solid var(--color-border);
}

@media (max-width: 980px) {
    .intro__inner {
        align-items: flex-end;
        padding-bottom: 72px;
    }

    .intro__stage {
        top: auto;
        right: -18%;
        bottom: 8%;
        width: min(88vw, 420px);
        height: 46vh;
        opacity: .55;
    }

    .intro__signal {
        display: none;
    }

    .scene-phase {
        left: 14px;
        width: calc(100% - 28px);
        max-width: none;
        padding: 22px 20px;
    }

    .scene-phase h2 {
        font-size: clamp(2rem, 8.5vw, 2.8rem);
    }

    .scene-phase > p:last-child {
        font-size: 1rem;
        max-width: none;
    }

    .scroll-scene {
        min-height: 300vh;
    }

    .scene-status {
        display: none;
    }

    .scroll-scene__progress {
        display: none;
    }

    .story-continue {
        display: none;
    }

    .network-section {
        grid-template-columns: 1fr !important;
        padding: 22px 18px !important;
        gap: 16px !important;
        overflow: hidden;
    }

    .network-section h2 {
        font-size: clamp(1.7rem, 7vw, 2.2rem) !important;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .network-section__content p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .network-section__aside {
        gap: 12px;
    }

    .network-badge {
        flex-wrap: wrap;
    }

    .network-badge__text {
        min-width: 0;
    }

    .faq-item summary {
        padding: 18px 16px;
        font-size: 1rem;
        align-items: flex-start;
    }

    .faq-item summary span {
        margin-top: 2px;
    }

    .faq-item__answer {
        padding: 0 16px 18px;
    }

    .section-heading--compact {
        text-align: left;
        max-width: none;
        margin-inline: 0;
    }

    .contact-shell {
        width: calc(100% - 12px);
        padding: 16px 12px;
        border-radius: 22px;
    }

    .contact-shell__grid {
        gap: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
    .scroll-scene { min-height: 100svh; }
    [data-reveal] {
        --focus: 1;
        opacity: 1;
        filter: none;
        transform: none;
    }
    .intro__mesh,
    .intro__orbit,
    .intro__glow,
    .intro__stack span,
    .intro__paper--one,
    .intro__paper--two,
    .intro__paper--three,
    .intro__paper--four {
        animation: none !important;
    }
    .scene-phase {
        --phase-blur: 0;
        filter: none;
    }
}

@media (max-width: 700px) {
    [data-reveal] {
        filter: blur(calc((1 - var(--focus)) * 0.5px));
        transform:
            translate3d(0, calc(var(--drift) * 0.55px), 0)
            scale(calc(0.95 + (var(--focus) * 0.05)));
    }

    .scene-phase {
        left: 14px;
        width: calc(100% - 28px);
        padding: 26px 24px;
    }

    .scene-phase h2 {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .form-actions {
        grid-template-columns: 1fr;
    }

    .contact-form--carousel {
        min-height: 0;
    }
}

/* Legal pages */
.legal-page {
    background: var(--color-white);
    color: var(--color-text);
}

.legal-page .section {
    padding-top: 48px;
}

.legal-content {
    max-width: 760px;
}

.legal-content h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.legal-content h2 {
    margin: 36px 0 12px;
    font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
    color: var(--color-muted, #5b6472);
    line-height: 1.65;
}

.legal-content ul {
    margin: 0 0 16px;
    padding-left: 1.2em;
}

.legal-content a {
    color: inherit;
    text-decoration-color: rgb(0 0 0 / 25%);
}

.legal-lead {
    font-size: 1.05rem;
    color: var(--color-text, #17181c) !important;
}

.legal-meta {
    margin-top: 40px;
    font-size: .92rem;
}