:root {
  --ink: #333333;
  --ink-soft: #666666;
  --paper: #f8f8f8;
  --surface: #ffffff;
  --line: #e1e1e1;
  --brand: #f17e00;
  --brand-dark: #c3512f;
  --accent: #f5821f;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --shadow: 0 22px 60px rgba(51, 51, 51, 0.1);
  --container: min(1180px, calc(100% - 40px));
  --font: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(51, 51, 51, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo::before {
  display: block;
  width: 178px;
  height: 54px;
  background: url("images/logo.svg") left center / contain no-repeat;
  content: "";
}

.logo > .logo-mark,
.logo > span:not(.logo-mark) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer .logo::before {
  width: 190px;
  filter: brightness(0) invert(1);
}

.brand-logo {
  width: 178px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.site-footer .brand-logo {
  width: 190px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px 12px 4px;
  background: var(--brand);
  color: #fff;
  font-size: 17px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: #444444;
  font-size: 14px;
  font-weight: 650;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
}

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

.language {
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
}

.language-links {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.language-links a {
  color: var(--ink-soft);
}

.language-links a:hover,
.language-links a[aria-current="page"] {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  content: "";
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
}

.button-light {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-light:hover {
  background: #f3f3f3;
}

.button-accent {
  background: var(--accent);
  color: #ffffff;
}

.button-accent:hover {
  background: #d86b00;
}

.installment-promo-section {
  padding-top: 48px;
  padding-bottom: 22px;
}

.installment-promo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(135deg, #f17e00 0%, #d95d1a 48%, #333333 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.installment-promo::before,
.installment-card::before {
  position: absolute;
  inset: auto -80px -140px auto;
  width: 260px;
  height: 260px;
  border: 44px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.installment-promo .eyebrow,
.installment-promo p {
  color: rgba(255, 255, 255, 0.82);
}

.installment-promo h2 {
  max-width: 760px;
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.installment-promo p {
  max-width: 690px;
  margin: 0 0 24px;
  font-size: 18px;
}

.installment-badge,
.installment-card {
  position: relative;
  display: grid;
  min-height: 240px;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  text-align: center;
  backdrop-filter: blur(16px);
}

.installment-badge span,
.installment-card .eyebrow {
  color: #fff;
  font-size: clamp(56px, 8vw, 94px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.installment-badge strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.installment-badge small {
  color: rgba(255, 255, 255, 0.74);
}

.installment-card {
  align-content: center;
  min-height: auto;
  border-color: rgba(241, 126, 0, 0.22);
  background:
    radial-gradient(circle at 100% 0, rgba(241, 126, 0, 0.2), transparent 34%),
    #333333;
  color: #fff;
  box-shadow: var(--shadow);
}

.installment-card h3 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 32px;
}

.installment-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.76);
}

.hero {
  padding: 76px 0 48px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 56px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 130, 31, 0.2);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.2vw, 78px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 50px);
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 14px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-note span::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  content: "✓";
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 78% 15%, rgba(245, 130, 31, 0.95) 0 11%, transparent 11.5%),
    linear-gradient(145deg, #fff4ea, #f4bd8a);
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.window-illustration {
  position: absolute;
  inset: 68px 54px;
  display: grid;
  padding: 13px;
  border-radius: 8px;
  background: #f7fbf8;
  box-shadow: 0 28px 55px rgba(195, 81, 47, 0.16);
  grid-template-columns: 1fr 1.18fr;
}

.window-pane {
  position: relative;
  overflow: hidden;
  border: 5px solid #d7ded9;
  background: linear-gradient(165deg, #b6d6e1, #edf5ef 68%, #b1c9ad);
}

.window-pane::after {
  position: absolute;
  right: -30%;
  bottom: -14%;
  left: -20%;
  height: 42%;
  border-radius: 50% 50% 0 0;
  background: #9faa8a;
  content: "";
  opacity: 0.75;
}

.window-pane:first-child {
  border-right-width: 3px;
}

.window-pane:last-child {
  border-left-width: 3px;
}

.visual-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 230px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(51, 51, 51, 0.12);
  backdrop-filter: blur(14px);
}

.visual-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.visual-card span {
  color: var(--ink-soft);
  font-size: 13px;
}

.trust-strip {
  padding: 22px 0 64px;
}

.trust-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 21px;
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

.section-white {
  background: var(--surface);
}

.seo-heading {
  max-width: 920px;
}

.seo-heading p {
  max-width: 860px;
}

.seo-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.seo-copy-card {
  padding: 34px;
  background: var(--surface);
}

.seo-copy-card h3,
.seo-faq h3 {
  margin: 0 0 12px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.seo-copy-card p,
.seo-faq p,
.seo-local p {
  margin: 0;
  color: var(--ink-soft);
}

.seo-local {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  margin-top: 68px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.seo-local h2 {
  margin: 8px 0 0;
}

.seo-local p + p {
  margin-top: 18px;
}

.seo-related a {
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.seo-faq article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-dark .lead,
.section-dark .muted {
  color: #cccccc;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.section-heading > div {
  max-width: 740px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

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

.card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-number,
.icon-box {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 14px;
  background: #fff0e3;
  color: var(--brand);
  font-size: 14px;
  font-weight: 850;
}

.card p {
  color: var(--ink-soft);
}

.card-link {
  position: absolute;
  bottom: 25px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.service-card {
  min-height: 370px;
  padding-top: 190px;
  background: linear-gradient(160deg, #fff 52%, #f7f1ec);
}

.service-shape {
  position: absolute;
  top: 28px;
  right: 28px;
  left: 28px;
  height: 130px;
  overflow: hidden;
  border-radius: 18px;
  background: #f8dfc8 center / cover no-repeat;
}

.service-shape::before,
.service-shape::after {
  position: absolute;
  content: "";
}

.service-card:nth-child(1) .service-shape {
  background-image: url("images/depositphotos_70863453-stock-photo-windows-sections-with-triple-glazing.jpg");
}

.service-card:nth-child(2) .service-shape {
  background-image: url("images/7fbee8_0c683bb45dea4baa87e0c47f6d210c9b_mv2-1.webp");
}

.service-card:nth-child(3) .service-shape {
  background-image: url("images/1773151508_project_5_1.jpg");
}

.service-card:nth-child(4) .service-shape {
  background-image: url("images/vorota-rollety-avtomaticheskie-podemnye-dlja-garazha-kupit-rolletnye-vezdnye.jpg");
}

.service-card:nth-child(5) .service-shape {
  background-image: url("images/1773151508_project_2_1.jpg");
}

.service-card:nth-child(6) .service-shape {
  background-image: url("images/trehstvorchatoe-okno.png");
  background-color: #f7f7f7;
  background-size: contain;
}

.service-shape::before,
.service-shape::after {
  display: none;
}

.service-shape::before {
  inset: 24px 25%;
  border: 8px solid #fff;
  border-bottom-width: 13px;
  box-shadow: 0 10px 20px rgba(195, 81, 47, 0.12);
}

.service-shape::after {
  top: 0;
  right: 0;
  width: 85px;
  height: 85px;
  border-radius: 0 0 0 100%;
  background: var(--accent);
}

.split {
  display: grid;
  align-items: center;
  gap: 64px;
  grid-template-columns: 0.95fr 1.05fr;
}

.media-panel {
  min-height: 480px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #4a4a4a, #222222);
  color: #fff;
}

.media-panel-light {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #f9e5d3, #fafafa);
  color: var(--ink);
}

.media-panel-photo {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.08) 20%, rgba(20, 20, 20, 0.24) 52%, rgba(20, 20, 20, 0.92) 100%),
    radial-gradient(circle at 84% 12%, rgba(245, 130, 31, 0.45), transparent 36%),
    var(--panel-image) center / cover no-repeat;
  isolation: isolate;
}

.media-panel-photo h3,
.media-panel-photo p,
.media-panel-photo .eyebrow,
.media-panel-photo .stat-large {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.48);
}

.media-panel-photo .stat-large {
  margin-top: auto;
}

.stat-large {
  margin-top: 125px;
  font-size: clamp(64px, 9vw, 112px);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  align-items: start;
  gap: 12px;
  grid-template-columns: 24px 1fr;
}

.check-list li::before {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  content: "✓";
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.steps {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.step {
  min-height: 250px;
  padding: 28px;
  background: var(--surface);
}

.step span {
  display: block;
  margin-bottom: 55px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.step p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: #fff;
}

.cta::after {
  position: absolute;
  top: -80px;
  right: -70px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  opacity: 0.95;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta p {
  max-width: 600px;
  color: #fff1e5;
}

.page-hero {
  padding: 72px 0 62px;
}

.breadcrumbs {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(42px, 6vw, 72px);
}

.feature-grid,
.product-grid,
.project-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

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

.feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.feature p,
.product-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.product-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-visual {
  display: grid;
  height: 220px;
  margin-bottom: 24px;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #fae7d5, #efc49d);
}

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

.product-visual img.product-image-contain {
  padding: 18px;
  object-fit: contain;
}

.product-visual .frame {
  width: 45%;
  height: 72%;
  border: 10px solid #fff;
  background: linear-gradient(160deg, #b9d8e2, #e7f1e9);
  box-shadow: 0 20px 35px rgba(195, 81, 47, 0.14);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.service-list {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.service-list a {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-weight: 720;
}

.service-list a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.project-card {
  position: relative;
  min-height: 340px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--project-image) center / cover no-repeat, linear-gradient(155deg, #f7dfc9 0 62%, #fff 62%);
  color: #fff;
  isolation: isolate;
}

.project-card:nth-child(2n) {
  background: var(--project-image) center / cover no-repeat, linear-gradient(155deg, #ececec 0 62%, #fff 62%);
}

.project-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(17, 17, 17, 0.9));
  content: "";
}

.project-card h3 {
  margin-top: 190px;
}

.project-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.card-image {
  width: calc(100% + 56px);
  height: 190px;
  margin: -28px -28px 24px;
  object-fit: cover;
}

.calculator {
  display: grid;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  grid-template-columns: 1.1fr 0.9fr;
}

.calc-fields {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #fbfcfa;
}

.field textarea {
  min-height: 115px;
  resize: vertical;
}

.field-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 750;
}

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

.form-status-success {
  border-color: rgba(40, 150, 90, 0.28);
  background: #edf8f1;
  color: #17633b;
}

.form-status-error {
  border-color: rgba(207, 46, 46, 0.28);
  background: #fff0ef;
  color: #9f2620;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(241, 126, 0, 0.14);
}

.calc-result {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}

.calc-price {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 850;
  letter-spacing: -0.06em;
}

.calc-result p {
  color: #cccccc;
}

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

.contact-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 13px;
}

.contact-card strong {
  display: block;
  font-size: 21px;
}

.map-placeholder {
  display: grid;
  min-height: 430px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, transparent 48%, rgba(241, 126, 0, 0.11) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(241, 126, 0, 0.11) 49% 51%, transparent 52%),
    #f4f1ed;
  background-size: 90px 90px;
}

.map-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 450px;
}

.works-map-shell {
  display: grid;
  gap: 24px;
}

.works-map {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.works-map-marker {
  display: grid;
  place-items: center;
}

.works-map-marker span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(51, 51, 51, 0.26);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.works-map-popup {
  display: grid;
  gap: 8px;
  min-width: 240px;
}

.works-map-popup strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.works-map-popup span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.works-map-popup p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.works-map-popup em {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecf8ef;
  color: #2e7d32;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.works-map-popup-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.works-map-photo,
.works-map-card-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.works-map-photo img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.works-map-stats {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.works-map-stats div {
  padding: 24px;
  background: var(--surface);
  text-align: center;
}

.works-map-stats strong {
  display: block;
  color: var(--brand);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
}

.works-map-stats span {
  color: var(--ink-soft);
  font-size: 13px;
}

.works-map-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.works-map-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  grid-template-columns: 180px minmax(0, 1fr);
}

.works-map-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.works-map-card div {
  padding: 22px;
}

.works-map-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.works-map-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.works-map-card p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.works-map-card-link {
  color: var(--brand-dark);
  font-weight: 850;
}

.works-lightbox {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px;
  background: rgba(0, 0, 0, 0.9);
}

.works-lightbox.is-open {
  display: flex;
}

.works-lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.works-lightbox-close,
.works-lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.works-lightbox-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
}

.works-lightbox-close::before {
  content: "×";
  font-size: 32px;
  line-height: 1;
}

.works-lightbox-nav {
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translateY(-50%);
  font-size: 42px;
}

.works-lightbox-prev {
  left: 24px;
}

.works-lightbox-prev::before {
  content: "‹";
}

.works-lightbox-next {
  right: 24px;
}

.works-lightbox-next::before {
  content: "›";
}

.works-lightbox-count {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.reviews-slider {
  position: relative;
}

.reviews-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  display: flex;
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 260px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(51, 51, 51, 0.06);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.review-card strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.review-card time {
  color: var(--ink-soft);
  font-size: 12px;
}

.review-stars {
  color: var(--brand);
  font-size: 18px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.review-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.review-source {
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.reviews-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.reviews-control {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.reviews-control:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.blog-toolbar {
  display: grid;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.28fr);
}

.blog-toolbar-single {
  max-width: 760px;
  grid-template-columns: 1fr;
}

.blog-count {
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.blog-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card-image {
  display: block;
  height: 220px;
  overflow: hidden;
  background: #eee8e1;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.035);
}

.blog-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(145deg, #f8dfc8, #efc49d);
  color: var(--brand);
  font-size: 72px;
  font-weight: 850;
}

.blog-card-body {
  position: relative;
  display: flex;
  min-height: 310px;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 66px;
}

.blog-card h2 {
  margin: 14px 0 12px;
  font-size: 23px;
  line-height: 1.18;
}

.blog-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.blog-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 38px;
}

.blog-empty {
  padding: 64px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-align: center;
}

.blog-article-header {
  padding: 72px 0 46px;
  background: var(--ink);
  color: #fff;
}

.blog-article-heading {
  max-width: 980px;
}

.blog-article-heading .breadcrumbs,
.blog-article-heading .breadcrumbs a {
  color: rgba(255, 255, 255, 0.62);
}

.blog-article-heading h1 {
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(40px, 6vw, 72px);
}

.blog-featured-image {
  width: 100%;
  max-height: 620px;
  margin-top: 42px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.blog-article-layout {
  display: grid;
  align-items: start;
  gap: 64px;
  padding-top: 58px;
  padding-bottom: 72px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.blog-content {
  min-width: 0;
  color: #3f3f3f;
  font-size: 18px;
  line-height: 1.76;
}

.blog-content > :first-child {
  margin-top: 0;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  margin-top: 1.8em;
  color: var(--ink);
}

.blog-content h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.blog-content h3 {
  font-size: 25px;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  margin: 26px auto;
  border-radius: 18px;
}

.blog-content ul,
.blog-content ol {
  display: grid;
  gap: 9px;
  padding-left: 24px;
}

.blog-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-sidebar {
  position: sticky;
  top: 108px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff0e3, #fff);
  box-shadow: var(--shadow);
}

.blog-sidebar h2 {
  margin: 14px 0;
  font-size: 30px;
}

.blog-phone {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.blog-post-nav {
  display: grid;
  gap: 18px;
  padding-bottom: 72px;
  grid-template-columns: 1fr 1fr;
}

.blog-post-nav a {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.blog-post-nav a:last-child {
  text-align: right;
}

.blog-post-nav span {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-pin {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 10px solid rgba(255, 255, 255, 0.8);
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  background: var(--brand);
  box-shadow: var(--shadow);
  color: #fff;
  font-weight: 850;
}

.map-pin span {
  transform: rotate(45deg);
}

.site-footer {
  padding: 64px 0 28px;
  background: #222222;
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 50px;
  padding-bottom: 50px;
  grid-template-columns: 1.25fr repeat(3, 1fr);
}

.footer-about {
  max-width: 330px;
  color: #aaaaaa;
  font-size: 14px;
}

.footer-title {
  margin-bottom: 18px;
  color: #919191;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #e1e1e1;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #444444;
  color: #919191;
  font-size: 12px;
}

.muted {
  color: var(--ink-soft);
}

@media (max-width: 1040px) {
  .site-nav {
    position: fixed;
    inset: 77px 0 auto;
    display: none;
    max-height: calc(100vh - 77px);
    align-items: stretch;
    padding: 24px 20px 36px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 24px 45px rgba(51, 51, 51, 0.12);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 10px;
    font-size: 18px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions > .button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .split {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    min-height: 450px;
  }

  .hero-image {
    min-height: 450px;
  }

  .installment-promo {
    grid-template-columns: 1fr;
  }

  .installment-badge {
    min-height: 190px;
  }

  .cards,
  .feature-grid,
  .product-grid,
  .project-grid,
  .blog-grid,
  .works-map-list,
  .review-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .blog-article-layout {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1180px);
    --radius-lg: 26px;
  }

  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .site-nav {
    inset: 69px 0 auto;
  }

  .language {
    display: none;
  }

  .language-links {
    display: none;
  }

  .hero,
  .page-hero {
    padding-top: 52px;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .hero-image {
    min-height: 350px;
  }

  .window-illustration {
    inset: 48px 30px;
  }

  .visual-card {
    right: 14px;
    bottom: 14px;
  }

  .installment-promo-section {
    padding-top: 28px;
  }

  .installment-promo {
    padding: 28px;
  }

  .installment-promo h2 {
    font-size: 32px;
  }

  .installment-promo p {
    font-size: 16px;
  }

  .installment-badge,
  .installment-card {
    min-height: 180px;
    padding: 24px;
  }

  .trust-grid,
  .cards,
  .feature-grid,
  .product-grid,
    .seo-copy-grid,
    .seo-local,
    .seo-faq,
    .project-grid,
    .blog-grid,
    .contact-grid,
  .works-map-stats,
  .works-map-list,
  .calc-fields,
  .service-list,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .blog-toolbar,
  .blog-post-nav {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 210px;
  }

  .blog-article-header {
    padding-top: 52px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading .button {
    margin-top: 18px;
  }

  .card {
    min-height: 270px;
  }

  .step {
    min-height: 220px;
  }

  .cta {
    padding: 36px 28px;
  }

  .cta::after {
    width: 150px;
    height: 150px;
    opacity: 0.16;
  }

  .calculator {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .works-map {
    min-height: 430px;
  }

  .works-map-card {
    grid-template-columns: 1fr;
  }

  .works-map-card img {
    height: 220px;
  }

  .review-card {
    flex-basis: min(86vw, 360px);
  }

  .works-lightbox {
    padding: 58px 14px;
  }

  .works-lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
