:root {
  --red: #e50040;
  --red-dark: color-mix(in srgb, #e50040 82%, #000000);
  --teal: #4fc7b5;
  --teal-deep: #4fc7b5;
  --ink: #4e4e4e;
  --muted: #818181;
  --line: #d9d9d9;
  --bg: #ffffff;
  --paper: #ffffff;
  --sand: #ffffff;
  --black: #000000;
  --black-20: #d9d9d9;
  --black-40: #b0b0b0;
  --black-60: #818181;
  --black-80: #4e4e4e;
  --contact-ink: #4f4f4f;
  --contact-muted: #5b6472;
  --contact-link: #2a8874;
  --contact-hover: #dd0661;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --max: 1180px;
  --page-max: 1680px;
  --header-max: 1680px;
  --hero-copy: 600px;
  --fs-body: 16px;
  --fs-h1: 40px;
  --fs-h2: 38px;
  --fs-lead: 16px;
  --fs-shop-title: 28px;
  --fs-trust: 28px;
  --header-stack: 112px;
  --pad-hero: 28px 0 24px;
  --hero-min: calc(100svh - 112px);
  --pad-section: 72px;
  --pad-card: 24px;
  --shop-visual: 220px;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-wght.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2-variations");
  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;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
h1, h2, h3, h4 { color: var(--black); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.breadcrumbs {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.4;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  max-width: 100%;
}
.breadcrumbs li:not(:last-child)::after {
  content: "\203A";
  margin: 0 8px;
  color: #b4bbc6;
  font-weight: 600;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--teal-deep); }
.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(420px, 70vw);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: 700 15px/1 Manrope, sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: .2s transform, .2s background, .2s box-shadow;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(229, 0, 64, .25); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-teal { background: var(--teal); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.admin-bar { --header-stack: 152px; }
.admin-bar .site-header { top: 32px; }
.hero,
.hero.hero-home,
.hero-home-inner,
.hero-visual,
.home-gutenberg .hero-home > .wp-block-group__inner-container {
  min-height: calc(100svh - var(--header-stack));
}
.site-header .wrap { width: min(var(--header-max), calc(100% - 32px)); }
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 0;
  font-size: 13px;
  color: var(--contact-muted);
}
.header-top a { color: inherit; text-decoration: none; }
.header-top a.header-mail:hover,
.header-top a.header-ig:hover,
.header-top a.addr-link:hover { color: var(--contact-hover); }
.ig-link, .header-ig { color: inherit; text-decoration: none; }
.ig-link:hover, .header-ig:hover { color: var(--contact-hover); }
.addr-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
  cursor: pointer;
}
.addr-link:hover { color: var(--contact-hover); }
.header-top-right {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
  padding: 8px 0 12px;
  position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 56px; width: auto; max-width: 186px; }
.logo .logo-rehau { height: 26px; max-width: 108px; }
.lineup-brand, .cert-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.lineup-rehau, .cert-wordmark { height: 28px; width: auto; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font: 700 14px/1 Manrope, sans-serif;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars { display: none; }
.mega-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px 22px;
  min-width: 0;
}
.mega { position: static; }
.mega-top {
  appearance: none;
  background: none;
  border: 0;
  padding: 8px 0;
  font: 600 14px/1 Manrope, sans-serif;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  z-index: 51;
}
.mega-top::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.mega-top-link::after { display: none; }
.mega-top:hover,
.mega:hover > .mega-top,
.mega.open > .mega-top { color: var(--red); }
.mega-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 24px 20px;
  z-index: 50;
}
.mega-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.mega-compact { position: relative; }
.mega-compact .mega-panel {
  left: 50%;
  right: auto;
  width: max-content;
  max-width: min(560px, calc(100vw - 48px));
  transform: translateX(-50%);
}
.mega-panel-cards {
  grid-template-columns: repeat(2, minmax(220px, 250px));
  gap: 10px;
}
.mega-panel-cols {
  grid-template-columns: repeat(2, minmax(160px, 200px));
  gap: 8px 20px;
}
.mega-panel-wide {
  grid-template-columns: minmax(220px, 1.15fr) repeat(3, minmax(150px, 1fr));
}
.mega-panel-tech {
  grid-template-columns: minmax(240px, 1.15fr) repeat(3, minmax(150px, 1fr));
}
.mega-panel-company {
  grid-template-columns: minmax(240px, 1.15fr) minmax(160px, 0.85fr) minmax(220px, 1fr);
}
.mega-panel-shop {
  grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(140px, 1fr));
}
.mega-salon {
  background: var(--sand);
  border-radius: 16px;
  padding: 16px 16px 18px;
  align-self: start;
}
.mega-salon .mega-phone {
  font-size: 17px;
  font-weight: 800;
  color: var(--contact-link);
}
.mega-salon p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.mega-salon a.addr-link,
.mega-contacts a.addr-link {
  display: inline;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.mega-salon .btn,
.mega-panel a.btn.btn-primary {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  margin-top: 14px;
  padding: 12px 18px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(229, 0, 64, .22);
}
.mega-panel a.btn.btn-primary:hover,
.mega-salon .btn:hover {
  color: #fff;
  background: var(--red-dark);
}
.mega-featured { display: grid; gap: 10px; }
.mega-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.mega-panel .mega-card { padding: 12px 14px; }
.mega-card:hover,
.mega-panel a.mega-card:hover,
.mega-card:hover b,
.mega-panel a.mega-card:hover b { color: var(--ink); border-color: #d7dde6; }
.mega-card:hover { box-shadow: 0 6px 18px rgba(28, 35, 48, 0.06); }
.mega-card-text { flex: 1; min-width: 0; }
.mega-card-text b {
  display: block;
  margin: 0;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.mega-card-text small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}
.mega-card-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sand);
  display: grid;
  place-items: center;
  color: var(--teal-deep);
}
.mega-card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.mega-panel b {
  display: block;
  margin: 8px 0 8px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.mega-panel b:first-child { margin-top: 0; }
.mega-panel a {
  display: block;
  padding: 5px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}
.mega-panel a.mega-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  padding: 12px 14px;
  font-weight: 600;
}
.mega-col a {
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 10px;
}
.mega-panel a:hover,
.mega-panel a.is-current { color: var(--red); }
.mega-col a:hover,
.mega-col a.is-current {
  color: var(--ink);
  background: var(--bg);
}
@media (min-width: 1280px) {
  .mega:hover > .mega-panel,
  .mega:focus-within > .mega-panel,
  .mega.open > .mega-panel { display: grid; }
}
.header-measure .label-short,
.header-calc .label-short { display: none; }
.mega-contacts { display: none; }
.nav-scrim { display: none; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-cta .btn {
  padding: 12px 18px;
  white-space: nowrap;
}
.phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.phones a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2px 0;
  color: var(--contact-ink);
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
}
.phones a:hover { color: var(--contact-hover); }
.phones a.header-mail {
  font-size: 13px;
  font-weight: 700;
  color: var(--contact-link);
}
.phone-800 { position: relative; }
.phone-hint {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 60;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: .15s opacity, .15s transform;
}
.phone-hint::before {
  content: "";
  position: absolute;
  right: 16px;
  top: -4px;
  border: 4px solid transparent;
  border-bottom-color: var(--ink);
  border-top-width: 0;
}
.phone-800:hover .phone-hint,
.phone-800:focus-visible .phone-hint { opacity: 1; transform: none; }

