:root {
    --bg: #070b14;
    --bg-2: #050813;
    --surface: rgba(12, 22, 38, 0.6);
    --surface-strong: rgba(15, 28, 48, 0.9);
    --surface-soft: rgba(9, 16, 28, 0.45);
    --border: rgba(120, 200, 220, 0.15);
    --accent: #42e6d3;
    --accent-2: #f6d59a;
    --accent-3: #7bd7ff;
    --text: #e6eef8;
    --muted: #9fb0c4;
    --shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
    --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.35);
    --glow: 0 0 24px rgba(78, 240, 218, 0.35);
    --glow-strong: 0 0 36px rgba(78, 240, 218, 0.6);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --radius-xs: 10px;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;

    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --t-fast: 180ms;
    --t-med: 240ms;
    --t-slow: 520ms;

    --focus-ring: 0 0 0 4px rgba(66, 230, 211, 0.18);
    --hairline: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 16%, rgba(66, 230, 211, 0.1) 0%, transparent 46%),
        radial-gradient(circle at 86% 12%, rgba(246, 213, 154, 0.08) 0%, transparent 44%),
        radial-gradient(circle at 50% 120%, rgba(123, 215, 255, 0.08) 0%, transparent 52%),
        linear-gradient(180deg, #070b14 0%, #05060d 100%);
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

.page {
    position: relative;
    overflow-x: hidden;
    padding-top: 88px;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    letter-spacing: 0.01em;
    margin: 0 0 16px;
}

h2 {
    font-size: clamp(30px, 3.35vw, 48px);
    line-height: 1.15;
}

h3 {
    font-size: clamp(18px, 2.05vw, 22px);
    line-height: 1.2;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
    transition: color var(--t-fast) var(--ease-out), opacity var(--t-fast) var(--ease-out);
    line-height: 1.6;
}

::selection {
    background: rgba(66, 230, 211, 0.18);
    color: var(--text);
}

ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text);
    line-height: 1.6;
}

section {
    padding: clamp(72px, 7vw, 108px) 0;
    position: relative;
}

main>section:not(.hero)::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 18%, rgba(66, 230, 211, 0.14) 50%, rgba(255, 255, 255, 0.06) 82%, transparent 100%);
    opacity: 0.7;
    pointer-events: none;
}

.eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(164, 224, 232, 0.9);
    margin-bottom: 16px;
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head p {
    font-size: 17px;
    max-width: 680px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 10px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(6, 10, 20, 0.75);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 24px;
    align-items: center;
    min-height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 16px;
    text-transform: uppercase;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    justify-self: start;
    line-height: 0;
}

.logo__img {
    width: auto;
    height: clamp(36px, 5vw, 52px);
    max-width: 280px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
    border: none;
    box-shadow: none;
    display: block;
}

.logo__text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.logo span {
    color: var(--accent);
    font-weight: 900;
}

.nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--muted);
    justify-self: center;
}

.nav a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 10px;
}

.nav a {
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--t-med) var(--ease-out);
}

.nav a:hover::after {
    width: 100%;
}

.phone-cta {
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(78, 240, 218, 0.1);
    border: 1px solid rgba(78, 240, 218, 0.5);
    box-shadow: var(--glow);
    font-weight: 600;
    font-size: 14px;
    justify-self: end;
    transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}

.phone-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(66, 230, 211, 0.7);
    box-shadow: var(--glow-strong);
}

.phone-cta:focus-visible {
    outline: none;
    box-shadow: var(--glow), var(--focus-ring);
}

.burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    justify-self: end;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 16px 24px 24px;
    background: rgba(6, 12, 20, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero {
    padding-top: 96px;
    overflow: hidden;
}

.section-orb {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 240, 218, 0.3), transparent 65%);
    filter: blur(18px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.section-orb--hero {
    top: -140px;
    right: -120px;
}

.section-orb--services {
    bottom: -120px;
    left: -160px;
    background: radial-gradient(circle, rgba(246, 213, 154, 0.25), transparent 65%);
}

.section-orb--cta {
    top: -120px;
    right: -140px;
    background: radial-gradient(circle, rgba(123, 215, 255, 0.25), transparent 65%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(5, 8, 19, 0.85) 10%, rgba(5, 8, 19, 0.35) 60%),
        url("assets/hero.jpg"),
        radial-gradient(circle at 20% 20%, rgba(78, 240, 218, 0.16), transparent 50%),
        radial-gradient(circle at 80% 10%, rgba(246, 213, 154, 0.12), transparent 50%);
    background-size: cover, cover, auto, auto;
    background-position: center, center, center, center;
    opacity: 0.9;
    z-index: 0;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='0%25' stop-color='%234ef0da' stop-opacity='0.6'/%3E%3Cstop offset='100%25' stop-color='%234ef0da' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='18' cy='22' r='1.4' fill='url(%23g)'/%3E%3Ccircle cx='56' cy='38' r='1' fill='%239bd6d8' fill-opacity='0.5'/%3E%3Ccircle cx='92' cy='24' r='1.2' fill='url(%23g)'/%3E%3Ccircle cx='130' cy='46' r='0.9' fill='%23f6d59a' fill-opacity='0.4'/%3E%3Ccircle cx='26' cy='84' r='1' fill='%239bd6d8' fill-opacity='0.4'/%3E%3Ccircle cx='74' cy='96' r='1.3' fill='url(%23g)'/%3E%3Ccircle cx='118' cy='88' r='1' fill='%239bd6d8' fill-opacity='0.4'/%3E%3Ccircle cx='144' cy='104' r='1.1' fill='url(%23g)'/%3E%3Ccircle cx='44' cy='126' r='0.9' fill='%23f6d59a' fill-opacity='0.35'/%3E%3Ccircle cx='98' cy='136' r='1.4' fill='url(%23g)'/%3E%3Ccircle cx='140' cy='138' r='0.8' fill='%239bd6d8' fill-opacity='0.35'/%3E%3C/svg%3E"),
        radial-gradient(rgba(120, 220, 220, 0.18) 1px, transparent 1px);
    background-size: 220px 220px, 48px 48px;
    background-position: 0 0, 20px 20px;
    opacity: 0.12;
    animation: plankton-drift 22s linear infinite;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: center;
}

.hero__content h1 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
}

