/* Sofia Sans (OFL), self-hosted: no requests to Google, so no visitor IP leaves the site. */
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/sofia-sans-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/sofia-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/sofia-sans-italic-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/sofia-sans-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* MITHOUSE — storefront styles */
:root {
    --ink: #141414;
    --ink-2: #2b2926;
    --paper: #f7f5f1;
    --paper-2: #efeae2;
    --card: #ffffff;
    --line: #e6e0d6;
    --muted: #6b655c;
    --red: #d51f26;
    --red-dk: #b3161c;
    --wood: #c47a2c;
    --ok: #1f8a4c;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 8px 28px rgba(20, 20, 20, .07);
    --shadow-lg: 0 24px 60px rgba(20, 20, 20, .18);
    --font: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --topbar-h: 36px;
    --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.015em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 36px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.i { flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 800; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(213, 31, 38, .3); }
.btn-red:hover { background: var(--red-dk); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--red); text-decoration: none; }

/* Top bar + white header */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .82); font-size: .88rem; font-weight: 600; }
.topbar-in { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar .i { color: var(--red); }
.topbar a { color: #fff; font-weight: 800; }
.tb-short { display: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 18px rgba(20, 20, 20, .06); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo img { height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.main-nav > a, .has-drop > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; color: var(--ink-2); transition: background .2s, color .2s; }
.main-nav > a:hover, .has-drop:hover > a { background: var(--paper); color: var(--ink); }
.main-nav a[aria-current] { color: var(--red); }
.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 8px); left: -20px; display: grid; grid-template-columns: 220px 300px; gap: 24px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; }
.has-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 800; margin: 0 0 8px; }
.drop-col { display: grid; align-content: start; gap: 2px; }
.drop-col > a { padding: 8px 10px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.drop-col > a:hover { background: var(--paper); }
.drop-all { color: var(--red); display: inline-flex !important; align-items: center; gap: 6px; }
.drop-model { display: flex !important; gap: 12px; align-items: center; }
.drop-model img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.drop-model b { display: block; font-size: .98rem; }
.drop-model small { color: var(--red); font-weight: 800; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn, .menu-close { display: none; background: none; border: 0; padding: 8px; cursor: pointer; border-radius: 10px; }

.mobile-nav { position: fixed; inset: 0; z-index: 90; background: rgba(20, 20, 20, .5); }
.mobile-nav-in { position: absolute; inset: 0 0 0 auto; width: min(400px, 100%); background: #fff; padding: 18px 20px 28px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; animation: slideIn .25s ease; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }
.mn-head { display: flex; justify-content: space-between; align-items: center; }
.mn-head img { height: 44px; width: auto; }
.mobile-nav .menu-close { display: block; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { padding: 13px 4px; font-size: 1.25rem; font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-models { display: grid; gap: 8px; }
.mobile-models a { display: flex; justify-content: space-between; padding: 14px 16px; background: var(--paper); border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; }
.mobile-models b { color: var(--red); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; color: var(--muted); padding: 18px 0 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 700; }

/* Full-screen hero */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - var(--topbar-h)); display: flex; align-items: stretch; color: #fff; isolation: isolate; overflow: hidden; background: #1b1a18; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.hero-media { will-change: transform; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 7, 6, .92) 0%, rgba(8, 7, 6, .78) 38%, rgba(8, 7, 6, .45) 70%, rgba(8, 7, 6, .32) 100%), linear-gradient(0deg, rgba(8, 7, 6, .88) 0%, rgba(8, 7, 6, 0) 45%), linear-gradient(180deg, rgba(8, 7, 6, .35) 0%, rgba(8, 7, 6, 0) 25%); }
.hero-inner { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vh, 90px) 0 clamp(24px, 4vh, 40px); gap: 36px; }
.hero-copy { max-width: 760px; margin-top: auto; }
.hero-copy h1 { color: #fff; text-wrap: balance; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: .95rem; font-weight: 700; backdrop-filter: blur(8px); margin-bottom: 22px; }
.dot, .stock i, .stock-line i, .hm-text i { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .25); display: inline-block; flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 132, .08); } }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 64ch; }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-actions.center { justify-content: center; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust .i { color: #3ddc84; }
.hero-models { margin-top: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.hm { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-decoration: none; transition: background .2s, transform .2s; }
.hm:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.hm img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.hm b { display: block; font-size: 1rem; line-height: 1.2; margin-bottom: 3px; }
.hm small { display: flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .78); font-weight: 600; }
.hm-price { font-weight: 900; font-size: 1.05rem; white-space: nowrap; }
.hero-scroll { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); color: rgba(255, 255, 255, .7); animation: bob 2s infinite; display: none; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* Stats */
.stats { padding: 28px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat { padding: 24px; border-left: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 900; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .98rem; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding-top: 28px; }
.section-sand { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head > p { max-width: 48ch; color: var(--muted); margin: 0; }
.section-head.light > p { color: rgba(255, 255, 255, .7); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: var(--red); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow.light { color: #ff6b70; }
.page-hero { padding: 24px 0 12px; }
.page-hero h1 { max-width: 22ch; text-wrap: balance; }
.page-hero-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.page-hero-in > div:first-child { max-width: 780px; }
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* Model cards */
.models-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.models-grid > * { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
@media (max-width: 1080px) { .models-grid > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .models-grid > * { flex-basis: 100%; } }
.model-card { background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.model-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.model-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.model-card:hover .model-media img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: .8rem; font-weight: 900; padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; }
.stock { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .94); padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; color: var(--ok); }
.model-area { position: absolute; right: 14px; bottom: 14px; background: rgba(20, 20, 20, .82); color: #fff; padding: 6px 14px; border-radius: 14px; font-size: .9rem; backdrop-filter: blur(6px); }
.model-area b { font-size: 1.5rem; font-weight: 900; }
.model-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.model-body h3 { font-size: 1.45rem; font-weight: 900; margin-bottom: 4px; }
.model-body h3 a { text-decoration: none; }
.model-sub { color: var(--muted); margin-bottom: 14px; }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--paper); border-radius: 999px; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.model-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.price small { display: block; font-size: .82rem; color: var(--muted); font-weight: 700; }
.price strong { font-size: 1.7rem; font-weight: 900; }
.price s { color: var(--muted); margin-left: 6px; }

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 54px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s; }
.cat-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.ct-name { font-size: 1.3rem; font-weight: 900; }
.ct-text { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.ct-go { position: absolute; left: 22px; bottom: 18px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.steps .i { color: var(--red); margin-bottom: 18px; }
.steps p { color: rgba(255, 255, 255, .7); margin: 0; }
.step-n { position: absolute; top: 18px; right: 22px; font-size: 2.8rem; font-weight: 900; color: rgba(255, 255, 255, .08); line-height: 1; }

/* Real photos */
.real-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.real-grid-all { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.real-item { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper-2); }
.real-item.is-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
.real-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.real-item:hover img { transform: scale(1.05); }
.zoom { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); opacity: 0; transition: opacity .2s; }
.real-item:hover .zoom, .pg-main:hover .zoom { opacity: 1; }
.real-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: .92rem; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 28px; }
.feature .i { color: var(--red); margin-bottom: 16px; }
.feature p { color: var(--muted); margin: 0; }

/* SEO text block */
.seo-block { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.seo-links { position: sticky; top: calc(var(--header-h) + 20px); background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.seo-links h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 8px 0 6px; }
.seo-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.seo-links a:hover { background: var(--paper); color: var(--red); }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.4em; }
.prose h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--red); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; background: var(--card); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper-2); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.faq details { background: var(--card); border-radius: var(--radius-sm); margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary h3 { font-size: 1.1rem; margin: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .25s; color: var(--red); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Blog */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card { background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.3rem; }
.post-body h3 a { text-decoration: none; }
.post-body p { color: var(--muted); }
.post-body .link-arrow { margin-top: auto; }
.post-meta { font-size: .9rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.article-head { max-width: 900px; padding-top: 12px; }
.article-cover { margin: 24px auto 0; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding: 48px 0 24px; align-items: start; }
.article-body { max-width: 760px; }
.article-side { position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.side-card h2 { font-size: 1.4rem; }
.side-model { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; }
.side-model:hover { background: var(--paper); }
.side-model img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.side-model b { display: block; }
.side-model small { color: var(--red); font-weight: 800; }

/* CTA */
.cta-band { padding: 0 0 clamp(56px, 8vw, 96px); }
.cta-in { background: var(--ink) url("../img/hero.webp") center / cover; border-radius: 28px; padding: clamp(32px, 5vw, 64px); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; position: relative; overflow: hidden; isolation: isolate; }
.cta-in::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 10, 8, .93), rgba(12, 10, 8, .72)); z-index: -1; }
.cta-in h2 { color: #fff; }
.cta-in p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: #0f0f0f; color: rgba(255, 255, 255, .72); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.site-footer h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contacts a, .footer-contacts span { display: flex; gap: 10px; align-items: center; }
.footer-contacts .i { color: var(--red); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: rgba(255, 255, 255, .5); }
.fab-call { display: none; }

/* Product top */
.product-top > *, .pdetails > *, .split > *, .contact-grid > *, .faq-wrap > *, .seo-block > *, .article-grid > * { min-width: 0; }
.product-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); padding: 8px 0 56px; align-items: start; }
.pgallery { position: sticky; top: calc(var(--header-h) + 16px); }
.pg-main { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper-2); }
.pg-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.pg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; margin-top: 10px; }
.pg-thumbs a { border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; border: 2px solid transparent; opacity: .7; transition: opacity .2s, border-color .2s; }
.pg-thumbs a.is-active, .pg-thumbs a:hover { opacity: 1; border-color: var(--ink); }
.pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stock-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ok); background: #e8f6ee; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.pinfo h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 6px; }
.psub { color: var(--muted); font-size: 1.2rem; margin-bottom: 22px; }
.pkeys { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pkeys li { min-width: 0; overflow-wrap: anywhere; display: flex; gap: 12px; align-items: center; padding: 14px; background: var(--card); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.pkeys .i { color: var(--red); }
.pkeys span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.pkeys b { display: block; color: var(--ink); font-size: 1.02rem; }
.plead { font-size: 1.1rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checklist .i { color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 3px; }
.pprice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.pprice small { display: block; color: rgba(255, 255, 255, .6); font-size: .85rem; font-weight: 700; }
.pprice strong { font-size: 2.3rem; font-weight: 900; line-height: 1.1; }
.pprice s { color: rgba(255, 255, 255, .5); margin-left: 8px; }
.pnote { margin-top: 14px; color: var(--muted); font-size: .98rem; }
.pnote .i { vertical-align: -3px; }
.pnote a { font-weight: 800; color: var(--ink); }

/* Configurator */
.cfg-section { background: var(--paper-2); padding: clamp(48px, 7vw, 88px) 0; }
.cfg-form { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 32px; align-items: start; }
.cfg-head { margin-bottom: 24px; }
.cfg-head p:not(.eyebrow) { color: var(--muted); }
.cfg-group { border: 0; margin: 0 0 14px; padding: 22px; background: var(--card); border-radius: var(--radius); min-width: 0; }
.cfg-group legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; }
.cfg-step { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 900; font-size: .9rem; }
.cfg-title { font-weight: 900; font-size: 1.18rem; }
.cfg-title small { font-weight: 700; color: var(--muted); font-size: .85rem; margin-left: 6px; }
.cfg-picked { margin-left: auto; font-size: .9rem; color: var(--muted); text-align: right; font-weight: 600; }
.cfg-hint { color: var(--muted); font-size: .95rem; margin: -6px 0 14px; clear: both; }
.cfg-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; clear: both; }
.cfg-opt { position: relative; display: flex; flex-direction: column; cursor: pointer; }
.cfg-opt > input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-card { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px 44px 16px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .15s, box-shadow .15s, background .15s; flex-wrap: wrap; }
.cfg-opt:hover .cfg-card { border-color: #bdb4a5; }
.cfg-opt > input:focus-visible + .cfg-card { outline: 3px solid var(--red); outline-offset: 2px; }
.cfg-opt > input:checked + .cfg-card { border-color: var(--ink); background: #fffdf9; box-shadow: 0 0 0 1px var(--ink); }
.cfg-text { flex: 1; min-width: 0; }
.cfg-label { display: block; font-weight: 800; line-height: 1.3; font-size: 1.04rem; }
.cfg-desc { display: block; color: var(--muted); font-size: .9rem; line-height: 1.35; margin-top: 2px; }
.cfg-price { flex-basis: 100%; font-weight: 900; color: var(--red); }
.cfg-price.is-free { color: var(--ok); font-weight: 800; }
.cfg-swatches .cfg-price.is-free { display: none; }
.cfg-tick { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; transition: all .15s; }
.cfg-opt > input[type="checkbox"] + .cfg-card .cfg-tick { border-radius: 6px; }
.cfg-opt > input:checked + .cfg-card .cfg-tick { background: var(--ink); border-color: var(--ink); color: #fff; }
.cfg-swatch { width: 38px; height: 38px; border-radius: 50%; background: var(--sw); flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .1); }
.cfg-swatches .cfg-options { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.cfg-swatches .cfg-card { padding: 12px 40px 12px 12px; }
.cfg-qty { display: none; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 12px; border-radius: 12px; background: var(--paper); font-size: .95rem; font-weight: 700; }
.cfg-opt > input:checked ~ .cfg-qty { display: flex; }
.cfg-qty input { width: 58px; text-align: center; padding: 6px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; -moz-appearance: textfield; }
.cfg-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cfg-qty em { font-style: normal; color: var(--muted); }
.qty-btn { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: var(--ink); color: #fff; border-radius: 8px; cursor: pointer; }

.cfg-summary { position: sticky; top: calc(var(--header-h) + 16px); }
.sum-card { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.sum-product { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sum-product img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.sum-product b { display: block; font-size: 1.15rem; font-weight: 900; }
.sum-product span { color: var(--muted); font-size: .9rem; }
.sum-lines { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; max-height: 320px; overflow-y: auto; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: .96rem; }
.sum-lines em { display: block; font-style: normal; color: var(--muted); font-size: .8rem; }
.sum-lines b { white-space: nowrap; font-weight: 800; }
.sum-totals { margin: 0 0 14px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.sum-totals div { display: flex; justify-content: space-between; }
.sum-totals dt { color: var(--muted); }
.sum-totals dd { margin: 0; font-weight: 800; }
.sum-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); align-items: baseline; }
.sum-total dt { color: var(--ink) !important; font-weight: 900; }
.sum-total dd { font-size: 2.1rem; font-weight: 900; color: var(--red); }
.sum-total dd.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.06); } }
.sum-onreq { font-size: .9rem; color: var(--wood); font-weight: 800; margin: -4px 0 12px; }
.sum-note { font-size: .84rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.mobile-total { display: none; }

/* Order form */
.order-box { margin-top: 24px; padding: clamp(22px, 3vw, 32px); background: var(--card); border-radius: var(--radius); border: 2px solid var(--ink); }
.order-head { display: flex; gap: 14px; margin-bottom: 20px; }
.order-head h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 6px; }
.order-head p { color: var(--muted); margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: .92rem; font-weight: 800; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .15s, background .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); background: #fff; }
.field.has-err input { border-color: var(--red); background: #fff5f5; }
.field-err { color: var(--red); font-size: .88rem; font-weight: 700; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .86rem; color: var(--muted); margin: 12px 0 0; }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 700; }
.alert-err { background: #fdecec; color: var(--red-dk); }

/* Details */
.pdetails { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.specs { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.specs table { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 600; width: 44%; padding-right: 12px; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

/* Compare */
.compare-scroll { overflow-x: auto; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 1.15rem; font-weight: 900; }
.compare thead a { text-decoration: none; }
.compare tbody th { color: var(--muted); font-weight: 600; }
.compare tr:last-child > * { border-bottom: 0; }

/* About / contact / misc */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mini-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-gallery a { border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ccard { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-sm); background: var(--card); text-decoration: none; border: 1px solid var(--line); }
.ccard .i { color: var(--red); }
.ccard small { display: block; color: var(--muted); font-size: .85rem; }
.ccard b { word-break: break-word; }
.map { grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact-form { background: var(--card); border-radius: 22px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.contact-form h2 { font-size: 1.7rem; }
.thanks { text-align: center; max-width: 760px; }
.thanks .lead { margin-inline: auto; }
.thanks-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--ok); color: #fff; margin-bottom: 20px; }
.thanks-sum { text-align: left; margin: 28px auto 0; max-width: 520px; }
.big404 { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; color: var(--red); line-height: 1; margin: 0; }
.thanks .models-grid { text-align: left; margin-top: 32px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 10, 10, .94); display: grid; place-items: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (min-height: 760px) and (min-width: 1081px) { .hero-scroll { display: block; } }
@media (max-width: 1280px) { .nav-cat { display: none !important; } }
@media (max-width: 1080px) {
    .main-nav { display: none; }
    .menu-btn { display: block; }
    .header-cta { margin-left: auto; }
    .hero-models { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
    .hero-models::-webkit-scrollbar { display: none; }
    .hm { scroll-snap-align: start; padding: 10px; }
    .steps, .cat-tiles { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .cfg-form, .article-grid { grid-template-columns: minmax(0, 1fr); }
    .cfg-summary, .article-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .product-top, .pdetails, .faq-wrap, .split, .contact-grid, .seo-block { grid-template-columns: minmax(0, 1fr); }
    .pgallery, .seo-links { position: static; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .real-grid { grid-template-columns: repeat(2, 1fr); }
    .cfg-summary { display: none; }
    .mobile-total { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; transform: translateY(110%); transition: transform .3s; }
    .mobile-total.show { transform: none; }
    .mobile-total small { display: block; color: rgba(255, 255, 255, .6); font-size: .8rem; }
    .mobile-total strong { font-size: 1.5rem; font-weight: 900; }
    body.page-product .fab-call { display: none !important; }
}
@media (max-width: 640px) {
    :root { --header-h: 64px; --topbar-h: 32px; }
    body { font-size: 16px; }
    .wrap { width: calc(100% - 32px); }
    .tb-hide, .tb-long { display: none !important; }
    .tb-short { display: inline; }
    .topbar { font-size: .8rem; }
    .header-cta .btn span { display: none; }
    .header-cta .btn { padding: 10px 12px; }
    .logo img { height: 44px; }
    .hero { min-height: calc(100svh - var(--header-h) - var(--topbar-h)); }
    .hero-media img { object-position: 47% 60%; }
    .hero-media::after { background: linear-gradient(0deg, rgba(8, 7, 6, .95) 25%, rgba(8, 7, 6, .62) 65%, rgba(8, 7, 6, .45)); }
    .hero-inner { padding-top: 36px; gap: 22px; }
    .hero-actions .btn, .page-hero-cta .btn { flex: 1 1 100%; }
    .btn { white-space: normal; text-align: center; }
    .page-hero-cta { width: 100%; }
    .hm-price { font-size: .95rem; }
    .steps, .features, .form-grid, .contact-cards, .cat-tiles { grid-template-columns: 1fr; }
    .cfg-group { padding: 16px; }
    .cfg-options { grid-template-columns: 1fr; }
    .cfg-swatches .cfg-options { grid-template-columns: 1fr 1fr; }
    .cfg-picked { display: none; }
    .models-grid, .posts-grid { grid-template-columns: 1fr; }
    .real-item.is-wide { grid-column: span 2; grid-row: auto; aspect-ratio: 1 / 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .fab-call { display: grid; place-items: center; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(213, 31, 38, .4); }
    .lightbox { padding: 56px 8px; }
    .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
    .section-head { margin-bottom: 28px; }
}
@media (max-width: 400px) {
    .pkeys, .cfg-swatches .cfg-options { grid-template-columns: 1fr; }
    .model-media .stock { top: 52px; left: 14px; right: auto; }
    .stat { padding: 16px 14px; }
    .stat strong { font-size: 1.4rem; }
    .wrap { width: calc(100% - 24px); }
    .pprice .btn { width: 100%; }
    .hm { grid-template-columns: 48px 1fr; }
    .hm img { width: 48px; height: 48px; }
}

/* ================= Motion & effects ================= */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.77, 0, .175, 1); }

/* Intro loader – first visit per session only; CSS fail-safe hides it even without JS */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #0d0c0b; clip-path: inset(0 0 0 0); animation: loaderFailsafe .01s 3.2s forwards; }
.loader-in { display: grid; justify-items: center; gap: 22px; }
.loader img { height: 64px; width: auto; opacity: 0; transform: translateY(14px) scale(.96); animation: loaderLogo .9s var(--ease-out) .1s forwards; }
.loader-bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--red); transform: translateX(-100%); animation: loaderBar 1.1s var(--ease-io) .2s forwards; }
@keyframes loaderLogo { to { opacity: 1; transform: none; } }
@keyframes loaderBar { to { transform: none; } }
@keyframes loaderFailsafe { to { visibility: hidden; } }
html.is-ready .loader { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io) .1s; animation: none; }
html.is-ready .loader-in { opacity: 0; transform: translateY(-30px); transition: all .5s var(--ease-io); }
html.no-intro .loader, html:not(.js) .loader { display: none; }

/* Page transitions */
.page-veil { position: fixed; inset: 0; z-index: 190; background: #0d0c0b; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
html.js.no-intro:not(.is-ready) .page-veil { opacity: 1; }
html.is-leaving .page-veil { opacity: 1; pointer-events: auto; transition-duration: .28s; }

/* Scroll progress */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff5a5f); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Header shrinks on scroll */
.site-header, .header-in, .logo img { transition: height .35s var(--ease-out), box-shadow .3s, background .3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 10px 30px rgba(20, 20, 20, .1); }
@media (min-width: 641px) {
    .site-header.is-scrolled .header-in { height: 66px; }
    .site-header.is-scrolled .logo img { height: 46px; }
}

/* Shine sweep on primary buttons */
.btn-red { position: relative; overflow: hidden; isolation: isolate; }
.btn-red::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); z-index: -1; transition: left .7s var(--ease-out); }
.btn-red:hover::after { left: 130%; }
.btn-red.pulse { animation: ctaPulse 2.6s ease-in-out 2.4s infinite; }
@keyframes ctaPulse { 0%, 100% { box-shadow: 0 8px 22px rgba(213, 31, 38, .3), 0 0 0 0 rgba(213, 31, 38, .45); } 50% { box-shadow: 0 8px 22px rgba(213, 31, 38, .3), 0 0 0 14px rgba(213, 31, 38, 0); } }

/* Hero entrance */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; }
.hero h1 .hl { color: #fff; background: linear-gradient(var(--red), var(--red)) no-repeat 0 96% / 0% .11em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html.js .hero .hero-media img { transform: scale(1.18); filter: brightness(.55) saturate(.8); }
html.js .hero h1 .w > span { transform: translateY(110%) rotate(4deg); }
html.js .hero .lead, html.js .hero .hero-actions, html.js .hero .hero-trust li, html.js .hero .hm, html.js .hero-scroll { opacity: 0; transform: translateY(28px); }
html.is-ready .hero .hero-media img { transform: scale(1); filter: none; transition: transform 2.6s var(--ease-out), filter 1.6s ease; }
html.is-ready .hero h1 .w > span { transform: none; transition: transform 1.05s var(--ease-out); transition-delay: calc(.25s + var(--i) * 70ms); }
html.is-ready .hero h1 .hl { background-size: 100% .11em; transition: background-size 1s var(--ease-io) 1.15s; }
html.is-ready .hero .lead { opacity: 1; transform: none; transition: all 1s var(--ease-out) .75s; }
html.is-ready .hero .hero-actions { opacity: 1; transform: none; transition: all 1s var(--ease-out) .9s; }
html.is-ready .hero .hero-trust li { opacity: 1; transform: none; transition: all .9s var(--ease-out); transition-delay: calc(1.05s + var(--i, 0) * 90ms); }
html.is-ready .hero .hm { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), background .2s; transition-delay: calc(1.15s + var(--i, 0) * 120ms); }
html.is-ready .hero-scroll { opacity: 1; transform: translateX(-50%); transition: opacity 1s ease 1.8s; }
.hero-inner { will-change: transform, opacity; }
.hero-scroll { transform: translateX(-50%); animation: none; }
.mouse { display: block; width: 26px; height: 40px; border: 2px solid rgba(255, 255, 255, .65); border-radius: 14px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Keyword ticker */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 14px 0; position: relative; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-weight: 900; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ticker i { width: 9px; height: 9px; background: #fff; transform: rotate(45deg); flex: none; opacity: .8; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Scroll reveals */
html.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
html.js .reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
html.js .reveal-scale { opacity: 0; transform: scale(.92); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
html.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-io); }
html.js .reveal-img img { transform: scale(1.25); transition: transform 1.6s var(--ease-out); }
html.js .reveal.in, html.js .reveal-left.in, html.js .reveal-scale.in { opacity: 1; transform: none; }
html.js .reveal-img.in { clip-path: inset(0 0 0 0); }
html.js .reveal-img.in img { transform: none; }
html.js .eyebrow.reveal-line::before { width: 0; transition: width .8s var(--ease-io) .2s; }
html.js .eyebrow.reveal-line.in::before { width: 22px; }

/* Steps: progress line draws across */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 2px; background: linear-gradient(90deg, var(--red), rgba(213, 31, 38, .1)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease-io) .2s; }
.steps.in::before { transform: scaleX(1); }
.steps li { transition: background .3s, border-color .3s, transform .3s; }
.steps li:hover { background: rgba(255, 255, 255, .09); border-color: rgba(213, 31, 38, .5); transform: translateY(-4px); }
.steps li:hover .step-n { color: rgba(213, 31, 38, .35); }
.step-n { transition: color .3s; }

/* 3D tilt + glare on cards (fine pointers only, set by JS) */
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease-out), box-shadow .3s; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s; }
.tilt .glare { position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 55%); opacity: 0; transition: opacity .3s; }
.tilt.is-tilting .glare { opacity: 1; }
.model-card { position: relative; }

/* Feature icons */
.feature { transition: transform .35s var(--ease-out), box-shadow .35s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature .i { transition: transform .5s var(--ease-out); }
.feature:hover .i { transform: rotate(-8deg) scale(1.15); }

/* Gallery hover */
.real-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .35)); opacity: 0; transition: opacity .4s; }
.real-item:hover::after { opacity: 1; }

