@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  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;
}
:root {
  --ink: #222629;
  --mist: #fafafa;
  --surface: #ffffff;
  --stone: #f1f3f4;
  --accent-ink: #a33e08;
  --radius: 8px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --orange: #ff5f00;
  --muted: #5e656a;
  --line: #e3e6e8;
  --gutter: clamp(22px, 5.4vw, 92px);
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--mist);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #e2762c;
  outline-offset: 4px;
}
.wrap {
  width: min(calc(100% - var(--gutter) * 2), 1580px);
  margin-inline: auto;
}
.icon {
  flex: none;
  vertical-align: middle;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 600;
}
h1,
h2 {
  letter-spacing: -0.03em;
  line-height: 1.01;
  text-wrap: balance;
}
h2 {
  font-size: clamp(30px, 3.6vw, 58px);
}
h3 {
  letter-spacing: -0.012em;
  line-height: 1.05;
}
.dot {
  color: var(--orange);
}
.skip {
  position: fixed;
  top: -80px;
  left: 12px;
  background: var(--mist);
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 8px;
}
header {
  background: var(--surface);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.header-inner {
  height: 75px;
  display: flex;
  align-items: center;
  gap: clamp(25px, 3.2vw, 56px);
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
}
.brand img {
  width: clamp(145px, 12vw, 174px);
  height: auto;
}
.header-inner nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 46px);
  margin-left: auto;
}
.header-inner nav a {
  font-size: 13px;
  font-weight: 530;
  transition: color 0.2s;
}
.header-inner nav a:hover,
.header-inner nav [aria-current],
footer a:hover {
  color: var(--orange);
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
}
.button {
  min-height: 49px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
  font-weight: 590;
  line-height: 1.2;
  transition:
    color 0.2s var(--ease-out),
    background 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}
