/* =========================================================
   Strange Minds Division — one stylesheet, no dependencies.
   Sections: tokens · base · layout · components · page blocks
   ========================================================= */

:root {
    --bg: #07070a;
    --bg-soft: #0b0b11;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-strong: rgba(255, 255, 255, 0.065);
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.20);

    --ink: #f5f4f9;
    --ink-dim: #b6b4c4;
    --muted: #837f92;

    --accent: #8b6cff;
    --accent-bright: #a78dff;
    --accent-ink: #0a0616;
    --mint: #4fe0c0;
    --danger: #ff7a7a;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;

    --shell: 1180px;
    --header-h: 72px;

    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 600;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

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

:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 100;
    padding: 10px 18px;
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

    .skip-link:focus {
        left: 16px;
    }

/* ---------- backdrop ---------- */

.backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.backdrop__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.backdrop__glow--one {
    width: 46vw;
    height: 46vw;
    min-width: 380px;
    min-height: 380px;
    top: -14vw;
    left: -8vw;
    background: radial-gradient(circle, rgba(139, 108, 255, 0.55), transparent 68%);
}

.backdrop__glow--two {
    width: 38vw;
    height: 38vw;
    min-width: 320px;
    min-height: 320px;
    top: 32vh;
    right: -12vw;
    background: radial-gradient(circle, rgba(79, 224, 192, 0.28), transparent 70%);
}

.backdrop__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 80%);
}

/* ---------- layout ---------- */

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(64px, 9vw, 120px) 0;
}

.section--tight {
    padding: clamp(48px, 6vw, 80px) 0;
}

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

.section__head--wide {
    max-width: 820px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 18px;
}

    .kicker::before {
        content: "";
        width: 7px;
        height: 7px;
        background: var(--accent);
        border-radius: 2px;
        box-shadow: 0 0 12px rgba(139, 108, 255, 0.9);
    }

.h1 {
    font-size: clamp(2.6rem, 6.4vw, 4.6rem);
}

.h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--ink-dim);
    margin-top: 20px;
    max-width: 62ch;
}

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

.accent-text {
    background: linear-gradient(100deg, var(--accent-bright) 10%, var(--mint) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(7, 7, 10, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

    .site-header.is-stuck {
        border-bottom-color: var(--line);
        background: rgba(7, 7, 10, 0.86);
    }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.brand__mark {
    width: 32px;
    height: 32px;
    color: var(--accent-bright);
    flex: none;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand__name {
    font-weight: 650;
    letter-spacing: -0.02em;
}

.brand__sub {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ink-dim);
    font-size: 0.95rem;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

    .nav-link:hover {
        color: var(--ink);
        background: var(--surface);
    }

    .nav-link.is-active {
        color: var(--ink);
        background: var(--surface-strong);
    }

.lang-switch {
    display: inline-flex;
    margin: 0 4px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.lang-switch__option {
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--muted);
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

    .lang-switch__option:hover {
        color: var(--ink);
    }

    .lang-switch__option.is-active {
        background: var(--surface-strong);
        color: var(--ink);
    }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

.nav-toggle__bars {
    display: grid;
    gap: 5px;
    width: 18px;
}

    .nav-toggle__bars span {
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
        transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
    }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease),
                border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}

    .btn:hover {
        transform: translateY(-1px);
    }

    .btn:active {
        transform: translateY(0);
    }

.btn--primary {
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    color: var(--accent-ink);
    box-shadow: 0 10px 30px -12px rgba(139, 108, 255, 0.9);
}

    .btn--primary:hover {
        box-shadow: 0 16px 40px -14px rgba(139, 108, 255, 1);
    }

.btn--ghost {
    border-color: var(--line-strong);
    color: var(--ink);
    background: var(--surface);
}

    .btn--ghost:hover {
        border-color: var(--accent);
        background: var(--surface-strong);
    }

.btn--sm {
    padding: 9px 18px;
    font-size: 0.9rem;
}

.btn--block {
    width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-bright);
    font-weight: 600;
}

    .link-arrow::after {
        content: "→";
        transition: transform 0.2s var(--ease);
    }

    .link-arrow:hover::after {
        transform: translateX(4px);
    }

/* ---------- cards & surfaces ---------- */

.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.card--hover:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    background: var(--surface-strong);
}

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

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

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

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

.tag {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--ink-dim);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(139, 108, 255, 0.16);
    border: 1px solid rgba(139, 108, 255, 0.4);
    color: var(--accent-bright);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notice {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 122, 122, 0.4);
    background: rgba(255, 122, 122, 0.1);
    color: #ffd4d4;
    font-size: 0.95rem;
}

