/* Smart_okna_shym — светлый цех: алюминий, стекло, бетон */

:root {
  --bg: #f2f3f3;
  --surface: #fcfdfd;
  --raised: #e8eaeb;
  --line: rgba(21, 25, 30, 0.08);
  --line-strong: rgba(21, 25, 30, 0.16);

  --text: #15191e;
  --text-2: #454b52;
  --text-3: #646a71;

  --accent: #13294b;
  --accent-hover: #1d3a66;
  --accent-ink: #0a6f7e;
  --accent-bright: #1fb6c9;

  --dark: #14181d;
  --dark-surface: #1c2127;
  --dark-raised: #262c33;
  --dark-line: rgba(242, 243, 243, 0.12);
  --dark-text: #f2f3f3;
  --dark-text-2: #b4bac1;

  --open: #2f8f5b;

  --r-ctl: 10px;
  --r-card: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  scroll-padding-bottom: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  padding-bottom: 76px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure,
blockquote {
  margin: 0;
}

button {
  font-family: inherit;
}

.icon {
  display: block;
  flex-shrink: 0;
}

.mono {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.num {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-ctl);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease),
    color 0.15s var(--ease), transform 0.15s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: var(--raised);
}

.btn-sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
}

.btn-icon {
  width: 48px;
  padding: 0;
  flex-shrink: 0;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

.link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.site-header.scrolled {
  background: var(--surface);
  border-bottom-color: var(--line);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  min-height: 44px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 32px;
  flex-shrink: 0;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 9px 7px;
  border: 2px solid #fff;
  border-radius: 1px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 13px;
  width: 2px;
  background: var(--accent-bright);
}

.brand-text {
  display: grid;
}

.brand-name {
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}

.brand-name span {
  color: var(--accent-ink);
}

.brand-sub {
  display: none;
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.3;
}

.nav-desktop,
.header-tools {
  display: none;
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.nav-desktop a:hover {
  background: var(--raised);
  color: var(--text);
}

.lang {
  display: flex;
  gap: 2px;
}

.lang button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.lang button:hover {
  color: var(--text);
}

.lang button[aria-pressed="true"] {
  background: var(--raised);
  color: var(--text);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone .icon {
  color: var(--text-3);
}

/* Мобильное меню */

.menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  background: var(--surface);
  color: var(--text);
  list-style: none;
  cursor: pointer;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu .i-x,
.menu[open] .i-menu {
  display: none;
}

.menu[open] .i-x {
  display: block;
}

.menu-panel {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  display: grid;
  gap: 12px;
  padding: 8px 20px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.menu-panel nav {
  display: grid;
}

.mlink {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 18px;
  text-decoration: none;
}

.mlink .icon {
  color: var(--text-3);
}

.menu-panel .lang {
  padding-top: 4px;
}

/* ---------- Первый экран ---------- */

.hero {
  display: grid;
  gap: 28px;
  padding-bottom: 48px;
}

.hero-text {
  padding-inline: 20px;
}

.hero h1 {
  font-size: clamp(32px, 9vw, 40px);
  line-height: 1.06;
  letter-spacing: 0;
  max-width: 15ch;
}

.hero-lead {
  margin-top: 16px;
  max-width: 34rem;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions .btn {
  flex: 1 1 auto;
}

.hero-facts {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.ico {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  flex-shrink: 0;
  color: var(--text-3);
}

.fact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
}

.open-status[hidden] {
  display: none;
}

.open-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}

.open-status[data-open="true"]::before {
  background: var(--open);
}

.hero-media {
  position: relative;
  order: -1;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--raised);
}

.hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}

.plate {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-2);
}

/* ---------- Секции ---------- */

.section {
  padding-block: 56px;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-head h2,
.h2 {
  font-size: 30px;
  line-height: 1.12;
}

.section-head p {
  max-width: 40rem;
  font-size: 17px;
}

.lead {
  max-width: 40rem;
  margin-top: 12px;
  font-size: 17px;
}

/* Продукция */

.products {
  display: grid;
  gap: 12px;
}

.product {
  display: grid;
  grid-template-columns: minmax(88px, 30%) 1fr;
  gap: 16px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.product-media {
  align-self: start;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: var(--raised);
}

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

.product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 8px 0 0;
}

.product h3 {
  font-size: 19px;
  line-height: 1.25;
}

.spec {
  color: var(--text-3);
}

.product .link {
  margin-top: auto;
}

/* Работы */

.work-feature {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.shot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--raised);
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-main {
  aspect-ratio: 4 / 3;
}

.work-feature-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-feature-body h3 {
  font-size: 24px;
  line-height: 1.2;
}

.meta {
  color: var(--text-3);
}

.shot-side {
  aspect-ratio: 4 / 3;
  margin-top: 8px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 12px;
}

.work-grid .shot {
  aspect-ratio: 4 / 5;
}

.work-grid h3 {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.3;
}

.work-grid p {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-3);
}

/* Цех */

.ws {
  display: grid;
  gap: 32px;
}

.qlist {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.qlist li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.ico-plate {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  background: var(--surface);
  color: var(--text-2);
}

.qlist h3 {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.3;
}

.qlist p {
  margin-top: 4px;
}

.brands {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: 8px;
}

.brands-label {
  color: var(--text-3);
}

.brands .mono {
  color: var(--text);
  font-size: 15px;
}

.ws-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ws-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-card);
  background: var(--raised);
}