.hero {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: calc(100svh - var(--header-stack));
  background:
    linear-gradient(100deg, #ffffff 0 34%, rgba(255,255,255,.94) 44%, rgba(255,255,255,.28) 58%, rgba(255,255,255,0) 70%),
    url("../img/hero.jpg") 100% 28% / cover no-repeat #fff;
  padding: var(--pad-hero);
}
.hero.hero-home {
  display: block;
  background: #fff;
  padding: 0;
  min-height: calc(100svh - var(--header-stack));
}
.hero-home-inner {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(16px, calc((100% - min(var(--page-max), calc(100% - 32px))) / 2));
  grid-template-columns: minmax(260px, var(--hero-copy)) minmax(0, 1fr);
  min-height: calc(100svh - var(--header-stack));
}
.hero-home .hero-grid {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: var(--hero-copy);
  margin: 0;
  padding: 28px 36px 24px 0;
  align-self: center;
  justify-self: stretch;
}
.hero-visual {
  min-height: calc(100svh - var(--header-stack));
  background: var(--hero-photo, url("../img/hero.jpg")) 88% 28% / cover no-repeat #f3f6f8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px clamp(36px, 6vw, 88px);
}
.hero-home .hero-visual > .wp-block-group__inner-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 88px;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr;
  gap: 32px;
  align-items: stretch;
  flex: 0 1 var(--max);
  width: min(var(--max), calc(100% - 40px));
  max-width: var(--max);
  align-self: stretch;
}
.hero-grid > div:first-child { align-self: center; }
.hero-lead {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 100%;
  max-width: 380px;
  flex: 0 1 380px;
  margin: 0;
  padding: 22px 22px;
}
.hero-lead h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.25; }
.hero-lead > p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.hero-lead .lead-form { gap: 8px; }
.hero-lead .lead-form label span { font-size: 12px; margin-bottom: 4px; }
.hero-lead .lead-form input[type=text],
.hero-lead .lead-form input[type=tel] { padding: 10px 12px; font-size: 14px; border-radius: 10px; }
.hero-lead .lead-form .check { font-size: 11px; gap: 8px; line-height: 1.35; }
.hero-lead .btn { width: 100%; padding: 13px 16px; }
.eyebrow { color: var(--teal-deep); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
.hero h1 { font-size: var(--fs-h1); line-height: 1.15; margin: 8px 0 10px; }
.lead { color: var(--muted); font-size: var(--fs-lead); max-width: 540px; margin: 0 0 8px; }
.hero-price { display: flex; gap: 18px; margin: 12px 0; }
.hero-price b { font-size: 24px; color: var(--red); }
.gift-strip {
  display: inline-block;
  margin: 4px 0;
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad-card);
}
.hero .card { backdrop-filter: blur(8px); }

