:root {
  --bg: #f5f0e8;
  --surface: #fffaf3;
  --surface-2: #ebe2d4;
  --text: #211d19;
  --muted: #726a62;
  --line: rgba(33, 29, 25, .16);
  --accent: #5b3b2c;
  --accent-text: #fffaf3;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); }
body.demo-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; height: auto; }
.demo-container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.demo-skip { position: fixed; z-index: 300; top: 8px; left: 8px; padding: 10px 14px; background: #fff; color: #111; transform: translateY(-160%); }
.demo-skip:focus { transform: none; }

.demo-notice { background: #111411; color: #f4eee3; }
.demo-notice .demo-container { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; }
.demo-notice p { margin: 0; color: #bdb6aa; }
.demo-notice strong { color: #b9ff45; }
.demo-notice a { font-weight: 800; }

.demo-nav { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); }
.demo-nav-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 28px; }
.demo-brand { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.demo-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 13px; font-weight: 700; }
.demo-links a:hover { color: var(--text); }
.demo-menu-button { display: none; min-width: 78px; padding: 10px 14px; border: 1px solid var(--line); background: transparent; color: var(--text); font-weight: 800; }
.demo-mobile-menu { display: none; }

.demo-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 19px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--accent-text); font-size: 13px; font-weight: 850; }
.demo-button.secondary { background: transparent; color: var(--accent); }
.demo-button.light { border-color: var(--accent-text); background: var(--accent-text); color: var(--accent); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.demo-hero { padding: 72px 0 78px; }
.demo-hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 54px; align-items: center; }
.demo-kicker { margin: 0; color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.demo-hero h1, .page-intro h1 { max-width: 760px; margin: 16px 0 22px; font-family: var(--display); font-size: clamp(50px, 6.4vw, 88px); line-height: .94; letter-spacing: -.065em; }
.demo-hero-copy > p:not(.demo-kicker), .page-intro > p:not(.demo-kicker) { max-width: 610px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.micro-proof li { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 800; }
.demo-hero-media { position: relative; margin: 0; }
.demo-hero-media img { display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); object-fit: cover; object-position: center; }
.media-label { position: absolute; right: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 10px 13px; border-radius: 999px; background: rgba(17, 20, 17, .86); color: #fff; font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }

.quick-facts { border-block: 1px solid var(--line); }
.quick-facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-facts article { padding: 25px 26px; border-right: 1px solid var(--line); }
.quick-facts article:last-child { border-right: 0; }
.quick-facts span { color: var(--accent); font-size: 11px; font-weight: 900; }
.quick-facts h2 { margin: 18px 0 7px; font-family: var(--display); font-size: 24px; letter-spacing: -.035em; }
.quick-facts p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.demo-section { padding: 90px 0; }
.demo-section.alt { background: var(--surface-2); }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 52px; align-items: end; margin-bottom: 38px; }
.section-head h2 { max-width: 780px; margin: 13px 0 0; font-family: var(--display); font-size: clamp(42px, 5vw, 67px); line-height: .98; letter-spacing: -.058em; }
.section-head > p { margin: 0; color: var(--muted); line-height: 1.68; }
.care-head { margin-top: 72px; }

.photo-band { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.photo-band img { width: 100%; height: 100%; min-height: 350px; border-radius: var(--radius); object-fit: cover; }
.photo-band-copy { display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.photo-band-copy h3 { margin: 0 0 12px; font-family: var(--display); font-size: 36px; letter-spacing: -.045em; }
.photo-band-copy p { margin: 0; color: var(--muted); line-height: 1.64; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.product-card { display: flex; min-height: 245px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product-card .number { color: var(--accent); font-size: 11px; font-weight: 900; }
.product-card h3 { margin: 48px 0 9px; font-family: var(--display); font-size: 26px; line-height: 1.05; letter-spacing: -.038em; }
.product-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.58; }
.product-card strong { margin-top: auto; padding-top: 20px; font-size: 14px; }

.menu-list { border-top: 1px solid var(--line); }
.menu-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--line); }
.menu-row > span { color: var(--accent); font-size: 11px; font-weight: 900; }
.menu-row h3 { margin: 0 0 5px; font-family: var(--display); font-size: 25px; letter-spacing: -.035em; }
.menu-row p { margin: 0; color: var(--muted); font-size: 13px; }
.menu-row strong { white-space: nowrap; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split-card { min-height: 430px; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.split-card.photo { padding: 0; overflow: hidden; }
.split-card.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.split-card h2, .split-card h3 { margin: 13px 0 18px; font-family: var(--display); font-size: clamp(38px, 4.6vw, 58px); line-height: .98; letter-spacing: -.055em; }
.split-card > p { color: var(--muted); line-height: 1.67; }
.plain-list { display: grid; gap: 17px; margin: 26px 0 0; padding: 0; list-style: none; }
.plain-list li { padding-top: 16px; border-top: 1px solid var(--line); }
.plain-list strong { display: block; margin-bottom: 5px; }
.plain-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { min-height: 245px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step span { color: var(--accent); font-size: 11px; font-weight: 900; }
.step h3 { margin: 58px 0 10px; font-family: var(--display); font-size: 24px; letter-spacing: -.035em; }
.step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.58; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 15px; }
.gallery figure { grid-column: span 4; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.gallery figure.wide { grid-column: span 8; }
.gallery img { display: block; width: 100%; height: 330px; object-fit: cover; }
.gallery figcaption { padding: 17px 18px; color: var(--muted); font-size: 12px; }

.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq-list summary { cursor: pointer; font-weight: 850; }
.faq-list p { margin: 14px 0 0; color: var(--muted); line-height: 1.62; }

.page-intro { padding: 70px 0 58px; }
.page-intro h1 { max-width: 900px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.subnav a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 800; }

.demo-cta { padding: 28px 0 88px; }
.demo-section > .demo-cta { padding-bottom: 0; }
.demo-cta-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; min-height: 390px; padding: 48px; border-radius: var(--radius); background: var(--accent); color: var(--accent-text); }
.demo-cta h2 { max-width: 740px; margin: 0 0 16px; font-family: var(--display); font-size: clamp(43px, 5.5vw, 70px); line-height: .96; letter-spacing: -.06em; }
.demo-cta p { max-width: 620px; margin: 0; line-height: 1.66; opacity: .78; }
.cta-side { display: flex; justify-content: flex-end; }

.demo-footer { padding: 55px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, .7fr); gap: 40px; }
.footer-grid p { max-width: 430px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-links { display: grid; align-content: start; gap: 10px; color: var(--muted); font-size: 12px; }
.footer-links strong { margin-bottom: 5px; color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.kataloka-float { position: fixed; z-index: 120; right: 16px; bottom: 16px; padding: 13px 17px; border-radius: 999px; background: #b9ff45; color: #111411; box-shadow: 0 14px 34px rgba(0,0,0,.22); font-size: 12px; font-weight: 900; }
.demo-toast { position: fixed; z-index: 220; right: 18px; bottom: 78px; max-width: 330px; padding: 16px 18px; border-radius: 16px; background: #111411; color: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.28); font-size: 13px; line-height: 1.55; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.demo-toast.show { opacity: 1; transform: none; }

.theme-nisa { --bg:#eee6d8; --surface:#faf4ea; --surface-2:#dfd1bc; --text:#30241e; --muted:#74675e; --line:rgba(48,36,30,.16); --accent:#5c3828; --accent-text:#fff7eb; --radius:10px; }
.theme-distro { --bg:#eceae5; --surface:#f8f6f1; --surface-2:#d9d5ce; --text:#151515; --muted:#62605b; --line:rgba(21,21,21,.22); --accent:#b4271f; --accent-text:#fff; --display:Impact,"Arial Black",Arial,sans-serif; --radius:0; }
.theme-distro .demo-brand, .theme-distro h1, .theme-distro h2, .theme-distro h3 { text-transform: uppercase; }
.theme-burger { --bg:#f5c84d; --surface:#ffe8a8; --surface-2:#edaa2d; --text:#6b2019; --muted:#74463c; --line:rgba(107,32,25,.26); --accent:#a92a21; --accent-text:#fff4cf; --display:"Arial Black",Arial,sans-serif; --radius:22px; }
.theme-burger .demo-brand, .theme-burger h1, .theme-burger h2, .theme-burger h3 { text-transform: uppercase; }
.theme-nail { --bg:#f3e8f2; --surface:#fff8ff; --surface-2:#e3d0e4; --text:#452e4c; --muted:#78617c; --line:rgba(69,46,76,.18); --accent:#694473; --accent-text:#fff8ff; --radius:30px; }
.theme-interior { --bg:#ede8df; --surface:#faf7f1; --surface-2:#d9d0c2; --text:#23302b; --muted:#687069; --line:rgba(35,48,43,.18); --accent:#315448; --accent-text:#f4f0e7; --radius:12px; }

@media (max-width: 960px) {
  .demo-links { display: none; }
  .demo-menu-button { display: inline-flex; }
  .demo-mobile-menu { position: absolute; top: 100%; right: 0; left: 0; z-index: 95; display: grid; gap: 8px; padding: 16px 20px 22px; border-bottom: 1px solid var(--line); background: var(--bg); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .2s ease; }
  .demo-mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
  .demo-mobile-menu a { padding: 13px; border: 1px solid var(--line); font-weight: 800; }
  .demo-hero-grid, .section-head, .split, .demo-cta-card { grid-template-columns: 1fr; }
  .photo-band { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-side { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .demo-container { width: min(calc(100% - 28px), var(--container)); }
  .demo-notice p { display: none; }
  .demo-hero { padding: 52px 0 62px; }
  .demo-hero-grid { gap: 32px; }
  .demo-hero h1, .page-intro h1 { font-size: clamp(46px, 13vw, 64px); }
  .demo-actions { display: grid; }
  .demo-button { width: 100%; }
  .quick-facts-grid, .product-grid, .steps { grid-template-columns: 1fr; }
  .quick-facts article { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-facts article:last-child { border-bottom: 0; }
  .demo-section { padding: 72px 0; }
  .section-head { gap: 18px; margin-bottom: 30px; }
  .care-head { margin-top: 48px; }
  .section-head h2 { font-size: 43px; }
  .photo-band-copy, .split-card { min-height: 350px; padding: 27px; }
  .product-card { min-height: 225px; }
  .menu-row { grid-template-columns: 36px 1fr; gap: 10px; }
  .menu-row strong { grid-column: 2; }
  .gallery figure, .gallery figure.wide { grid-column: 1 / -1; }
  .gallery img { height: 280px; }
  .demo-cta-card { min-height: 380px; padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 27px; }
  .footer-bottom { flex-direction: column; padding-bottom: 66px; }
  .kataloka-float { right: 14px; bottom: 12px; left: 14px; text-align: center; }
  .demo-toast { right: 14px; bottom: 70px; left: 14px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