.primary {
  background: var(--orange);
  color: var(--ink);
}
.primary:hover {
  background: #ff792c;
}
.button:hover .icon,
.text-link:hover .icon {
  transform: translate(2px, -2px);
}
.button .icon,
.text-link .icon {
  width: 18px;
  transition: transform 0.2s;
}
.header-inner .button {
  min-height: 42px;
  font-size: 13px;
  padding: 0 17px;
  gap: 16px;
}
header .primary {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}
header .primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.button:active {
  transform: translateY(1px);
}
#menu {
  display: none;
}
.hero-surround {
  --hero-inset: clamp(12px, 2vw, 34px);
  background: var(--mist);
  padding: var(--hero-inset);
}
.hero {
  position: relative;
  background: #33362d;
  color: var(--mist);
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 56%;
  display: block;
}
.hero-photo .is-entering {
  animation: hero-image-in 400ms var(--ease-out) both;
}
@keyframes hero-image-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero-shade {
  background:
    linear-gradient(90deg, #151612c9, #15161160 41%, transparent 75%),
    linear-gradient(0deg, #11120ed6, transparent 26%);
}
.hero-inner {
  width: min(calc(100% - (var(--gutter) - var(--hero-inset)) * 2), 1580px);
  min-height: clamp(555px, 73svh, 790px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-copy {
  padding-block: clamp(78px, 11vh, 140px) 48px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.145em;
  font-weight: 650;
  line-height: 1.5;
}
.kicker i {
  width: 24px;
  height: 13px;
  display: inline-block;
  background: repeating-linear-gradient(
    116deg,
    transparent 0 3px,
    var(--orange) 3.5px 5.7px,
    transparent 6px 7px
  );
}
.hero h1 {
  font-size: clamp(48px, 5.6vw, 92px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 24px 0 24px;
}
.hero-copy > p {
  font-size: clamp(15px, 1.23vw, 20px);
  line-height: 1.55;
  color: #f3f1eb;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 29px;
}
.outline {
  color: var(--mist);
  border-color: #ffffff80;
  background: #11121422;
}
.outline:hover {
  background: #11121466;
  border-color: var(--mist);
}
.action .outline,
.contact-panel .outline,
.cfg-bar .outline {
  color: var(--ink);
  border-color: #2226294d;
  background: transparent;
}
.action .outline:hover,
.contact-panel .outline:hover,
.cfg-bar .outline:hover {
  border-color: var(--ink);
  background: #2226290a;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0 21px;
  border-top: 1px solid #ffffff45;
}
.slide-description small {
  display: block;
  font-size: 11px;
  color: #ebe5d6;
  margin-bottom: 4px;
}
.slide-description strong {
  font-size: 14px;
  font-weight: 530;
}
.slide-controls,
.slide-counter,
.slide-buttons {
  display: flex;
  align-items: center;
}
.slide-controls {
  gap: 18px;
}
.slide-counter {
  white-space: nowrap;
  gap: 4px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.slide-counter > span {
  color: #e3dcd0;
}
.slide-buttons {
  overflow: clip;
  border: 1px solid #ffffff64;
  border-radius: 6px;
}
.slide-buttons button {
  display: grid;
  place-items: center;
  background: #17171132;
  border: 0;
  color: var(--mist);
  width: 44px;
  height: 44px;
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}
.slide-buttons button + button {
  border-left: 1px solid #ffffff51;
}
.slide-buttons button:focus-visible {
  outline-offset: -4px;
}
.slide-buttons button:hover {
  background: var(--mist);
  color: var(--ink);
}
.slide-buttons .icon {
  width: 16px;
}
.solutions,
.showcase,
.interior,
.action {
  padding-block: clamp(56px, 6.5vw, 108px);
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  margin: 12px 0 clamp(24px, 3vw, 46px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 560;
  border-bottom: 1px solid #a39c8e;
  padding-block: 5px;
  transition:
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}
.text-link:hover {
  color: var(--accent-ink);
  border-color: currentColor;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 32px);
}
.card-photo {
  aspect-ratio: 1.7;
  overflow: hidden;
  background: #cecebf;
  border-radius: 3px;
}
.card-photo img,
.catalog-group img,
.detail-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-photo img {
  transition: transform 0.65s var(--ease-out);
}
.group-card:is(:hover, :focus-visible) img {
  transform: scale(1.035);
}
.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 15px 0 7px;
}
.card-title h3 {
  font-size: clamp(21px, 1.85vw, 32px);
}
.group-card p,
.catalog-group p,
.steps p,
.contact-panel p,
.form-aside p,
.measure p,
.prose p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.showcase {
  background: var(--stone);
}
.compare-image {
  position: relative;
  aspect-ratio: 2.35;
  overflow: hidden;
  --position: 55%;
  background: #d5cbbc;
  border-radius: var(--radius);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  /* Sideways drags move the slider, vertical swipes still scroll the page. */
  touch-action: pan-y;
}
.compare-image img {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare-image .after {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}
.divider {
  position: absolute;
  left: var(--position);
  height: 100%;
  width: 2px;
  background: #fff4;
  pointer-events: none;
}
.divider b {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  width: 48px;
  height: 48px;
  box-shadow: 0 3px 18px #12100c2b;
}
.divider .icon {
  width: 16px;
}
/* Keyboard and screen-reader control; site.js handles the pointer on the whole picture. */
.compare-image input[type="range"] {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.compare-image:focus-within .divider b {
  outline: 3px solid var(--orange);
}
.comp-tag {
  position: absolute;
  bottom: 15px;
  background: #111214bb;
  color: var(--mist);
  font-size: 12px;
  padding: 8px 11px;
  border-radius: 4px;
}
.comp-tag.start {
  left: 15px;
}
.comp-tag.end {
  right: 15px;
}
figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.5;
}
.action,
.contact-panel {
  background: var(--stone);
  color: var(--ink);
}
.action h2 {
  margin: 16px 0 27px;
  max-width: 810px;
}
footer {
  background: var(--stone);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.footer-main,
.footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-main {
  padding-block: 40px;
  font-size: 14px;
}
.footer-contacts {
  display: flex;
  gap: 22px;
}
.footnote {
  padding-block: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.interior {
  min-height: 60vh;
}
.interior h1 {
  font-size: clamp(38px, 4.8vw, 76px);
  max-width: 1000px;
  margin: 15px 0 19px;
  overflow-wrap: break-word;
}
.intro {
  font-size: clamp(17px, 1.4vw, 23px);
  line-height: 1.55;
  max-width: 720px;
  color: var(--muted);
  margin-bottom: 35px;
}
.jump {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.jump a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 3px;
  font-size: 14px;
}
.jump a:hover {
  border-color: var(--ink);
}
.catalog-group,
.contacts-grid,
.detail-grid,
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 100px);
}
.catalog-group {
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
  margin-top: 12px;
}
.catalog-group img {
  height: auto;
  aspect-ratio: 2.6;
  border-radius: var(--radius);
  object-fit: cover;
  margin-bottom: 20px;
}
.catalog-group h2,
.contacts-grid h2,
.measure h2,
.form-aside h2,
.prose h2 {
  font-size: clamp(26px, 2.6vw, 41px);
  margin-bottom: 12px;
}
.product-list a {
  border-bottom: 1px solid var(--line);
  min-height: 57px;
  padding: 14px 0;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(16px, 1.4vw, 25px);
  letter-spacing: -0.03em;
}
.product-list a small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
}
.product-list a:hover {
  color: var(--accent-ink);
}
.back {
  color: var(--muted);
  display: inline-block;
  font-size: 14px;
  margin-bottom: 32px;
}
.detail-grid {
  align-items: center;
  margin-bottom: 60px;
}
.detail-grid h1 {
  font-size: clamp(42px, 4.7vw, 78px);
}
.detail-grid img {
  aspect-ratio: 1.35;
  border-radius: var(--radius);
}
.measure {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  max-width: 850px;
}
.measure > .icon,
.steps .icon,
.form-aside > .icon {
  width: 30px;
  height: 30px;
  color: #bd4700;
}
.two {
  grid-template-columns: 1fr 1fr;
  margin-top: 44px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.steps > div {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.steps h3 {
  margin: 15px 0 8px;
  font-size: 23px;
}
.contacts-grid {
  margin-top: 45px;
}
.contact-panel {
  padding: clamp(25px, 4vw, 65px);
  align-self: start;
}
.contact-panel h2 {
  margin-top: 15px;
}
.contact-panel p {
  color: var(--muted);
  margin-bottom: 24px;
}
.prose {
  max-width: 860px;
}
.prose h2 {
  margin-top: 30px;
}
.prose a,
.form-note a {
  text-decoration: underline;
}
.form-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.8fr);
  align-items: start;
}
fieldset {
  margin: 0 0 24px;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
}
legend {
  font-family: Manrope, Arial, sans-serif;
  font-size: 23px;
  font-weight: 660;
  letter-spacing: -0.012em;
  padding: 0 15px 0 0;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 550;
  margin: 0 0 16px;
}
label small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
input:not([type="range"], [type="radio"], [type="checkbox"]),
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #c8c1b4;
  border-radius: 6px;
  padding: 12px 14px;
  margin: 6px 0 3px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  min-height: 44px;
}
input[type="file"]::file-selector-button {
  padding: 7px 10px;
  margin-right: 10px;
  color: var(--ink);
  background: var(--stone);
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
textarea {
  resize: vertical;
}
.dims {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
.form-aside {
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 40px);
}
.form-aside h2 {
  margin: 14px 0;
}
.form-aside p {
  margin-bottom: 12px;
}
.form-aside a {
  margin-top: 14px;
}
.form-note,
#form-status {
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.success {
  max-width: 640px;
  border-top: 3px solid var(--orange);
  padding: 24px 0;
}
.success p {
  margin-top: 15px;
  line-height: 1.5;
}
@media (max-width: 850px) {
  .header-inner {
    height: 66px;
    gap: 16px;
  }
  .nav-end {
    margin-left: auto;
  }
  #menu {
    display: grid;
    place-items: center;
    width: 40px;
    height: 42px;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 4px;
  }
  .header-inner nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 8px var(--gutter) 20px;
  }
  .header-inner nav.open {
    display: grid;
    gap: 0;
  }
  .header-inner nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 16px;
  }
  .catalog-group,
  .detail-grid,
  .contacts-grid,
  .form-layout {
    gap: 30px;
  }
  .footer-contacts {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 650px) {
  .header-inner {
    height: 63px;
  }
  .brand img {
    width: 128px;
  }
  .header-inner .button {
    min-height: 44px;
    font-size: 11px;
    padding: 0 12px;
    gap: 8px;
  }
  .nav-end {
    gap: 8px;
  }
  #menu {
    width: 44px;
    height: 44px;
  }
  .hero-surround {
    --hero-inset: 0px;
  }
  .hero {
    border-radius: 0;
  }
  .hero-inner {
    min-height: clamp(525px, 77svh, 710px);
  }
  .hero-photo img {
    object-position: 62% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #10150f99, #10150f2e),
      linear-gradient(0deg, #0c100cd9, transparent 37%);
  }
  .hero-copy {
    padding: 70px 0 40px;
  }
  .hero h1 {
    font-size: clamp(46px, 13vw, 76px);
    margin-top: 21px;
    line-height: 1.025;
  }
  .hero-copy p {
    max-width: 350px;
    font-size: 15px;
  }
  .wide {
    display: none;
  }
  .hero-actions {
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 23px;
  }
  .hero-actions .button {
    font-size: 12px;
    min-height: 44px;
    padding-inline: 13px;
    gap: 10px;
  }
  .hero-actions .icon {
    width: 15px;
  }
  .hero-bottom {
    padding: 15px 0 18px;
  }
  .slide-controls {
    gap: 10px;
  }
  .slide-description small {
    font-size: 10px;
  }
  .slide-description strong {
    font-size: 13px;
  }
  .section-heading {
    gap: 13px;
    margin-bottom: 22px;
  }
  .section-heading .text-link {
    font-size: 11px;
    gap: 4px;
    white-space: nowrap;
  }
  .text-link .icon {
    width: 15px;
  }
  .cards,
  .catalog-group,
  .detail-grid,
  .contacts-grid,
  .form-layout,
  .steps {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 30px;
  }
  .card-title h3 {
    font-size: 24px;
  }
  .card-title {
    margin-top: 12px;
  }
  .card-photo {
    aspect-ratio: 1.85;
  }
  .compare-image {
    aspect-ratio: 1.3;
  }
  .footer-main {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .footer-contacts {
    width: 100%;
    order: 3;
  }
  .footer-main > a:last-child {
    font-size: 12px;
  }
  .catalog-group {
    gap: 14px;
    padding-block: 28px;
  }
  .detail-grid {
    margin-bottom: 40px;
  }
  .steps {
    gap: 4px;
  }
  .form-aside {
    order: 1;
  }
  .hero-copy .kicker {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: clamp(29px, 7.7vw, 44px);
  }
}
@media (max-width: 365px) {
  :root {
    --gutter: 15px;
  }
  .header-inner {
    gap: 8px;
  }
  .header-inner .brand img {
    width: 112px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::after,
  *::before {
    animation: none !important;
    transition: none !important;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.fine {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.outline-dark {
  color: var(--ink);
  border-color: #11121459;
  background: transparent;
}
.outline-dark:hover {
  border-color: var(--ink);
  background: #1112140a;
}
.button .icon:first-child:not(:last-child) {
  margin-right: -4px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}

/* ---------- Header: products dropdown, PRO button ---------- */
.nav-products {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}
.mega-toggle {
  background: none;
  border: 0;
  color: inherit;
  padding: 4px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.mega-toggle .icon {
  transition: transform 0.2s;
}
.mega-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-bottom, 75px);
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px #2226291f;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s,
    transform 0.18s,
    visibility 0.18s;
}
.nav-products.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (hover: hover) and (min-width: 851px) {
  .nav-products:hover .mega,
  .nav-products:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
.mega-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.1fr;
  gap: 40px;
  padding-block: 34px 40px;
}
.mega-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.header-inner nav .mega-group a {
  font-size: 14px;
  padding: 7px 0;
  color: var(--ink);
}
.header-inner nav .mega-group a:hover {
  color: var(--orange);
}
.header-inner nav .mega-title,
.mega-title {
  font-family: Manrope, Arial, sans-serif;
  font-size: 20px !important;
  font-weight: 600;
  color: var(--ink) !important;
  margin-bottom: 8px;
}
.mega-cta {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 22px;
  align-items: flex-start;
}
.mega-cta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.header-inner nav .mega-cta .button {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  font-size: 13px;
  padding: 0 16px;
}
.nav-pro {
  display: none;
}
.pro-button {
  color: var(--orange);
  border-color: #ff5f0080;
  min-height: 42px;
}
.pro-button:hover,
.pro-button.is-current {
  background: var(--orange);
  color: var(--ink);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 6px 36px;
  font-size: 13px;
}
.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links strong {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.footer-links a {
  color: var(--ink);
}

/* ---------- Floating contact (7.1) ---------- */
.float-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.fc-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 8px 22px #0003;
  transition: transform 0.2s var(--ease-out);
}
.fc-toggle:hover {
  transform: scale(1.06);
}
.fc-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: var(--mist);
}
.fc-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.fc-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 22px #0003;
}
.fc-links a .icon {
  width: 34px;
  height: 34px;
  padding: 6px;
}
.fc-viber {
  background: #7360f2;
}
.fc-whatsapp {
  background: #1fa855;
}
.fc-phone {
  background: var(--ink);
}
.page-configurator .float-contact {
  display: none;
}
/* ---------- Light control (shared component) ---------- */
.light-section {
  background: var(--stone);
  padding-block: clamp(56px, 6.5vw, 110px);
  overflow: hidden;
}
.light-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.5fr);
  grid-template-areas: "copy stage" "control stage" "actions stage";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(28px, 4vw, 70px);
  align-items: start;
}
.light-copy {
  grid-area: copy;
  align-self: end;
}
.light-inner > .ld-control {
  grid-area: control;
}
.light-inner > .ld-actions {
  grid-area: actions;
}
.ld-stage {
  grid-area: stage;
  align-self: center;
}
.light-copy h2 {
  margin: 14px 0 16px;
}
.light-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 440px;
}
.ld-control {
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.ld-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  font-size: 14px;
}
.ld-heading output {
  font-family: Manrope, Arial, sans-serif;
  font-size: 34px;
  font-weight: 680;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
  /* Dragging a slider with a finger must not scroll the page. */
  touch-action: none;
  height: 30px;
  cursor: pointer;
}
.ld-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.ld-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}
.ld-presets button {
  padding: 0 6px !important;
  font-size: 12.5px !important;
}
.ld-presets button,
.ld-views button,
.chips button {
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--mist);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 560;
  color: var(--ink);
  padding: 0 12px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.ld-presets button:hover,
.ld-views button:hover,
.chips button:hover {
  border-color: var(--ink);
}
.ld-presets [aria-pressed="true"],
.chips [aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--mist);
}
.ld-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 22px;
}
.ld-stage {
  position: relative;
}
@media (max-width: 1000px) {
  .light-inner > .ld-control {
    margin-top: 0;
  }
  .ld-actions {
    margin-top: 0;
  }
}
.ld-view {
  position: relative;
  aspect-ratio: 1.32;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e4dfd4;
}
.ld-view .pergola-model {
  width: 100%;
  height: 100%;
  display: block;
}
.ld-view.has-scene .pergola-model {
  display: none;
}
.p3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}
.p3d-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.p3d-dim {
  background: #fffffff0;
  border: 1px solid #11121433;
  padding: 2px 7px;
  border-radius: 4px;
  font: 600 12px Manrope, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.p3d-side {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mist);
  display: grid;
  place-items: center;
  font: 700 12px Manrope, Arial, sans-serif;
  border: 2px solid #fff;
}
.p3d-side.is-pickable {
  pointer-events: auto;
  cursor: pointer;
}
.p3d-side.is-active {
  background: var(--orange);
  color: var(--ink);
}
.ld-camera {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}
.ld-views,
.ld-eye {
  pointer-events: auto;
  display: flex;
  gap: 4px;
  background: #fdfbf6d9;
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 4px;
}
.ld-views button {
  min-height: 34px;
  font-size: 12px;
  background: transparent;
  border-color: transparent;
}
.ld-eye {
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  margin: 0;
}
.ld-eye input {
  width: 110px;
  height: 34px;
}
.ld-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.light-demo:not(.is-3d) .ld-camera {
  display: none;
}
[data-light-demo]:not(.is-3d) .ld-camera,
[data-light-demo]:not(.is-3d) .ld-hint {
  visibility: hidden;
}

