:root {
    --rgb-bg: 244, 251, 250;
    --rgb-bg-alt: 247, 252, 251;
    --rgb-surface: 255, 255, 255;
    --rgb-surface-alt: 243, 246, 247;
    --rgb-ink: 16, 38, 57;
    --rgb-ink-strong: 18, 40, 74;
    --rgb-muted: 99, 115, 129;
    --rgb-line: 16, 38, 57;
    --rgb-primary: 8, 133, 137;
    --rgb-primary-dark: 8, 133, 137;
    --rgb-primary-soft: 8, 133, 137;
    --rgb-secondary: 29, 120, 27;
    --rgb-secondary-dark: 20, 92, 20;
    --rgb-success: 47, 143, 91;
    --rgb-danger: 201, 60, 80;
    --rgb-warm: 240, 176, 79;
    --rgb-info: 27, 119, 255;
    --rgb-whatsapp: 37, 211, 102;
    --rgb-telegram: 34, 158, 217;
    --rgb-night: 10, 28, 44;
    --rgb-night-deep: 7, 27, 48;
    --rgb-paper: 247, 252, 251;
    --rgb-paper-alt: 241, 247, 247;

    --color-bg: rgb(var(--rgb-bg));
    --color-surface: rgba(var(--rgb-surface), 0.86);
    --color-surface-strong: rgb(var(--rgb-surface));
    --color-ink: rgb(var(--rgb-ink));
    --color-muted: rgb(var(--rgb-muted));
    --color-line: rgba(var(--rgb-line), 0.1);
    --color-primary: rgb(var(--rgb-primary));
    --color-primary-dark: rgb(var(--rgb-primary-dark));
    --color-secondary: rgb(var(--rgb-secondary));
    --color-secondary-dark: rgb(var(--rgb-secondary-dark));
    --color-warm: rgb(var(--rgb-warm));
    --color-danger: rgb(var(--rgb-danger));
    --color-success: rgb(var(--rgb-success));
    --color-info: rgb(var(--rgb-info));
    --color-night: rgb(var(--rgb-night));
    --color-night-deep: rgb(var(--rgb-night-deep));
    --color-paper: rgb(var(--rgb-paper));
    --color-paper-alt: rgb(var(--rgb-paper-alt));
    --shadow-soft: 0 18px 60px rgba(var(--rgb-ink), 0.08);
    --shadow-strong: 0 30px 80px rgba(var(--rgb-ink), 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) rgba(var(--rgb-ink), 0.08);
}

html::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html::-webkit-scrollbar-track {
    background: rgba(var(--rgb-ink), 0.08);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 999px;
    border: 2px solid rgba(var(--rgb-ink), 0.08);
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(var(--rgb-primary), 0.92), var(--color-primary));
}

body.site-body {
    margin: 0;
    font-family: "IBM Plex Sans", sans-serif;
    user-select: text;
    color: var(--color-ink);
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--rgb-primary), 0.14), transparent 32rem),
        radial-gradient(circle at 100% 10%, rgba(var(--rgb-secondary), 0.12), transparent 30rem),
        linear-gradient(180deg, rgb(var(--rgb-paper)) 0%, rgb(var(--rgb-paper-alt)) 100%);
    min-height: 100vh;
}

.site-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        url("../img/textures/light-paper-fibers-tinted.png"),
        url("../img/textures/slightly-blotted-clean-pale-stucco-pattern.jpg");
    opacity: 0.12;
    mix-blend-mode: multiply;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 1rem 0;
    backdrop-filter: blur(18px);
    background: rgba(var(--rgb-bg), 0.74);
    border-bottom: 1px solid rgba(var(--rgb-ink), 0.05);
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.site-brand__logo {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: contain;
}

.site-brand__copy {
    display: grid;
    gap: 0.1rem;
}

.site-brand__copy strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.site-brand__copy small {
    color: var(--color-muted);
}

.site-nav-panel {
    display: flex !important;
    align-items: center;
    gap: 1.25rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav a {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    color: var(--color-muted);
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
    background: rgba(var(--rgb-ink), 0.06);
    color: var(--color-ink);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 1rem;
    background: rgba(var(--rgb-ink), 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.3rem;
}

.site-nav-toggle span {
    width: 1.2rem;
    height: 2px;
    border-radius: 999px;
    background: var(--color-ink);
}

.site-main {
    position: relative;
    z-index: 1;
}

.site-footer {
    position: relative;
    z-index: 1;
    padding: 4rem 0 2rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: rgba(var(--rgb-night), 0.92);
    color: rgba(var(--rgb-surface), 0.92);
    box-shadow: var(--shadow-strong);
}

.section {
    padding: 2rem 0 4rem;
}

.hero {
    padding: 1.5rem 0 2.5rem;
}

.hero__intro,
.page-head__grid,
.two-column,
.project-hero,
.ai-layout {
    display: grid;
    gap: 1.5rem;
}

.hero__intro,
.page-head__grid,
.project-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.9fr);
    align-items: stretch;
}

.hero__copy,
.surface-card,
.featured-project,
.contact-strip,
.service-panel,
.service-tab,
.metric-card,
.offer-card,
.project-card,
.empty-card,
.cta-band,
.highlight-card,
.process-card,
.chat-message,
.gallery-card {
    background: var(--color-surface);
    border: 1px solid rgba(var(--rgb-surface), 0.75);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.hero__copy,
.hero__metrics,
.featured-project,
.contact-strip,
.process-grid,
.ai-layout,
.project-hero,
.surface-card--padded {
    border-radius: var(--radius-lg);
}

.hero__copy {
    padding: 2.25rem;
}

.hero__copy h1,
.page-head h1,
.service-panel__copy h3,
.section-head h2,
.project-hero h1 {
    margin: 0 0 1rem;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero__lead,
.section-copy,
.service-panel__copy p,
.surface-card p,
.project-card p,
.offer-card p,
.chat-message__body {
    color: var(--color-muted);
    line-height: 1.7;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    color: var(--color-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.eyebrow--light {
    color: rgba(var(--rgb-surface), 0.82);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.button-row--stretch .button {
    flex: 1 1 0;
}

.button-row--center {
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.25rem;
    padding: 0.85rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

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

.button--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: rgb(var(--rgb-surface));
}

.button--ghost {
    border-color: rgba(var(--rgb-ink), 0.12);
    background: rgba(var(--rgb-surface), 0.72);
    color: var(--color-ink);
}

.button--submit {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    color: rgb(var(--rgb-surface));
    box-shadow: 0 18px 32px rgba(var(--rgb-secondary-dark), 0.28);
}

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

.button--small {
    min-height: 2.5rem;
    padding: 0.65rem 0.95rem;
    font-size: 0.92rem;
}

.cookie-notice {
    position: fixed;
    left: 1.25rem;
    bottom: calc(1rem + var(--cookie-notice-offset, 0px));
    z-index: 1040;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.15rem;
    width: min(calc(100vw - 2.5rem), 46rem);
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(var(--rgb-ink), 0.09);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 34px rgba(var(--rgb-ink), 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cookie-notice[hidden] {
    display: none !important;
}

.cookie-notice__text {
    margin: 0;
    color: var(--color-ink);
    font-size: 1rem;
    line-height: 1.7;
}

.cookie-notice__link {
    color: var(--color-primary-dark);
    font-weight: 600;
    text-decoration-color: rgba(var(--rgb-primary), 0.55);
}

.cookie-notice__link:hover {
    color: var(--color-primary);
    text-decoration-color: rgba(var(--rgb-primary), 0.8);
}

.cookie-notice__button {
    min-height: 2.75rem;
    padding-inline: 1.2rem;
    justify-self: end;
    white-space: nowrap;
}

.hero__metrics,
.detail-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.metric-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
}

.metric-card span {
    display: block;
    color: var(--color-muted);
    margin-bottom: 0.45rem;
}

.metric-card strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-head--tight {
    margin-bottom: 1rem;
}

.service-switcher {
    margin-top: 1.5rem;
}

.service-switcher__controls {
    display: flex;
    gap: 0.75rem;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    background: rgba(var(--rgb-surface), 0.72);
    color: var(--color-ink);
}

.service-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-tab i {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-grid;
    place-items: center;
    border-radius: 0.95rem;
    background: color-mix(in srgb, var(--tab-accent) 16%, white);
    color: var(--tab-accent);
    font-size: 1.25rem;
}

.service-tab strong {
    display: block;
    font-family: "Manrope", sans-serif;
    margin-bottom: 0.15rem;
}

.service-tab small {
    color: var(--color-muted);
}

.service-tab.is-active {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--tab-accent) 40%, white);
    background: color-mix(in srgb, var(--tab-accent) 8%, white);
}

.service-panel {
    display: none;
    padding: 1.5rem;
    border-radius: 32px;
}

.service-panel.is-active {
    display: block;
}

.service-panel__hero,
.service-panel__meta {
    display: grid;
    gap: 1.25rem;
}

.service-panel__hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.9fr);
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-panel__copy h3 {
    font-size: clamp(1.7rem, 3vw, 2.75rem);
}

.service-panel__note {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: var(--service-accent-soft);
    color: var(--color-ink);
}

.service-panel__visual img,
.featured-project__visual img,
.project-card__image img,
.project-hero__visual img,
.gallery-card img,
.showcase__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.service-panel__visual {
    min-height: 21rem;
}

.service-panel__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.surface-card {
    border-radius: var(--radius-md);
}

.surface-card--padded {
    padding: 1.5rem;
}

.surface-card h4,
.surface-card h2,
.featured-project h2,
.project-card h3,
.offer-card h5,
.cta-band h4,
.process-card h3 {
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.03em;
}

.feature-list {
    display: grid;
    gap: 0.8rem;
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-ink);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--color-primary);
}

.feature-list--compact {
    gap: 0.55rem;
}

.stats-strip {
    display: grid;
    gap: 1rem;
}

.stat-card {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(var(--rgb-surface), 0.92), rgba(var(--rgb-surface), 0.72));
    border: 1px solid var(--color-line);
}

.stat-card strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
}

.stat-card span {
    color: var(--color-muted);
}

.offer-grid,
.project-grid,
.gallery-grid,
.process-grid,
.concept-grid {
    display: grid;
    gap: 1rem;
}

.offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.offer-card,
.project-card,
.empty-card,
.gallery-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
}

.offer-card__top,
.project-card__meta,
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
}

.offer-price {
    text-align: right;
}

.offer-price strong {
    display: block;
    font-family: "Manrope", sans-serif;
}

.offer-price span,
.project-card__meta span {
    color: var(--color-muted);
    font-size: 0.95rem;
}

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

.project-grid--small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card__image {
    display: block;
    min-height: 15rem;
}

.project-card__body h3,
.project-card__body h5 {
    margin: 0.75rem 0 0.55rem;
}

.project-card__placeholder {
    min-height: 15rem;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: rgb(var(--rgb-surface));
    font-family: "Manrope", sans-serif;
    font-size: 4rem;
}

.pill,
.choice-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(var(--rgb-surface), 0.92);
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    color: var(--color-ink);
    font-size: 0.92rem;
}

.stacked-pills,
.contact-service-list,
.service-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--service-surface), color-mix(in srgb, var(--service-accent) 24%, #0b1520));
    color: rgb(var(--rgb-surface));
}

.cta-band p,
.cta-band .eyebrow {
    color: rgba(var(--rgb-surface), 0.78);
}

.showcase__media {
    display: grid;
    gap: 1rem;
}

.section--dark {
    position: relative;
}

.section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-ink), var(--color-secondary));
    transform: skewY(-2deg);
    transform-origin: left top;
}

.section--dark .container {
    position: relative;
    z-index: 1;
}

.section--dark h2 {
    color: rgb(var(--rgb-surface));
}

.highlight-card {
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-md);
    color: rgb(var(--rgb-surface));
    background: rgba(var(--rgb-surface), 0.08);
}

.highlight-card span,
.highlight-card p,
.process-card p {
    color: rgba(var(--rgb-surface), 0.72);
}

.highlight-card strong {
    display: block;
    margin: 0.35rem 0 0.5rem;
    font-family: "Manrope", sans-serif;
    font-size: 1.5rem;
}

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

.process-card {
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.process-card span {
    display: inline-grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    padding: 1.6rem;
}

body.brief-form-page {
    padding-bottom: 16rem;
}

.brief-form-shell {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    isolation: isolate;
}

.brief-form-shell.is-closed {
    display: none;
}

.brief-form-shell__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(12, 18, 28, 0.52);
    backdrop-filter: blur(24px) saturate(0.85);
    -webkit-backdrop-filter: blur(24px) saturate(0.85);
}

.brief-form-shell__viewport {
    position: relative;
    z-index: 1;
    width: min(1220px, 100%);
    margin: 0;
}

.brief-form-shell.brief-form-shell--inline {
    position: relative;
    inset: auto;
    z-index: auto;
    display: block;
    padding: 0 0 2rem;
    align-items: stretch;
    isolation: auto;
    background: transparent;
}

.brief-form-shell.brief-form-shell--inline .brief-form-shell__backdrop {
    display: none;
}

.brief-form-shell.brief-form-shell--inline .brief-form-shell__viewport {
    width: 100%;
}

/* Inline mode keeps the wizard styling but becomes part of the document. */
.brief-form-shell.brief-form-shell--inline .brief-modal-card__layout {
    height: auto;
    min-height: 0;
    max-height: none;
}

.brief-form-shell.brief-form-shell--inline .brief-modal-card__main {
    display: block;
    min-height: 0;
    overflow: visible;
}

.brief-form-shell.brief-form-shell--inline .brief-modal-card__body {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    margin-right: 0;
}

.brief-form-shell.brief-form-shell--inline .brief-wizard__step {
    display: grid;
}

.brief-form-shell.brief-form-shell--inline .brief-wizard__step[hidden] {
    display: grid;
}

.brief-form-shell.brief-form-shell--inline .brief-modal-card,
.brief-form-shell.brief-form-shell--inline .brief-wizard-aside {
    overflow: visible;
}

.brief-form-shell.brief-form-shell--inline .brief-modal-card__aside {
    align-self: start;
    height: fit-content;
}

.brief-form-shell.brief-form-shell--inline .brief-modal-card__aside.is-scroll-fixed {
    position: fixed;
    z-index: 20;
    margin: 0;
}

.brief-form-shell.brief-form-shell--inline .brief-floating-price,
.brief-form-shell.brief-form-shell--inline .brief-floating-price__section {
    position: static;
    overflow: visible;
}

.brief-form-shell.brief-form-shell--inline .brief-wizard-aside__body {
    overflow: visible;
}

body.brief-modal-open {
    overflow: hidden;
}

body.brief-modal-open .site-header,
body.brief-modal-open .site-footer,
body.brief-modal-open .site-noise,
body.brief-modal-open .cookie-notice,
body.brief-modal-open .site-main > :not([data-brief-modal-root]),
body.brief-modal-open .site-main > [data-brief-modal-root] > :not(.brief-form-shell) {
    filter: blur(16px) saturate(0.82);
    pointer-events: none;
    user-select: none;
}

.constructor-hero-title {
    display: grid;
    gap: 0.1rem;
    margin: 0;
    font-size: clamp(2.25rem, 6vw, 4.8rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.constructor-hero-title__brand {
    color: var(--color-primary);
}

.constructor-hero-title__dark {
    color: var(--color-ink);
}

.constructor-hero-title__muted {
    color: var(--color-muted);
    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-top: 0.45rem;
}

.ai-design-cta {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, rgba(var(--rgb-secondary-dark), 0.12), rgba(17, 25, 40, 0.04));
    border: 1px solid rgba(var(--rgb-secondary-dark), 0.18);
    color: var(--color-ink);
}

.ai-design-cta__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.brief-launch-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.brief-wizard__panel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #f8fafb;
}

.brief-modal-card__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(19rem, 0.72fr);
    height: min(52rem, calc(100vh - 2.5rem));
    min-height: min(52rem, calc(100vh - 2.5rem));
    max-height: calc(100vh - 2.5rem);
}

.brief-modal-card__main {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1rem;
    min-height: 0;
    padding: 1.5rem;
    overflow: hidden;
}

.brief-modal-card__aside {
    display: flex;
    min-height: 0;
    padding: 1.5rem 1.5rem 1.5rem 0;
    background: linear-gradient(180deg, rgba(20, 52, 76, 0.03), rgba(20, 52, 76, 0.01));
}

.brief-modal-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-right: 2.75rem;
}

.brief-modal-card__status-group {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.brief-modal-card__body {
    min-height: 0;
    overflow: auto;
    padding-right: 0.35rem;
    margin-right: -0.35rem;
}

.brief-modal-card__body::-webkit-scrollbar {
    width: 0.45rem;
}

.brief-modal-card__body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(20, 52, 76, 0.22);
}

