:root {
    --ink: #1b1b18;
    --paper: #f4f1e9;
    --sand-light: #e9e1d3;
    --sand: #cbbb9e;
    --clay: #b94f36;
    --clay-dark: #933a28;
    --line: rgba(27, 27, 24, .18);
    --display: "Oswald", sans-serif;
    --body: "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--ink);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.quiz-open {
    overflow: hidden;
}

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

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

button,
a {
    cursor: pointer;
}

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

button {
    border: 0;
}

::selection {
    background: var(--clay);
    color: #fff;
}

.wrap {
    width: min(calc(100% - 64px), 1440px);
    margin-inline: auto;
}

.section {
    padding-block: clamp(80px, 10vw, 144px);
}

.eyebrow {
    margin: 0;
    color: var(--clay);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.section-heading {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 32px;
}

.section-heading h2,
.quiz-banner h2 {
    max-width: 1100px;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(43px, 6.5vw, 106px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.section-heading.split {
    grid-template-columns: 8fr 4fr;
    align-items: end;
}

.section-heading.split > div h2 {
    margin-top: 20px;
}

.section-heading.split > p {
    max-width: 360px;
    margin: 0 0 6px auto;
    color: rgba(27, 27, 24, .56);
    font-size: 14px;
    line-height: 1.75;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 14px 20px;
    background: var(--clay);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background .3s, color .3s;
}

.button span {
    font-size: 18px;
    transition: transform .3s;
}

.button:hover {
    background: var(--clay-dark);
}

.button:hover span {
    transform: translate(3px, -3px);
}

.button-light {
    background: #fff;
    color: var(--ink);
}

.button-light:hover {
    background: var(--clay);
    color: #fff;
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    color: #fff;
    transition: color .45s, background .45s, box-shadow .45s;
}

.admin-bar .site-header {
    top: 32px;
}

.site-header.scrolled {
    background: rgba(244, 241, 233, .96);
    color: var(--ink);
    box-shadow: 0 1px rgba(27, 27, 24, .1);
    backdrop-filter: blur(14px);
}

body:not(.home) .site-header {
    background: rgba(244, 241, 233, .96);
    color: var(--ink);
    box-shadow: 0 1px rgba(27, 27, 24, .1);
}

.header-inner {
    display: flex;
    height: 76px;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .14em;
}

.logo-mark {
    display: grid;
    width: 32px;
    height: 32px;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
}

.logo-mark i {
    border: 1px solid currentColor;
}

.logo-mark i:nth-child(2),
.logo-mark i:nth-child(3) {
    background: currentColor;
}

.desktop-nav {
    display: flex;
    gap: 32px;
    font-size: 13px;
    font-weight: 600;
}

.desktop-nav a {
    position: relative;
    padding-block: 8px;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s;
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    font-weight: 700;
}

.text-button {
    border-bottom: 1px solid rgba(255, 255, 255, .65);
    padding: 0 0 4px;
    background: transparent;
}

.scrolled .text-button {
    border-color: var(--clay);
    color: var(--clay);
}

.menu-toggle,
.mobile-menu {
    display: none;
}

.hero {
    position: relative;
    min-height: max(780px, 100svh);
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    animation: hero-scale 14s ease-out both;
}

.hero-shade {
    background: linear-gradient(180deg, rgba(18, 18, 16, .58), rgba(18, 18, 16, .08) 38%, rgba(18, 18, 16, .78));
}

.hero-content {
    position: relative;
    display: flex;
    min-height: max(780px, 100svh);
    flex-direction: column;
    justify-content: flex-end;
    padding-block: 130px 64px;
}

.hero-brand {
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    padding-bottom: 17px;
    animation: intro-up .9s .18s cubic-bezier(.2, .75, .25, 1) both;
}

.hero-brand p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .75);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.hero-brand h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(64px, 14.1vw, 208px);
    font-weight: 600;
    line-height: .82;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.hero-bottom {
    display: grid;
    grid-template-columns: 7fr 3fr 2fr;
    gap: 28px;
    align-items: end;
    padding-top: 28px;
    animation: intro-up .9s .38s cubic-bezier(.2, .75, .25, 1) both;
}

.hero-bottom h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(27px, 3vw, 53px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.hero-bottom > p {
    max-width: 410px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.75;
}

.services {
    background: var(--paper);
}

.services-layout {
    display: grid;
    grid-template-columns: 5fr 1fr 6fr;
    margin-top: clamp(64px, 8vw, 96px);
}

.service-visual {
    grid-column: 1;
}

.service-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: opacity .3s;
}

.service-visual img.switching {
    opacity: .25;
}

.service-visual > div {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    color: rgba(27, 27, 24, .55);
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.service-list {
    grid-column: 3;
}

.service-row {
    display: grid;
    width: 100%;
    grid-template-columns: 48px 1fr 24px;
    gap: 16px;
    align-items: start;
    border-top: 1px solid var(--line);
    padding: 34px 0;
    background: transparent;
    text-align: left;
}

.service-row:last-child {
    border-bottom: 1px solid var(--line);
}

.service-row > span {
    padding-top: 6px;
    color: var(--clay);
    font-size: 11px;
    font-weight: 700;
}

.service-row strong {
    font-family: var(--display);
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    transition: color .3s;
}

.service-row small {
    grid-column: 2;
    max-width: 450px;
    color: rgba(27, 27, 24, .6);
    font-size: 14px;
    line-height: 1.7;
}

.service-row > i {
    font-style: normal;
    transition: color .3s, transform .3s;
}

.service-row:hover strong,
.service-row.is-active strong {
    color: var(--clay);
}

.service-row.is-active > i {
    color: var(--clay);
    transform: rotate(45deg);
}

.calculator {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    opacity: .3;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 54px 54px;
}

.calculator-inner {
    position: relative;
}

.calculator .section-heading h2 {
    color: #fff;
}

.calculator .section-heading > p {
    color: rgba(255, 255, 255, .55);
}

.calculator .eyebrow {
    color: var(--sand);
}

.calculator-body {
    display: grid;
    grid-template-columns: 7fr 1fr 4fr;
    margin-top: clamp(56px, 7vw, 80px);
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.calc-controls {
    grid-column: 1;
    border-right: 1px solid rgba(255, 255, 255, .2);
    padding: 52px 64px 52px 0;
}

.calc-controls fieldset {
    margin: 0 0 34px;
    border: 0;
    padding: 0;
}

.calc-controls fieldset:last-child {
    margin-bottom: 0;
}

.calc-controls legend,
.range-title legend {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.segments {
    display: flex;
    border-block: 1px solid rgba(255, 255, 255, .18);
}

.segments button {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, .18);
    padding: 16px 10px;
    background: transparent;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    transition: background .25s, color .25s;
}

.segments button:last-child {
    border-right: 0;
}

.segments button.active,
.segments button:hover {
    background: var(--clay);
    color: #fff;
}

.range-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.range-title legend {
    margin: 0;
}

.range-title strong {
    font-family: var(--display);
    font-size: 30px;
    font-weight: 500;
}

.range-title small {
    color: rgba(255, 255, 255, .6);
    font-size: 16px;
}

.calc-controls input[type="range"] {
    width: 100%;
    height: 2px;
    appearance: none;
    background: linear-gradient(to right, var(--clay) var(--range, 18.57%), rgba(255, 255, 255, .18) var(--range, 18.57%));
}

.calc-controls input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    appearance: none;
    border: 4px solid var(--ink);
    border-radius: 50%;
    background: var(--clay);
    box-shadow: 0 0 0 1px var(--clay);
}

.calc-controls input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 4px solid var(--ink);
    border-radius: 50%;
    background: var(--clay);
    box-shadow: 0 0 0 1px var(--clay);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    color: rgba(255, 255, 255, .35);
    font-size: 11px;
}

.calc-result {
    display: flex;
    grid-column: 3;
    flex-direction: column;
    justify-content: center;
    padding-block: 52px;
}

.calc-result > strong {
    display: block;
    margin-top: 20px;
    font-family: var(--display);
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.calc-result > strong small {
    font-size: .55em;
}

.calc-result > p:not(.eyebrow) {
    color: rgba(255, 255, 255, .58);
    font-size: 14px;
    line-height: 1.7;
}

.calc-result .calc-time {
    margin: 16px 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    padding-bottom: 26px;
}

.calc-result .button {
    width: 100%;
    margin-top: 10px;
}

.projects {
    padding-bottom: 0;
    background: var(--paper);
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px 22px;
}

.project-filters button {
    border-bottom: 1px solid transparent;
    padding: 0 0 5px;
    background: transparent;
    color: rgba(27, 27, 24, .5);
    font-size: 14px;
}

.project-filters button.active {
    border-color: var(--clay);
    color: var(--clay);
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: clamp(48px, 7vw, 80px);
}

.project-item {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    background: #aaa;
}

.project-item.is-hidden {
    display: none;
}

.project-item > img,
.project-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-item > img {
    object-fit: cover;
    transition: transform 1s;
}

.project-item:hover > img {
    transform: scale(1.04);
}

.project-shade {
    background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent 55%);
}

.project-number {
    position: absolute;
    top: 34px;
    left: 40px;
    color: rgba(255, 255, 255, .7);
    font-family: var(--display);
    font-size: 14px;
}

.project-caption {
    position: absolute;
    right: 40px;
    bottom: 40px;
    left: 40px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
}

.project-caption small {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .65);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.project-caption h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 500;
    text-transform: uppercase;
}

.project-caption > i {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .5);
    font-size: 20px;
    font-style: normal;
    transition: background .3s, color .3s;
}