.hero__content .lead {
    font-size: 19px;
    color: rgba(230, 238, 248, 0.82);
}

.card h3,
.persona h3,
.why-card h3,
.review h3,
.step h3 {
    font-size: clamp(18px, 1.9vw, 22px);
    margin-bottom: 12px;
}

.card--xl h3 {
    font-size: clamp(20px, 2.2vw, 26px);
}

.hero__actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 22px 0 18px;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.stats-card {
    position: relative;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(12, 20, 36, 0.7);
    border: 1px solid rgba(78, 240, 218, 0.25);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    display: grid;
    gap: 18px;
}

.stat {
    display: grid;
    gap: 6px;
}

.stats-glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 40px rgba(78, 240, 218, 0.15);
    pointer-events: none;
}

.stat__value {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(78, 240, 218, 0.7);
    background: linear-gradient(120deg, rgba(78, 240, 218, 0.15), rgba(246, 213, 154, 0.18));
    -webkit-background-clip: text;
    background-clip: text;
}

.stat__label {
    color: var(--muted);
}

.hero__orbit {
    position: absolute;
    right: -40px;
    bottom: -40px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(78, 240, 218, 0.2);
    border-radius: 50%;
    animation: rotate 18s linear infinite;
}

.orbit--1 {
    width: 140px;
    height: 140px;
    top: 0;
    right: 0;
}

.orbit--2 {
    width: 220px;
    height: 220px;
    top: -40px;
    right: -40px;
    animation-duration: 24s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    position: relative;
    transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), filter var(--t-med) var(--ease-out);
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring), var(--shadow-soft);
}

.btn--primary {
    background: linear-gradient(120deg, rgba(66, 230, 211, 0.92) 0%, rgba(78, 190, 230, 0.88) 55%, rgba(123, 215, 255, 0.78) 100%);
    color: #031116;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 28px rgba(66, 230, 211, 0.22);
}

.btn--primary:hover {
    transform: translateY(-2px) scale(1.015);
    filter: saturate(1.05);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.4), 0 0 38px rgba(66, 230, 211, 0.3);
}

.btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.btn--ghost:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(66, 230, 211, 0.55);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.contact-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    pointer-events: none;
}

.contact-fab__panel {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(7, 12, 22, 0.78);
    border: 1px solid rgba(120, 200, 220, 0.2);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    pointer-events: auto;
}

.contact-fab__title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(189, 226, 233, 0.7);
}

.contact-fab__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 18, 34, 0.75);
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out);
}

.contact-fab__btn img {
    width: 18px;
    height: 18px;
}

.contact-fab__icon {
    width: 18px;
    height: 18px;
    color: var(--text);
}

.contact-fab__btn:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(66, 230, 211, 0.45);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.contact-fab__btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.contact-fab__btn--wa {
    border-color: rgba(70, 220, 165, 0.35);
}

.contact-fab__btn--tg {
    border-color: rgba(123, 215, 255, 0.35);
}

.link {
    color: var(--accent-2);
    font-weight: 600;
}

.link:hover {
    color: var(--accent);
}

.services {
    position: relative;
    overflow: hidden;
}

.bento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: start;
}

.card {
    position: relative;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(120, 200, 220, 0.2);
    background: rgba(9, 16, 28, 0.6);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out);
    height: fit-content;
}

.card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(66, 230, 211, 0.5);
    background: rgba(10, 18, 34, 0.68);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.52), 0 0 24px rgba(66, 230, 211, 0.16);
}

.card:focus-within {
    border-color: rgba(66, 230, 211, 0.55);
    box-shadow: var(--shadow), var(--focus-ring);
}

.card--xl {
    grid-column: span 2;
    background: rgba(10, 18, 34, 0.75);
    align-self: start;
}


.card__index {
    display: none;
}

.card__subtitle {
    color: var(--muted);
    margin-bottom: 18px;
}

.impact {
    padding: 64px 0 56px;
}

.impact__inner {
    display: grid;
    gap: 22px;
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    background: linear-gradient(140deg, rgba(12, 22, 40, 0.9), rgba(7, 12, 22, 0.85));
    border: 1px solid rgba(78, 240, 218, 0.2);
    box-shadow: var(--shadow);
}