.brief-wizard-card {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brief-wizard-card--final {
    min-height: 100%;
}

.brief-template-placeholder {
    padding: 1.1rem 1.15rem;
    border-radius: 0.75rem;
    background: #f3f5f7;
    color: var(--color-muted);
    line-height: 1.6;
}

.brief-wizard__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(18, 40, 74, 0.12);
    color: var(--color-ink);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(17, 39, 69, 0.14);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.brief-wizard__close:hover {
    background: #ffffff;
    color: var(--color-primary-dark);
    transform: rotate(90deg);
}

.brief-wizard__status {
    padding: 0.8rem 0.9rem;
    border-radius: 0.75rem;
    background: #eef3f5;
    color: var(--color-ink);
    font-weight: 600;
}

.brief-wizard__status--error {
    background: #f8ecec;
    color: #8e2020;
}

.brief-wizard__step {
    display: grid;
    gap: 0.85rem;
    align-content: start;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(20, 52, 76, 0.08);
}

.brief-wizard__step.is-active {
    display: grid;
}

.brief-wizard__step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.brief-wizard__head {
    display: grid;
    gap: 0.35rem;
    padding-right: 0;
}

.brief-wizard__eyebrow {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.brief-wizard__title {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.brief-wizard__copy {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.brief-wizard__placeholder {
    padding: 1.15rem 1.2rem;
    border-radius: 0.75rem;
    background: #f3f5f7;
    color: var(--color-muted);
}

.brief-wizard__final {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #f3f6f7;
    border: 0;
}

.brief-wizard__final-label {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.brief-wizard__download-link {
    color: var(--color-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.brief-wizard__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 100px;
    height: 100px;
    padding: 0.8rem 1.1rem;
    border: 0;
    background: #f3f5f7;
}

.brief-wizard__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.9rem;
    min-height: 2.75rem;
    min-width: 2.9rem;
    padding: 0.68rem;
    border: 1px solid rgba(18, 40, 74, 0.12);
    border-radius: 0.75rem;
    background: #ffffff;
    color: var(--color-ink);
    cursor: pointer;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.brief-wizard__nav:hover {
    transform: none;
    background: #f7f9fa;
    border-color: rgba(18, 40, 74, 0.18);
}

.brief-wizard__nav span[aria-hidden="true"] {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
    color: var(--color-primary-dark);
}

.brief-wizard__counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 4.2rem;
    padding: 0 0.15rem;
    color: var(--color-muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.brief-floating-price {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    display: grid;
    gap: 0.85rem;
    width: min(24rem, calc(100vw - 2.5rem));
    max-height: calc(100vh - 2.5rem);
    overflow: auto;
    padding: 1rem 1.05rem;
    border-radius: 0.9rem;
    background: #ffffff;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.brief-form-shell .brief-floating-price {
    position: sticky;
    top: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    max-height: none;
}

.brief-wizard-aside {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100%;
    min-height: 0;
    border-radius: 1.65rem;
    background:
        radial-gradient(circle at top right, rgba(10, 141, 136, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(246, 249, 251, 0.98), rgba(240, 244, 247, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.brief-wizard-aside__body {
    display: flex;
    align-items: stretch;
    min-height: 0;
    overflow: auto;
    padding: 1.35rem;
    background: transparent;
}

.brief-modal-card__aside,
.brief-modal-card__aside.is-scroll-fixed,
.brief-wizard-aside,
.brief-wizard-aside__body {
    background: linear-gradient(180deg, rgba(12, 19, 27, .97), rgba(15, 23, 31, .97)) !important;
}

.brief-wizard-aside__footer {
    padding: 1rem 1.35rem 1.2rem;
    border-top: 1px solid rgba(20, 52, 76, 0.08);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.brief-wizard-story {
    --brief-story-accent: var(--color-ink-strong);
    --brief-story-accent-soft: rgba(var(--rgb-ink-strong), 0.14);
    display: grid;
    gap: 1rem;
    align-content: start;
    width: 100%;
    min-height: 0;
    padding: 1rem;
    border: 1px solid rgba(20, 52, 76, 0.1);
    border-radius: 1.65rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 42px rgba(17, 39, 69, 0.08);
}

.brief-wizard-story[data-brief-step-art="company"] {
    --brief-story-accent: var(--color-ink-strong);
    --brief-story-accent-soft: rgba(var(--rgb-ink-strong), 0.14);
}

.brief-wizard-story[data-brief-step-art="materials"] {
    --brief-story-accent: var(--color-ink-strong);
    --brief-story-accent-soft: rgba(var(--rgb-ink-strong), 0.14);
}

.brief-wizard-story[data-brief-step-art="services"] {
    --brief-story-accent: var(--color-ink-strong);
    --brief-story-accent-soft: rgba(var(--rgb-ink-strong), 0.14);
}

.brief-wizard-story[data-brief-step-art="contacts"] {
    --brief-story-accent: var(--color-ink-strong);
    --brief-story-accent-soft: rgba(var(--rgb-ink-strong), 0.14);
}

.brief-wizard-story[data-brief-step-art="comment"],
.brief-wizard-story[data-brief-step-art="done"] {
    --brief-story-accent: var(--color-ink-strong);
    --brief-story-accent-soft: rgba(var(--rgb-ink-strong), 0.14);
}

.brief-wizard-story__visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-radius: 1.2rem;
    overflow: hidden;
    background: #dde4e8;
    box-shadow: none;
    isolation: isolate;
}

.brief-wizard-story__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 21, 32, 0.04), rgba(12, 21, 32, 0.42));
    z-index: 1;
    pointer-events: none;
}

.brief-wizard-story__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    z-index: 1;
    pointer-events: none;
}

.brief-wizard-story__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.35s ease;
}

.brief-wizard-story__canvas {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    z-index: 2;
}

.brief-wizard-story__screen {
    display: grid;
    gap: 0.75rem;
    padding: 1.1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.56);
    box-shadow: 0 18px 38px rgba(8, 24, 42, 0.24);
}

.brief-wizard-story__screen-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(10, 141, 136, 0.14);
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brief-wizard-story__screen-bar,
.brief-wizard-story__screen-panel {
    display: block;
    border-radius: 999px;
}

.brief-wizard-story__screen-bar {
    height: 0.72rem;
    background: rgba(20, 52, 76, 0.12);
}

.brief-wizard-story__screen-bar--short {
    width: 62%;
}

.brief-wizard-story__screen-panel {
    height: 3.8rem;
    border-radius: 1rem;
    background: rgba(20, 52, 76, 0.08);
}

.brief-wizard-story__screen-panel--accent {
    height: 5rem;
    background: linear-gradient(135deg, rgba(10, 141, 136, 0.2), rgba(20, 52, 76, 0.12));
}

.brief-wizard-story__overlay {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
}

.brief-wizard-story__copy-wrap {
    display: grid;
    gap: 0.45rem;
    padding: 0.1rem 0.1rem 0.05rem;
}

.brief-wizard-story__copy-wrap .brief-wizard-story__eyebrow {
    margin: 0;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brief-wizard-story__copy-wrap .brief-wizard-story__title {
    margin: 0;
    color: var(--color-ink);
    font-size: 1.45rem;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.brief-wizard-story__copy-wrap .brief-wizard-story__copy {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.brief-wizard-story__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brief-wizard-story__thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.brief-wizard-story__thumb {
    position: relative;
    display: grid;
    align-items: end;
    width: 100%;
    min-height: 5.4rem;
    padding: 0;
    border: 1px solid rgba(20, 52, 76, 0.12);
    border-radius: 0.7rem;
    overflow: hidden;
    background: #dce3e7;
    appearance: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.brief-wizard-story__thumb:hover {
    transform: none;
    background: #d5dde2;
}

.brief-wizard-story__thumb.is-active {
    border-color: var(--brief-story-accent);
    box-shadow: 0 0 0 1px var(--brief-story-accent-soft);
}

.brief-wizard-story__thumb:focus-visible {
    outline: 2px solid var(--brief-story-accent);
    outline-offset: 2px;
}

.brief-wizard-story__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 19, 33, 0.02), rgba(9, 19, 33, 0.56));
    z-index: 1;
    pointer-events: none;
}

.brief-wizard-story__thumb-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brief-wizard-story__thumb-label {
    position: relative;
    z-index: 2;
    padding: 0.55rem 0.6rem;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.15;
}

.brief-wizard-story__eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brief-wizard-story__title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.12rem, 2vw, 1.42rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.brief-wizard-story__copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    line-height: 1.45;
}

.brief-form-shell .brief-floating-price--embedded {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    top: auto;
    width: min(24rem, calc(100vw - 2.5rem));
    height: auto;
    max-height: none;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(20, 52, 76, 0.1);
    border-radius: 0.9rem;
    box-shadow: 0 18px 42px rgba(17, 39, 69, 0.16);
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.brief-floating-price--global {
    position: fixed !important;
    right: 1.25rem !important;
    bottom: 1.25rem !important;
    top: auto !important;
    left: auto !important;
    z-index: 2000;
    width: min(21rem, calc(100vw - 2rem)) !important;
    height: auto !important;
    padding: 1rem 1.15rem !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: .9rem !important;
    background: #111a24 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28) !important;
    gap: .55rem !important;
}

.brief-floating-price--global .brief-floating-price__service,
.brief-floating-price--global .brief-floating-price__value {
    color: #f4f7fa !important;
}

.brief-floating-price--global .brief-floating-price__value {
    font-size: 1.35rem;
    font-weight: 700;
}

.brief-floating-price--global .brief-floating-price__hint {
    color: rgba(244, 247, 250, .62) !important;
    font-size: .76rem;
}

.brief-form-shell .brief-modal-card__aside,
.brief-form-shell .brief-wizard-card,
.brief-form-shell .brief-template-placeholder,
.brief-form-shell .brief-wizard__placeholder,
.brief-form-shell .brief-wizard__final,
.brief-form-shell .brief-wizard-aside,
.brief-form-shell .brief-floating-price--embedded,
.brief-form-shell .brief-price-breakdown__empty {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.brief-form-shell .brief-segmented {
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(247, 251, 248, 0.98), rgba(239, 246, 241, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.brief-form-shell .brief-section-picker__summary,
.brief-form-shell .brief-section-card {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 26px rgba(20, 52, 76, 0.04);
}

.brief-form-shell .brief-modal-card__body,
.brief-form-shell .brief-wizard__footer,
.brief-form-shell .brief-wizard-aside__body,
.brief-form-shell .brief-wizard-aside__footer {
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.brief-floating-price__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
}

.brief-floating-price__lead {
    display: grid;
    gap: 0.32rem;
    min-width: 0;
}

.brief-floating-price__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.brief-floating-price__service {
    color: var(--color-ink);
    font-weight: 700;
    line-height: 1.3;
}

.brief-floating-price__value {
    font-family: "Manrope", sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.brief-floating-price__hint {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.brief-floating-price__section {
    display: grid;
    gap: 0.7rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(20, 52, 76, 0.08);
    min-height: 0;
    overflow: auto;
}

.brief-floating-price__section-title {
    color: var(--color-ink);
    font-size: 0.84rem;
    font-weight: 700;
}

.brief-floating-price__section-copy {
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: right;
}

.brief-floating-price__palette {
    gap: 0.55rem;
}

.brief-floating-price__palette .color-chip-lg {
    width: 2rem;
    height: 2rem;
}

@media (max-width: 991.98px) {
    body.brief-form-page {
        padding-bottom: 18rem;
    }

    .constructor-hero-title {
        font-size: clamp(2rem, 10vw, 3.4rem);
    }

    .brief-form-shell {
        padding: 0.75rem;
        align-items: stretch;
    }

    .brief-form-shell__viewport {
        width: 100%;
    }

    .brief-modal-card__layout {
        grid-template-columns: 1fr;
        height: calc(100vh - 1.5rem);
        min-height: auto;
        max-height: calc(100vh - 1.5rem);
    }

    .brief-modal-card__main {
        padding: 1rem;
    }

    .brief-modal-card__aside {
        padding: 0 1rem 1rem;
    }

    .brief-launch-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .brief-wizard__footer {
        justify-content: center;
        height: auto;
        min-height: 0;
    }

    .brief-wizard__nav,
    .brief-wizard__counter {
        width: auto;
    }

    .brief-floating-price {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: auto;
        max-height: min(60vh, calc(100vh - 2rem));
    }

    .brief-form-shell .brief-floating-price {
        position: static;
        max-height: none;
    }

    .brief-form-shell.brief-form-shell--inline .brief-modal-card__aside {
        position: static;
    }

    .brief-form-shell.brief-form-shell--inline .brief-modal-card__aside.is-scroll-fixed {
        position: static;
        width: auto !important;
        left: auto !important;
        top: auto !important;
    }

    .brief-wizard-aside__body,
    .brief-wizard-aside__footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .brief-wizard-story__thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cookie-notice {
        left: 0.9rem;
        right: 0.9rem;
        bottom: calc(0.75rem + var(--cookie-notice-offset, 0px));
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        width: auto;
        gap: 1rem;
        padding: 1rem;
    }

    .cookie-notice__button {
        justify-self: start;
    }

    .cookie-notice__text {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    body.brief-form-page {
        padding-bottom: 20rem;
    }

    .brief-floating-price {
        gap: 0.75rem;
        padding: 0.85rem 0.9rem;
        border-radius: 1.2rem;
    }

    .brief-floating-price__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .brief-floating-price__value,
    .brief-floating-price__section-copy {
        text-align: left;
    }

    .brief-floating-price__value {
        font-size: 1.3rem;
    }

    .brief-form-shell {
        padding: 0.5rem;
    }

    .brief-modal-card__layout {
        height: calc(100vh - 1rem);
        max-height: calc(100vh - 1rem);
    }

    .brief-wizard-story__visual {
        min-height: 12.5rem;
    }
}

@media (max-width: 989.98px) {
    .brief-wizard-story {
        display: none;
    }
}

.file-input-hidden {
    display: none;
}

body.brief-form-page .form-label,
.brief-form-shell .form-label {
    color: var(--color-ink);
    letter-spacing: -0.01em;
}

body.brief-form-page .form-control,
body.brief-form-page .form-select,
.brief-form-shell .form-control,
.brief-form-shell .form-select {
    min-height: 3rem;
    padding: 0.72rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(var(--rgb-secondary), 0.16);
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 10px 28px rgba(17, 39, 69, 0.06);
    color: var(--color-ink);
    font-size: 0.95rem;
    line-height: 1.35;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.brief-form-page .form-control::placeholder,
body.brief-form-page .form-select:invalid,
.brief-form-shell .form-control::placeholder,
.brief-form-shell .form-select:invalid {
    color: rgba(84, 103, 127, 0.88);
}

body.brief-form-page .form-control:focus,
body.brief-form-page .form-select:focus,
.brief-form-shell .form-control:focus,
.brief-form-shell .form-select:focus {
    border-color: rgba(var(--rgb-secondary), 0.34);
    background: rgba(246, 251, 247, 0.98);
    box-shadow:
        0 0 0 0.22rem rgba(var(--rgb-secondary), 0.12),
        0 18px 36px rgba(var(--rgb-secondary-dark), 0.08);
}

body.brief-form-page textarea.form-control,
.brief-form-shell textarea.form-control {
    min-height: 6.8rem;
    resize: vertical;
    line-height: 1.5;
}

body.brief-form-page input[type="number"].form-control,
.brief-form-shell input[type="number"].form-control {
    padding-right: 0.95rem;
}

body.brief-form-page input[type="file"].form-control,
.brief-form-shell input[type="file"].form-control {
    padding: 0.3rem 0.35rem;
    overflow: hidden;
}

body.brief-form-page input[type="file"].form-control::file-selector-button,
.brief-form-shell input[type="file"].form-control::file-selector-button {
    margin-right: 0.7rem;
    padding: 0.62rem 0.85rem;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(var(--rgb-secondary-dark), 0.14), rgba(20, 52, 76, 0.12));
    color: var(--color-ink);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

body.brief-form-page input[type="file"].form-control::file-selector-button:hover,
.brief-form-shell input[type="file"].form-control::file-selector-button:hover {
    background: linear-gradient(135deg, rgba(var(--rgb-secondary-dark), 0.2), rgba(20, 52, 76, 0.16));
}

body.brief-form-page .invalid-feedback,
.brief-form-shell .invalid-feedback {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: #c93c50;
}

.brief-form-row {
    display: grid;
    grid-template-columns: minmax(9.25rem, 13rem) minmax(0, 1fr);
    gap: 0.55rem 0.85rem;
    align-items: start;
}

.brief-form-row__label {
    min-width: 0;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    padding-top: 0;
    font-size: 0.94rem;
}

.brief-form-row--textarea .brief-form-row__label,
.brief-form-row--file .brief-form-row__label,
.brief-form-row--options .brief-form-row__label {
    align-items: flex-start;
    padding-top: 0.72rem;
}

.brief-form-row__control {
    min-width: 0;
}

.multi-file-field {
    display: grid;
    gap: 0.45rem;
}

.multi-file-field.is-invalid {
    color: #c93c50;
}

.multi-file-field__row {
    display: grid;
    grid-template-columns: minmax(9.25rem, 13rem) 2.4rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.multi-file-field .form-label {
    min-height: 2.4rem;
    display: inline-flex;
    align-items: center;
}

.multi-file-picker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 1px solid rgba(18, 40, 74, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-secondary);
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(17, 39, 69, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.multi-file-picker:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--rgb-secondary-dark), 0.22);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 28px rgba(var(--rgb-secondary-dark), 0.12);
}

.multi-file-picker:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.22rem rgba(var(--rgb-secondary-dark), 0.12);
}

.multi-file-list {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1 1 16rem;
    flex-wrap: wrap;
    min-height: 2.4rem;
}

.multi-file-empty {
    color: var(--color-muted);
}

.multi-file-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.4rem;
    max-width: 100%;
    padding: 0.35rem 0.45rem 0.35rem 0.8rem;
    border: 1px solid rgba(18, 40, 74, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 22px rgba(17, 39, 69, 0.06);
}

.multi-file-name {
    min-width: 0;
    color: var(--color-ink);
    font-size: 0.88rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.multi-file-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 52, 76, 0.08);
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.multi-file-remove:hover {
    transform: translateY(-1px);
    background: rgba(201, 60, 80, 0.12);
    color: #c93c50;
}

.multi-file-remove:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(var(--rgb-secondary-dark), 0.12);
}

.brief-addon-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    height: 100%;
    padding: 0.85rem 0.9rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(18, 40, 74, 0.12);
    background: #ffffff;
    box-shadow: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.brief-addon-card--forest:hover {
    transform: none;
    box-shadow: none;
}

.brief-addon-card--forest:has(input[type="checkbox"]:checked) {
    border-color: rgba(var(--rgb-secondary), 0.34);
    background: linear-gradient(180deg, rgba(var(--rgb-secondary), 0.12), rgba(var(--rgb-secondary), 0.05));
    box-shadow: 0 14px 30px rgba(var(--rgb-secondary-dark), 0.08);
}

.brief-addon-card input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 2.7rem;
    height: 2.7rem;
    margin-top: 0.1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(var(--rgb-secondary), 0.28);
    background: rgba(255, 255, 255, 0.98);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1.6rem 1.6rem;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.brief-addon-card input[type="checkbox"]:checked {
    border-color: var(--color-secondary);
    background-color: rgba(var(--rgb-secondary), 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231d781b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M3 8.3 6.3 11.6 13 4.8'/%3E%3C/svg%3E");
}

.brief-addon-card input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(var(--rgb-secondary), 0.14);
}

.brief-addon-card__body {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.brief-addon-card__title {
    color: var(--color-ink);
    font-size: 0.94rem;
    font-weight: 700;
}

.brief-addon-card__price {
    color: var(--color-secondary);
    font-family: "Manrope", sans-serif;
    font-size: 0.94rem;
    font-weight: 800;
}

.brief-price-breakdown {
    display: grid;
    gap: 0.75rem;
}

.brief-price-breakdown__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    color: var(--color-muted);
}

.brief-price-breakdown__row strong {
    color: var(--color-ink);
    font-size: 0.98rem;
}

.brief-price-breakdown__empty {
    padding: 0.95rem 1rem;
    border-radius: 0.75rem;
    background: #f3f5f7;
    color: var(--color-muted);
}

.brief-wizard__final .brief-floating-price__section {
    padding-top: 0;
    border-top: 0;
}

body.brief-form-page .form-check,
.brief-form-shell .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

body.brief-form-page .form-check-input,
.brief-form-shell .form-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 2.4rem;
    height: 2.4rem;
    margin-top: 0.05rem;
    border: 1.5px solid rgba(var(--rgb-secondary), 0.3);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.98);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1.35rem 1.35rem;
    cursor: pointer;
}

body.brief-form-page .form-check-input:checked,
.brief-form-shell .form-check-input:checked {
    background-color: rgba(var(--rgb-secondary), 0.12);
    border-color: var(--color-secondary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231d781b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M3 8.3 6.3 11.6 13 4.8'/%3E%3C/svg%3E");
}

body.brief-form-page .form-check-input:focus-visible,
.brief-form-shell .form-check-input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.22rem rgba(var(--rgb-secondary), 0.14);
}

.brief-control-stack,
.brief-control-group {
    display: grid;
    gap: 0.65rem;
}

.brief-animated-panel {
    overflow: hidden;
    transform-origin: top;
    opacity: 1;
    transform: translateY(0);
    transition:
        max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        margin 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
    will-change: max-height, opacity, transform;
}

.brief-animated-panel.is-collapsed {
    opacity: 0;
    transform: translateY(-0.35rem);
    pointer-events: none;
}

.card.brief-animated-panel.is-collapsed {
    margin-bottom: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.brief-animated-panel.is-animating {
    overflow: hidden;
}

.brief-segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
    padding: 0.3rem;
    border-radius: 1rem;
    border: 1px solid rgba(var(--rgb-secondary), 0.12);
    box-shadow: none;
}

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

.brief-segmented__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.62rem 0.85rem;
    border: 0;
    border-radius: 0.8rem;
    background: transparent;
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.brief-segmented__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    line-height: 1.1;
}

.brief-segmented__hint {
    font-size: 0.74rem;
    font-weight: 600;
    color: inherit;
    opacity: 0.82;
}

.brief-segmented__option--with-icon {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
}

.brief-segmented__option--with-icon i {
    font-size: 1.05rem;
}

.brief-segmented__option:hover {
    color: var(--color-secondary-dark);
    background: rgba(var(--rgb-secondary), 0.08);
}

.brief-segmented__option:focus-visible {
    outline: 2px solid rgba(var(--rgb-secondary), 0.3);
    outline-offset: 2px;
}

.brief-segmented__option.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    box-shadow: 0 12px 24px rgba(var(--rgb-secondary-dark), 0.18);
}

.brief-segmented__option.is-active .brief-segmented__hint {
    color: rgba(255, 255, 255, 0.84);
    opacity: 1;
}

.brief-control-hint {
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.brief-palette-summary,
.brief-custom-color-card {
    padding: 0.9rem;
    border-radius: 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(18, 40, 74, 0.08);
    box-shadow: none;
}

.brief-palette-summary,
.brief-custom-color-card {
    background: linear-gradient(180deg, rgba(12, 19, 27, 0.98), rgba(15, 23, 31, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
    color: #edf5f2;
}

.brief-palette-summary .text-secondary,
.brief-custom-color-card .text-secondary {
    color: rgba(201, 214, 226, 0.72) !important;
}

.color-preview-strip,
.project-sample-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.color-chip {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(18, 40, 74, 0.12);
    flex-shrink: 0;
    transition: background-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.color-chip-lg {
    width: 2.5rem;
    height: 2.5rem;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.84), 0 10px 24px rgba(17, 39, 69, 0.14);
}

.brief-palette-card {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    overflow: hidden;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brief-palette-card {
    background: linear-gradient(180deg, rgba(12, 19, 27, 0.98), rgba(15, 23, 31, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
    color: #edf5f2;
}

.brief-palette-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.brief-palette-card.is-active {
    border-color: rgba(var(--rgb-secondary-dark), 0.32);
    box-shadow: 0 24px 60px rgba(var(--rgb-secondary-dark), 0.16);
}

.brief-palette-card__media {
    min-height: 12.5rem;
    padding: 0.8rem;
    background:
        radial-gradient(circle at 15% 15%, rgba(154, 208, 211, 0.28), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(18, 52, 92, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 247, 247, 1) 100%);
}

.brief-palette-card__media {
    background: linear-gradient(180deg, rgba(12, 19, 27, 0.97), rgba(15, 23, 31, 0.97));
}

.brief-palette-card__media img,
.project-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

.project-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brief-palette-card__body {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
}

.brief-palette-card h4,
.brief-palette-card__copy,
.brief-palette-card__badge,
.brief-template-card__palette-label,
.brief-template-card__color {
    color: #edf5f2;
}

.brief-palette-card__copy {
    color: rgba(201, 214, 226, 0.72);
}

.brief-palette-card__badge {
    background: rgba(255, 255, 255, 0.08);
    color: #f6fbfa;
}

.brief-palette-card__copy {
    color: rgba(201, 214, 226, 0.72);
    font-size: 0.93rem;
    line-height: 1.6;
}

.brief-palette-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f6fbfa;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.brief-palette-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: auto;
}

.brief-palette-card__action {
    min-width: 11rem;
}

.brief-section-picker__summary {
    display: grid;
    gap: 0.15rem;
    min-width: min(100%, 16rem);
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: #f3f6f7;
    color: var(--color-ink);
}

.brief-section-picker__summary strong {
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.brief-section-picker__summary span {
    color: var(--color-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.brief-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.brief-section-card {
    position: relative;
    display: grid;
    gap: 0.25rem;
    min-height: 100%;
    padding: 0.82rem 0.9rem 0.82rem 3.35rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(20, 52, 76, 0.12);
    background: #ffffff;
    box-shadow: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.brief-section-card:hover {
    transform: none;
    box-shadow: 0 12px 24px rgba(var(--rgb-secondary-dark), 0.06);
    background: rgba(var(--rgb-secondary), 0.04);
    border-color: rgba(var(--rgb-secondary), 0.16);
}

.brief-section-card.is-active,
.brief-section-card:has(input[type="checkbox"]:checked) {
    border-color: rgba(var(--rgb-secondary), 0.3);
    background: linear-gradient(180deg, rgba(var(--rgb-secondary), 0.12), rgba(var(--rgb-secondary), 0.05));
    box-shadow:
        inset 0 0 0 1px rgba(var(--rgb-secondary), 0.08),
        0 16px 30px rgba(var(--rgb-secondary-dark), 0.08);
}

.brief-section-card input {
    position: absolute;
    left: 0.55rem;
    top: 0.68rem;
    width: 2.4rem;
    height: 2.4rem;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid rgba(var(--rgb-secondary), 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1.35rem 1.35rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.brief-section-card input:checked {
    border-color: var(--color-secondary);
    background-color: rgba(var(--rgb-secondary), 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231d781b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M3 8.3 6.3 11.6 13 4.8'/%3E%3C/svg%3E");
}

.brief-section-card input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.22rem rgba(var(--rgb-secondary), 0.14);
}

.brief-section-card__title {
    color: var(--color-ink);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.4;
}

.brief-section-card__meta {
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.brief-section-card.is-active .brief-section-card__meta,
.brief-section-card:has(input[type="checkbox"]:checked) .brief-section-card__meta {
    color: var(--color-secondary-dark);
}

.brief-template-grid {
    margin-top: 1rem;
}

.home-project-card--brief-template {
    display: grid;
    height: 100%;
}

.home-project-card--brief-template.is-active {
    border-color: rgba(var(--rgb-secondary-dark), 0.34);
    box-shadow: 0 30px 58px rgba(var(--rgb-secondary-dark), 0.16);
}

.brief-template-card__head {
    display: flex;
    justify-content: flex-end;
}

.brief-template-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: rgba(var(--rgb-secondary-dark), 0.14);
    color: rgba(227, 247, 246, 0.96);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.brief-template-card__palette {
    display: grid;
    gap: 0.6rem;
}

.brief-template-card__palette-label {
    color: rgba(205, 221, 229, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brief-template-card__colors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.brief-template-card__color {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.36rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(244, 249, 252, 0.94);
    font-size: 0.78rem;
    line-height: 1;
}

.brief-template-card__swatch {
    display: inline-flex;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    border: 1px solid rgba(18, 40, 74, 0.22);
    box-shadow: inset 0 0 0 1px rgba(18, 40, 74, 0.08);
}

.brief-template-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.brief-template-card__actions .button {
    min-width: 11rem;
}

.brief-submit-button {
    min-height: 3.75rem;
    font-size: 1rem;
    box-shadow: 0 18px 32px rgba(47, 143, 91, 0.28);
}

.color-swatch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0.22rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(18, 40, 74, 0.18);
    box-shadow: none;
}

.palette-display-chip span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
}

.form-control-color {
    width: 100%;
    min-height: 3.75rem;
    padding: 0.35rem;
    border-radius: 18px;
    border: 1px solid rgba(18, 40, 74, 0.12);
    background: rgba(255, 255, 255, 0.96);
}

.form-control-color::-webkit-color-swatch-wrapper {
    padding: 0;
}

.form-control-color::-webkit-color-swatch,
.form-control-color::-moz-color-swatch {
    border: 0;
    border-radius: 14px;
}

@media (max-width: 767.98px) {
    .brief-form-row {
        grid-template-columns: minmax(7.25rem, 9rem) minmax(0, 1fr);
    }

    .brief-section-grid {
        grid-template-columns: 1fr;
    }

    .multi-file-field__row {
        grid-template-columns: minmax(7.25rem, 9rem) 2.4rem minmax(0, 1fr);
    }

    .brief-segmented--compact {
        grid-template-columns: 1fr 1fr;
    }

    .brief-palette-card__footer {
        align-items: stretch;
    }

    .brief-palette-card__action {
        width: 100%;
        min-width: 0;
    }

    .brief-template-card__actions .button {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brief-animated-panel,
    .brief-segmented__option,
    .brief-palette-card,
    .color-chip {
        transition: none !important;
    }

    .home-partners__marquee {
        width: auto !important;
        animation: none !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1rem !important;
    }

    .home-partners__group[aria-hidden="true"] {
        display: none;
    }
}

.contact-quick-form {
    display: grid;
    gap: 1rem;
}

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

.form-grid textarea {
    grid-column: 1 / -1;
}

.form-actions {
    align-items: center;
}

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

.form-status.is-error {
    color: #c93c50;
}

.page-head {
    padding-top: 1.5rem;
}

.contact-aside,
.checkout-summary {
    display: grid;
    gap: 1rem;
}

.info-block {
    display: grid;
    gap: 0.25rem;
    padding-top: 0.8rem;
}

.info-block span {
    color: var(--color-muted);
}

.info-block strong,
.surface-card a {
    font-family: "Manrope", sans-serif;
}

.filter-card {
    display: grid;
    gap: 0.8rem;
    padding: 1.25rem;
}

.featured-project {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
    gap: 1.25rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.featured-project__copy {
    align-self: center;
}

.featured-project__copy h2 a,
.project-card a:hover,
.text-link {
    color: var(--color-secondary);
}

.project-copy p:last-child {
    margin-bottom: 0;
}

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

.gallery-card {
    overflow: hidden;
}

.gallery-card figcaption {
    padding-top: 0.85rem;
    color: var(--color-muted);
}

.page-head--simple .page-head__intro {
    display: grid;
    gap: 1rem;
    max-width: 62rem;
}

.section--compact-top {
    padding-top: 0;
}

.ai-layout {
    grid-template-columns: minmax(15.5rem, 17rem) minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
}

.ai-chat,
.ai-sidebar,
.ai-controls {
    min-width: 0;
}

.ai-chat {
    display: grid;
    align-content: start;
    gap: 1rem;
}

.ai-sidebar__panel,
.ai-chat__panel,
.ai-controls__panel {
    display: grid;
    gap: 0;
    border-radius: 1.5rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.ai-sidebar__panel {
    overflow: hidden;
}

.ai-chat__panel {
    min-height: 42rem;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.ai-result-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1.1rem 1rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    background:
        linear-gradient(180deg, rgba(18, 52, 92, 0.04), rgba(255, 255, 255, 0)),
        rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

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

.ai-result-panel__head {
    display: grid;
    gap: 0.15rem;
}

.ai-result-panel__head .eyebrow {
    margin-bottom: 0;
}

.ai-result-panel__grid {
    display: grid;
    gap: 0.85rem;
}

.ai-chat__head,
.ai-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(var(--rgb-ink), 0.08);
}

.ai-card-head--compact .eyebrow,
.ai-chat__head strong {
    margin-bottom: 0.2rem;
}

.ai-card-head--thin {
    padding: 0.9rem 0.95rem;
}

.ai-card-subtitle {
    margin: 0;
    color: rgba(var(--rgb-ink), 0.58);
    font-size: 0.78rem;
    line-height: 1.35;
}

.ai-chat__meta {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.ai-chat__head strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    color: var(--color-ink);
}

.ai-chat__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.ai-toolbar-button,
.chat-composer__icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border: 1px solid rgba(var(--rgb-ink), 0.12);
    border-radius: 0.85rem;
    background: rgba(var(--rgb-surface), 0.92);
    color: var(--color-ink);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.ai-toolbar-button:hover:not(:disabled),
.chat-composer__icon-button:hover:not(:disabled) {
    border-color: rgba(var(--rgb-primary), 0.2);
    background: rgba(255, 255, 255, 1);
}

.ai-toolbar-button i,
.chat-composer__icon-button i {
    font-size: 1rem;
    line-height: 1;
}

.ai-toolbar-button:disabled,
.chat-composer__icon-button:disabled {
    cursor: default;
    opacity: 0.55;
}

.chat-composer__icon-button.is-listening {
    border-color: rgba(var(--rgb-danger), 0.25);
    background: rgba(var(--rgb-danger), 0.08);
    color: var(--color-danger);
}

.chat-composer__icon-button--primary {
    background: rgb(var(--rgb-secondary));
    border-color: rgb(var(--rgb-secondary));
    color: rgb(var(--rgb-surface));
}

.chat-composer__icon-button--primary:hover:not(:disabled) {
    background: rgb(var(--rgb-secondary-dark));
    border-color: rgb(var(--rgb-secondary-dark));
}

.ai-helper-copy {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    background: rgba(255, 255, 255, 0.76);
    color: var(--color-muted);
    line-height: 1.6;
}

.ai-service-status,
.ai-service-unavailable {
    display: grid;
    gap: 0.35rem;
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    background: rgba(255, 255, 255, 0.82);
}

.ai-service-status strong,
.ai-service-unavailable strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.ai-service-status p,
.ai-service-unavailable p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.ai-service-unavailable {
    border-style: dashed;
    background: rgba(18, 52, 92, 0.06);
}

.ai-service-stage__placeholder {
    display: grid;
    gap: 0.65rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
}

.ai-service-stage__placeholder h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.04em;
}

.ai-service-stage__placeholder p,
.ai-service-stage__placeholder strong {
    margin: 0;
    max-width: 48rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.ai-service-stage__panels {
    display: grid;
    gap: 1.5rem;
}

.ai-service-stage__panel {
    min-width: 0;
}

.ai-service-stage__panel--coming-soon {
    min-height: 1000px;
    display: grid;
    align-items: start;
    padding-block: clamp(4rem, 7vw, 7rem);
}

.page-ai .site-footer__column--application .home-application__panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 2.3rem 2.45rem;
    border: 1px solid rgba(var(--rgb-primary-soft), 0.16);
    border-radius: 32px;
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--rgb-secondary), 0.2), transparent 26rem),
        radial-gradient(circle at 100% 100%, rgba(27, 119, 255, 0.16), transparent 24rem),
        linear-gradient(160deg, rgba(6, 17, 29, 0.98) 0%, rgba(4, 13, 23, 0.98) 50%, rgba(7, 27, 48, 0.96) 100%);
    box-shadow: 0 28px 60px rgba(4, 13, 23, 0.32);
}

.page-ai .site-footer__column--application .home-application__panel::before,
.page-ai .site-footer__column--application .home-application__panel::after {
    display: block;
}

.ai-service-stage__coming-soon {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.ai-service-stage__coming-soon-copy {
    display: grid;
    gap: 0.85rem;
    place-items: center;
    text-align: center;
    padding-top: clamp(1rem, 5vw, 3rem);
}

.ai-service-stage__coming-soon-copy h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    letter-spacing: -0.05em;
}

.ai-service-stage__coming-soon-copy p {
    margin: 0;
    max-width: 34rem;
    color: var(--color-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.ai-service-stage__coming-soon-form {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

.ai-controls__body {
    display: grid;
    gap: 0.65rem;
    padding: 0.75rem;
}

.ai-controls__body .ai-prompt-fields {
    grid-template-columns: 1fr;
}

.ai-control-group {
    display: grid;
    gap: 0.5rem;
    padding: 0.65rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    background: rgba(248, 250, 252, 0.88);
}

.ai-control-group--meta {
    gap: 0.45rem;
}

.ai-control-title {
    margin: 0;
    color: rgba(var(--rgb-ink), 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-style-list,
.ai-prompt-fields {
    display: grid;
    gap: 0.45rem;
}

.ai-prompt-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.ai-style-button {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.4rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    font-size: 0.76rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.ai-style-button i {
    font-size: 0.92rem;
    line-height: 1;
}

.ai-style-button span {
    overflow-wrap: anywhere;
}

.ai-style-button:hover:not(:disabled),
.ai-style-button:focus-visible,
.ai-style-button.is-active {
    border-color: rgba(var(--rgb-secondary), 0.3);
    background: rgba(18, 52, 92, 0.08);
    box-shadow: 0 14px 28px rgba(var(--rgb-secondary-dark), 0.1);
}

.ai-style-button:focus-visible {
    outline: none;
}

.ai-style-button:disabled {
    cursor: default;
    opacity: 0.58;
}

.ai-model-toggle {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.18rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    background: rgba(18, 52, 92, 0.06);
    isolation: isolate;
}

.ai-model-toggle::before {
    content: "";
    position: absolute;
    top: 0.18rem;
    bottom: 0.18rem;
    left: 0.18rem;
    width: calc(50% - 0.18rem);
    border-radius: 999px;
    background: rgba(var(--rgb-secondary), 0.96);
    box-shadow: 0 12px 22px rgba(var(--rgb-secondary-dark), 0.22);
    transition: transform 0.22s ease;
    z-index: 0;
}

.ai-model-toggle[data-ai-model-mode="gpt-image-2"]::before {
    transform: translateX(100%);
}

.ai-model-toggle__option {
    position: relative;
    z-index: 1;
    min-height: 2.55rem;
    padding: 0.45rem 0.3rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(var(--rgb-ink), 0.62);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.ai-model-toggle__option.is-active {
    color: #fff;
}

.ai-model-toggle__option:disabled {
    cursor: default;
    opacity: 0.58;
}

.ai-model-toggle__option:focus-visible {
    outline: none;
}

.ai-control-hint {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.78rem;
    text-align: center;
    overflow-wrap: anywhere;
}

.ai-control-field {
    display: grid;
    gap: 0.32rem;
}

.ai-control-field--compact {
    gap: 0.24rem;
}

.ai-control-field--wide {
    grid-column: 1 / -1;
}

.ai-control-field__label {
    color: var(--color-ink);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
}

.ai-control-field__hint {
    color: var(--color-muted);
    font-size: 0.68rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ai-control-select,
.ai-control-input,
.ai-control-textarea {
    min-width: 0;
    padding: 0.55rem 0.7rem;
    border-radius: 0.82rem;
    border-color: rgba(var(--rgb-ink), 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
    color: var(--color-ink);
    font-size: 0.78rem;
    line-height: 1.35;
}

.ai-control-select {
    background-position: right 0.6rem center;
    background-size: 0.7rem;
    padding-right: 1.8rem;
}

.ai-control-textarea {
    min-height: 4.5rem;
    resize: vertical;
}

.ai-control-textarea--compact {
    min-height: 3.3rem;
}

.ai-color-palette {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(8, minmax(7.15rem, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.42rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.ai-color-option {
    display: grid;
    grid-template-columns: 0.95rem minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.6rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    border-radius: 0.82rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    font-size: 0.7rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.ai-color-option:hover,
.ai-color-option:focus-visible,
.ai-color-option.is-active {
    border-color: rgba(var(--rgb-secondary), 0.28);
    background: rgba(18, 52, 92, 0.08);
    box-shadow: 0 12px 22px rgba(var(--rgb-secondary-dark), 0.1);
}

.ai-color-option:focus-visible {
    outline: none;
}

.ai-color-option.is-active {
    transform: translateY(-1px);
}

.ai-color-option__swatch {
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--rgb-ink), 0.12);
    background: var(--ai-color-swatch, #d7be91);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.ai-color-option__label {
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.ai-color-extras {
    display: grid;
    gap: 0.42rem;
    margin-top: 0.55rem;
}

.ai-color-extras__label {
    color: rgba(var(--rgb-ink), 0.58);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ai-color-extras__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
}

.ai-color-slot {
    position: relative;
    display: grid;
    padding: 0;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    border-radius: 0.82rem;
    background: rgba(255, 255, 255, 0.96);
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.ai-color-slot[data-ai-color-active="true"] {
    border-color: rgba(var(--rgb-secondary), 0.28);
    background: rgba(18, 52, 92, 0.08);
    box-shadow: 0 12px 22px rgba(var(--rgb-secondary-dark), 0.1);
    transform: translateY(-1px);
}

.ai-color-slot__picker {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 2.5rem;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.82rem;
    background: transparent;
    cursor: pointer;
}

.ai-color-slot__swatch {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--rgb-ink), 0.12);
    background: var(--ai-color-slot-swatch, #7ac7b6);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.ai-color-slot__pick-text {
    color: var(--color-ink);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
}

.ai-color-slot[data-ai-color-active="true"] .ai-color-slot__pick-text {
    color: var(--color-primary);
}

.ai-color-slot__picker input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.ai-color-slot__picker input::-webkit-color-swatch-wrapper {
    padding: 0;
}

.ai-color-slot__picker input::-webkit-color-swatch {
    border: none;
    border-radius: 0.5rem;
}

.ai-color-slot__picker input::-moz-color-swatch {
    border: none;
    border-radius: 0.5rem;
}

.ai-color-slot__value {
    display: none;
}

.ai-quality-list {
    display: grid;
    gap: 0.45rem;
}

.ai-quality-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.3rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.ai-quality-button:hover:not(:disabled),
.ai-quality-button:focus-visible,
.ai-quality-button.is-active {
    transform: none;
    border-color: rgba(var(--rgb-secondary), 0.44);
    box-shadow: 0 16px 28px rgba(var(--rgb-secondary-dark), 0.18);
    background: rgba(var(--rgb-secondary), 0.96);
    color: #fff;
}

.ai-quality-button:focus-visible {
    outline: none;
}

.ai-quality-button:disabled {
    cursor: default;
    opacity: 0.58;
}

.ai-control-meta {
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.ai-control-meta__item {
    display: grid;
    gap: 0.18rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(var(--rgb-ink), 0.08);
}

.ai-control-meta__item:first-child {
    padding-top: 0;
    border-top: 0;
}

.ai-control-meta__item dt {
    margin: 0;
    color: rgba(var(--rgb-ink), 0.48);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-control-meta__item dd {
    margin: 0;
    color: var(--color-ink);
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ai-session-list {
    display: grid;
    gap: 0.65rem;
    padding: 0.9rem;
}

.ai-session-list .empty-card {
    padding: 1.5rem 1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--color-muted);
    text-align: center;
}

.ai-session-card {
    position: relative;
    display: grid;
    width: 100%;
    border: 1px solid rgba(18, 40, 74, 0.08);
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.ai-session-card:hover,
.ai-session-card:focus-visible,
.ai-session-card.is-active {
    transform: none;
    border-color: rgba(var(--rgb-secondary), 0.44);
    box-shadow: 0 20px 36px rgba(var(--rgb-secondary-dark), 0.2);
    background: rgba(var(--rgb-secondary), 0.96);
}

.ai-session-card.is-active {
    border-color: rgba(var(--rgb-secondary), 0.56);
    box-shadow: 0 24px 42px rgba(var(--rgb-secondary-dark), 0.24);
}

.ai-session-card:focus-visible {
    outline: none;
}

.ai-session-card__main {
    display: grid;
    gap: 0.5rem;
    width: 100%;
    padding: 1.05rem 2.9rem 1.05rem 1rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    appearance: none;
}

.ai-session-card strong {
    display: block;
    color: var(--color-ink);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
    transition: color 180ms ease;
}

.ai-session-card:hover strong,
.ai-session-card:focus-visible strong,
.ai-session-card.is-active strong {
    color: #fff;
}

.ai-session-card__delete {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 160ms ease, visibility 160ms ease, background 160ms ease, color 160ms ease;
}

.ai-session-card:hover .ai-session-card__delete,
.ai-session-card:focus-within .ai-session-card__delete {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ai-session-card__delete:hover,
.ai-session-card__delete:focus-visible {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
    outline: none;
}

.ai-session-card__delete span {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
    transform: translateY(-0.05rem);
}

.chat-thread {
    min-height: 28rem;
    max-height: 48rem;
    overflow: auto;
    display: grid;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-top: 1px solid rgba(var(--rgb-ink), 0.08);
    border-bottom: 1px solid rgba(var(--rgb-ink), 0.08);
    background: rgba(250, 251, 253, 0.85);
}

.chat-message {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: fit-content;
    max-width: min(68%, 28rem);
    padding: 0.7rem 0.8rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    box-shadow: none;
    backdrop-filter: none;
}

.chat-message--assistant {
    margin-right: auto;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.96);
}

.chat-message--user {
    margin-left: auto;
    background: rgba(18, 52, 92, 0.08);
    border-color: rgba(18, 52, 92, 0.12);
}

.chat-message__badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    color: rgba(var(--rgb-ink), 0.52);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chat-message__body {
    white-space: pre-line;
    color: var(--color-ink);
}

.chat-attachments {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.1rem;
}

.chat-attachment {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    background: rgba(247, 249, 252, 0.92);
    color: inherit;
    text-decoration: none;
}

.chat-message--user .chat-attachment {
    background: rgba(255, 255, 255, 0.74);
}

.chat-attachment:hover {
    border-color: rgba(var(--rgb-primary), 0.22);
    color: inherit;
}

.chat-attachment__preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    height: 2.45rem;
    flex: 0 0 2.45rem;
    overflow: hidden;
    border-radius: 0.8rem;
    background: rgba(18, 52, 92, 0.08);
}

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

.chat-attachment__preview--icon {
    color: rgba(var(--rgb-ink), 0.48);
    font-size: 1rem;
}

.chat-attachment__info {
    display: grid;
    min-width: 0;
    gap: 0.1rem;
}

.chat-attachment__name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
    font-weight: 700;
}

.chat-attachment__meta {
    color: rgba(var(--rgb-ink), 0.54);
    font-size: 0.76rem;
}

.chat-attachment__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-left: auto;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(var(--rgb-ink), 0.52);
}

.chat-attachment__remove:hover {
    background: rgba(18, 52, 92, 0.08);
    color: rgba(var(--rgb-ink), 0.82);
}

.chat-message__meta {
    font-size: 0.78rem;
    color: rgba(var(--rgb-ink), 0.48);
}

.chat-message--typing {
    min-width: 10rem;
}

.chat-message__typing {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-muted);
}

.ai-typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.ai-typing-indicator span {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: rgba(var(--rgb-primary), 0.54);
    animation: aiTypingPulse 1.15s ease-in-out infinite;
}

.ai-typing-indicator span:nth-child(2) {
    animation-delay: 0.14s;
}

.ai-typing-indicator span:nth-child(3) {
    animation-delay: 0.28s;
}

.chat-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
}

.chat-composer__controls {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.55rem;
    padding: 0.8rem 0.85rem;
    border-radius: 1rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    background: rgba(248, 250, 252, 0.82);
}

.chat-composer__controls-title {
    margin: 0;
    color: rgba(var(--rgb-ink), 0.58);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chat-composer__controls-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem 0.65rem;
    align-items: start;
}

.chat-composer .form-control {
    min-height: 3.25rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border-color: rgba(var(--rgb-ink), 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
    resize: vertical;
}

.chat-composer__attachments {
    grid-column: 1 / -1;
}

.chat-composer__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
}

.ai-prompt-draft {
    min-height: 7.5rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(var(--rgb-ink), 0.14);
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-muted);
    line-height: 1.65;
    white-space: pre-line;
    word-break: break-word;
}

.ai-image-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.ai-result-panel__grid .ai-image-grid {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.ai-image-card {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    background: rgba(255, 255, 255, 0.86);
}

.ai-image-card__media {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(78vh, 72rem);
    object-fit: contain;
    background: rgba(var(--rgb-ink), 0.04);
}

.ai-image-card__caption {
    display: flex;
    justify-content: flex-end;
    padding: 0.6rem 0.15rem 0.1rem;
}

.ai-image-card__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--rgb-primary), 0.14);
    background: rgba(18, 52, 92, 0.06);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ai-image-card__download:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--rgb-primary), 0.22);
    background: rgba(18, 52, 92, 0.1);
}

.ai-image-card__download:focus-visible {
    outline: 2px solid rgba(var(--rgb-primary), 0.28);
    outline-offset: 2px;
}

@keyframes aiTypingPulse {
    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-0.18rem);
    }
}

.choice-chip {
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.choice-chip.is-active {
    transform: translateY(-1px);
    background: rgba(var(--rgb-secondary), 0.12);
    border-color: rgba(var(--rgb-secondary), 0.22);
}

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

.concept-card {
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: rgba(var(--rgb-surface), 0.72);
    border: 1px solid var(--color-line);
}

.concept-card h4 {
    margin: 0 0 0.45rem;
    font-family: "Manrope", sans-serif;
}

.concept-card p {
    margin: 0 0 0.45rem;
    color: var(--color-muted);
}

.concept-card span {
    color: var(--color-secondary);
    font-size: 0.92rem;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1199.98px) {
    .service-tabs,
    .offer-grid,
    .process-grid,
    .project-grid,
    .project-grid--small,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-panel__meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .site-nav-toggle {
        display: inline-flex;
    }

    .site-nav-panel {
        display: none !important;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 1rem;
    }

    .site-nav-panel.show {
        display: flex !important;
    }

    .page-home .site-nav-panel.show {
        padding: 1rem;
        border: 1px solid rgba(18, 40, 74, 0.08);
        border-radius: 1.4rem;
        background: rgba(248, 251, 250, 0.9);
    box-shadow: 0 18px 36px rgba(var(--rgb-ink), 0.12);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .site-nav,
    .site-header__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__intro,
    .page-head__grid,
    .project-hero,
    .featured-project,
    .service-panel__hero,
    .two-column,
    .contact-strip,
    .ai-layout {
        grid-template-columns: 1fr;
    }

    .ai-chat {
        order: 1;
    }

    .ai-controls {
        order: 2;
    }

    .ai-sidebar {
        order: 3;
    }

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

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

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

@media (max-width: 767.98px) {
    .section {
        padding: 1.5rem 0 3rem;
    }

    .hero__copy,
    .service-panel,
    .surface-card--padded,
    .contact-strip,
    .featured-project,
    .chat-thread,
    .chat-composer {
        padding: 1.2rem;
    }

    .hero__copy h1,
    .page-head h1,
    .service-panel__copy h3,
    .project-hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.6rem);
    }

    .hero__metrics,
    .detail-metrics,
    .service-tabs,
    .offer-grid,
    .project-grid,
    .project-grid--small,
    .gallery-grid,
    .process-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .service-tab {
        min-height: auto;
    }

    .form-actions,
    .offer-card__top,
    .cta-band {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-card-head,
    .ai-chat__head,
    .chat-composer {
        padding: 0.9rem;
    }

    .chat-thread {
        padding: 0.9rem;
    }

    .chat-composer {
        grid-template-columns: 1fr;
    }

    .chat-composer__actions {
        justify-content: flex-end;
    }

    .chat-message {
        max-width: 100%;
    }

    .ai-prompt-fields {
        grid-template-columns: 1fr;
    }

    .chat-composer__controls-grid {
        grid-template-columns: 1fr;
    }
}

/* Home redesign */

:root {
    --color-bg: rgb(var(--rgb-bg-alt));
    --color-surface: rgba(var(--rgb-surface), 0.9);
    --color-ink: rgb(var(--rgb-ink-strong));
    --color-muted: rgb(var(--rgb-muted));
    --color-line: rgba(var(--rgb-ink-strong), 0.12);
    --color-primary: rgb(var(--rgb-primary));
    --color-primary-dark: rgb(var(--rgb-primary-dark));
    --color-secondary: rgb(var(--rgb-secondary));
    --color-secondary-dark: rgb(var(--rgb-secondary-dark));
    --shadow-soft: 0 22px 60px rgba(var(--rgb-ink), 0.08);
    --shadow-strong: 0 26px 80px rgba(var(--rgb-ink), 0.12);
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 16px;
}

body.site-body {
    background:
        radial-gradient(circle at 0% 8%, rgba(154, 208, 211, 0.24), transparent 28rem),
        radial-gradient(circle at 100% 18%, rgba(200, 223, 236, 0.35), transparent 22rem),
        linear-gradient(180deg, rgb(var(--rgb-bg-alt)) 0%, rgb(var(--rgb-paper-alt)) 100%);
}

.site-noise {
    opacity: 0.08;
}

.site-main {
    overflow: hidden;
}

.page-home .site-main {
    display: flex;
    flex-direction: column;
}

.page-home .home-hero {
    order: -4;
}

.page-home .home-projects {
    order: -3;
}

.page-home .home-services {
    order: -2;
}

.page-home .home-partners {
    order: -1;
}

.page-home .site-main::before,
.page-home .site-main::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.page-home .site-main::before {
    inset: 20rem auto auto -10rem;
    width: 36rem;
    height: 36rem;
    background:
        radial-gradient(circle at 30% 30%, rgba(199, 225, 229, 0.9), transparent 58%),
        linear-gradient(135deg, rgba(164, 198, 215, 0.15), transparent);
    filter: blur(12px);
}

.page-home .site-main::after {
    inset: 36rem -8rem auto auto;
    width: 28rem;
    height: 28rem;
    background:
        radial-gradient(circle at 50% 50%, rgba(205, 227, 229, 0.7), transparent 56%),
        linear-gradient(45deg, rgba(148, 181, 201, 0.16), transparent);
    filter: blur(8px);
}

.button {
    min-height: 3.5rem;
    padding: 0.9rem 1.45rem;
    border-radius: 16px;
    font-size: 0.96rem;
    font-weight: 600;
}

.button--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    box-shadow: 0 14px 26px rgba(var(--rgb-secondary-dark), 0.22);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(18, 40, 74, 0.16);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: var(--header-height);
    padding: 0;
    border-bottom: 0;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(248, 251, 250, 0.56);
    box-shadow: inset 0 -1px 0 rgba(18, 40, 74, 0.08);
}

.page-home .site-header,
.page-ai .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(6, 14, 20, 0.34);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

.page-home .site-header.site-header--on-hero,
.page-ai .site-header.site-header--on-hero {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 -1px 0 rgba(18, 40, 74, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2rem;
    min-height: var(--header-height);
}

.site-brand {
    min-width: auto;
}

.site-brand__logo {
    width: auto;
    height: auto;
    max-width: 13.4rem;
    max-height: calc(var(--header-height) - 8px);
    padding: 10px;
    box-sizing: border-box;
    object-fit: contain;
}

.site-nav-panel {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-width: 0;
}

.site-nav {
    flex: 1;
    justify-content: center;
    gap: 2rem;
}

.site-nav a {
    position: relative;
    padding: 0.25rem 0;
    border-radius: 0;
    color: rgba(18, 40, 74, 0.86);
    font-size: 0.94rem;
    font-weight: 600;
    background: transparent;
}

.site-nav a:hover {
    background: transparent;
    color: var(--color-ink);
    opacity: 0.72;
}

.page-home .site-header .site-nav a,
.page-ai .site-header .site-nav a {
    color: rgba(255, 255, 255, 0.88);
}

.page-home .site-header .site-nav a:hover,
.page-ai .site-header .site-nav a:hover {
    color: #fff;
    opacity: 1;
}

.page-home .site-header .site-nav-toggle,
.page-ai .site-header .site-nav-toggle {
    background: rgba(255, 255, 255, 0.12);
}

.page-home .site-header .site-nav-toggle span,
.page-ai .site-header .site-nav-toggle span {
    background: #fff;
}

.page-home .site-header.site-header--on-hero .site-nav a,
.page-ai .site-header.site-header--on-hero .site-nav a {
    color: rgba(18, 40, 74, 0.86);
}

.page-home .site-header.site-header--on-hero .site-nav a:hover,
.page-ai .site-header.site-header--on-hero .site-nav a:hover {
    color: var(--color-ink);
}

.page-home .site-header.site-header--on-hero .site-nav-toggle,
.page-ai .site-header.site-header--on-hero .site-nav-toggle {
    background: rgba(18, 40, 74, 0.08);
}

.page-home .site-header.site-header--on-hero .site-nav-toggle span,
.page-ai .site-header.site-header--on-hero .site-nav-toggle span {
    background: var(--color-ink);
}

.site-header__actions {
    gap: 0.9rem;
}

.site-header__actions .button {
    min-width: 11.5rem;
}

.site-footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #06111d 0%, #040d17 100%);
    color: rgba(255, 255, 255, 0.92);
}

.site-footer::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14rem;
    width: 40rem;
    height: 40rem;
    border-radius: 999px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(38, 174, 255, 0.18) 0%, rgba(38, 174, 255, 0.06) 32%, rgba(38, 174, 255, 0) 72%);
    pointer-events: none;
}

.site-footer__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 1.5rem 2.5rem;
    padding: 3rem 0 1.4rem;
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 0 0 2.2rem;
    text-align: center;
}

.site-footer__brand,
.site-footer__column {
    display: grid;
    align-content: start;
    gap: 0.95rem;
}

.site-footer__brand {
    justify-items: start;
    gap: 0.7rem;
}

.site-footer__column--application {
    min-width: 0;
}

.site-footer__column--application .home-application__panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    isolation: auto;
}

.site-footer__column--application .home-application__panel::before,
.site-footer__column--application .home-application__panel::after {
    display: none;
}

.site-footer__logo {
    display: block;
    width: 18.7rem;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
    filter: brightness(0) invert(1);
}

.site-footer__meta {
    position: relative;
    display: grid;
    justify-items: start;
    gap: 0.7rem;
    max-width: 100%;
    padding: 0.95rem 1.05rem 1rem;
    overflow: hidden;
    border: 1px solid rgba(var(--rgb-primary-soft), 0.16);
    border-radius: 1.4rem;
    background:
        linear-gradient(135deg, rgba(var(--rgb-secondary), 0.14), rgba(14, 119, 183, 0.1)),
        rgba(255, 255, 255, 0.03);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 1.4rem 3rem rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.site-footer__meta::before {
    content: "";
    position: absolute;
    top: -5rem;
    right: -3rem;
    width: 14rem;
    height: 14rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--rgb-primary-soft), 0.24) 0%, rgba(var(--rgb-primary-soft), 0.05) 34%, rgba(var(--rgb-primary-soft), 0) 72%);
    pointer-events: none;
}

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

.site-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(var(--rgb-primary-soft), 0.96) !important;
}

.site-footer__eyebrow::before {
    content: "";
    width: 2.4rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--rgb-primary-soft), 0.2), rgba(var(--rgb-primary-soft), 0.95));
}

.site-footer__summary {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.94) !important;
}

.site-footer__summary::after {
    content: "";
    display: block;
    width: min(14rem, 72%);
    height: 1px;
    margin-top: 0.55rem;
    background: linear-gradient(90deg, rgba(var(--rgb-primary-soft), 0.96), rgba(var(--rgb-primary-soft), 0));
}

.site-footer__meta-note {
    color: rgba(255, 255, 255, 0.6) !important;
}

.site-footer__legal-line {
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.94) !important;
}

.site-footer__legal-line::after {
    content: "";
    display: block;
    width: min(14rem, 72%);
    height: 1px;
    margin-top: 0.55rem;
    background: linear-gradient(90deg, rgba(var(--rgb-primary-soft), 0.96), rgba(var(--rgb-primary-soft), 0));
}

.site-footer__legal-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.8) !important;
    overflow-wrap: anywhere;
}

.site-footer__legal-item::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.46rem;
    flex: 0 0 0.5rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--rgb-primary-soft), 1) 0%, rgba(var(--rgb-primary-soft), 0.25) 72%);
    box-shadow: 0 0 0.8rem rgba(var(--rgb-primary-soft), 0.42);
}

.site-footer__legal-item--bank {
    font-variant-numeric: tabular-nums;
}

.site-footer__column p,
.site-footer__column span,
.site-footer__column a,
.site-footer__meta span,
.site-footer__meta a,
.site-footer__copyright,
.site-footer__policy {
    line-height: 1.65;
}

.site-footer__column h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    color: #fff;
}

.site-footer__column a:hover,
.site-footer__policy:hover {
    color: #fff;
}

.site-footer__meta a {
    color: rgba(215, 248, 255, 0.94) !important;
    text-decoration-color: rgba(var(--rgb-primary-soft), 0.46);
}

.site-footer__meta a:hover {
    color: #fff !important;
    text-decoration-color: rgba(var(--rgb-surface), 0.72);
}

.site-footer__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.2rem;
}

.site-footer__contacts a {
    color: rgba(215, 248, 255, 0.94) !important;
    text-decoration-color: rgba(var(--rgb-primary-soft), 0.46);
    white-space: nowrap;
}

.site-footer__contacts a:hover {
    color: #fff !important;
    text-decoration-color: rgba(var(--rgb-surface), 0.72);
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.site-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.05rem;
}

.site-footer__social-mark {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.site-footer__copyright {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.8);
}

#services,
#projects,
#about,
#process,
#contacts,
#project-cta,
#legal {
    scroll-margin-top: 7rem;
}

.home-hero,
.home-services,
.home-partners,
.home-projects,
.home-stats,
.home-process,
.home-cta {
    position: relative;
    z-index: 1;
}

.home-hero {
    position: relative;
    padding: 3.6rem 0 5.8rem;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 22%, rgba(var(--rgb-secondary), 0.28), transparent 24rem),
        radial-gradient(circle at 82% 18%, rgba(74, 147, 226, 0.18), transparent 22rem),
        linear-gradient(135deg, #07131c 0%, #0b2230 42%, #133949 100%);
}

.page-home .home-hero {
    margin-top: 0;
    min-height: calc(100vh - 4rem);
    padding-top: calc(var(--header-height) + 3.2rem);
    padding-bottom: 2.6rem;
}

.page-ai .home-hero {
    margin-top: 0;
    min-height: calc(100vh - 4rem);
    padding-top: calc(var(--header-height) + 3.2rem);
    padding-bottom: 2.6rem;
}

.page-home .home-hero__backdrop {
    inset: 0;
}

.page-home .home-hero__media {
    inset: 0;
}

.page-ai .home-hero__backdrop {
    inset: 0;
}

.page-ai .home-hero__media {
    inset: 0;
}

.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    filter: saturate(0.95) contrast(1.02);
}