.project-item:hover .project-caption > i {
    background: #fff;
    color: var(--ink);
}

.advantages {
    background: var(--sand-light);
}

.advantages-layout {
    display: grid;
    grid-template-columns: 5fr 1fr 6fr;
    margin-top: clamp(60px, 8vw, 96px);
}

.advantages-image {
    grid-column: 1;
}

.advantages-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(.15);
}

.advantages-image p {
    max-width: 380px;
    color: rgba(27, 27, 24, .56);
    font-size: 14px;
    line-height: 1.7;
}

.advantage-list {
    grid-column: 3;
}

.advantage-row {
    display: grid;
    grid-template-columns: 56px 1fr 1.1fr;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding: 32px 0;
}

.advantage-row:last-child {
    border-bottom: 1px solid var(--line);
}

.advantage-row > span {
    color: var(--clay);
    font-size: 11px;
    font-weight: 700;
}

.advantage-row h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
}

.advantage-row p {
    margin: 0;
    color: rgba(27, 27, 24, .56);
    font-size: 14px;
    line-height: 1.7;
}

.process {
    background: var(--paper);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    margin-top: clamp(64px, 8vw, 96px);
}

.process-step {
    position: relative;
    min-height: 260px;
    padding-top: 48px;
}

.process-step:nth-child(n+4) {
    border-top: 1px solid var(--line);
}