.section {
  --lava-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='240' viewBox='0 0 1600 240' fill='none'%3E%3Cpath d='M-160 92C200 8 460 188 760 84S1280 12 1620 108 1880 36 1920 70' stroke='%23818181' stroke-width='1.15'/%3E%3Cpath d='M-140 168C260 228 560 64 860 164S1380 232 1760 128' stroke='%23818181' stroke-width='.85'/%3E%3C/svg%3E");
  --lava-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='240' viewBox='0 0 1600 240' fill='none'%3E%3Cpath d='M1920 48C1480 160 1120-8 780 88S240 176-160 40' stroke='%23818181' stroke-width='1.05'/%3E%3Cpath d='M1920 124C1400 28 980 200 620 96S160 20-160 140' stroke='%23818181' stroke-width='.8'/%3E%3Cpath d='M1920 196C1360 230 920 80 540 176S80 220-160 168' stroke='%234fc7b5' stroke-width='.7'/%3E%3C/svg%3E");
  --lava-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='240' viewBox='0 0 1600 240' fill='none'%3E%3Cpath d='M-180 220C180 170 400 20 700 96S1180 230 1760 16' stroke='%23818181' stroke-width='1.1'/%3E%3Cpath d='M-120 240C300 190 560 70 900 150S1360 8 1880 88' stroke='%23818181' stroke-width='.75'/%3E%3C/svg%3E");
  --lava-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='240' viewBox='0 0 1600 240' fill='none'%3E%3Cpath d='M-200 120C120 200 380 20 640 130 900 240 1160 30 1420 140 1680 250 1880 80 1960 110' stroke='%23818181' stroke-width='1.2'/%3E%3Cpath d='M-160 70C280-10 600 150 920 40S1480 160 1920 60' stroke='%234fc7b5' stroke-width='.7'/%3E%3C/svg%3E");
  --lava-e: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='240' viewBox='0 0 1600 240' fill='none'%3E%3Cpath d='M-100 54C260 90 520 18 800 54S1340 90 1760 40' stroke='%23818181' stroke-width='.7'/%3E%3Cpath d='M-100 98C300 54 560 142 840 98S1380 54 1760 118' stroke='%23818181' stroke-width='.65'/%3E%3Cpath d='M-100 142C240 178 580 106 860 142S1400 178 1760 128' stroke='%23818181' stroke-width='.6'/%3E%3Cpath d='M-100 186C280 150 600 214 880 186S1420 150 1760 200' stroke='%234fc7b5' stroke-width='.55'/%3E%3C/svg%3E");
  --lava-f: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='240' viewBox='0 0 1600 240' fill='none'%3E%3Cpath d='M-140 40C360 210 720-20 1080 170S1680 10 1920 130' stroke='%23818181' stroke-width='1.05'/%3E%3Cpath d='M-140 200C400 20 780 230 1140 70S1720 220 1920 90' stroke='%23818181' stroke-width='.8'/%3E%3C/svg%3E");
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: var(--pad-section) 0;
  background: var(--bg);
}
.section.has-lines { overflow: hidden; }
.section > .wrap { position: relative; z-index: 1; }
.section.has-lines::before,
.section.has-lines::after {
  content: "";
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: -6vw;
  right: -6vw;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: 124% 86%;
  background-position: center;
  opacity: .48;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%), linear-gradient(#0000 0%, #000 22%, #000 78%, #0000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%), linear-gradient(#0000 0%, #000 22%, #000 78%, #0000 100%);
  mask-composite: intersect;
}
.section.has-lines::before {
  background-image: var(--lava-a);
  background-position: 40% 32%;
}
.section.has-lines::after {
  background-image: var(--lava-d);
  background-size: 132% 58%;
  background-position: 70% 78%;
  opacity: .32;
  animation: lava-line-breathe 22s ease-in-out infinite;
}
.section.has-lines-1::before { background-image: var(--lava-e); background-size: 128% 70%; background-position: 50% 70%; }
.section.has-lines-1::after { background-image: var(--lava-b); background-position: 18% 18%; transform: scaleX(-1); animation-duration: 26s; animation-delay: -6s; }
.section.has-lines-2::before { background-image: var(--lava-c); background-size: 140% 110%; background-position: 50% 50%; transform: rotate(-8deg); }
.section.has-lines-2::after { background-image: var(--lava-f); background-position: 80% 24%; transform: rotate(4deg); animation-duration: 20s; animation-delay: -11s; }
.section.has-lines-3::before { background-image: var(--lava-d); background-size: 150% 92%; background-position: 16% 58%; transform: scaleX(-1); }
.section.has-lines-3::after { background-image: var(--lava-a); background-size: 110% 50%; background-position: 88% 20%; animation-duration: 28s; animation-delay: -4s; }
.section.has-lines-4::before { background-image: var(--lava-f); background-size: 136% 88%; background-position: 46% 48%; }
.section.has-lines-4::after { background-image: var(--lava-e); background-position: 30% 82%; transform: scaleY(-1); animation-duration: 24s; }
.section.has-lines-5::before { background-image: var(--lava-b); background-size: 134% 80%; background-position: 62% 44%; }
.section.has-lines-5::after { background-image: var(--lava-c); background-position: 12% 72%; transform: rotate(6deg); animation-duration: 19s; animation-delay: -9s; }
.section h2 { font-size: var(--fs-h2); margin: 0 0 10px; }
.section .sub { color: var(--muted); margin: 0 0 32px; max-width: 680px; }
.sand { background: var(--sand); }
.white { background: var(--paper); }
.section.work { background: var(--paper); }
.lead-band { padding-top: 88px; padding-bottom: 88px; }
@keyframes lava-line-breathe {
  0%, 100% { opacity: .12; }
  50% { opacity: .32; }
}
.lead-band .grid-2 { align-items: center; gap: 40px; }
.lead-band a[href^="tel"],
.lead-band a[href^="mailto"] {
  display: inline-flex;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  font-weight: 800;
  text-decoration: none;
  color: var(--contact-link);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.hero.hero-home { background: #fff; }
.hero-visual {
  background-size: 112% auto;
  animation: hero-pan 32s ease-in-out infinite alternate;
}
@keyframes hero-pan {
  from { background-position: 90% 24%; }
  to { background-position: 76% 38%; }
}
.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-item.is-in {
  opacity: 1;
  transform: none;
}
.card,
.intent a,
.shop-card,
.service-card,
.price-card,
.review-card,
.faq-item {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover:not(.work-panel):not(.hero-lead):not(.pay-tile),
.intent a:hover,
.shop-card:hover,
.service-card:hover,
.price-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(28, 35, 48, .12);
}

.cert-section { padding-top: 56px; }
.cert-widget {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 8px 0 22px;
}
.cert-shot {
  margin: 0;
  background: #f4f7fa;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cert-shot img { width: 100%; height: auto; display: block; }
.cert-shot-official { background: #fff; }
.cert-shot .js-lightbox {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.cert-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 16px;
}
.cert-facts div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.cert-facts dt { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.cert-facts dd { margin: 0; font-weight: 800; }
.cert-note { color: var(--muted); max-width: 820px; }

.card img,
.promo img,
.trust .card img,
.intent a img,
.service-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}
.trust .card img,
.promo img,
.card > img {
  margin: -22px -22px 14px;
  width: calc(100% + 44px);
  max-width: none;
}
.intent a img { margin: -20px -20px 14px; width: calc(100% + 40px); max-width: none; border-radius: 18px 18px 0 0; }
.cert-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 22px;
}
.cert-products img { width: 100%; height: 300px; object-fit: contain; background: #f4f7fa; display: block; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.section .trust { margin-top: 0; }
.trust article { padding: 22px; }
.trust strong { display: block; font-size: var(--fs-trust); color: var(--red); }
.trust span { color: var(--muted); font-size: 14px; }
.trust .card,
.card.promo {
  position: relative;
  overflow: hidden;
}
.trust .card::before,
.card.promo::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  background-size: 42% 100%;
  background-repeat: no-repeat;
  animation: accent-line 3.6s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.trust .card::after,
.card.promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.65) 50%, transparent 62%);
  transform: translateX(-140%);
  animation: card-shine 5.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.trust .card:nth-child(2)::after,
.card.promo:nth-child(2)::after { animation-delay: .8s; }
.trust .card:nth-child(3)::after,
.card.promo:nth-child(3)::after { animation-delay: 1.6s; }
.trust .card:nth-child(4)::after,
.card.promo:nth-child(4)::after { animation-delay: 2.4s; }
@keyframes accent-line {
  0% { background-position: -40% 0; }
  100% { background-position: 140% 0; }
}
@keyframes card-shine {
  0%, 64% { transform: translateX(-140%); }
  80% { transform: translateX(140%); }
  100% { transform: translateX(140%); }
}

.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-models { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.muted { color: var(--muted); margin: 0; font-size: 14px; }
.model-hero { padding: 48px 0 56px; }
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; }
.compare th, .compare td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.compare thead th { font-size: 13px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.pay-section { background: #fff; }
.pay-section h2 { color: var(--black); }
.pay-section .sub { max-width: 52ch; }
.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.pay-grid .pay-tile {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  padding: 42px 40px 36px;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.pay-grid .pay-tile h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}
.pay-grid .pay-tile p {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  line-height: 1.45;
  max-width: 42ch;
}
.pay-grid .pay-tile:nth-child(1),
.pay-grid .pay-tile:nth-child(2) { background: var(--black); }
.pay-grid .pay-tile:nth-child(3) { background: var(--red); }
.pay-grid .pay-tile:nth-child(4) { background: var(--teal); }
.pay-grid .pay-tile:nth-child(n + 5) { background: var(--black); }

.factory-section { background: #fff; }
.factory-section h2 { color: var(--black); }
.factory-section .sub { color: var(--muted); max-width: 70ch; }
.factory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 40px;
  margin-top: 28px;
}
.factory-tile {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.factory-tile-photo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.factory-tile-photo img,
.factory-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 270 / 169;
  object-fit: cover;
  object-position: center 18%;
  margin: 0 !important;
  max-width: none;
  border-radius: 0;
}
.factory-tile-photo h3 {
  position: static;
  margin: 0;
  box-sizing: border-box;
  aspect-ratio: 270 / 105;
  padding: 18px 22px;
  background: var(--teal);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  align-items: center;
}
.factory-tile > p {
  margin: 16px 0 0;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 960px) {
  .factory-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pay-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .pay-grid .pay-tile { min-height: 0; padding: 28px 24px; }
  .factory-grid { grid-template-columns: 1fr; }
}
.promo { overflow: hidden; padding: 0; }
.card.promo > img,
.promo img {
  margin: 0;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 22px 22px 0 0;
}
.promo .body { padding: 18px 20px 22px; }
.promo b { color: var(--red); font-size: 22px; }

.price-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; height: 100%; }
.card.price-card > img {
  margin: 8px 8px 0;
  width: calc(100% - 16px);
  max-width: none;
  height: 210px;
  object-fit: contain;
  object-position: center bottom;
  background: #fff;
  border-radius: 0;
  flex: none;
}
.price-card .body { padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.price-card .tag { align-self: start; background: var(--sand); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.price-card h3 { min-height: 2.4em; margin: 0; line-height: 1.2; }
.price-card .muted { min-height: 2.8em; margin: 0; line-height: 1.4; }
.price-card .cost { font-size: 26px; font-weight: 800; margin: 0; line-height: 1.2; }
.specs { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.price-card .specs { flex: 1 1 auto; min-height: 5.6em; margin: 4px 0 0; }
.price-card .specs li { line-height: 1.35; }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }

.shop-heading { margin: 36px 0 16px; font-size: 22px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 22px; }
.shop-grid--balcony { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-card--balcony .shop-card-visual img { height: 168px; object-fit: cover; }
.shop-card--balcony .shop-badges { left: 12px; top: 12px; }
.shop-card--balcony h3 { min-height: 2.6em; }
.shop-more { margin: 28px 0 0; }
.shop-card {
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  cursor: pointer;
  padding: 16px 16px 20px;
  border: 1px solid #d5dbe3;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(28, 35, 48, .07);
}
.shop-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.shop-card-visual {
  position: relative;
  background: var(--bg);
  min-height: var(--shop-visual);
  border-radius: 14px;
  overflow: hidden;
}
.shop-card-visual img { width: 100%; height: var(--shop-visual); object-fit: contain; background: var(--bg); }
.shop-badges {
  position: absolute;
  left: 18%;
  top: 22%;
  display: grid;
  gap: 5px;
  pointer-events: none;
}
.badge-teal, .badge-gold {
  display: inline-block;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.2;
  color: var(--black);
}
.badge-teal { background: #4fc7b5; }
.badge-gold { background: var(--red); color: #fff; }
.shop-card h3 { margin: 10px 0 0; font-size: var(--fs-shop-title); line-height: 1.15; font-weight: 800; }
.shop-specs { margin: 0; padding: 0; list-style: none; color: #4a5360; font-size: 14px; line-height: 1.5; }
.shop-card .size-row {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 600;
}
.size-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.size-badge {
  appearance: none;
  display: inline-block;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 11px;
  font: 600 12px/1.2 Manrope, sans-serif;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.size-badge:hover {
  border-color: var(--red);
  color: var(--red);
}
.size-badge.is-current {
  background: #fff;
  border-color: var(--red);
  color: var(--red);
}
.shop-price { font-size: 18px; font-weight: 800; }
.shop-turnkey { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: -4px; }
.shop-card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.shop-card-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 10px 14px;
  font-size: 13px;
}
.shop-size-link {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
}
.shop-size-link:hover { color: var(--red); }
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 20px;
}
.shop-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.shop-chip:hover,
.shop-chip.is-current { border-color: var(--red); color: var(--red); }
.accessory-hub { max-width: 640px; }
body.single-product { display: block; }
.ufawin-product {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 32px 40px;
  align-items: start;
}
.single-product-visual {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.single-product-visual img { width: 100%; height: auto; object-fit: contain; }
.single-product-visual--photo img { object-fit: cover; aspect-ratio: 4 / 3; }
.single-product-info .size-row { max-width: none; margin: 12px 0 16px; }
.single-product-info .size-badge { font-size: 13px; padding: 8px 14px; }
.single-product-info h1 { margin: 0 0 8px; font-size: var(--fs-h2); }
.spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.spec-table th,
.spec-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table th { font-weight: 600; color: var(--muted); width: 48%; }
.single-product-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.shop-price::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: -3px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--red);
}
.shop-order {
  align-self: start;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
  font-size: 16px;
}
.shop-cart {
  position: relative;
  z-index: 2;
  align-self: start;
  padding: 10px 18px;
  font-size: 14px;
}
.shop-order span { margin-left: 2px; }
.shop-order:hover { color: var(--red-dark); }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.cart-link span {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  min-width: 20px;
  padding: 1px 7px;
  font-size: 12px;
  text-align: center;
}

.shop-page .woocommerce-products-header__title,
.shop-page .product_title,
.shop-page h1 { margin-top: 0; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  padding: 12px 20px;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input.button:hover { background: var(--red-dark); color: #fff; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 22px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.single-shop-card { max-width: 320px; }
.single-shop-note { margin-top: 28px; max-width: 820px; color: var(--muted); }
.product-copy { margin-top: 48px; max-width: 920px; }
.product-copy h2 { font-size: 28px; margin: 32px 0 12px; }
.product-copy h2:first-child { margin-top: 0; }
.product-copy p { margin: 0 0 12px; color: #3b4452; }
.product-copy-why { margin: 0 0 8px; padding-left: 20px; color: #3b4452; }
.product-copy-why li { margin: 0 0 8px; }
.product-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 16px;
}
.product-fit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.product-fit-card h3 { margin: 0 0 8px; font-size: 16px; }
.product-fit-card p { margin: 0; font-size: 14px; }
.product-copy-close { color: var(--muted); font-size: 14px; }
.product-copy-links { font-size: 14px; }
@media (max-width: 720px) {
  .product-fit { grid-template-columns: 1fr; }
}
.woocommerce span.onsale { background: var(--red); }
.woocommerce .price { color: var(--ink); font-weight: 800; font-size: 22px; }
.woocommerce-error, .woocommerce-info, .woocommerce-message {
  border-radius: 14px;
  border-top: 0;
  border-left: 4px solid var(--teal);
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-cart table.cart input,
.woocommerce-page .input-text,
.woocommerce form .input-text,
.woocommerce form select {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: 16px Manrope, sans-serif;
}
.woocommerce-cart-form, .cart-collaterals, .woocommerce-checkout { background: transparent; }
.ufawin-price-legal {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f4f6f8;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.cart-collaterals .ufawin-price-legal {
  margin: 12px 0 0;
}
.strlab-wincalc-preview,
.woocommerce-cart-form .product-thumbnail img,
.woocommerce-checkout-review-order-table .product-thumbnail img,
.woocommerce-table--order-details .product-thumbnail img {
  width: 84px;
  height: auto;
  max-width: 84px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f3f5f7;
}

.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check-list li { list-style: none; background: #fff; border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line); }
.check-list { padding: 0; }

.intent a, .step, .faq-item { background: #fff; border-radius: 18px; padding: 20px; border: 1px solid var(--line); text-decoration: none; color: inherit; display: block; }
.intent a:hover, .step:hover { border-color: var(--teal); }
.intent a b { display: block; font-size: 20px; margin-bottom: 6px; }
.intent a p { margin: 0; color: var(--muted); }
.step b { display: block; color: var(--red); margin-bottom: 6px; }
.faq-item { margin: 10px 0 0; }
.faq-item summary { font-weight: 700; cursor: pointer; }
.faq-item p { color: var(--muted); margin: 10px 0 0; max-width: 72ch; line-height: 1.55; }
.faq-item p + p { margin-top: 8px; }
.trust span { display: block; margin-top: 8px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card > p { margin: 0; color: var(--muted); }

.work-tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.work-tablist button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font: 600 14px Manrope, sans-serif;
  cursor: pointer;
  color: var(--ink);
}
.work-tablist button.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.work-panel { display: none; overflow: hidden; padding: 0; }
.work-panel.is-active {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.05fr);
  align-items: stretch;
  min-height: 480px;
}
.work-panel .body {
  padding: 28px 8px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.work-panel .work-meta {
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}
.work-panel .work-meta strong { font-weight: 700; }
.work-panel .specs {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
}
.work-panel .specs li {
  position: relative;
  padding: 0 0 10px 34px;
  line-height: 1.4;
}
.work-panel .specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background: url("../img/work-check.svg") center / contain no-repeat;
}
.work-cta {
  margin-top: auto;
  align-self: flex-start;
  color: var(--red);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.work-cta::after { content: " ›"; }
.work-cta:hover { text-decoration: underline; }
.work-gallery {
  position: relative;
  margin: 0;
  min-height: 480px;
  height: 100%;
  background: var(--black-20);
  overflow: hidden;
}
.work-gallery img {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center;
}
.work-gallery img.is-active { display: block; }
.work-gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 35, 48, .18);
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.work-gallery-prev { left: 12px; }
.work-gallery-next { right: 12px; }
.service-card { overflow: hidden; padding: 0; }
.service-card img { height: 200px; width: 100%; object-fit: cover; }
.service-card .body { padding: 18px 20px 22px; display: grid; gap: 10px; }

.work img { height: 220px; width: 100%; object-fit: cover; border-radius: 18px 18px 0 0; }
.work article { overflow: hidden; padding: 0; }
.work .body { padding: 16px 18px 20px; }

.reviews article { min-height: 180px; }
.stars { color: #e0a106; letter-spacing: 2px; }
.reviews-grid { align-items: stretch; }
.review-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 280px;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(28, 35, 48, .06);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--review-accent, var(--red));
}
.review-card--yandex { --review-accent: #fc3f1d; }
.review-card--google { --review-accent: #4285f4; }
.review-card--2gis { --review-accent: #00a046; }
.review-card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
}
.review-card-brand svg { width: 28px; height: 28px; flex: none; }
.review-score {
  margin: 8px 0 0;
  font-size: 52px;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--review-accent, var(--red));
}
.review-stars {
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 3px;
  width: max-content;
}
.review-stars-bg { color: #e4e8ee; }
.review-stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  color: #e0a106;
  white-space: nowrap;
}
.review-count { font-size: 14px; font-weight: 700; color: var(--ink); }
.review-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  flex: 1;
}
.review-more {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--review-accent, var(--teal-deep));
}
.review-card:hover .review-more { text-decoration: underline; }

.faq-item + .faq-item { margin-top: 10px; }
.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font: 700 16px Manrope, sans-serif;
  cursor: pointer;
  color: var(--ink);
}
.faq-item p { display: none; color: var(--muted); margin: 10px 0 0; max-width: 72ch; line-height: 1.55; }
.faq-item.open p,
.faq-item[open] p,
.faq-item.ufawin-faq-edit p { display: block; }

.lead-usps { display: grid; gap: 8px; margin: 0 0 4px; }
.lead-usps-gift {
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.lead-usps ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.lead-usps li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}
.lead-usps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.hero-lead .lead-usps { gap: 8px; }
.hero-lead .lead-usps-gift { font-size: 12px; padding: 8px 10px; }
.hero-lead .lead-usps li { font-size: 12px; }

.lead-form { display: grid; gap: 12px; }
.lead-form label span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.lead-form input[type=text],
.lead-form input[type=tel] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: 16px Manrope, sans-serif;
  background: #fff;
  color: var(--ink);
}
.lead-form input.js-phone:focus {
  outline: 2px solid var(--ink);
  outline-offset: 0;
}
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.lead-form .hp { position: absolute; left: -9999px; }
.notice-ok, .notice-err {
  padding: 12px 16px;
  border-radius: 14px;
  margin: 12px 0 0;
  font-weight: 600;
}
.notice-ok { background: var(--teal); color: #fff; }
.notice-err { background: var(--red); color: #fff; }

.site-map {
  position: relative;
  isolation: isolate;
  background: var(--black-20);
}
.site-map-frame {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
.site-map-shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.site-map.is-map-on .site-map-shield { display: none; }
.site-map-card {
  position: absolute;
  z-index: 2;
  left: max(16px, calc((100% - min(var(--page-max), calc(100% - 32px))) / 2));
  top: 20px;
  width: min(300px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 28px rgba(28, 35, 48, .12);
}
.site-map-card b { display: block; margin: 0 0 6px; }
.site-map-card p { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.site-map-card a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: var(--contact-link);
  text-decoration: none;
}
.site-map-card a:hover { color: var(--contact-hover); }
.site-map-card a.addr-link {
  display: inline;
  margin-top: 0;
  font-weight: 500;
  color: inherit;
}

.site-footer { background: var(--black); color: var(--black-20); padding: 48px 0 96px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.site-footer b { display: block; margin: 16px 0 8px; }
.site-footer b:first-child { margin-top: 0; }
.site-footer .logo img { filter: none; height: 58px; width: auto; max-width: 190px; }
.site-footer .logo .logo-rehau { height: 24px; max-width: 100px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; font-size: 13px; }
.copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 28px;
  padding-top: 16px;
  color: var(--black-40);
  font-size: 13px;
}
.copy a { color: var(--black-20); text-decoration: underline; }
.copy a:hover { color: #fff; }

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  isolation: isolate;
}
.sticky-cta-row {
  display: flex;
  gap: 8px;
}
.sticky-top {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(28, 35, 48, .12);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: .25s opacity, .25s transform, .2s background, .2s color;
}
.sticky-cta.has-top .sticky-top {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.sticky-top:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.sticky-top svg { width: 20px; height: 20px; display: block; }
.header-measure,
.header-calc,
.hero-actions .btn-primary,
.hero-lead .btn,
.sticky-cta .btn {
  position: relative;
  overflow: visible;
}
.header-measure::before,
.header-measure::after,
.header-calc::before,
.header-calc::after,
.hero-actions .btn-primary::before,
.hero-actions .btn-primary::after,
.hero-lead .btn::before,
.hero-lead .btn::after,
.sticky-cta .btn::before,
.sticky-cta .btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  animation: sticky-wave 2.6s ease-out infinite;
}
.header-measure::after,
.header-calc::after,
.hero-actions .btn-primary::after,
.hero-lead .btn::after,
.sticky-cta .btn::after { animation-delay: 1.3s; }
.header-measure::before,
.header-measure::after,
.header-calc::before,
.header-calc::after,
.hero-actions .btn-primary::before,
.hero-actions .btn-primary::after,
.hero-lead .btn::before,
.hero-lead .btn::after,
.sticky-cta .btn-primary::before,
.sticky-cta .btn-primary::after { --wave: 229, 0, 64; }
.sticky-cta .btn-ghost::before,
.sticky-cta .btn-ghost::after { --wave: 0, 0, 0; }
@keyframes sticky-wave {
  0% { box-shadow: 0 0 0 0 rgba(var(--wave), .42); opacity: .85; }
  75% { box-shadow: 0 0 0 14px rgba(var(--wave), 0); opacity: 0; }
  100% { box-shadow: 0 0 0 14px rgba(var(--wave), 0); opacity: 0; }
}
.header-measure:hover::before,
.header-measure:hover::after,
.header-calc:hover::before,
.header-calc:hover::after,
.hero-actions .btn-primary:hover::before,
.hero-actions .btn-primary:hover::after,
.hero-lead .btn:hover::before,
.hero-lead .btn:hover::after,
.sticky-cta .btn:hover::before,
.sticky-cta .btn:hover::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .header-measure::before,
  .header-measure::after,
  .header-calc::before,
  .header-calc::after,
  .hero-actions .btn-primary::before,
  .hero-actions .btn-primary::after,
  .hero-lead .btn::before,
  .hero-lead .btn::after,
  .sticky-cta .btn::before,
  .sticky-cta .btn::after,
  .trust .card::before,
  .trust .card::after,
  .card.promo::before,
  .card.promo::after,
  .section::before,
  .section::after { animation: none; }
  .hero-visual { animation: none !important; }
  .reveal-item { opacity: 1; transform: none; transition: none; }
  .sticky-top { transition: none; }
  .card:hover:not(.work-panel):not(.hero-lead):not(.pay-tile),
  .intent a:hover,
  .shop-card:hover,
  .service-card:hover,
  .price-card:hover,
  .review-card:hover { transform: none; }
}
.cookie {
  position: fixed;
  left: 18px;
  bottom: 18px;
  max-width: 420px;
  z-index: 50;
  display: none;
}
.cookie.show { display: block; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(28,35,48,.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 20px;
}
.modal.open { display: flex; }
.modal .card { width: min(440px, 100%); position: relative; }
.modal .close { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 28px; cursor: pointer; }
.modal-lightbox .card {
  width: min(1100px, 100%);
  padding: 36px 16px 16px;
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.modal-lightbox .card img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 96px);
  margin: 0;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.page-legal { padding: 48px 0 80px; }
.page-legal .card { max-width: 860px; }
.page-legal h1 { margin-top: 0; }
.page-legal h2 { font-size: 22px; margin-top: 28px; }
.page-legal p, .page-legal li { color: #3b4452; }

.page-contacts,
.page-landing { padding: 0; }
body.swc-has-calc .page-landing {
  display: flex;
  flex-direction: column;
}
body.swc-has-calc .page-landing > #calc,
body.swc-has-calc .page-landing > *:has(#calc) {
  order: -1;
}
body.swc-has-calc .swc-section {
  padding: 4px 0 12px;
}
body.swc-has-calc .swc-shell {
  width: min(1760px, calc(100% - 20px));
  margin: 0 auto;
}
body.swc-has-calc .swc-section-head {
  padding-top: 8px;
}
body.swc-has-calc .swc-section-head .sub {
  margin-bottom: 0;
}
@media (max-width: 980px) {
  body.swc-has-calc .swc-section {
    padding: 0 0 8px;
  }
  body.swc-has-calc .swc-shell {
    width: 100%;
  }
  body.swc-has-calc .swc-section-head {
    display: none;
  }
}
.page-contacts .contacts-hero {
  padding-top: 40px;
  padding-bottom: 40px;
}
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.2fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 8px;
}
.contacts-info p { margin: 0 0 12px; }
.contacts-info a { color: var(--contact-link); }
.contacts-info a:hover { color: var(--contact-hover); }
.contacts-legal { color: var(--muted); font-size: 14px; }
.contacts-map,
.contacts-map .site-map-embed {
  min-height: 360px;
  height: 100%;
}
.site-map-embed {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.site-map-embed .site-map-frame {
  height: 100%;
  min-height: 360px;
}
.site-map-embed .site-map-card {
  left: 12px;
  top: 12px;
  width: min(260px, calc(100% - 24px));
}

.page-gutenberg { padding: 36px 0 80px; }
.page-gutenberg .entry-content > .eyebrow { margin: 0 0 8px; }
.page-gutenberg .entry-content > h1,
.page-gutenberg .entry-content > .wp-block-heading:first-of-type { margin-top: 0; }
.page-gutenberg .wp-block-columns { margin: 0 0 40px; }
.page-gutenberg .house-hero { margin: 24px 0 48px; align-items: start; }
.page-gutenberg .hero-price { margin: 8px 0 18px; }
.page-gutenberg .hero-price strong,
.page-gutenberg .hero-price b { font-size: 28px; color: var(--red); }
.page-gutenberg .house-lead,
.page-gutenberg .wp-block-group.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius, 18px);
  padding: 20px;
}
.page-gutenberg .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.page-gutenberg .wp-block-button { margin: 0; }
.page-gutenberg .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(229, 0, 64, .25);
}
.page-gutenberg .is-style-outline .wp-block-button__link {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.page-gutenberg .wp-block-details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  margin: 10px 0 0;
}
.page-gutenberg .wp-block-details summary { font-weight: 700; cursor: pointer; }
.page-gutenberg .wp-block-details p { color: var(--muted); margin: 10px 0 0; }

.home-gutenberg .alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.home-gutenberg .hero-home > .wp-block-group__inner-container {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(16px, calc((100% - min(var(--page-max), calc(100% - 32px))) / 2));
  grid-template-columns: minmax(260px, var(--hero-copy)) minmax(0, 1fr);
  min-height: calc(100svh - var(--header-stack));
}
.home-gutenberg .wp-block-columns.grid-4,
.home-gutenberg .wp-block-columns.grid-3,
.home-gutenberg .wp-block-columns.grid-2,
.home-gutenberg .wp-block-columns.benefit-grid {
  display: grid;
  gap: 18px;
}
.home-gutenberg .wp-block-columns.grid-4 { grid-template-columns: repeat(4, 1fr); }
.home-gutenberg .wp-block-columns.grid-3,
.home-gutenberg .wp-block-columns.benefit-grid { grid-template-columns: repeat(3, 1fr); }
.home-gutenberg .wp-block-columns.grid-2 { grid-template-columns: repeat(2, 1fr); }
.home-gutenberg .wp-block-column { margin: 0 !important; }
.home-gutenberg .wp-block-group.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius, 18px);
  padding: 20px;
  height: 100%;
  overflow: hidden;
}
.home-gutenberg .hero-price { display: flex; gap: 18px; }
.home-gutenberg .hero-price strong { font-size: 28px; color: var(--red); }
.home-gutenberg .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.home-gutenberg .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
}
.home-gutenberg .is-style-outline .wp-block-button__link {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.home-gutenberg .service-card { padding: 0; overflow: hidden; }
.home-gutenberg .service-card .wp-block-heading,
.home-gutenberg .service-card p,
.home-gutenberg .service-card .wp-block-buttons { padding-left: 20px; padding-right: 20px; }
.home-gutenberg .service-card .wp-block-buttons { padding-bottom: 18px; }
.home-gutenberg .wp-block-details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  margin: 10px 0 0;
}
.home-gutenberg .wp-block-details summary { font-weight: 700; cursor: pointer; }

@media (max-width: 1080px) {
  .home-gutenberg .wp-block-columns.grid-4,
  .home-gutenberg .wp-block-columns.grid-3,
  .home-gutenberg .wp-block-columns.benefit-grid,
  .home-gutenberg .wp-block-columns.grid-2 { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
}

/* Full HD 1×: те же пропорции, что на 4K. Пиксели меньше, форма не занимает полэкрана. */
@media (max-width: 1920px) and (max-resolution: 1.4dppx), (max-width: 1680px) {
  :root {
    --max: 1120px;
    --page-max: 1600px;
    --header-max: 1600px;
    --hero-copy: 540px;
    --fs-body: 14px;
    --fs-h1: 32px;
    --fs-h2: 24px;
    --fs-lead: 14px;
    --fs-shop-title: 18px;
    --fs-trust: 20px;
    --pad-hero: 20px 0 16px;
    --pad-section: 48px;
    --pad-card: 16px;
    --shop-visual: 188px;
    --radius: 16px;
  }
  .btn { padding: 10px 16px; font-size: 13px; }
  .mega-top { font-size: 13px; }
  .mega-panel-wide { grid-template-columns: minmax(200px, 1.1fr) repeat(3, minmax(130px, 1fr)); gap: 10px 18px; padding: 16px 18px; }
  .mega-panel-shop { grid-template-columns: minmax(200px, 1.05fr) repeat(3, minmax(120px, 1fr)); }
  .mega-panel-cards { grid-template-columns: repeat(2, minmax(200px, 230px)); }
  .mega-card { padding: 10px 12px; }
  .mega-card-text b { font-size: 13px; }
  .mega-card-text small { font-size: 11px; }
  .phones a { font-size: 14px; }
  .header-top { font-size: 12px; }
  .hero-price b { font-size: 18px; }
  .hero-price { margin: 12px 0; }
  .hero-home .hero-grid { max-width: var(--hero-copy); padding: 20px 24px 20px 0; }
  .hero-visual { padding: 20px clamp(28px, 5vw, 64px); }
  .hero-lead { max-width: 360px; flex-basis: 360px; padding: 20px 20px; }
  .hero-lead h3 { font-size: 15px; }
  .hero-lead > p { display: none; }
  .hero-lead .lead-form { gap: 7px; }
  .hero-lead .lead-form label span { font-size: 12px; margin-bottom: 3px; }
  .hero-lead .lead-form input[type=text],
  .hero-lead .lead-form input[type=tel] { padding: 9px 12px; font-size: 14px; }
  .hero-lead .lead-form .check { font-size: 11px; gap: 8px; }
  .section .sub { margin-bottom: 22px; }
  .shop-heading { font-size: 16px; margin: 24px 0 12px; }
  .price-card .cost, .promo b { font-size: 18px; }
  .logo img { height: 48px; max-width: 164px; }
  .logo .logo-rehau { height: 22px; max-width: 88px; }
  .shop-card { gap: 8px; }
  .shop-grid, .woocommerce ul.products { gap: 40px 16px; }
}

@media (min-width: 1180px) and (max-height: 900px) {
  :root {
    --fs-h1: 30px;
    --fs-lead: 14px;
    --pad-hero: 16px 0 14px;
  }
  .hero-home .hero-grid { padding-top: 16px; padding-bottom: 16px; }
  .hero-visual { padding: 16px 24px; }
  .hero-lead { max-width: 360px; flex-basis: 360px; padding: 18px 18px; }
  .hero-lead > p { display: none; }
  .hero-price { margin: 8px 0; }
  .hero-price b { font-size: 20px; }
  .hero-actions { margin-bottom: 6px; }
}

@media (max-width: 1279px) {
  :root { --header-stack: 104px; }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 80;
  }
  .admin-bar { --header-stack: 104px; }
  body { padding-top: var(--header-stack); }
  body.admin-bar { padding-top: calc(var(--header-stack) + 32px); }
  .admin-bar .site-header { top: 32px; }
  .header-main { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-width: 0; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-cta { order: 2; margin-left: auto; gap: 8px; min-width: 0; }
  .header-calc .label-full { display: none; }
  .header-calc .label-short { display: inline; }
  .header-cta .header-calc { padding: 10px 14px; }
  .phones { gap: 2px; }
  .phones a { padding: 3px 0; }
  .nav-scrim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 35, 48, .45);
    z-index: 55;
  }
  .nav-scrim:not([hidden]) { display: block; }
  body.nav-open { overflow: hidden; }
  body.nav-open .sticky-cta { display: none; }
  .site-header { backdrop-filter: none; }
  .mega-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    top: var(--nav-top, 64px);
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 8px 18px 96px;
    z-index: 60;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mega-nav.is-open { display: flex; }
  .mega-top { width: 100%; text-align: left; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .mega-top-link { border-bottom: 1px solid var(--line); }
  .mega-compact { position: static; }
  .mega-compact .mega-panel { transform: none; max-width: none; width: auto; }
  .mega-panel,
  .mega-panel-sm,
  .mega-panel-wide,
  .mega-panel-shop,
  .mega-panel-cards,
  .mega-panel-cols,
  .mega-panel-tech,
  .mega-panel-company {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 4px 0 12px 4px;
  }
  .mega-panel::before { display: none; }
  .mega.open > .mega-panel { display: grid; }
  .mega-card { padding: 10px 0; border: 0; border-radius: 0; }
  .mega-card-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .mega-salon { display: none; }
  .mega-contacts {
    display: block;
    margin-top: 16px;
    padding: 16px 0 8px;
    border-top: 1px solid var(--line);
  }
  .mega-contacts b {
    display: block;
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .mega-contacts a,
  .mega-contacts p {
    display: block;
    margin: 0 0 8px;
    color: var(--contact-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
  }
  .mega-contacts .mega-phone { font-size: 18px; color: var(--contact-link); }
  .mega-contacts p { font-weight: 500; color: var(--muted); font-size: 13px; }
}
@media (max-width: 1100px) {
  .grid-models, .shop-grid, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .trust, .grid-4, .grid-3, .footer-grid, .check-list, .shop-grid, .woocommerce ul.products, .cert-facts, .cert-products, .work-panel.is-active, .ufawin-product { grid-template-columns: 1fr 1fr; }
  .hero,
  .hero.hero-home,
  .hero-home-inner,
  .hero-visual,
  .home-gutenberg .hero-home > .wp-block-group__inner-container {
    min-height: 0;
  }
  .hero { background: #fff; padding: 0; }
  .hero.hero-home { display: block; }
  .hero-home-inner,
  .hero-home,
  .home-gutenberg .hero-home > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    padding-left: 0;
  }
  .hero-home .hero-grid {
    order: 1;
    grid-template-columns: 1fr;
    width: min(var(--max), calc(100% - 32px));
    max-width: none;
    margin: 0 auto;
    padding: 16px 0 8px;
    align-self: stretch;
    flex: none;
    height: auto;
  }
  .hero-visual {
    order: 2;
    display: block;
    background: none;
    padding: 4px 16px 20px;
  }
  .hero-visual::before { display: none; }
  .hero-lead {
    max-width: none;
    flex: none;
    width: 100%;
    align-self: stretch;
  }
  .hero h1 { font-size: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  main { padding-bottom: 80px; }
}
@media (max-width: 782px) {
  body.admin-bar { padding-top: calc(var(--header-stack) + 46px); }
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 640px) {
  :root,
  .admin-bar { --header-stack: 64px; }
  .breadcrumbs { padding: 8px 0; font-size: 12px; }
  .breadcrumbs li:not(:last-child)::after { margin: 0 6px; }
  .site-map-frame { height: 300px; }
  .site-map-card { left: 12px; top: 12px; }
  .hero-grid, .trust, .grid-4, .grid-3, .grid-2, .footer-grid, .check-list, .grid-models, .shop-grid, .woocommerce ul.products, .cert-facts, .cert-products, .work-panel.is-active, .ufawin-product { grid-template-columns: 1fr; }
  .work-panel.is-active { min-height: 0; }
  .work-panel .body { padding: 22px 18px 8px; }
  .work-gallery { order: -1; }
  .work-gallery,
  .work-gallery img { min-height: 260px; height: 260px; }
  .cart-link { display: none; }
  .header-top, .phones { display: none; }
  .site-header .wrap {
    width: 100%;
    max-width: none;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .header-main { gap: 6px; min-width: 0; padding-right: 42px; }
  .logo {
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
    flex-shrink: 1;
  }
  .logo img { height: 32px; max-width: 80px; }
  .logo .logo-rehau {
    display: block;
    height: 20px;
    max-width: 94px;
    flex-shrink: 0;
  }
  .header-cta { gap: 4px; flex: 0 0 auto; margin-left: 0; }
  .header-measure .label-full,
  .header-calc .label-full { display: none; }
  .header-measure .label-short,
  .header-calc .label-short { display: inline; }
  .header-cta .header-measure,
  .header-cta .header-calc { padding: 8px 10px; font-size: 12px; }
  .nav-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    flex: none;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    color: var(--ink);
  }
  .nav-toggle > * {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .nav-toggle::before,
  .nav-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 2px;
    margin-left: -8px;
    background: currentColor;
    border-radius: 1px;
  }
  .nav-toggle::before {
    transform: translateY(-5px);
    box-shadow: 0 5px 0 currentColor;
  }
  .nav-toggle::after { transform: translateY(5px); }
  .nav-toggle[aria-expanded="true"]::before {
    transform: rotate(45deg);
    box-shadow: none;
  }
  .nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
  .hero { padding: 0; min-height: 0; background: #fff; }
  .hero-home .hero-grid { grid-template-columns: 1fr; padding: 10px 0 0; align-self: stretch; gap: 8px; flex: none; height: auto; }
  .hero-home .eyebrow { margin: 0 0 6px; }
  .hero-home h1 { font-size: 24px; margin: 4px 0 8px; }
  .hero-home .lead { margin: 0 0 8px; }
  .hero-home .gift-strip { margin: 0 0 8px; }
  .hero-home .hero-price { margin: 8px 0 10px; }
  .hero-home .hero-actions,
  .hero-home .hero-grid > p:last-of-type { display: none; }
  .hero-visual { min-height: 0; background: none; padding: 0 16px 12px; }
  .hero-lead { align-self: stretch; padding: 16px 18px; }
  .gift-strip { display: block; border-radius: 14px; }
  .sticky-cta { left: 12px; right: 12px; align-items: stretch; }
  .sticky-top { align-self: flex-end; }
  .sticky-cta .btn { flex: 1; }
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mega-nav { --nav-top: 110px; }
}
@media (max-width: 360px) {
  .header-cta .header-measure,
  .header-cta .header-calc { padding: 7px 8px; }
}