.home-hero__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-hero__backdrop {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 14, 20, 0.5) 0%, rgba(5, 14, 20, 0.26) 36%, rgba(5, 14, 20, 0.08) 60%, rgba(5, 14, 20, 0) 100%),
        linear-gradient(180deg, rgba(3, 10, 15, 0.08) 0%, rgba(3, 10, 15, 0.22) 100%);
}

.home-hero__slide-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(1.5rem, 4vw, 3rem);
    row-gap: 2rem;
}

.home-hero__copy {
    padding-right: clamp(1.5rem, 4vw, 3rem);
}

.home-hero__slides {
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 2;
}

.home-hero__track {
    display: flex;
    align-items: stretch;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.home-hero__slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
}

.home-hero__copy h1 {
    margin: 0 0 1.05rem;
    display: grid;
    gap: 0.02em;
    font-family: "Manrope", sans-serif;
    font-size: clamp(3rem, 5vw, 4.95rem);
    line-height: 1.03;
    letter-spacing: -0.06em;
    color: #fff;
    text-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.home-hero__title-line {
    display: block;
}

.home-hero__title-line--accent {
    color: rgb(var(--rgb-primary-soft));
}

.home-hero__actions {
    margin-top: 1.8rem;
}

.home-hero__prompt {
    display: block;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.home-hero__note {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 1.25rem;
    /* Keep the large callout clear of the absolute slide pagination. */
    margin-bottom: clamp(2.8rem, 5vw, 4.2rem);
    text-align: center;
}

.home-hero__note-text {
  display: block;
  width: 100%;
  max-width: none;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.1rem, 3.65vw, 3.45rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-hero__button {
    min-height: 4rem;
    padding-inline: 1.7rem;
    font-size: 1rem;
    font-weight: 700;
    border-width: 1px;
    border-style: solid;
    border-radius: 22px;
    letter-spacing: -0.01em;
    box-shadow: 0 24px 44px rgba(8, 18, 28, 0.26);
}

.home-hero__button--light {
    background: linear-gradient(180deg, #ffffff 0%, #eef6f3 100%);
    color: #0d1620;
    border-color: rgba(255, 255, 255, 0.92);
}

.home-hero__button--light:hover,
.home-hero__button--light:focus-visible {
    background: linear-gradient(180deg, #ffffff 0%, #e6f2ee 100%);
    color: #0d1620;
}

.home-hero__button--portfolio {
    background: rgb(var(--rgb-primary-soft));
    color: #fff;
    border-color: rgb(var(--rgb-primary-soft));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-hero__button--portfolio:hover,
.home-hero__button--portfolio:focus-visible {
    background: rgba(11, 29, 45, 0.94);
    border-color: rgba(11, 29, 45, 0.94);
    color: #fff;
}

.home-hero__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem 0.75rem;
    width: 100%;
    max-width: 58rem;
}

.home-feature {
    display: grid;
    align-content: center;
    justify-items: center;
    height: 100%;
    text-align: center;
    gap: 0.35rem;
}

.home-feature__icon {
    display: inline-grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    color: #fff;
    font-size: 1.45rem;
    background: rgba(255, 255, 255, 0.08);
}

.home-feature strong {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5em;
    font-size: 0.95rem;
    line-height: 1.25;
    color: #fff;
}

.home-feature span:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5em;
    color: rgba(232, 245, 248, 0.72);
    font-size: 0.94rem;
    line-height: 1.25;
}

.home-preview {
    position: relative;
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 0.78rem;
    justify-self: stretch;
    align-self: center;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 1.28rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 249, 0.9));
    box-shadow: 0 28px 56px rgba(22, 44, 72, 0.12);
    backdrop-filter: blur(18px);
}

@media (max-width: 1199.98px) {
    .home-hero__slide-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero__copy {
        max-width: 46rem;
        padding-right: 0;
    }
}

.home-preview__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.38rem 0.82rem;
    border-radius: 999px;
    background: rgba(var(--rgb-secondary-dark), 0.08);
    color: var(--color-primary-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-preview__timeline {
    display: grid;
    gap: 0.65rem;
    width: 100%;
    padding: 0.98rem 1.05rem;
    border-radius: 28px;
    background: #fff;
    box-shadow:
        inset 0 0 0 1px rgba(18, 40, 74, 0.05),
        0 16px 32px rgba(18, 40, 74, 0.06);
}

.home-preview__price {
    display: grid;
    gap: 0.32rem;
    width: 100%;
    padding: 0.95rem 1.05rem;
    border-radius: 24px;
    background: rgba(11, 29, 45, 0.94);
    box-shadow: 0 16px 30px rgba(9, 22, 36, 0.16);
}

.home-preview__price .home-preview__card-label {
    color: rgba(222, 236, 244, 0.72);
}

.home-preview__price-value {
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.35rem, 3.7vw, 3.1rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
}

.home-preview__hosting {
    display: grid;
    gap: 0.32rem;
    width: 100%;
    padding: 0.95rem 1.05rem;
    border-radius: 24px;
    background: rgba(11, 29, 45, 0.94);
    box-shadow: 0 16px 30px rgba(9, 22, 36, 0.16);
}

.home-preview__hosting .home-preview__card-label {
    color: rgba(222, 236, 244, 0.72);
}

.home-preview__hosting-value {
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 3.1vw, 2.55rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
}

.home-preview__referral {
    display: grid;
    gap: 0.32rem;
    width: 100%;
    padding: 0.95rem 1.05rem;
    border-radius: 24px;
    background: rgba(11, 29, 45, 0.94);
    box-shadow: 0 16px 30px rgba(9, 22, 36, 0.16);
}


.home-preview__card-label {
    color: rgba(18, 40, 74, 0.62);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-preview__timeline .home-preview__card-label,
.home-preview__referral .home-preview__card-label {
    color: rgba(18, 40, 74, 0.62);
}

.home-preview__referral .home-preview__card-label {
    color: rgba(222, 236, 244, 0.72);
}

.home-preview__value-line {
    display: flex;
    align-items: flex-end;
    gap: 0.42rem;
    flex-wrap: wrap;
}

.home-preview__value-line--timeline {
    gap: 0.58rem;
}

.home-preview__number {
    font-family: "Manrope", sans-serif;
    font-size: clamp(5.35rem, 10vw, 8.15rem);
    line-height: 0.8;
    letter-spacing: -0.08em;
    color: var(--color-ink);
}

.home-preview__prefix,
.home-preview__suffix {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
}

.home-preview__timeline .home-preview__prefix,
.home-preview__timeline .home-preview__suffix,
.home-preview__referral .home-preview__suffix {
    color: rgba(18, 40, 74, 0.78);
}

.home-preview__price .home-preview__prefix,
.home-preview__price .home-preview__suffix,
.home-preview__hosting .home-preview__suffix,
.home-preview__referral .home-preview__suffix {
    color: rgba(222, 236, 244, 0.78);
}

.home-preview__promo-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.home-preview__promo-link:hover,
.home-preview__promo-link:focus-visible {
    color: #ffffff;
}

.home-preview__discount-value {
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.15rem, 3.35vw, 2.8rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
}

.home-preview__top {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(18, 40, 74, 0.06);
}

.home-preview__dots {
    display: flex;
    gap: 0.35rem;
}

.home-preview__dots span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #d4dbe5;
}

.home-preview__brand {
    font-family: "Manrope", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-ink);
}

.home-preview__nav {
    display: flex;
    justify-content: center;
    gap: 1.3rem;
    color: #6b7b92;
    font-size: 0.78rem;
    font-weight: 600;
}

.home-preview__actions {
    display: flex;
    gap: 0.85rem;
    color: var(--color-ink);
    font-size: 1.02rem;
}

.home-preview__body {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 1fr);
    min-height: 27rem;
}

.home-preview__copy {
    display: grid;
    align-content: center;
    gap: 0.95rem;
    padding: 2.75rem 2.5rem;
}

.home-preview__copy h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.home-preview__copy p {
    max-width: 18rem;
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.home-preview__copy .button {
    width: max-content;
    min-width: 11rem;
}

.home-preview__scene {
    position: relative;
    min-height: 100%;
}

.home-preview--chair .home-preview__scene {
    background:
        linear-gradient(180deg, rgba(254, 251, 246, 1) 0%, rgba(243, 233, 222, 1) 100%);
}

.scene-chair,
.scene-dashboard,
.scene-phone,
.scene-analytics {
    position: relative;
    width: 100%;
    height: 100%;
}

.scene-chair::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 24%;
    background: linear-gradient(180deg, rgba(220, 198, 176, 0.08), rgba(214, 191, 167, 0.24));
}

.scene-lamp {
    position: absolute;
    top: 1.15rem;
    left: 35%;
    width: 4.8rem;
    height: 4.4rem;
    background: linear-gradient(180deg, #d4b77a, #8e7b55);
    clip-path: polygon(10% 0, 90% 0, 72% 72%, 28% 72%);
}

.scene-lamp::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 2px;
    height: 2.6rem;
    background: #c9b67e;
    transform: translateX(-50%);
}

.scene-frame {
    position: absolute;
    top: 4rem;
    right: 5.2rem;
    width: 4.4rem;
    height: 7rem;
    border: 6px solid #d8b88b;
    background: linear-gradient(180deg, #fcfbf7, #dfe9e1);
}

.scene-chair__seat {
    position: absolute;
    right: 8rem;
    bottom: 3.4rem;
    width: 12.8rem;
    height: 14.5rem;
    border-radius: 38% 38% 18% 18%;
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.52), transparent 36%),
        linear-gradient(180deg, #d9e4d4 0%, #b6c7af 100%);
    box-shadow: 0 24px 40px rgba(34, 51, 37, 0.16);
}

.scene-chair__seat::before,
.scene-chair__seat::after {
    content: "";
    position: absolute;
    background: linear-gradient(180deg, #d7e1d3, #b0c0a8);
}

.scene-chair__seat::before {
    inset: auto -1.5rem 2.5rem auto;
    width: 3rem;
    height: 7rem;
    border-radius: 1.5rem;
    transform: rotate(-12deg);
}

.scene-chair__seat::after {
    inset: auto auto 2.5rem -1.35rem;
    width: 3rem;
    height: 7rem;
    border-radius: 1.5rem;
    transform: rotate(12deg);
}

.scene-chair__leg {
    position: absolute;
    bottom: 1rem;
    width: 0.35rem;
    height: 4.8rem;
    background: linear-gradient(180deg, #c39a60, #8e693e);
}

.scene-chair__leg--one {
    right: 12rem;
    transform: rotate(10deg);
}

.scene-chair__leg--two {
    right: 17.2rem;
    transform: rotate(-10deg);
}

.scene-table {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    width: 5.9rem;
    height: 5.9rem;
    border-radius: 999px;
    background:
        linear-gradient(180deg, #fefcf8 0%, #e7ddcf 100%);
    box-shadow: 0 16px 24px rgba(72, 62, 48, 0.16);
}

.scene-table::before,
.scene-table::after {
    content: "";
    position: absolute;
    bottom: -2.2rem;
    width: 0.26rem;
    height: 2.7rem;
    background: #d0ad7d;
}

.scene-table::before {
    left: 1.7rem;
}

.scene-table::after {
    right: 1.7rem;
}

.scene-plant {
    position: absolute;
    right: 1.4rem;
    bottom: 2rem;
    width: 4.5rem;
    height: 8rem;
}

.scene-plant::before,
.scene-plant::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    width: 2.2rem;
    height: 5.2rem;
    border-radius: 100% 10% 100% 10%;
    background: linear-gradient(180deg, #7bb062, #2d7a39);
    transform-origin: bottom center;
}

.scene-plant::before {
    transform: translateX(-80%) rotate(-22deg);
}

.scene-plant::after {
    transform: translateX(-20%) rotate(24deg);
}

.scene-plant span {
    display: none;
}

.scene-dashboard {
    background:
        linear-gradient(180deg, rgba(244, 248, 252, 1) 0%, rgba(227, 236, 244, 1) 100%);
}

.scene-dashboard__sidebar,
.scene-dashboard__panel,
.scene-dashboard__chart {
    position: absolute;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 34px rgba(24, 44, 74, 0.08);
}

.scene-dashboard__sidebar {
    inset: 2rem auto 2rem 2rem;
    width: 5rem;
    background:
        linear-gradient(180deg, rgb(var(--rgb-ink-strong)), rgb(var(--rgb-secondary-dark)));
}

.scene-dashboard__panel--primary {
    inset: 2rem 2rem auto 8rem;
    height: 7rem;
}

.scene-dashboard__panel--secondary {
    inset: 10rem 2rem auto 8rem;
    height: 6rem;
}

.scene-dashboard__panel--wide {
    inset: auto 2rem 2rem 8rem;
    height: 10rem;
}

.scene-dashboard__chart {
    inset: auto 3.4rem 3.4rem auto;
    width: 9.5rem;
    height: 7rem;
    background:
        linear-gradient(180deg, rgba(22, 50, 85, 0.08), rgba(var(--rgb-secondary-dark), 0.16));
}

.scene-dashboard__chart::before {
    content: "";
    position: absolute;
    inset: 1.3rem 1rem 1.1rem;
    border-radius: 16px;
    background:
        linear-gradient(135deg, transparent 12%, rgb(var(--rgb-secondary-dark)) 12%, rgb(var(--rgb-secondary-dark)) 16%, transparent 16%),
        linear-gradient(180deg, transparent 50%, rgba(18, 40, 74, 0.08) 50%);
}

.home-preview--phone .home-preview__scene {
    background:
        linear-gradient(180deg, rgba(241, 247, 251, 1) 0%, rgba(229, 238, 250, 1) 100%);
}

.scene-phone__device {
    position: absolute;
    inset: 2.6rem auto 2.2rem 50%;
    width: 12.8rem;
    border-radius: 2.2rem;
    background:
        linear-gradient(180deg, rgb(var(--rgb-ink-strong)) 0%, rgb(var(--rgb-secondary-dark)) 100%);
    transform: translateX(-50%);
    box-shadow: 0 26px 44px rgba(18, 40, 74, 0.22);
}

.scene-phone__bubble,
.scene-phone__chip {
    position: absolute;
    border-radius: 18px;
    box-shadow: 0 16px 24px rgba(18, 40, 74, 0.08);
}

.scene-phone__bubble {
    height: 3rem;
    background: #fff;
}

.scene-phone__bubble--one {
    top: 4rem;
    left: 2.2rem;
    width: 8rem;
}

.scene-phone__bubble--two {
    top: 8.7rem;
    right: 2rem;
    width: 7.2rem;
}

.scene-phone__bubble--three {
    bottom: 4.1rem;
    left: 2.8rem;
    width: 8.8rem;
}

.scene-phone__chip {
    width: 4.4rem;
    height: 4.4rem;
    background: linear-gradient(180deg, rgba(var(--rgb-secondary-dark), 0.14), rgba(18, 40, 74, 0.14));
}

.scene-phone__chip--one {
    top: 12.4rem;
    left: 3rem;
}

.scene-phone__chip--two {
    bottom: 5.2rem;
    right: 2.3rem;
}

.home-preview--analytics .home-preview__scene {
    background:
        linear-gradient(180deg, rgba(246, 249, 252, 1) 0%, rgba(228, 236, 245, 1) 100%);
}

.scene-analytics__card {
    position: absolute;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 28px rgba(18, 40, 74, 0.08);
}

.scene-analytics__card--one {
    inset: 3rem 11rem auto 2.2rem;
    height: 7rem;
}

.scene-analytics__card--two {
    inset: auto 2.2rem 2.2rem 2.2rem;
    height: 9rem;
}

.scene-analytics__graph {
    position: absolute;
    inset: 5.8rem 3rem 5rem 11rem;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(18, 40, 74, 0.08), rgba(18, 40, 74, 0.04)),
        linear-gradient(135deg, transparent 12%, rgb(var(--rgb-secondary-dark)) 12%, rgb(var(--rgb-secondary-dark)) 15%, transparent 15%),
        linear-gradient(180deg, transparent 56%, rgba(18, 40, 74, 0.06) 56%);
}

.scene-analytics__pulse {
    position: absolute;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: rgb(var(--rgb-secondary-dark));
    box-shadow: 0 0 0 10px rgba(var(--rgb-secondary-dark), 0.12);
}

.scene-analytics__pulse--one {
    top: 10rem;
    right: 9rem;
}

.scene-analytics__pulse--two {
    top: 13.5rem;
    right: 5.2rem;
}

.scene-analytics__pulse--three {
    bottom: 5rem;
    right: 10.5rem;
}

.home-hero__arrows {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.home-arrow {
    position: absolute;
    top: 50%;
    display: inline-grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.1rem;
    pointer-events: auto;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 32px rgba(10, 20, 35, 0.18);
    transform: translateY(-50%);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-arrow:hover {
    transform: translateY(calc(-50% - 1px));
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.42);
}

.home-arrow--prev {
    left: clamp(5rem, 15vw, 14rem);
}

.home-arrow--next {
    right: clamp(5rem, 15vw, 14rem);
}

.home-hero__pagination {
    position: absolute;
    left: 50%;
    bottom: clamp(1.3rem, 3vw, 2.2rem);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 32px rgba(10, 20, 35, 0.18);
    transform: translateX(-50%);
    z-index: 3;
}

.home-hero__about-note {
    position: absolute;
    right: clamp(1.2rem, 4vw, 3rem);
    bottom: clamp(1.2rem, 2.8vw, 2.4rem);
    z-index: 3;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.152rem, 1.656vw, 1.368rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: right;
    text-shadow: 0 10px 28px rgba(8, 18, 28, 0.35);
    animation: homeHeroAboutNoteFloat 3.6s ease-in-out infinite;
}

.home-hero__dot {
    width: 0.72rem;
    height: 0.72rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.46);
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.home-hero__dot:hover {
    transform: scale(1.08);
    background: rgba(var(--rgb-surface), 0.72);
}

.home-hero__dot.is-active {
    background: #fff;
    transform: scale(1.24);
}

.home-filter-tabs__item:hover {
    transform: translateY(-1px);
}

.home-section-head {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.home-section-head--center {
    justify-items: center;
    text-align: center;
}

.home-section-head--lined {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    column-gap: 1.35rem;
    row-gap: 0.7rem;
    justify-items: start;
    text-align: left;
    padding-left: 20px;
}

.home-section-head--compact {
    margin-bottom: 2rem;
}

.home-section-head h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.1rem, 3.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.home-section-head__title,
.home-section-head--lined > h2 {
    min-width: 0;
}

.home-section-head__title h2,
.home-section-head--lined > h2 {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-section-head__interactive-title {
    display: inline-grid !important;
    justify-items: start;
    gap: 0.42rem;
    max-inline-size: 100%;
}

.home-section-head__interactive-title::after {
    content: none !important;
}

.home-section-head__interactive-text {
    display: block;
}

.home-section-head__interactive-text:hover + .home-section-head__interactive-line {
    transform: scaleX(1);
}

.home-section-head__interactive-line {
    display: block;
    width: 100%;
    height: 0.26rem;
    border-radius: 999px;
    background: var(--color-primary);
    transform-origin: left center;
    transform: scaleX(0.2);
    transition: transform 220ms ease;
}

.home-section-head__title h2::after,
.home-section-head--lined > h2::after {
    content: "";
    width: 20%;
    height: 0.26rem;
    margin-top: 0.42rem;
    border-radius: 999px;
    background: var(--color-primary);
    transition: width 180ms ease;
}

.home-section-head--lined:hover .home-section-head__title h2::after,
.home-section-head--lined:hover > h2::after,
.home-section-head--lined:focus-within .home-section-head__title h2::after,
.home-section-head--lined:focus-within > h2::after {
    width: 32%;
}

.home-section-head p {
    margin: 0;
    color: var(--color-muted);
}

.home-section-head__side {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.8rem 1.15rem;
    min-width: 0;
    padding-bottom: 0.2rem;
}

.home-section-head__side p {
    flex: 1 1 18rem;
    max-width: 38rem;
    font-size: 0.98rem;
    line-height: 1.62;
    text-align: left;
}

.home-section-head__action {
    flex: 0 0 auto;
}

.home-projects__head .home-section-head__side {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    width: 100%;
}

.home-projects__head .home-section-head__action {
    justify-self: start;
}

.home-projects__head .home-outline-link {
    min-height: 2.65rem;
    padding: 0.55rem 1rem;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.home-projects__head .home-outline-link span {
    line-height: 1.2;
}

.home-projects__head .home-outline-link i {
    color: var(--color-secondary);
    font-size: 0.95rem;
}

.home-projects__head .home-section-head__side p {
    justify-self: end;
    margin-left: auto;
    text-align: right;
}

.home-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(var(--rgb-secondary), 0.12), transparent 38%),
        linear-gradient(180deg, #050e18 0%, #07121d 55%, #050d16 100%);
}

.home-showcase .home-services {
    background: transparent;
}

.home-showcase .home-partners {
    background: #eef2f4;
    box-shadow: none;
}

.home-showcase .home-projects {
    background: transparent;
}

.home-showcase .home-services {
    padding-bottom: 0.9rem;
}

.home-showcase .home-partners {
    gap: 1.1rem;
    padding: 0.35rem 0 1.2rem;
}

.home-showcase .home-projects {
    padding-top: 1.15rem;
}

.home-services {
    --services-cursor-x: 50%;
    --services-cursor-y: 50%;
    --services-spotlight-opacity: 0;
    --services-spotlight-inner-size: 6rem;
    --services-spotlight-outer-size: 13.5rem;
    --services-spotlight-inner-alpha: 0.11;
    --services-spotlight-mid-alpha: 0.045;
    --services-spotlight-outer-alpha: 0.1;
    --services-local-spotlight-inner-size: 5rem;
    --services-local-spotlight-outer-size: 9rem;
    --services-local-spotlight-inner-alpha: 0.17;
    --services-local-spotlight-mid-alpha: 0.08;
    --services-local-spotlight-outer-alpha: 0.11;
    position: relative;
    isolation: isolate;
    padding: 1.6rem 0 1.8rem;
    overflow: hidden;
    color: rgba(239, 247, 246, 0.94);
}

.home-services::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            var(--services-spotlight-inner-size) circle at var(--services-cursor-x) var(--services-cursor-y),
            rgba(255, 255, 255, var(--services-spotlight-inner-alpha)) 0,
            rgba(255, 255, 255, var(--services-spotlight-mid-alpha)) 32%,
            rgba(255, 255, 255, 0) 64%
        ),
        radial-gradient(
            var(--services-spotlight-outer-size) circle at var(--services-cursor-x) var(--services-cursor-y),
            rgba(var(--rgb-primary-soft), var(--services-spotlight-outer-alpha)) 0,
            rgba(var(--rgb-secondary), 0.06) 26%,
            rgba(17, 54, 78, 0.03) 44%,
            rgba(7, 17, 29, 0) 68%
        );
    mix-blend-mode: screen;
    opacity: var(--services-spotlight-opacity);
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.home-services .container {
    position: relative;
    z-index: 1;
}

.home-services .home-section-head h2,
.home-services .home-section-head__interactive-text {
    color: #f5fbfa;
}

.home-services .home-section-head__interactive-line,
.home-services .home-section-head__title h2::after,
.home-services .home-section-head--lined > h2::after {
    background: linear-gradient(90deg, rgb(var(--rgb-secondary)), rgb(var(--rgb-primary-soft)));
}

.home-services .home-section-head p {
    display: block;
    max-width: 42rem;
    color: rgba(185, 205, 214, 0.8);
}

.home-services__showcase {
    display: grid;
    grid-template-columns: minmax(18rem, 0.86fr) minmax(0, 1.14fr);
    gap: 1.6rem;
    align-items: start;
    padding: 1.5rem;
    border: 1px solid rgba(129, 161, 181, 0.16);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(12, 19, 27, 0.96), rgba(15, 23, 31, 0.96));
    box-shadow: 0 24px 48px rgba(2, 8, 15, 0.28);
}

.home-services__primary,
.home-services__extras {
    display: grid;
    gap: 0.95rem;
    position: relative;
    z-index: 1;
}

.home-services__primary-list {
    display: grid;
    gap: 0.45rem;
}

.home-service-option,
.home-service-item,
.home-service-entry__toggle,
.home-services__preview {
    --services-local-cursor-x: 50%;
    --services-local-cursor-y: 50%;
    --services-local-spotlight-opacity: 0;
    --services-local-spotlight-inner-size: 5rem;
    --services-local-spotlight-outer-size: 9rem;
    --services-local-spotlight-inner-alpha: 0.17;
    --services-local-spotlight-mid-alpha: 0.08;
    --services-local-spotlight-outer-alpha: 0.11;
    position: relative;
    isolation: isolate;
}

.home-service-option,
.home-service-item,
.home-services__preview {
    overflow: hidden;
}

.home-service-option::after,
.home-service-item::after,
.home-service-entry__toggle::after,
.home-services__preview::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(
            var(--services-local-spotlight-inner-size) circle at var(--services-local-cursor-x) var(--services-local-cursor-y),
            rgba(255, 255, 255, var(--services-local-spotlight-inner-alpha)) 0,
            rgba(255, 255, 255, var(--services-local-spotlight-mid-alpha)) 34%,
            rgba(255, 255, 255, 0) 72%
        ),
        radial-gradient(
            var(--services-local-spotlight-outer-size) circle at var(--services-local-cursor-x) var(--services-local-cursor-y),
            rgba(var(--rgb-primary-soft), var(--services-local-spotlight-outer-alpha)) 0,
            rgba(var(--rgb-secondary), 0.07) 30%,
            rgba(var(--rgb-secondary), 0) 74%
        );
    mix-blend-mode: screen;
    opacity: var(--services-local-spotlight-opacity);
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 3;
}

.home-service-entry {
    display: grid;
    gap: 0.55rem;
}

.home-services__eyebrow {
    display: inline-flex;
    width: max-content;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(var(--rgb-secondary-dark), 0.1);
    color: var(--color-primary-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-service-option,
.home-service-item {
    width: 100%;
    font: inherit;
    border: 1px solid rgba(150, 164, 174, 0.18);
    background: linear-gradient(180deg, rgba(12, 19, 27, 0.97), rgba(15, 23, 31, 0.97));
    box-shadow: 0 24px 48px rgba(2, 8, 15, 0.22);
    backdrop-filter: blur(14px);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
    cursor: pointer;
    appearance: none;
}

.home-service-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    min-height: 6.2rem;
    padding: 1.05rem 1rem;
    border: 1px solid rgba(150, 164, 174, 0.18);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(12, 19, 27, 0.97), rgba(15, 23, 31, 0.97));
    box-shadow: 0 24px 48px rgba(2, 8, 15, 0.22);
    text-align: left;
}

.home-service-option:hover,
.home-service-option:focus-visible,
.home-service-option.is-active {
    transform: none;
    border-color: rgba(var(--rgb-secondary), 0.44);
    box-shadow: 0 20px 36px rgba(var(--rgb-secondary-dark), 0.2);
    background: rgba(var(--rgb-secondary), 0.96);
}

.home-service-option.is-active {
    border-color: rgba(var(--rgb-secondary), 0.56);
    box-shadow: 0 24px 42px rgba(var(--rgb-secondary-dark), 0.24);
}

.home-service-item:hover,
.home-service-item:focus-visible,
.home-service-item.is-active {
    transform: translateY(-2px);
    border-color: rgba(var(--rgb-secondary), 0.32);
    box-shadow: 0 22px 42px rgba(var(--rgb-secondary-dark), 0.18);
    background:
        linear-gradient(135deg, rgba(var(--rgb-secondary), 0.96), rgba(var(--rgb-secondary-dark), 0.95));
}

.home-service-item.is-active {
    border-color: rgba(var(--rgb-secondary), 0.42);
    box-shadow: 0 24px 44px rgba(var(--rgb-secondary-dark), 0.22);
}

.home-service-option:focus-visible,
.home-service-item:focus-visible {
    outline: none;
}

.home-service-option__index,
.home-service-item__icon {
    display: inline-grid;
    place-items: center;
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        linear-gradient(135deg, rgba(var(--rgb-secondary), 0.2), rgba(14, 119, 183, 0.18));
    color: #d9f8f2;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-service-option__copy {
    display: grid;
    gap: 0.42rem;
    min-width: 0;
    padding-top: 0.15rem;
}

.home-service-option__copy strong {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.18rem, 1.6vw, 1.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #eef8f7;
    transition: color 180ms ease;
}

.home-service-option__copy span {
    color: rgba(185, 205, 214, 0.8);
    font-size: 0.96rem;
    line-height: 1.55;
    max-width: 28rem;
    transition: color 180ms ease;
}

.home-service-option.is-active .home-service-option__copy strong,
.home-service-option:hover .home-service-option__copy strong,
.home-service-option:focus-visible .home-service-option__copy strong {
    color: #fff;
}

.home-service-option.is-active .home-service-option__copy span,
.home-service-option:hover .home-service-option__copy span,
.home-service-option:focus-visible .home-service-option__copy span {
    color: rgba(255, 255, 255, 0.9);
}

.home-service-option.is-active .home-service-option__index,
.home-service-option:hover .home-service-option__index,
.home-service-option:focus-visible .home-service-option__index {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
        rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.home-service-item.is-active h3,
.home-service-item:hover h3,
.home-service-item:focus-visible h3 {
    color: #fff;
}

.home-service-item.is-active .home-service-item__icon,
.home-service-item:hover .home-service-item__icon,
.home-service-item:focus-visible .home-service-item__icon {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
        rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.home-service-entry__toggle {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 0.55rem;
    padding: 0.2rem 0.15rem 0.1rem 0.2rem;
    border: 0;
    background: transparent;
    color: rgba(185, 205, 214, 0.82);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    appearance: none;
    transition: color 180ms ease;
}

.home-service-entry__toggle:hover,
.home-service-entry__toggle:focus-visible {
    color: rgb(var(--rgb-primary-soft));
    outline: none;
}

.home-service-entry__toggle i {
    font-size: 0.8rem;
    transition: transform 220ms ease;
}

.home-service-entry.is-open .home-service-entry__toggle i {
    transform: rotate(180deg);
}

.home-service-entry__panel {
    margin-top: 1.1rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-services__list--embedded {
    gap: 0.9rem 1rem;
    padding: 0.35rem 0 0.2rem;
}

.home-services__preview {
    display: block;
}

.home-services__preview-media {
    position: relative;
    display: grid;
    align-items: stretch;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(150, 164, 174, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(6, 14, 24, 0.94), rgba(10, 19, 31, 0.98)),
        linear-gradient(135deg, rgba(var(--rgb-secondary), 0.08), rgba(14, 119, 183, 0.1));
    box-shadow: 0 24px 48px rgba(2, 8, 15, 0.24);
}


.home-services__preview-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(7, 27, 48, 0), rgba(7, 27, 48, 0.68));
    pointer-events: none;
}

.home-services__preview-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.035);
    transition:
        opacity 360ms ease,
        transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.home-services__preview-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.home-services__preview-copy {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1;
    display: grid;
    pointer-events: none;
}

.home-services__preview-text {
    grid-area: 1 / 1;
    margin: 0;
    max-width: min(100%, 30rem);
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(7, 18, 29, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.97rem;
    line-height: 1.62;
    text-align: left;
    box-shadow: 0 18px 34px rgba(7, 27, 48, 0.22);
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 260ms ease,
        transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.home-services__preview-text.is-active {
    opacity: 1;
    transform: translateY(0);
}

.home-services__extras {
    grid-column: 1 / -1;
}

.home-services__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.home-service-item {
    display: grid;
    grid-template-columns: 3.35rem minmax(0, 1fr);
    align-items: center;
    gap: 0.95rem;
    min-height: 4.8rem;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    text-align: left;
}

.home-service-item__copy {
    min-width: 0;
}

.home-service-item h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #eef8f7;
}

.home-partners {
    display: grid;
    gap: 1.4rem;
    padding: 0.2rem 0 2.4rem;
    border-radius: 0;
    box-shadow: none;
    color: var(--color-ink);
}

.home-partners__head {
    padding-inline: 0;
}

.home-partners__rail {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding-inline: clamp(0.85rem, 2vw, 1.25rem);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-partners__marquee {
    display: flex;
    width: max-content;
    will-change: transform;
}

.home-partners__marquee.is-ready {
    animation: homePartnersMarquee var(--home-partners-duration, 30s) linear infinite;
}

.home-partners__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 1.1rem;
    padding-right: 1.1rem;
}

.home-partners__logo {
    flex: 0 0 auto;
    width: clamp(13.8rem, 18vw, 16.4rem);
    display: block;
    height: auto;
    max-width: none;
    object-position: center;
}

.home-projects {
    --projects-cursor-x: 50%;
    --projects-cursor-y: 50%;
    --projects-spotlight-opacity: 0;
    --projects-spotlight-inner-size: 6rem;
    --projects-spotlight-outer-size: 13.5rem;
    --projects-spotlight-inner-alpha: 0.11;
    --projects-spotlight-mid-alpha: 0.045;
    --projects-spotlight-outer-alpha: 0.1;
    --projects-local-spotlight-inner-size: 5rem;
    --projects-local-spotlight-outer-size: 9rem;
    --projects-local-spotlight-inner-alpha: 0.17;
    --projects-local-spotlight-mid-alpha: 0.08;
    --projects-local-spotlight-outer-alpha: 0.11;
    position: relative;
    isolation: isolate;
    padding: 2.3rem 0 3.6rem;
    overflow: hidden;
    color: rgba(239, 247, 246, 0.94);
}

.home-projects::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            var(--projects-spotlight-inner-size) circle at var(--projects-cursor-x) var(--projects-cursor-y),
            rgba(255, 255, 255, var(--projects-spotlight-inner-alpha)) 0,
            rgba(255, 255, 255, var(--projects-spotlight-mid-alpha)) 32%,
            rgba(255, 255, 255, 0) 64%
        ),
        radial-gradient(
            var(--projects-spotlight-outer-size) circle at var(--projects-cursor-x) var(--projects-cursor-y),
            rgba(var(--rgb-primary-soft), var(--projects-spotlight-outer-alpha)) 0,
            rgba(var(--rgb-secondary), 0.06) 26%,
            rgba(17, 54, 78, 0.03) 44%,
            rgba(7, 17, 29, 0) 68%
        );
    mix-blend-mode: screen;
    opacity: var(--projects-spotlight-opacity);
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.home-projects .container {
    position: relative;
    z-index: 1;
}

.home-projects .home-outline-link,
.home-filter-tabs__item,
.home-project-card {
    --projects-local-cursor-x: 50%;
    --projects-local-cursor-y: 50%;
    --projects-local-spotlight-opacity: 0;
    position: relative;
    isolation: isolate;
}

.home-filter-tabs__item,
.home-project-card {
    overflow: hidden;
}

.home-projects .home-outline-link::after,
.home-filter-tabs__item::after,
.home-project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            var(--projects-local-spotlight-inner-size) circle at var(--projects-local-cursor-x) var(--projects-local-cursor-y),
            rgba(255, 255, 255, var(--projects-local-spotlight-inner-alpha)) 0,
            rgba(255, 255, 255, var(--projects-local-spotlight-mid-alpha)) 34%,
            rgba(255, 255, 255, 0) 72%
        ),
        radial-gradient(
            var(--projects-local-spotlight-outer-size) circle at var(--projects-local-cursor-x) var(--projects-local-cursor-y),
            rgba(var(--rgb-primary-soft), var(--projects-local-spotlight-outer-alpha)) 0,
            rgba(var(--rgb-secondary), 0.07) 30%,
            rgba(var(--rgb-secondary), 0) 74%
        );
    mix-blend-mode: screen;
    opacity: var(--projects-local-spotlight-opacity);
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 3;
}

.home-projects .home-section-head h2,
.home-projects .home-section-head__interactive-text {
    color: #f5fbfa;
}

.home-projects .home-section-head__interactive-line,
.home-projects .home-section-head__title h2::after,
.home-projects .home-section-head--lined > h2::after {
    background: linear-gradient(90deg, rgb(var(--rgb-secondary)), rgb(var(--rgb-primary-soft)));
}

.home-projects .home-section-head p {
    color: rgba(185, 205, 214, 0.8);
}

.home-projects .home-outline-link {
    border-color: rgba(141, 181, 199, 0.18);
    background: rgba(7, 18, 29, 0.92);
    color: #eef8f7;
    box-shadow: 0 18px 38px rgba(2, 8, 15, 0.3);
}

.home-projects .home-outline-link i {
    color: rgb(var(--rgb-secondary));
}

.home-projects .home-outline-link:hover {
    background: rgba(11, 24, 38, 0.96);
}

.home-filter-tabs {
    overflow-x: auto;
    padding-bottom: 0.15rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
}

.home-filter-tabs::-webkit-scrollbar {
    display: none;
}

.home-filter-tabs__track {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 0.35rem;
    width: max-content;
    min-width: 100%;
    margin-inline: auto;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(5, 15, 24, 0.88);
    border: 1px solid rgba(129, 161, 181, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 32px rgba(1, 6, 12, 0.24);
}

.home-filter-tabs__thumb {
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    left: 0.35rem;
    z-index: 0;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    box-shadow: 0 14px 28px rgba(var(--rgb-secondary-dark), 0.24);
    transition: transform 0.28s ease, width 0.28s ease;
}

.home-filter-tabs__item {
    position: relative;
    z-index: 1;
    min-height: 3.1rem;
    padding: 0.75rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #60738c;
    font-size: 0.94rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s ease, color 0.2s ease;
}

.home-filter-tabs__item.is-active {
    color: #fff;
}

.home-project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
}

.home-project-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(150, 164, 174, 0.18);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(12, 19, 27, 0.97), rgba(15, 23, 31, 0.97));
    box-shadow: 0 24px 48px rgba(2, 8, 15, 0.28);
    color: inherit;
    text-decoration: none;
}