.process-step i {
    position: absolute;
    top: -7px;
    width: 14px;
    height: 14px;
    border: 3px solid var(--paper);
    border-radius: 50%;
    background: var(--clay);
}

.process-step:nth-child(-n+3)::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: -32px;
    left: 0;
    height: 1px;
    background: var(--line);
    content: "";
}

.process-step > span {
    color: var(--clay);
    font-size: 11px;
    font-weight: 700;
}

.process-step h3 {
    margin: 20px 0 14px;
    font-family: var(--display);
    font-size: 27px;
    font-weight: 500;
    text-transform: uppercase;
}

.process-step p {
    max-width: 320px;
    margin: 0;
    color: rgba(27, 27, 24, .56);
    font-size: 14px;
    line-height: 1.7;
}

.quiz-banner {
    position: relative;
    overflow: hidden;
    padding-block: clamp(80px, 8vw, 112px);
    background: var(--clay);
    color: #fff;
}

.quiz-letter {
    position: absolute;
    top: -190px;
    right: -40px;
    color: rgba(255, 255, 255, .055);
    font-family: var(--display);
    font-size: 420px;
    line-height: 1;
}

.quiz-banner-inner {
    position: relative;
    display: grid;
    grid-template-columns: 8fr 1fr 3fr;
    align-items: end;
}

.quiz-banner-inner > div:first-child {
    grid-column: 1;
}

.quiz-banner-inner > div:last-child {
    grid-column: 3;
}

