:root {
    --color-ink: #15171a;
    --color-muted: #667085;
    --color-line: #d9dee7;
    --color-paper: #f5f7fa;
    --color-white: #ffffff;
    --color-red: #c62828;
    --color-red-dark: #9f1f1f;
    --color-steel: #2d5f73;
    --color-mint: #dceee9;
    --color-amber: #f3c765;
    --shadow-soft: 0 18px 45px rgba(17, 24, 39, 0.12);
    --shadow-card: 0 12px 32px rgba(17, 24, 39, 0.09);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-white);
    color: var(--color-ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

body.nav-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

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

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

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

button {
    cursor: pointer;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(217, 222, 231, 0.84);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
    line-height: 0;
    overflow: visible;
}

.brand picture {
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: visible;
}

.brand-logo {
    display: block;
    width: clamp(176px, 16vw, 228px);
    height: auto;
    max-height: 76px;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--color-red);
    color: var(--color-white);
    font-weight: 800;
    line-height: 1;
}

.brand strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
}

.brand small {
    display: block;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.2;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: var(--radius);
    color: #30363d;
    font-weight: 700;
    font-size: 14px;
}

.main-nav a:hover {
    background: var(--color-paper);
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: var(--radius);
    background: var(--color-ink);
    color: var(--color-white);
    font-weight: 800;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    position: relative;
    place-items: center;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-toggle span {
    position: absolute;
    left: 11px;
    display: block;
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: var(--color-ink);
    transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.nav-toggle span:nth-child(2) {
    transform: translateY(0);
}

.nav-toggle span:nth-child(3) {
    transform: translateY(6px);
}

body.nav-open .nav-toggle {
    border-color: var(--color-ink);
    background: var(--color-ink);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}

body.nav-open .nav-toggle span {
    background: var(--color-white);
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 60px 0;
    background:
        linear-gradient(90deg, rgba(7, 10, 13, 0.92) 0%, rgba(7, 10, 13, 0.78) 34%, rgba(7, 10, 13, 0.28) 64%, rgba(7, 10, 13, 0.08) 100%),
        url("../img/hero-domovi4ok.png") center right / cover no-repeat,
        #141414;
    color: var(--color-white);
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--color-line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 820px) 1fr;
    align-items: center;
    gap: 48px;
    min-height: 540px;
}

.hero-copy {
    max-width: 820px;
}

.hero .eyebrow {
    color: var(--color-amber);
}

.hero h1 {
    color: var(--color-white);
    font-size: 68px;
    text-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--color-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: 0;
}

.hero-text {
    max-width: 680px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.button,
.link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--radius);
    background: var(--color-red);
    color: var(--color-white);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.link-button:hover {
    background: var(--color-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(198, 40, 40, 0.18);
}

.button--ghost {
    border: 1px solid var(--color-line);
    background: var(--color-white);
    color: var(--color-ink);
}

.button--ghost:hover {
    background: var(--color-paper);
    color: var(--color-ink);
    box-shadow: none;
}

.hero .button--ghost {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    backdrop-filter: blur(14px);
}

.hero .button--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-white);
}

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

.button--light:hover {
    background: var(--color-amber);
    color: var(--color-ink);
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 30px 0 0;
    width: 100%;
}

.hero-proof__item {
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(12, 16, 20, 0.48);
    color: var(--color-white);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.hero-proof__item span,
.hero-proof__item strong {
    display: block;
}

.hero-proof__item span {
    color: var(--color-amber);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-proof__item strong {
    margin-top: 5px;
    font-size: 17px;
    line-height: 1.22;
}

.hero-scene {
    position: relative;
    min-height: 560px;
    border-radius: var(--radius);
}

.scene-window {
    position: absolute;
    top: 34px;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 68%;
    aspect-ratio: 1 / 1.05;
    padding: 18px;
    border: 14px solid #1f2933;
    border-radius: var(--radius);
    background: #d7ecf5;
    box-shadow: var(--shadow-soft);
}

.scene-window span {
    border: 6px solid #ffffff;
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.92) 0 8%, transparent 9% 100%),
        #b9dbe7;
}

.scene-door {
    position: absolute;
    right: 8px;
    bottom: 0;
    width: 44%;
    height: 78%;
    border: 12px solid #1f2933;
    border-radius: var(--radius) var(--radius) 2px 2px;
    background: linear-gradient(90deg, #7f2b26 0%, #b93530 45%, #8e2f2a 100%);
    box-shadow: var(--shadow-soft);
}

.scene-door::before {
    content: "";
    position: absolute;
    inset: 34px 28px auto;
    height: 42%;
    border: 5px solid rgba(255,255,255,0.45);
    border-radius: 4px;
}

.scene-door span {
    position: absolute;
    right: 30px;
    top: 52%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-amber);
    box-shadow: 0 0 0 6px rgba(243,199,101,0.24);
}