.home-project-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1.45;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(19, 52, 92, 0.18), rgba(var(--rgb-secondary-dark), 0.18));
}

.home-project-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(5, 14, 26, 0.1));
    pointer-events: none;
}

.home-project-card__media.is-city {
    background: linear-gradient(135deg, rgba(13, 35, 68, 0.24), rgba(34, 100, 132, 0.16));
}

.home-project-card__media.is-fitness {
    background: linear-gradient(135deg, rgba(8, 14, 18, 0.44), rgba(129, 28, 29, 0.2));
}

.home-project-card__media.is-soft {
    background: linear-gradient(135deg, rgba(224, 227, 231, 0.5), rgba(196, 214, 206, 0.36));
}

.home-project-card__media.is-course {
    background: linear-gradient(135deg, rgba(10, 25, 61, 0.5), rgba(29, 62, 122, 0.24));
}

.home-project-card__media.is-logistics {
    background: linear-gradient(135deg, rgba(129, 150, 166, 0.26), rgba(211, 217, 225, 0.42));
}

.home-project-card__media.is-tech {
    background: linear-gradient(135deg, rgba(14, 19, 27, 0.44), rgba(63, 70, 78, 0.26));
}

.home-project-card__media.is-restaurant {
    background: linear-gradient(135deg, rgba(60, 32, 11, 0.42), rgba(150, 95, 32, 0.24));
}