/* Шаги */

.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line-strong);
}

.step-num {
  grid-row: span 2;
  padding-top: 2px;
  color: var(--accent-ink);
  font-size: 15px;
}

.steps h3 {
  font-size: 19px;
  line-height: 1.3;
}

/* Расчёт */

.calc {
  background: var(--dark);
  color: var(--dark-text-2);
}

.calc h2 {
  color: var(--dark-text);
}

.calc-grid {
  display: grid;
  gap: 32px;
}

.calc-form {
  margin-top: 28px;
}

.calc fieldset {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.calc legend {
  margin-bottom: 12px;
  padding: 0;
  color: var(--dark-text);
  font-size: 17px;
  font-weight: 500;
}

.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt {
  position: relative;
  display: inline-flex;
}

.opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.opt span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--dark-line);
  border-radius: var(--r-ctl);
  background: var(--dark-surface);
  color: var(--dark-text);
  font-size: 16px;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
    border-color 0.15s var(--ease);
}

.opt:hover span {
  background: var(--dark-raised);
}

.opt input:checked + span {
  background: var(--dark-text);
  border-color: var(--dark-text);
  color: var(--dark);
}

.opt input:focus-visible + span {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.calc-side {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  background: var(--dark-surface);
}

.calc-side .mono {
  color: var(--dark-text-2);
}

.calc-msg {
  color: var(--dark-text);
  font-size: 17px;
  line-height: 1.55;
}

.btn-brand {
  background: var(--accent-bright);
  color: var(--accent);
}

.btn-brand:hover {
  background: #4cc6d5;
}

.btn-brand:focus-visible {
  outline-color: var(--dark-text);
}

html:not(.js) .needs-js {
  display: none;
}

/* Отзыв */

.review-grid {
  display: grid;
  gap: 24px;
}

.quote {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--accent-ink);
}

.quote blockquote {
  color: var(--text);
  font-size: 20px;
  line-height: 1.5;
}

.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 20px;
}

.quote figcaption strong {
  color: var(--text);
  font-weight: 500;
}

.quote figcaption .mono {
  color: var(--text-3);
}

/* FAQ */

.faq-grid {
  display: grid;
  gap: 24px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .icon {
  color: var(--text-3);
  transition: transform 0.18s var(--ease);
}

.faq-list details[open] summary .icon {
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 44rem;
  padding-bottom: 20px;
}

/* Instagram */

.ig-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.15s var(--ease);
}

.social a:hover {
  background: var(--raised);
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ig-grid a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ig-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--raised);
}

.ig-meta {
  display: none;
}

.ig-meta .mono {
  color: var(--text-3);
}

.ig-meta span:last-child {
  color: var(--text);
}

/* Контакты */

.contacts-grid {
  display: grid;
  gap: 32px;
}

.clist {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.clist > li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.clist > li > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.clabel {
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.4;
}

.cval {
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.cval:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.csub {
  color: var(--text-2);
  font-size: 16px;
}

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 8px;
}

.week li {
  padding: 4px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 14px;
  text-align: center;
}

.week li.today {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contacts-actions .btn {
  flex: 1 1 auto;
}

.map {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--raised);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Подвал */

.footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
}

.footer-in {
  display: grid;
  gap: 16px;
}

.footer-brand {
  color: var(--text);
  font-weight: 500;
}

.footer p + p {
  margin-top: 4px;
}

/* Мобильная панель */

.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mbar .btn-primary {
  flex: 1;
}

/* Просмотр фото */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 12, 15, 0.94);
  color: var(--dark-text);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(10, 12, 15, 0.6);
}

.lb-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 72px 16px 96px;
}

.lb-figure {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 100%;
}