/* ---------- Home: three layouts for "Нашите решения" ---------- */
.solutions {
  display: block;
}
.sol {
  margin-top: clamp(40px, 5vw, 70px);
}
.sol-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.sol-head h3 {
  font-size: clamp(28px, 2.8vw, 46px);
}
.sol-head p {
  color: var(--muted);
}
.sol-kinds {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.sol-kinds a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  height: 100%;
  transition: border-color 0.2s;
}
.sol-kinds a:hover {
  border-color: var(--ink);
}
.sol-kinds .n {
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.sol-kinds .icon {
  margin-left: auto;
  width: 16px;
}
.sol-wide {
  display: block;
  aspect-ratio: 2.6;
  border-radius: var(--radius);
  overflow: hidden;
}
.sol-wide img,
.sol-photo img,
.mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.sol-wide:hover img,
.sol-photo:hover img,
.mini-card:hover img {
  transform: scale(1.03);
}
.sol-glass {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
}
.sol-photo {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
}
.sol-systems {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.sol-systems a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.sol-systems a:hover strong {
  color: var(--accent-ink);
}
.sol-systems span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.sol-systems strong {
  font-size: 18px;
}
.sol-systems small {
  color: var(--muted);
  font-size: 13px;
}
.scheme {
  width: 64px;
  height: 48px;
  flex: none;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px;
}
.scheme .hl {
  stroke: var(--orange);
  stroke-width: 2.4;
}
.sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mini-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 16px;
}
.mini-photo {
  aspect-ratio: 1.5;
  overflow: hidden;
  margin-bottom: 12px;
}
.mini-card h4 {
  margin: 0 16px 4px;
  font-size: 17px;
}
.mini-card p {
  margin: 0 16px;
  font-size: 13px;
  color: var(--muted);
}
.action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.slide-description {
  display: block;
}

/* ---------- Product pages ---------- */
.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}
.crumbs a:hover {
  color: var(--ink);
}
.product-hero {
  padding-bottom: 20px;
}
.headline {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 640;
  margin: -4px 0 14px;
}
.product-photos {
  position: relative;
}
.product-photos .thumb {
  position: absolute;
  right: -10px;
  bottom: 30px;
  width: 30%;
  border: 5px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-photos .thumb img {
  aspect-ratio: 1;
  border-radius: 0;
}
.highlights {
  padding-block: clamp(40px, 5vw, 80px);
}
.hl-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: start;
}
.hl-grid li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  border-top: 3px solid var(--orange);
}
.hl-grid li.has-photo {
  padding-top: 0;
  overflow: hidden;
}
.hl-photo {
  margin: 0 -22px 18px;
  aspect-ratio: 1.6;
  overflow: hidden;
}
.hl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hl-grid h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.hl-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.how {
  margin-bottom: 30px;
}
.how ol {
  counter-reset: how;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.how li {
  counter-increment: how;
  font-size: 16px;
  line-height: 1.55;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}
.how li::before {
  content: "0" counter(how);
  display: block;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
}
.specs {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: clamp(24px, 5vw, 90px);
  padding-block: clamp(40px, 5vw, 80px);
  border-top: 1px solid var(--line);
}
.specs h2,
.faq h2,
.compare-table h2,
.protection h2,
.demo-copy h2,
.related h2 {
  font-size: clamp(30px, 3vw, 50px);
  margin: 12px 0 16px;
}
.specs dl {
  margin: 0;
}
.specs dl div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.specs dt {
  color: var(--muted);
  font-size: 14px;
}
.specs dd {
  margin: 0;
  font-weight: 600;
}
/* ---------- Type picker (variants) ---------- */
.variants {
  padding-block: clamp(40px, 5vw, 80px);
}
.variants h2 {
  font-size: clamp(30px, 3vw, 50px);
  margin: 12px 0 24px;
}
.variant-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.variant-tabs button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.variant-tabs button:hover {
  border-color: var(--ink);
}
.variant-tabs button[aria-selected="true"] {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 1px var(--orange);
}
.variant-tabs span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.variant-tabs strong {
  font-size: 18px;
}
.variant-tabs small {
  color: var(--muted);
  font-size: 13px;
}
.variant-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
.variant-panel[hidden] {
  display: none;
}
.variant-panel figure {
  margin: 0;
}
.variant-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.variant-panel figcaption {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.variant-panel h3 {
  font-size: clamp(22px, 2vw, 30px);
  margin: 0 0 10px;
}
.variant-points {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.variant-points li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.variant-points strong {
  color: var(--ink);
}
.variant-panel dl {
  margin: 0 0 24px;
}
.variant-panel dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.variant-panel dt {
  color: var(--muted);
  font-size: 14px;
}
.variant-panel dd {
  margin: 0;
  font-weight: 600;
}
@media (max-width: 850px) {
  .variant-panel {
    grid-template-columns: 1fr;
  }
}
.faq {
  padding-block: clamp(40px, 5vw, 80px);
  max-width: 980px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 19px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details[open] summary .icon {
  transform: rotate(180deg);
}
.faq details p {
  padding-bottom: 20px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 760px;
}
.related {
  padding-block: 20px clamp(50px, 6vw, 90px);
}
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.related-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.related-list a:hover {
  border-color: var(--ink);
}
.related-list strong {
  font-size: 17px;
}
.related-list span {
  grid-column: 1;
  color: var(--muted);
  font-size: 13px;
}
.related-list .icon {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
}
.demo-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1.4fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 80px);
}
.demo-copy p {
  color: var(--muted);
  line-height: 1.6;
}
.demo-view {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 20px;
}
.demo-view svg {
  width: 100%;
  display: block;
}
.g-pane {
  transition: transform 0.7s var(--ease-out);
}
.wb-base {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}
@media (max-width: 760px) {
  .demo-block .ld-heading {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .demo-block .ld-heading output {
    font-size: 22px;
  }
}
.protection {
  padding-block: clamp(40px, 5vw, 80px);
  border-top: 1px solid var(--line);
}
.protection ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.protection li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.prot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 18px;
}
.meter {
  display: flex;
  gap: 3px;
}
.meter i {
  width: 10px;
  height: 18px;
  border-radius: 2px;
  background: var(--orange);
}
.meter i.off {
  background: var(--line);
}
.protection p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.compare-table {
  padding-block: clamp(40px, 5vw, 80px);
}
.table-scroll {
  overflow-x: auto;
}
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  font-family: Manrope, Arial, sans-serif;
  font-size: 22px;
}
.compare-table thead th small {
  display: block;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.compare-table thead th:nth-child(2) {
  background: var(--ink);
  color: var(--mist);
  border-radius: 8px 8px 0 0;
}
.compare-table tbody th {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

/* ---------- Fabric gallery ---------- */
.fabric-section {
  padding-block: clamp(40px, 5vw, 80px);
  border-top: 1px solid var(--line);
}
.fabric-section h2 {
  font-size: clamp(30px, 3vw, 50px);
  margin: 0 0 12px;
}
.fabric-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin: 10px 0 24px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips button {
  min-height: 38px;
  border-radius: 20px;
}
.fabric-tools .button {
  margin-left: auto;
}
.fabric-series {
  margin-bottom: 34px;
}
.fabric-series h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
.fabric-series h3 small {
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
}
.swatches {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.swatch-card {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0 0 10px;
  text-align: left;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.swatch-card:hover {
  border-color: var(--ink);
}
.swatch-card.is-on {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
}
.swatch-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.37;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}
.sw-code {
  font-weight: 700;
  font-size: 14px;
  padding: 0 10px;
}
.sw-name {
  font-size: 12px;
  color: var(--muted);
  padding: 0 10px;
}
.sw-pop {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--orange);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}
.swatch-dialog {
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  max-width: min(680px, 92vw);
}
.swatch-dialog::backdrop {
  background: #111214b3;
}
.swatch-dialog form {
  padding: 16px;
  display: grid;
  gap: 12px;
}
.swatch-dialog img {
  width: 100%;
  border-radius: 6px;
}

/* ---------- Projects ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 30px;
}
.project-card h2 {
  font-size: 26px;
  margin: 8px 0 6px;
}
.project-card p {
  color: var(--muted);
  font-size: 14px;
}
.project-card .card-photo img {
  transition: transform 0.6s var(--ease-out);
}
.project-card:hover .card-photo img {
  transform: scale(1.03);
}
.project-meta {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.draft,
.draft-note {
  background: #ffe6d6;
  color: var(--accent-ink);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
}
.draft-note {
  display: inline-block;
  margin-bottom: 16px;
}
.empty-state {
  max-width: 640px;
  padding: 40px;
  background: var(--stone);
  border-radius: var(--radius);
  margin-top: 20px;
}
.empty-state h2 {
  font-size: 34px;
  margin-bottom: 10px;
}
.empty-state p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.project-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: 240px;
  gap: 10px;
  margin: 26px 0 40px;
}
.project-gallery a {
  border-radius: var(--radius);
  overflow: hidden;
}
.project-gallery .lead {
  grid-row: span 2;
}
.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-body {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: clamp(24px, 5vw, 80px);
}
.project-facts {
  margin: 0;
}
.project-facts div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.project-facts dt {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.project-facts dd {
  margin: 4px 0 0;
  font-weight: 600;
}
.project-body h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
.project-body p {
  line-height: 1.7;
  font-size: 17px;
}
.review {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--orange);
  background: var(--surface);
}
.review cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
}
.project-products {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

/* ---------- About: why mypergola. ---------- */
.why {
  margin: 20px 0 70px;
  background: var(--stone);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 60px);
}
.why h2 {
  font-size: clamp(32px, 3.4vw, 56px);
  margin-bottom: 30px;
}
.why ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.why li {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.why strong {
  display: block;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(44px, 4.4vw, 72px);
  line-height: 0.95;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.why strong > span {
  white-space: nowrap;
}
.why strong small {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}
.why li > span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Quote form ---------- */
.block {
  margin-bottom: 30px;
}
.hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
}
.row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.row > label {
  flex: 1 1 160px;
}
.row > .grow {
  flex: 2 1 240px;
}
.row > .qty {
  flex: 0 0 96px;
}
.item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px 20px 4px;
  margin: 0 0 14px;
  position: relative;
}
.item legend {
  font-size: 19px;
  padding: 0 8px;
  margin-left: -8px;
  background: var(--surface);
}
.item-no {
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.item-tools {
  position: absolute;
  right: 12px;
  top: -14px;
  display: flex;
  gap: 6px;
}
.item-tools button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: var(--mist);
  border-radius: 20px;
  padding: 5px 11px;
  color: var(--ink);
}
.item-tools button:hover {
  border-color: var(--ink);
}
.item .note {
  margin-top: 2px;
}
.item [hidden] {
  display: none !important;
}
.fabric-field {
  position: relative;
}
.mini-link {
  font-size: 12px;
  text-decoration: underline;
  color: var(--muted);
}
.from-config {
  border-color: var(--orange);
}
.cfg-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  padding-bottom: 14px;
}
.item .cfg-card {
  display: grid;
}
.cfg-card img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.cfg-photo .text-link {
  margin-top: 10px;
}
.cfg-card dl {
  margin: 6px 0 10px;
  font-size: 13px;
  display: grid;
  gap: 3px;
}
.cfg-card dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
}
.cfg-card dt {
  color: var(--muted);
}
.cfg-card dd {
  margin: 0;
  font-weight: 600;
}
.cfg-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.items-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin: 6px 0 18px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 450;
  line-height: 1.5;
}
.check input {
  width: 22px !important;
  height: 22px;
  min-height: 0 !important;
  flex: none;
  margin: 1px 0 0 !important;
  accent-color: var(--orange);
}
.check small {
  display: block;
}
.check a {
  text-decoration: underline;
}
.survey {
  padding: 16px;
  border: 1px dashed #c8c1b4;
  border-radius: var(--radius);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
#form-status.is-error {
  color: #b3261e;
  font-weight: 600;
}
.segmented {
  display: inline-flex;
  border: 1px solid #c8c1b4;
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.segmented label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.segmented label:has(input:checked) {
  background: var(--ink);
  color: var(--mist);
}
.segmented input {
  accent-color: var(--orange);
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}
/* Answers the client ticks: where they heard about us, when to call. */
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choices label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #c8c1b4;
  border-radius: 8px;
  cursor: pointer;
}
.choices label:has(input:checked) {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 1px var(--orange);
}
.choices label:has(input:focus-visible) {
  outline: 3px solid #e2762c;
  outline-offset: 2px;
}
.choices input {
  accent-color: var(--orange);
  width: 20px !important;
  height: 20px;
  min-height: 0 !important;
  flex: none;
  margin: 0 !important;
}
.choice-field {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}
.choice-field legend {
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: normal;
  padding: 0;
  margin-bottom: 8px;
}
.choice-field legend small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.theme-pro .choices label {
  border-color: #3b3d42;
}
.theme-pro .choices label:has(input:checked) {
  border-color: var(--orange);
}
.area-total {
  font-size: 15px;
  margin: 0 0 6px;
}
.area-total span {
  color: var(--muted);
}
.area-total.is-low strong {
  color: #b3261e;
}
.thanks .ref {
  color: var(--orange);
}
.next-steps {
  margin: 0 0 30px;
  padding-left: 20px;
  line-height: 1.9;
  font-size: 17px;
}
.message h1 {
  font-size: clamp(40px, 5vw, 80px);
  margin-bottom: 16px;
}