.impact__title {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.2;
    color: var(--text);
}

.impact__text {
    font-size: 16px;
    max-width: 720px;
}

.impact__coords {
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(164, 224, 232, 0.7);
}

.impact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.impact__item {
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: rgba(8, 14, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.impact__value {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(78, 240, 218, 0.8);
    background: linear-gradient(120deg, rgba(78, 240, 218, 0.15), rgba(246, 213, 154, 0.2));
    -webkit-background-clip: text;
    background-clip: text;
}

.impact__label {
    color: var(--muted);
    font-size: 14px;
}

.audience__list {
    display: grid;
    gap: 16px;
}

/* ------------------------------ */
/* Практика / кейсы с документами */
/* ------------------------------ */

.practice {
    position: relative;
    overflow: hidden;
}

.practice::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(78, 240, 218, 0.12), transparent 55%),
        radial-gradient(circle at 85% 30%, rgba(123, 215, 255, 0.09), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.practice__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    align-items: start;
    grid-auto-flow: dense;
}

.case-card {
    grid-column: span 6;
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid rgba(120, 200, 220, 0.18);
    background: linear-gradient(160deg, rgba(12, 22, 40, 0.82), rgba(7, 12, 22, 0.7));
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 24px;
    display: grid;
    gap: 16px;
    transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out);
}

.case-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(78, 240, 218, 0.26), transparent 40%, rgba(246, 213, 154, 0.16));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.case-card:hover {
    transform: translateY(-5px) scale(1.008);
    border-color: rgba(66, 230, 211, 0.45);
    box-shadow: var(--shadow), 0 0 32px rgba(66, 230, 211, 0.14);
}

.case-card:hover::after {
    opacity: 0.55;
}

.case-card__head h3 {
    margin-bottom: 10px;
}

.case-card__sub {
    margin: 0;
    max-width: 56ch;
}

.case-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 12, 20, 0.65);
    color: rgba(230, 238, 248, 0.82);
    font-size: 12px;
    letter-spacing: 0.02em;
}

.pill--accent {
    border-color: rgba(78, 240, 218, 0.45);
    color: var(--accent);
    box-shadow: 0 0 18px rgba(78, 240, 218, 0.18);
}

.pill--cold {
    border-color: rgba(123, 215, 255, 0.35);
    color: rgba(180, 230, 255, 0.85);
}

.case-card--hero {
    grid-column: span 7;
    grid-row: span 2;
}

.case-card--side {
    grid-column: span 5;
}

.case-card--wide {
    grid-column: 8 / span 5;
}

.doc-stack {
    --rx: 0deg;
    --ry: 0deg;
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at 25% 20%, rgba(78, 240, 218, 0.08), transparent 55%),
        rgba(6, 10, 20, 0.55);
    overflow: hidden;
    min-height: 240px;
    aspect-ratio: 16 / 10;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    transform-style: preserve-3d;
}

.doc-stack--compact {
    min-height: 210px;
    aspect-ratio: 16 / 11;
}

.doc-stack::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 10%, rgba(78, 240, 218, 0.18), transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(246, 213, 154, 0.08), transparent 60%);
    opacity: 0.75;
    pointer-events: none;
}

.doc-stack__img {
    position: absolute;
    width: min(440px, 82%);
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
    cursor: zoom-in;
    user-select: none;
    transform:
        translate3d(0, 0, 0) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}

.doc-stack__img--a {
    left: 18px;
    top: 18px;
    transform:
        translate3d(0, 0, 10px) rotate(-4deg) rotateX(var(--rx)) rotateY(var(--ry));
}

.doc-stack__img--b {
    right: 18px;
    top: 46px;
    width: min(420px, 78%);
    transform:
        translate3d(0, 0, 22px) rotate(3deg) rotateX(calc(var(--rx) * 0.9)) rotateY(calc(var(--ry) * 0.9));
    filter: saturate(1.02);
}

.doc-stack__img--c {
    left: 50%;
    bottom: 18px;
    width: min(380px, 70%);
    transform:
        translate3d(-50%, 0, 34px) rotate(-1.5deg) rotateX(calc(var(--rx) * 0.75)) rotateY(calc(var(--ry) * 0.75));
    filter: contrast(1.02);
}

.case-card:hover .doc-stack__img {
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.62), 0 0 22px rgba(78, 240, 218, 0.15);
}

.case-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 10, 20, 0.5);
}

.case-flow--mini {
    padding: 12px;
}

.case-flow__item {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 14, 26, 0.6);
}

.case-flow__k {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(164, 224, 232, 0.78);
    margin-bottom: 8px;
}

.case-flow__v {
    font-size: 13px;
    color: rgba(230, 238, 248, 0.82);
    line-height: 1.45;
}