.quiz-banner .eyebrow {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .62);
}

.quiz-banner-inner > div:last-child > p {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.7;
}

.quiz-banner .button {
    width: 100%;
}

.site-footer {
    padding: clamp(80px, 8vw, 112px) 0 28px;
    background: var(--ink);
    color: #fff;
}

.footer-layout {
    display: grid;
    grid-template-columns: 6fr 1fr 5fr;
}

.footer-layout > div:first-child {
    grid-column: 1;
}

.footer-layout > div:last-child {
    grid-column: 3;
}

.site-footer .eyebrow {
    color: var(--sand);
}

.site-footer h2 {
    max-width: 760px;
    margin: 24px 0 42px;
    font-family: var(--display);
    font-size: clamp(42px, 6vw, 96px);
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.footer-phone {
    display: block;
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 44px);
}

.footer-email {
    display: inline-block;
    margin-top: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    padding-bottom: 4px;
    color: rgba(255, 255, 255, .65);
}

.lead-form {
    display: grid;
    gap: 26px;
}

.wpcf7-form-control-wrap {
    display: block;
}

.lead-form label,
.quiz-final label {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    padding-bottom: 11px;
}

.lead-form label span,
.quiz-final label span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .4);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.lead-form input,
.lead-form textarea,
.quiz-final input {
    width: 100%;
    border: 0;
    outline: 0;
    resize: none;
    background: transparent;
    color: #fff;
    font-size: 15px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder,
.quiz-final input::placeholder {
    color: rgba(255, 255, 255, .28);
}

.cf7-submit-row {
    position: relative;
    width: max-content;
}

.cf7-submit-row .button {
    min-width: 210px;
    padding-right: 56px;
    text-align: left;
}

.cf7-submit-row > span[aria-hidden="true"] {
    position: absolute;
    top: 50%;
    right: 20px;
    color: var(--ink);
    font-size: 18px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color .3s, transform .3s;
}

.cf7-submit-row:hover > span[aria-hidden="true"] {
    color: #fff;
    transform: translate(3px, calc(-50% - 3px));
}

.quiz-final .cf7-submit-row > span[aria-hidden="true"] {
    color: #fff;
}

.wpcf7-spinner {
    position: absolute;
    right: -36px;
    top: 50%;
    margin: -12px 0 0;
}

.form-consent {
    margin: 0;
    color: rgba(255, 255, 255, .35);
    font-size: 10px;
    line-height: 1.6;
}

.wpcf7-not-valid-tip {
    margin-top: 7px;
    color: #e88b75;
    font-size: 11px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    border: 0;
    padding: 12px 0 0;
    color: #e88b75;
    font-size: 12px;
    line-height: 1.6;
}

.site-footer .wpcf7.kontur-sent .lead-form > * {
    display: none;
}

.site-footer .wpcf7.kontur-sent .lead-form > .wpcf7-response-output {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, .25);
    padding-block: 40px;
    color: #fff;
    font-family: var(--display);
    font-size: 28px;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: clamp(80px, 9vw, 128px);
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 24px;
    color: rgba(255, 255, 255, .35);
    font-size: 11px;
}

.footer-bottom .logo {
    color: #fff;
}

.quiz-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    visibility: hidden;
    padding: 20px;
    background: rgba(27, 27, 24, .82);
    opacity: 0;
    backdrop-filter: blur(8px);
    transition: opacity .3s, visibility .3s;
}

.quiz-modal.open {
    visibility: visible;
    opacity: 1;
}

.quiz-dialog {
    position: relative;
    display: grid;
    width: min(100%, 1024px);
    min-height: 640px;
    max-height: calc(100vh - 40px);
    grid-template-columns: 38fr 62fr;
    margin: auto;
    overflow: auto;
    background: var(--paper);
}

.quiz-dialog > .wpcf7 {
    display: flex;
    min-width: 0;
}

.quiz-close {
    position: absolute;
    z-index: 2;
    top: 24px;
    right: 24px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 26px;
    line-height: 1;
    transition: background .25s, color .25s;
}

.quiz-close:hover {
    background: var(--ink);
    color: #fff;
}