.scene-panel {
    position: absolute;
    right: 24px;
    top: 52px;
    width: min(260px, 64%);
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.88);
    box-shadow: var(--shadow-card);
}

.scene-panel strong,
.scene-panel small {
    display: block;
}

.scene-panel small {
    margin-top: 4px;
    color: var(--color-muted);
}

.section {
    padding: 88px 0;
}

.section--plain {
    min-height: 48vh;
}

.section--services {
    background: var(--color-white);
}

.section--dark {
    background: #15171a;
    color: var(--color-white);
}

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

.section--quiz {
    overflow: hidden;
    background: #f5f7fa;
}

.section--shop {
    background: var(--color-paper);
}

.section--useful {
    background: var(--color-paper);
}

.section--reviews {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
}

.section--works {
    background: var(--color-paper);
}

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

.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    align-items: end;
    max-width: none;
    gap: 32px;
}

.section-heading--split p:not(.eyebrow) {
    margin: 0;
    color: rgba(255,255,255,0.72);
}

.section--services .section-heading--split p:not(.eyebrow),
.section--shop .section-heading--split p:not(.eyebrow),
.section--plain .section-heading--split p:not(.eyebrow),
.section--useful .section-heading--split p:not(.eyebrow),
.section--credit .section-heading--split p:not(.eyebrow),
.section--works .section-heading--split p:not(.eyebrow) {
    color: var(--color-muted);
}

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

.service-card {
    min-height: 368px;
    padding: 26px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.service-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--color-mint);
    color: var(--color-steel);
}

.service-card__icon svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card__icon--door {
    background: rgba(198, 40, 40, 0.11);
    color: var(--color-red);
}

.service-card__icon--measure {
    background: rgba(237, 174, 73, 0.2);
    color: #9a5d00;
}

.service-card p {
    color: var(--color-muted);
}

.service-card ul {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    font-weight: 700;
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.66em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-red);
}

.home-catalog-shelves {
    display: grid;
    gap: 36px;
}

.home-catalog-shelf__heading {
    margin-bottom: 16px;
}

.home-catalog-shelf__heading h3 {
    font-size: 28px;
}

.catalog-widget {
    margin-top: 26px;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.chip {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    color: var(--color-white);
    font-weight: 800;
}

.chip.is-active,
.chip:hover {
    border-color: var(--color-amber);
    background: var(--color-amber);
    color: var(--color-ink);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.catalog-series {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 42px;
}

.catalog-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0 44px;
}

.catalog-nav__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.catalog-nav__main span {
    font-size: 25px;
    font-weight: 900;
}

.catalog-nav__main strong {
    color: var(--color-red);
    font-size: 34px;
    line-height: 1;
}

.catalog-nav__chips {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 8px;
}

.catalog-nav__chips a {
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-ink);
    font-weight: 800;
}

.catalog-section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
}

.catalog-section-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-ink);
    font-weight: 900;
}

.catalog-section-tabs a.is-active,
.catalog-section-tabs a:hover {
    border-color: var(--color-red);
    background: var(--color-red);
    color: var(--color-white);
}

.catalog-section-tabs span {
    display: inline-grid;
    min-width: 28px;
    min-height: 24px;
    place-items: center;
    padding: 0 7px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.18);
    font-size: 13px;
}

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

.catalog-entry-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.38fr);
    gap: 22px;
    min-height: 330px;
    padding: 28px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.catalog-entry-card h2 {
    font-size: 34px;
}

.catalog-entry-card p:not(.eyebrow) {
    color: var(--color-muted);
}

.catalog-entry-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.catalog-entry-card__body .button {
    margin-top: auto;
}

.catalog-entry-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

.catalog-entry-card__meta strong {
    color: var(--color-red);
    font-size: 58px;
    line-height: 1;
}

.catalog-entry-card__meta > span {
    color: var(--color-muted);
    font-weight: 900;
}

.catalog-entry-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.catalog-entry-card__links a {
    padding: 7px 10px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-paper);
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 900;
}