.persona {
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 16, 28, 0.55);
    box-shadow: var(--shadow-soft);
    transition: transform var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.persona::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 18px;
    bottom: 18px;
    width: 180px;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='160' viewBox='0 0 180 160'%3E%3Cpath d='M10 120 C40 80 70 100 100 70 C120 50 145 50 170 30' stroke='%234ef0da' stroke-width='1.2' fill='none' stroke-dasharray='4 6'/%3E%3Ccircle cx='10' cy='120' r='3' fill='%234ef0da'/%3E%3Ccircle cx='100' cy='70' r='3' fill='%23f6d59a'/%3E%3Ccircle cx='170' cy='30' r='3' fill='%234ef0da'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.persona--with-case::after {
    right: clamp(260px, 28vw, 360px);
    width: 160px;
    opacity: 0.22;
}

.persona:hover {
    transform: translateY(-4px) scale(1.006);
    border-color: rgba(66, 230, 211, 0.45);
    box-shadow: var(--shadow), 0 0 24px rgba(66, 230, 211, 0.14);
}

.persona--wide {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: start;
    gap: 16px;
    padding: 22px 24px;
}

.persona--with-case {
    grid-template-columns: 72px minmax(0, 1fr) minmax(240px, 340px);
}

.persona--wide>*:not(.persona__icon) {
    grid-column: 2 / -1;
}

.persona--with-case>*:not(.persona__icon):not(.persona__case) {
    grid-column: 2 / 3;
}

.persona--with-case .persona__case {
    grid-column: 3 / -1;
    grid-row: 1 / -1;
    align-self: stretch;
    display: flex;
}

.persona__case {
    justify-content: flex-end;
    min-width: 0;
}

.mini-case {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(78, 240, 218, 0.18);
    background: rgba(6, 12, 20, 0.55);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.mini-case summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    color: rgba(230, 238, 248, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-case summary::after {
    content: "▾";
    font-size: 12px;
    color: rgba(164, 224, 232, 0.7);
    transition: transform 0.2s ease, color 0.2s ease;
}

.mini-case summary:focus-visible {
    outline: 2px solid rgba(78, 240, 218, 0.55);
    outline-offset: 2px;
}

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

.mini-case__k {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(164, 224, 232, 0.75);
}

.mini-case__label {
    display: grid;
    gap: 2px;
}

.mini-case__v {
    font-size: 13px;
    color: rgba(230, 238, 248, 0.9);
    font-weight: 600;
}

.mini-case__hint {
    font-size: 11px;
    color: rgba(189, 226, 233, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.mini-case__body {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    padding: 12px 14px 14px;
}

.mini-case__thumb {
    width: 86px;
    height: 86px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
    cursor: zoom-in;
}

.mini-case__row {
    font-size: 12px;
    line-height: 1.45;
    color: rgba(230, 238, 248, 0.78);
    margin-bottom: 8px;
}

.mini-case__row span {
    display: inline-block;
    min-width: 96px;
    color: rgba(164, 224, 232, 0.82);
    letter-spacing: 0.06em;
}

.mini-case[open] summary {
    background: radial-gradient(circle at 20% 20%, rgba(78, 240, 218, 0.12), transparent 55%);
}

.mini-case[open] summary::after {
    transform: rotate(180deg);
    color: rgba(78, 240, 218, 0.8);
}

/* ------------------------------ */
/* Доверие / документы            */
/* ------------------------------ */

.trust {
    padding-top: 56px;
    padding-bottom: 72px;
}

.trust__wrap {
    position: relative;
    z-index: 1;
}

.trust__head {
    max-width: 860px;
    margin-bottom: 14px;
}

.trust__head h2 {
    margin-bottom: 10px;
}

.trust__head p {
    color: rgba(230, 238, 248, 0.72);
}

.trust__note {
    font-size: 12px;
    color: rgba(230, 238, 248, 0.62);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 10px;
}

/* Editorial gallery frame: minimal, not a big "card" */
.trust__frame {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 10, 20, 0.22);
    padding: 14px;
    overflow: hidden;
}

.trust__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 14%, rgba(66, 230, 211, 0.1), transparent 52%),
        radial-gradient(circle at 86% 16%, rgba(246, 213, 154, 0.07), transparent 58%);
    opacity: 0.85;
    pointer-events: none;
}

.docs-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
    grid-auto-flow: dense;
}

/* Remove the "template card" feeling: media-first, minimal chrome */
.doc-preview {
    grid-column: span 4;
    display: block;
    color: inherit;
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    cursor: zoom-in;
    transform: translateY(0);
    transition: transform var(--t-med) var(--ease-out);
}

.doc-preview:focus-visible {
    outline: none;
}

.doc-preview:hover {
    transform: translateY(-3px);
}

.doc-preview__media {
    position: relative;
    aspect-ratio: 7 / 10;
    height: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(8, 14, 26, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.doc-preview:focus-visible .doc-preview__media {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), var(--focus-ring);
    border-color: rgba(66, 230, 211, 0.3);
}

.doc-preview__media::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(66, 230, 211, 0.34), transparent 35%, rgba(246, 213, 154, 0.16));
    opacity: 0;
    transition: opacity var(--t-med) var(--ease-out);
}

.doc-preview__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 16%, rgba(66, 230, 211, 0.14), transparent 46%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
    opacity: 0;
    transition: opacity var(--t-med) var(--ease-out);
}

.doc-preview:hover .doc-preview__media::before {
    opacity: 0.22;
}

.doc-preview:hover .doc-preview__media::after {
    opacity: 0.95;
}