.quiz-photo {
    position: relative;
    background: linear-gradient(to top, rgba(27, 27, 24, .9), rgba(27, 27, 24, .05)), url("https://images.pexels.com/photos/6284236/pexels-photo-6284236.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=900&h=1400") center / cover;
    color: #fff;
}

.quiz-photo > div {
    position: absolute;
    right: 32px;
    bottom: 34px;
    left: 32px;
}

.quiz-photo p {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    line-height: 1.7;
}

.quiz-content {
    display: flex;
    min-height: 640px;
    flex-direction: column;
    padding: 64px;
}

.quiz-progress {
    margin-bottom: 42px;
}

.quiz-progress > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    color: rgba(27, 27, 24, .45);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.quiz-progress > i {
    display: block;
    height: 4px;
    background: rgba(27, 27, 24, .1);
}

.quiz-progress b {
    display: block;
    width: 25%;
    height: 100%;
    background: var(--clay);
    transition: width .35s;
}

.quiz-step,
.quiz-final,
.quiz-success {
    display: none;
    flex: 1;
}

.quiz-step.active,
.quiz-final.active,
.quiz-success.active {
    display: flex;
    flex-direction: column;
    animation: intro-up .35s ease both;
}

.quiz-step h2,
.quiz-final h2,
.quiz-success h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.04;
    text-transform: uppercase;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 38px;
    background: var(--line);
}

.quiz-options button {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    background: var(--paper);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    transition: background .25s, color .25s;
}

.quiz-options button:hover {
    background: var(--clay);
    color: #fff;
}

.quiz-options i {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 11px;
    font-style: normal;
    opacity: .45;
}

.quiz-back {
    width: max-content;
    margin-top: auto;
    padding: 30px 0 0;
    background: transparent;
    color: rgba(27, 27, 24, .45);
    font-size: 13px;
}

.quiz-final .eyebrow {
    margin-bottom: 18px;
}

.quiz-final > p:not(.eyebrow) {
    margin: 20px 0 30px;
    color: rgba(27, 27, 24, .56);
    font-size: 13px;
    line-height: 1.7;
}

.quiz-final label {
    margin-bottom: 20px;
    border-color: var(--line);
}

.quiz-final label span {
    color: rgba(27, 27, 24, .45);
}

.quiz-final input {
    color: var(--ink);
}

.quiz-final input::placeholder {
    color: rgba(27, 27, 24, .3);
}

.quiz-final .button {
    width: max-content;
    margin-top: 10px;
}

.quiz-final .wpcf7-not-valid-tip {
    color: var(--clay);
}

.quiz-modal .wpcf7-form > .wpcf7-response-output {
    margin-top: 16px;
    color: var(--clay);
}

.quiz-modal .wpcf7.kontur-sent .wpcf7-response-output {
    display: none;
}

.quiz-success {
    justify-content: center;
}

.quiz-success > i {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--clay);
    color: #fff;
    font-size: 25px;
    font-style: normal;
}

.quiz-success p {
    max-width: 430px;
    margin: 22px 0 0;
    color: rgba(27, 27, 24, .56);
    font-size: 13px;
    line-height: 1.7;
}

.quiz-success-close {
    width: max-content;
    margin-top: 34px;
    border-bottom: 1px solid var(--clay);
    padding: 0 0 4px;
    background: transparent;
    color: var(--clay);
    font-size: 13px;
    font-weight: 700;
}

.cf7-unavailable {
    max-width: 420px;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    line-height: 1.7;
}

.basic-page {
    min-height: 70vh;
    padding-block: 150px 90px;
}

