@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    --site-bg: #faf8f4;
    --site-bg-deep: #071b22;
    --surface: #ffffff;
    --surface-soft: #f5f1e8;
    --surface-tint: #e8f4f6;
    --ink: #14181f;
    --ink-soft: #3a4048;
    --muted: #6b7280;
    --line: rgba(20, 24, 31, 0.12);
    --line-soft: rgba(20, 24, 31, 0.08);
    --line-accent: rgba(0, 194, 220, 0.36);
    --line-strong: rgba(20, 24, 31, 0.22);
    --accent: #005ea5;
    --accent-dark: #073247;
    --accent-soft: #e5f6fa;
    --accent-warm: #f15044;
    --accent-warm-dark: #c9362d;
    --accent-warm-soft: #fff0ee;
    --brand-cyan: #00c2dc;
    --brand-cyan-bright: #00d8e8;
    --gold: #b08d4f;
    --gold-soft: #d9c08d;
    --danger: #a23b3b;
    --shadow-sm: 0 1px 2px rgba(19, 24, 22, 0.07);
    --shadow-md: 0 14px 34px rgba(7, 27, 34, 0.08);
    --shadow-lg: 0 28px 70px rgba(7, 27, 34, 0.14);
    --shadow-card: 0 12px 30px rgba(7, 27, 34, 0.055);
    --shadow-card-hover: 0 18px 42px rgba(7, 27, 34, 0.09);
    --shadow-float: 0 26px 66px rgba(7, 27, 34, 0.22);
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-pill: 999px;
    --ui-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(247, 252, 254, 0.94));
    --ui-card-border: 1px solid rgba(0, 158, 227, 0.14);
    --ui-card-border-hover: rgba(0, 158, 227, 0.28);
    --ui-card-shadow: 0 12px 30px rgba(0, 94, 165, 0.065);
    --ui-card-shadow-hover: 0 18px 42px rgba(0, 94, 165, 0.11);
    --ui-control-height: 46px;
    --ui-control-radius: var(--radius-sm);
    --ui-control-border: rgba(0, 158, 227, 0.22);
    --focus-ring: 0 0 0 4px rgba(0, 194, 220, 0.14);
    --content-max: 1440px;
    --sans: Onest, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --serif: var(--sans);
}

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    margin: 0;
    background:
        linear-gradient(180deg, rgba(0, 94, 165, 0.055), rgba(0, 94, 165, 0) 260px),
        var(--site-bg);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(0, 194, 220, 0.26);
    outline-offset: 3px;
}

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

.photo-watermark {
    position: relative;
    overflow: hidden;
}

.photo-watermark img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.photo-watermark::before {
    content: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: url("/img/brand/watermark.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: min(46%, 250px) auto;
    opacity: 0.24;
    filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(7, 27, 34, 0.2));
}

.photo-watermark--compact::before {
    background-size: min(52%, 180px) auto;
    opacity: 0.22;
}

.photo-watermark--lightbox::before {
    background-size: min(36%, 420px) auto;
    opacity: 0.2;
}

.site-shell {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-x: clip;
}

.site-shell img,
.site-shell svg,
.site-shell video,
.site-shell canvas {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 160;
    background: rgba(7, 27, 34, 0.96);
    border-bottom: 1px solid rgba(0, 194, 220, 0.18);
    box-shadow: 0 18px 46px rgba(7, 27, 34, 0.18);
    backdrop-filter: blur(18px) saturate(1.18);
    transition:
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        backdrop-filter 220ms ease;
}

.site-header__inner,
.site-main,
.site-footer__inner {
    width: min(var(--content-max), calc(100% - 32px));
    margin: 0 auto;
}