.doc-preview__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: saturate(1.02) contrast(1.02);
    transition: transform var(--t-med) var(--ease-out);
}

.doc-preview:hover .doc-preview__media img {
    transform: scale(1.06);
}

.doc-preview__meta {
    padding: 10px 2px 0;
    display: grid;
    gap: 6px;
}

/* Minimal label (not a pill) */
.doc-preview__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(164, 224, 232, 0.86);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.doc-preview__tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(66, 230, 211, 0.8);
    box-shadow: 0 0 14px rgba(66, 230, 211, 0.28);
}

.doc-preview__title {
    color: rgba(230, 238, 248, 0.92);
    font-weight: 650;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.doc-preview__text {
    font-size: 12.5px;
    margin: 0;
    color: rgba(230, 238, 248, 0.68);
    line-height: 1.55;
}

/* Compose on desktop only (prevents span rules leaking into 2-col mobile layouts) */
@media (min-width: 981px) {
    .docs-grid>.doc-preview:nth-child(1) {
        grid-column: span 5;
    }

    .docs-grid>.doc-preview:nth-child(2) {
        grid-column: span 4;
    }

    .docs-grid>.doc-preview:nth-child(3) {
        grid-column: span 3;
    }

    .docs-grid>.doc-preview:nth-child(4) {
        grid-column: span 3;
    }

    .docs-grid>.doc-preview:nth-child(5) {
        grid-column: span 4;
    }

    .docs-grid>.doc-preview:nth-child(6) {
        grid-column: span 5;
    }

    /* Neutralize legacy modifiers so layout stays content-driven */
    .doc-preview--xl,
    .doc-preview--wide {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 12, 0.72);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    z-index: 200;
    padding: 22px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__panel {
    width: min(980px, 96vw);
    max-height: 88vh;
    border-radius: 22px;
    border: 1px solid rgba(78, 240, 218, 0.22);
    background: rgba(6, 10, 20, 0.92);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.lightbox__media {
    position: relative;
    background: rgba(0, 0, 0, 0.25);
}

.lightbox__media img {
    display: block;
    width: 100%;
    height: min(66vh, 680px);
    object-fit: contain;
}

.lightbox__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox__caption {
    font-size: 13px;
    color: rgba(230, 238, 248, 0.78);
}

.lightbox__close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    cursor: pointer;
    transition: transform var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}

.lightbox__close:hover {
    transform: translateY(-1px);
    border-color: rgba(66, 230, 211, 0.45);
    box-shadow: var(--focus-ring);
}

.persona__icon {
    grid-row: 1 / span 3;
}

.persona--wide h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.persona--soft {
    background: linear-gradient(120deg, rgba(12, 20, 36, 0.85), rgba(9, 16, 28, 0.6));
}

.persona--accent {
    background: linear-gradient(120deg, rgba(12, 26, 36, 0.9), rgba(8, 14, 24, 0.6));
    border-color: rgba(78, 240, 218, 0.3);
}

.persona--gold {
    background: linear-gradient(120deg, rgba(18, 22, 36, 0.9), rgba(12, 16, 28, 0.6));
    border-color: rgba(246, 213, 154, 0.25);
}

.persona--wide .persona__icon {
    margin-bottom: 0;
}

.persona__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: rgba(78, 240, 218, 0.12);
    color: var(--accent);
}

.inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 0;
    border-radius: 50%;
    border: 1px solid rgba(78, 240, 218, 0.35);
    background: rgba(8, 14, 24, 0.7);
    position: relative;
    top: -2px;
}

.inline-icon::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(78, 240, 218, 0.6);
    opacity: 0.6;
}

.inline-icon--wave::after {
    content: "~";
    font-size: 12px;
    color: var(--accent);
}

.inline-icon--compass::after {
    content: "✦";
    font-size: 11px;
    color: var(--accent-3);
}

.inline-icon--beacon::after {
    content: "▲";
    font-size: 9px;
    color: var(--accent-2);
}

.inline-icon--question::after {
    content: "?";
    font-size: 11px;
    color: var(--accent);
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.why-card {
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 16, 28, 0.55);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    grid-column: span 4;
}

.why-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(78, 240, 218, 0.4);
    background: rgba(7, 14, 24, 0.8);
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(78, 240, 218, 0.45);
    box-shadow: var(--shadow), 0 0 24px rgba(78, 240, 218, 0.18);
}

.why-card--featured {
    grid-column: span 6;
    grid-row: span 2;
    background: linear-gradient(160deg, rgba(11, 21, 38, 0.9), rgba(9, 16, 28, 0.65));
    border: 1px solid rgba(78, 240, 218, 0.35);
    box-shadow: var(--shadow), 0 0 32px rgba(78, 240, 218, 0.2);
    position: relative;
    overflow: hidden;
}

.why-card--featured::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 200px;
    height: 140px;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='140' viewBox='0 0 200 140'%3E%3Cpath d='M10 110 L70 80 L120 90 L190 40' stroke='%237bd7ff' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='10' cy='110' r='3' fill='%237bd7ff'/%3E%3Ccircle cx='70' cy='80' r='3' fill='%23f6d59a'/%3E%3Ccircle cx='190' cy='40' r='3' fill='%237bd7ff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.why-card__icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(78, 240, 218, 0.08);
    color: var(--accent);
}