.basic-page h1 {
    font-family: var(--display);
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.basic-page-image {
    max-width: 900px;
    margin-block: 40px;
}

.entry-content {
    max-width: 800px;
    font-size: 16px;
    line-height: 1.8;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s, transform .75s cubic-bezier(.2, .75, .25, 1);
}

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

@keyframes intro-up {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-scale {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

@media (max-width: 1100px) {
    .desktop-nav,
    .header-actions {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 52;
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        background: transparent;
    }

    .menu-toggle i {
        position: absolute;
        width: 24px;
        height: 1px;
        background: currentColor;
        transition: transform .3s;
    }

    .menu-toggle i:first-child {
        transform: translateY(-4px);
    }

    .menu-toggle i:last-child {
        transform: translateY(4px);
    }

    .menu-open .menu-toggle i:first-child {
        transform: rotate(45deg);
    }

    .menu-open .menu-toggle i:last-child {
        transform: rotate(-45deg);
    }

    .menu-open .site-header {
        color: #fff;
    }

    .mobile-menu {
        position: fixed;
        z-index: 51;
        inset: 0;
        display: flex;
        visibility: hidden;
        flex-direction: column;
        padding: 110px 32px 36px;
        background: var(--ink);
        color: #fff;
        opacity: 0;
        transition: opacity .35s, visibility .35s;
    }

    .mobile-menu.open {
        visibility: visible;
        opacity: 1;
    }

    .mobile-menu nav {
        display: flex;
        flex-direction: column;
        border-top: 1px solid rgba(255, 255, 255, .15);
    }

    .mobile-menu nav a {
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        padding: 10px 0;
        font-family: var(--display);
        font-size: clamp(36px, 10vw, 62px);
        line-height: 1.15;
        text-transform: uppercase;
    }

    .mobile-menu .button {
        width: 100%;
        margin-top: auto;
    }

    .hero-bottom {
        grid-template-columns: 7fr 5fr;
    }

    .hero-bottom .button {
        grid-column: 1 / -1;
        width: max-content;
    }

    .calculator-body {
        grid-template-columns: 7fr .5fr 4.5fr;
    }

    .calc-controls {
        padding-right: 36px;
    }

    .advantage-row {
        grid-template-columns: 48px 1fr;
    }

    .advantage-row p {
        grid-column: 2;
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 767px) {
    .wrap {
        width: calc(100% - 32px);
    }

    .section-heading,
    .section-heading.split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-heading.split > p {
        margin: 0;
    }

    .hero,
    .hero-content {
        min-height: 780px;
    }

    .hero-content {
        padding-bottom: 44px;
    }

    .hero-bottom {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-bottom .button {
        grid-column: auto;
        width: 100%;
    }

    .services-layout,
    .advantages-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .service-visual,
    .service-list,
    .advantages-image,
    .advantage-list {
        grid-column: 1;
    }

    .service-row {
        grid-template-columns: 38px 1fr 20px;
        padding-block: 27px;
    }

    .service-row small {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .4s, opacity .4s, margin .4s;
    }

    .service-row.is-active small {
        max-height: 100px;
        margin-top: 10px;
        opacity: 1;
    }

    .calculator-body {
        grid-template-columns: 1fr;
    }

    .calc-controls,
    .calc-result {
        grid-column: 1;
    }

    .calc-controls {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        padding: 42px 0;
    }

    .calc-result {
        padding-bottom: 0;
    }

    .segments button {
        padding-inline: 7px;
        font-size: 12px;
    }

    .project-filters {
        justify-content: flex-start;
    }

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

    .project-item {
        min-height: 480px;
    }

    .project-number {
        top: 24px;
        left: 24px;
    }

    .project-caption {
        right: 24px;
        bottom: 24px;
        left: 24px;
    }

    .advantage-row {
        grid-template-columns: 40px 1fr;
        padding-block: 27px;
    }

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

    .process-step,
    .process-step:nth-child(n+4) {
        min-height: 0;
        border-top: 1px solid var(--line);
        padding: 34px 0;
    }

    .process-step i,
    .process-step:nth-child(-n+3)::before {
        display: none;
    }

    .quiz-banner-inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .quiz-banner-inner > div:first-child,
    .quiz-banner-inner > div:last-child {
        grid-column: 1;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .footer-layout > div:first-child,
    .footer-layout > div:last-child {
        grid-column: 1;
    }

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

    .quiz-modal {
        padding: 0;
    }

    .quiz-dialog {
        width: 100%;
        min-height: 100%;
        max-height: 100vh;
        grid-template-columns: 1fr;
    }

    .quiz-photo {
        display: none;
    }

    .quiz-content {
        min-height: 100vh;
        padding: 76px 24px 28px;
    }

    .quiz-close {
        top: 16px;
        right: 16px;
    }

    .quiz-options {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .quiz-options button {
        min-height: 68px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}