/* ---------- forms ---------- */

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field__label {
    font-size: 0.9rem;
    color: var(--ink-dim);
    font-weight: 550;
}

.field__hint {
    font-size: 0.82rem;
    color: var(--muted);
}

.field__error {
    font-size: 0.85rem;
    color: var(--danger);
}

.input,
.textarea,
.select {
    width: 100%;
    padding: 13px 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

    .input::placeholder,
    .textarea::placeholder {
        color: #5f5c6c;
    }

    .input:focus,
    .textarea:focus,
    .select:focus {
        border-color: var(--accent);
        background: rgba(0, 0, 0, 0.5);
        outline: none;
    }

.textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.55;
}

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

.radio-pill {
    position: relative;
}

    .radio-pill input {
        position: absolute;
        opacity: 0;
        inset: 0;
        cursor: pointer;
    }

    .radio-pill span {
        display: inline-flex;
        padding: 10px 18px;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--ink-dim);
        cursor: pointer;
        transition: all 0.2s var(--ease);
    }

    .radio-pill input:checked + span {
        border-color: var(--accent);
        background: rgba(139, 108, 255, 0.14);
        color: var(--ink);
    }

    .radio-pill input:focus-visible + span {
        outline: 2px solid var(--accent-bright);
        outline-offset: 3px;
    }

/* ---------- hero ---------- */

.hero {
    padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 7vw, 96px);
}

.hero__title {
    max-width: 15ch;
}

    .hero__title span {
        display: block;
    }

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

.hero__note {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--muted);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(48px, 7vw, 84px);
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat {
    background: var(--bg-soft);
    padding: 26px 24px;
}

.stat__value {
    font-family: var(--mono);
    font-size: 1.6rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.stat__label {
    margin-top: 6px;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.45;
}

/* ---------- package cards ---------- */

.package {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.package__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.package__name {
    font-size: 1.22rem;
    font-weight: 600;
}

.package__price {
    font-family: var(--mono);
    font-size: 1.7rem;
    letter-spacing: -0.03em;
}

.package__price small {
    display: block;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.package__desc {
    color: var(--ink-dim);
    font-size: 0.96rem;
}

.package__list {
    display: grid;
    gap: 9px;
    font-size: 0.93rem;
    color: var(--ink-dim);
}

    .package__list li {
        display: grid;
        grid-template-columns: 18px 1fr;
        gap: 8px;
        align-items: start;
    }

    .package__list li::before {
        content: "";
        width: 6px;
        height: 6px;
        margin-top: 9px;
        border-radius: 2px;
        background: var(--accent);
        opacity: 0.8;
    }

.package__meta {
    margin-top: auto;
    padding-top: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.package.is-popular {
    border-color: rgba(139, 108, 255, 0.5);
    box-shadow: 0 24px 60px -34px rgba(139, 108, 255, 0.9);
}

/* ---------- portfolio ---------- */

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
}

.work-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.work-card__cover {
    position: relative;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(140deg,
        hsl(var(--hue, 260) 70% 22%),
        hsl(calc(var(--hue, 260) + 40) 65% 12%) 60%,
        #0a0a10);
}

    .work-card__cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .work-card__cover::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                          linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
        background-size: 34px 34px;
        opacity: 0.7;
    }

.work-card__initials {
    position: relative;
    z-index: 1;
    font-family: var(--mono);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.work-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}

.work-card__title {
    font-size: 1.2rem;
    font-weight: 600;
}

.work-card__summary {
    color: var(--ink-dim);
    font-size: 0.95rem;
}

.work-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.filter-chip {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-dim);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

    .filter-chip:hover {
        color: var(--ink);
        border-color: var(--line-strong);
    }

    .filter-chip.is-active {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--accent-ink);
        font-weight: 600;
    }

/* ---------- case detail ---------- */

.case-hero {
    padding: clamp(48px, 7vw, 88px) 0 32px;
}

.case-cover {
    height: clamp(220px, 34vw, 380px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(140deg,
        hsl(var(--hue, 260) 70% 24%),
        hsl(calc(var(--hue, 260) + 40) 65% 12%) 60%,
        #0a0a10);
}

    .case-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.case-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 56px;
    align-items: start;
    padding-top: 48px;
}

.case-body p {
    margin-bottom: 20px;
    color: var(--ink-dim);
    font-size: 1.05rem;
}

.case-meta {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: grid;
    gap: 22px;
}

.case-meta__block dt {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.case-meta__block dd {
    margin: 0;
    color: var(--ink);
}

/* ---------- pricing calculator ---------- */

.calc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: start;
}

.calc__step {
    margin-bottom: 44px;
}

.calc__step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.calc__step-num {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent-bright);
}

.calc__step-lead {
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 22px;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.pick {
    position: relative;
    display: block;
    cursor: pointer;
}

    .pick input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

.pick__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all 0.2s var(--ease);
}

.pick:hover .pick__inner {
    border-color: var(--line-strong);
}

.pick input:checked + .pick__inner {
    border-color: var(--accent);
    background: rgba(139, 108, 255, 0.1);
    box-shadow: 0 0 0 1px rgba(139, 108, 255, 0.4);
}

.pick input:focus-visible + .pick__inner {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
}

/* Optie die niet te kiezen is: zichtbaar blijven, maar duidelijk waarom. */
.pick.is-locked {
    cursor: default;
}

    .pick.is-locked .pick__inner {
        border-style: dashed;
        background: transparent;
        opacity: 0.55;
    }

    .pick.is-locked:hover .pick__inner {
        border-color: var(--line);
    }

    .pick.is-locked .pick__price {
        text-decoration: line-through;
        color: var(--muted);
    }

.pick__lock {
    align-self: flex-start;
    padding: 3px 10px;
    margin-bottom: 4px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.pick__lock--included {
    border-color: rgba(79, 224, 192, 0.5);
    background: rgba(79, 224, 192, 0.12);
    color: var(--mint);
}

.pick.is-locked .pick__lock {
    opacity: 1;
}

.pick__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.pick__name {
    font-weight: 600;
}

.pick__price {
    font-family: var(--mono);
    font-size: 0.95rem;
    color: var(--accent-bright);
    white-space: nowrap;
}

.pick__desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

.pick__qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--ink-dim);
}

    .pick__qty input {
        position: static;
        opacity: 1;
        width: 74px;
        height: auto;
        padding: 7px 10px;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid var(--line);
        border-radius: 8px;
        color: var(--ink);
        font-family: var(--mono);
    }

.summary {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 28px;
    background: linear-gradient(180deg, rgba(139, 108, 255, 0.1), var(--surface) 40%);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
}

.summary__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.summary__lines {
    display: grid;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--line);
    font-size: 0.92rem;
}