.home-project-card__media.is-mobile {
    background: linear-gradient(135deg, rgba(162, 95, 255, 0.28), rgba(255, 175, 204, 0.34));
}

.home-project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-project-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 4rem;
}

.home-project-card__body {
    display: grid;
    gap: 0.6rem;
    padding: 1.15rem 1.15rem 1.25rem;
    background: linear-gradient(180deg, rgba(12, 19, 27, 0.04), rgba(12, 19, 27, 0.34));
}

.home-project-card__site {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.02rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
    word-break: break-word;
}

.home-project-card__favicon {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 1.35rem;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 18px rgba(4, 10, 18, 0.18);
}

.home-project-card__subtitle {
    margin: 0;
    color: rgba(205, 221, 229, 0.82);
    font-size: 0.94rem;
    line-height: 1.45;
}

.home-projects__more {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.home-projects__more-button[hidden] {
    display: none;
}

.home-projects__empty {
    margin: 1.1rem 0 0;
    color: rgba(60, 82, 92, 0.82);
    text-align: center;
}

.home-projects__more-button[disabled] {
    opacity: 0.72;
    cursor: wait;
}

.home-outline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-primary);
    font-weight: 700;
}

.home-section-action {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.home-outline-link {
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(18, 40, 74, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-secondary);
}

.home-stats {
    padding: 3.2rem 0 4rem;
    background: linear-gradient(180deg, rgba(233, 244, 245, 0.56), rgba(248, 251, 250, 0));
}

.home-stats__grid {
    --bs-gutter-x: 1.35rem;
    --bs-gutter-y: 1.35rem;
}

.home-stat {
    display: grid;
    justify-items: center;
    gap: 1rem;
    align-content: start;
    text-align: center;
}

.home-stat__circle {
    display: grid;
    align-content: center;
    justify-items: center;
    width: 9.8rem;
    height: 9.8rem;
    border: 1px solid rgba(var(--rgb-secondary-dark), 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
}

.home-stat__circle strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 2.75rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.home-stat__circle span {
    color: var(--color-ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.home-stat p {
    margin: 0;
    color: var(--color-muted);
}

.home-stats--diagram .home-stats__shell {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.home-stats__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(17rem, 0.58fr);
    gap: 2.15rem;
    align-items: start;
}

.home-stats__chart-panel {
    display: grid;
    gap: 1.35rem;
    padding: 0.35rem 0 0;
    border: 0;
    border-radius: 0;
    background: none;
}

.home-stats__chart-copy {
    display: grid;
    gap: 0.2rem;
}

.home-stats__eyebrow {
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-stats__chart-copy h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.home-stats__diagram {
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0.1rem 0 0.9rem;
    text-align: center;
}

.home-stats-diagram {
    width: min(100%, 40.5rem);
    aspect-ratio: 1;
    overflow: visible;
    filter: drop-shadow(0 24px 52px rgba(6, 36, 24, 0.12));
}

.home-stats__diagram-note {
    margin: 0.2rem 0 0;
    color: var(--color-muted);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.home-stats-diagram__segment {
    transform-origin: 300px 300px;
    transition:
        filter 0.4s ease,
        transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    outline: none;
    will-change: transform, filter;
}

.home-stats-diagram__segment:hover,
.home-stats-diagram__segment:focus-visible {
    filter: brightness(1.06) saturate(1.08) drop-shadow(0 10px 18px rgba(8, 52, 36, 0.14));
    transform: translate(var(--segment-shift-x, 0px), var(--segment-shift-y, 0px));
}

.home-stats-diagram__slice {
    stroke: rgba(248, 255, 250, 0.94);
    stroke-width: 3.5;
    transition: stroke 0.3s ease;
}

.home-stats-diagram__segment:hover .home-stats-diagram__slice,
.home-stats-diagram__segment:focus-visible .home-stats-diagram__slice {
    stroke: rgba(255, 255, 255, 0.99);
}

.home-stats-diagram__summary,
.home-stats-diagram__detail {
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.home-stats-diagram__summary {
    opacity: 1;
}

.home-stats-diagram__detail {
    opacity: 0;
    transition-delay: 0.08s;
}

.home-stats-diagram__segment:hover .home-stats-diagram__summary,
.home-stats-diagram__segment:focus-visible .home-stats-diagram__summary {
    opacity: 0;
}

.home-stats-diagram__segment:hover .home-stats-diagram__detail,
.home-stats-diagram__segment:focus-visible .home-stats-diagram__detail {
    opacity: 1;
}

.home-stats-diagram__summary-text,
.home-stats-diagram__detail-text {
    pointer-events: auto;
    user-select: text;
    fill: rgba(255, 255, 255, 0.98);
    paint-order: stroke;
    stroke: rgba(7, 27, 48, 0.22);
    stroke-width: 3px;
    stroke-linejoin: round;
}

.home-stats-diagram__summary-percent {
    fill: rgba(255, 255, 255, 0.98);
    font-family: "Manrope", sans-serif;
    font-size: 2.56rem;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.home-stats-diagram__summary-summary {
    fill: rgba(var(--rgb-surface), 0.72);
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.home-stats-diagram__detail-detail,
.home-stats-diagram__detail-count {
    fill: rgba(255, 255, 255, 0.96);
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 0.94rem;
    font-weight: 500;
}

.home-stats-diagram__detail-count {
    fill: rgba(255, 255, 255, 0.82);
}

.home-stats-diagram__segment--compact .home-stats-diagram__summary-percent {
    font-size: 2.04rem;
}

.home-stats-diagram__segment--compact .home-stats-diagram__summary-summary,
.home-stats-diagram__segment--compact .home-stats-diagram__detail-detail,
.home-stats-diagram__segment--compact .home-stats-diagram__detail-count {
    font-size: 0.82rem;
}

.home-stats-diagram__segment--tight .home-stats-diagram__summary-text,
.home-stats-diagram__segment--tight .home-stats-diagram__detail-text {
    stroke-width: 2.4px;
}

.home-stats-diagram__segment--tight .home-stats-diagram__summary-percent {
    font-size: 1.58rem;
}

.home-stats-diagram__segment--tight .home-stats-diagram__summary-summary,
.home-stats-diagram__segment--tight .home-stats-diagram__detail-detail,
.home-stats-diagram__segment--tight .home-stats-diagram__detail-count {
    font-size: 0.68rem;
}

.home-stats__palette {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem 1rem;
    align-items: start;
}

.home-stats__palette-title {
    grid-column: 1 / -1;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-stats__palette-item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    min-width: 0;
}

.home-stats__palette-swatch {
    width: 0.9rem;
    height: 0.9rem;
    margin-top: 0.28rem;
    border-radius: 999px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.58);
}

.home-stats__palette-item strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 0.94rem;
    line-height: 1.15;
}

.home-stats__palette-item p {
    margin: 0.16rem 0 0;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.home-stats__legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-stats__legend-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 10px 24px rgba(var(--rgb-ink), 0.04);
}

.home-stats__legend-swatch {
    width: 0.9rem;
    height: 0.9rem;
    margin-top: 0.3rem;
    border-radius: 999px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.58);
}

.home-stats__legend-item strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 0.98rem;
}

.home-stats__legend-item p {
    margin: 0.2rem 0 0;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.home-stats__metrics {
    display: grid;
    gap: 0.9rem;
}

.home-stats__metric {
    position: relative;
    display: grid;
    gap: 0.75rem;
    padding: 1.15rem 1.15rem 1.2rem;
    border: 1px solid rgba(var(--rgb-ink), 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 28px rgba(var(--rgb-ink), 0.04);
    overflow: hidden;
    transform-origin: center;
    transition:
        filter 0.4s ease,
        transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s ease;
    will-change: transform, filter;
}

.home-stats__metric:hover,
.home-stats__metric:focus-within {
    filter: brightness(1.04) saturate(1.05);
    transform: scale(1.02);
    box-shadow: 0 18px 34px rgba(var(--rgb-ink), 0.08);
}

.home-stats__metric::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.34rem;
    border-radius: 999px;
    background: var(--metric-accent, linear-gradient(180deg, var(--color-primary), var(--color-primary-dark)));
}

.home-stats__metric--primary {
    --metric-accent: linear-gradient(180deg, rgba(var(--rgb-primary), 0.98), rgba(var(--rgb-primary-dark), 0.95));
    transition:
        filter 0.16s ease-out,
        transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.16s ease-out;
}

.home-stats__metric--secondary {
    --metric-accent: linear-gradient(180deg, rgba(var(--rgb-secondary), 0.98), rgba(var(--rgb-secondary-dark), 0.95));
}

.home-stats__metric--info {
    --metric-accent: linear-gradient(180deg, rgba(var(--rgb-info), 0.98), rgba(var(--rgb-secondary), 0.92));
}

.home-stats__metric--success {
    --metric-accent: linear-gradient(180deg, rgba(var(--rgb-success), 0.98), rgba(var(--rgb-primary), 0.88));
}

.home-stats__metric-kicker {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-stats__metric strong {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.95rem, 4vw, 3.05rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.home-stats__metric strong span:last-child {
    color: var(--color-muted);
    font-size: 0.94rem;
    letter-spacing: 0;
}

.home-stats__metric p {
    margin: 0;
    color: var(--color-muted);
}

.home-stats__metric strong [data-counter-value] {
    font-variant-numeric: tabular-nums;
}

.home-process {
    padding: 0 0 1.7rem;
}

.home-process__panel {
    padding: 1.2rem 1.5rem 1.35rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-process__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
    gap: 1.35rem;
    align-items: start;
}

.home-process__head {
    margin-bottom: 0;
}

.home-process__main,
.home-process__faq {
    min-width: 0;
}

.home-process__faq.home-faq {
    padding: 1rem 1.15rem 1.15rem;
    border: 1px solid rgba(var(--rgb-line), 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(var(--rgb-secondary), 0.08), transparent 14rem),
        linear-gradient(180deg, rgba(var(--rgb-surface), 0.9), rgba(var(--rgb-paper-alt), 0.94));
    box-shadow: 0 22px 48px rgba(var(--rgb-ink), 0.08);
}

.home-process__timeline {
    --home-process-rope-x: 50%;
    --home-process-node-size: 0.92rem;
    position: relative;
    display: grid;
    gap: 0.22rem;
    margin-top: 0.8rem;
}

.home-process__timeline::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: var(--home-process-rope-x);
    width: 0.36rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(var(--rgb-secondary-dark), 0.45) 0%, var(--color-primary) 42%, var(--color-primary-dark) 100%),
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.2) 0 0.6rem,
            rgba(255, 255, 255, 0) 0.6rem 1.2rem
        );
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.28),
        inset -1px 0 0 rgba(var(--rgb-secondary-dark), 0.16);
}

.home-process-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.1rem minmax(0, 1fr);
    align-items: start;
    min-height: 4.2rem;
    margin: 0;
}

.home-process-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: var(--home-process-rope-x);
    width: var(--home-process-node-size);
    height: var(--home-process-node-size);
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.35) 34%, rgba(var(--rgb-primary), 0.96) 35%, rgba(var(--rgb-primary-dark), 0.98) 100%);
    box-shadow:
        0 8px 16px rgba(8, 52, 36, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    z-index: 1;
    pointer-events: none;
}