/* Price tween highlight */
.sum-total dd.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.08); color: #ff3b42; } }

@media (prefers-reduced-motion: reduce) {
    .loader, .page-veil, .scroll-progress { display: none !important; }
    html.js .hero .hero-media img, html.js .hero h1 .w > span, html.js .hero .lead, html.js .hero .hero-actions, html.js .hero .hero-trust li, html.js .hero .hm, html.js .hero-scroll,
    html.js .reveal, html.js .reveal-left, html.js .reveal-scale { opacity: 1 !important; transform: none !important; filter: none !important; }
    html.js .reveal-img { clip-path: none !important; }
    html.js .reveal-img img { transform: none !important; }
    .ticker-track { animation: none !important; }
    .hero h1 .hl { background-size: 100% .11em; }
}

/* ================= Cookie consent ================= */
.cc [hidden], .cc[hidden] { display: none !important; }
.cc { position: fixed; left: 16px; bottom: 16px; z-index: 150; width: min(460px, calc(100% - 32px)); opacity: 0; transform: translateY(24px); transition: opacity .35s var(--ease-out, ease), transform .35s var(--ease-out, ease); }
.cc.is-open { opacity: 1; transform: none; }
.cc-box { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 30px 70px rgba(10, 10, 10, .28), 0 0 0 1px rgba(20, 20, 20, .06); max-height: calc(100vh - 32px); overflow-y: auto; }
.cc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cc-head h2 { font-size: 1.25rem; margin: 0; }
.cc-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #fdecec; color: var(--red); }
.cc p { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.cc p a { color: var(--ink); font-weight: 700; }
.cc-prefs { display: grid; gap: 8px; margin-bottom: 16px; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.cc-row b { display: block; font-size: .98rem; }
.cc-row small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.cc-row input { position: absolute; opacity: 0; pointer-events: none; }
.cc-switch { position: relative; flex: none; width: 44px; height: 26px; border-radius: 99px; background: #d6d0c6; transition: background .2s; }
.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.cc-row input:checked + .cc-switch { background: var(--ok); }
.cc-row input:checked + .cc-switch::after { transform: translateX(18px); }
.cc-row input:disabled + .cc-switch { opacity: .55; }
.cc-row input:focus-visible + .cc-switch { outline: 3px solid var(--red); outline-offset: 2px; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-actions .cc-settings, .cc-actions .cc-save { grid-column: 1 / -1; }
.cc-actions .btn { width: 100%; }
@media (max-width: 640px) {
    .cc { left: 8px; right: 8px; bottom: 8px; width: auto; }
    .cc-box { padding: 18px; }
}

/* Legal pages */
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.legal-head { padding-bottom: 8px; }
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 1.45rem; }
.legal-body table { font-size: .95rem; }
.legal-side { position: sticky; top: calc(var(--header-h) + 20px); }
.legal-link { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.legal-link:hover { background: var(--paper); }
.legal-link.is-current { background: var(--ink); color: #fff; }
.legal-company { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.legal-company b { color: var(--ink); }
@media (max-width: 1080px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } .legal-side { position: static; } }

/* Footer legal row */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.footer-legal a, .footer-legal button { color: rgba(255, 255, 255, .75); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
.footer-legal + .footer-bottom { margin-top: 18px; padding-top: 0; border-top: 0; }

/* Map behind consent */
.map-gate { height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 24px; color: var(--muted); background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 12px, #e8e2d8 12px, #e8e2d8 24px); }
.map-gate .i { color: var(--red); }
.map-gate p { margin: 0; max-width: 34ch; }
.map-gate b { color: var(--ink); }

/* Terms checkbox in the order form */
.terms-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin: -4px 0 16px; cursor: pointer; }
.terms-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.terms-check a { color: var(--ink); font-weight: 700; }
.terms-check.has-err { color: var(--red); }
.form-legal { font-size: .88rem; color: var(--muted); margin: -4px 0 14px; }
.form-legal a { color: var(--ink); font-weight: 700; }
.map { min-height: 260px; }

.hm small b { display: inline; font-size: inherit; color: #fff; margin: 0 0 0 2px; }

/* Viewing / inquiry actions and TBI financing */
.request-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.request-actions .btn { width: 100%; white-space: normal; text-align: center; }
form.is-sending .request-actions { opacity: .6; pointer-events: none; }
.finance-check { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 12px; padding: 12px 14px; margin: -4px 0 14px; border: 1.5px dashed #f2a65a; border-radius: 12px; background: #fff8f1; cursor: pointer; font-size: .98rem; }
.finance-check input { width: 20px; height: 20px; accent-color: #f26b1d; flex: none; }
.finance-check img { height: 24px; width: auto; display: inline-block; vertical-align: middle; margin-left: 4px; }
.tbi-line { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-weight: 700; color: var(--ink-2); }
.tbi-line img { height: 28px; width: auto; }
.tbi-line.is-dark { color: rgba(255, 255, 255, .85); }
.sum-card .tbi-line { justify-content: center; font-size: .9rem; }
.tbi-band { padding: 0 0 clamp(64px, 8vw, 104px); margin-top: calc(-1 * clamp(24px, 4vw, 48px)); }
.tbi-card { --tbi: #f26b1d; position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.tbi-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, var(--tbi), #ffb27a); }
.tbi-card::after { content: ""; position: absolute; right: -120px; bottom: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 107, 29, .12), transparent 70%); z-index: -1; }
.tbi-brand { height: 40px; width: auto; margin-bottom: 18px; }
.tbi-main h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 10px; }
.tbi-main p { color: var(--muted); font-size: 1.06rem; max-width: 52ch; margin-bottom: 24px; }
.tbi-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tbi-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tbi-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: #fff8f2; border: 1px solid #fbe1cd; }
.tbi-steps b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tbi); color: #fff; font-size: 1.15rem; font-weight: 900; }
.tbi-steps span { color: var(--muted); font-size: .96rem; line-height: 1.4; overflow-wrap: anywhere; }
.tbi-steps strong { display: block; color: var(--ink); font-size: 1.08rem; }
@media (max-width: 860px) {
    .tbi-card { grid-template-columns: minmax(0, 1fr); }
    .tbi-actions .btn { flex: 1 1 100%; white-space: nowrap; }
}
@media (max-width: 420px) {
    .tbi-card { padding: 22px 18px 22px 22px; border-radius: 22px; }
    .tbi-steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .tbi-steps b { width: 40px; height: 40px; font-size: 1rem; border-radius: 11px; }
    .tbi-actions .btn { padding: 14px 18px; font-size: 1rem; }
}
.chips .chip-tbi { background: #fff3e8; color: #b34a0c; }
@media (max-width: 520px) { .request-actions { grid-template-columns: 1fr; } }

.hero-tbi img { height: 24px; width: auto; margin-left: 4px; vertical-align: middle; }
@media (max-width: 1280px) { .header-calc { display: none; } }

.btn-stack { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-stack small { font-size: .82rem; font-weight: 600; opacity: .75; }
.request-actions + .form-note { display: block; text-align: center; line-height: 1.5; }
.request-actions + .form-note .i { vertical-align: -2px; margin-right: 4px; }
.request-actions + .form-note a { color: var(--ink); font-weight: 700; }