.summary__line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--ink-dim);
}

    .summary__line b {
        font-family: var(--mono);
        font-weight: 500;
        color: var(--ink);
        white-space: nowrap;
    }

.summary__line-detail {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
}

.summary__totals {
    display: grid;
    gap: 12px;
    padding: 18px 0;
}

.summary__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

    .summary__total span {
        font-size: 0.9rem;
        color: var(--muted);
    }

    .summary__total b {
        font-family: var(--mono);
        font-size: 1.85rem;
        letter-spacing: -0.03em;
        font-weight: 500;
    }

.summary__total--sub b {
    font-size: 1.1rem;
    color: var(--ink-dim);
}

.summary__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0 20px;
    border-top: 1px dashed var(--line);
    font-size: 0.88rem;
    color: var(--muted);
}

.summary__empty {
    color: var(--muted);
    font-size: 0.95rem;
    padding: 8px 0 20px;
}

.summary__foot {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ---------- booking ---------- */

.booking {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
}

.day-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.day-chip {
    flex: none;
    min-width: 84px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

    .day-chip:hover {
        border-color: var(--line-strong);
    }

    .day-chip.is-active {
        border-color: var(--accent);
        background: rgba(139, 108, 255, 0.14);
    }

.day-chip__dow {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.day-chip__num {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2px;
}

.day-chip__mon {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.time-chip {
    padding: 11px 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--mono);
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

    .time-chip:hover {
        border-color: var(--line-strong);
    }

    .time-chip.is-active {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--accent-ink);
        font-weight: 600;
    }

.slot-empty {
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.95rem;
}

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

.form-grid > .field--full {
    grid-column: 1 / -1;
}

.booking-aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: grid;
    gap: 18px;
}

.chosen {
    padding: 22px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(139, 108, 255, 0.12), var(--surface) 60%);
}

.chosen__label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.chosen__value {
    margin-top: 8px;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ---------- confirmation ---------- */

.confirm-card {
    max-width: 640px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 44px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(139, 108, 255, 0.12), var(--surface) 45%);
}

.confirm-list {
    display: grid;
    gap: 16px;
    margin: 28px 0;
}

.confirm-list__row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line);
}

    .confirm-list__row dt {
        font-family: var(--mono);
        font-size: 11px;
        letter-spacing: 0.13em;
        text-transform: uppercase;
        color: var(--muted);
        padding-top: 4px;
    }

    .confirm-list__row dd {
        margin: 0;
        text-align: right;
        font-weight: 550;
    }

