@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --navy: #071a3e;
    --navy-dark: #04132e;
    --navy-soft: #edf2f8;
    --blue: #075cde;
    --green: #347b40;
    --green-dark: #286634;
    --green-soft: #e9f4eb;
    --teal: #118aa3;
    --ink: #19232e;
    --ink-soft: #46515e;
    --muted: #74808c;
    --line: #e2e8f0;
    --line-strong: #cbd2d8;
    --surface: #ffffff;
    --surface-muted: #f4f7fb;
    --surface-soft: #f9fafb;
    --danger: #b54747;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 10px rgba(20, 37, 55, 0.07);
    --shadow: 0 10px 30px rgba(20, 37, 55, 0.11);
    --shadow-lg: 0 24px 70px rgba(16, 39, 71, 0.2);
    --container: 1480px;
    --header: 82px;
}

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

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

button {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
strong {
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(38px, 3.2vw, 54px);
    line-height: 1.08;
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(26px, 2vw, 34px);
    line-height: 1.2;
    margin-bottom: 12px;
}

h3 {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 0;
}

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

:focus-visible {
    outline: 3px solid rgba(17, 138, 163, 0.38);
    outline-offset: 3px;
}

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

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 8px;
    left: 8px;
    padding: 10px 15px;
    color: #fff;
    background: var(--navy);
    border-radius: var(--radius-sm);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.icon-xs {
    width: 14px;
    height: 14px;
}

.icon-sm {
    width: 17px;
    height: 17px;
}

.icon-lg {
    width: 34px;
    height: 34px;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: 7px;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

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

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

.button-block {
    width: 100%;
}

.button-primary {
    color: #fff;
    background: var(--navy);
    box-shadow: 0 5px 15px rgba(23, 50, 93, 0.18);
}

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

.button-accent {
    color: #fff;
    background: #075cde;
}

.button-accent:hover {
    background: #064fc2;
}

.button-outline {
    color: var(--navy);
    background: #fff;
    border-color: var(--line-strong);
}

.button-outline:hover {
    background: var(--navy-soft);
    border-color: #aebdcc;
}

.button:disabled {
    color: #8a949d;
    background: #f2f4f5;
    border-color: var(--line);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.subtle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}

.text-button {
    padding: 0;
    color: var(--navy);
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 13px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.eyebrow-dark {
    color: var(--green);
}

.eyebrow-blue {
    color: var(--blue);
}

.section {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 28px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

/* Header */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: var(--header);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #edf0f2;
    box-shadow: 0 6px 20px rgba(13, 35, 59, 0.06);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(100%, var(--container));
    height: 100%;
    margin-inline: auto;
    padding: 0 24px 0 40px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: var(--navy);
}

.brand-logo {
    display: block;
    width: 190px;
    height: auto;
    mix-blend-mode: multiply;
}

.site-header > .header-inner > .brand {
    width: 190px;
    flex-basis: 190px;
}

.brand-mark {
    width: 40px;
    height: 34px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    margin-inline: auto;
    padding: 5px;
    background: #f1f5fa;
    border-radius: 10px;
}

.primary-nav > a,
.primary-nav-parent {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding-inline: 13px;
    color: #39434d;
    background: transparent;
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.primary-nav > a::after {
    display: none;
}

.primary-nav > a:hover,
.primary-nav-parent:hover {
    background: #fff;
}

.primary-nav > a.is-active {
    color: #fff;
    background: #075cde;
    box-shadow: 0 2px 6px rgba(7, 92, 222, 0.2);
}

.primary-nav-group {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 7px;
}

.primary-nav-parent-wrap {
    display: flex;
    align-items: center;
}

.primary-nav-parent-wrap .primary-nav-parent {
    padding-right: 3px;
}

.primary-nav-submenu-toggle {
    display: inline-flex;
    width: 29px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 6px 0 2px;
    color: inherit;
    background: transparent;
    border: 0;
    font: inherit;
}

.primary-nav-group:hover {
    background: #fff;
}

.primary-nav-parent .icon {
    transition: transform 160ms ease;
}

.primary-nav-group.is-open .primary-nav-submenu-toggle .icon,
.primary-nav-submenu-toggle[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.primary-nav-group.is-active,
.primary-nav-group.is-active:hover {
    color: #fff;
    background: #075cde;
    box-shadow: 0 2px 6px rgba(7, 92, 222, 0.2);
}

.primary-nav-group.is-active > .primary-nav-parent,
.primary-nav-group.is-active > .primary-nav-parent:hover,
.primary-nav-group.is-active .primary-nav-parent-wrap .primary-nav-parent,
.primary-nav-group.is-active .primary-nav-parent-wrap .primary-nav-parent:hover,
.primary-nav-group.is-active .primary-nav-submenu-toggle {
    color: #fff;
    background: transparent;
}

.primary-nav-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 50;
    display: none;
    width: 270px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(11, 31, 57, 0.16);
}

.primary-nav-group.is-open .primary-nav-submenu {
    display: grid;
}

.primary-nav-submenu-label {
    padding: 7px 10px 6px;
    color: #798696;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.primary-nav-submenu a,
.primary-nav-submenu a:hover,
.primary-nav-submenu a.is-active {
    display: grid;
    justify-items: start;
    height: auto;
    min-height: 0;
    padding: 10px;
    color: var(--navy);
    background: transparent;
    border-radius: 8px;
    white-space: normal;
}

.primary-nav-submenu a + a {
    margin-top: 2px;
}

.primary-nav-submenu a:hover,
.primary-nav-submenu a[aria-current="page"] {
    background: #eef4ff;
}

.primary-nav-submenu a span {
    font-size: 12px;
    font-weight: 700;
}

.primary-nav-submenu a small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
}

.primary-nav-submenu-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.external-link-icon {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    vertical-align: -1px;
}

@media (hover: hover) and (min-width: 1151px) {
    .primary-nav-group:hover .primary-nav-submenu-toggle .icon {
        transform: rotate(180deg);
    }

    .primary-nav-group:hover .primary-nav-submenu {
        display: grid;
    }

    .primary-nav-group::after {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        width: max(100%, 270px);
        height: 12px;
        content: "";
    }

    .primary-nav-group:hover::after {
        display: block;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 16px;
}

.social-follow {
    position: relative;
}

.social-follow-button {
    display: inline-flex;
    min-height: 38px;
    padding: 4px 7px 4px 3px;
    align-items: center;
    gap: 7px;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.social-follow-button:hover,
.social-follow-button[aria-expanded="true"] {
    background: #f2f6fb;
    box-shadow: none;
}

.social-follow-stack {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.social-follow-icon,
.social-follow-menu-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    border-radius: 50%;
}

.social-follow-icon {
    width: 27px;
    height: 27px;
}

.social-follow-icon + .social-follow-icon {
    margin-left: 0;
}

.social-follow-icon .icon {
    width: 17px;
    height: 17px;
    stroke-width: 2.2;
}

.social-follow-menu-icon .icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.social-follow-icon.is-facebook .icon,
.social-follow-menu-icon.is-facebook .icon {
    fill: currentColor;
    stroke: none;
}

.is-facebook {
    background: #1877f2;
}

.is-instagram {
    background: radial-gradient(circle at 28% 105%, #ffd600 0 22%, #ff7a00 34%, #ff0069 55%, #d300c5 74%, #7638fa 100%);
}

.social-follow-menu {
    position: absolute;
    z-index: 61;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: 260px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(11, 31, 57, 0.16);
}

.social-follow-menu[hidden] {
    display: none;
}

.social-follow-menu-label {
    padding: 7px 9px 6px;
    color: #798696;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.social-follow-menu a {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 7px 9px;
    color: var(--navy);
    border-radius: 9px;
}

.social-follow-menu a:hover {
    background: #eef4ff;
}

.social-follow-menu-icon {
    width: 32px;
    height: 32px;
}

.social-follow-menu a > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.social-follow-menu strong {
    font-size: 11px;
}

.social-follow-menu small {
    color: var(--muted);
    font-size: 8px;
    font-weight: 500;
}

.social-follow-menu a > .icon:last-child {
    color: var(--muted);
}

.language-picker {
    position: relative;
}

.country-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.country-button:hover,
.country-button[aria-expanded="true"] {
    background: var(--surface-muted);
}

.country-label-short {
    display: none;
}

.language-menu {
    position: absolute;
    z-index: 60;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: 250px;
    max-height: min(470px, calc(100vh - var(--header) - 24px));
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(11, 31, 57, 0.16);
}

.language-menu[hidden] {
    display: none;
}

.language-menu-label {
    padding: 7px 10px 6px;
    color: #798696;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.language-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 7px 10px;
    color: var(--navy);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 650;
}

.language-menu a:hover,
.language-menu a[aria-current="page"] {
    background: #eef4ff;
}

.language-current-icon {
    margin-left: auto;
    color: #075cde;
}

.flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.flag img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(7, 26, 62, 0.16));
}

.header-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.header-icon-link:hover {
    background: var(--surface-muted);
}

.login-link {
    padding: 8px 5px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    margin-left: auto;
}

.ai-header-button {
    min-height: 43px;
    padding-inline: 17px;
    border-radius: 13px;
    background: #092858;
}

/* Hero */
.hero {
    position: relative;
    min-height: 680px;
    color: #fff;
    background: #283a40;
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media {
    overflow: hidden;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 72%;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(11, 22, 30, 0.72) 0%, rgba(11, 22, 30, 0.4) 42%, rgba(11, 22, 30, 0.06) 72%),
        linear-gradient(0deg, rgba(14, 29, 35, 0.38), transparent 44%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: min(100%, var(--container));
    min-height: 600px;
    margin-inline: auto;
    padding: 74px 42px 80px;
}

.hero-copy {
    width: min(620px, 52%);
    padding-top: 30px;
}

.hero-copy h1 {
    max-width: 610px;
    font-size: clamp(48px, 4vw, 64px);
    font-weight: 700;
    letter-spacing: -0.045em;
}

.hero-copy > p {
    max-width: 570px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.65;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-bottom: 24px;
}

.hero-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.hero-benefits .icon {
    width: 24px;
    height: 24px;
    color: #fff;
    stroke: #fff;
    stroke-width: 2.1;
    filter: drop-shadow(0 1px 2px rgba(4, 13, 23, 0.38));
}

.watch-video {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.button-hero-cta {
    color: var(--ink);
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 17, 24, 0.18);
}

.button-hero-cta:hover {
    background: #f2f5f7;
}

.hero-catalog-cta {
    display: none;
}

.watch-video > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.hero-search {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(105px, 1fr)) auto;
    align-items: stretch;
    gap: 0;
    width: min(calc(100% - 56px), 1180px);
    min-height: 91px;
    margin: -44px auto 0;
    padding: 10px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(221, 227, 232, 0.85);
    border-radius: 13px;
    box-shadow: 0 18px 45px rgba(14, 32, 45, 0.18);
}

.search-intro {
    display: flex;
    align-items: center;
    gap: 11px;
    justify-content: center;
    padding: 0 9px;
    border-right: 1px solid var(--line);
}

.search-intro > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--navy);
    background: var(--navy-soft);
    border-radius: 8px;
}

.hero-search label {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    column-gap: 9px;
    padding: 5px 17px;
    border-right: 1px solid #edf0f2;
}

.hero-field-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}

.hero-field-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.hero-field-content > span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
}

.hero-search select {
    width: 100%;
    padding: 2px 20px 2px 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    outline-offset: 1px;
}

.hero-search .button {
    align-self: center;
    min-height: 61px;
    margin-left: 10px;
    padding-inline: 25px;
    font-size: 13px;
    white-space: nowrap;
}

.hero-search .button-accent {
    background: #075cde;
}

.hero-search .button-accent:hover {
    background: #064fc2;
}

/* Assistant */
.assistant-panel {
    display: flex;
    flex-direction: column;
    width: 340px;
    overflow: hidden;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(218, 225, 230, 0.9);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.assistant-panel.is-hidden {
    display: none;
}

.assistant-hero {
    width: 345px;
    margin-top: 35px;
}

.assistant-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 15px 12px;
    border-bottom: 1px solid #edf0f2;
}

.assistant-head > div {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.assistant-head strong {
    font-size: 12px;
}

.assistant-head span:not(.assistant-avatar) {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
    color: var(--muted);
    font-size: 9px;
}

.online-dot {
    width: 6px;
    height: 6px;
    background: #52a961;
    border-radius: 50%;
}

.assistant-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    background: transparent;
    border-radius: 50%;
}

.assistant-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.assistant-close {
    width: 30px;
    height: 30px;
    color: var(--muted);
}

.assistant-body {
    padding: 14px;
}

.chat-bubble {
    padding: 12px 14px;
    color: #34404c;
    background: var(--surface-muted);
    border-radius: 3px 12px 12px 12px;
    font-size: 11px;
    line-height: 1.55;
}

.chat-bubble.is-user {
    margin-left: 36px;
    color: #fff;
    background: var(--navy);
    border-radius: 12px 3px 12px 12px;
}

.assistant-body .chat-bubble + .chat-bubble,
.assistant-body .chat-bubble + .chat-suggestions {
    margin-top: 10px;
}

.chat-suggestions {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.chat-suggestions button {
    width: 100%;
    padding: 6px 9px;
    color: var(--navy);
    background: #fff;
    border: 1px solid #cbd9e8;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
}

.chat-suggestions button:hover {
    background: var(--navy-soft);
}

.hero-filter-actions {
    gap: 7px;
}

.hero-filter-action {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 8px 10px;
    color: var(--navy);
    background: #fff;
    border: 1px solid #cbd9e8;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hero-filter-action:hover {
    background: #eef4ff;
    border-color: #9bbcf0;
    transform: translateX(2px);
}

.hero-filter-action > .icon:last-child {
    color: var(--blue);
}

.hero-filter-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--blue);
    background: var(--navy-soft);
    border-radius: 8px;
}