/* ---------- PRO section: inverted, dark scheme ---------- */
.pro-bar {
  background: #0a0a0b;
  color: var(--mist);
  border-bottom: 1px solid #26272b;
  font-size: 13px;
  font-weight: 600;
}
.pro-bar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 38px;
}
.pro-mark {
  font-family: Manrope, Arial, sans-serif;
  font-size: 17px;
  font-weight: 750;
}
.pro-mark span {
  color: var(--ink);
  background: var(--orange);
  padding: 0 5px;
  border-radius: 3px;
  margin-left: 1px;
}
.pro-tag {
  color: #a9aaa6;
}
.pro-back {
  color: var(--orange);
}
.pro-back {
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.theme-pro {
  --mist: #f4f4f2;
  --surface: #1a1b1e;
  --stone: #17181b;
  --line: #34363b;
  --muted: #a9aaa6;
  --accent-ink: #ff7a2c;
  background: #111214;
  color: #f4f4f2;
}
.theme-pro header,
.theme-pro footer,
.theme-pro .header-inner nav,
.theme-pro .mega {
  background: #111214;
  color: var(--mist);
  border-color: #26272b;
}
.theme-pro .footer-links a,
.theme-pro .header-inner nav .mega-title {
  color: var(--mist) !important;
}
.theme-pro .mega-cta {
  background: #1c1d20;
}
.theme-pro #menu {
  color: var(--mist);
  border-color: #ffffff4d;
}
.theme-pro .header-inner nav a,
.theme-pro .kicker {
  color: var(--orange);
}
.theme-pro .header-inner nav .mega a {
  color: #d9d8d2;
}
.theme-pro .button.primary,
.theme-pro header .primary {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}
.theme-pro .outline,
.theme-pro .outline-dark {
  color: var(--mist);
  border-color: #ffffff55;
}
.theme-pro .text-link {
  border-color: #ffffff55;
}
.theme-pro input:not([type="range"], [type="radio"], [type="checkbox"]),
.theme-pro select,
.theme-pro textarea {
  background: #1d1e22;
  border-color: #3b3d42;
  color: var(--mist);
}
.theme-pro input[type="file"]::file-selector-button {
  background: #2a2c31;
  color: var(--mist);
}
.theme-pro .item legend {
  background: var(--surface);
}
.theme-pro .item-tools button {
  background: #24262a;
  color: var(--mist);
}
.theme-pro .form-aside {
  background: #1a1b1e;
}
.theme-pro .segmented {
  border-color: #3b3d42;
}
.theme-pro .segmented label:has(input:checked) {
  background: var(--orange);
  color: var(--ink);
}
.theme-pro .fc-phone {
  background: #2a2c31;
}
.pro-hero {
  padding-block: clamp(70px, 10vw, 150px) clamp(50px, 6vw, 90px);
  background:
    repeating-linear-gradient(30deg, transparent 0 60px, #ffffff07 61px 62px, transparent 63px 120px),
    repeating-linear-gradient(-30deg, transparent 0 60px, #ffffff06 61px 62px, transparent 63px 120px);
}
.pro-hero h1 {
  font-size: clamp(54px, 8vw, 130px);
  line-height: 0.95;
  margin: 22px 0 22px;
}
.pro-hero .intro {
  color: #cfcdc5;
}
.pro-strip {
  border-block: 1px solid #ff5f0066;
  background: #ff5f000d;
  color: var(--mist);
  font-weight: 650;
}
.pro-strip .icon {
  color: var(--orange);
}
.pro-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 30px;
  padding-block: 18px;
  font-size: clamp(15px, 1.3vw, 19px);
}
.pro-strip span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pro-audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-block: clamp(50px, 6vw, 100px);
}
.pro-audience article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 50px);
  border-top: 3px solid var(--orange);
}
.pro-audience h2 {
  font-size: clamp(30px, 3vw, 48px);
  margin: 14px 0 14px;
}
.pro-audience p {
  color: #cfcdc5;
  line-height: 1.65;
  margin-bottom: 24px;
  font-size: 17px;
}
.pro-why {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  padding-bottom: clamp(50px, 6vw, 100px);
}
.pro-why h2,
.pro-steps h2,
.pro-products h2 {
  font-size: clamp(32px, 3.4vw, 56px);
  margin: 14px 0 16px;
}
.pro-why p {
  color: #cfcdc5;
  line-height: 1.7;
  font-size: 17px;
}
.pro-get {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.pro-get h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 22px;
  margin-bottom: 8px;
}
.pro-get .pro-not {
  margin-top: 22px;
  color: var(--orange);
}
.pro-steps {
  padding-bottom: clamp(50px, 6vw, 100px);
}
.pro-steps ol {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pro-steps li {
  border-top: 2px solid var(--orange);
  padding-top: 18px;
}
.pro-steps li > span {
  font-family: Manrope, Arial, sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--orange);
}
.pro-steps h3 {
  font-size: 22px;
  margin: 8px 0;
}
.pro-steps p {
  color: var(--muted);
}
.pro-products {
  padding-bottom: clamp(50px, 6vw, 100px);
}
.pro-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pro-product-grid h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.pro-product-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pro-product-grid li a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: #dcdbd4;
}
.pro-terms-list,
.pro-terms ul {
  margin: 28px 0 0;
  padding: 20px 24px 20px 40px;
  background: var(--surface);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.9;
}
.pro-terms ul {
  margin: 0 0 18px;
}
.check.accent {
  font-size: 17px;
  padding: 18px;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  background: #ff5f0014;
  margin-bottom: 16px;
}
.check.accent strong {
  color: var(--orange);
}
.pro-final {
  background: #0a0a0b;
  border-top: 3px solid var(--orange);
  color: var(--mist);
  padding-block: clamp(50px, 7vw, 110px);
}
.pro-final h2 {
  font-size: clamp(40px, 5vw, 84px);
}