.icon {
    width: 22px;
    height: 22px;
}

.process {
    position: relative;
}

.process__media {
    margin: 18px 0 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(78, 240, 218, 0.2);
    box-shadow: var(--shadow-soft);
    position: relative;
    max-width: 70%;
    margin-left: 0;
    margin-right: auto;
}

.process__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.process__steps {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(6, 10, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.process__step {
    padding: 12px 12px 14px;
    border-radius: 14px;
    background: rgba(8, 14, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.process__step h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.process__step p {
    font-size: 12px;
    margin: 0;
    color: rgba(230, 238, 248, 0.7);
}

.process__num {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 24px;
    padding-top: 36px;
}

.timeline__line {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(78, 240, 218, 0.5), transparent);
    opacity: 0.6;
    overflow: hidden;
}

.timeline__line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(78, 240, 218, 0.3), rgba(78, 240, 218, 0.8), rgba(246, 213, 154, 0.5));
    transition: width 1.2s ease;
}

.timeline.is-active .timeline__line::after {
    width: 100%;
}

.timeline__item {
    position: relative;
    padding-top: 6px;
}

.timeline__item::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 28px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(78, 240, 218, 0.6);
}

.timeline__item:hover::before {
    box-shadow: 0 0 28px rgba(78, 240, 218, 0.9);
}

.step {
    padding: 26px 24px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 16, 28, 0.6);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    border-color: rgba(78, 240, 218, 0.4);
    box-shadow: var(--shadow), 0 0 18px rgba(78, 240, 218, 0.18);
}

.step__num {
    font-size: 24px;
    color: var(--accent-2);
    margin-bottom: 12px;
}

.reviews__layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.reviews__stack {
    display: grid;
    gap: 20px;
}

.review {
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(12, 22, 40, 0.72), rgba(7, 12, 22, 0.58));
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: transform var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out);
}

.review::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 18%, rgba(66, 230, 211, 0.12), transparent 58%),
        radial-gradient(circle at 15% 85%, rgba(246, 213, 154, 0.08), transparent 62%);
    opacity: 0;
    transition: opacity var(--t-med) var(--ease-out);
    pointer-events: none;
}

.review:hover {
    transform: translateY(-4px) scale(1.006);
    border-color: rgba(66, 230, 211, 0.42);
    background: linear-gradient(160deg, rgba(12, 24, 44, 0.78), rgba(7, 12, 22, 0.6));
    box-shadow: var(--shadow), 0 0 26px rgba(66, 230, 211, 0.12);
}

.review:hover::after {
    opacity: 1;
}

.review--featured {
    padding: 28px;
    background: linear-gradient(160deg, rgba(11, 22, 40, 0.92), rgba(8, 14, 24, 0.62));
    border: 1px solid rgba(66, 230, 211, 0.32);
    box-shadow: var(--shadow), 0 0 34px rgba(66, 230, 211, 0.16);
}

.review--featured::before {
    content: "“";
    position: absolute;
    right: 18px;
    top: 10px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 84px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.review--compact {
    padding: 20px;
}

.review__meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}

.review__result {
    margin-top: 12px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(66, 230, 211, 0.22);
    background: rgba(6, 10, 20, 0.45);
}

.review__result-icon {
    display: inline-flex;
    width: 10px;
    height: 10px;
    margin-right: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(66, 230, 211, 0.75);
}

.story {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
}

.story__bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(6, 10, 20, 0.92), rgba(6, 10, 20, 0.65)),
        url("https://images.unsplash.com/photo-1473186578172-c141e6798cf4?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.7);
    z-index: 0;
}

.story__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.story__badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(78, 240, 218, 0.35);
    background: rgba(7, 14, 24, 0.7);
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.faq .accordion {
    display: grid;
    gap: 16px;
}

.faq .section-head p {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.accordion-item {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(9, 16, 28, 0.6);
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    transition: transform var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out);
}

.accordion-item:hover {
    border-color: rgba(66, 230, 211, 0.22);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 20px rgba(66, 230, 211, 0.08);
}

.accordion-item.active {
    border-color: rgba(66, 230, 211, 0.28);
    background: linear-gradient(160deg, rgba(12, 22, 40, 0.76), rgba(7, 12, 22, 0.6));
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    color: var(--text);
    border: none;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    position: relative;
}

.accordion-header:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.accordion-header::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 18px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 10, 20, 0.45);
    color: var(--accent);
    transition: transform var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out);
}

.accordion-item.active .accordion-header::after {
    content: "–";
    border-color: rgba(66, 230, 211, 0.26);
    background: rgba(6, 12, 20, 0.55);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: var(--muted);
    opacity: 0;
    transform: translateY(-6px);
    line-height: 1.65;
    transition: max-height var(--t-slow) var(--ease-out), padding var(--t-slow) var(--ease-out), opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}

.accordion-item.active .accordion-body {
    max-height: 320px;
    padding-top: 2px;
    padding-bottom: 18px;
    opacity: 1;
    transform: translateY(0);
}

.cta {
    padding-bottom: 96px;
    overflow: hidden;
}