.site-header__inner {
    display: grid;
    grid-template-columns: 228px minmax(0, 1fr) minmax(220px, auto);
    align-items: center;
    gap: 20px;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 228px;
    min-height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand__logo {
    width: 100%;
    height: auto;
    max-height: 38px;
    object-fit: contain;
}

.site-menu-toggle {
    position: relative;
    z-index: 180;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 46px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(0, 194, 220, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-menu-toggle__icon {
    position: relative;
    width: 18px;
    height: 12px;
    flex: 0 0 18px;
}

.site-menu-toggle__icon::before,
.site-menu-toggle__icon::after,
.site-menu-toggle__line {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: var(--radius-pill);
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.site-menu-toggle__icon::before {
    top: 0;
}

.site-menu-toggle__line {
    top: 5px;
}

.site-menu-toggle__icon::after {
    top: 10px;
}

.site-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    border: 0;
    background: rgba(7, 27, 34, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    backdrop-filter: blur(2px);
}

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

.site-nav {
    display: grid;
    grid-column: 2 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: rgba(250, 248, 244, 0.78);
    font-size: 13px;
    font-weight: 700;
}

.site-nav__scroll {
    display: contents;
}

.site-nav__mobile-link {
    display: none;
}

.site-nav__primary,
.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.site-nav__primary {
    gap: 12px;
    justify-content: center;
}

.site-nav__actions {
    flex: 0 0 auto;
    justify-self: end;
    justify-content: flex-end;
    gap: 8px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.site-nav a {
    min-height: 36px;
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    position: relative;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
    white-space: nowrap;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 1px;
    background: var(--brand-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
}

.site-nav a:hover {
    background: transparent;
    color: #fff;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

.site-nav a.is-active {
    background: rgba(0, 194, 220, 0.1);
    color: #fff;
}

.site-nav a.is-active::after {
    background: var(--brand-cyan-bright);
}

.site-nav__item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.site-nav__item > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.site-nav__chevron {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-1px) rotate(45deg);
    transition: transform 180ms ease;
}

.site-nav__item:hover .site-nav__chevron,
.site-nav__item:focus-within .site-nav__chevron {
    transform: translateY(1px) rotate(225deg);
}

.site-nav__item::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -16px;
    left: 0;
    height: 18px;
}

.site-nav__submenu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 232px;
    padding: 10px;
    border: 1px solid rgba(0, 122, 170, 0.14);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: 0 22px 54px rgba(7, 27, 34, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
    visibility: hidden;
}

.site-nav__submenu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(0, 194, 220, 0.18);
    border-left: 1px solid rgba(0, 194, 220, 0.18);
    background: rgba(255, 255, 255, 0.97);
    transform: translateX(-50%) rotate(45deg);
}

.site-nav__item:hover .site-nav__submenu,
.site-nav__item:focus-within .site-nav__submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.site-nav .site-nav__submenu a {
    min-height: 38px;
    padding: 9px 10px;
    border-radius: var(--radius-xs);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
}

.site-nav .site-nav__submenu a:hover,
.site-nav .site-nav__submenu a:focus-visible {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.site-nav .site-nav__submenu a::after {
    display: none;
}

.site-nav .header-cta {
    border: 1px solid transparent;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.02em;
}

.site-nav .header-cta:hover,
.site-nav .header-cta:focus-visible,
.site-nav .header-cta.is-active {
    border-color: rgba(0, 194, 220, 0.72);
    background: transparent;
    color: #fff;
}

.site-nav__favorite {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid transparent;
    background: rgba(241, 80, 68, 0.12);
    color: #fff;
}

.site-nav__favorite svg {
    width: 18px;
    height: 18px;
    fill: none;
}

.site-nav__favorite svg path {
    fill: currentColor;
}

.site-nav__favorite .favorite-heart-fill {
    fill: var(--accent-warm);
    opacity: 0;
    transition: opacity 160ms ease;
}

.site-nav__favorite-count {
    display: none;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-pill);
    background: var(--accent-warm);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.site-nav__favorite.has-favorites .site-nav__favorite-count {
    display: inline-block;
}

.site-nav__favorite.has-favorites svg path {
    fill: var(--accent-warm);
}

.site-nav__favorite.has-favorites .favorite-heart-fill {
    opacity: 1;
}

.site-nav__favorite:hover,
.site-nav__favorite:focus-visible,
.site-nav__favorite.is-active {
    border-color: var(--accent-warm);
    background: var(--accent-warm-soft);
    color: var(--accent-warm);
    outline: none;
}

.site-nav__favorite:hover svg path,
.site-nav__favorite:focus-visible svg path,
.site-nav__favorite.is-active svg path {
    fill: currentColor;
}

.site-nav .header-cta::after,
.site-nav__favorite::after {
    display: none;
}

.site-main {
    padding: 28px 0 68px;
}

.site-main,
.site-footer {
    min-width: 0;
}

.site-shell--home .site-header {
    position: sticky;
    top: 0;
    margin-bottom: -76px;
    background:
        linear-gradient(180deg, rgba(7, 27, 34, 0.44), rgba(7, 27, 34, 0.08));
    border-bottom-color: rgba(0, 194, 220, 0);
    box-shadow: none;
    backdrop-filter: blur(5px) saturate(1.05);
}

.site-shell--home .site-header.is-scrolled {
    background:
        linear-gradient(180deg, rgba(7, 27, 34, 0.94), rgba(7, 27, 34, 0.78));
    border-bottom-color: rgba(0, 194, 220, 0.14);
    box-shadow: 0 18px 48px rgba(7, 27, 34, 0.18);
    backdrop-filter: blur(18px) saturate(1.18);
}

.site-shell--home .site-main {
    padding-top: 0;
}

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 82% 4%, rgba(0, 194, 220, 0.18), transparent 34%),
        linear-gradient(135deg, #061820 0%, #082531 54%, #061820 100%);
    color: rgba(250, 248, 244, 0.76);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-cyan-bright), rgba(0, 94, 165, 0.68), var(--accent-warm));
}

.site-footer__inner {
    display: grid;
    gap: 30px;
    padding: 44px 0 28px;
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(260px, 1.15fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) minmax(230px, 0.9fr);
    gap: 34px;
    align-items: start;
}

.site-footer__brand {
    display: grid;
    gap: 18px;
    max-width: 360px;
}

.site-footer__logo {
    display: inline-flex;
    width: 232px;
    max-width: 100%;
}

.site-footer__logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.site-footer__brand p {
    margin: 0;
    color: rgba(250, 248, 244, 0.66);
    font-size: 14px;
    line-height: 1.65;
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer__socials a {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 194, 220, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(250, 248, 244, 0.9);
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.site-footer__socials svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer__socials .site-footer__social--telegram svg,
.site-footer__socials .site-footer__social--whatsapp svg,
.site-footer__socials .site-footer__social--phone svg {
    fill: currentColor;
    stroke: none;
}

.site-footer__social--max img {
    display: block;
    width: 22px;
    height: 22px;
    opacity: 0.72;
    transition: opacity 160ms ease;
}

.site-footer__social--max:hover img,
.site-footer__social--max:focus-visible img {
    opacity: 0.96;
}

.site-footer__socials a:hover,
.site-footer__socials a:focus-visible {
    border-color: rgba(0, 216, 232, 0.48);
    background: rgba(0, 194, 220, 0.12);
    color: #fff;
    box-shadow: 0 12px 26px rgba(0, 194, 220, 0.12);
    outline: none;
    transform: translateY(-1px);
}

.site-footer__group {
    display: grid;
    gap: 12px;
}

.site-footer__title {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-footer__links {
    display: grid;
    gap: 9px;
}

.site-footer__links a {
    color: rgba(250, 248, 244, 0.68);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: #fff;
    outline: none;
    transform: translateX(2px);
}

.site-footer__contacts {
    display: grid;
    gap: 12px;
}

.site-footer__contact {
    display: grid;
    gap: 3px;
}

.site-footer__contact span {
    color: rgba(250, 248, 244, 0.46);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__contact strong,
.site-footer__contact a,
.site-footer__contact address {
    margin: 0;
    color: rgba(250, 248, 244, 0.86);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.site-footer__contact a:hover {
    color: #fff;
}

.site-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(250, 248, 244, 0.48);
    font-size: 12px;
    line-height: 1.4;
}

.site-footer__copyright {
    justify-self: start;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    text-align: center;
}

.site-footer__legal a {
    color: rgba(250, 248, 244, 0.58);
    text-decoration: none;
}

.site-footer__legal a:hover {
    color: #fff;
}

.site-footer__creator {
    justify-self: end;
    color: rgba(250, 248, 244, 0.5);
    text-align: right;
    white-space: nowrap;
}

.site-footer__creator a {
    color: rgba(250, 248, 244, 0.74);
    font-weight: 700;
    text-decoration: none;
}

.site-footer__creator a:hover {
    color: #fff;
}

.page-heading {
    position: relative;
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(0, 194, 220, 0.16);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(7, 27, 34, 0.98), rgba(7, 50, 71, 0.94) 68%, rgba(0, 94, 165, 0.82)),
        var(--site-bg-deep);
    color: #fff;
    box-shadow: var(--shadow-md);
    isolation: isolate;
}

.page-heading::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 216, 232, 0.62), transparent);
}

.page-heading h1 {
    margin: 0;
    max-width: 980px;
    color: #fff;
    font-family: var(--sans);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0;
}

.page-heading p {
    max-width: 720px;
    margin: 0;
    color: rgba(250, 248, 244, 0.72);
    font-size: 18px;
    line-height: 1.55;
}

.page-heading .eyebrow {
    color: rgba(250, 248, 244, 0.78);
}

.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid rgba(0, 94, 165, 0.2);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 16px 30px rgba(0, 94, 165, 0.16);
    font: inherit;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible,
button.button:hover,
button.button:focus-visible {
    border-color: rgba(0, 216, 232, 0.56);
    background: linear-gradient(135deg, #006fbd, var(--accent-dark));
    color: #fff;
    box-shadow: 0 20px 38px rgba(0, 94, 165, 0.22);
    outline: 0;
    transform: translateY(-1px);
}

.button:active,
button.button:active {
    box-shadow: 0 10px 22px rgba(0, 94, 165, 0.16);
    transform: translateY(0);
}

.button[disabled],
button.button[disabled],
.button.is-loading {
    cursor: progress;
    opacity: 0.76;
    pointer-events: none;
    transform: none;
}

.button--ghost {
    border-color: rgba(0, 94, 165, 0.2);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 16px 30px rgba(0, 94, 165, 0.16);
    color: #fff;
}

.button--ghost:hover,
.button--ghost:focus-visible {
    background: linear-gradient(135deg, #006fbd, var(--accent-dark));
    color: #fff;
    box-shadow: 0 20px 38px rgba(0, 94, 165, 0.22);
}

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

.form-consent {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.form-consent a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    background-image: radial-gradient(circle, rgba(0, 158, 227, 0.38) 1px, transparent 1.35px);
    background-repeat: repeat-x;
    background-position: 0 calc(100% - 1px);
    background-size: 5px 2px;
    transition: color 0.18s ease, background-image 0.18s ease;
}

.form-consent a:hover,
.form-consent a:focus-visible {
    color: var(--accent-dark);
    background-image: radial-gradient(circle, rgba(0, 158, 227, 0.72) 1px, transparent 1.35px);
    outline: none;
}

.privacy-consent {
    --privacy-consent-text: var(--muted);
    --privacy-consent-link: var(--accent);
    --privacy-consent-link-hover: var(--accent-dark);
    --privacy-consent-dot: rgba(0, 158, 227, 0.38);
    --privacy-consent-dot-hover: rgba(0, 158, 227, 0.72);
    --privacy-consent-border: rgba(0, 158, 227, 0.34);
    --privacy-consent-bg: rgba(255, 255, 255, 0.86);
    --privacy-consent-shadow: rgba(0, 94, 165, 0.16);
    --privacy-consent-size: 12px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    color: var(--privacy-consent-text);
    font-size: var(--privacy-consent-size);
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
}

.privacy-consent input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 1px 0 0;
    border: 1px solid var(--privacy-consent-border);
    border-radius: 6px;
    background: var(--privacy-consent-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 18px var(--privacy-consent-shadow);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.privacy-consent input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    padding: 0;
    border: 1px solid var(--privacy-consent-border);
    border-radius: 6px;
    background: var(--privacy-consent-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 18px var(--privacy-consent-shadow);
}

.privacy-consent input::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg) scale(0.7);
    transition: opacity 140ms ease, transform 140ms ease;
}

.privacy-consent input:checked {
    border-color: rgba(0, 158, 227, 0.88);
    background: linear-gradient(135deg, var(--brand-cyan-bright), var(--accent));
    box-shadow: 0 10px 22px rgba(0, 158, 227, 0.28);
}

.privacy-consent input:checked::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.privacy-consent input:hover {
    border-color: rgba(0, 158, 227, 0.72);
}

.privacy-consent input:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring), 0 10px 22px var(--privacy-consent-shadow);
}

.privacy-consent a {
    color: var(--privacy-consent-link);
    font-weight: 400;
    text-decoration: none;
    background-repeat: repeat-x;
    background-position: 0 calc(100% - 1px);
    background-size: 5px 2px;
    transition: color 0.18s ease, background-image 0.18s ease;
}

.privacy-consent a:hover,
.privacy-consent a:focus-visible {
    color: var(--privacy-consent-link-hover);
    background-image: radial-gradient(circle, var(--privacy-consent-dot-hover) 1px, transparent 1.35px);
    outline: none;
}

.privacy-consent--light {
    --privacy-consent-text: rgba(255, 255, 255, 0.82);
    --privacy-consent-link: rgba(255, 255, 255, 0.96);
    --privacy-consent-link-hover: #fff;
    --privacy-consent-dot: rgba(156, 244, 255, 0.42);
    --privacy-consent-dot-hover: rgba(156, 244, 255, 0.82);
    --privacy-consent-border: rgba(156, 244, 255, 0.5);
    --privacy-consent-bg: rgba(255, 255, 255, 0.1);
    --privacy-consent-shadow: rgba(0, 0, 0, 0.16);
}

.privacy-consent--compact {
    --privacy-consent-size: 10.5px;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px;
    line-height: 1.35;
}

.privacy-consent--compact input {
    width: 16px;
    height: 16px;
    border-radius: 5px;
}

.privacy-consent--compact input[type="checkbox"] {
    width: 16px;
    min-width: 16px;
    max-width: 16px;
    height: 16px;
    min-height: 16px;
    max-height: 16px;
    border-radius: 5px;
}

.privacy-consent--compact input::after {
    top: 0;
    left: 4px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    flex: 0 0 26px;
    background: var(--brand-cyan-bright);
}

.field label,
.lead-form label,
.contact-form label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

label.privacy-consent,
.lead-form label.privacy-consent,
.contact-form label.privacy-consent {
    display: grid;
    margin: 0;
    color: var(--privacy-consent-text);
    font-size: var(--privacy-consent-size);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.field input,
.field select,
.lead-form input,
.lead-form textarea,
.contact-form input,
.contact-form textarea {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(19, 24, 22, 0.02);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field input:hover,
.field select:hover,
.lead-form input:hover,
.lead-form textarea:hover,
.contact-form input:hover,
.contact-form textarea:hover {
    border-color: var(--line-strong);
}

.field input:focus,
.field select:focus,
.lead-form input:focus,
.lead-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--line-accent);
    box-shadow: var(--focus-ring);
    outline: none;
}

.toast-stack {
    position: fixed;
    top: 94px;
    right: 24px;
    z-index: 520;
    display: grid;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.toast {
    --toast-accent: var(--accent);
    --toast-accent-soft: rgba(0, 158, 227, 0.12);
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    gap: 12px;
    align-items: start;
    min-height: 68px;
    padding: 14px 12px 14px 14px;
    border: 1px solid rgba(0, 94, 165, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 253, 0.96)),
        #fff;
    box-shadow:
        0 24px 62px rgba(7, 27, 34, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
    color: var(--ink);
    pointer-events: auto;
    opacity: 0;
    transform: translate3d(16px, -8px, 0) scale(0.98);
    transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.toast.is-hiding {
    opacity: 0;
    transform: translate3d(18px, -4px, 0) scale(0.98);
}

.toast--success {
    --toast-accent: var(--brand-cyan);
    --toast-accent-soft: rgba(0, 194, 220, 0.14);
}

.toast--danger,
.toast--error {
    --toast-accent: var(--accent-warm);
    --toast-accent-soft: rgba(241, 80, 68, 0.13);
}

.toast--warning {
    --toast-accent: #f2994a;
    --toast-accent-soft: rgba(242, 153, 74, 0.14);
}

.toast--info {
    --toast-accent: var(--accent);
    --toast-accent-soft: rgba(0, 158, 227, 0.12);
}

.toast__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--toast-accent-soft);
    color: var(--toast-accent);
}

.toast__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.toast__body {
    align-self: center;
    padding-top: 1px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42;
}

.toast__close {
    position: relative;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(47, 58, 68, 0.54);
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.toast__close::before,
.toast__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 1.7px;
    border-radius: 2px;
    background: currentColor;
}

.toast__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.toast__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.toast__close:hover,
.toast__close:focus-visible {
    background: rgba(0, 94, 165, 0.08);
    color: var(--ink);
    outline: none;
}

.cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 230;
    width: min(520px, calc(100vw - 48px));
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.cookie-consent.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cookie-consent__inner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(0, 216, 232, 0.22);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 253, 254, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(7, 27, 34, 0.96), rgba(6, 50, 71, 0.96));
    box-shadow: 0 24px 64px rgba(7, 27, 34, 0.26);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.cookie-consent__inner::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgb(241 80 68), rgba(0, 216, 232, 0.82));
}