.pro-final p {
  font-size: 20px;
  margin: 10px 0 26px;
}


/* ---------- Responsive additions ---------- */
@media (max-width: 1100px) {
  .header-inner nav {
    gap: 18px;
  }
  .pro-button {
    display: none;
  }
  .nav-pro {
    display: inline;
    color: var(--orange);
  }
}
@media (max-width: 1100px) and (min-width: 851px) {
  .header-inner nav a[href="/kontakti"] {
    display: none;
  }
}
@media (max-width: 1000px) {
  .light-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "stage" "control" "actions";
    grid-template-rows: none;
    row-gap: 18px;
  }
  .demo-block,
  .specs,
  .project-body,
  .pro-why {
    grid-template-columns: 1fr;
  }
  .light-copy > p {
    max-width: none;
  }
  .sol-kinds,
  .sol-grid,
  .protection ul,
  .why ul,
  .pro-steps ol {
    grid-template-columns: repeat(2, 1fr);
  }
  .how ol {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 850px) {
  .nav-products {
    flex-wrap: wrap;
    border-top: 1px solid #343537;
  }
  .header-inner nav .nav-products > a {
    border-top: 0;
    flex: 1;
  }
  .mega-toggle {
    width: 44px;
    height: 44px;
  }
  .mega {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 0;
  }
  .nav-products.is-open .mega {
    display: block;
  }
  .mega .wrap {
    width: 100%;
  }
  .mega-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 6px 0 18px;
  }
  .header-inner nav .mega-group a {
    border: 0;
    padding: 8px 0;
    font-size: 15px;
  }
  .header-inner nav .mega-title {
    font-size: 17px !important;
  }
  .mega-cta {
    display: none;
  }
  .header-inner nav {
    max-height: calc(100svh - 70px);
    overflow-y: auto;
  }
  .sol-glass {
    grid-template-columns: 1fr;
  }
  .sol-photo {
    min-height: 0;
    aspect-ratio: 1.6;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .header-inner .nav-end .button.primary .icon {
    display: none;
  }
  .sol-kinds {
    grid-template-columns: 1fr;
  }
  .sol-wide {
    aspect-ratio: 1.4;
  }
  .sol-head {
    flex-direction: column;
    gap: 6px;
  }
  .sol-grid,
  .protection ul,
  .why ul,
  .pro-steps ol,
  .pro-audience,
  .pro-product-grid {
    grid-template-columns: 1fr;
  }
  .why ul {
    grid-template-columns: 1fr 1fr;
  }
  .ld-view {
    aspect-ratio: 1;
  }
  .ld-camera {
    flex-direction: column;
    align-items: flex-start;
  }
  .ld-presets button {
    font-size: 12px;
    padding: 0 6px;
  }
  .specs dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .product-photos .thumb {
    display: none;
  }
  .project-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .project-gallery .lead {
    grid-row: auto;
  }
  .cfg-card,
  .item .cfg-card {
    grid-template-columns: 1fr;
  }
  .cfg-card dl div {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .item {
    padding: 16px 14px 2px;
  }
  .item-tools span {
    display: none;
  }
  .fabric-tools .button {
    margin-left: 0;
  }
  .float-contact {
    right: 12px;
    bottom: 12px;
  }
  .fc-toggle {
    width: 48px;
    height: 48px;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .pro-tag {
    display: none;
  }
}