.hero-filter-copy {
    display: grid;
    gap: 1px;
}

.hero-filter-copy strong {
    font-size: 12px;
}

.hero-filter-copy small {
    color: var(--muted);
    font-size: 11px;
}

.assistant-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 14px 14px;
    padding: 4px 4px 4px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
}

.assistant-input input {
    min-width: 0;
    flex: 1;
    height: 34px;
    background: transparent;
    border: 0;
    font-size: 10px;
    outline: none;
}

.assistant-input button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #fff;
    background: var(--navy);
    border: 0;
    border-radius: 6px;
}

.assistant-rail {
    position: static;
    width: 100%;
    border-radius: 15px;
    box-shadow: none;
}

.assistant-rail .assistant-body {
    max-height: none;
    overflow: visible;
    padding: 14px;
}

.assistant-rail .assistant-head strong {
    font-size: 14px;
}

.assistant-rail .assistant-head span:not(.assistant-avatar) {
    font-size: 11px;
}

.assistant-rail .assistant-avatar {
    width: 43px;
    height: 43px;
}

.assistant-rail .chat-bubble {
    padding: 12px 10px;
    background: #f0f4fa;
    border-radius: 14px;
    font-size: 11px;
}

.chat-capabilities {
    margin: 9px 0 0;
    padding-left: 17px;
    list-style: disc;
}

.chat-capabilities li + li {
    margin-top: 3px;
}

.assistant-rail .chat-suggestions {
    display: grid;
    gap: 7px;
    margin-top: 13px;
}

.assistant-rail .chat-suggestions button {
    width: 100%;
    padding: 6px 9px;
    border-color: #7fa5e5;
    border-radius: 18px;
    font-size: 10px;
    white-space: nowrap;
}

.assistant-rail .assistant-input {
    height: 40px;
    border-color: #dfe5ed;
    border-radius: 22px;
}

.assistant-rail .assistant-input input {
    font-size: 11px;
}

/* Trust strip */
.trust-strip {
    padding: 36px 28px 16px;
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(100%, var(--container));
    margin-inline: auto;
    padding: 24px 16px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 4px 16px;
    border-right: 0;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    color: var(--navy);
    background: transparent;
    border-radius: 0;
}

.trust-item > span .icon {
    width: 40px;
    height: 40px;
    stroke-width: 1.45;
}

.trust-item div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.trust-item strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
}

.trust-item small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
}

/* Cards */
.popular-section {
    padding-top: 32px;
    padding-bottom: 78px;
}

.popular-carousel {
    position: relative;
    min-width: 0;
}

.popular-carousel.is-animated {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
}

.popular-carousel.is-animated .house-grid {
    display: flex;
    width: max-content;
    gap: 20px;
}

.popular-carousel.is-animated .house-card {
    width: var(--popular-card-width);
    flex: 0 0 var(--popular-card-width);
}

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

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

.house-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 13px;
    box-shadow: 0 2px 8px rgba(22, 39, 56, 0.03);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.house-card:hover {
    border-color: #c5ced5;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.house-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8ecef;
}

.house-card-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.house-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.house-card:hover .house-card-media img {
    transform: scale(1.025);
}

.house-card-media.is-plan {
    background: #f7f8f7;
}

.house-card-media.is-plan img {
    padding: 7%;
    object-fit: contain;
}

.size-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    color: #fff;
    background: rgba(21, 29, 36, 0.84);
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
    backdrop-filter: blur(5px);
}

.plan-dimension {
    position: absolute;
    bottom: 11px;
    padding: 3px 6px;
    color: #4f5b64;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(203, 210, 216, 0.8);
    border-radius: 4px;
    font-size: 7px;
    font-weight: 700;
    backdrop-filter: blur(3px);
}

.plan-width {
    left: 11px;
}

.plan-depth {
    right: 11px;
}

.favorite-button {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0;
    color: #53606c;
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(21, 32, 44, 0.12);
}

.favorite-button.is-saved,
.favorite-detail.is-saved {
    color: var(--danger);
}

.favorite-button.is-saved .icon {
    fill: currentColor;
}

.house-card-body {
    padding: 14px 15px 13px;
}

.house-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.house-card-heading h3 {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.energy-badge {
    padding: 3px 7px;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
}

.house-specs {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 8px;
    color: var(--ink-soft);
}

.house-specs span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    white-space: nowrap;
}

.house-specs .icon {
    color: #5b6874;
}

.house-card-description {
    display: -webkit-box;
    margin: 11px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.house-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

.house-price small {
    color: var(--muted);
    font-size: 8px;
    font-weight: 500;
}

.house-price .energy-badge {
    margin-left: auto;
}

.house-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #edf0f2;
}

.compare-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 9px;
}

.compare-check input {
    width: 14px;
    height: 14px;
    accent-color: var(--navy);
}

/* References map */
.references-map-section {
    padding-top: 0;
    padding-bottom: 82px;
}

.references-map-banner {
    position: relative;
    display: block;
    min-height: 300px;
    overflow: hidden;
    color: var(--navy);
    background: #f4f8fa;
    border: 1px solid #d9e5ec;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(20, 39, 55, 0.08);
}

.references-map-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 300ms ease;
}

.references-map-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(248, 250, 252, 0.99) 0%, rgba(248, 250, 252, 0.94) 34%, rgba(248, 250, 252, 0.26) 62%, rgba(248, 250, 252, 0.02) 84%);
}

.references-map-copy {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 10px;
    width: min(520px, 48%);
    min-height: 300px;
    padding: 34px;
}

.references-map-copy .eyebrow {
    margin: 0;
    color: var(--blue);
}

.references-map-copy h2 {
    max-width: 470px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(32px, 3.2vw, 48px);
    letter-spacing: -.045em;
}

.references-map-copy p {
    max-width: 430px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.references-map-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    gap: 8px;
    min-height: 42px;
    margin-top: 5px;
    padding: 0 15px;
    color: #fff;
    background: var(--navy);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 750;
}

.references-map-banner:hover > img {
    transform: scale(1.015);
}

.references-map-banner:focus-visible {
    outline: 3px solid rgba(7, 92, 222, 0.32);
    outline-offset: 4px;
}

.results-reference-map {
    position: relative;
    display: flex;
    aspect-ratio: 1;
    overflow: hidden;
    align-items: flex-end;
    color: var(--navy);
    background: #f4f8fa;
    border: 1px solid #d9e5ec;
    border-radius: 15px;
    box-shadow: 0 7px 20px rgba(20, 39, 55, 0.08);
}

.results-reference-map > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
    transition: transform 260ms ease;
}

.results-reference-map-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(248, 250, 252, 0.99) 0%, rgba(248, 250, 252, 0.94) 38%, rgba(248, 250, 252, 0.16) 72%, rgba(248, 250, 252, 0.02) 100%);
}

.results-reference-map-copy {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 17px;
}

.results-reference-map-copy .eyebrow {
    color: var(--blue);
    font-size: 7px;
}

.results-reference-map-copy strong {
    max-width: 210px;
    font-size: 17px;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.results-reference-map-copy small {
    max-width: 210px;
    color: var(--ink-soft);
    font-size: 9px;
    line-height: 1.4;
}

.results-reference-map-cta {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 5px;
    margin-top: 3px;
    color: #075cde;
    font-size: 9px;
    font-weight: 750;
}

.results-reference-map:hover > img {
    transform: scale(1.025);
}

.results-reference-map:focus-visible {
    outline: 3px solid rgba(7, 92, 222, 0.3);
    outline-offset: 3px;
}

/* Norges Outdoor pergola feature */
.pergola-feature {
    padding-top: 2px;
    padding-bottom: 82px;
}

.pergola-feature-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 22px;
}

.pergola-feature-heading .eyebrow {
    margin-bottom: 7px;
    color: var(--blue);
}

.pergola-feature-heading h2 {
    margin: 0;
    color: var(--navy);
    letter-spacing: -0.035em;
}

.pergola-feature-heading p {
    max-width: 480px;
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 13px;
    text-align: right;
}

.pergola-banner {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--surface-muted);
    border: 1px solid #dce3eb;
    border-radius: 15px;
}

.pergola-banner > img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 1;
    object-fit: contain;
    transition: transform 300ms ease;
}

.pergola-banner:hover > img {
    transform: scale(1.006);
}

.pergola-banner:focus-visible {
    outline: 3px solid rgba(7, 92, 222, 0.35);
    outline-offset: 4px;
}

.pergola-mobile-copy {
    display: none;
}

/* Homepage news */
.home-news {
    padding-top: 88px;
    padding-bottom: 94px;
}

.home-news-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px) auto;
    align-items: end;
    gap: 30px;
    margin-bottom: 27px;
}

.home-news-heading .eyebrow {
    margin-bottom: 8px;
    color: var(--blue);
}