.catalog-section-heading {
    margin-bottom: 26px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(250px, 286px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 112px;
}

.catalog-filter {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.catalog-filter summary {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    color: var(--color-ink);
    font-weight: 900;
    list-style: none;
    cursor: pointer;
}

.catalog-filter summary::-webkit-details-marker {
    display: none;
}

.catalog-filter summary::after {
    content: "+";
    color: var(--color-red);
    font-size: 22px;
    line-height: 1;
}

.catalog-filter[open] summary::after {
    content: "-";
}

.catalog-filter__group,
.catalog-price-filter {
    display: grid;
    gap: 8px;
    padding: 0 18px 20px;
}

.catalog-filter__group + .catalog-filter__group,
.catalog-price-filter {
    padding-top: 18px;
    border-top: 1px solid var(--color-line);
}

.catalog-filter h2,
.catalog-price-filter h2 {
    margin: 0 0 4px;
    font-size: 15px;
    text-transform: uppercase;
}

.catalog-filter__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--color-muted);
    font-weight: 800;
}

.catalog-filter__link:hover,
.catalog-filter__link.is-active {
    border-color: rgba(198,40,40,0.22);
    background: rgba(198,40,40,0.08);
    color: var(--color-ink);
}

.catalog-filter__link strong {
    color: var(--color-red);
    font-size: 13px;
}

.catalog-price-filter__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.catalog-price-filter label {
    display: grid;
    gap: 5px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 800;
}

.catalog-price-filter input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 8px 10px;
}

.button--small {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 14px;
}

.catalog-filter__reset {
    color: var(--color-red);
    font-weight: 900;
}

.catalog-results {
    min-width: 0;
}

.catalog-results__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
}

.catalog-results__bar strong {
    font-size: 18px;
}

.catalog-results__bar span {
    color: var(--color-muted);
    font-weight: 800;
}

.catalog-layout .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.catalog-pagination .page-numbers {
    display: inline-grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    padding: 0 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-ink);
    font-weight: 900;
}

.catalog-pagination .page-numbers.current,
.catalog-pagination .page-numbers:hover {
    border-color: var(--color-red);
    background: var(--color-red);
    color: var(--color-white);
}

.catalog-empty {
    padding: 28px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.catalog-empty p {
    color: var(--color-muted);
}

.series-card {
    min-height: 118px;
    padding: 18px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.series-card span,
.series-card strong,
.series-card small {
    display: block;
}

.series-card span {
    color: var(--color-ink);
    font-weight: 900;
}

.series-card strong {
    margin-top: 18px;
    color: var(--color-red);
    font-size: 30px;
    line-height: 1;
}

.series-card small {
    margin-top: 4px;
    color: var(--color-muted);
    font-weight: 800;
}

.catalog-groups {
    display: grid;
    gap: 72px;
}

.catalog-direction {
    scroll-margin-top: 104px;
}

.catalog-direction__heading {
    display: grid;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 28px;
}

.catalog-direction__heading p:not(.eyebrow) {
    margin: 0;
    color: var(--color-muted);
}

.catalog-group {
    scroll-margin-top: 104px;
    margin-top: 34px;
}

.catalog-group__heading {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 18px;
}

.catalog-group__heading h2,
.catalog-group__heading h3 {
    font-size: 34px;
}

.catalog-group__heading p:not(.eyebrow) {
    margin: 0;
    color: var(--color-muted);
}

.product-card {
    display: grid;
    min-height: 386px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    background: #20242a;
}

.product-card.is-hidden {
    display: none;
}

.product-card__visual {
    display: grid;
    min-height: 168px;
    place-items: end center;
    padding: 18px 18px 0;
    background:
        linear-gradient(180deg, rgba(45,95,115,0.45), rgba(21,23,26,0.1)),
        #29313a;
}

.product-card__visual span {
    display: block;
    width: 86px;
    height: 142px;
    border: 6px solid #0d1117;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.08), transparent 42%),
        #b93630;
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.product-card__body h3 {
    min-height: 54px;
    font-size: 18px;
}

.product-card__text {
    margin: 0;
    color: rgba(255,255,255,0.68);
    font-size: 14px;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.product-card__footer strong {
    color: var(--color-amber);
    font-size: 18px;
    white-space: nowrap;
}

.woocommerce .woocommerce-breadcrumb {
    margin: 0 0 22px;
    color: var(--color-muted);
}

.woocommerce .woocommerce-products-header,
.woocommerce div.product {
    margin-bottom: 28px;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    display: flex;
    flex-direction: column;
    float: none !important;
    clear: none !important;
    justify-self: stretch;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce-page ul.products li.product.first,
.woocommerce-page ul.products li.product.last {
    clear: none !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0 0 14px;
    border-radius: var(--radius);
    background: var(--color-paper);
}

.woocommerce ul.products li.product img.woocommerce-placeholder,
.woocommerce div.product div.images img.woocommerce-placeholder {
    padding: 22%;
    background:
        linear-gradient(135deg, rgba(45,95,115,0.16), rgba(198,40,40,0.14)),
        var(--color-paper);
    opacity: 0.92;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 46px;
    padding: 0;
    color: var(--color-ink);
    font-size: 18px;
    line-height: 1.25;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--color-red);
    font-size: 18px;
    font-weight: 900;
}

.price--request {
    color: var(--color-steel);
}

.domovi4ok-wc-inquiry {
    width: 100%;
    margin-top: 12px;
}

.woocommerce a.button.domovi4ok-wc-inquiry,
.woocommerce-page a.button.domovi4ok-wc-inquiry {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px;
    padding: 0 14px;
    background: var(--color-red);
    color: var(--color-white);
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
}

.woocommerce a.button.domovi4ok-wc-inquiry:hover,
.woocommerce-page a.button.domovi4ok-wc-inquiry:hover {
    background: var(--color-red-dark);
    color: var(--color-white);
}

.woocommerce div.product {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 42px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    float: none;
    width: auto;
    margin: 0;
}

.woocommerce div.product .product_title {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
    grid-column: 1 / -1;
    min-width: 0;
}

.woocommerce .related.products,
.woocommerce .upsells.products {
    clear: both;
    margin-top: 64px;
    padding-top: 36px;
    border-top: 1px solid var(--color-line);
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
    margin-bottom: 18px;
    font-size: 32px;
}

.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.article-card {
    display: flex;
    flex-direction: column;
    min-height: 292px;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.article-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-paper);
}

.article-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
}

.article-card h2,
.article-card h3 {
    margin: 0;
    font-size: 24px;
}

.article-card p:not(.eyebrow) {
    margin: 0;
    color: var(--color-muted);
}

.text-link {
    margin-top: auto;
    color: var(--color-red);
    font-weight: 900;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
    gap: 52px;
    align-items: start;
}

.article-header {
    grid-column: 1 / -1;
    max-width: 860px;
}

.article-header h1 {
    font-size: 58px;
}

.article-header p:not(.eyebrow) {
    color: var(--color-muted);
    font-size: 20px;
}

.article-hero-image {
    grid-column: 1 / -1;
    max-width: 960px;
    margin: -12px 0 0;
}

.article-hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.article-layout .prose {
    padding: 0 0 80px;
}

.entry-content h2 {
    margin: 34px 0 14px;
    font-size: 32px;
}

.entry-content h3 {
    margin: 26px 0 10px;
    font-size: 24px;
}

.entry-content p,
.entry-content li {
    color: var(--color-muted);
    font-size: 18px;
    line-height: 1.72;
}

.entry-content ul,
.entry-content ol {
    display: grid;
    gap: 10px;
    padding-left: 22px;
}

.entry-content strong {
    color: var(--color-ink);
}

.article-example,
.article-note,
.article-checklist {
    margin: 26px 0;
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-paper);
}

.article-example h3,
.article-note h3,
.article-checklist h3 {
    margin-top: 0;
}

.article-table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    font-size: 16px;
}