.cookie-consent__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 216, 232, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-cyan-bright);
}

.cookie-consent__icon svg {
    width: 22px;
    height: 22px;
}

.cookie-consent__content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.cookie-consent__title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.cookie-consent__text {
    margin: 0;
    color: rgba(238, 249, 251, 0.74);
    font-size: 12px;
    line-height: 1.48;
}

.cookie-consent__text a {
    color: #9cf4ff;
    font-weight: 600;
    text-decoration: none;
    background-image: radial-gradient(circle, rgba(156, 244, 255, 0.44) 1px, transparent 1.35px);
    background-repeat: repeat-x;
    background-position: 0 calc(100% - 1px);
    background-size: 5px 2px;
}

.cookie-consent__text a:hover,
.cookie-consent__text a:focus-visible {
    color: #fff;
    outline: none;
}

.cookie-consent__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(0, 216, 232, 0.34);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(0, 94, 165, 0.22);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
    border-color: rgba(0, 216, 232, 0.72);
    outline: none;
    box-shadow: 0 18px 34px rgba(0, 94, 165, 0.28);
    transform: translateY(-1px);
}

.back-to-top {
    position: fixed;
    left: max(16px, calc((100vw - var(--content-max)) / 2 - 72px));
    bottom: 32px;
    z-index: 78;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(0, 194, 220, 0.28);
    border-radius: 50%;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(235, 250, 253, 0.84)),
        #fff;
    color: var(--accent-dark);
    box-shadow: 0 16px 38px rgba(7, 27, 34, 0.14);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.92);
    transition:
        opacity 220ms ease,
        transform 220ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
    visibility: hidden;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    border-color: rgba(0, 194, 220, 0.62);
    color: var(--accent);
    outline: none;
    box-shadow: 0 20px 44px rgba(0, 94, 165, 0.18);
    transform: translateY(-2px) scale(1);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quick-actions {
    position: fixed;
    right: max(16px, calc((100vw - var(--content-max)) / 3 + 20px));
    bottom: 16px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(0, 94, 165, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 34px rgba(7, 27, 34, 0.13);
    backdrop-filter: blur(16px) saturate(1.08);
    max-width: min(540px, calc(100vw - 20px));
    overflow: visible;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.quick-actions.is-collapsed {
    max-width: 46px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 10px 24px rgba(7, 27, 34, 0.1);
}

.quick-actions.is-collapsed .quick-actions__item,
.quick-actions.is-collapsed .quick-actions__panel {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.quick-actions.is-collapsed .quick-actions__item {
    width: 0;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
    overflow: hidden;
}

.quick-actions__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(0, 94, 165, 0.1);
    border-radius: var(--radius-xs);
    background: rgba(229, 246, 250, 0.62);
    color: rgba(7, 50, 71, 0.72);
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    flex: 0 0 34px;
}

.quick-actions.is-collapsed .quick-actions__toggle {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(229, 246, 250, 0.5);
}

.quick-actions__toggle:hover,
.quick-actions__toggle:focus-visible {
    border-color: rgba(0, 194, 220, 0.34);
    background: #fff;
    color: var(--accent);
    outline: none;
}

.quick-actions__toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(135deg);
    transition: transform 220ms ease;
}

.quick-actions.is-collapsed .quick-actions__toggle::before {
    transform: rotate(-45deg);
}

.quick-actions__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 42px;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--accent-dark);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    opacity: 1;
    visibility: visible;
}