.cta__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: center;
    padding: 36px;
    border-radius: var(--radius-lg);
    background-image:
        linear-gradient(120deg, rgba(6, 10, 20, 0.85), rgba(6, 10, 20, 0.45)),
        url("assets/cta.jpg");
    background-size: cover, cover;
    background-position: center, center;
    border: 1px solid rgba(78, 240, 218, 0.25);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}


.cta__inner>* {
    position: relative;
    z-index: 1;
}

.cta__panel {
    padding: 26px;
    border-radius: var(--radius-md);
    background: rgba(8, 14, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta__contacts {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.cta__phone {
    font-size: 22px;
    font-weight: 700;
}

.cta__email {
    color: var(--accent-2);
}

.cta__geo {
    color: var(--muted);
    font-size: 14px;
}

.cta__actions {
    display: grid;
    gap: 12px;
}

.cta__form {
    margin-top: 18px;
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 10, 20, 0.5);
}

.cta__form-title {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(230, 238, 248, 0.65);
}

.cta__form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cta__field {
    display: grid;
    gap: 8px;
    font-size: 13px;
    color: rgba(230, 238, 248, 0.7);
}

.cta__field--full {
    grid-column: 1 / -1;
}

.cta__field input,
.cta__field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 14, 26, 0.75);
    color: rgba(230, 238, 248, 0.95);
    font-size: 14px;
    outline: none;
    transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}

.cta__field input:focus-visible,
.cta__field textarea:focus-visible {
    border-color: rgba(66, 230, 211, 0.45);
    box-shadow: var(--focus-ring);
}

.cta__form-status {
    min-height: 18px;
    font-size: 13px;
    color: rgba(164, 224, 232, 0.9);
}

.cta__note {
    margin: 16px 0 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(12, 18, 30, 0.7);
    border: 1px solid rgba(246, 213, 154, 0.25);
    color: rgba(246, 213, 154, 0.9);
    font-size: 14px;
}

.cta__qr {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.cta__qr-title {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(230, 238, 248, 0.65);
}

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

.cta__qr-card {
    margin: 0;
    padding: 10px;
    border-radius: 14px;
    background: rgba(8, 14, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 10px;
    align-content: start;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    transition: transform var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
    text-decoration: none;
    color: inherit;
}

.cta__qr-card:hover {
    transform: translateY(-3px);
    border-color: rgba(66, 230, 211, 0.35);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34), 0 0 14px rgba(66, 230, 211, 0.08);
}

.cta__qr-card:focus-visible {
    outline: none;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34), var(--focus-ring);
}

.cta__qr-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    background: #fff;
    max-width: 220px;
    margin: 0 auto;
}

.cta__qr-caption {
    font-size: 12px;
    color: rgba(230, 238, 248, 0.78);
}

.footer {
    padding: 48px 0 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 8, 14, 0.9);
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    align-items: center;
}

.footer__links {
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.footer__copy {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

/* ── Footer legal links ────────────────────────────── */
.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 13px;
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.footer__legal a:hover {
    color: var(--accent);
}

/* ── Disclaimer section ────────────────────────────── */
.disclaimer {
    padding: 56px 0 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 12, 22, 0.7);
}

.disclaimer__inner {
    text-align: center;
}

.disclaimer__icon {
    color: var(--accent);
    margin-bottom: 12px;
}

.disclaimer__title {
    font-family: var(--ff-display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text);
}

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

.disclaimer__card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: left;
}

.disclaimer__card-icon {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 8px;
}

.disclaimer__card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.disclaimer__card strong {
    color: var(--text);
}

/* ── Legal pages (privacy, terms, disclaimer) ──────── */
.legal-page {
    padding: 120px 0 80px;
}