.article-table th,
.article-table td {
    padding: 14px;
    border: 1px solid var(--color-line);
    text-align: left;
    vertical-align: top;
}

.article-table th {
    color: var(--color-ink);
    background: var(--color-paper);
}

.article-cta {
    position: sticky;
    top: 104px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--color-paper);
}

.article-cta h2 {
    font-size: 28px;
}

.article-cta p {
    color: var(--color-muted);
}

.product-inquiry {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--color-line);
}

.product-inquiry h2 {
    font-size: 26px;
}

.product-inquiry p {
    color: var(--color-muted);
}

.product-inquiry__button {
    width: 100%;
}

.product-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 22px;
}

.product-facts div {
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-paper);
}

.product-facts dt {
    margin: 0 0 4px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-facts dd {
    margin: 0;
    color: var(--color-ink);
    font-weight: 800;
}

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

.product_meta .sku_wrapper {
    display: none !important;
}

.link-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
}

.section-actions span {
    color: rgba(255,255,255,0.64);
}

.section-actions code {
    color: var(--color-amber);
}

.reviews-shell {
    position: relative;
    min-width: 0;
}

.reviews-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}

.reviews-heading .section-heading {
    max-width: 820px;
    margin-bottom: 0;
}

.reviews-heading .section-heading p:not(.eyebrow) {
    max-width: 720px;
    color: var(--color-muted);
}

.reviews-actions {
    display: flex;
    gap: 8px;
}

.reviews-slider {
    --reviews-gap: 16px;
    position: relative;
    min-width: 0;
}

.reviews-slider__viewport {
    width: min(100%, 1130px);
    margin-inline: auto;
    overflow: hidden;
    padding: 0 0 3px;
    -webkit-mask-image: none;
    mask-image: none;
}