.quick-actions__item:hover,
.quick-actions__item:focus-visible,
.quick-actions__item.is-active {
    border-color: rgba(0, 94, 165, 0.12);
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.quick-actions__item--phone {
    border-color: rgba(0, 94, 165, 0.2);
    background: rgba(0, 94, 165, 0.88);
    color: #fff;
}

.quick-actions__item--phone:hover,
.quick-actions__item--phone:focus-visible {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
}

.quick-actions__item svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quick-actions__item--favorite svg {
    stroke: none;
}

.quick-actions__item--favorite svg path {
    fill: currentColor;
}

.quick-actions__item--favorite .favorite-heart-fill {
    fill: var(--accent-warm);
    opacity: 0;
    transition: opacity 160ms ease;
}

.quick-actions__item--favorite.has-items {
    border-color: rgba(241, 80, 68, 0.22);
    background: var(--accent-warm-soft);
    color: var(--accent-warm);
}

.quick-actions__item--favorite.has-items svg path {
    fill: var(--accent-warm);
}

.quick-actions__item--favorite.has-items .favorite-heart-fill {
    opacity: 1;
}

.quick-actions__count {
    display: none;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: var(--radius-pill);
    background: rgba(241, 80, 68, 0.92);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.quick-actions__item.has-items .quick-actions__count {
    display: inline-block;
}

.quick-actions__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 32px));
    max-height: min(480px, calc(100vh - 132px));
    overflow: auto;
    padding: 14px;
    border: 1px solid rgba(0, 194, 220, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-float);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
}