.home-process-item__content {
    position: relative;
}

.home-process-item--left .home-process-item__content {
    grid-column: 1;
    margin-right: 0.7rem;
}

.home-process-item--right .home-process-item__content {
    grid-column: 3;
    margin-left: 0.7rem;
}

.home-process-item__content::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1.4rem;
    height: 0.22rem;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(var(--rgb-secondary-dark), 0.5), var(--color-primary-dark));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(var(--rgb-secondary-dark), 0.12);
}

.home-process-item--left .home-process-item__content::after {
    right: -1.4rem;
}

.home-process-item--right .home-process-item__content::after {
    left: -1.4rem;
}

.home-process-step {
    display: grid;
    grid-template-columns: 2.65rem 1fr;
    gap: 0.55rem;
    align-items: center;
    min-height: 100%;
    padding: 0.68rem 0.82rem;
    border: 1px solid rgba(var(--rgb-line), 0.08);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(var(--rgb-surface), 0.94), rgba(var(--rgb-paper-alt), 0.92));
    box-shadow: 0 14px 32px rgba(var(--rgb-ink), 0.06);
    transform-origin: center;
    transition:
        filter 0.18s ease-out,
        transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.18s ease-out;
    will-change: transform, filter;
}

.home-process-step:hover,
.home-process-step:focus-within {
    filter: brightness(1.04) saturate(1.05);
    transform: scale(1.018);
    box-shadow: 0 18px 38px rgba(var(--rgb-ink), 0.1);
}

.home-process-step__icon {
    display: inline-grid;
    place-items: center;
}

.home-process-step__icon {
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid rgba(var(--rgb-primary-dark), 0.12);
    border-radius: 16px;
    background: rgba(var(--rgb-primary), 0.1);
    color: var(--color-primary);
    font-size: 1.08rem;
}

.home-process-step__copy h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 0.98rem;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.home-faq {
    padding: 0;
}

.home-faq__shell {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-ink);
    box-shadow: none;
}

.home-faq__shell--compact {
    overflow: visible;
    isolation: auto;
}

.home-faq__title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.home-faq__title--compact {
    margin-bottom: 0.9rem;
}

.home-faq__body {
    display: grid;
    gap: 0.7rem;
    max-width: 100%;
}

.home-faq__body--compact {
    scroll-margin-top: calc(var(--header-height) + 1.2rem);
    gap: 0.9rem;
    padding: 0.15rem 0.15rem 0.2rem;
}

.home-faq__item {
    overflow: hidden;
    border: 1px solid rgba(var(--rgb-line), 0.08);
    border-radius: 20px;
    background: rgba(var(--rgb-surface), 0.8);
    box-shadow: 0 12px 28px rgba(var(--rgb-ink), 0.06);
    transition:
        filter 0.18s ease-out,
        transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.18s ease-out;
    will-change: transform, filter;
}

.home-faq__item:hover,
.home-faq__item:focus-within {
    filter: brightness(1.03) saturate(1.04);
    transform: scale(1.012);
    box-shadow: 0 16px 34px rgba(var(--rgb-ink), 0.09);
}

.home-faq__header {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.home-faq__header:focus-visible {
    outline: none;
}

.home-faq__name {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(0.98rem, 1.8vw, 1.08rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.03em;
    color: var(--color-ink);
}

.home-faq__arrow-wrap {
    display: inline-grid;
    place-items: center;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(var(--rgb-primary), 0.96), rgba(var(--rgb-secondary), 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.home-faq__open-arrow {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 220ms ease;
}

.home-faq__item.is-open .home-faq__open-arrow {
    transform: rotate(90deg);
}

.home-faq__item__body {
    overflow: hidden;
    max-height: 0;
    transition:
        max-height 320ms ease,
        opacity 220ms ease,
        transform 220ms ease;
    opacity: 0;
    transform: translateY(-2px);
}

.home-faq__item.is-open .home-faq__item__body {
    opacity: 1;
    transform: translateY(0);
}

.home-faq__answer {
    margin: 0;
    padding: 0 1rem 1rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.home-faq__answer br + br {
    margin-bottom: 0.2rem;
}

.home-cta {
    padding: 0 0 1.4rem;
}

.home-cta__panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
    min-height: 18rem;
    padding: 2.8rem 2.9rem;
    border: 1px solid rgba(var(--rgb-primary-soft), 0.18);
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(var(--rgb-secondary), 0.24), transparent 28rem),
        radial-gradient(circle at 100% 20%, rgba(27, 119, 255, 0.18), transparent 22rem),
        linear-gradient(155deg, rgba(5, 15, 25, 0.98) 0%, rgba(7, 21, 35, 0.98) 48%, rgba(8, 30, 49, 0.96) 100%);
    box-shadow: 0 30px 60px rgba(4, 13, 23, 0.34);
}

.home-cta__panel::before,
.home-cta__panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
}

.home-cta__panel::before {
    top: -5rem;
    right: -3rem;
    width: 14rem;
    height: 14rem;
    background: rgba(var(--rgb-secondary), 0.16);
    filter: blur(8px);
}

.home-cta__panel::after {
    left: 38%;
    bottom: -4.5rem;
    width: 11rem;
    height: 11rem;
    background: rgba(27, 119, 255, 0.14);
    filter: blur(10px);
}

.home-cta__lead {
    display: grid;
    gap: 0.35rem;
    align-items: start;
}

.home-cta__lead h2 {
    margin: 0 0 0.55rem;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.3rem, 4vw, 3.35rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: #f5fbfa;
}

.home-cta__lead p {
    margin: 0;
    max-width: 46rem;
    color: rgba(226, 238, 244, 0.78);
    font-size: 1.04rem;
    line-height: 1.72;
}

.home-cta__flow {
    display: grid;
    gap: 1.35rem;
    width: 100%;
}

.home-cta__ai-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.15rem;
    color: rgb(var(--rgb-primary-soft));
    font-weight: 700;
}

.home-cta__ai-link--headline {
    display: block;
    margin: 0;
    color: #f5fbfa;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.3rem, 4vw, 3.35rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.home-cta__dialog-card {
    display: grid;
    gap: 0.9rem;
    width: min(100%, 24rem);
    padding: 1.3rem 1.35rem;
    border: 1px solid rgba(var(--rgb-primary-soft), 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
    box-shadow: 0 20px 38px rgba(4, 13, 23, 0.22);
    backdrop-filter: blur(12px);
}

.home-cta__dialog-label {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 2rem;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    background: rgba(var(--rgb-primary-soft), 0.1);
    color: rgb(var(--rgb-primary-soft));
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-cta__dialog-card strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.18rem;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: #f5fbfa;
}

.home-cta__dialog-card p {
    margin: 0;
    color: rgba(226, 238, 244, 0.74);
    line-height: 1.65;
}

.home-cta__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17.5rem, 22rem);
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.home-cta__stage--reverse {
    grid-template-columns: minmax(17.5rem, 22rem) minmax(0, 1fr);
}

.home-cta__stage-copy {
    display: grid;
    gap: 0.65rem;
}

.home-cta__stage-copy strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.18rem;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: #f5fbfa;
}

.home-cta__stage-copy p {
    margin: 0;
    color: rgba(226, 238, 244, 0.74);
    line-height: 1.65;
}

.home-cta__stage .home-cta__dialog-card {
    justify-self: end;
}

.home-cta__stage--reverse .home-cta__dialog-card {
    justify-self: start;
}

.home-cta__dialog-card--compact {
    width: min(100%, 21rem);
}

.home-cta__dialog-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 3.6rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgb(var(--rgb-secondary)), rgb(var(--rgb-secondary-dark)));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 28px rgba(var(--rgb-secondary-dark), 0.28);
}

.home-cta__dialog-link--secondary {
    background: linear-gradient(135deg, #14354d, #1e5d73);
}

.home-cta__dialog-link-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.home-cta__dialog-link-copy i,
.home-cta__dialog-link > i {
    font-size: 1rem;
}

.home-application {
    padding: 0 0 1.4rem;
}

.home-application__panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 2.3rem 2.45rem;
    border: 1px solid rgba(var(--rgb-primary-soft), 0.16);
    border-radius: 32px;
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--rgb-secondary), 0.2), transparent 26rem),
        radial-gradient(circle at 100% 100%, rgba(27, 119, 255, 0.16), transparent 24rem),
        linear-gradient(160deg, rgba(6, 17, 29, 0.98) 0%, rgba(4, 13, 23, 0.98) 50%, rgba(7, 27, 48, 0.96) 100%);
    box-shadow: 0 28px 60px rgba(4, 13, 23, 0.32);
}

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

.home-application__panel::before,
.home-application__panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

.home-application__panel::before {
    top: -7rem;
    right: -4rem;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(var(--rgb-primary-soft), 0.22) 0%, rgba(var(--rgb-primary-soft), 0.04) 38%, rgba(var(--rgb-primary-soft), 0) 72%);
}

.home-application__panel::after {
    left: 16%;
    bottom: -8rem;
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, rgba(38, 174, 255, 0.18) 0%, rgba(38, 174, 255, 0.05) 34%, rgba(38, 174, 255, 0) 76%);
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.5fr) minmax(225px, 0.7fr);
    gap: 1.35rem;
    align-items: center;
}

.contact-intro {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    min-height: 100%;
    max-width: 325px;
    align-self: start;
}

.contact-panel .home-legal__list {
    max-width: none;
    padding-left: 0;
}

.contact-panel .home-legal__label {
    font-size: 0.94em;
    line-height: 1.5;
}

.contact-panel .home-legal__value {
    font-size: 0.94em;
    line-height: 1.5;
}

.contact-panel .home-legal__value,
.contact-panel .home-legal__value a {
    color: #fff;
    font-weight: 700;
}

.contact-intro__brand {
    display: grid;
    gap: 0.65rem;
    justify-items: start;
    margin-top: 0.2rem;
}

.contact-form {
    display: grid;
    gap: 0.7rem;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.field {
    display: block;
}

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

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(var(--rgb-primary-soft), 0.14);
    border-radius: 10px;
    background: rgba(8, 20, 34, 0.76);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 28px rgba(4, 13, 23, 0.2);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.field input,
.field select {
    height: 46px;
    padding: 0 0.95rem;
}

.field textarea {
    min-height: 72px;
    padding: 0.82rem 0.95rem;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(201, 219, 227, 0.56);
}

.field select {
    appearance: none;
    color: rgba(255, 255, 255, 0.9);
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(201, 219, 227, 0.92) 50%),
        linear-gradient(135deg, rgba(201, 219, 227, 0.92) 50%, transparent 50%);
    background-position:
        calc(100% - 17px) calc(50% - 2px),
        calc(100% - 11px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.field select option {
    color: #06111d;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(var(--rgb-primary-soft), 0.42);
    background: rgba(10, 24, 40, 0.92);
    box-shadow: 0 0 0 3px rgba(var(--rgb-primary-soft), 0.12);
}

.field-error input,
.field-error select,
.field-error textarea {
    border-color: rgba(201, 60, 80, 0.64);
    box-shadow: 0 0 0 1px rgba(201, 60, 80, 0.2);
}

.submit-button {
    align-self: start;
    min-width: 210px;
    min-height: 46px;
    margin-top: 0.85rem;
    padding: 0.85rem 1.25rem;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--rgb-secondary), 1), rgba(27, 119, 255, 0.96));
    color: rgb(var(--rgb-surface));
    box-shadow: 0 18px 30px rgba(var(--rgb-secondary), 0.24);
}

.submit-button:hover,
.submit-button:focus {
    color: rgb(var(--rgb-surface));
    transform: translateY(-1px);
}

.form-note {
    margin: 0.65rem 0 0;
    color: rgba(201, 219, 227, 0.62);
    font-size: 0.76rem;
    line-height: 1.5;
}

.notice-stack {
    display: grid;
    gap: 0.6rem;
}

.notice-banner {
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(var(--rgb-primary-soft), 0.14);
    border-radius: 12px;
    background: rgba(8, 20, 34, 0.72);
    color: rgba(255, 255, 255, 0.9);
}

.notice-banner--error {
    border-color: rgba(201, 60, 80, 0.34);
    background: rgba(64, 15, 26, 0.42);
    color: rgba(255, 220, 226, 0.96);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(214, 232, 239, 0.86);
    font-size: 0.88rem;
    line-height: 1.5;
}

.form-consent input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.15rem;
    accent-color: var(--color-primary);
}

.form-consent--error {
    color: rgba(255, 220, 226, 0.96);
}

.field-help {
    display: inline-block;
    margin-top: 0.38rem;
    color: rgba(255, 196, 204, 0.96);
    font-size: 0.78rem;
    line-height: 1.45;
}

.field-help--block {
    display: block;
}

.contact-links {
    display: grid;
    gap: 0.72rem;
    align-content: start;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 46px;
    padding: 0 0.95rem;
    border: 1px solid rgba(var(--rgb-primary-soft), 0.14);
    border-radius: 10px;
    background: rgba(8, 20, 34, 0.72);
    box-shadow: 0 16px 28px rgba(4, 13, 23, 0.18);
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus {
    color: #fff;
    border-color: rgba(var(--rgb-primary-soft), 0.3);
    background: rgba(10, 24, 40, 0.88);
    transform: translateY(-1px);
}

.contact-link__icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(var(--rgb-primary-soft), 0.1), rgba(38, 174, 255, 0.12));
    color: rgba(var(--rgb-primary-soft), 0.92);
    font-size: 1rem;
}

.contact-link__icon--max {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.contact-link--whatsapp .contact-link__icon {
    color: rgb(var(--rgb-whatsapp));
}

.contact-link--telegram .contact-link__icon {
    color: rgb(var(--rgb-telegram));
}

.contact-link--phone .contact-link__icon {
    color: rgb(27, 119, 255);
}

.contact-link--email .contact-link__icon {
    color: rgb(201, 60, 80);
}

.contact-link span:last-child {
    font-size: 0.92rem;
    font-weight: 500;
}

.home-legal {
    padding: 0 0 1.6rem;
}

.home-legal__panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    gap: 2rem;
    padding: 2.6rem 2.5rem;
    border: 1px solid rgba(var(--rgb-primary-soft), 0.16);
    border-radius: 2rem;
    background: linear-gradient(180deg, #06111d 0%, #040d17 100%);
    box-shadow: 0 28px 60px rgba(4, 13, 23, 0.28);
}

.home-legal__panel::before,
.home-legal__panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

.home-legal__panel::before {
    top: -7rem;
    right: -4rem;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(var(--rgb-primary-soft), 0.22) 0%, rgba(var(--rgb-primary-soft), 0.04) 38%, rgba(var(--rgb-primary-soft), 0) 72%);
}

.home-legal__panel::after {
    left: 10%;
    bottom: -8rem;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(38, 174, 255, 0.18) 0%, rgba(38, 174, 255, 0.05) 34%, rgba(38, 174, 255, 0) 76%);
}

.home-legal__list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    max-width: 58rem;
    margin: 0;
    padding-left: 1.2rem;
}

.home-legal__item {
    display: grid;
    gap: 0.22rem;
    color: rgba(255, 255, 255, 0.78);
}

.home-legal__label,
.home-legal__value {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
}

.home-legal__label {
    color: rgba(var(--rgb-primary-soft), 0.88);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-legal__value {
    color: #fff;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.home-legal__value a {
    color: #fff;
    font-weight: 700;
    text-decoration-color: rgba(var(--rgb-primary-soft), 0.42);
}

.home-legal__value a:hover {
    color: rgba(var(--rgb-primary-soft), 0.98);
    text-decoration-color: rgba(var(--rgb-primary-soft), 0.82);
}

.home-legal__note {
    margin: auto 0 0;
    padding-top: 1.4rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    line-height: 1.55;
}

.home-legal__value--bank {
    font-variant-numeric: tabular-nums;
    color: rgba(215, 248, 255, 0.92);
}

@keyframes homeHeroFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeHeroAboutNoteFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes homePartnersMarquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(calc(-1 * var(--home-partners-loop-width, 0px)), 0, 0);
    }
}

@media (max-width: 1199.98px) {
    .site-header__inner {
        gap: 1.4rem;
    }

    .site-nav {
        gap: 1.4rem;
    }

    .home-hero__copy {
        padding-right: 2rem;
    }
    .home-hero__features {
        display: none !important;
    }

    .home-partners__logo {
        width: clamp(12.4rem, 17vw, 14.2rem);
    }

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

    .home-services__showcase {
        grid-template-columns: minmax(16rem, 0.84fr) minmax(0, 1fr);
    }

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

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

    .site-footer__brand {
        grid-column: auto;
    }

    .home-stats__layout {
        grid-template-columns: 1fr;
    }

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

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

    .home-stats-diagram {
        width: min(100%, 26.25rem);
    }

    .home-process__faq {
        padding: 0.95rem 1rem 1rem;
    }

    .home-legal__panel {
        padding: 2.2rem 1.8rem;
    }
}

