/* SABDAY v15 — dark design system */

:root {
    --bg: #08090a;
    --bg-soft: #0f1113;
    --bg-elevated: #151719;
    --bg-hover: #1a1d21;
    --text: #ececee;
    --text-secondary: #8b919a;
    --text-muted: #5c6370;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --accent: #5e6ad2;
    --accent-hover: #6e7ae0;
    --accent-soft: rgba(94, 106, 210, 0.12);
    --accent-glow: rgba(94, 106, 210, 0.25);
    --max: 1440px;
    --header: 72px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 8px;
    --radius-sm: 6px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body {
    overflow-x: clip;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

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

::selection {
    background: var(--accent-soft);
    color: var(--text);
}

/* Layout — единый контейнер 1440px для header и всех секций */
.wrap {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: clamp(24px, 5vw, 48px);
}

.header > .wrap {
    width: 100%;
}

main {
    padding-top: var(--header);
}

/* Typography */
.t-display {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
}

.t-heading {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text);
}

.t-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
}

.t-body {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.t-small {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.t-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.t-muted {
    color: var(--text-muted);
}

.text-accent {
    color: var(--accent);
}

.text-center {
    text-align: center;
}

.mt-8 {
    margin-top: 32px;
}

.mt-12 {
    margin-top: 48px;
}

.mb-8 {
    margin-bottom: 32px;
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition:
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

.btn--sm {
    height: 34px;
    padding: 0 16px;
    font-size: 13px;
    border-radius: 999px;
}

.btn--lg {
    height: 46px;
    padding: 0 22px;
    font-size: 15px;
    border-radius: 12px;
}

.btn--primary,
.btn--brand {
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #636ee0 0%, #5e6ad2 50%, #5159c4 100%);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.14),
        0 1px 2px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(94, 106, 210, 0.4);
}

.btn--primary:hover,
.btn--brand:hover {
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #6d78e8 0%, #6570db 50%, #5a62cf 100%);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(94, 106, 210, 0.38),
        0 0 0 1px rgba(118, 128, 232, 0.55);
    transform: translateY(-1px);
}

.btn--primary:active,
.btn--brand:active {
    transform: translateY(0) scale(0.985);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 2px 4px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(94, 106, 210, 0.35);
}

.btn--outline {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 1px 2px rgba(0, 0, 0, 0.16);
}

.btn--outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 20px rgba(0, 0, 0, 0.22);
    transform: translateY(-1px);
}

.btn--outline:active {
    transform: translateY(0) scale(0.985);
    background: rgba(255, 255, 255, 0.05);
}

.btn--ghost {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.btn--white {
    color: var(--bg);
    background:
        linear-gradient(180deg, #fff 0%, #ececee 100%);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn--white:hover {
    color: var(--bg);
    background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
    box-shadow:
        inset 0 1px 0 #fff,
        0 6px 20px rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Header */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header);
    background: rgba(8, 9, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}

.header.is-scrolled {
    border-bottom-color: var(--border);
}

.header__row {
    display: flex;
    align-items: center;
    height: var(--header);
    gap: 32px;
}

.header__logo {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
    flex-shrink: 0;
    transition: color var(--transition);
}

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

.header__nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.5vw, 22px);
    flex: 1;
    min-width: 0;
}

.header__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.header__link:hover {
    color: var(--text);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.lang-drop {
    position: relative;
}

.lang-drop__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.lang-drop__trigger:hover,
.lang-drop:focus-within .lang-drop__trigger {
    color: var(--text);
    background: var(--bg-hover);
    border-color: var(--border-strong);
}

.lang-drop__panel {
    left: auto;
    right: 0;
    transform: translateY(4px);
}

.lang-drop:hover .lang-drop__panel,
.lang-drop:focus-within .lang-drop__panel,
.lang-drop.is-open .lang-drop__panel {
    transform: translateY(0);
}

.lang-drop__menu {
    min-width: 88px;
    padding: 6px;
}

.lang-drop__item.is-active {
    color: var(--text);
    background: var(--bg-hover);
}

.lang-drop--mobile {
    display: none;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.lang-drop__trigger--mobile {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: var(--radius);
}

.lang-drop__trigger-label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
}

.lang-drop__trigger-value {
    margin-right: auto;
    color: var(--text);
    font-weight: 600;
}

.lang-drop__trigger--mobile svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.lang-drop--mobile.is-open .lang-drop__trigger--mobile svg {
    transform: rotate(180deg);
}

.lang-drop__panel--mobile {
    position: static;
    left: auto;
    right: auto;
    padding-top: 0;
    transform: none;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, visibility 0s linear 0.25s;
}

.lang-drop--mobile.is-open .lang-drop__panel--mobile {
    visibility: visible;
    pointer-events: auto;
    max-height: 180px;
    transition-delay: 0s;
}

.lang-drop--mobile .lang-drop__menu {
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    padding: 6px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.lang-drop--mobile .lang-drop__item {
    padding: 12px 14px;
    font-size: 15px;
}

@media (max-width: 1024px) {
    .header__actions .lang-drop {
        display: none;
    }

    .lang-drop--mobile {
        display: block;
    }
}

.header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.header__burger:hover {
    background: var(--bg-hover);
    border-color: var(--border-strong);
}

.header__mobile {
    display: none;
    flex-direction: column;
    padding: 16px 48px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}

.header__mobile.is-open {
    display: flex;
}

.header__mobile a {
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

.header__mobile a:hover {
    color: var(--text);
}

.header__mobile a:last-child {
    border-bottom: none;
}

/* Dropdown */
.drop {
    position: relative;
}

.drop__panel {
    position: absolute;
    top: 100%;
    left: 50%;
    padding-top: 10px;
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.25s;
    z-index: 200;
}

.drop:hover .drop__panel,
.drop:focus-within .drop__panel,
.drop.is-open .drop__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}

.drop__menu {
    min-width: 220px;
    padding: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.drop__item {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.drop__item:hover {
    background: var(--bg-hover);
    color: var(--text);
}

/* Hero */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero--rich {
    min-height: calc(100vh - var(--header));
    display: flex;
    align-items: center;
}

.hero--rich > .wrap {
    width: 100%;
    max-width: var(--max);
}

.hero__grid {
    width: 100%;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 75% 15%, rgba(94, 106, 210, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 40% at 15% 85%, rgba(94, 106, 210, 0.08), transparent 50%),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 72px 72px, 72px 72px;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
}

.hero__content {
    min-width: 0;
}

.hero__lead {
    max-width: 36em;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3dd68c;
    box-shadow: 0 0 8px rgba(61, 214, 140, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: var(--text);
}

.hero__title-accent {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.55) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__lead {
    margin-top: 24px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 32px);
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero__stat {
    min-width: 0;
}

.hero__stat-val {
    display: block;
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
}

.hero__stat-label {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero visual stack */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.hero-stack {
    position: relative;
    width: 100%;
    max-width: min(420px, 100%);
    min-height: 380px;
    margin: 0 auto;
}

.hero-stack__card {
    position: absolute;
    left: 0;
    right: 0;
    padding: 16px 18px;
    background: rgba(15, 17, 19, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-stack__card--1 { top: 0; z-index: 4; }
.hero-stack__card--2 { top: 88px; z-index: 3; border-color: rgba(94,106,210,.25); }
.hero-stack__card--3 { top: 176px; z-index: 2; }
.hero-stack__card--4 { top: 264px; z-index: 1; opacity: 0.85; }

.hero-stack__card--live { border-left: 2px solid #3dd68c; }
.hero-stack__card--ai { border-left: 2px solid var(--accent); }
.hero-stack__card--done { border-left: 2px solid rgba(255,255,255,.2); }

.hero-stack__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.hero-stack__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3dd68c;
    flex-shrink: 0;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-stack__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 9px;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 4px;
    flex-shrink: 0;
}

.hero-stack__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 11px;
    color: #3dd68c;
    background: rgba(61,214,140,.12);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-stack__title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.35;
}

.hero-stack__meta {
    display: block;
    padding-left: 32px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Trust strip */
.trust {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

.trust__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust__label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.trust__logo {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,.25);
}

/* Home sections */
.home-section {
    padding: 100px 0;
}

.home-section--soft {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-intro {
    max-width: 560px;
    margin-bottom: 56px;
}

.section-intro .t-label {
    margin-bottom: 12px;
}

.section-intro .t-heading {
    margin-bottom: 16px;
}

.section-intro__text {
    max-width: 480px;
}

/* Bento home */
.bento__num {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 16px;
}

.bento__title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text);
}

.bento__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.bento__item {
    padding: 32px;
    transition: border-color var(--transition), background var(--transition);
}

.bento__item:hover {
    border-color: var(--border-strong);
    background: var(--bg-elevated);
}

/* Solution cards */
.solution-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    min-height: 200px;
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.solution-card:hover {
    border-color: rgba(94,106,210,.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.solution-card--featured {
    background: linear-gradient(160deg, rgba(94,106,210,.1) 0%, var(--bg) 60%);
    border-color: rgba(94,106,210,.3);
}

.solution-card__tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
}

.solution-card__name {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text);
}

.solution-card__desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
    flex: 1;
}

.solution-card__link {
    margin-top: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
}

.solution-card:hover .solution-card__link {
    color: var(--accent);
}

/* Process */
.process {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.process__step {
    padding: 24px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.process__step:hover {
    border-color: var(--border-strong);
}

.process__num {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.process__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.process__desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Work grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.work-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
    transition: transform var(--transition), border-color var(--transition);
}

.work-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
}

.work-card__visual {
    position: relative;
    aspect-ratio: 16/9;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.work-grid__visual--1 {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 50%, #1a1f3a 100%);
}
.work-grid__visual--2 {
    background: linear-gradient(135deg, #1a2e1a 0%, #2a4a35 50%, #152515 100%);
}
.work-grid__visual--3 {
    background: linear-gradient(135deg, #2a1a3a 0%, #4a2d61 50%, #1f1525 100%);
}

.work-card__type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.7);
}

.work-card__body {
    padding: 24px;
}

.work-card__name {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--text);
}

.work-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Home CTA */
.home-cta {
    padding: 100px 0 120px;
}

.home-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    padding: 56px 64px;
    background: linear-gradient(135deg, rgba(94,106,210,.12) 0%, var(--bg-soft) 50%);
    border: 1px solid rgba(94,106,210,.2);
    border-radius: calc(var(--radius) + 4px);
}

.home-cta__content {
    max-width: 480px;
}

.home-cta__content .t-heading {
    margin-bottom: 12px;
}

.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__wrap { max-width: 800px; }

/* Page hero */
.page-hero {
    padding: 80px 0 64px;
    border-bottom: 1px solid var(--border);
}

.page-hero__inner {
    max-width: 720px;
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.page-section {
    padding: 80px 0;
}

.page-section--narrow .wrap {
    max-width: 640px;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

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

/* Cards & panels */
.card,
.panel {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.card--accent {
    background: var(--bg-elevated);
    border-color: var(--border-strong);
}

.link-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    transition: border-color var(--transition), background var(--transition);
}

.link-card:hover {
    border-color: var(--border-strong);
    background: var(--bg-elevated);
}

.link-card__arrow {
    margin-top: auto;
    padding-top: 20px;
    font-size: 14px;
    color: var(--accent);
    transition: transform var(--transition);
}

.link-card:hover .link-card__arrow {
    transform: translateX(4px);
}

/* Pricing */
.pricing-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color var(--transition);
}

.pricing-card--featured {
    border-color: var(--accent);
    background: var(--bg-elevated);
    box-shadow: 0 0 0 1px var(--accent-soft);
}

.pricing-card__price {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 12px 0 20px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.pricing-card__features {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
}

.pricing-card__features li {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 4px 0;
}

.pricing-card__features svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent);
}

/* Forms */
.form {
    display: grid;
    gap: 24px;
}

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

.form-group {
    display: grid;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

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

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg);
    transition: border-color var(--transition), background var(--transition);
}

.form-check:hover {
    border-color: var(--border-strong);
    background: var(--bg-hover);
}

.form-check input {
    accent-color: var(--accent);
}

.form-inline {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-inline .input-field {
    flex: 1;
    min-width: 200px;
}

.input-field,
select.input-field {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.input-field::placeholder {
    color: var(--text-muted);
}

.input-field:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea.input-field {
    height: auto;
    padding: 12px 14px;
    min-height: 100px;
    resize: vertical;
}

select.input-field {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235c6370' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* Lists */
.list-check,
.list-arrow {
    list-style: none;
}

.list-check li,
.list-arrow li {
    display: flex;
    gap: 8px;
    padding: 5px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.list-check li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
}

.list-arrow li::before {
    content: '→';
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Case articles */
.case-article {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.case-article + .case-article {
    margin-top: 16px;
}

.case-article__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.case-article__field h4 {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.case-article__field p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step__num {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Funnel */
.funnel {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.funnel__step {
    padding: 16px 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.funnel__num {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 6px;
}

.funnel__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.funnel__desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* Problems */
.problems {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.problem__num {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.problem__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

/* Agents */
.agents {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.agent {
    padding: 24px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.agent__tag {
    font-size: 11px;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    display: block;
}

/* Industries & tags */
.industries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.industry {
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.industry:hover {
    border-color: var(--accent);
    color: var(--text);
    background: var(--accent-soft);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 100px;
}

/* Stats */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-box {
    text-align: center;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-box__val {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--accent);
}

.stat-box__label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.timeline__year {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

/* Flow stack */
.flow-stack {
    max-width: 360px;
    margin: 0 auto;
}

.flow-step {
    padding: 12px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.flow-step + .flow-step {
    margin-top: 8px;
}

/* Bento */
.bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bento__item {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.bento__item--wide {
    grid-column: span 2;
}

/* Case cards */
.case-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    min-height: 200px;
    transition: border-color var(--transition), background var(--transition);
}

.case-card:hover {
    border-color: var(--border-strong);
    background: var(--bg-elevated);
}

.case-card__tag {
    font-size: 11px;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.case-card__arrow {
    margin-top: auto;
    padding-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA block */
.cta {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 64px 48px;
    text-align: center;
    background: var(--bg-soft);
}

/* Section */
.section {
    padding: 80px 0;
}

.section__head {
    max-width: 560px;
    margin-bottom: 48px;
}

.section__head--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Service list */
.service-list {
    border-top: 1px solid var(--border);
}

.service-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    color: inherit;
    transition: opacity var(--transition);
}

.service-row:hover {
    opacity: 0.75;
}

.service-row__title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.service-row__arrow {
    color: var(--text-muted);
}

/* Features grid */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature {
    padding: 28px;
    background: var(--bg-soft);
}

.feature__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Footer */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer__heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.footer__link {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: color var(--transition);
}

.footer__link:hover {
    color: var(--text);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive — header */
@media (max-width: 1024px) {
    .header__nav {
        display: none;
    }

    .header__actions .btn {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .drop__panel {
        display: none;
    }
}

/* Responsive — grids & layout */
@media (max-width: 1100px) {
    .hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .home-cols,
    .home-projects,
    .hero__grid,
    .solution-cards,
    .process,
    .work-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .steps,
    .timeline,
    .case-article__grid,
    .form-row,
    .form-checks,
    .stat-grid,
    .funnel,
    .problems,
    .agents,
    .bento,
    .features,
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .hero--rich {
        min-height: auto;
        padding: 80px 0 64px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__visual {
        order: -1;
    }

    .hero-stack {
        min-height: 320px;
        max-width: 100%;
    }

    .hero-stack__card--4 {
        display: none;
    }

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

    .solution-cards {
        grid-template-columns: 1fr;
    }

    .home-cta__box {
        padding: 40px 28px;
        flex-direction: column;
        align-items: flex-start;
    }

    .bento__item--wide {
        grid-column: span 1;
    }

    .home-list__item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

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

    .bento__item--wide {
        grid-column: span 1;
    }

    .hero {
        padding: 80px 0 64px;
    }

    .home-section {
        padding: 64px 0;
    }

    .wrap {
        padding: 0 24px;
    }

    .header__mobile {
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-cta__wrap {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 640px) {
    .form-checks {
        grid-template-columns: 1fr;
    }

    .form-inline {
        flex-direction: column;
    }

    .form-inline .input-field {
        min-width: 0;
    }

    .cta {
        padding: 48px 24px;
    }
}