.home-news-heading h2 {
    max-width: 760px;
    margin: 0;
    color: var(--navy);
    letter-spacing: -0.045em;
}

.home-news-heading > p {
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.home-news-heading > .text-link {
    margin-bottom: 3px;
    white-space: nowrap;
}

.home-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 18px;
}

.home-news-card {
    display: block;
    overflow: hidden;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(20, 39, 70, 0.07);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.home-news-card:hover {
    box-shadow: 0 18px 48px rgba(20, 39, 70, 0.13);
    transform: translateY(-2px);
}

.home-news-media {
    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
}

.home-news-media img,
.home-news-compact-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.home-news-card:hover img {
    transform: scale(1.025);
}

.home-news-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 11px;
    color: #fff;
    background: rgba(7, 26, 62, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.home-news-feature {
    display: grid;
    grid-template-rows: minmax(280px, 1fr) auto;
}

.home-news-copy {
    display: grid;
    gap: 11px;
    padding: 23px 25px 24px;
}

.home-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.home-news-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.home-news-meta > span::before {
    width: 4px;
    height: 4px;
    content: "";
    background: var(--blue);
    border-radius: 50%;
}

.home-news-title {
    font-size: clamp(22px, 2.3vw, 31px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.home-news-excerpt {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.65;
}

.home-news-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
}

.home-news-read .icon {
    color: var(--blue);
}

.home-news-compact-list {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.home-news-compact {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
}

.home-news-compact-media {
    display: block;
    min-height: 100%;
    overflow: hidden;
}

.home-news-compact-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    padding: 18px;
}

.home-news-compact .home-news-title {
    font-size: 16px;
    line-height: 1.35;
}

.home-news-compact .home-news-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-news-compact .home-news-read {
    margin-top: auto;
}

@media (max-width: 1100px) {
    .home-news-heading {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .home-news-heading > p {
        display: none;
    }

    .home-news-layout {
        grid-template-columns: 1fr;
    }

    .home-news-compact-list {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }
}

@media (max-width: 680px) {
    .home-news {
        padding-top: 64px;
        padding-bottom: 72px;
    }

    .home-news-heading {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-news-heading > .text-link {
        margin: 0;
    }

    .home-news-media {
        min-height: 220px;
    }

    .home-news-copy {
        padding: 20px;
    }

    .home-news-compact-list {
        grid-template-columns: 1fr;
    }

    .home-news-compact {
        grid-template-columns: 100px minmax(0, 1fr);
        min-height: 148px;
    }

    .home-news-compact-copy {
        padding: 15px;
    }

    .home-news-compact .home-news-excerpt {
        display: none;
    }
}

@keyframes homeReveal {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes homeImageSettle {
    from {
        opacity: .72;
        transform: scale(1.035);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes homeCardEnter {
    from {
        opacity: 0;
        transform: translate3d(0, 15px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.page-home .hero-media img {
    animation: homeImageSettle 1.25s cubic-bezier(.2, .72, .2, 1) both;
}

.page-home .hero-copy > * {
    animation: homeReveal 720ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-home .hero-copy > :nth-child(2) {
    animation-delay: 90ms;
}

.page-home .hero-copy > :nth-child(3) {
    animation-delay: 180ms;
}

.page-home .hero-copy > :nth-child(4) {
    animation-delay: 270ms;
}

.page-home .hero-copy > :nth-child(5) {
    animation-delay: 360ms;
}

.page-home .assistant-hero {
    animation: homeReveal 650ms 420ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-home .hero-search {
    animation: homeReveal 620ms 360ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-home.has-home-motion .popular-carousel {
    opacity: 0;
    transform: translate3d(0, 15px, 0);
}

.page-home.has-home-motion .popular-carousel.is-visible {
    animation: homeCardEnter 620ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-home .button .icon,
.page-home .house-card .text-link .icon {
    transition: transform 180ms ease;
}

.page-home .button:hover .icon,
.page-home .house-card:hover .text-link .icon {
    transform: translateX(3px);
}

/* Home story */
.home-story {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
    padding-top: 75px;
    padding-bottom: 90px;
    background: var(--surface-muted);
    box-shadow: 0 0 0 100vmax var(--surface-muted);
    clip-path: inset(0 -100vmax);
}

.story-photo {
    position: relative;
}

.story-photo > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.story-stat {
    position: absolute;
    right: -24px;
    bottom: -25px;
    display: flex;
    flex-direction: column;
    width: 175px;
    padding: 20px;
    color: #fff;
    background: var(--navy);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.story-stat strong {
    font-size: 30px;
}

.story-stat span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
}

.story-copy h2 {
    max-width: 520px;
    font-size: clamp(32px, 3vw, 46px);
    letter-spacing: -0.04em;
}

.story-copy > p {
    max-width: 520px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 15px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
}

.check-list .icon {
    color: var(--green);
}

.home-story .eyebrow-dark,
.home-story .check-list .icon {
    color: var(--blue);
}

/* Journey + results */
.journey-stepper {
    padding: 0 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.journey-stepper ol {
    display: flex;
    align-items: center;
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 12px 2px;
    list-style: none;
}

.step-progress-track {
    display: none;
}

.journey-stepper li {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    gap: 7px;
    min-width: 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.25;
}

.step-connector {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 9px;
    color: #9ca9b8;
}

.step-connector .icon {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}

.journey-stepper li:last-child {
    flex: 0 0 auto;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
}

.journey-stepper .is-active {
    color: var(--navy);
    font-weight: 750;
}

.journey-stepper .is-active .step-number {
    color: #fff;
    background: #075cde;
    border-color: #075cde;
}

.journey-stepper .is-complete .step-number {
    color: #fff;
    background: #075cde;
    border-color: #075cde;
}

.results-page {
    padding: 16px 10px 18px;
    background: var(--surface-muted);
}

.results-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
    width: min(100%, 1500px);
    margin-inline: auto;
}

.results-sidebar,
.results-rail {
    position: sticky;
    top: calc(var(--header) + 18px);
}

.results-sidebar {
    align-self: start;
}

.results-rail {
    display: grid;
    gap: 14px;
}

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

@keyframes listingRevealUp {
    from {
        opacity: 0;
        translate: 0 16px;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes listingRevealLeft {
    from {
        opacity: 0;
        translate: -18px 0;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes listingRevealRight {
    from {
        opacity: 0;
        translate: 18px 0;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

.page-results .results-heading {
    animation: listingRevealUp 650ms 80ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-results .results-sidebar .filter-panel {
    animation: listingRevealLeft 650ms 140ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-results .results-toolbar {
    animation: listingRevealUp 560ms 200ms cubic-bezier(.2, .72, .2, 1) both;
}

html.listing-motion-ready .page-results .house-grid-results .house-card {
    opacity: 0;
    translate: 0 16px;
}

html.listing-motion-ready .page-results .house-grid-results .house-card.is-revealed {
    animation: listingRevealUp 560ms cubic-bezier(.2, .72, .2, 1) var(--listing-delay, 0ms) both;
}

.page-results .results-rail > * {
    animation: listingRevealRight 620ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-results .results-rail > :nth-child(1) {
    animation-delay: 320ms;
}

.page-results .results-rail > :nth-child(2) {
    animation-delay: 405ms;
}

.page-results .results-rail > :nth-child(3) {
    animation-delay: 490ms;
}

.page-results .results-rail > :nth-child(4) {
    animation-delay: 575ms;
}

.results-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px;
    align-items: center;
}

.results-heading h1 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 27px;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.results-heading .eyebrow {
    color: #475569;
}

.result-number {
    color: var(--blue);
}

.results-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.results-heading p strong {
    color: var(--ink-soft);
}

.save-search {
    flex: 0 0 auto;
    margin-top: 2px;
    min-height: 36px;
    padding-inline: 17px;
    color: #064ab2;
    border-color: #7da5e8;
    border-radius: 20px;
}

.results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    margin: 20px 0 22px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.filter-pills {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
    display: none;
}

.filter-pills a {
    padding: 9px 15px;
    color: var(--ink-soft);
    border-radius: 18px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.filter-pills a:hover {
    background: var(--surface-muted);
}

.filter-pills a.is-active {
    color: #fff;
    background: #075cde;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
}

.view-switch {
    display: flex;
    padding: 2px;
    background: #eef2f7;
    border-radius: 18px;
}

.view-switch a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 10px;
    color: var(--muted);
    border-radius: 16px;
    font-size: 10px;
    font-weight: 600;
}

.view-switch a.is-active {
    color: var(--navy);
    background: #fff;
    box-shadow: 0 1px 4px rgba(20, 37, 55, 0.12);
}

.sort-select {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: 12px;
}

.sort-select select {
    min-width: 135px;
    max-width: 145px;
    height: 38px;
    padding: 8px 12px;
    color: var(--ink);
    background: transparent;
    border: 1px solid #e1e6ed;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    outline: none;
}

.filter-drawer-button {
    display: none;
}

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

.house-grid-results .house-card {
    border-radius: 13px;
}

.house-grid-results .size-badge {
    top: 9px;
    left: 11px;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 12px;
}

.house-grid-results .house-card-media {
    height: auto;
    aspect-ratio: 4 / 3;
}

.house-grid-results .house-card-body {
    padding: 9px 14px 12px;
}

.house-grid-results .house-card-heading h3 {
    font-size: 16px;
}

.house-grid-results .house-specs {
    gap: 11px;
    margin-top: 8px;
}

.house-grid-results .house-specs span {
    font-size: 10px;
}

.house-grid-results .house-price {
    margin-top: 8px;
    font-size: 17px;
}

.house-grid-results .house-card-actions {
    margin-top: 10px;
    padding-top: 0;
    border-top: 0;
}

.house-grid-results .text-link {
    min-height: 32px;
    padding: 7px 13px;
    border: 1px solid #7fa5e5;
    border-radius: 9px;
    color: #0754c8;
    font-size: 11px;
}

.house-grid-results .energy-badge {
    color: #fff;
    background: #07814b;
    border-radius: 6px;
    padding: 3px 7px;
    font-size: 10px;
}

.house-grid-results .house-card-description {
    font-size: 11px;
    line-height: 1.35;
}

.house-grid-results .compare-check {
    font-size: 10px;
}

.house-grid-results .house-price small {
    font-size: 9px;
}

.house-grid-plans .house-card-media {
    height: auto;
    aspect-ratio: 4 / 3;
}

/* Filters */
.filter-panel {
    padding: 18px 15px 15px;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(27, 53, 82, 0.04);
}

.filter-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.filter-panel-head h2 {
    margin: 0;
    font-size: 14px;
}

.filter-group {
    margin-bottom: 13px;
}

.filter-group > label,
.filter-group legend {
    display: block;
    margin-bottom: 5px;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 700;
}

.filter-group select,
.select-label select {
    width: 100%;
    height: 44px;
    padding: 0 32px 0 10px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(16, 39, 72, 0.03);
    outline: none;
}

.filter-group select:focus,
.select-label select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(23, 50, 93, 0.08);
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.range-values {
    display: flex;
    justify-content: space-between;
    gap: 7px;
    margin-bottom: 3px;
    color: var(--navy);
    font-size: 9px;
    font-weight: 700;
}

.range-values span {
    color: var(--muted);
    font-weight: 500;
}

.dual-range {
    position: relative;
    height: 22px;
}

.dual-range::before {
    position: absolute;
    top: 9px;
    right: 3px;
    left: 3px;
    height: 3px;
    background: #dfe5ea;
    border-radius: 999px;
    content: "";
}

.dual-range input {
    position: absolute;
    z-index: 2;
    top: 3px;
    left: 0;
    width: 100%;
    margin: 0;
    pointer-events: none;
    appearance: none;
    background: transparent;
}

.dual-range input::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    pointer-events: auto;
    appearance: none;
    background: var(--navy);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--navy);
}

.dual-range input::-moz-range-thumb {
    width: 10px;
    height: 10px;
    pointer-events: auto;
    background: var(--navy);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--navy);
}

.range-caption {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 8px;
}

.more-panel {
    margin-top: 12px;
    padding: 18px 15px 15px;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(27, 53, 82, 0.04);
}

.more-panel > h2 {
    margin-bottom: 11px;
    font-size: 14px;
    font-weight: 750;
}

.more-rows {
    display: grid;
}

.more-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 2px;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 11px;
    text-align: left;
}

.more-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    margin-top: 16px;
    color: #0751c5;
    border: 1px solid #1260dc;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
    color: var(--ink-soft);
    font-size: 12px;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--navy);
}

.filter-checks {
    display: grid;
    gap: 7px;
    margin: 4px 0 12px;
    padding: 3px 0;
    border-top: 0;
    border-bottom: 0;
}

.filter-actions {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

.filter-actions .button {
    min-height: 40px;
    color: #0751c5;
    background: #fff;
    border-color: #1260dc;
    border-radius: 12px;
    box-shadow: none;
    font-size: 12px;
}

.filter-actions .button:hover {
    background: #f5f9ff;
}

.filter-actions .subtle-button {
    width: 100%;
    min-height: 42px;
    color: #0751c5;
    border-color: #1260dc;
    border-radius: 12px;
}

/* Right rail */
.side-card {
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.side-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.side-card h2 {
    margin: 0;
    font-size: 13px;
}

.side-card h2 span {
    margin-left: 4px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
}

.compare-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 9px;
}

.compare-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 103px;
    flex-direction: column;
    color: #a3adb5;
    background: var(--surface-soft);
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}

.compare-slot b {
    margin-bottom: 7px;
    color: #075bdd;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.compare-slot small {
    font-size: 10px;
    font-weight: 400;
}

.compare-slot.has-house {
    overflow: hidden;
    border-style: solid;
}

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

.compare-panel .button {
    min-height: 34px;
    font-size: 9px;
}

.next-card h2 {
    margin-bottom: 12px;
}

.next-steps {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: next;
}

.next-steps li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.45;
    counter-increment: next;
}

.next-steps li::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    color: #fff;
    background: #233955;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    content: counter(next);
}

.next-steps li > div {
    min-width: 0;
}

.next-steps strong {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
}

.next-steps span {
    display: block;
    color: #4f5c72;
    font-size: 11px;
    line-height: 1.4;
}

/* Results drawers / pagination */
.drawer-backdrop {
    position: fixed;
    z-index: 160;
    inset: 0;
    background: rgba(13, 24, 36, 0.46);
    backdrop-filter: blur(2px);
}

.filter-drawer {
    position: fixed;
    z-index: 170;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(390px, 92vw);
    overflow-y: auto;
    padding: 18px;
    background: var(--surface-muted);
    transform: translateX(-105%);
    transition: transform 220ms ease;
}

.filter-drawer.is-open {
    transform: none;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.drawer-head h2 {
    margin: 0;
    font-size: 19px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 27px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 33px;
    height: 33px;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
}

.pagination a.is-active {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.empty-state {
    padding: 70px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.empty-state > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    color: var(--navy);
    background: var(--navy-soft);
    border-radius: 50%;
}

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

/* Detail */
.detail-page {
    padding: 22px 0 75px;
    background: var(--surface-muted);
}

.detail-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 325px;
    gap: 20px;
    align-items: start;
    width: min(calc(100% - 44px), 1280px);
    margin-inline: auto;
}

.detail-sidebar,
.configurator-rail {
    position: sticky;
    top: calc(var(--header) + 18px);
}

.detail-search-summary,
.detail-result-list {
    padding: 13px;
    background: #fff;
    border: 1px solid var(--line);
}

.detail-search-summary {
    margin-bottom: 10px;
    border-radius: 8px 8px 0 0;
}

.detail-search-summary .filter-panel-head {
    margin-bottom: 8px;
}

.detail-search-summary p {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 9px;
}

.detail-search-summary .filter-group {
    margin-bottom: 9px;
}

.detail-search-summary .filter-group > label {
    font-size: 10px;
}

.detail-search-summary .filter-group select {
    height: 38px;
    padding-left: 10px;
    font-size: 11px;
}

.detail-search-summary .filter-grid {
    gap: 6px;
}

.detail-search-summary .button {
    min-height: 34px;
    margin-top: 8px;
    color: #075cde;
    background: #fff;
    border: 1px solid #1260dc;
    border-radius: 10px;
    box-shadow: none;
    font-size: 10px;
}

.detail-search-summary .filter-checkbox {
    margin-top: 7px;
    font-size: 8px;
}

.detail-search-summary .text-link {
    font-size: 9px;
}

.detail-result-list {
    max-height: 690px;
    overflow: auto;
    padding-top: 0;
    border-top: 0;
    border-radius: 0 0 8px 8px;
}

.koia-collection-card {
    margin-bottom: 10px;
    padding: 16px;
    border-radius: 8px;
}

.koia-collection-card .eyebrow {
    margin-bottom: 7px;
    color: var(--blue);
    font-size: 8px;
}

.koia-collection-card h2 {
    margin: 0 0 7px;
    font-size: 15px;
}

.koia-collection-card p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}

.list-heading {
    position: sticky;
    z-index: 2;
    top: 0;
    padding: 10px 0 9px;
    background: #fff;
    border-bottom: 1px solid #edf0f2;
    font-size: 9px;
}

.mini-house {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 -13px;
    padding: 9px 13px;
    border-bottom: 1px solid #f0f2f4;
}

.mini-house:hover {
    background: var(--surface-soft);
}

.mini-house.is-active {
    background: var(--navy-soft);
    box-shadow: inset 3px 0 var(--navy);
}

.mini-house img {
    width: 53px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 4px;
}

.mini-house > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.mini-house strong {
    font-size: 12px;
}

.mini-house small {
    overflow: hidden;
    color: var(--muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-main {
    min-width: 0;
}

@keyframes detailImageSettle {
    from {
        opacity: .78;
        scale: 1.035;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

.page-detail .journey-stepper {
    animation: listingRevealUp 500ms 20ms ease both;
}

.page-detail .detail-search-summary {
    animation: listingRevealLeft 620ms 80ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-detail .detail-result-list {
    animation: listingRevealLeft 620ms 180ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-detail .detail-gallery {
    animation: listingRevealUp 620ms 120ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-detail .gallery-stage > img {
    animation: detailImageSettle 900ms 180ms ease both;
}

.page-detail .detail-title-row {
    animation: listingRevealUp 600ms 280ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-detail .detail-spec-row {
    animation: listingRevealUp 580ms 360ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-detail .detail-actions {
    animation: listingRevealUp 540ms 440ms ease both;
}

.page-detail .detail-tabs {
    animation: listingRevealUp 580ms 520ms ease both;
}

.page-detail .configurator-rail > * {
    animation: listingRevealRight 620ms cubic-bezier(.2, .72, .2, 1) both;
}

.page-detail .configurator-rail > :nth-child(1) {
    animation-delay: 220ms;
}

.page-detail .configurator-rail > :nth-child(2) {
    animation-delay: 320ms;
}

.page-detail .configurator-rail > :nth-child(3) {
    animation-delay: 420ms;
}

.detail-gallery {
    padding: 4px;
    overflow: visible;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 6px 16px rgba(10, 31, 49, 0.07);
}

.gallery-stage {
    position: relative;
    aspect-ratio: 16 / 8.6;
    overflow: hidden;
    background: #dde2e4;
    border-radius: 18px;
}

.gallery-stage > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-roof-switch {
    position: absolute;
    z-index: 4;
    top: 14px;
    right: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 11px;
    box-shadow: 0 7px 24px rgba(12, 38, 59, 0.2);
    backdrop-filter: blur(10px);
}

.gallery-roof-switch a {
    min-width: 72px;
    padding: 8px 11px;
    color: #566574;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.gallery-roof-switch a.is-active,
.gallery-roof-switch a[aria-pressed="true"] {
    color: #fff;
    background: var(--navy);
}

@media (max-width: 680px) {
    .gallery-roof-switch {
        top: auto;
        right: auto;
        bottom: 9px;
        left: 50%;
        padding: 3px;
        border-radius: 999px;
        transform: translateX(-50%);
    }

    .gallery-roof-switch a {
        min-width: 0;
        padding: 8px 13px;
        border-radius: 999px;
    }

    .gallery-count {
        top: 12px;
        bottom: auto;
    }
}

.gallery-stage::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(8, 15, 20, 0.2), transparent 32%);
    content: "";
}

.gallery-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #fff;
    background: rgba(17, 28, 37, 0.44);
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(4px);
}

.gallery-arrow.is-prev {
    left: 14px;
}

.gallery-arrow.is-next {
    right: 14px;
}

.gallery-count {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    padding: 4px 7px;
    color: #fff;
    background: rgba(13, 24, 33, 0.72);
    border-radius: 4px;
    font-size: 8px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(var(--gallery-count, 7), minmax(68px, 110px));
    gap: 5px;
    justify-content: start;
    padding: 6px 2px 1px;
}

.gallery-thumbs button {
    overflow: hidden;
    aspect-ratio: 1.15;
    padding: 0;
    background: var(--surface-muted);
    border: 2px solid transparent;
    border-radius: 12px;
    opacity: 0.72;
}

.gallery-thumbs button.is-active {
    border-color: var(--navy);
    opacity: 1;
}

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

.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 2px 17px;
}

.detail-title-row h1 {
    margin: 0 0 7px;
    font-size: clamp(30px, 2.3vw, 40px);
}

.detail-title-row p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.detail-kicker {
    color: #075cde;
}

.favorite-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 8px 10px;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-size: 9px;
}

.detail-spec-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    margin-bottom: 13px;
    padding: 8px 0 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.detail-spec-row > span {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 5px 16px;
    text-align: center;
}

.detail-spec-row > span:last-child {
    border-right: 0;
}

.detail-spec-row .icon {
    width: 29px;
    height: 29px;
    margin-bottom: 7px;
    color: var(--navy);
    stroke-width: 1.65;
}

.detail-spec-row strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.15;
}

.detail-spec-row small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.3;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.detail-actions .button {
    color: var(--ink-soft);
}

.detail-tabs {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.tab-list {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}

.tab-list::-webkit-scrollbar {
    display: none;
}

.tab-list button {
    position: relative;
    padding: 14px 11px 12px;
    color: var(--muted);
    background: transparent;
    border: 0;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.tab-list button::after {
    position: absolute;
    right: 9px;
    bottom: 0;
    left: 9px;
    height: 2px;
    background: var(--navy);
    content: "";
    opacity: 0;
}

.tab-list button.is-active {
    color: var(--navy);
}

.tab-list button.is-active::after {
    opacity: 1;
}

.detail-tab-panel {
    padding: 18px;
}

.tab-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.tab-title-row h2 {
    margin: 0;
    font-size: 15px;
}

.tab-title-row .button {
    min-height: 32px;
    font-size: 8px;
}

.floor-plan-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 14px;
}

.floor-plan-image {
    padding: 8px;
    background: #f7f8f7;
    border: 1px solid #e9ece9;
    border-radius: 5px;
}

.floor-plan-image img {
    width: 100%;
    min-height: 260px;
    object-fit: contain;
}

.floor-plan-multi {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.floor-plan-multi figure {
    min-width: 0;
    margin: 0;
}

.floor-plan-multi figcaption {
    margin-top: 5px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.koia-plan-note p {
    color: var(--muted);
    line-height: 1.55;
}

.koia-quote-card {
    padding: 18px;
}

.koia-quote-card .eyebrow {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 8px;
}

.koia-quote-card h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.koia-quote-card p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.koia-quote-card .text-link {
    margin-top: 12px;
    font-size: 9px;
}

.room-list {
    font-size: 11px;
}

.room-list h3 {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.room-list > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 1px;
    color: var(--ink-soft);
    border-bottom: 1px solid #f0f2f3;
}

.room-list > div strong {
    color: var(--ink);
    font-size: 10px;
}

.room-list > .room-total {
    margin-top: 5px;
    color: var(--navy);
    border-bottom: 0;
    font-weight: 700;
}

.placeholder-panel {
    min-height: 280px;
    padding: 40px;
}

.placeholder-panel h2 {
    max-width: 500px;
}

.placeholder-panel p {
    max-width: 600px;
    color: var(--muted);
}

.overview-panel {
    min-height: 0;
    padding: 30px;
}

.overview-panel h2 {
    max-width: 560px;
}

.overview-panel p {
    max-width: 690px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
}

.contact-panel-heading,
.share-panel-heading {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-panel-heading > span,
.share-panel-heading > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--blue);
    background: var(--navy-soft);
    border-radius: 10px;
}

.contact-panel-heading h2,
.share-panel-heading h2 {
    margin: 0 0 5px;
    font-size: clamp(24px, 2.2vw, 31px);
    letter-spacing: -.035em;
}

.contact-panel-heading p,
.share-panel-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.contact-form-message {
    margin-bottom: 13px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.45;
}

.contact-form-message.is-success {
    color: #22613c;
    background: #edf8f1;
    border: 1px solid #b9ddc5;
}

.contact-form-message.is-error {
    color: #8a3339;
    background: #fff4f4;
    border: 1px solid #ebc6c9;
}

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

.contact-offer-summary {
    padding: 10px 11px;
    color: var(--ink-soft);
    background: #f2f7ff;
    border: 1px solid #d8e5f7;
    border-radius: 9px;
}

.contact-offer-summary [hidden] {
    display: none !important;
}

.contact-offer-summary-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.contact-offer-summary-head strong {
    color: var(--navy);
    font-size: 10px;
}

.contact-offer-summary-head span,
.contact-offer-summary > p {
    color: var(--muted);
    font-size: 8px;
    font-weight: 500;
}

.contact-offer-summary dl {
    display: grid;
    gap: 4px;
    margin: 0;
}

.contact-offer-summary dl > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.contact-offer-summary dt {
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
}

.contact-offer-summary dd {
    margin: 0;
    color: var(--ink);
    font-size: 9px;
    font-weight: 700;
    text-align: right;
}

.contact-offer-summary ul {
    display: grid;
    justify-items: end;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-offer-summary li {
    position: relative;
    padding-left: 12px;
    font-size: 9px;
    line-height: 1.4;
    text-align: left;
}

.contact-offer-summary li::before {
    position: absolute;
    top: .52em;
    left: 0;
    width: 3px;
    height: 3px;
    content: "";
    background: #075cde;
    border-radius: 50%;
}

.contact-offer-summary small,
.contact-offer-summary > p {
    color: var(--muted);
    font-size: 8px;
    font-weight: 500;
}

.contact-offer-summary > p {
    margin: 7px 0 0;
    line-height: 1.4;
}

.contact-offer-total {
    margin-top: 4px;
    padding-top: 7px;
    border-top: 1px solid #d8e5f7;
}

.contact-offer-total dd strong {
    color: var(--navy);
    font-size: 12px;
}

.contact-field {
    display: grid;
    gap: 5px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
}

.contact-field > span small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 9px 10px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.4;
}

.contact-field textarea {
    resize: vertical;
    min-height: 112px;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--blue);
}

.contact-field > small,
.contact-field-error {
    margin: 0;
    color: var(--danger);
    font-size: 10px;
    line-height: 1.35;
}

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

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 9px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

.contact-consent input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 1px;
    accent-color: var(--blue);
}

.contact-consent a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

.share-platform {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-height: 52px;
    padding: 8px 10px;
    color: var(--navy);
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 11px;
    text-align: left;
    text-decoration: none;
}

.share-platform:hover {
    background: var(--navy-soft);
    border-color: #a9bfdf;
}

.share-platform > span {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    color: var(--blue);
    background: #fff;
    border-radius: 8px;
}

.share-url {
    margin: 10px 0 0 !important;
    padding: 9px 10px;
    overflow-wrap: anywhere;
    color: var(--muted) !important;
    background: var(--surface-muted);
    border-radius: 7px;
    font-size: 10px !important;
}

.other-views {
    margin-top: 17px;
}

.other-views .tab-title-row > span {
    color: var(--muted);
    font-size: 9px;
}

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

.other-view-grid button {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    padding: 0;
    background: #e9ecef;
    border: 0;
    border-radius: 12px;
}

.other-view-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.other-view-grid button:hover img {
    transform: scale(1.025);
}

/* Koia features */
.koia-features-section {
    margin-top: 20px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.koia-features-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
    align-items: end;
    gap: 22px;
    margin-bottom: 14px;
}

.koia-features-heading .eyebrow {
    margin: 0 0 7px;
    color: var(--blue);
}

.koia-features-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(27px, 3vw, 36px);
    letter-spacing: -.045em;
}

.koia-features-heading > p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.koia-features-main {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 9px;
}

.koia-features-photos {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 7px;
    min-height: 330px;
}

.koia-features-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
}

.koia-feature-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.koia-feature-fact {
    display: grid;
    align-content: start;
    min-height: 104px;
    padding: 12px;
    background: var(--surface-muted);
    border-radius: 10px;
}

.koia-feature-fact > span {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    margin-bottom: 9px;
    color: var(--blue);
    background: #fff;
    border-radius: 8px;
}

.koia-feature-fact strong {
    display: block;
    margin-bottom: 3px;
    color: var(--navy);
    font-size: 11px;
}

.koia-feature-fact small {
    color: var(--muted);
    font-size: 10px;
}

.koia-features-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 9px;
}

.koia-feature-availability,
.koia-factory-package {
    padding: 14px;
    background: var(--surface-muted);
    border-radius: 11px;
}

.koia-feature-availability h3,
.koia-factory-package h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 12px;
}

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

.koia-feature-columns > div > strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink-soft);
    font-size: 10px;
}

.koia-feature-list {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.koia-feature-list li {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--ink-soft);
    font-size: 10px;
}

.koia-feature-list.is-included .icon {
    color: var(--green);
}

.koia-feature-list.is-excluded .icon {
    color: var(--danger);
}

.koia-factory-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.koia-factory-list span {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    color: var(--ink-soft);
    font-size: 10px;
    line-height: 1.35;
}

.koia-factory-list .icon {
    flex: 0 0 auto;
    color: var(--green);
}

.koia-factory-package > p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

/* Scope of delivery */
.scope-delivery-section {
    display: block;
    margin-top: 20px;
}

.scope-delivery-content {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.scope-delivery-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
}

.scope-delivery-content h2 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: -.045em;
}

.scope-delivery-summary {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

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

.scope-delivery-card {
    min-height: 112px;
    padding: 12px;
    background: var(--surface-muted);
    border-radius: 10px;
}

.scope-delivery-card > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    color: var(--blue);
    background: #fff;
    border-radius: 8px;
}

.scope-delivery-card h3 {
    margin: 0 0 4px;
    color: var(--navy);
    font-size: 11px;
}

.scope-delivery-card p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.42;
}

.scope-delivery-exclusions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    margin-top: 10px;
    padding: 12px;
    color: #6d3940;
    background: #fff6f6;
    border: 1px solid #efd2d5;
    border-radius: 10px;
}

.scope-delivery-exclusions > span {
    color: var(--danger);
}

.scope-delivery-exclusions strong {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
}

.scope-delivery-exclusions p {
    margin: 0;
    font-size: 10px;
    line-height: 1.42;
}

.scope-delivery-note {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.4;
}

.scope-delivery-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
}

.scope-delivery-actions .button {
    width: 100%;
    padding-inline: 9px;
    font-size: 11px;
}

.configurator-rail {
    display: grid;
    gap: 12px;
}

.configurator {
    padding: 15px;
}

.config-step {
    color: var(--muted);
    font-size: 7px;
}

.config-group {
    min-width: 0;
    margin: 0 0 13px;
    padding: 0;
    border: 0;
}

.config-group legend {
    width: 100%;
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 700;
}

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

.config-photo-option {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
}

.config-photo-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.config-photo-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--surface-muted);
    border: 1px solid var(--line-strong);
    border-radius: 7px;
}

.config-photo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.config-photo-option:hover .config-photo-media img {
    transform: scale(1.035);
}

.config-photo-option > input:checked + .config-photo-media {
    border: 2px solid #075cde;
}

.config-photo-option > input:focus-visible + .config-photo-media {
    outline: 3px solid rgba(7, 92, 222, 0.24);
    outline-offset: 2px;
}

.config-photo-check {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #fff;
    background: #075cde;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(7, 26, 62, 0.2);
}

.config-photo-option > input:checked + .config-photo-media .config-photo-check {
    display: flex;
}

.config-photo-copy {
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}

.config-photo-copy strong {
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 650;
    line-height: 1.3;
}

.config-photo-copy small {
    margin-top: 2px;
    color: #075cde;
    font-size: 8px;
    font-weight: 600;
}

.config-photo-option.is-wide {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 10px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.config-photo-option.is-wide:has(input:checked) {
    background: #f4f8ff;
    border-color: #075cde;
}

.config-photo-option.is-wide .config-photo-media {
    aspect-ratio: 1.35;
    border-radius: 5px;
}

.config-photo-option.is-wide .config-photo-check {
    top: 4px;
    right: 4px;
    width: 19px;
    height: 19px;
}

.config-photo-option.is-wide .config-photo-copy {
    padding: 0;
}

.config-photo-option.is-wide .config-photo-copy strong {
    font-size: 10px;
}

.config-photo-option.is-wide .config-photo-copy small {
    font-size: 9px;
}

.config-photo-option.is-wide .config-photo-check {
    display: none !important;
}

.config-toggle-box {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: transparent;
    background: #fff;
    border: 1px solid #aebbc7;
    border-radius: 4px;
}

.config-photo-option.is-wide input:checked ~ .config-toggle-box {
    color: #fff;
    background: #075cde;
    border-color: #075cde;
}

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

.swatch-grid label {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.swatch-grid input,
.segmented-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.swatch {
    position: relative;
    display: block;
    height: 35px;
    margin-bottom: 4px;
    overflow: hidden;
    border: 1px solid #cbd2d8;
    border-radius: 4px;
}

.swatch::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0;
    background:
        linear-gradient(135deg, transparent 42%, #fff 42% 52%, transparent 52%),
        linear-gradient(45deg, transparent 42%, #fff 42% 52%, transparent 52%);
}

.swatch-wood {
    background: repeating-linear-gradient(90deg, #aa7650 0 11px, #bf8b5e 11px 23px);
}

.swatch-white {
    background: #f2f0ea;
}

.swatch-dark {
    background: repeating-linear-gradient(90deg, #303c43 0 11px, #404d54 11px 23px);
}

.swatch-grid input:checked + .swatch {
    border: 2px solid var(--teal);
}

.swatch-grid input:checked + .swatch::after {
    opacity: 1;
}

.swatch-grid label > span:last-child {
    display: flex;
    flex-direction: column;
    color: var(--ink-soft);
    font-size: 9px;
    line-height: 1.3;
}

.swatch-grid label small {
    color: var(--muted);
    font-size: 7px;
}

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

.material-options label {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.material-options input,
.terrace-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.material-swatch {
    position: relative;
    display: block;
    height: 28px;
    margin-bottom: 4px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
}

.material-metal {
    background: repeating-linear-gradient(90deg, #8f918d 0 4px, #a6a8a3 4px 8px);
}

.material-tile {
    background:
        linear-gradient(145deg, transparent 45%, #d0c8bb 45% 53%, transparent 53%),
        repeating-linear-gradient(90deg, #9e6b52 0 13px, #845640 13px 26px);
    background-size: 18px 14px;
}

.material-epdm {
    background: #333a3c;
}

.material-options input:checked + .material-swatch {
    border: 2px solid var(--teal);
    box-shadow: 0 0 0 2px rgba(17, 138, 163, 0.1);
}

.material-options label > span:last-child {
    display: flex;
    flex-direction: column;
    color: var(--ink-soft);
    font-size: 9px;
    line-height: 1.25;
}

.material-options small {
    color: var(--muted);
    font-size: 7px;
}

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

.segmented-options span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 30px;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.15;
}

.segmented-options small {
    color: var(--muted);
    font-size: 7px;
    font-weight: 500;
}

.segmented-options input:checked + span {
    color: var(--navy);
    background: var(--navy-soft);
    border-color: var(--navy);
}

.select-label {
    display: block;
}

.select-label select {
    height: 32px;
    font-size: 8px;
}

.terrace-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    cursor: pointer;
}

.terrace-option:has(input:checked) {
    background: var(--navy-soft);
    border-color: var(--navy);
}

.terrace-option img {
    width: 62px;
    height: 39px;
    object-fit: cover;
    border-radius: 3px;
}

.terrace-option > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    font-size: 8px;
}

.terrace-option small {
    color: var(--muted);
    font-size: 7px;
}

.price-estimate {
    margin: 15px -15px 12px;
    padding: 12px 15px;
    background: var(--surface-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.price-estimate > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 3px 0;
    color: var(--muted);
    font-size: 10px;
}

.price-estimate > div strong {
    color: var(--ink);
    font-size: 10px;
}

.price-estimate-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.price-estimate-amount small {
    color: var(--muted);
    font-size: 8px;
    font-weight: 500;
}

.price-estimate > [hidden] {
    display: none !important;
}

.price-estimate .subtotal {
    margin-top: 5px;
    padding-top: 7px;
    color: var(--ink);
    border-top: 1px solid var(--line);
}

.price-estimate .grand-total {
    margin-top: 5px;
    padding-top: 8px;
    color: var(--ink);
    border-top: 1px solid var(--line-strong);
    font-size: 10px;
    font-weight: 700;
}

.price-estimate .grand-total strong {
    color: var(--navy);
    font-size: 18px;
}

.price-estimate-note {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.5;
}

.configurator > .button {
    min-height: 39px;
    font-size: 11px;
}

/* Outdoor additions */
.outdoor-sidebar-card {
    padding: 15px;
}

.configurator > .outdoor-sidebar-card {
    margin: 14px 0 15px;
    padding: 14px 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
}

.outdoor-sidebar-card .side-card-head {
    margin-bottom: 7px;
}

.outdoor-sidebar-card .side-card-head > span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.outdoor-sidebar-lead {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.45;
}

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

.outdoor-category {
    display: flex;
    min-width: 0;
    min-height: 82px;
    padding: 3px;
    overflow: hidden;
    align-items: stretch;
    flex-direction: column;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    box-shadow: 0 2px 7px rgba(15, 43, 70, 0.04);
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.outdoor-category:hover {
    border-color: #aebdcc;
    transform: translateY(-1px);
}

.outdoor-category:focus-visible,
.outdoor-option-buttons button:focus-visible,
.outdoor-color-options button:focus-visible,
.outdoor-project-item button:focus-visible,
.outdoor-product-config summary:focus-visible {
    outline: 3px solid rgba(7, 92, 222, 0.24);
    outline-offset: 2px;
}

.outdoor-category.is-selected {
    color: var(--navy);
    border-color: #075cde;
    box-shadow: 0 0 0 2px rgba(7, 92, 222, 0.12), 0 4px 12px rgba(7, 92, 222, 0.1);
}

.outdoor-category img,
.outdoor-category-custom {
    display: block;
    width: 100%;
    aspect-ratio: 1.42;
    flex: 0 0 auto;
    object-fit: cover;
    background: var(--surface-muted);
    border-radius: 6px;
}

.outdoor-category-custom {
    display: grid;
    place-items: center;
    color: #075cde;
    background: #edf4ff;
}

.outdoor-category > span:last-child {
    display: -webkit-box;
    min-height: 25px;
    padding: 4px 3px 2px;
    overflow: hidden;
    font-size: 8px;
    font-weight: 650;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.outdoor-product-config {
    margin-top: 10px;
    overflow: hidden;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.outdoor-product-config summary {
    display: flex;
    min-height: 44px;
    padding: 0 11px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--navy);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.outdoor-product-config summary::-webkit-details-marker {
    display: none;
}

.outdoor-product-config summary .icon {
    color: #075cde;
}

.outdoor-config-body {
    display: grid;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-top: 1px solid var(--line);
}

.outdoor-selected-product {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.outdoor-selected-product img {
    width: 58px;
    height: 42px;
    object-fit: cover;
    background: var(--surface-muted);
    border-radius: 6px;
}

.outdoor-selected-product > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.outdoor-selected-product strong {
    color: var(--ink);
    font-size: 11px;
    line-height: 1.3;
}

.outdoor-selected-product span {
    color: #075cde;
    font-size: 9px;
    font-weight: 650;
}

.outdoor-option-group {
    display: grid;
    gap: 6px;
}

.outdoor-option-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 700;
}

.outdoor-option-label small {
    color: var(--muted);
    font-size: 8px;
    font-weight: 550;
}

.outdoor-option-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.outdoor-option-buttons:empty {
    display: none;
}

.outdoor-option-buttons button {
    min-width: 0;
    min-height: 44px;
    padding: 7px 5px;
    overflow: hidden;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    font-size: 8px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.outdoor-option-buttons button:hover {
    background: #f6f9fd;
    border-color: #aebdcc;
}

.outdoor-option-buttons button[aria-pressed="true"] {
    color: var(--navy);
    background: #edf4ff;
    border-color: #075cde;
}

.outdoor-color-options {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
}

.outdoor-color-options button {
    position: relative;
    width: 100%;
    height: 38px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
}

.outdoor-color-options button::before {
    position: absolute;
    inset: 8px;
    content: "";
    background: var(--outdoor-color);
    border: 1px solid rgba(23, 50, 93, 0.2);
    border-radius: 50%;
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.5),
        0 1px 3px rgba(23, 50, 93, 0.18);
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.outdoor-color-options button:hover::before {
    transform: scale(1.08);
}

.outdoor-color-options button[aria-pressed="true"] {
    background: transparent;
    box-shadow: none;
}

.outdoor-color-options button[aria-pressed="true"]::before {
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.45),
        0 0 0 2px #fff,
        0 0 0 4px #075cde;
    transform: scale(1.02);
}

.outdoor-service-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.outdoor-service {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 1px 5px;
    min-width: 0;
    min-height: 48px;
    padding: 7px;
    align-items: center;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 8px;
    line-height: 1.25;
    cursor: pointer;
}

.outdoor-service:has(input:checked) {
    background: #edf4ff;
    border-color: #075cde;
}

.outdoor-service input {
    width: 17px;
    height: 17px;
    margin: 0;
    grid-row: 1 / span 2;
    accent-color: #075cde;
}

.outdoor-service strong {
    grid-column: 2;
    color: #075cde;
    font-size: 8px;
    font-weight: 650;
}

.outdoor-config-body > .button {
    min-height: 44px;
    padding-inline: 9px;
    font-size: 10px;
}

.outdoor-project {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.outdoor-project-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.outdoor-project-head strong {
    color: var(--ink);
    font-size: 10px;
}

.outdoor-project-head span {
    color: var(--muted);
    font-size: 8px;
}

.outdoor-project-list {
    display: grid;
    gap: 5px;
    margin-bottom: 8px;
}

.outdoor-project-list > p {
    margin: 0;
    padding: 10px;
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px dashed var(--line-strong);
    border-radius: 7px;
    font-size: 9px;
    text-align: center;
}

.outdoor-project-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    gap: 7px;
    padding: 7px 6px 7px 9px;
    background: #f5f9ff;
    border: 1px solid #dce8fa;
    border-radius: 8px;
}

.outdoor-project-item > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.outdoor-project-item strong {
    color: var(--navy);
    font-size: 9px;
}

.outdoor-project-item small {
    color: var(--muted);
    font-size: 8px;
    line-height: 1.35;
}

.outdoor-project-item button {
    display: inline-grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
}

.outdoor-project-item button:hover {
    color: #a72626;
    border-color: #e6b6b6;
}

.outdoor-project > .button {
    min-height: 39px;
    font-size: 10px;
}

@media (min-width: 1151px) {
    .page-detail .configurator-rail {
        max-height: calc(100dvh - var(--header) - 18px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .page-detail .configurator-rail::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
}

.detail-next-card {
    padding: 14px;
}

/* Footer */
.site-footer {
    padding: 55px 28px 20px;
    color: rgba(255, 255, 255, 0.8);
    background: #10243e;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.7fr 1fr;
    gap: 55px;
    width: min(100%, var(--container));
    margin: 0 auto 40px;
}

.brand-footer {
    color: #fff;
}

.brand-footer .brand-logo {
    width: 164px;
    padding: 6px 9px;
    background: #fff;
    border-radius: 7px;
}

.brand-footer .brand-copy small {
    color: rgba(255, 255, 255, 0.62);
}

.footer-brand p {
    max-width: 330px;
    margin: 17px 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 7px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
}

.footer-column {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
}

.footer-column h2 {
    margin-bottom: 5px;
    color: #fff;
    font-size: 12px;
}

.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
}

.footer-column a:hover {
    color: #fff;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(100%, var(--container));
    margin: 0 auto;
    padding-top: 17px;
    color: rgba(255, 255, 255, 0.42);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 9px;
}

.footer-bottom div {
    display: flex;
    gap: 19px;
}

/* Signature footer */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
    background: #071a3e;
}

.footer-glow {
    position: absolute;
    top: -260px;
    right: -100px;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(24, 121, 178, 0.32), transparent 66%);
    pointer-events: none;
}

.footer-shell {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 44px), 1440px);
    margin-inline: auto;
    padding: 48px 0 22px;
}

.footer-cta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-cta h2 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 3.3vw, 50px);
    letter-spacing: -.045em;
}

.footer-primary-button {
    flex: 0 0 auto;
    color: #fff;
    background: #075cde;
    white-space: nowrap;
}

.footer-primary-button:hover {
    background: #064fc2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.1fr 1.8fr;
    gap: clamp(45px, 7vw, 100px);
    padding: 34px 0;
}

.footer-brand-panel > p {
    max-width: 390px;
    margin: 18px 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.7;
}

.footer-logo-tile {
    display: inline-flex;
    padding: 7px 10px;
    background: #fff;
    border-radius: 7px;
}

.footer-logo {
    width: 176px;
    height: auto;
    display: block;
}

.footer-socials {
    display: flex;
    gap: 7px;
}

.footer-socials a {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 8px;
    font-weight: 700;
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.footer-navigation > div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.footer-navigation h2 {
    margin: 0 0 11px;
    color: #fff;
    font-size: 12px;
    letter-spacing: -.01em;
}

.footer-navigation a,
.footer-navigation span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
    line-height: 2;
}

.footer-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-navigation a:hover {
    color: #fff;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    color: rgba(255, 255, 255, 0.42);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 9px;
}

.footer-legal > div {
    display: flex;
    gap: 20px;
}

.footer-legal .footer-company {
    flex-direction: column;
    gap: 3px;
    line-height: 1.55;
}

.footer-legal a:hover {
    color: #fff;
}

.footer-legal-link {
    padding: 0;
    color: rgba(255, 255, 255, 0.58);
    background: transparent;
    border: 0;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal-link:hover {
    color: #fff;
}

/* Cookie consent */
.cookie-banner {
    position: fixed;
    z-index: 260;
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 55px rgba(8, 25, 45, 0.2);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(14px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}

.cookie-banner[hidden],
.cookie-preferences[hidden],
.cookie-save[hidden] {
    display: none;
}

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

.cookie-banner-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
}

.cookie-banner-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--blue);
    background: #edf4ff;
    border-radius: 11px;
}

.cookie-banner-copy h2 {
    margin: 0 0 4px;
    font-size: 15px;
    letter-spacing: -.015em;
}

.cookie-banner-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.cookie-banner-copy a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.cookie-manage {
    min-height: 30px;
    padding: 0;
    color: var(--blue);
    background: transparent;
    border: 0;
    font-size: 11px;
    font-weight: 700;
}

.cookie-save {
    width: 100%;
}

.cookie-preferences {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.cookie-choice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 9px;
}

.cookie-choice input {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin-top: 1px;
    accent-color: var(--blue);
}

.cookie-choice strong,
.cookie-choice small {
    display: block;
}

.cookie-choice strong {
    margin-bottom: 2px;
    color: var(--ink);
    font-size: 11px;
}

.cookie-choice small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

/* Dialogs and utilities */
.video-dialog,
.plan-lightbox {
    position: fixed;
    z-index: 300;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
}

.video-dialog[aria-hidden="true"],
.plan-lightbox[hidden] {
    display: none;
}

.dialog-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(10, 20, 31, 0.72);
    border: 0;
    backdrop-filter: blur(4px);
}

.dialog-card {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
    padding: 30px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}

.dialog-card h2 {
    max-width: 500px;
    font-size: 33px;
}

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

.dialog-close {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    color: var(--ink-soft);
    background: #fff;
}

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    aspect-ratio: 16 / 9;
    margin-top: 17px;
    color: #fff;
    background:
        linear-gradient(rgba(14, 33, 44, 0.28), rgba(14, 33, 44, 0.52)),
        url("../img/hero-generated.jpg") center / cover;
    border-radius: 9px;
}

.video-placeholder span {
    font-size: 12px;
    font-weight: 600;
}

.video-player {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(70vh, 540px);
    margin-top: 17px;
    background: transparent;
    border-radius: 9px;
    object-fit: contain;
}

.plan-lightbox-card {
    position: relative;
    z-index: 2;
    width: min(1100px, 96vw);
    max-height: 90vh;
    padding: 16px;
    overflow: auto;
    background: #fff;
    border-radius: 12px;
}

.plan-lightbox-card .icon-button {
    position: sticky;
    z-index: 3;
    top: 0;
    float: right;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.plan-lightbox-card img {
    width: 100%;
}

.toast {
    position: fixed;
    z-index: 500;
    right: calc(22px + env(safe-area-inset-right));
    bottom: calc(94px + env(safe-area-inset-bottom));
    max-width: min(390px, calc(100vw - 44px));
    padding: 12px 16px;
    color: #fff;
    background: #142c37;
    border-radius: 7px;
    box-shadow: var(--shadow-lg);
    font-size: 11px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

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

.not-found {
    min-height: 62vh;
    padding: 110px 24px;
    text-align: center;
}

.not-found > span {
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.not-found h1 {
    margin-top: 12px;
}

.not-found p {
    margin-bottom: 24px;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 1320px) {
    .header-inner {
        gap: 17px;
        padding-inline: 22px;
    }

    .primary-nav {
        gap: 2px;
    }

    .primary-nav a {
        padding-inline: 10px;
        font-size: 11px;
    }

    .hero-copy {
        width: 49%;
    }

    .assistant-hero {
        width: 335px;
    }

    .hero-search {
        grid-template-columns: repeat(4, minmax(105px, 1fr)) auto;
    }

    .search-intro {
        padding-right: 11px;
    }

    .hero-search label {
        padding-inline: 11px;
    }

    .results-layout {
        grid-template-columns: 210px minmax(0, 1fr) 280px;
        gap: 22px;
    }

    .detail-layout {
        grid-template-columns: 230px minmax(0, 1fr) 325px;
        gap: 20px;
    }

    .house-grid-results {
        gap: 10px;
    }

    .detail-spec-row > span {
        padding-inline: 6px;
    }
}

@media (max-width: 1150px) {
    .primary-nav {
        position: absolute;
        top: var(--header);
        right: 18px;
        left: 18px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 10px;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav > a {
        height: auto;
        min-height: 48px;
        justify-content: flex-start;
        padding: 14px 10px;
        border-bottom: 1px solid #e9edf2;
        border-radius: 0;
        font-size: 13px;
    }

    .primary-nav-group {
        display: block;
        overflow: hidden;
        border-bottom: 1px solid #e9edf2;
        border-radius: 0;
    }

    .primary-nav > a.is-active,
    .primary-nav-group.is-active {
        border-radius: 8px;
    }

    .primary-nav-group:last-child,
    .primary-nav > :last-child {
        border-bottom: 0;
    }

    .primary-nav-parent {
        width: 100%;
        height: auto;
        min-height: 48px;
        justify-content: space-between;
        padding: 14px 10px;
        border-radius: 0;
        font-size: 13px;
    }

    .primary-nav-parent-wrap {
        width: 100%;
    }

    .primary-nav-parent-wrap .primary-nav-parent {
        width: auto;
        flex: 1;
        justify-content: flex-start;
    }

    .primary-nav-submenu-toggle {
        width: 48px;
        min-height: 48px;
        flex: 0 0 48px;
    }

    .primary-nav-group.is-active .primary-nav-parent,
    .primary-nav-group.is-active .primary-nav-parent:hover {
        border-bottom-color: transparent;
    }

    .primary-nav-submenu {
        position: static;
        width: 100%;
        margin: 0;
        padding: 5px 8px 9px;
        background: #f7f9fc;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .primary-nav-submenu-label {
        padding-top: 6px;
    }

    .primary-nav-submenu a,
    .primary-nav-submenu a:hover,
    .primary-nav-submenu a.is-active {
        min-height: 44px;
        border-bottom: 0;
        padding: 9px 10px;
    }

    .primary-nav > a::after,
    .primary-nav-submenu a::after {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        order: 4;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero-inner {
        padding-inline: 30px;
    }

    .hero-copy {
        width: 52%;
    }

    .hero-copy h1 {
        font-size: 45px;
    }

    .assistant-hero {
        width: 285px;
    }

    .hero-search {
        grid-template-columns: repeat(4, 1fr) auto;
    }

    .search-intro {
        display: none;
    }

    .trust-item {
        padding-inline: 10px;
    }

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

    .results-layout {
        grid-template-columns: 205px minmax(0, 1fr);
    }

    .results-rail {
        position: static;
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
    }

    .results-rail .next-card {
        display: none;
    }

    .house-grid-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .toolbar-actions .sort-select {
        display: none;
    }

    .detail-layout {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .configurator-rail {
        position: static;
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    }

    .detail-spec-row {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 12px;
    }

}

@media (max-width: 900px) {
    .header-actions .header-icon-link,
    .ai-header-button {
        display: none;
    }

    .hero {
        min-height: 660px;
    }

    .hero-inner {
        min-height: 585px;
        padding-top: 55px;
        padding-bottom: 92px;
    }

    .hero-copy {
        width: 100%;
        max-width: 680px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .assistant-hero {
        display: none;
    }

    .assistant-rail {
        display: none;
    }

    .popular-carousel .house-card:nth-child(n + 5) {
        display: none;
    }

    .hero-search {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: -55px;
        padding: 13px;
    }

    .hero-search label {
        min-height: 44px;
        border: 1px solid #e6e9ec;
        border-radius: 6px;
    }

    .hero-search .button {
        grid-column: 1 / -1;
        margin: 3px 0 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px 0;
        overflow: hidden;
    }

    .trust-item {
        padding: 14px 8px;
        border-right: 0;
        border-bottom: 0;
    }

    .trust-item:last-child {
        grid-column: auto;
        border-bottom: 0;
    }

    .home-story {
        grid-template-columns: 1fr;
    }

    .pergola-feature-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .pergola-feature-heading p {
        text-align: left;
    }

    .story-photo {
        max-width: 680px;
    }

    .story-stat {
        right: 16px;
    }

    .journey-stepper {
        overflow-x: auto;
    }

    .journey-stepper ol {
        min-width: 760px;
    }

    .results-layout {
        display: block;
        width: min(calc(100% - 32px), var(--container));
    }

    .results-sidebar {
        display: none;
    }

    .filter-drawer-button {
        display: inline-flex;
    }

    .results-rail {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .assistant-rail .assistant-body {
        max-height: none;
    }

    .compare-panel {
        display: none;
    }

    .detail-layout {
        display: block;
        width: min(calc(100% - 32px), var(--container));
    }

    .detail-sidebar {
        display: none;
    }

    .configurator-rail {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
        margin-top: 20px;
    }

    .floor-plan-layout {
        grid-template-columns: 1fr;
    }

    .floor-plan-multi {
        grid-template-columns: 1fr;
    }

    .floor-plan-image img {
        min-height: 0;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 35px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (min-width: 900px) {
    .cookie-banner {
        right: 300px;
        width: auto;
        max-width: 1120px;
        margin-inline: auto;
    }
}

@media (min-width: 681px) and (max-width: 899px) {
    .cookie-banner {
        bottom: 230px;
        max-height: calc(100dvh - 250px);
    }
}

@media (max-width: 680px) {
    :root {
        --header: 70px;
    }

    .header-inner {
        padding-inline: 15px;
    }

    .brand {
        gap: 0;
    }

    .site-header > .header-inner > .brand {
        width: 152px;
        flex-basis: 152px;
    }

    .brand-logo {
        width: 148px;
    }

    .header-actions {
        display: flex;
        gap: 0;
        margin-left: auto;
    }

    .header-actions > :not(.language-picker) {
        display: none;
    }

    .country-button {
        gap: 5px;
        padding: 5px;
        font-size: 10px;
    }

    .country-label {
        display: inline;
    }

    .country-label-short {
        display: none;
    }

    .country-button .icon {
        display: none;
    }

    .flag img {
        width: 22px;
        height: 22px;
    }

    .language-menu {
        width: min(250px, calc(100vw - 30px));
    }

    .nav-toggle {
        order: 5;
        margin-left: 0;
    }

    .primary-nav {
        right: 10px;
        left: 10px;
    }

    .hero {
        min-height: 0;
    }

    .hero-media img {
        object-position: 65% center;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(10, 20, 28, 0.76), rgba(10, 20, 28, 0.25)),
            linear-gradient(0deg, rgba(10, 20, 28, 0.56), transparent 50%);
    }

    .hero-inner {
        display: block;
        min-height: 0;
        padding: 50px 20px 44px;
    }

    .hero-copy {
        width: 100%;
        padding-top: 0;
    }

    .hero-copy h1 {
        max-width: 430px;
        font-size: clamp(37px, 10vw, 48px);
    }

    .hero-copy > p {
        max-width: 470px;
        font-size: 14px;
    }

    .hero-benefits {
        gap: 9px 14px;
    }

    .hero-benefits span {
        font-size: 10px;
    }

    .hero-search,
    .trust-strip {
        display: none;
    }

    .hero-search-cta {
        display: none;
    }

    .hero-catalog-cta {
        display: inline-flex;
    }

    .assistant-hero {
        width: 100%;
        margin-top: 25px;
    }

    .assistant-hero .assistant-body {
        max-height: 104px;
        overflow: hidden;
    }

    .assistant-hero .assistant-input {
        display: none;
    }

    .hero-search {
        width: calc(100% - 28px);
        margin-top: -48px;
    }

    .trust-strip {
        padding-inline: 16px;
    }

    .section {
        padding-inline: 16px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .popular-section {
        padding-top: 38px;
    }

    .house-grid-four,
    .house-grid-results {
        grid-template-columns: 1fr;
    }

    .house-grid-four .house-card,
    .house-grid-results .house-card {
        max-width: 520px;
        width: 100%;
        margin-inline: auto;
    }

    .story-stat {
        position: static;
        width: 100%;
        margin-top: 10px;
    }

    .results-page {
        padding-top: 15px;
    }

    .results-layout {
        width: calc(100% - 24px);
    }

    .results-heading {
        min-height: 0;
        margin-bottom: 16px;
    }

    .results-heading h1 {
        font-size: 23px;
    }

    .save-search {
        display: none;
    }

    .results-toolbar {
        display: block;
        padding: 8px;
    }

    .filter-pills {
        margin-bottom: 7px;
    }

    .toolbar-actions {
        justify-content: space-between;
    }

    .view-switch {
        display: none;
    }

    .filter-drawer-button {
        margin-left: auto;
    }

    .detail-page {
        padding-top: 14px;
    }

    .journey-stepper {
        position: relative;
        padding-inline: 12px;
    }

    .journey-stepper ol {
        position: relative;
        display: block;
        width: 100%;
        min-width: 0;
        padding: 10px 12px 17px;
    }

    .step-progress-track {
        position: absolute;
        bottom: 8px;
        right: 24px;
        left: 24px;
        display: block;
        height: 3px;
        overflow: hidden;
        background: var(--line);
        border-radius: 999px;
    }

    .step-progress-track > span {
        display: block;
        height: 100%;
        background: var(--blue);
        border-radius: inherit;
    }

    .journey-stepper li {
        display: none;
    }

    .journey-stepper li.is-active {
        display: flex;
        width: 100%;
        gap: 8px;
        color: var(--navy);
        font-size: 11px;
        font-weight: 750;
    }

    .journey-stepper .step-connector {
        display: none;
    }

    .journey-stepper .step-number {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .detail-layout {
        width: calc(100% - 24px);
    }

    .gallery-stage {
        aspect-ratio: 3 / 2;
    }

    .gallery-thumbs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        overflow: visible;
    }

    .gallery-thumbs button {
        width: auto;
        aspect-ratio: 3 / 2;
        border-radius: 8px;
    }

    .detail-title-row {
        padding-top: 19px;
    }

    .detail-title-row .favorite-detail {
        display: none;
    }

    .detail-spec-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        margin-bottom: 12px;
        padding: 8px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 10px;
    }

    .detail-spec-row > span {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
        gap: 7px;
        min-height: 38px;
        padding: 7px 8px;
        background: var(--surface-muted);
        border: 0;
        border-radius: 8px;
        text-align: left;
    }

    .detail-spec-row .detail-spec-secondary {
        display: none;
    }

    .detail-spec-row .icon {
        width: 20px;
        height: 20px;
        margin: 0;
        color: var(--blue);
    }

    .detail-spec-row strong {
        font-size: 11px;
    }

    .detail-spec-row small {
        margin-top: 0;
        font-size: 11px;
    }

    .detail-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px 44px;
        gap: 6px;
    }

    .detail-actions .button {
        min-height: 44px;
        padding-inline: 10px;
        font-size: 11px;
    }

    .detail-actions .detail-action-primary {
        color: #fff;
        background: var(--blue);
        border-color: var(--blue);
    }

    .detail-actions .detail-action-icon {
        width: 44px;
        padding: 0;
    }

    .detail-actions .detail-action-icon .detail-action-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .detail-tab-panel {
        padding: 13px;
    }

    .tab-list {
        padding-inline: 5px;
    }

    .tab-list button {
        flex: 1;
        padding-inline: 7px;
        font-size: 11px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-field-wide {
        grid-column: auto;
    }

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

    .tab-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .placeholder-panel {
        min-height: 0;
    }

    .other-view-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .other-view-grid button {
        aspect-ratio: 3 / 2;
        border-radius: 8px;
    }

    .other-view-grid.has-three button:last-child {
        display: none;
    }

    .koia-features-section {
        margin-top: 16px;
        padding: 12px;
        border-radius: 13px;
    }

    .koia-features-heading,
    .koia-features-main,
    .koia-features-bottom {
        grid-template-columns: 1fr;
    }

    .koia-features-heading {
        gap: 9px;
    }

    .koia-features-heading h2 {
        font-size: 27px;
    }

    .koia-features-photos {
        min-height: 280px;
    }

    .scope-delivery-section {
        margin-top: 16px;
    }

    .scope-delivery-content {
        padding: 16px;
        border-radius: 13px;
    }

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

    .scope-delivery-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .scope-delivery-card {
        min-height: 0;
    }

    .scope-delivery-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .scope-delivery-actions .button {
        width: 100%;
    }

    .configurator-rail {
        width: 100%;
        min-width: 0;
        grid-template-columns: 1fr;
    }

    .configurator-rail > *,
    .configurator {
        min-width: 0;
        width: 100%;
    }

    .detail-next-card {
        display: none;
    }

    .site-footer {
        padding-inline: 17px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 22px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

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

    .footer-shell {
        width: calc(100% - 28px);
        padding-top: 36px;
    }

    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .footer-primary-button {
        width: 100%;
    }

    .footer-logo {
        width: 145px;
    }

    .footer-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .footer-navigation > div:last-child {
        grid-column: 1 / -1;
    }

    .footer-legal {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .cookie-banner {
        right: 10px;
        bottom: 230px;
        left: 10px;
        width: calc(100% - 20px);
        max-height: calc(100dvh - 250px);
    }

    .cookie-banner-inner {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        gap: 10px 12px;
        padding: 14px;
    }

    .cookie-banner-icon {
        width: 38px;
        height: 38px;
    }

    .cookie-banner-copy > p {
        font-size: 11px;
    }

    .cookie-banner-actions {
        grid-column: 1 / -1;
        justify-items: stretch;
    }

    .cookie-banner-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .cookie-banner-buttons .button,
    .cookie-save {
        width: 100%;
    }

    .cookie-manage {
        width: 100%;
        min-height: 34px;
    }

    .cookie-preferences {
        grid-template-columns: 1fr;
    }

    .dialog-card {
        padding: 24px 18px;
    }

    .dialog-card h2 {
        font-size: 27px;
    }
}

@media (max-width: 820px) {
    .references-map-section {
        padding-bottom: 60px;
    }

    .references-map-banner {
        min-height: clamp(370px, 74vw, 430px);
    }

    .references-map-banner > img {
        object-position: 68% center;
    }

    .references-map-shade {
        background: linear-gradient(0deg, rgba(248, 250, 252, 0.99) 0%, rgba(248, 250, 252, 0.95) 47%, rgba(248, 250, 252, 0.1) 86%);
    }

    .references-map-copy {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        min-height: 0;
        padding: 24px;
    }

    .references-map-copy h2 {
        max-width: 360px;
        font-size: clamp(28px, 6.8vw, 38px);
    }

    .references-map-copy p {
        max-width: 360px;
        font-size: 13px;
    }

    .pergola-feature {
        padding-bottom: 60px;
    }

    .pergola-banner {
        height: clamp(330px, 74vw, 390px);
    }

    .pergola-banner::after {
        position: absolute;
        z-index: 1;
        inset: 0;
        background: linear-gradient(90deg, rgba(4, 19, 46, 0.64), rgba(4, 19, 46, 0.04) 82%);
        content: "";
    }

    .pergola-banner > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 72% center;
    }

    .pergola-banner:hover > img {
        transform: none;
    }

    .pergola-mobile-copy {
        position: absolute;
        z-index: 2;
        bottom: 18px;
        left: 18px;
        display: flex;
        width: min(calc(100% - 36px), 330px);
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 19px;
        color: var(--navy);
        background: rgba(244, 247, 251, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 14px;
        box-shadow: 0 14px 34px rgba(4, 19, 46, 0.2);
        backdrop-filter: blur(8px);
    }

    .pergola-mobile-copy small {
        color: var(--blue);
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 0.12em;
    }

    .pergola-mobile-copy strong {
        margin-top: 5px;
        font-size: clamp(20px, 5.4vw, 25px);
        letter-spacing: -0.035em;
        line-height: 1.16;
    }

    .pergola-mobile-copy > span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-top: 12px;
        color: var(--blue);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .page-home .hero-media img,
    .page-home .hero-copy > *,
    .page-home .assistant-hero,
    .page-home .hero-search,
    .page-home .popular-carousel {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
    }

    .page-results .results-heading,
    .page-results .results-sidebar .filter-panel,
    .page-results .results-toolbar,
    .page-results .house-grid-results .house-card,
    .page-results .results-rail > * {
        opacity: 1 !important;
        animation: none !important;
        translate: 0 0 !important;
    }

    .page-detail .journey-stepper,
    .page-detail .detail-search-summary,
    .page-detail .detail-result-list,
    .page-detail .detail-gallery,
    .page-detail .gallery-stage > img,
    .page-detail .detail-title-row,
    .page-detail .detail-spec-row,
    .page-detail .detail-actions,
    .page-detail .detail-tabs,
    .page-detail .configurator-rail > * {
        opacity: 1 !important;
        animation: none !important;
        translate: 0 0 !important;
        scale: 1 !important;
    }
}