.quick-actions__panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.quick-actions__panel--message {
    width: min(230px, calc(100vw - 32px));
}

.quick-actions__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.quick-actions__panel-link {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.quick-actions__list {
    display: grid;
    gap: 8px;
}

.quick-actions__recent {
    position: relative;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 10px;
    min-height: 74px;
    padding: 7px 7px 18px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.quick-actions__recent:hover,
.quick-actions__recent:focus-visible {
    border-color: rgba(0, 194, 220, 0.32);
    box-shadow: var(--shadow-card);
    transform: translateY(-1px);
}

.quick-actions__recent-media {
    overflow: hidden;
    border-radius: var(--radius-xs);
    background: var(--surface-soft);
}

.quick-actions__recent-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-actions__recent-body {
    display: grid;
    align-content: center;
    gap: 2px;
    min-width: 0;
}

.quick-actions__recent-price {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.quick-actions__recent-title,
.quick-actions__recent-code {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-actions__recent-title {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
}

.quick-actions__recent-code,
.quick-actions__empty {
    color: var(--muted);
    font-size: 12px;
}

.quick-actions__recent-time {
    position: absolute;
    right: 9px;
    bottom: 6px;
    color: rgba(58, 64, 72, 0.48);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1;
}

.quick-actions__empty {
    padding: 14px;
    border: 1px dashed rgba(0, 94, 165, 0.2);
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
}

.quick-actions__messenger {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 600;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.quick-actions__messenger:hover,
.quick-actions__messenger:focus-visible {
    border-color: rgba(0, 194, 220, 0.32);
    background: var(--accent-soft);
    box-shadow: var(--shadow-card);
    transform: translateY(-1px);
}

.quick-actions__icon--max {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 8px 16px rgba(0, 94, 165, 0.18);
}

.quick-actions__icon--max img {
    width: 14px;
    height: 14px;
    display: block;
    object-fit: contain;
}

.quick-actions__icon--telegram {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    stroke: none;
}

.quick-actions__icon--telegram path {
    fill: #25a4e3;
}

@media (max-width: 1140px) {
    .site-header__inner {
        grid-template-columns: 198px minmax(0, 1fr) minmax(190px, auto);
        gap: 14px;
    }

    .brand {
        width: 198px;
    }

    .site-nav {
        gap: 10px;
        font-size: 12px;
    }

    .site-nav__primary {
        gap: 6px;
    }

    .site-nav a {
        padding-right: 9px;
        padding-left: 9px;
    }

    .site-nav__actions {
        padding-left: 10px;
    }
}

@media (max-width: 760px) {
    .site-header__inner,
    .site-main,
    .site-footer__inner {
        width: min(var(--content-max), calc(100% - 24px));
    }

    .site-header__inner {
        display: flex;
        align-items: center;
        flex-direction: row;
        min-height: 68px;
        padding: 10px 0;
    }

    .brand {
        width: min(198px, calc(100vw - 104px));
    }

    .site-menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    body.site-menu-open {
        overflow: hidden;
    }

    body.site-menu-open .site-header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 190;
        margin-bottom: 0;
        background: rgba(7, 27, 34, 0.98);
        border-bottom-color: rgba(0, 194, 220, 0.2);
        box-shadow: 0 18px 46px rgba(7, 27, 34, 0.22);
        backdrop-filter: blur(18px) saturate(1.18);
    }

    body.site-menu-open .site-menu-toggle {
        border-color: rgba(0, 216, 232, 0.7);
        background: rgba(0, 194, 220, 0.14);
        color: #fff;
    }

    body.site-menu-open .site-menu-toggle__icon::before {
        top: 5px;
        transform: rotate(45deg);
    }

    body.site-menu-open .site-menu-toggle__line {
        opacity: 0;
    }

    body.site-menu-open .site-menu-toggle__icon::after {
        top: 5px;
        transform: rotate(-45deg);
    }

    .site-menu-backdrop {
        display: block;
    }

    body.site-menu-open .site-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav {
        position: fixed;
        grid-column: auto;
        top: var(--site-menu-top, 94px);
        right: 12px;
        left: 12px;
        bottom: auto;
        z-index: 170;
        display: none;
        align-content: start;
        grid-template-columns: 1fr;
        box-sizing: border-box;
        height: var(--site-menu-height, calc(100vh - var(--site-menu-top, 94px) - 12px));
        height: var(--site-menu-height, calc(100svh - var(--site-menu-top, 94px) - 12px));
        max-height: var(--site-menu-height, calc(100vh - var(--site-menu-top, 94px) - 12px));
        max-height: var(--site-menu-height, calc(100svh - var(--site-menu-top, 94px) - 12px));
        overflow-x: hidden;
        overflow-y: hidden;
        padding: 15px;
        border: 1px solid rgba(0, 216, 232, 0.28);
        border-radius: 24px;
        background:
            radial-gradient(circle at 88% 0%, rgba(0, 216, 232, 0.2), transparent 34%),
            linear-gradient(150deg, rgba(7, 27, 34, 0.99), rgba(4, 41, 54, 0.99) 58%, rgba(3, 28, 38, 0.99)),
            var(--site-bg-deep);
        box-shadow: 0 28px 70px rgba(7, 27, 34, 0.42);
        color: rgba(250, 248, 244, 0.9);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top center;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
        visibility: hidden;
        overscroll-behavior: contain;
    }

    body.site-menu-open .site-nav {
        display: block;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        visibility: visible;
    }

    .site-nav__scroll {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding-right: 2px;
        box-sizing: border-box;
        overscroll-behavior: contain;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 216, 232, 0.35) rgba(255, 255, 255, 0.06);
    }

    .site-nav__primary,
    .site-nav__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        width: 100%;
    }

    .site-nav__primary {
        align-content: start;
        grid-auto-rows: max-content;
        min-height: 0;
        overflow: visible;
        padding-right: 0;
        overscroll-behavior: contain;
    }

    .site-nav__scroll::-webkit-scrollbar {
        width: 4px;
    }

    .site-nav__scroll::-webkit-scrollbar-track {
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
    }

    .site-nav__scroll::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(0, 216, 232, 0.35);
    }

    .site-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 46px;
        padding: 12px 14px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.065);
        color: rgba(250, 248, 244, 0.9);
        font-size: 14px;
        line-height: 1.2;
        text-align: center;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible,
    .site-nav a.is-active {
        border-color: rgba(0, 216, 232, 0.38);
        background: rgba(0, 194, 220, 0.13);
        color: #fff;
        outline: none;
    }

    .site-nav__item {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 7px;
        min-width: 0;
        position: static !important;
    }

    .site-nav__item::after {
        display: none;
    }

    .site-nav__item > a {
        position: relative;
        padding-right: 42px;
        padding-left: 42px;
        border-color: rgba(0, 216, 232, 0.2);
        background:
            linear-gradient(135deg, rgba(0, 194, 220, 0.13), rgba(255, 255, 255, 0.045)),
            rgba(255, 255, 255, 0.055);
    }

    .site-nav__chevron {
        position: absolute;
        top: 50%;
        right: 18px;
        margin-top: -4px;
        transform: rotate(45deg);
    }

    .site-nav__item:hover .site-nav__chevron,
    .site-nav__item:focus-within .site-nav__chevron {
        transform: rotate(45deg);
    }

    .site-nav__submenu {
        position: static !important;
        inset: auto !important;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        margin: 0;
        padding: 8px;
        border: 1px solid rgba(0, 216, 232, 0.1);
        border-radius: 18px;
        background: rgba(0, 55, 64, 0.22);
        box-shadow: none;
        opacity: 1 !important;
        pointer-events: auto;
        transform: none !important;
        visibility: visible !important;
    }

    .site-nav__item:hover .site-nav__submenu,
    .site-nav__item:focus-within .site-nav__submenu {
        transform: none;
    }

    .site-nav__submenu::before {
        display: none;
    }

    .site-nav .site-nav__submenu a {
        justify-content: center;
        min-height: 40px;
        padding: 9px 10px;
        border-color: rgba(255, 255, 255, 0.07);
        background: rgba(255, 255, 255, 0.035);
        color: rgba(250, 248, 244, 0.78);
        font-size: 12.5px;
        line-height: 1.22;
        text-align: center;
        white-space: normal;
    }

    .site-nav .site-nav__submenu a:hover,
    .site-nav .site-nav__submenu a:focus-visible,
    .site-nav .site-nav__submenu a.is-active {
        border-color: rgba(0, 216, 232, 0.32);
        background: rgba(0, 194, 220, 0.12);
        color: #fff;
        outline: none;
    }

    .site-nav__actions {
        display: none !important;
    }

    .site-nav__mobile-link {
        display: flex;
    }

    .site-nav__mobile-link--favorite {
        border-color: rgba(241, 80, 68, 0.2);
        background: rgba(241, 80, 68, 0.14);
    }

    .site-nav__mobile-link--sell {
        justify-content: center;
        border-color: transparent;
        background: linear-gradient(135deg, var(--accent), var(--accent-dark));
        color: #fff;
        box-shadow: 0 12px 24px rgba(0, 85, 132, 0.24);
    }

    .site-nav__mobile-link--sell:hover,
    .site-nav__mobile-link--sell:focus-visible,
    .site-nav__mobile-link--sell.is-active {
        border-color: transparent;
        background: linear-gradient(135deg, var(--accent), var(--accent-dark));
        color: #fff;
    }

    .site-nav__favorite,
    .site-nav .header-cta,
    .site-nav__mobile-link {
        justify-content: center;
        min-height: 48px;
        min-width: 0;
        border-radius: 16px;
        text-align: center;
    }

    .site-nav__favorite {
        background: rgba(241, 80, 68, 0.16);
    }

    .site-nav .header-cta {
        border-color: transparent;
        background: linear-gradient(135deg, var(--accent), var(--accent-dark));
        box-shadow: 0 12px 24px rgba(0, 85, 132, 0.24);
    }

    .site-shell--home .site-header {
        width: 100vw;
        max-width: 100vw;
        margin-bottom: -68px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 34px 0 24px;
    }

    .site-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 26px 18px;
    }

    .site-footer__brand,
    .site-footer__contacts {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .site-footer__legal {
        justify-content: center;
    }

    .site-footer__copyright,
    .site-footer__creator {
        justify-self: center;
        text-align: center;
    }

    .page-heading h1 {
        font-size: 36px;
    }

    .site-shell {
        padding-bottom: 78px;
    }

    .toast-stack {
        top: 82px;
        right: 12px;
        left: 12px;
        width: auto;
    }

    .toast {
        grid-template-columns: 38px minmax(0, 1fr) 28px;
        gap: 10px;
        min-height: 62px;
        padding: 12px 10px 12px 12px;
        border-radius: 16px;
    }

    .toast__icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .toast__body {
        font-size: 13px;
    }

    .cookie-consent {
        right: 10px;
        bottom: 86px;
        left: 10px;
        width: auto;
    }

    .cookie-consent__inner {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
        padding: 13px;
    }

    .cookie-consent__icon {
        width: 34px;
        height: 34px;
    }

    .cookie-consent__icon svg {
        width: 18px;
        height: 18px;
    }

    .cookie-consent__button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .back-to-top {
        left: 12px;
        bottom: 84px;
        width: 44px;
        height: 44px;
    }

    .quick-actions {
        right: 10px;
        bottom: 10px;
        left: 10px;
        justify-content: space-between;
        border-radius: var(--radius-md);
        padding: 5px;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 12px 30px rgba(7, 27, 34, 0.12);
    }

    .quick-actions__toggle {
        height: 46px;
    }

    .quick-actions__item {
        flex-direction: column;
        flex: 1 1 0;
        gap: 4px;
        min-width: 0;
        padding: 0 5px;
        min-height: 46px;
        font-size: 10px;
    }

    .quick-actions__item svg {
        width: 17px;
        height: 17px;
    }

    .quick-actions.is-collapsed {
        right: 12px;
        bottom: 12px;
        left: auto;
        width: 44px;
        max-width: 44px;
        height: 44px;
        border-radius: 50%;
        justify-content: center;
    }

    .quick-actions__panel {
        right: 0;
        bottom: calc(100% + 10px);
        width: 100%;
        max-height: min(430px, calc(100vh - 116px));
    }
}