.reviews-track {
    display: flex;
    gap: var(--reviews-gap);
    align-items: stretch;
    will-change: transform;
    transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-card {
    display: flex;
    flex: 0 0 calc((100% - (var(--reviews-gap) * 2)) / 3);
    flex-direction: column;
    gap: 14px;
    min-height: 330px;
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(220,238,233,0.44) 0%, rgba(255,255,255,0) 42%),
        var(--color-white);
    box-shadow: none;
}

.review-card__top {
    display: flex;
    align-items: center;
    gap: 13px;
}

.review-card__avatar {
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    border: 3px solid var(--color-white);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.12);
}

.review-card__top strong,
.review-card__top span {
    display: block;
}

.review-card__top strong {
    color: var(--color-ink);
    font-size: 18px;
    line-height: 1.2;
}

.review-card__top span {
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 800;
}

.review-card__rating {
    color: var(--color-amber);
    font-size: 16px;
    letter-spacing: 0;
}

.review-card blockquote {
    margin: 0;
    color: #30363d;
    font-size: 16px;
    line-height: 1.58;
}

.review-card__service {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    margin-top: auto;
    padding: 6px 10px;
    border: 1px solid rgba(198,40,40,0.16);
    border-radius: var(--radius);
    background: rgba(198,40,40,0.08);
    color: var(--color-red);
    font-size: 13px;
    font-weight: 900;
}

.reviews-slider__control {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-ink);
    box-shadow: var(--shadow-card);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.reviews-slider__control:hover {
    border-color: var(--color-red);
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-1px);
}

.reviews-slider__control span {
    font-size: 31px;
    line-height: 1;
    transform: translateY(-1px);
}

.process-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 60px;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
}

.process-list span {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--color-red);
    font-weight: 900;
}

.process-list strong {
    display: block;
    font-size: 20px;
}

.process-list p {
    margin: 10px 0 0;
    color: var(--color-muted);
}

.quiz-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
    align-items: stretch;
    gap: 28px;
    min-height: 640px;
    overflow: hidden;
    border: 1px solid rgba(217, 222, 231, 0.9);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f8fbfc 0%, #e9f2f5 100%);
    box-shadow: var(--shadow-soft);
}

.quiz-grid__scene {
    position: absolute;
    left: 10px;
    bottom: 0;
    z-index: 1;
    width: min(62%, 730px);
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: left bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
}

.quiz-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(248,251,252,0.24) 0%, rgba(248,251,252,0.18) 45%, rgba(248,251,252,0.76) 64%, rgba(248,251,252,0.98) 100%);
    pointer-events: none;
}

.quiz-visual {
    position: relative;
    z-index: 3;
    display: grid;
    align-content: start;
    gap: 18px;
    min-width: 0;
    max-width: 560px;
    padding: 38px 38px 320px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.72);
}

.quiz-visual .eyebrow {
    color: var(--color-red);
}

.quiz-visual h2 {
    max-width: 500px;
    font-size: clamp(34px, 4vw, 54px);
}

.quiz-visual p:not(.eyebrow) {
    margin: 0;
    max-width: 500px;
    color: #3d4a54;
    font-size: 18px;
}

.quiz-visual__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 500px;
}

.quiz-visual__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(45,95,115,0.18);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.86);
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
    backdrop-filter: blur(10px);
}

.lead-form {
    display: grid;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.lead-form h2 {
    font-size: 25px;
}

.lead-form--quiz {
    position: relative;
    z-index: 3;
    align-self: center;
    justify-content: center;
    gap: 12px;
    margin: 30px 30px 30px 0;
    padding: 28px;
    border: 1px solid rgba(217, 222, 231, 0.95);
    background: rgba(255,255,255,0.94);
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.12);
    backdrop-filter: blur(12px);
}

.lead-form--quiz h2 {
    font-size: 30px;
    line-height: 1.08;
}

.lead-form--quiz p {
    margin: 0 0 4px;
    color: var(--color-muted);
}

.lead-form--quiz .button {
    width: 100%;
}

.lead-form__note {
    font-size: 14px;
    line-height: 1.45;
}

.lead-form--cta p {
    margin: 0;
    color: var(--color-muted);
}

.lead-form__points {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lead-form__points li {
    position: relative;
    padding-left: 22px;
    color: var(--color-ink);
    font-weight: 700;
}

.lead-form__points li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-red);
}

.lead-form--cta .button {
    width: 100%;
}

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

.lead-form span {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 11px 13px;
    background: var(--color-white);
    color: var(--color-ink);
}

.lead-form textarea {
    resize: vertical;
}