.lb-figure img {
  width: auto;
  height: auto;
  max-width: min(100%, 1280px);
  max-height: calc(100dvh - 200px);
  border-radius: 8px;
  object-fit: contain;
  touch-action: pan-y;
  user-select: none;
}

.lb-cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  width: 100%;
  max-width: 720px;
  color: var(--dark-text-2);
}

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--dark-line);
  border-radius: var(--r-ctl);
  background: var(--dark-surface);
  color: var(--dark-text);
  cursor: pointer;
  transition: background-color 0.15s var(--ease);
}

.lb-btn:hover {
  background: var(--dark-raised);
}

.lb-btn:focus-visible {
  outline-color: var(--accent-bright);
}

.lb-close {
  top: 16px;
  right: 16px;
}

.lb-prev {
  left: 16px;
  bottom: 24px;
}

.lb-next {
  right: 16px;
  bottom: 24px;
}

.lb-prev .icon {
  transform: scaleX(-1);
}

/* ---------- Движение ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js .hero-text {
  animation: rise 0.5s var(--ease) both;
}

.js .hero-media {
  animation: rise 0.5s var(--ease) 0.06s both;
}

.js .reveal {
  opacity: 0;
  transform: translateY(10px);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease) var(--d, 0ms), transform 0.45s var(--ease) var(--d, 0ms);
}

/* ---------- Планшет ---------- */

@media (min-width: 720px) {
  .products {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .ig-grid {
    gap: 16px;
  }

  .ig-meta {
    display: grid;
    gap: 2px;
    margin-top: 12px;
  }
}

/* ---------- Компьютер ---------- */

@media (min-width: 960px) {
  body {
    font-size: 17px;
    padding-bottom: 0;
  }

  html {
    scroll-padding-bottom: 0;
  }

  .wrap {
    padding-inline: 32px;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
    max-width: 1280px;
    margin-inline: auto;
    padding: 32px 32px 80px;
  }

  .hero-text {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    max-width: 14ch;
  }

  .hero-lead {
    margin-top: 20px;
  }

  .hero-actions {
    margin-top: 32px;
  }

  .hero-actions .btn {
    flex: 0 0 auto;
  }

  .hero-facts {
    margin-top: 36px;
  }

  .hero-media {
    order: 0;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - 112px);
    min-height: 480px;
    border-radius: var(--r-card);
  }

  .hero-media > img {
    object-position: 50% 50%;
  }

  .plate {
    left: 16px;
    bottom: 16px;
  }

  .section {
    padding-block: 96px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head h2,
  .h2 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .product {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }

  .product-body {
    padding: 16px 16px 8px 0;
  }

  .product h3 {
    font-size: 22px;
  }

  .work-feature {
    grid-template-columns: 7fr 5fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .work-feature-body {
    padding-top: 8px;
  }

  .work-feature-body h3 {
    font-size: 28px;
  }

  .shot-main {
    aspect-ratio: auto;
    height: 100%;
    min-height: 440px;
  }

  .shot-main img {
    position: absolute;
    inset: 0;
  }

  .shot-side {
    aspect-ratio: 16 / 10;
    margin-top: auto;
  }

  .work-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .ws {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 56px;
  }

  .ws-media {
    gap: 16px;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .steps li {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 8px;
    padding: 24px 0 0;
  }

  .step-num {
    grid-row: auto;
    margin-bottom: 8px;
  }

  .calc-grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: 56px;
  }

  .calc-side {
    margin-top: 76px;
    padding: 32px;
  }

  .review-grid,
  .faq-grid {
    grid-template-columns: 4fr 8fr;
    align-items: start;
    gap: 56px;
  }

  .review-grid .link {
    margin-top: 12px;
  }

  .quote {
    padding: 40px;
  }

  .quote blockquote {
    font-size: 24px;
  }

  .ig-grid {
    gap: 24px;
  }

  .ig-head {
    margin-bottom: 40px;
  }

  .contacts-grid {
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
    gap: 56px;
  }

  .contacts-actions .btn {
    flex: 0 0 auto;
  }

  .map {
    min-height: 520px;
  }

  .footer-in {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .mbar {
    display: none;
  }

  .lb-stage {
    padding: 72px 96px;
  }

  .lb-figure img {
    max-height: calc(100dvh - 180px);
  }

  .lb-prev,
  .lb-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .lb-prev {
    left: 24px;
  }

  .lb-next {
    right: 24px;
  }
}

@media (min-width: 1100px) {
  .nav-desktop {
    display: flex;
    gap: 4px;
  }

  .header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .menu {
    display: none;
  }
}

@media (min-width: 1240px) {
  .brand-sub {
    display: block;
  }
}

@media (min-width: 1360px) {
  .header-phone {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