@media (max-width: 540px) {
    .site-header__inner,
    .site-main,
    .site-footer__inner {
        width: min(var(--content-max), calc(100% - 20px));
    }

    .brand {
        width: min(178px, calc(100vw - 86px));
    }

    .site-menu-toggle {
        min-width: 42px;
        min-height: 40px;
        padding: 0 10px;
    }

    .site-menu-toggle > span:last-child {
        display: none;
    }

    .site-nav {
        right: 10px;
        bottom: auto;
        left: 10px;
        height: var(--site-menu-height, calc(100vh - var(--site-menu-top, 76px) - 10px));
        height: var(--site-menu-height, calc(100svh - var(--site-menu-top, 76px) - 10px));
        max-height: var(--site-menu-height, calc(100vh - var(--site-menu-top, 76px) - 10px));
        max-height: var(--site-menu-height, calc(100svh - var(--site-menu-top, 76px) - 10px));
        padding: 12px;
        border-radius: 22px;
    }

    .site-nav__scroll {
        gap: 11px;
        padding-right: 1px;
    }

    .site-nav__submenu {
        gap: 6px;
        padding: 7px;
    }

    .site-nav .site-nav__submenu a {
        min-height: 38px;
        padding: 8px;
        font-size: 12px;
    }

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

    .page-heading {
        padding: 22px 20px;
    }

    .page-heading h1 {
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.08;
    }

    .page-heading p {
        font-size: 15px;
        line-height: 1.55;
    }

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

    .site-footer__logo {
        width: 210px;
    }

    .site-footer__socials a {
        min-height: 42px;
    }

    .site-footer__socials a {
        flex: 0 0 42px;
    }

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

    .site-footer__bottom {
        gap: 10px;
    }
}

/* Softer shared typography for Onest. */
.site-nav,
.site-menu-toggle,
.site-footer__links a,
.site-footer__bottom a,
.button,
.page-heading .eyebrow,
.hero-search__tab,
.hero-type-select__button,
.hero-extra-control input,
.toast {
    font-weight: 600;
}

.page-heading h1,
.section-kicker h2 {
    font-weight: 700;
}

/* Mobile hardening: the home header is visually over the hero and must never
   inherit a wider hero layout width. */
@media (max-width: 760px) {
    .site-shell--home .site-header {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .site-shell--home .site-header__inner {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        min-width: 0;
        margin-right: auto;
        margin-left: auto;
    }
}