.lead-form__status {
    margin: 4px 0 0;
    padding: 10px 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-paper);
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.lead-form__status--success {
    border-color: rgba(45, 95, 115, 0.22);
    background: rgba(220, 238, 233, 0.7);
    color: var(--color-steel);
}

.lead-form__status--error {
    border-color: rgba(198, 40, 40, 0.22);
    background: rgba(198, 40, 40, 0.08);
    color: var(--color-red);
}

.lead-form .button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.inquiry-modal[hidden] {
    display: none;
}

.inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 20px;
}

.inquiry-modal__overlay {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 13, 18, 0.66);
}

.inquiry-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.26);
    scrollbar-width: thin;
    scrollbar-color: rgba(45, 95, 115, 0.34) transparent;
}

.inquiry-modal__dialog::-webkit-scrollbar {
    width: 6px;
}

.inquiry-modal__dialog::-webkit-scrollbar-track {
    background: transparent;
}

.inquiry-modal__dialog::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(45, 95, 115, 0.28);
}

.inquiry-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-ink);
    font-size: 25px;
    line-height: 1;
}

.inquiry-modal__head {
    display: grid;
    gap: 8px;
    padding-right: 34px;
}

.inquiry-modal__head h2 {
    font-size: 30px;
    line-height: 1.08;
}

.inquiry-modal__head p:not(.eyebrow) {
    margin: 0;
    color: var(--color-muted);
}

.inquiry-modal__product {
    margin: 12px 0;
    padding: 10px 12px;
    border: 1px solid rgba(198,40,40,0.22);
    border-radius: var(--radius);
    background: rgba(198,40,40,0.08);
    color: var(--color-ink);
    font-weight: 900;
}

.inquiry-modal__form {
    gap: 10px;
    padding: 0;
    box-shadow: none;
}

.inquiry-modal__form label {
    gap: 5px;
}

.inquiry-modal__form input,
.inquiry-modal__form select,
.inquiry-modal__form textarea {
    min-height: 44px;
    padding: 9px 12px;
}

.inquiry-modal__form textarea {
    min-height: 78px;
}

.inquiry-modal__form .button {
    min-height: 46px;
}

.is-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.notice {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    max-width: 360px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--color-steel);
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
    font-weight: 800;
}

.site-footer {
    padding: 64px 0 24px;
    background: #101215;
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.7fr) minmax(300px, 0.9fr);
    gap: 38px;
}

.brand--footer .brand-mark {
    background: var(--color-amber);
    color: var(--color-ink);
}

.brand--footer {
    width: fit-content;
    max-width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: 0 18px 50px rgba(0,0,0,0.2);
}

.brand-logo--footer {
    width: min(260px, 100%);
}

.site-footer p,
.site-footer span {
    color: rgba(255,255,255,0.68);
}

.footer-contacts {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-contacts h2 {
    font-size: 24px;
}

.footer-contacts a {
    font-weight: 800;
}

.lead-form--footer {
    background: #1b1f25;
}

.lead-form--footer p {
    color: rgba(255,255,255,0.72);
}

.lead-form--footer input {
    border-color: rgba(255,255,255,0.18);
    background: #101215;
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.68);
    font-size: 14px;
}

.prose {
    max-width: 720px;
    padding: 80px 0;
}