/* ---------- process & reasons ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

    .step::before {
        counter-increment: step;
        content: "0" counter(step);
        position: absolute;
        top: -1px;
        left: 0;
        padding-top: 14px;
        font-family: var(--mono);
        font-size: 12px;
        letter-spacing: 0.16em;
        color: var(--accent-bright);
    }

    .step::after {
        content: "";
        position: absolute;
        top: -1px;
        left: 0;
        width: 34px;
        height: 2px;
        background: var(--accent);
    }

.step__title {
    margin: 22px 0 10px;
    font-size: 1.08rem;
    font-weight: 600;
}

.step__body {
    color: var(--ink-dim);
    font-size: 0.95rem;
}

.reason__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.reason__body {
    color: var(--ink-dim);
    font-size: 0.95rem;
}

/* ---------- faq ---------- */

.faq {
    display: grid;
    gap: 12px;
    max-width: 820px;
}

.faq__item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}

.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 550;
    list-style: none;
}

    .faq__q::-webkit-details-marker {
        display: none;
    }

    .faq__q::after {
        content: "+";
        font-family: var(--mono);
        font-size: 1.3rem;
        color: var(--accent-bright);
        transition: transform 0.2s var(--ease);
    }

.faq__item[open] .faq__q::after {
    transform: rotate(45deg);
}

.faq__a {
    padding: 0 24px 22px;
    color: var(--ink-dim);
    font-size: 0.96rem;
}

/* ---------- big cta ---------- */

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(139, 108, 255, 0.18), rgba(79, 224, 192, 0.08) 70%, transparent);
    text-align: center;
}

.cta-panel__body {
    margin: 18px auto 32px;
    max-width: 54ch;
    color: var(--ink-dim);
}

.cta-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ---------- admin ---------- */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}

    .admin-table th {
        text-align: left;
        padding: 12px 14px;
        font-family: var(--mono);
        font-size: 11px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--muted);
        border-bottom: 1px solid var(--line);
    }

    .admin-table td {
        padding: 14px;
        border-bottom: 1px solid var(--line);
        vertical-align: top;
    }

    .admin-table tr:hover td {
        background: var(--surface);
    }

.status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    color: var(--ink-dim);
}

.status--new {
    border-color: rgba(139, 108, 255, 0.5);
    color: var(--accent-bright);
    background: rgba(139, 108, 255, 0.12);
}

.status--confirmed {
    border-color: rgba(79, 224, 192, 0.5);
    color: var(--mint);
    background: rgba(79, 224, 192, 0.1);
}

.status--cancelled {
    border-color: rgba(255, 122, 122, 0.4);
    color: var(--danger);
    background: rgba(255, 122, 122, 0.08);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.login-card {
    max-width: 380px;
    margin: clamp(60px, 12vh, 140px) auto;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

/* ---------- footer ---------- */

.site-footer {
    margin-top: clamp(60px, 8vw, 110px);
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(139, 108, 255, 0.05));
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 44px;
}

.site-footer__brand .brand__mark {
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
}

.site-footer__tagline {
    color: var(--ink-dim);
    max-width: 34ch;
    font-size: 0.95rem;
}

.site-footer__heading {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 400;
}

.site-footer__list {
    display: grid;
    gap: 10px;
    font-size: 0.94rem;
    color: var(--ink-dim);
}

    .site-footer__list a:hover {
        color: var(--accent-bright);
    }

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    padding-bottom: 32px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---------- reveal on scroll ---------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
    .calc,
    .booking,
    .case-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .summary,
    .booking-aside,
    .case-meta {
        position: static;
    }

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

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
        order: 3;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 20px 24px 28px;
        background: rgba(9, 9, 14, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
    }

        .site-nav.is-open {
            opacity: 1;
            visibility: visible;
            transform: none;
        }

    .nav-link {
        padding: 12px 14px;
        font-size: 1.02rem;
    }

    .lang-switch {
        align-self: flex-start;
        margin: 10px 0;
    }

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

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

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .steps,
    .stats,
    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .card {
        padding: 22px;
    }

    .confirm-list__row {
        flex-direction: column;
        gap: 4px;
    }

        .confirm-list__row dd {
            text-align: left;
        }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header,
    .site-footer,
    .backdrop {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }
}