@media (max-width: 991.98px) {
    .page-home .home-hero {
        min-height: auto;
    }

    .page-ai .home-hero {
        min-height: auto;
    }

    .site-header {
        padding: 0;
    }

    .site-header__inner {
        grid-template-columns: auto auto;
        gap: 1rem;
    }

    .site-brand__logo {
        max-width: 11rem;
    }

    .site-nav-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-nav-panel {
        display: none !important;
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
        padding-top: 1rem;
    }

    .site-nav-panel.show {
        display: flex !important;
    }

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

    .home-hero__copy {
        max-width: 46rem;
        padding-right: 0;
    }

    .home-services__showcase {
        grid-template-columns: 1fr;
        padding: 1.2rem;
    }

    .home-section-head--lined {
        grid-template-columns: 1fr;
    }

    .home-section-head__side {
        width: 100%;
        padding-bottom: 0;
    }

    .home-services__primary-list {
        grid-template-columns: 1fr;
    }

    .home-service-option {
        min-height: 5.5rem;
    }

    .home-service-entry__details {
        font-size: 0.88rem;
    }

    .site-nav,
    .site-header__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav {
        gap: 0.75rem;
    }

    .site-nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(18, 40, 74, 0.08);
    }

    .site-header__actions .button {
        width: 100%;
        min-width: 0;
    }


    .home-project-grid,
    .home-cta__panel,
    .site-footer__panel {
        grid-template-columns: 1fr;
    }

    .home-services__list {
        grid-template-columns: 1fr;
    }

    .home-process__layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-process__timeline {
        --home-process-rope-x: 1.95rem;
    }

    .home-process__timeline::before {
        left: 1.95rem;
        transform: none;
        width: 0.4rem;
    }

    .home-legal__value {
        font-size: clamp(1rem, 4vw, 1.1rem);
    }

    .home-process-item {
        grid-template-columns: 1.95rem minmax(0, 1fr);
        column-gap: 0.95rem;
        align-items: start;
    }

    .home-process-item__content,
    .home-process-item--left .home-process-item__content,
    .home-process-item--right .home-process-item__content {
        grid-column: 2;
        margin: 0;
    }

    .home-process-item__content::after,
    .home-process-item--left .home-process-item__content::after,
    .home-process-item--right .home-process-item__content::after {
        left: -0.95rem;
        right: auto;
        width: 0.95rem;
    }

    .home-process__faq {
        padding: 1rem 1.1rem 1.05rem;
        border-radius: 24px;
    }

    .home-preview__nav {
        display: none;
    }

    .home-cta__panel {
        border-radius: 28px;
    }

    .home-application__panel {
        padding: 1.9rem;
        border-radius: 28px;
    }

    .home-stats--diagram .home-stats__shell {
        padding: 0;
    }

    .home-stats__chart-panel {
        padding: 0;
    }

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

    .home-stats__legend {
        grid-template-columns: 1fr;
    }

    .home-stats__metrics {
        grid-template-columns: 1fr;
    }

    .home-stats-diagram {
        width: min(100%, 25.5rem);
    }

    .home-stats__diagram-note {
        font-size: 0.76rem;
    }

    .home-stats-diagram__summary-percent {
        font-size: 1.9rem;
    }

    .home-stats-diagram__summary-summary,
    .home-stats-diagram__detail-detail,
    .home-stats-diagram__detail-count {
        font-size: 0.78rem;
    }

    .home-stats-diagram__segment--compact .home-stats-diagram__summary-percent {
        font-size: 1.58rem;
    }

    .home-stats-diagram__segment--compact .home-stats-diagram__summary-summary,
    .home-stats-diagram__segment--compact .home-stats-diagram__detail-detail,
    .home-stats-diagram__segment--compact .home-stats-diagram__detail-count {
        font-size: 0.7rem;
    }

    .home-stats-diagram__segment--tight .home-stats-diagram__summary-percent {
        font-size: 1.3rem;
    }

    .home-stats-diagram__segment--tight .home-stats-diagram__summary-summary,
    .home-stats-diagram__segment--tight .home-stats-diagram__detail-detail,
    .home-stats-diagram__segment--tight .home-stats-diagram__detail-count {
        font-size: 0.6rem;
    }

    .home-faq__title--compact {
        margin-bottom: 0.8rem;
    }

    .home-faq__header {
        padding: 0.9rem 0.95rem;
    }

    .home-faq__arrow-wrap {
        width: 2.35rem;
        height: 2.35rem;
    }

    .home-faq__answer {
        padding: 0 0.95rem 0.95rem;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-intro,
    .contact-intro p {
        max-width: 100%;
    }

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

@media (max-width: 767.98px) {
    .home-filter-tabs {
        margin-inline: -0.35rem;
        padding-inline: 0.35rem;
    }

    .home-filter-tabs__track {
        min-width: max-content;
    }

    .home-filter-tabs__item {
        min-height: 2.9rem;
        padding-inline: 1rem;
        font-size: 0.9rem;
    }

    .home-service-item {
        min-height: 4.5rem;
        padding: 0.9rem 1rem;
        border-radius: 20px;
    }

    .home-service-option {
        grid-template-columns: 2.8rem minmax(0, 1fr);
        gap: 0.85rem;
        min-height: 5rem;
        padding: 0.95rem 0.9rem;
        border-radius: 20px;
    }

    .home-service-option__index,
    .home-service-item__icon {
        width: 2.8rem;
        height: 2.8rem;
        border-radius: 1rem;
    }

    .home-services__preview-copy {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 0.8rem;
    }

    .home-services__preview-copy p {
        padding: 0.82rem 0.9rem;
        border-radius: 18px;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .home-section-head__side {
        gap: 0.7rem;
    }

    .home-section-head__side p {
        flex-basis: 100%;
    }

    .home-projects__head .home-section-head__side {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-projects__head .home-section-head__side p {
        justify-self: start;
        margin-left: 0;
        text-align: left;
    }

    .home-hero {
        padding: 1.8rem 0 4.2rem;
    }

    .page-home .home-hero {
        margin-top: 0;
        padding-top: calc(var(--header-height) + 2.3rem);
        padding-bottom: 2.4rem;
    }

    .page-ai .home-hero {
        margin-top: 0;
        padding-top: calc(var(--header-height) + 2.3rem);
        padding-bottom: 2.4rem;
    }

    .page-home .home-hero__backdrop {
        inset: 0;
    }

    .page-home .home-hero__media {
        inset: 0;
    }

    .page-ai .home-hero__backdrop {
        inset: 0;
    }

    .page-ai .home-hero__media {
        inset: 0;
    }

    .home-arrow {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }

    .home-arrow--prev {
        left: 2rem;
    }

    .home-arrow--next {
        right: 2rem;
    }

    .home-hero__pagination {
        bottom: 1rem;
        gap: 0.5rem;
        padding: 0.5rem 0.72rem;
    }

    .home-hero__about-note {
        right: 1rem;
        bottom: 5rem;
        font-size: clamp(0.72rem, 2.88vw, 0.936rem);
    }

    .home-hero__dot {
        width: 0.64rem;
        height: 0.64rem;
    }

    .home-partners {
        gap: 1.1rem;
        padding-bottom: 2rem;
    }

    .home-partners__rail {
        padding-inline: 0.65rem;
    }

    .home-partners__group {
        gap: 0.75rem;
        padding-right: 0.75rem;
    }

    .home-partners__logo {
        width: 11.2rem;
    }

    .home-hero__copy h1 {
        margin-bottom: 0.95rem;
        font-size: clamp(2.4rem, 12vw, 3.55rem);
    }

    .home-hero__actions {
        margin-top: 1.6rem;
    }

    .home-hero__note {
        margin-top: 1rem;
    }

  .home-hero__note-text {
    font-size: clamp(1.68rem, 8.1vw, 2.45rem);
  }

    .home-hero__features,
    .home-project-grid,
    .home-services__list {
        grid-template-columns: 1fr;
    }

    .home-hero__button {
        width: 100%;
    }

    .home-preview__top {
        grid-template-columns: auto 1fr auto;
    }

    .home-preview__brand {
        font-size: 1rem;
    }

    .home-preview__copy {
        padding: 1.6rem 1.4rem 0.5rem;
    }

    .home-preview__scene {
        min-height: 19rem;
    }

    .home-services,
    .home-projects,
    .home-stats {
        padding-bottom: 2.8rem;
    }

    .home-process__panel,
    .home-cta__panel {
        padding: 1.4rem;
    }

    .home-legal__panel {
        padding: 1.5rem;
        border-radius: 1.7rem;
    }

    .home-process__layout {
        gap: 0.9rem;
    }

    .home-process__timeline {
        --home-process-rope-x: 1.2rem;
        gap: 0.12rem;
        margin-top: 0.55rem;
    }

    .home-process__timeline::before {
        left: 1.2rem;
        top: 0.45rem;
        bottom: 0.45rem;
        width: 0.26rem;
    }

    .home-process__timeline {
        --home-process-node-size: 0.72rem;
    }

    .home-process-item {
        grid-template-columns: 1.2rem minmax(0, 1fr);
        column-gap: 0.45rem;
        min-height: 3.4rem;
    }

    .home-process-item__content::after,
    .home-process-item--left .home-process-item__content::after,
    .home-process-item--right .home-process-item__content::after {
        left: -0.45rem;
        width: 0.45rem;
        height: 0.2rem;
    }

    .home-process-step {
        grid-template-columns: 2.4rem 1fr;
        gap: 0.45rem;
        align-items: start;
        padding: 0.62rem 0.72rem;
    }

    .home-process__faq {
        padding: 0.95rem 0.95rem 1rem;
        border-radius: 20px;
    }

    .home-faq__body--compact {
        padding: 0.1rem 0.08rem 0.12rem;
    }

    .home-process-step__icon {
        width: 2.4rem;
        height: 2.4rem;
        border-radius: 16px;
        font-size: 1rem;
    }

    .home-faq__title {
        font-size: 1.6rem;
    }

    .home-faq__header {
        padding: 0.8rem 0.85rem;
    }

    .home-faq__name {
        font-size: 0.95rem;
    }

    .home-faq__arrow-wrap {
        width: 2.2rem;
        height: 2.2rem;
    }

    .home-faq__answer {
        padding: 0 0.85rem 0.85rem;
        font-size: 0.92rem;
    }

    .home-cta__lead {
        grid-template-columns: 1fr;
    }

    .home-cta__dialog-card,
    .home-cta__stage {
        width: 100%;
        justify-self: stretch;
    }

    .home-cta__stage,
    .home-cta__stage--reverse {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-cta__stage .home-cta__dialog-card,
    .home-cta__stage--reverse .home-cta__dialog-card {
        justify-self: stretch;
    }

    .contact-form__grid,
    .contact-links {
        grid-template-columns: 1fr;
    }

    .field-wide {
        grid-column: auto;
    }

    .contact-intro__icon {
        width: 96px;
        margin-top: 1.15rem;
    }

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

/* Dark cards on the light constructor canvas; the AI chat keeps its own theme. */
body.page-ai {
    background: #fff;
}

body.page-ai .brief-form-shell .brief-wizard__panel {
    background: rgba(7, 27, 48, 0.96);
    color: rgba(255, 255, 255, 0.92);
}

body.page-ai .brief-form-shell .brief-wizard__step {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.page-ai .brief-form-shell .brief-wizard__title,
body.page-ai .brief-form-shell .form-label,
body.page-ai .brief-form-shell .brief-addon-card__title,
body.page-ai .brief-form-shell .brief-price-breakdown__row strong,
body.page-ai .brief-form-shell .brief-section-card__title {
    color: #fff;
}

body.page-ai .brief-form-shell .brief-wizard__copy,
body.page-ai .brief-form-shell .brief-control-hint,
body.page-ai .brief-form-shell .brief-section-card__meta,
body.page-ai .brief-form-shell .text-secondary {
    color: #fff !important;
}

body.page-ai .brief-form-shell .form-control,
body.page-ai .brief-form-shell .form-select {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(5, 18, 30, 0.86);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 28px rgba(0, 0, 0, 0.16);
}

body.page-ai .brief-form-shell .form-control::placeholder,
body.page-ai .brief-form-shell .form-select:invalid {
    color: rgba(255, 255, 255, 0.88);
}

body.page-ai .brief-form-shell .brief-section-picker__summary,
body.page-ai .brief-form-shell .brief-section-card,
body.page-ai .brief-form-shell .brief-addon-card,
body.page-ai .brief-form-shell .brief-segmented,
body.page-ai .brief-form-shell .brief-wizard__footer,
body.page-ai .brief-form-shell .brief-wizard__final,
body.page-ai .brief-form-shell .brief-wizard__status,
body.page-ai .brief-form-shell .brief-template-placeholder,
body.page-ai .brief-form-shell .brief-wizard__placeholder,
body.page-ai .brief-form-shell .brief-palette-summary,
body.page-ai .brief-form-shell .brief-custom-color-card,
body.page-ai .brief-form-shell .brief-price-breakdown__empty {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(18, 52, 76, 0.72);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

body.page-ai .brief-form-shell .brief-segmented {
    background: rgba(5, 18, 30, 0.86);
}

body.page-ai .brief-form-shell .brief-wizard__nav {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

body.page-ai .brief-form-shell .brief-wizard__nav:hover {
    background: rgba(255, 255, 255, 0.14);
}

body.page-ai .brief-form-shell input[type="file"].form-control::file-selector-button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.page-ai .brief-form-shell .brief-wizard-aside {
    background:
        radial-gradient(circle at top right, rgba(var(--rgb-secondary), 0.2), transparent 34%),
        linear-gradient(180deg, rgba(18, 52, 76, 0.96), rgba(7, 27, 48, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.page-ai .brief-form-shell .brief-wizard-aside__footer {
    border-top-color: rgba(255, 255, 255, 0.12);
    background: rgba(5, 18, 30, 0.72);
}

body.page-ai .brief-form-shell .brief-wizard-story {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(7, 27, 48, 0.78);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

/* Dark theme for AI constructor (header remains unchanged) */
body.page-ai {
    --color-bg: rgb(var(--rgb-ink-strong));
    --color-surface: rgba(18, 31, 45, 0.92);
    --color-ink: rgb(var(--rgb-ink-strong));
    --color-muted: rgba(224, 233, 242, 0.68);
    --color-line: rgba(255, 255, 255, 0.12);
    background: var(--color-ink) !important;
    color: rgba(255,255,255,.92);
}

body.page-ai .ai-service-stage,
body.page-ai .ai-service-stage__panel,
body.page-ai .ai-service-stage__panels {
    background: transparent;
}

body.page-ai .ai-sidebar__panel,
body.page-ai .ai-chat__panel,
body.page-ai .ai-controls__panel,
body.page-ai .ai-result-panel,
body.page-ai .ai-service-status,
body.page-ai .ai-service-unavailable,
body.page-ai .ai-service-stage__placeholder,
body.page-ai .ai-helper-copy {
    border-color: rgba(255,255,255,.12);
    background: linear-gradient(180deg, rgba(12, 19, 27, 0.04), rgba(12, 19, 27, 0.34));
    color: rgba(255,255,255,.9);
    box-shadow: 0 22px 60px rgba(0,0,0,.24);
}

body.page-ai .ai-chat__head,
body.page-ai .ai-card-head {
    border-bottom-color: rgba(255,255,255,.12);
}
body.page-ai .ai-chat__head strong,
body.page-ai .ai-service-status strong,
body.page-ai .ai-service-unavailable strong,
body.page-ai .ai-service-stage__placeholder h2,
body.page-ai .ai-card-subtitle,
body.page-ai .ai-control-field__label,
body.page-ai .ai-chat__meta,
body.page-ai .ai-service-status p,
body.page-ai .ai-service-unavailable p,
body.page-ai .ai-session-card strong {
    color: rgba(255,255,255,.9);
}
body.page-ai .ai-card-subtitle,
body.page-ai .ai-chat__meta,
body.page-ai .ai-service-status p,
body.page-ai .ai-service-unavailable p,
body.page-ai .ai-control-field__hint { color: rgba(224,233,242,.68); }

body.page-ai .chat-thread {
    border-color: rgba(255,255,255,.12);
    background: rgba(7, 14, 22, .5);
}
body.page-ai .chat-message { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.92); }
body.page-ai .chat-message--assistant { background: rgba(28, 43, 58, .9); }
body.page-ai .chat-message--user { background: rgba(var(--rgb-secondary), .28); border-color: rgba(var(--rgb-secondary), .45); }
body.page-ai .chat-message__body { color: rgba(255,255,255,.92); }
body.page-ai .chat-message__badge { color: rgba(224,233,242,.62); }

body.page-ai .ai-session-card { border-color: rgba(255,255,255,.12); }
body.page-ai .ai-session-card strong { color: rgba(255,255,255,.86); }
body.page-ai .ai-session-card:hover,
body.page-ai .ai-session-card:focus-visible,
body.page-ai .ai-session-card.is-active { background: rgba(var(--rgb-secondary), .8); border-color: rgba(var(--rgb-secondary), .65); }

body.page-ai .chat-composer,
body.page-ai .chat-composer__controls { background: transparent; }
body.page-ai .chat-composer textarea,
body.page-ai .chat-composer .form-control,
body.page-ai .chat-composer .form-select,
body.page-ai .ai-control-input,
body.page-ai .ai-control-select,
body.page-ai .ai-control-textarea {
    border-color: rgba(255,255,255,.16);
    background: rgba(7, 14, 22, .72);
    color: rgba(255,255,255,.92);
}
body.page-ai .chat-composer textarea::placeholder,
body.page-ai .form-control::placeholder { color: rgba(224,233,242,.48); }
body.page-ai .ai-toolbar-button,
body.page-ai .chat-composer__icon-button { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: #fff; }
body.page-ai .ai-toolbar-button:hover,
body.page-ai .chat-composer__icon-button:hover { background: rgba(255,255,255,.16); }
body.page-ai .site-main { background: var(--color-ink); }
body.page-ai .section { color: rgba(255,255,255,.92); }

/* Final AI constructor palette: closer to the home dark sections. */
body.page-ai {
    --ai-surface-bg: rgba(12, 19, 27, 0.97);
    --ai-surface-bg-strong: rgba(15, 23, 31, 0.97);
    --ai-surface-border: rgba(150, 164, 174, 0.18);
    --ai-surface-border-strong: rgba(150, 164, 174, 0.28);
    --ai-surface-shadow: 0 24px 48px rgba(2, 8, 15, 0.22);
    --ai-accent: #12916f;
    --ai-accent-hover: #17a37a;
    --ai-accent-soft: rgba(18, 145, 111, 0.12);
    background:
        radial-gradient(circle at 0% 0%, rgba(45, 92, 166, 0.26), transparent 28rem),
        radial-gradient(circle at 100% 12%, rgba(29, 120, 27, 0.12), transparent 24rem),
        linear-gradient(180deg, #06111c 0%, #071521 52%, #050d16 100%) !important;
    color: #edf5f2 !important;
    color-scheme: dark;
}

body.page-ai .site-main {
    background: transparent !important;
}

body.page-ai .ai-sidebar__panel,
body.page-ai .ai-chat__panel,
body.page-ai .ai-controls__panel,
body.page-ai .ai-result-panel,
body.page-ai .ai-service-status,
body.page-ai .ai-service-unavailable,
body.page-ai .ai-service-stage__placeholder,
body.page-ai .ai-helper-copy,
body.page-ai .brief-form-shell .brief-wizard__panel,
body.page-ai .brief-form-shell .brief-section-picker__summary,
body.page-ai .brief-form-shell .brief-section-card,
body.page-ai .brief-form-shell .brief-addon-card,
body.page-ai .brief-form-shell .brief-segmented,
body.page-ai .brief-form-shell .brief-wizard__footer,
body.page-ai .brief-form-shell .brief-wizard__final,
body.page-ai .brief-form-shell .brief-wizard__status,
body.page-ai .brief-form-shell .brief-template-placeholder,
body.page-ai .brief-form-shell .brief-wizard__placeholder,
body.page-ai .brief-form-shell .brief-palette-summary,
body.page-ai .brief-form-shell .brief-custom-color-card,
body.page-ai .brief-form-shell .brief-price-breakdown__empty,
body.page-ai .brief-form-shell .brief-palette-card,
body.page-ai .brief-form-shell .brief-template-card,
body.page-ai .brief-form-shell .chat-attachment,
body.page-ai .brief-form-shell .ai-image-card {
    border-color: var(--ai-surface-border) !important;
    background: linear-gradient(180deg, var(--ai-surface-bg), var(--ai-surface-bg-strong)) !important;
    color: #edf5f2 !important;
    box-shadow: var(--ai-surface-shadow) !important;
}

body.page-ai .ai-card-head,
body.page-ai .ai-result-panel__head,
body.page-ai .ai-service-status,
body.page-ai .ai-service-unavailable,
body.page-ai .brief-wizard__head,
body.page-ai .brief-section-picker .d-flex > div:first-child {
    display: grid;
    gap: 0.45rem;
}

body.page-ai .ai-card-head .eyebrow,
body.page-ai .ai-result-panel__head .eyebrow,
body.page-ai .brief-wizard__title,
body.page-ai .brief-section-picker h3,
body.page-ai .ai-service-status strong,
body.page-ai .ai-service-unavailable strong,
body.page-ai .ai-service-stage__placeholder h2 {
    display: inline-grid;
    justify-items: start;
    gap: 0.42rem;
    max-inline-size: 100%;
    margin-bottom: 0;
    color: #f6fbfa !important;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.1rem, 3.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

body.page-ai .ai-card-head .eyebrow::after,
body.page-ai .ai-result-panel__head .eyebrow::after,
body.page-ai .brief-wizard__title::after,
body.page-ai .brief-section-picker h3::after,
body.page-ai .ai-service-status strong::after,
body.page-ai .ai-service-unavailable strong::after,
body.page-ai .ai-service-stage__placeholder h2::after {
    content: "";
    display: block;
    width: 20%;
    height: 0.26rem;
    margin-top: 0.42rem;
    border-radius: 999px;
    background: var(--color-primary);
    transform-origin: left center;
    transition: width 180ms ease;
}

body.page-ai .ai-card-head:hover .eyebrow::after,
body.page-ai .ai-card-head:focus-within .eyebrow::after,
body.page-ai .ai-result-panel__head:hover .eyebrow::after,
body.page-ai .ai-result-panel__head:focus-within .eyebrow::after,
body.page-ai .brief-wizard__head:hover .brief-wizard__title::after,
body.page-ai .brief-wizard__head:focus-within .brief-wizard__title::after,
body.page-ai .brief-section-picker .d-flex > div:first-child:hover h3::after,
body.page-ai .brief-section-picker .d-flex > div:first-child:focus-within h3::after,
body.page-ai .ai-service-status:hover strong::after,
body.page-ai .ai-service-status:focus-within strong::after,
body.page-ai .ai-service-unavailable:hover strong::after,
body.page-ai .ai-service-unavailable:focus-within strong::after,
body.page-ai .ai-service-stage__placeholder:hover h2::after,
body.page-ai .ai-service-stage__placeholder:focus-within h2::after {
    width: 32%;
}

body.page-ai .ai-card-subtitle,
body.page-ai .ai-chat__meta,
body.page-ai .ai-service-status p,
body.page-ai .ai-service-unavailable p,
body.page-ai .ai-control-field__hint,
body.page-ai .chat-message__badge,
body.page-ai .brief-floating-price__hint,
body.page-ai .brief-wizard__copy,
body.page-ai .brief-price-breakdown__label,
body.page-ai .brief-price-breakdown__row {
    color: rgba(201, 214, 226, 0.72) !important;
}

body.page-ai .eyebrow,
body.page-ai .brief-floating-price__label,
body.page-ai .brief-addon-card__price,
body.page-ai .brief-section-card__meta {
    color: #7ddc86 !important;
}

body.page-ai .form-control,
body.page-ai .form-select,
body.page-ai .chat-composer textarea,
body.page-ai .ai-control-input,
body.page-ai .ai-control-select,
body.page-ai .ai-control-textarea {
    background: rgba(8, 14, 22, 0.82) !important;
    color: #edf5f2 !important;
    border-color: var(--ai-surface-border) !important;
}

body.page-ai .form-control::placeholder,
body.page-ai .form-select:invalid,
body.page-ai .chat-composer textarea::placeholder {
    color: rgba(201, 214, 226, 0.48) !important;
}

body.page-ai .ai-session-card:hover,
body.page-ai .ai-session-card:focus-visible,
body.page-ai .ai-session-card.is-active,
body.page-ai .brief-section-card:hover,
body.page-ai .brief-section-card.is-active,
body.page-ai .brief-section-card:has(input[type="checkbox"]:checked),
body.page-ai .brief-addon-card:hover,
body.page-ai .brief-addon-card:has(input[type="checkbox"]:checked),
body.page-ai .brief-palette-card:hover,
body.page-ai .brief-palette-card.is-active {
    border-color: var(--ai-surface-border-strong) !important;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24) !important;
}

body.page-ai .brief-section-card:has(input[type="checkbox"]:checked),
body.page-ai .brief-addon-card:has(input[type="checkbox"]:checked),
body.page-ai .brief-palette-card.is-active,
body.page-ai .ai-session-card.is-active {
    background: linear-gradient(180deg, rgba(14, 28, 24, 0.98), rgba(10, 18, 28, 0.98)) !important;
}

body.page-ai .button--primary,
body.page-ai .button--submit,
body.page-ai .chat-composer__icon-button--primary,
body.page-ai .brief-palette-card__action,
body.page-ai .brief-form-shell .button,
body.page-ai .brief-form-shell button[type="submit"],
body.page-ai .brief-segmented .is-active,
body.page-ai .brief-segmented input:checked + label,
body.page-ai .ai-model-toggle__option.is-active,
body.page-ai .btn-accent,
body.page-ai .btn-outline-dark {
    background: linear-gradient(135deg, var(--ai-accent), #0f7f61) !important;
    border-color: #0f7f61 !important;
    color: #f7fff9 !important;
    box-shadow: 0 16px 28px rgba(18, 145, 111, 0.26) !important;
}

body.page-ai .button--primary:hover,
body.page-ai .button--submit:hover,
body.page-ai .chat-composer__icon-button--primary:hover,
body.page-ai .brief-palette-card__action:hover,
body.page-ai .brief-form-shell .button:hover,
body.page-ai .brief-form-shell button[type="submit"]:hover,
body.page-ai .btn-accent:hover,
body.page-ai .btn-outline-dark:hover {
    background: linear-gradient(135deg, var(--ai-accent-hover), var(--ai-accent)) !important;
    border-color: var(--ai-accent-hover) !important;
}

body.page-ai .ai-toolbar-button,
body.page-ai .chat-composer__icon-button,
body.page-ai .brief-wizard__nav {
    background: rgba(15, 23, 34, 0.96) !important;
    border-color: var(--ai-surface-border) !important;
    color: #edf5f2 !important;
}

body.page-ai .ai-toolbar-button:hover,
body.page-ai .chat-composer__icon-button:hover,
body.page-ai .brief-wizard__nav:hover {
    border-color: var(--ai-surface-border-strong) !important;
    background: rgba(19, 29, 41, 0.98) !important;
}

body.page-ai .chat-message--assistant {
    background: rgba(16, 24, 36, 0.96) !important;
}

body.page-ai .chat-message--user {
    background: rgba(29, 120, 27, 0.18) !important;
    border-color: rgba(29, 120, 27, 0.26) !important;
}

body.page-ai .chat-thread {
    background: rgba(7, 12, 20, 0.72) !important;
    border-color: var(--ai-surface-border) !important;
}

body.page-ai .brief-floating-price__section {
    border-top-color: var(--ai-surface-border) !important;
}

body.page-ai .brief-palette-card__media {
    background: rgba(7, 12, 20, 0.72) !important;
}

body.page-ai .brief-palette-card__copy,
body.page-ai .brief-section-card__meta,
body.page-ai .brief-addon-card__price,
body.page-ai .brief-control-hint,
body.page-ai .brief-price-breakdown__row,
body.page-ai .chat-attachment__meta,
body.page-ai .chat-attachment__remove,
body.page-ai .ai-image-card__caption {
    color: rgba(201, 214, 226, 0.72) !important;
}

body.page-ai .brief-palette-card__title,
body.page-ai .brief-section-card__title,
body.page-ai .brief-addon-card__title,
body.page-ai .brief-price-breakdown__row strong,
body.page-ai .brief-wizard__title,
body.page-ai .ai-chat__head strong,
body.page-ai .ai-service-status strong,
body.page-ai .ai-service-unavailable strong,
body.page-ai .ai-service-stage__placeholder h2,
body.page-ai .ai-control-field__label,
body.page-ai .ai-session-card strong,
body.page-ai .chat-message__body {
    color: #f6fbfa !important;
}
.home-arrow--next { right:calc(50% - 5.15rem); }
.home-arrow:hover { transform:translateY(calc(-50% - 1px)); }
.ai-service-hero .home-hero__arrows { height:2.7rem; }
.ai-service-hero .home-arrow--prev { left:calc(50% - 5.15rem); }
.ai-service-hero .home-arrow--next { right:calc(50% - 5.15rem); }
@media (max-width:640px) {
 .home-arrow--prev,.ai-service-hero .home-arrow--prev { left:1rem; }
 .home-arrow--next,.ai-service-hero .home-arrow--next { right:1rem; }
}
/* Keep arrows vertically centred with the pagination and leave a clear horizontal gap. */
.home-hero__arrows,
.ai-service-hero .home-hero__arrows {
    top: auto;
    bottom: clamp(1.3rem, 3vw, 2.2rem);
    height: 2.7rem;
}
.home-hero__pagination { height: 2.7rem; box-sizing: border-box; }
.home-arrow--prev,
.ai-service-hero .home-arrow--prev { left: calc(50% - 7rem); }
.home-arrow--next,
.ai-service-hero .home-arrow--next { right: calc(50% - 7rem); }
@media (max-width:640px) {
    .home-arrow--prev,
    .ai-service-hero .home-arrow--prev { left: 1.5rem; }
    .home-arrow--next,
    .ai-service-hero .home-arrow--next { right: 1.5rem; }
}
/* On mobile keep feature list to the right of the hero heading. */
@media (max-width: 767.98px) {
    .home-hero__copy {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 1rem;
        align-items: start;
    }
    .home-hero__copy h1 { grid-column: 1; grid-row: 1; }
    .home-hero__features {
        grid-column: 2;
        grid-row: 1;
        display: grid;
        grid-template-columns: 1fr;
        width: auto;
        max-width: 8rem;
        gap: .7rem;
    }
    .home-feature { justify-items: center; min-width: 4.2rem; }
    .home-feature strong, .home-feature span:last-child { font-size: .7rem; line-height: 1.15; }
    .home-feature__icon { width: 2rem; height: 2rem; font-size: 1rem; }
    .home-hero__actions, .home-hero__note { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    .home-hero__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 13rem;
        min-width: 11rem;
        gap: .7rem .55rem;
    }
    .home-feature { min-width: 0; }
}
@media (max-width: 767.98px) {
    .home-hero__slide-inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:1rem; row-gap:1.2rem; }
    .home-hero__copy { display:contents; padding-right:0; }
    .home-hero__copy h1 { grid-column:1; grid-row:1; align-self:start; }
    .home-hero__features { grid-column:2; grid-row:1; align-self:start; }
    .home-preview { grid-column:1 / -1; grid-row:2; width:100%; }
    .home-hero__actions { grid-column:1 / -1; grid-row:3; width:100%; margin-top:0; }
    .home-hero__note { grid-column:1 / -1; grid-row:4; }
}
/* Ensure constructor hero pagination remains clickable above overlays. */
.home-hero__pagination { pointer-events:auto; }
.home-hero__dot { pointer-events:auto; cursor:pointer; }
.ai-service-hero .home-hero__arrows { z-index:10; }
.ai-service-hero .home-hero__pagination { z-index:11; }

/* Shared page canvas: home and AI constructor use the same source colours. */
:root {
    --home-page-bg-start: rgb(var(--rgb-bg-alt));
    --home-page-bg-end: rgb(var(--rgb-paper-alt));
    --home-page-glow-left: rgba(154, 208, 211, 0.24);
    --home-page-glow-right: rgba(200, 223, 236, 0.35);
    --home-page-background:
        radial-gradient(circle at 0% 8%, var(--home-page-glow-left), transparent 28rem),
        radial-gradient(circle at 100% 18%, var(--home-page-glow-right), transparent 22rem),
        linear-gradient(180deg, var(--home-page-bg-start) 0%, var(--home-page-bg-end) 100%);
}
body.site-body { background: var(--home-page-background); }
body.page-ai,
body.page-ai .site-main { background: var(--home-page-background) !important; }

/* Dark canvas shared with the catalogue/showcase section on the home page. */
:root {
    --home-catalogue-background:
        radial-gradient(circle at top, rgba(var(--rgb-secondary), 0.12), transparent 38%),
        linear-gradient(180deg, #050e18 0%, #07121d 55%, #050d16 100%);
}
.home-showcase { background: var(--home-catalogue-background); }
body.page-ai,
body.page-ai .site-main { background: var(--home-catalogue-background) !important; }
/* Constructor brief form: dark catalogue surfaces and neutral field borders. */
body.page-ai .brief-form-shell.brief-form-shell--inline .brief-modal-card__main {
    background: linear-gradient(180deg, rgba(12, 19, 27, .97), rgba(15, 23, 31, .97)) !important;
}
body.page-ai .brief-form-shell .form-control,
body.page-ai .brief-form-shell .form-select {
    border-color: rgba(150, 164, 174, .28) !important;
}
body.page-ai .brief-form-shell .form-control:focus,
body.page-ai .brief-form-shell .form-select:focus {
    border-color: rgba(150, 164, 174, .52) !important;
    box-shadow: 0 0 0 .22rem rgba(150, 164, 174, .12) !important;
}
body.page-ai .brief-form-shell .multi-file-picker {
    border-color: rgba(var(--rgb-secondary), 0.96) !important;
    background: rgba(var(--rgb-secondary), 0.96) !important;
    color: #f5fffb !important;
    box-shadow: 0 10px 22px rgba(var(--rgb-secondary), .22) !important;
}
body.page-ai .brief-form-shell .multi-file-picker:hover,
body.page-ai .brief-form-shell .multi-file-picker:focus-visible {
    border-color: rgba(var(--rgb-secondary-dark), 0.96) !important;
    background: rgba(var(--rgb-secondary-dark), 0.96) !important;
    box-shadow: 0 0 0 .22rem rgba(var(--rgb-secondary), .18) !important;
}

/* Final AI constructor palette: variables grouped by role. */
body.page-ai {
    --ai-page-bg-top: rgba(45, 92, 166, 0.16);
    --ai-page-bg-middle: rgba(29, 120, 27, 0.08);
    --ai-page-bg-base: linear-gradient(180deg, #06111c 0%, #071521 52%, #050d16 100%);

    --ai-text-strong: var(--color-ink);
    --ai-text-body: var(--color-muted);
    --ai-text-accent: var(--color-secondary-dark);
    --ai-text-inverse: #f7fff9;

    --ai-surface: rgba(12, 19, 27, 0.97);
    --ai-surface-2: rgba(15, 23, 31, 0.97);
    --ai-surface-3: rgba(18, 26, 35, 0.98);
    --ai-surface-border: rgba(150, 164, 174, 0.18);
    --ai-surface-border-active: rgba(29, 120, 27, 0.16);
    --ai-surface-shadow: 0 24px 48px rgba(2, 8, 15, 0.22);

    --ai-control-bg: rgba(15, 23, 34, 0.96);
    --ai-control-bg-hover: rgba(19, 29, 41, 0.98);
    --ai-control-border: rgba(155, 173, 191, 0.18);

    --ai-button-bg: rgba(var(--rgb-secondary), 0.96);
    --ai-button-bg-hover: rgba(var(--rgb-secondary-dark), 0.96);
    --ai-button-border: rgba(var(--rgb-secondary), 0.96);
    --ai-button-text: #f7fff9;
    --ai-button-shadow: 0 16px 28px rgba(var(--rgb-secondary), 0.26);
}

body.page-ai {
    background:
        radial-gradient(circle at 0% 0%, var(--ai-page-bg-top), transparent 28rem),
        radial-gradient(circle at 100% 12%, var(--ai-page-bg-middle), transparent 24rem),
        var(--ai-page-bg-base) !important;
    color: var(--ai-text-strong) !important;
    color-scheme: dark;
}

body.page-ai .site-main {
    background: transparent !important;
}

body.page-ai .ai-sidebar__panel,
body.page-ai .ai-chat__panel,
body.page-ai .ai-controls__panel,
body.page-ai .ai-result-panel,
body.page-ai .ai-service-status,
body.page-ai .ai-service-unavailable,
body.page-ai .ai-service-stage__placeholder,
body.page-ai .ai-helper-copy,
body.page-ai .brief-form-shell .brief-wizard__panel,
body.page-ai .brief-form-shell .brief-modal-card__main,
body.page-ai .brief-form-shell .brief-modal-card__aside,
body.page-ai .brief-form-shell .brief-section-picker__summary,
body.page-ai .brief-form-shell .brief-section-card,
body.page-ai .brief-form-shell .brief-addon-card,
body.page-ai .brief-form-shell .brief-segmented,
body.page-ai .brief-form-shell .brief-wizard__footer,
body.page-ai .brief-form-shell .brief-wizard__final,
body.page-ai .brief-form-shell .brief-wizard__status,
body.page-ai .brief-form-shell .brief-template-placeholder,
body.page-ai .brief-form-shell .brief-wizard__placeholder,
body.page-ai .brief-form-shell .brief-palette-summary,
body.page-ai .brief-form-shell .brief-custom-color-card,
body.page-ai .brief-form-shell .brief-price-breakdown__empty,
body.page-ai .brief-form-shell .brief-palette-card,
body.page-ai .brief-form-shell .brief-template-card,
body.page-ai .brief-form-shell .chat-attachment,
body.page-ai .brief-form-shell .ai-image-card {
    border-color: var(--ai-surface-border) !important;
    background: linear-gradient(180deg, var(--ai-surface), var(--ai-surface-3)) !important;
    color: var(--ai-text-strong) !important;
    box-shadow: var(--ai-surface-shadow) !important;
}

body.page-ai .brief-wizard__head,
body.page-ai .ai-card-head,
body.page-ai .brief-section-picker .d-flex > div:first-child {
    display: grid;
    gap: 0.45rem;
}

body.page-ai .brief-wizard__title,
body.page-ai .brief-section-picker h3,
body.page-ai .ai-card-head .eyebrow {
    display: inline-grid;
    justify-items: start;
    gap: 0.42rem;
    max-inline-size: 100%;
    margin-bottom: 0;
    color: #f6fbfa !important;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.1rem, 3.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

body.page-ai .brief-wizard__title::after,
body.page-ai .brief-section-picker h3::after,
body.page-ai .ai-card-head .eyebrow::after {
    content: "";
    display: block;
    width: 20%;
    height: 0.26rem;
    margin-top: 0.42rem;
    border-radius: 999px;
    background: var(--color-primary);
    transform-origin: left center;
    transition: width 180ms ease;
}

body.page-ai .brief-wizard__head:hover .brief-wizard__title::after,
body.page-ai .brief-wizard__head:focus-within .brief-wizard__title::after,
body.page-ai .brief-section-picker .d-flex > div:first-child:hover h3::after,
body.page-ai .brief-section-picker .d-flex > div:first-child:focus-within h3::after,
body.page-ai .ai-card-head:hover .eyebrow::after,
body.page-ai .ai-card-head:focus-within .eyebrow::after {
    width: 32%;
}

body.page-ai .brief-wizard__copy,
body.page-ai .brief-section-picker__summary span,
body.page-ai .ai-card-subtitle,
body.page-ai .ai-chat__meta,
body.page-ai .ai-service-status p,
body.page-ai .ai-service-unavailable p,
body.page-ai .ai-control-field__hint,
body.page-ai .chat-message__badge,
body.page-ai .brief-floating-price__hint,
body.page-ai .brief-palette-card__copy,
body.page-ai .brief-section-card__meta,
body.page-ai .brief-addon-card__price,
body.page-ai .brief-control-hint,
body.page-ai .brief-price-breakdown__row,
body.page-ai .chat-attachment__meta,
body.page-ai .chat-attachment__remove,
body.page-ai .ai-image-card__caption {
    color: var(--ai-text-body) !important;
}

body.page-ai .brief-wizard__eyebrow,
body.page-ai .brief-floating-price__label,
body.page-ai .brief-addon-card__price,
body.page-ai .brief-section-card__meta,
body.page-ai .eyebrow {
    color: var(--ai-text-accent) !important;
}

body.page-ai .form-control,
body.page-ai .form-select,
body.page-ai .chat-composer textarea,
body.page-ai .ai-control-input,
body.page-ai .ai-control-select,
body.page-ai .ai-control-textarea {
    background: var(--ai-control-bg) !important;
    color: var(--ai-text-strong) !important;
    border-color: var(--ai-control-border) !important;
}

body.page-ai .form-control::placeholder,
body.page-ai .form-select:invalid,
body.page-ai .chat-composer textarea::placeholder {
    color: rgba(99, 115, 129, 0.7) !important;
}

body.page-ai .ai-session-card:hover,
body.page-ai .ai-session-card:focus-visible,
body.page-ai .ai-session-card.is-active,
body.page-ai .brief-section-card:hover,
body.page-ai .brief-section-card.is-active,
body.page-ai .brief-section-card:has(input[type="checkbox"]:checked),
body.page-ai .brief-addon-card:hover,
body.page-ai .brief-addon-card:has(input[type="checkbox"]:checked),
body.page-ai .brief-palette-card:hover,
body.page-ai .brief-palette-card.is-active {
    border-color: var(--ai-surface-border-active) !important;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.14) !important;
}

body.page-ai .brief-section-card:has(input[type="checkbox"]:checked),
body.page-ai .brief-addon-card:has(input[type="checkbox"]:checked),
body.page-ai .brief-palette-card.is-active,
body.page-ai .ai-session-card.is-active {
    background: linear-gradient(180deg, rgba(14, 28, 24, 0.98), rgba(10, 18, 28, 0.98)) !important;
}

body.page-ai .button--primary,
body.page-ai .button--submit,
body.page-ai .chat-composer__icon-button--primary,
body.page-ai .brief-palette-card__action,
body.page-ai .brief-form-shell .button,
body.page-ai .brief-form-shell button[type="submit"],
body.page-ai .brief-segmented .is-active,
body.page-ai .brief-segmented input:checked + label,
body.page-ai .ai-model-toggle__option.is-active,
body.page-ai .btn-accent,
body.page-ai .btn-outline-dark {
    background: var(--ai-button-bg) !important;
    border-color: var(--ai-button-border) !important;
    color: var(--ai-button-text) !important;
    box-shadow: var(--ai-button-shadow) !important;
}

body.page-ai .button--primary:hover,
body.page-ai .button--submit:hover,
body.page-ai .chat-composer__icon-button--primary:hover,
body.page-ai .brief-palette-card__action:hover,
body.page-ai .brief-form-shell .button:hover,
body.page-ai .brief-form-shell button[type="submit"]:hover,
body.page-ai .btn-accent:hover,
body.page-ai .btn-outline-dark:hover {
    background: var(--ai-button-bg-hover) !important;
    border-color: var(--ai-button-border) !important;
}

body.page-ai .ai-toolbar-button,
body.page-ai .chat-composer__icon-button,
body.page-ai .brief-wizard__nav {
    background: var(--ai-control-bg) !important;
    border-color: var(--ai-control-border) !important;
    color: var(--ai-text-strong) !important;
}

body.page-ai .ai-toolbar-button:hover,
body.page-ai .chat-composer__icon-button:hover,
body.page-ai .brief-wizard__nav:hover {
    border-color: var(--ai-surface-border-active) !important;
    background: var(--ai-control-bg-hover) !important;
}

body.page-ai .chat-message--assistant {
    background: rgba(16, 24, 36, 0.96) !important;
}

body.page-ai .chat-message--user {
    background: rgba(29, 120, 27, 0.18) !important;
    border-color: var(--ai-surface-border-active) !important;
}

body.page-ai .chat-thread {
    background: rgba(7, 12, 20, 0.72) !important;
    border-color: var(--ai-surface-border) !important;
}

body.page-ai .brief-floating-price__section {
    border-top-color: var(--ai-surface-border) !important;
}

body.page-ai .brief-palette-card__media {
    background: linear-gradient(180deg, rgba(12, 19, 27, 0.97), rgba(15, 23, 31, 0.97)) !important;
}

body.page-ai .brief-palette-card__body {
    background: rgba(15, 23, 31, 0.97) !important;
}

body.page-ai .brief-palette-card__title,
body.page-ai .brief-section-card__title,
body.page-ai .brief-addon-card__title,
body.page-ai .brief-price-breakdown__row strong,
body.page-ai .brief-wizard__title,
body.page-ai .ai-chat__head strong,
body.page-ai .ai-service-status strong,
body.page-ai .ai-service-unavailable strong,
body.page-ai .ai-service-stage__placeholder h2,
body.page-ai .ai-control-field__label,
body.page-ai .ai-session-card strong,
body.page-ai .chat-message__body {
    color: var(--ai-text-strong) !important;
}

body.page-ai .site-header .site-header__actions .button--primary,
body.page-ai .site-header.site-header--on-hero .site-header__actions .button--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)) !important;
    border-color: var(--color-primary-dark) !important;
    color: rgb(var(--rgb-surface)) !important;
    box-shadow: 0 14px 26px rgba(var(--rgb-primary), 0.22) !important;
}

body.page-ai .site-header .site-header__actions .button--primary:hover,
body.page-ai .site-header.site-header--on-hero .site-header__actions .button--primary:hover {
    background: linear-gradient(135deg, rgba(var(--rgb-primary), 0.96), rgba(var(--rgb-primary-dark), 0.96)) !important;
    border-color: rgba(var(--rgb-primary-dark), 0.96) !important;
}

body.page-ai .brief-form-shell .brief-wizard__eyebrow,
body.page-ai .brief-form-shell .brief-section-picker__summary {
    display: none !important;
}

body.page-ai .brief-form-shell .brief-segmented {
    background: linear-gradient(180deg, rgba(8, 14, 20, 0.98), rgba(12, 18, 26, 0.98)) !important;
    border-color: var(--ai-surface-border) !important;
}

body.page-ai .brief-form-shell .brief-segmented__option {
    color: #fff !important;
}

body.page-ai .brief-form-shell .brief-segmented__option:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

body.page-ai .brief-form-shell .brief-segmented__option.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--ai-accent), #0f7f61) !important;
}

body.page-ai .brief-form-shell .brief-wizard__title,
body.page-ai .brief-form-shell .brief-section-card__title {
    color: #fff !important;
}

body.page-ai .brief-form-shell .brief-section-card {
    padding-left: 3.35rem !important;
}

body.page-ai .brief-form-shell .brief-section-card input[type="checkbox"] {
    width: 2.4rem !important;
    height: 2.4rem !important;
    left: 0.55rem !important;
    top: 0.68rem !important;
    border-width: 2px !important;
    background-size: 1.35rem 1.35rem !important;
}

body.page-ai .brief-form-shell .brief-addon-card input[type="checkbox"],
body.page-ai .brief-form-shell .form-check-input {
    width: 2.4rem !important;
    height: 2.4rem !important;
    background-size: 1.35rem 1.35rem !important;
}

body.page-ai .brief-form-shell .brief-wizard-aside {
    background: linear-gradient(180deg, rgba(7, 11, 17, 0.98), rgba(4, 8, 12, 0.98)) !important;
}

body.page-ai .brief-form-shell .brief-wizard-aside__footer {
    background: rgba(6, 10, 15, 0.9) !important;
}

body.page-ai .brief-form-shell .brief-wizard-story {
    background: linear-gradient(180deg, rgba(10, 15, 22, 0.98), rgba(6, 10, 16, 0.98)) !important;
}

body.page-ai .brief-form-shell .brief-wizard-story__visual {
    background: rgba(7, 12, 18, 0.92) !important;
}

body.page-ai .brief-form-shell .brief-wizard-story__screen {
    background: rgba(10, 15, 22, 0.95) !important;
    border-color: var(--ai-surface-border) !important;
}

body.page-ai .brief-form-shell .brief-privacy-card {
    border: 1px solid var(--ai-surface-border) !important;
    border-radius: 1rem !important;
    background: linear-gradient(180deg, rgba(8, 18, 14, 0.98), rgba(6, 12, 10, 0.98)) !important;
    color: #edf5f2 !important;
    box-shadow: var(--ai-surface-shadow) !important;
}

body.page-ai .brief-form-shell .brief-privacy-card .form-check-label {
    color: #f6fbfa !important;
}

body.page-ai .brief-form-shell .brief-privacy-card .form-check-input {
    border-color: rgba(29, 120, 27, 0.45) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
}

body.page-ai .brief-form-shell .brief-privacy-card .form-check-input:checked {
    border-color: var(--ai-accent) !important;
    background-color: rgba(29, 120, 27, 0.18) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231d781b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M3 8.3 6.3 11.6 13 4.8'/%3E%3C/svg%3E") !important;
}

body.page-ai .brief-form-shell .brief-segmented__option--with-icon[data-contact-app-option="telegram"].is-active {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark)) !important;
    border-color: rgba(var(--rgb-secondary-dark), 0.85) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(var(--rgb-secondary-dark), 0.22) !important;
}

body.page-ai .brief-form-shell .brief-addon-card__title {
    color: #fff !important;
}

body.page-ai .chat-composer__icon-button--primary,
body.page-ai .brief-form-shell .chat-composer__icon-button--primary {
    background: linear-gradient(135deg, var(--ai-accent), #158a60) !important;
    border-color: rgba(21, 138, 96, 0.85) !important;
    color: #fff !important;
}

body.page-ai .chat-composer__icon-button--primary:hover:not(:disabled),
body.page-ai .brief-form-shell .chat-composer__icon-button--primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #178156, #0f6d4d) !important;
    border-color: rgba(15, 109, 77, 0.95) !important;
}

body.page-ai .brief-form-shell .brief-wizard-story__eyebrow,
body.page-ai .brief-form-shell .brief-wizard-story__copy,
body.page-ai .brief-form-shell .brief-control-hint,
body.page-ai .brief-form-shell .brief-section-card__meta {
    color: #fff !important;
}

body.page-ai .ai-control-title,
body.page-ai .ai-control-field__label,
body.page-ai .ai-control-field__hint,
body.page-ai .ai-card-subtitle,
body.page-ai .ai-chat__meta,
body.page-ai .ai-service-status p,
body.page-ai .ai-service-unavailable p,
body.page-ai .ai-session-card strong,
body.page-ai .brief-wizard__final-label,
body.page-ai .brief-floating-price__section-title,
body.page-ai .brief-floating-price__section-copy,
body.page-ai .brief-wizard__download-link,
body.page-ai .brief-wizard__title,
body.page-ai .brief-section-card__title,
body.page-ai .brief-addon-card__title,
body.page-ai .brief-section-card__meta,
body.page-ai .brief-wizard-story__eyebrow,
body.page-ai .brief-wizard-story__copy,
body.page-ai .brief-control-hint,
body.page-ai .text-secondary {
    color: #fff !important;
}