@media (max-width: 1020px) {
    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
        gap: 16px;
        min-height: 76px;
    }

    .nav-toggle {
        display: grid;
    }

    .main-nav {
        position: fixed;
        top: 76px;
        right: 16px;
        left: 16px;
        display: none;
        padding: 16px;
        border: 1px solid var(--color-line);
        border-radius: var(--radius);
        background: var(--color-white);
        box-shadow: var(--shadow-soft);
    }

    .brand-logo {
        width: clamp(150px, 34vw, 198px);
        max-height: 58px;
    }

    body.nav-open .main-nav {
        display: block;
    }

    .main-nav ul {
        display: grid;
        justify-content: stretch;
    }

    .main-nav a {
        justify-content: center;
    }

    .header-phone {
        display: none;
    }

    .hero-grid,
    .quiz-grid,
    .process-grid,
    .section-heading--split,
    .reviews-heading {
        grid-template-columns: 1fr;
    }

    .reviews-actions {
        justify-content: flex-start;
    }

    .quiz-grid {
        gap: 0;
        min-height: 0;
    }

    .quiz-grid::after {
        background: linear-gradient(180deg, rgba(248,251,252,0.06) 0%, rgba(248,251,252,0.12) 48%, rgba(248,251,252,0.92) 72%, rgba(248,251,252,0.98) 100%);
    }

    .quiz-grid__scene {
        left: 50%;
        bottom: auto;
        top: 420px;
        width: min(118%, 560px);
        height: auto;
        transform: translateX(-50%);
        object-position: center bottom;
        opacity: 0.96;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .quiz-visual {
        min-height: 665px;
        padding: 30px 30px 325px;
    }

    .lead-form--quiz {
        align-self: stretch;
        margin: 0;
        border-width: 1px 0 0;
        border-radius: 0;
        background: var(--color-white);
        box-shadow: none;
        backdrop-filter: none;
    }

    .hero {
        min-height: 0;
        padding-top: 64px;
        background-position: center, 62% center;
    }

    .hero-grid {
        min-height: 0;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        margin-left: 0;
    }

    .service-grid,
    .catalog-grid,
    .catalog-nav,
    .article-grid,
    .catalog-series,
    .woocommerce ul.products,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout,
    .catalog-direction__heading,
    .catalog-entry-card,
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .article-cta {
        position: static;
    }

    .catalog-sidebar {
        position: static;
    }

    .catalog-layout .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .woocommerce .related.products ul.products,
    .woocommerce .upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .woocommerce div.product {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1020px) {
    .reviews-slider__viewport {
        width: min(100%, 748px);
    }

    .review-card {
        flex-basis: calc((100% - var(--reviews-gap)) / 2);
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .header-inner {
        gap: 12px;
        min-height: 68px;
    }

    .main-nav {
        top: 68px;
        right: 12px;
        left: 12px;
    }

    .brand {
        max-width: calc(100vw - 90px);
        padding-left: 4px;
    }

    .brand-logo {
        width: clamp(140px, 44vw, 172px);
        max-height: 48px;
        object-position: left center;
    }

    .brand strong {
        font-size: 18px;
    }

    .brand small {
        display: none;
    }

    .hero {
        padding: 46px 0 56px;
        background:
            linear-gradient(90deg, rgba(7, 10, 13, 0.95) 0%, rgba(7, 10, 13, 0.84) 58%, rgba(7, 10, 13, 0.48) 100%),
            url("../img/hero-domovi4ok.png") 66% center / cover no-repeat,
            #141414;
    }

    h1 {
        font-size: 36px;
        line-height: 1.02;
    }

    .hero h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 34px;
    }

    .hero-text {
        max-width: 100%;
        font-size: 17px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-proof,
    .catalog-entry,
    .service-grid,
    .catalog-grid,
    .catalog-nav,
    .article-grid,
    .catalog-series,
    .woocommerce ul.products,
    .process-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .reviews-slider__viewport {
        width: 100%;
        padding-bottom: 3px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .review-card {
        flex-basis: 100%;
        min-height: 0;
        padding: 20px;
    }

    .catalog-group__heading,
    .catalog-direction__heading {
        grid-template-columns: 1fr;
    }

    .catalog-nav__main {
        min-height: 78px;
        padding: 18px;
    }

    .catalog-nav__chips {
        flex-direction: column;
    }

    .catalog-nav__chips a {
        width: 100%;
    }

    .catalog-section-tabs,
    .catalog-results__bar {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-section-tabs a,
    .catalog-results__bar {
        width: 100%;
    }

    .catalog-entry-card {
        min-height: 0;
        padding: 22px;
    }

    .catalog-entry-card__meta strong {
        font-size: 42px;
    }

    .catalog-price-filter__row,
    .catalog-layout .woocommerce ul.products,
    .woocommerce .related.products ul.products,
    .woocommerce .upsells.products ul.products {
        grid-template-columns: 1fr;
    }

    .inquiry-modal {
        align-items: end;
        padding: 12px;
    }

    .quiz-visual {
        min-height: 690px;
        padding: 24px 24px 300px;
    }

    .quiz-grid__scene {
        top: 430px;
        width: min(124%, 470px);
        opacity: 0.96;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .lead-form--quiz {
        padding: 24px;
    }

    .inquiry-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        padding: 20px;
    }

    .inquiry-modal__head h2 {
        font-size: 28px;
    }

    .article-header h1 {
        font-size: 38px;
    }

    .entry-content h2 {
        font-size: 27px;
    }

    .entry-content p,
    .entry-content li {
        font-size: 16px;
    }

    .article-table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .service-card,
    .process-list li {
        min-height: 0;
    }

    .hero-proof__item {
        padding: 14px;
    }

    .section {
        padding: 58px 0;
    }

    .product-card {
        min-height: 0;
    }

    .product-card__body h3 {
        min-height: 0;
    }

    .product-card__footer,
    .product-facts,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    h1 {
        font-size: 34px;
    }

    .brand-logo {
        width: min(154px, 44vw);
        max-height: 44px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .nav-toggle span {
        left: 10px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .button {
        width: 100%;
    }

    .hero-actions {
        align-items: stretch;
    }

    .hero-proof__item strong {
        font-size: 17px;
    }
}

.section--credit {
    background: var(--color-white);
}

.credit-highlight {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 24px;
    margin: 0 0 22px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--color-paper);
}

.credit-highlight strong {
    font-size: 18px;
    line-height: 1.25;
}

.credit-highlight span {
    color: var(--color-muted);
    font-size: 14px;
}

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

.credit-rate {
    min-height: 156px;
    padding: 18px 16px 20px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.credit-rate--featured {
    border-color: #15171a;
    background: #15171a;
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.credit-rate span {
    display: block;
    margin-bottom: 22px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.credit-rate--featured span {
    color: var(--color-amber);
}

.credit-rate strong {
    display: block;
    font-size: clamp(20px, 1.7vw, 28px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.credit-rate small {
    display: block;
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 13px;
}

.credit-rate--featured small {
    color: rgba(255, 255, 255, 0.64);
}

.credit-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.credit-fact {
    min-height: 168px;
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-paper);
}

.credit-fact span {
    display: block;
    margin-bottom: 12px;
    color: var(--color-red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.credit-fact p {
    margin: 0;
    color: var(--color-ink);
    font-size: 15px;
    line-height: 1.45;
}

.credit-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 18px;
    margin-top: 22px;
    align-items: stretch;
}

.credit-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.credit-steps li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
}

.credit-steps span {
    color: var(--color-red);
    font-weight: 900;
}

.credit-steps strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
}

.credit-steps p {
    margin: 6px 0 0;
    color: var(--color-muted);
}

.credit-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    border-radius: var(--radius);
    background: #15171a;
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.credit-cta .eyebrow {
    color: var(--color-amber);
}

.credit-cta h3 {
    font-size: 28px;
    line-height: 1.1;
}

.credit-cta > p:not(.eyebrow) {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.74);
}

.credit-cta__actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.credit-cta .button--ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
    color: var(--color-white);
}

.credit-cta .button--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.credit-note {
    max-width: 920px;
    margin: 18px 0 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 1100px) {
    .credit-rates,
    .credit-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .credit-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .credit-rates,
    .credit-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .credit-rate,
    .credit-fact {
        min-height: 0;
    }

    .credit-highlight,
    .credit-cta {
        padding: 20px;
    }

    .credit-cta h3 {
        font-size: 24px;
    }
}

@media (max-width: 430px) {
    .credit-rates,
    .credit-facts {
        grid-template-columns: 1fr;
    }

    .credit-cta__actions .button {
        width: 100%;
    }
}

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

.works-shell:not([data-works-ready]) .works-grid [data-work-item]:nth-child(-n+3) {
    display: block;
}

.works-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.work-card[data-work-item] {
    display: none;
}

.work-card[data-work-item].is-visible {
    display: block;
}

@media (min-width: 721px) {
    .works-shell:not([data-works-ready]) .works-grid [data-work-item]:nth-child(-n+6) {
        display: block;
    }
}

.work-card {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    cursor: zoom-in;
    text-align: left;
}

.work-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.work-card__overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(21, 23, 26, 0) 0%, rgba(21, 23, 26, 0.82) 100%);
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.work-card__overlay strong {
    font-size: 16px;
    line-height: 1.2;
}

.work-card__overlay small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.35;
}

.work-card:hover img,
.work-card:focus-visible img {
    transform: scale(1.04);
}

.work-card:hover .work-card__overlay,
.work-card:focus-visible .work-card__overlay {
    opacity: 1;
}

.works-lightbox[hidden] {
    display: none;
}

.works-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
}

.works-lightbox__overlay {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 12, 15, 0.86);
    cursor: zoom-out;
}

.works-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 980px);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.works-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: var(--radius);
    background: rgba(21, 23, 26, 0.72);
    color: var(--color-white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.works-lightbox__figure {
    margin: 0;
}

.works-lightbox__image {
    display: block;
    width: 100%;
    max-height: min(72vh, 820px);
    object-fit: contain;
    background: #111;
}

.works-lightbox__caption {
    display: grid;
    gap: 6px;
    padding: 18px 20px 22px;
}

.works-lightbox__caption strong {
    font-size: 20px;
    line-height: 1.2;
}

.works-lightbox__caption span {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.45;
}

.works-lightbox__caption span:empty {
    display: none;
}

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

@media (max-width: 720px) {
    .works-grid {
        grid-template-columns: 1fr;
    }

    .work-card__overlay {
        opacity: 1;
    }

    .works-lightbox {
        padding: 12px;
    }

    .works-lightbox__dialog {
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
    }
}