.legal-page__back {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 24px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.legal-page__back:hover {
    opacity: 0.7;
}

.legal-page h1 {
    font-family: var(--ff-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-page__updated {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-family: var(--ff-display);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-page p,
.legal-page li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.legal-page ul {
    padding-left: 20px;
    margin: 12px 0;
}

.legal-page li {
    margin-bottom: 6px;
}

.legal-page a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes plankton-drift {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, -70px, 0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .card:hover,
    .why-card:hover,
    .persona:hover,
    .case-card:hover,
    .doc-preview:hover,
    .btn--primary:hover,
    .btn--ghost:hover {
        transform: none;
    }
}

@media (max-width: 900px) {
    .header__inner {
        grid-template-columns: auto 1fr auto;
        min-height: 64px;
    }

    .nav {
        display: none;
    }

    .burger {
        display: inline-flex;
    }

    .mobile-menu.active {
        display: flex;
    }

    .phone-cta {
        display: none;
    }

    .logo {
        gap: 10px;
        font-size: 15px;
    }

    .logo__img {
        width: auto;
        height: min(46px, 11vw);
        max-width: 220px;
    }

    .card--xl {
        grid-column: span 1;
    }

    .practice__grid {
        grid-template-columns: 1fr;
    }

    .case-card,
    .case-card--hero,
    .case-card--side,
    .case-card--wide {
        grid-column: auto;
        grid-row: auto;
    }

    .case-flow {
        grid-template-columns: 1fr;
    }

    .persona--with-case {
        grid-template-columns: 72px 1fr;
    }

    .persona--with-case::after {
        right: 24px;
        width: 180px;
        opacity: 0.28;
    }

    .persona--with-case .persona__case {
        grid-column: 2 / -1;
        grid-row: auto;
        margin-top: 12px;
    }

    .docs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doc-preview,
    .doc-preview--xl,
    .doc-preview--wide {
        grid-column: auto;
        grid-row: auto;
    }

    .why__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-card,
    .why-card--featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .timeline {
        grid-template-columns: 1fr;
        padding-left: 18px;
    }

    .timeline__line {
        left: 18px;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
    }

    .timeline__line::after {
        width: 100%;
        height: 0;
        transition: height 1.2s ease;
    }

    .timeline.is-active .timeline__line::after {
        height: 100%;
    }

    .timeline__item {
        padding-left: 18px;
    }

    .timeline__item::before {
        top: 18px;
        left: 6px;
    }

    .process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        left: 16px;
        right: 16px;
        bottom: 16px;
        top: auto;
        transform: none;
        padding: 14px;
    }

    .reviews__layout {
        grid-template-columns: 1fr;
    }

    .impact__inner {
        padding: 28px;
    }
}

@media (max-width: 980px) {
    .docs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doc-preview,
    .doc-preview--xl,
    .doc-preview--wide {
        grid-column: auto;
        grid-row: auto;
    }

    .cta__qr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 6px 0;
    }

    .logo {
        font-size: 14px;
        letter-spacing: 0.1em;
    }

    .logo__img {
        width: auto;
        height: min(40px, 12vw);
        max-width: 200px;
        border-radius: 0;
    }

    .logo__text {
        display: none;
    }

    section {
        padding: 52px 0;
    }

    .cta__panel {
        padding: 20px;
    }

    .cta__contacts {
        gap: 6px;
    }

    .cta__phone {
        font-size: 20px;
    }

    .cta__qr {
        margin-top: 16px;
    }

    .cta__form {
        padding: 12px;
    }

    .cta__form-grid {
        grid-template-columns: 1fr;
    }

    .cta__qr-grid {
        gap: 10px;
    }

    .cta__qr-card img {
        max-width: 200px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .stats-card {
        padding: 22px;
        gap: 16px;
    }

    .bento {
        gap: 16px;
    }

    .card,
    .review,
    .persona {
        padding: 20px;
    }

    .trust__wrap {
        padding: 0;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .trust__frame {
        padding: 12px;
    }

    .cta__qr-grid {
        grid-template-columns: 1fr;
    }

    .doc-stack {
        min-height: 220px;
    }

    .doc-stack__img {
        width: min(360px, 88%);
    }

    .review--featured {
        padding: 24px;
    }

    .impact__inner {
        gap: 18px;
    }

    .process__media {
        margin: 16px 0 24px;
    }

    .process__steps {
        position: static;
        margin: 14px 0 0;
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .cta__inner {
        padding: 20px;
        gap: 20px;
    }

    .impact__inner {
        padding: 20px;
    }

    .impact__grid {
        grid-template-columns: 1fr;
    }

    .impact__coords {
        letter-spacing: 0.12em;
        line-height: 1.6;
    }

    .story {
        padding: 76px 0;
    }

    .persona--wide {
        grid-template-columns: 1fr;
    }

    .persona--wide>*:not(.persona__icon) {
        grid-column: 1 / -1;
    }

    .persona--with-case {
        grid-template-columns: 1fr;
    }

    .persona--with-case>*:not(.persona__icon):not(.persona__case) {
        grid-column: 1 / -1;
    }

    .persona--with-case .persona__case {
        grid-column: 1 / -1;
        grid-row: auto;
        margin-top: 12px;
    }

    .persona__icon {
        grid-row: auto;
    }

    .why__grid {
        grid-template-columns: 1fr;
    }

    .contact-fab {
        right: 14px;
        bottom: 14px;
    }

    .contact-fab__panel {
        padding: 12px;
        gap: 8px;
    }

    .contact-fab__title {
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .contact-fab__btn {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ------------------------------
   Cookie banner
------------------------------- */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 16px clamp(16px, 3vw, 32px);
    background: rgba(6, 10, 20, 0.82);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.4);
}

.cookie-banner__inner {
    width: min(1200px, 92vw);
    margin: 0 auto;
    display: grid;
    gap: 16px;
    align-items: center;
}

.cookie-banner__text {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
}

.cookie-banner__text strong {
    color: var(--text);
    font-size: 15px;
    letter-spacing: 0.01em;
}

.cookie-banner__text a {
    color: var(--accent-3);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-banner__btn {
    border: 1px solid var(--border);
    background: rgba(12, 22, 38, 0.7);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform var(--t-fast) var(--ease-out),
        box-shadow var(--t-fast) var(--ease-out),
        background var(--t-fast) var(--ease-out);
}

.cookie-banner__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.cookie-banner__btn--primary {
    background: linear-gradient(140deg, rgba(66, 230, 211, 0.9), rgba(123, 215, 255, 0.8));
    color: #041016;
    border-color: rgba(66, 230, 211, 0.6);
}

@media (min-width: 900px) {
    .cookie-banner__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}